Skip to content

Commit 46c82a0

Browse files
authored
Update altinity-kb-memory-configuration-settings.md
1 parent e488178 commit 46c82a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

content/en/altinity-kb-setup-and-maintenance/altinity-kb-memory-configuration-settings.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ By default it 90% of the physical RAM of the server.
2222

2323
You can decrease that in some scenarios (like you need to leave more free RAM for page cache or to some other software).
2424

25+
### Limits?
26+
27+
```sql
28+
select metric, formatReadableSize(value) from system.asynchronous_metrics where metric ilike '%MemoryTotal%'
29+
union all
30+
select name, formatReadableSize(toUInt64(value)) from system.server_settings where name='max_server_memory_usage'
31+
FORMAT PrettyCompactMonoBlock
32+
```
33+
2534
### How to check what is using my RAM?
2635

2736
[altinity-kb-who-ate-my-memory.md]({{<ref "altinity-kb-who-ate-my-memory.md" >}})

0 commit comments

Comments
 (0)