VS
Size: a a a
VS
AS
b
https://github.com/lomik/graphite-clickhouse
):┌─Path────────────────────┬─Value─┬───────Time─┬───────Date─┬──Timestamp─┐
│ crawl....http_200?cc=ad │ 1 │ 1621024590 │ 2021-05-14 │ 1621024585 │
│ crawl....http_200?cc=ad │ 1 │ 1621024950 │ 2021-05-14 │ 1621024945 │
│ crawl....http_200?cc=ad │ 1 │ 1621025310 │ 2021-05-14 │ 1621025305 │
│ crawl....http_200?cc=ad │ 1 │ 1621025460 │ 2021-05-14 │ 1621025455 │
│ crawl....http_200?cc=ad │ 1 │ 1621025850 │ 2021-05-14 │ 1621025845 │
│ crawl....http_200?cc=ad │ 1 │ 1621025940 │ 2021-05-14 │ 1621025935 │
│ crawl....http_200?cc=ad │ 1 │ 1621026090 │ 2021-05-14 │ 1621026085 │
│ crawl....http_200?cc=ad │ 1 │ 1621027080 │ 2021-05-14 │ 1621027075 │
│ crawl....http_200?cc=ad │ 1 │ 1621027380 │ 2021-05-14 │ 1621027375 │
│ crawl....http_200?cc=ad │ 2 │ 1621027410 │ 2021-05-14 │ 1621027405 │
└─────────────────────────┴───────┴────────────┴────────────┴────────────┘
b08 🙂 show tables;
SHOW TABLES
┌─name─────────┐
│ data │
│ data_reverse │
│ metrics │
│ series │
│ tagged │
└──────────────┘
SELECT
substr(Path,48,2) AS cc,
substr(Path,41,3) AS code,
sum(Value)
FROM data_reverse
WHERE Path LIKE 'crawlers.requests.http_%'
GROUP BY cc, code
LIMIT 10;
DZ
vk
SB
Wo
TF
HR
HR
TF
HR
SB
vk
AS
S
S
S
VS
w