ob_proxy_global_variables_version specifies the latest version information of global variables returned by the OBServer node to OceanBase Database Proxy (ODP). This variable is for internal communication between the OBServer node and ODP.
| Attribute | Description |
|---|---|
| Type | Integer |
| Default value | 0 |
| Value range | [0, INT64_MAX) |
| Effective scope | Session |
| Modifiable | You can set the variable when you create a tenant. After the tenant is created, you cannot modify the variable by executing SQL statements. For more information, see Set variables. |
| Visible | No |
The following example shows how to use the SELECT statement to return the latest version of global variables:
obclient> SELECT @@ob_proxy_global_variables_version;