This issue is to have valve issue these directives right before loading the database. Note that these commands should only be used for bulk loading. They are unsafe when using valve as a library or for any other purpose.
Note that these optimizations should be optional (add a command line switch for valve). Ideally, this option should be stored in the configuration (so that we don't need to modify existing function signatures).
This page describes a number of SQLite optimisations that can be used to speed up our batch loading. Specifically, it suggests setting the following:
This issue is to have valve issue these directives right before loading the database. Note that these commands should only be used for bulk loading. They are unsafe when using valve as a library or for any other purpose.
Note that these optimizations should be optional (add a command line switch for valve). Ideally, this option should be stored in the configuration (so that we don't need to modify existing function signatures).