Couchbase Forums
N1QL Query order by desc is slow
SQL++
vsr1
December 10, 2020, 2:15pm
2
Try
CREATE INDEX idx-myBucket-01 ON `myBucket` ( `idnumber` DESC ) WHERE ( `type_` = ‘xxx’)
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Index for query with order by
SQL++
11
7805
June 25, 2018
Couchbase 6, N1SQL Order by desc is taking long time
SQL++
query
,
java
,
n1ql
2
618
March 8, 2021
Can't Use Index on Order By and Group By
SQL++
query
,
n1ql
,
index
10
981
May 16, 2023
ORDER BY is slow, have DESC in index
SQL++
n1ql
2
1094
December 25, 2019
Couchbase 4.5 Order by diffrence in performnace for ASC and DESC even query covered
Couchbase Server
n1ql
61
6691
March 29, 2019