Skip to content

Viewing your VSchema


View the VSchema for your keyspaces using the PlanetScale app.

VSchema overview

PlanetScale databases are powered by Vitess. Each Vitess cluster can have one or more keyspaces. For unsharded databases, there is a 1:1 relationship between a keyspace and a database within MySQL. For sharded databases, a single keyspace can map to multiple MySQL databases under the hood.

Each keyspace in your PlanetScale database keyspace has configurable VSchema. The VSchema configuration file contains information about how a database is sharded, and how each table should be sharded. This configuration file cannot be modified from the PlanetScale application, but it can be viewed for each branch.

Viewing the VSChema in the PlanetScale app

In order to view your VSchema, first go to the "Branches" tab in the PlanetScale app.

Click on the branch you would like to view the VSchema for. Then, select the keyspace and expand out the "Configuration Files" drop-down.

From here, you can inspect your VSchema configuration JSON file.

Vschema cannot be modified from this menu. If you need this modified, please reach out to your account manager or PlanetScale Support.

Need help?

Get help from the PlanetScale support team, or join our GitHub discussion board to see how others are using PlanetScale.

Was this page useful?
Last updated on Help us improve this page