Purpose
gv$memory displays the memory statistics at the tenant level.
Related tables/views
oceanbase.__all_virtual_memory_info
Fields
| Field | Type | Nullable? | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The ID of the tenant. |
| IP address | varchar(32) | NO | The IP address. |
| PORT | bigint(20) | NO | The port number. |
| CONTEXT | varchar(256) | NO | The name of the module to which the memory belongs. |
| COUNT | bigint(20) | NO | The difference between memory spaces that are allocated and released. That is, the number of memory units used by the module. |
| USED | bigint(20) | NO | The size in bytes of memory being used by the module. |
| ALLOC_COUNT | bigint(20) | NO | The total number of memory units allocated to the module. |
| FREE_COUNT | bigint(20) | NO | The total number of memory units released by the module. |