> ## 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.

# YugabyteDB YSQL table observations

> Observe one YugabyteDB table through a direct YSQL connection.

Follow the [SQL mount and credential guide](https://docs.bijection.com/integrations/native-sql.md#mount-and-bind).
Bind `postgresRelation(endpoint, credential, data)` to a direct,
TLS-enabled YSQL endpoint, normally port 5433. Use the PostgreSQL 15-based
YSQL line, starting with YugabyteDB v2025.1. Use database password
authentication and a principal with SELECT on the table. Seal the
server CA as `ca` PEM text if it is outside the deployment trust store.
Bind the receiver and the mount under the same
[`data` label](https://docs.bijection.com/integrations/native-connectors#installer-bound-labels).

YSQL supplies the PostgreSQL wire protocol, primary-key catalog and row
JSON functions. This profile also requires YSQL's optional distributed
table locks for `LOCK TABLE … IN ACCESS SHARE MODE`. Use a cluster with
`enable_object_locking_for_table_locks` and
`ysql_yb_ddl_transaction_block_enabled` enabled. YugabyteDB documents
these settings as early access and incompatible with its CDC paths.

YSQL implements PostgreSQL's repeatable-read setting with distributed
snapshot isolation. Each transaction observes one page using the full
one-to-eight-part bigint or text key in declaration order. The SQL
keyset determines cursor order independently of hash distribution.
The YCQL port and YugabyteDB CDC are separate APIs.

Bijection commits up to 32 rows and a 48 KiB encoded page with the last
key tuple. Each row JSON is capped at 24 KiB. A relation identity change
requires reset. A sweep can see concurrent writes, and missing keys stay
published.

[YSQL compatibility and PostgreSQL versions](https://docs.yugabyte.com/stable/faq/compatibility/) ·
[YSQL distributed table locks](https://docs.yugabyte.com/stable/architecture/transactions/concurrency-control/#table-level-locks)


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