Udostępnij za pośrednictwem


SQLiteDatabase.SyncModeFull Field

Definition

In FULL sync mode the SQLite database engine will use the xSync method of the VFS to ensure that all content is safely written to the disk surface prior to continuing.

[Android.Runtime.Register("SYNC_MODE_FULL", ApiSince=33)]
public const string SyncModeFull;
[<Android.Runtime.Register("SYNC_MODE_FULL", ApiSince=33)>]
val mutable SyncModeFull : string

Field Value

Attributes

Remarks

In FULL sync mode the SQLite database engine will use the xSync method of the VFS to ensure that all content is safely written to the disk surface prior to continuing. This ensures that an operating system crash or power failure will not corrupt the database. FULL is very safe, but it is also slower.

FULL is the most commonly used synchronous setting when not in WAL mode.

See here for more details.

Java documentation for android.database.sqlite.SQLiteDatabase.SYNC_MODE_FULL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to