Thank you LWol! Based on your feedback I did some digging. It turns out that although PHPInfo showed the PDO and modules for SQLite3, PHP wasn't recognizing the SQLite3 class, and as a result setCacheStorageMethod was returning false. Once I installed php5-sqlite package on Ubuntu then it started working. The first test I ran involved 31,000 rows. Using SQLite3 it took 206MB and 193 seconds to finish. With in-memory cache it took 380MB and 107 seconds.
I am wondering if there are any SQLite3 optimizations I can make, either to its memory size or anything else for that matter, that would make it run faster.
Any ideas? Thanks again!
I am wondering if there are any SQLite3 optimizations I can make, either to its memory size or anything else for that matter, that would make it run faster.
Any ideas? Thanks again!