SQLiteDatabase.JournalModeMemory Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The MEMORY
journaling mode stores the rollback journal in volatile RAM.
[Android.Runtime.Register("JOURNAL_MODE_MEMORY", ApiSince=33)]
public const string JournalModeMemory;
[<Android.Runtime.Register("JOURNAL_MODE_MEMORY", ApiSince=33)>]
val mutable JournalModeMemory : string
Field Value
- Attributes
Remarks
The MEMORY
journaling mode stores the rollback journal in volatile RAM. This saves disk I/O but at the expense of database safety and integrity. If the application using SQLite crashes in the middle of a transaction when the MEMORY journaling mode is set, then the database file will very likely go corrupt.
See here for more details.
Java documentation for android.database.sqlite.SQLiteDatabase.JOURNAL_MODE_MEMORY
.
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.