List keyspaces in a branch

sharding & workflows

// what it does

Shows the keyspaces (logical schemas mapping to one or more physical shards) inside a Vitess branch. Every database starts with one unsharded keyspace; more appear when you scale horizontally.

// shell

$ pscale keyspace list mydb main
$ pscale keyspace show mydb main my-keyspace

// gotcha

If you've never run keyspace create, there's exactly one keyspace and these commands barely matter — this whole category is for databases that have outgrown a single primary.

// resources