Sqlite optimization

Improve performance of sqlite_example on machines with limited (8Gb) RAM.