Skip to content

Commit f2f967a

Browse files
nlarewkay-kim
authored andcommitted
(DOCS-11776): add examples of WT cacheSizeGB default calculation
1 parent cc2cc99 commit f2f967a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/includes/extracts-wired-tiger.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@ content: |
175175
- 50% of (RAM - 1 GB), or
176176
177177
- 256 MB.
178+
179+
For example, on a system with a total of 4GB of RAM the WiredTiger
180+
cache will use 1.5GB of RAM (``0.5 * (4 GB - 1 GB) = 1.5 GB``).
181+
Conversely, a system with a total of 1.25 GB of RAM will allocate 256
182+
MB to the WiredTiger cache because that is more than half of the
183+
total RAM minus one gigabyte (``0.5 * (1.25 GB - 1 GB) = 128 MB < 256 MB``).
178184
---
179185
ref: wt-filesystem-cache
180186
content: |

0 commit comments

Comments
 (0)