Db pragma once

@godarklight Can you profile these changes to ensure they aren't harmful? I may pull the journal_mode setting, but I'm interested in explicitly setting the page_size and avoiding doing these init queries for every SQLite connection.