.. _client-databases:
Client-side databases
=====================
These are some important information about Soledad's client-side databases:
- Soledad Client uses `SQLCipher `_ for
storing data.
- :ref:`Documents ` and :ref:`blobs ` are stored in
different databases protected with the same symmetric key.
- The symmetric key used to unlock databases is chosen randomly and is stored
encrypted by the user's passphrase (see :ref:`storage-secrets` for more details).
The database files currently used in the client-side are:
- ``.db``: The database for JSON documents storage.
- ``_blobs.db``: The database for storage of blobs.
Depending on how local databases are configured, you may also find files with
the same names of the above but ending in ``-wal`` and ``-shm``, which
correspond to SQLCipher's `Write-Ahead Logging
`_ implementation.