/ Check-in [4fe94b0f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Experimental changes for faster in-memory DB operation for large databases.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | memdb-opt
Files: files | file ages | folders
SHA1: 4fe94b0f1841180dfd8cac33838e335dc6a428bf
User & Date: drh 2016-11-17 21:52:08
Context
2016-12-12
16:08
Faster operation for large in-memory databases. check-in: 9675518b user: drh tags: trunk
2016-11-17
21:52
Experimental changes for faster in-memory DB operation for large databases. Closed-Leaf check-in: 4fe94b0f user: drh tags: memdb-opt
13:54
Change the --enable-debug option on configure so that it enables the ".selecttrace" and ".wheretrace" commands in the command-line shell. check-in: 2331192b user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/pager.c.

  2034   2034     }
  2035   2035   #endif
  2036   2036   
  2037   2037     sqlite3BitvecDestroy(pPager->pInJournal);
  2038   2038     pPager->pInJournal = 0;
  2039   2039     pPager->nRec = 0;
  2040   2040     if( rc==SQLITE_OK ){
  2041         -    if( pagerFlushOnCommit(pPager, bCommit) ){
         2041  +    if( MEMDB || pagerFlushOnCommit(pPager, bCommit) ){
  2042   2042         sqlite3PcacheCleanAll(pPager->pPCache);
  2043   2043       }else{
  2044   2044         sqlite3PcacheClearWritable(pPager->pPCache);
  2045   2045       }
  2046   2046       sqlite3PcacheTruncate(pPager->pPCache, pPager->dbSize);
  2047   2047     }
  2048   2048