NAME

Brackup::Dict::SQLite - key-value dictionary implementation, using a SQLite database for storage

DESCRIPTION

Brackup::Dict::SQLite implements a simple key-value dictionary using a SQLite database (in a single file) for storage. It provides the default storage backend for both the Brackup::DigestCache digest cache and the Brackup::InventoryDatabase inventory database (as separate databases). The database schema is created automatically as needed - no database maintenance is required.

Brackup::Dict::SQLite is optimised for speed and loads the entire database into memory at startup. If you wish to trade-off some performance for a more conservative memory footprint, you should consider using Brackup::Dict::SQLite2 instead.

See Brackup::DigestCache and Brackup::InventoryDatabase for how to manually specify the dictionary class to use.

DETAILS

File location

The database file location is a parameter defined by the using class, so see Brackup::DigestCache and Brackup::InventoryDatabase for their respective database locations.

SQLite Schema

This is defined automatically, but if you want to look around in it, the schema is:

CREATE TABLE <TABLE> (
     key TEXT PRIMARY KEY,
     value TEXT
)

SEE ALSO

brackup

Brackup

Brackup::Dict::SQLite2