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

API: Add MaintenanceType for Query Optimization

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.0
    • 3.0
    • API
    • Security Level: Public
    • None
    • Pasin 43
    • 2

    Description

      Info:

      Two new C4MaintenanceType values: kC4QuickOptimize and kC4FullOptimize. These both cause SQLite’s ANALYZE command to run, which scans indexes and records some statistics that the query optimizer uses to make better query plans. The “quick” one only scans a limited number of rows of each index, while the “full” one scans everything.

      Attachments

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

        Activity

          pasin Pasin Suriyentrakorn added a comment - First Draft : https://docs.google.com/document/d/1jTrywjdfJGVOCWBr1SdW_QXI2DW9yVaQna_UxwFiVbY/  

          People

            pasin Pasin Suriyentrakorn
            pasin Pasin Suriyentrakorn
            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