Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-5715

Improve the performance of query order by time desc

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • 2023-3-Query

    Description

      We found that order time desc is much slower than order by time asc.

      We can use the data in attachment and start a 1C1D IoTDB to replay that.

      ```

      select * from root.sg1.d1 where s1 != 1 order by time asc;

      select * from root.sg1.d1 where s1 != 1 order by time desc;

      ```

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jackietien Yuan Tian
            jackietien Yuan Tian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Agile

                Active Sprint:
                2023-3-Query ends 31/Mar/23
                View on Board

                Slack

                  Issue deployment