Brackup::Dict::SQLite - key-value dictionary implementation, using a SQLite database for storage
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.
The database file location is a parameter defined by the using class, so see Brackup::DigestCache and Brackup::InventoryDatabase for their respective database locations.
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 )
brackup
Brackup
Brackup::Dict::SQLite2
To install Brackup, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Brackup
CPAN shell
perl -MCPAN -e shell install Brackup
For more information on module installation, please visit the detailed CPAN module installation guide.