> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PlanetScale Vitess table observations

> Observe a table on one unsharded PlanetScale Vitess branch through MySQL wire protocol.

Follow the [MySQL mount and credential guide](https://docs.bijection.com/integrations/native-mysql.md).
Use `mysqlRelation(endpoint, credential, data)` with the MySQL DNS
endpoint from a PlanetScale **Vitess** branch's read-only password.
Use the database name and username listed with that password. Set
`"dialect": "planetscale"` in the connection JSON. Bind the receiver and the mount under the same
[`data` label](https://docs.bijection.com/integrations/native-connectors#installer-bound-labels).

VTGate accepts MySQL TLS and prepared statements, but brokers operations
for a branch instead of identifying it as one MySQL server. Select an
unsharded branch and a local InnoDB base table with one immutable signed
`BIGINT` primary key. The profile selects the database explicitly and
reads the visible primary key and table metadata before and after each
page. A page is one ordered SELECT. It does not use the MySQL server UUID
or claim a repeatable-read transaction through the router.

Specify one to sixteen projection columns. The receiver returns
their SQL text representations or JSON null, with up to 32 rows,
24 KiB per row and 48 KiB per encoded page. Bijection retains an
exclusive numeric key scoped to the installed endpoint, branch login,
table metadata and incarnation. An empty pass or a complete short
page restarts the sweep at the next poll. Missing keys stay published.

Use a fresh `incarnation` and review the source reset after branch or table
replacement, including online schema swaps that can retain identical
metadata. A change in branch username also requires a reset. Sharded
snapshots, VStream, binlog and DML are outside this profile.

[PlanetScale connection strings](https://planetscale.com/docs/concepts/connection-strings) ·
[Vitess MySQL compatibility](https://vitess.io/docs/reference/compatibility/mysql-compatibility/)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.