Purpose
The oceanbase.CDB_OB_TABLET_TO_LS view displays the list of tablets of all tenants in the sys tenant and the log streams to which these tablets belong.
Note
This view is introduced since OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The ID of the tenant. |
| TABLET_ID | bigint(20) | NO | The ID of the tablet. |
| LS_ID | bigint(1) | NO | The ID of the log stream to which the tablet belongs. |