MySQL Enterprise Audit mysql>  SHOW VARIABLES LIKE ’audit_log%’; +-----------------------------+--------------+ | Variable_name | Value | +-----------------------------+--------------+ | audit_log_buffer_size | 1048576 | | audit_log_connection_policy | ALL | | audit_log_current_session | OFF | | audit_log_exclude_accounts | | | audit_log_file | audit.log | | audit_log_filter_id | 0 | | audit_log_flush | OFF | | audit_log_format | NEW | | audit_log_include_accounts | | | audit_log_policy | ALL | | audit_log_rotate_on_size | 0 | | audit_log_statement_policy | ALL | | audit_log_strategy | ASYNCHRONOUS | +-----------------------------+--------------+ You can set any of these variables at server startup, and some of them at runtime. Those that are available only for legacy mode audit log filtering are so noted. When the audit log plugin writes events to the log asynchronously, it uses a buffer to store event contents prior to writing them. This variable controls the size of that buffer, in bytes. The server adjusts the value to a multiple of 4096. The plugin uses a single buffer, which it allocates when it initializes and removes when it terminates. The plugin allocates this buffer only if logging is asynchronous. • audit_log_buffer_size • audit_log_compression Command-Line Format --audit-log-buffer-size=# System Variable audit_log_buffer_size Scope Global Dynamic No SET_VAR  Hint Applies No Type Integer Default Value 1048576 Minimum Value 4096 Maximum Value (64-bit platforms) 18446744073709547520 Maximum Value (32-bit platforms) 4294967295 Block Size 4096 Command-Line Format --audit-log-compression=value System Variable audit_log_compression Scope Global Dynamic No SET_VAR  Hint Applies No Type Enumeration Default Value NONE Valid Values NONE 1530