Sort using compound indexing

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      if I create a compound index

      parent_id + name

      when I do a query and sort by name, does it use index to do the sort? How can I make sure that sort by name will use index if I only have a compound index?

            Assignee:
            Unassigned
            Reporter:
            Wei Kong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: