Logo

Monitoring

3d76337d-d4ee-40bd-9598-494f8b50ef35
1 ms
QueryFinish
redash

Hostname of the server executing the query

duet-ubuntu

Initial user (for distributed query execution)

Initial query id (for distributed query execution)

initial_address (IP address that the parent query was launched from)

::ffff:172.19.0.4

initial_port (The client port that was used to make the parent query)

35442

Initial query starting time (for distributed query execution)

2025-03-15 01:55:22

Columns

[ "home_assistant.statistics_meta.statistic_id" ]

Partitions

[ "home_assistant.statistics_meta.all" ]

Interface that the query was initiated from (1 — TCP, 2 — HTTP)

2

HTTP method (0 = TCP, 1 = GET, 2 = POST)

2

HTTP user agent

python-requests/2.32.3

Distributed depth

0

Revision

54495

Profile events

{ "Query": "1", "SelectQuery": "1", "InitialQuery": "1", "QueriesWithSubqueries": "1", "SelectQueriesWithSubqueries": "1", "FileOpen": "1", "ReadBufferFromFileDescriptorReadBytes": "727", "ReadCompressedBytes": "727", "CompressedReadBufferBlocks": "1", "CompressedReadBufferBytes": "2416", "OpenedFileCacheMisses": "1", "OpenedFileCacheMicroseconds": "1", "IOBufferAllocs": "18", "IOBufferAllocBytes": "4247733", "MarkCacheHits": "1", "CreatedReadBufferOrdinary": "1", "DiskReadElapsedMicroseconds": "10", "GlobalThreadPoolJobs": "2", "LocalThreadPoolExpansions": "1", "LocalThreadPoolThreadCreationMicroseconds": "20", "LocalThreadPoolJobs": "4", "SelectedParts": "1", "SelectedPartsTotal": "1", "SelectedRanges": "1", "SelectedMarks": "1", "SelectedMarksTotal": "1", "SelectedRows": "59", "SelectedBytes": "2888", "RowsReadByMainReader": "59", "WaitMarksLoadMicroseconds": "5", "ContextLock": "29", "RWLockAcquiredReadLocks": "1", "PartsLockHoldMicroseconds": "3", "RealTimeMicroseconds": "1758", "UserTimeMicroseconds": "1186", "SystemTimeMicroseconds": "116", "SoftPageFaults": "23", "OSCPUWaitMicroseconds": "15", "OSCPUVirtualTimeMicroseconds": "1299", "OSWriteBytes": "4096", "OSReadChars": "1024", "OSWriteChars": "2048", "ThreadPoolReaderPageCacheHit": "1", "ThreadPoolReaderPageCacheHitBytes": "727", "ThreadPoolReaderPageCacheHitElapsedMicroseconds": "10", "SynchronousReadWaitMicroseconds": "12", "LogTrace": "6", "LogDebug": "3", "LoggerElapsedNanoseconds": "75821", "ConcurrencyControlSlotsGranted": "1", "ConcurrencyControlSlotsAcquired": "1" }

Settings

{ "max_insert_threads": "4", "max_threads": "1", "merge_tree_max_rows_to_use_cache": "10485760", "merge_tree_max_bytes_to_use_cache": "20132659200", "do_not_merge_across_partitions_select_final": "1", "enable_http_compression": "1", "http_connection_timeout": "10", "http_send_timeout": "3600", "http_receive_timeout": "300", "log_query_threads": "0", "enable_optimize_predicate_expression": "1", "use_query_cache": "0", "query_cache_nondeterministic_function_handling": "ignore", "query_cache_system_table_handling": "save", "async_insert": "1", "wait_for_async_insert": "1", "async_insert_use_adaptive_busy_timeout": "1", "allow_experimental_join_condition": "1" }

Used formats

Used privileges

[ "SELECT(statistic_id) ON home_assistant.statistics_meta" ]

See the detailed explanation at the system.query_log document

Query Stages

duet-ubuntuQueryStart2025-03-15 01:55:22.7483251 day, 9 hours and 9 minutes0
0.00 B
0.00
0.00
0.00Unknown(0,0,'00000000-0000-0000-0000-000000000000')00NaN3d76337d-d4ee-40bd-9598-494f8b50ef35
duet-ubuntuQueryFinish2025-03-15 01:55:22.7483251 day, 9 hours and 9 minutes1
3.00 MiB
59.00
0.00
59.00None(0,0,'00000000-0000-0000-0000-000000000000')33NaN3d76337d-d4ee-40bd-9598-494f8b50ef35
2 row(s) in 0.819 seconds.