Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-20420

[Pagination]Improve ORDER BY index usage

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.5.0
    • 5.0.0
    • query
    • None

    Description

      See https://forums.couchbase.com/t/n1ql-select-vs-select-lots-of-fieldnames-performance/9406/11

      Two improvements needed.

      (1) Efficient support for DESC in ORDER BY, using index order.

      (2) Leaving out the leading index keys in ORDER BY, if those leading keys have fixed / constant values based on the query WHERE clause.

      Attachments

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

        Activity

          We have support for DESC in order by.

          Sitaram.Vemulapalli Sitaram Vemulapalli added a comment - We have support for DESC in order by.

          I think this is fixed.

          gerald Gerald Sangudi (Inactive) added a comment - I think this is fixed.

          Item 1 is pending.

          Sitaram.Vemulapalli Sitaram Vemulapalli added a comment - Item 1 is pending.

          Item one covered by MB-21755

          Sitaram.Vemulapalli Sitaram Vemulapalli added a comment - Item one covered by MB-21755

          People

            Sitaram.Vemulapalli Sitaram Vemulapalli
            gerald Gerald Sangudi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty