Chronicle::Plugin::DBTweak - Speedup the import process
This plugin is responsible for turning off database synchronization, which results in a significantly faster import process.
The downside is that we're at risk of data-lass within the SQLite database because we're not relying upon the operating system to sync the database between inserts.
For our use-case this is not a concern.
Now follows documentation on the available methods.
This method is called when the database is opened, regardless of whether the database was created or already existed.
Here we set the pragmas to speedup the insertion process of new entries.
This module is free software; you can redistribute it and/or modify it under the terms of either:
a) the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or
b) the Perl "Artistic License".
Steve Kemp <steve@steve.org.uk>
To install App::Chronicle, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Chronicle
CPAN shell
perl -MCPAN -e shell install App::Chronicle
For more information on module installation, please visit the detailed CPAN module installation guide.