Comparing data storage approaches

The following table compares the various ways you can store data for your app.

Features

SQLite database

File system

Persistent store

Runtime store

Record store

Data format

Relational database file

Any

Java object

Java object

Serialized

Storage locations

External media card, built-in media storage

Application storage, external media card, built-in media storage

Application storage

Application storage

Application storage

Maximum storage limit

Size of partitions the user has access to

Size of partitions the user has access to

Available application storage

Available application storage

Differs according to BlackBerry Device Software version

BlackBerry Device Software support

5.0 or later

4.2 or later

All

3.6 or later

All

Persists across device restarts

Yes

Yes

Yes

No

Yes

Applications can share data

Yes

Yes

Yes

Yes

Yes

Previous topic: Data storage overview

Was this information helpful? Send us your comments.