Skip to content

Commit a49409e

Browse files
authored
Update altinity-kb-who-ate-my-memory.md
1 parent d1c5eb3 commit a49409e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

content/en/altinity-kb-setup-and-maintenance/altinity-kb-who-ate-my-memory.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ SELECT 'MemoryTracking' as group, 'total' as name, toInt64(value) FROM system.me
4747
```
4848

4949
```sql
50+
SELECT *, formatReadableSize(value)
51+
FROM system.metrics
52+
WHERE (metric ilike '%Cach%' or metric ilike '%Mem%') and value != 0
53+
order by metric format PrettyCompactMonoBlock;
54+
5055
SELECT *, formatReadableSize(value)
5156
FROM system.asynchronous_metrics
5257
WHERE metric like '%Cach%' or metric like '%Mem%'

0 commit comments

Comments
 (0)