ob_proxy_global_variables_version specifies the latest version of global variables that needs to be returned by the OBServer node to ODP. It specifies the latest versions of the required global variables returned from the OBServer node to ODP.
| Attribute | Description |
|---|---|
| Type | int |
| Default value | 0 |
| Value range | [0, INT64_MAX) |
| Applicable 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;