Getting Started: Vschema

What is a VSchema?
VSchema is short for Vitess Schema and it describes how to shard data within Vitess.  In contrast to a traditional database schema that contains metadata a...
Tue, Jan 26, 2021 at 10:22 AM
When do I need to use a VSchema?
For a very trivial setup where there is only one unsharded keyspace, there is no need to specify a VSchema because Vitess will know that there is nowhere to...
Tue, Jan 26, 2021 at 10:25 AM
What is a Vindex and how does it work?
A Vindex provides a way to map a column value to a keyspace ID. Since each shard in Vitess covers a range of keyspace ID values, this mapping can be used to...
Mon, Nov 2, 2020 at 1:26 PM
What is a primary Vindex and how does it work?
The Primary Vindex for a table is analogous to a database primary key.  Every sharded table must have one defined. A Primary Vindex must be unique: given a...
Mon, Nov 2, 2020 at 1:26 PM
How do I create a VSchema?
The ease of creation of a VSchema depends heavily on now your data model is constructed.  For some data models, especially smaller and less complex ones...
Mon, Nov 2, 2020 at 1:26 PM