Improving query with multiple OR clauses

normally it doesn’t matter. LIKE on index key then in main query, you see difference in spans.

One more thing… How can I disable profile through cbq?

Got it from the link you shared. Thanks a lot for your help. :smile:

@vsr1, Can you suggest the best way to change the indexes from forestdb to plasma in existing installation? Also do let me know what particular step I need to take while upgrading old version of couchbase so that Legacy Global Secondary index is not selected.

@Krishan, Could you please confirm if you are using Couchbase Enterprise Edition? Plasma is available only in EE and Standard GSI indexes in existing installation(s) will be automatically upgraded from forestdb to plasma when upgrading to Couchbase server EE 5.0.x.

@jeelan.poola, The version after upgrade is 5.0.1-5003-enterprise.

I have created a separate thread for this issue. Could you please respond on that?
here’s the link: