Skip to main content
Skip to main content

audit_log

Overview

Store audit logs

Database

__internal_schema

Table Information

Column NameTypeDescription
query_idvarchar(48)ID of the Query
timedatetime(3)Time when the query was executed
client_ipvarchar(128)IP address of the client sending the query
uservarchar(128)User
catalogvarchar(128)Current Catalog during statement execution
dbvarchar(128)Current Database during statement execution
statevarchar(128)Execution status of the statement
error_codeintError code
error_messagetextError message
query_timebigintExecution time of the statement
scan_bytesbigintAmount of data scanned
scan_rowsbigintNumber of rows scanned
return_rowsbigintNumber of rows returned
stmt_idbigintStatement ID
is_querytinyintWhether it is a query
frontend_ipvarchar(128)IP address of the connected Frontend
cpu_time_msbigintCumulative CPU time (in milliseconds) consumed by the Backend for statement execution
sql_hashvarchar(128)Hash value of the statement
sql_digestvarchar(128)Digest (signature) of the statement
peak_memory_bytesbigintPeak memory usage of the Backend during statement execution
workload_grouptextWorkload Group used for statement execution
stmttextStatement text