Skip to content
Partner Developer Portal

Schema

Column NameData TypeDescriptionExample
usrvarcharCognito username of the user who submitted the queryjohn.doe@example.com
queryvarcharFull SQL text of the executed querySELECT * FROM explorer_open_safely.patient LIMIT 10
query_statevarcharLifecycle state of the query (for example FINISHED, FAILED, RUNNING)FINISHED
query_planvarcharInternal execution plan produced by the query engineFragment 0 …
query_typevarcharCategory of the query (for example SELECT, INSERT)SELECT
total_rowsbigintTotal number of rows read or processed during execution5000000
output_rowsbigintNumber of rows returned to the caller10
cpu_time_msbigintTotal CPU time consumed across all workers, in milliseconds3240
wall_time_msbigintEnd-to-end elapsed (wall-clock) time, in milliseconds1850
queued_time_msbigintTime the query spent waiting in the scheduler queue before execution started, in milliseconds45
cumulative_memorybigintPeak cumulative memory allocated across all query stages, in bytes104857600
analysis_timevarcharDuration of the query analysis (planning) phase0:00:00.123
execution_timevarcharDuration of the actual execution phase0:00:01.727
create_timetimestampTimestamp when the query was submitted to the engine2024-03-15 09:45:00.000000 UTC
end_timetimestampTimestamp when the query completed (successfully or otherwise)2024-03-15 09:45:01.850000 UTC
failure_infovarcharStructured failure details when query_state is FAILED; NULL for successful queriesNULL

Use this query to preview recent rows and validate expected columns:

SELECT *
FROM explorer_open_safely.user_query_utilization
LIMIT 100;