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

Improve the performance of query order by time desc

    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

        1. data.zip
          12.39 MB
          Yuan Tian

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: