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
Using order by "param" DESC in N1QL is very slow (>5s)
SQL++
query
,
n1ql
9
4326
April 26, 2017
N1ql does not use index for "order by"
SQL++
30
6103
November 4, 2016
"Order by " making the N1QL Query slow
SQL++
query
,
n1ql
2
732
October 10, 2018
Couchbase 6, N1SQL Order by desc is taking long time
SQL++
query
,
java
,
n1ql
2
585
March 8, 2021
Couchbase Server CE 'get newest results' slow query
Couchbase Server
n1ql
,
index
8
2886
November 16, 2016