Note
- Starting from V2.x, OceanBase Database splits the SQL Audit system tables by tenant. As a result, the memory used by SQL Audit is now tenant-level. The server-level memory eviction upper limit defined by this parameter is no longer applicable and was removed starting with V4.0.0.
- In versions 2.x and later, use the system variable
ob_sql_audit_percentageto control the percentage of memory used by SQL Audit relative to the current tenant's memory. For more information about the system variableob_sql_audit_percentage, see ob_sql_audit_percentage.
Description
sql_audit_memory_limit specifies the maximum amount of memory that can be used for SQL audit data.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Capacity |
| Default value | 3G |
| Value range | [64M, +∞) |
| Effective upon OBServer node restart | No |
