sql Couchbase verify Index created

SELECT name, keyspace_id, state, nodes
FROM system:indexes
WHERE keyspace_id = "collection";

/* example response: */
/*
[
  {
    "name": "#primary",
    "keyspace_id": "collection",
    "state": "online"
  }
]
*/
Use this after creating an Index, to verify it was successful and is ready.

Updated: Friday 18th September 2026, 10:24am

There are 0 comments

Leave a comment of your own

Comments are currently closed.