Compare commits
No commits in common. "63a0994182f4450210b17bad81cfbd953abe46a8" and "f12a5ae974881e00cff557f579c406478520144c" have entirely different histories.
63a0994182
...
f12a5ae974
|
|
@ -1,18 +0,0 @@
|
|||
<!--
|
||||
title: Запрос размера таблиц Clickhouse
|
||||
description:
|
||||
published: true
|
||||
date: 2024-03-13T10:13:40.903Z
|
||||
tags: clickhouse, query
|
||||
editor: ckeditor
|
||||
dateCreated: 2024-03-13T10:11:53.025Z
|
||||
-->
|
||||
|
||||
<pre><code class="language-plaintext">SELECT table,
|
||||
formatReadableSize(sum(bytes)) as size,
|
||||
min(min_date) as min_date,
|
||||
max(max_date) as max_date
|
||||
FROM system.parts
|
||||
WHERE active
|
||||
GROUP BY table</code></pre>
|
||||
<figure class="image"><img src="/sysadmin/query-db.png"></figure>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 66 KiB |
Loading…
Reference in New Issue