DB8 FAQ

Find answers to the frequently asked questions about the DB8 service.

Q1. Are there any size restrictions for a DB8 database?

In total, there is a shared 10 MB limit for all apps or services. It is also the same for Media DB that there is a shared 10 MB limit for all apps or services.

Q2. How is a single app kept from maxing out the entire 10 MB?

Currently, there is no way..! The user can allocate all the space to one app that they really care about.

Q3. How does an app know if there is storage available and how much is available?

Currently, there is no method to do this.

Q4. What happens when an app tries to save to the DB when the DB is full?

The app will get an "out-of-space" error.

Q5. Can multiple DB8 databases be open at the same time?

There is only ONE shared DB8 database. Apps or services can register multiple kinds for that database.

Q6. How does DB8 handle non-English characters in sorting and queries (upper/lowercase)?

Depends on the system locale and the collation strength defined in the index. With no collate property set, it sorts by UTF-8 codepoint.

  • With "collate": "primary" set, it does a case and accent insensitive collation using locale-specific rules (this is usually what you want when doing a search).
  • With "collate": "secondary" set, it takes accents into account in locales where accent-dependent collation is expected (usually what you want when displaying a sorted list).

Read about collation concepts for more information on collation strengths. Note that the collate property defined on a query must match the collate property defined on an index.