내가 작성했던 코드.
int nRetVal = 0;
nRetVal = m_pDB->execDML(_T("PRAGMA main.page_size = 65536;"));
nRetVal = m_pDB->execDML(_T("PRAGMA main.cache_size=500000;"));
nRetVal = m_pDB->execDML(_T("PRAGMA main.synchronous=OFF;"));
nRetVal = m_pDB->execDML(_T("PRAGMA main.journal_mode=MEMORY;"));
nRetVal = m_pDB->execDML(_T("PRAGMA main.temp_store = MEMORY;"));