Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-4801

Open an old db is slow in V3.1 first time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Beryllium
    • 3.1.0
    • LiteCore
    • Security Level: Public
    • None
    • 2

    Description

      Open a database from 3.0 or older, there is a big performance hit first time as Core converts it to V3.1 format.

      In V3.1, we use a new table to store all deleted docs. As it reduces the size of the table for usual queries, it turns out very expensive the first time as we move all deleted docs to the new table. For a customer's db of 6.9G (CBSE-13748), it takes 90 seconds on Mac.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jianmin.zhao Jianmin Zhao
            jianmin.zhao Jianmin Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty