随笔分类 - Clickhouse
摘要:[root@db01 ~]# strace -T -tt clickhouse-client -udefault --password 123 --query="select count(*) from tb1_all;" 2>&1 |tee strace.log
阅读全文
摘要:[root@mysql-host1 /data/bifrost/data]# cat db.Bifrost | python3 -mjson.tool { "Version": "v1.8.0-beta.01", "ToServer": { "dba_test-tb1_all": { "Plugin
阅读全文
摘要:-- 官方文档 https://clickhouse.com/docs/zh/sql-reference/aggregate-functions/parametric-functions/#function-sequencecount 对于事件进行连续跟踪分析能力,适用漏斗或跟踪埋点数据 -- 实际
阅读全文
摘要:{ "query": { "bool": { "filter": [ { "range": { "time_use": { "gte": "1" } } }, { "match_phrase": { "time_unit": "s" } } ] } } }
阅读全文
摘要:-- 每天的慢SQL数量 select event_date, count(*) num from system.query_log ql where ql.query_duration_ms > 1000 and event_date >= '2022-07-01' and event_date
阅读全文