DC
Size: a a a
DC
A
A
DC
A
A
A
D
DT
DT
DC
DC
SELECT
toTimeZone(now(), 'Europe/Moscow') AS a,
now() AS b,
a - b AS x
┌───────────────────a─┬───────────────────b─┬─x─┐
│ 2021-03-04 02:18:29 │ 2021-03-03 23:18:29 │ 0 │
└─────────────────────┴─────────────────────┴───┘
S
S
S
КТ
select metric, value from system.metrics
select metric, value from system.asynchronous_metrics
select event, value from system.events
select database, table, sum(bytes) as bytes, count() as parts, sum(rows) as rows from system.parts where active = 1 group by database, table
КТ
DG
DC
DC