Skip to content
Snippets Groups Projects
  1. Feb 27, 2017
  2. Feb 23, 2017
  3. Feb 22, 2017
  4. Feb 21, 2017
  5. Feb 20, 2017
  6. Feb 19, 2017
  7. Feb 16, 2017
  8. Feb 15, 2017
  9. Feb 14, 2017
    • Alexandr Lyapunov's avatar
      vinyl: improve cache hit rate of tuple cache · 1e8e4346
      Alexandr Lyapunov authored
       Implement tuple cache boundaries. Now if the value is the first or
      the last in EQ query, it is placed into the cache with a special mark.
      The next query finds the mark and understands that there is no
      reason to search the value in mems/runs.
      
       Also add only-one-value optimization into merge iterator: it now
      stops in the second next_key call if the search key is full
      (and the index in unique)
      1e8e4346
    • Vladimir Davydov's avatar
      vinyl: fix unwritten mem dropped if ddl · 818208c4
      Vladimir Davydov authored
      Since commit ba08c2a9 ("vinyl: rotate mem on ddl"), in-memory trees
      can be rotated not only by dump/compaction tasks, but also by tx commit,
      in case a DDL happened after the mem was created. Dump/compaction tasks
      are unprepared for this - they always drop all frozen in-memory trees.
      As a result, in case of DDL in the middle of dump/compaction execution,
      an in-memory tree can be complete lost along with all its statements. To
      fix this, let's count the number of trees we are actually dumping and
      only delete them upon task completion.
      818208c4
Loading