Optimized database loading:
 * Load only once per session - not for each query
 * Optimize database settings on load (synchronous off, memory tables, large page cache)