GSI in different nodes

I created several indexes. And when I checked them in the web console, they were split across multiple servers. When I use one server, the indexes are created on only one server.

I’m sorry to ask if you’re not sure, but is this decentralized storage the feature described in the link correct?

I’m wondering how gsi is managed and stored on different servers.

The details mentioned in the above link are correct. A partitioned index is physically stored in multiple shards which allows it to be stored across multiple nodes(or all shards can reside in a single node as well in a single server setup).

Also check out https://blog.couchbase.com/couchbase-gsi-index-partitioning/

1 Like