The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Chronicle::Plugin::DBTweak - Speedup the import process

DESCRIPTION

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.

METHODS

Now follows documentation on the available methods.

on_db_load

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.

LICENSE

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".

AUTHOR

Steve Kemp <steve@steve.org.uk>