Skip to content

Commit 313a131

Browse files
committed
Add info from #1273
1 parent c973fe3 commit 313a131

File tree

1 file changed

+5
-0
lines changed
  • src/content/doc-surrealdb/cli

1 file changed

+5
-0
lines changed

src/content/doc-surrealdb/cli/env.mdx

+5
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,11 @@ These environment variables are used to configure the storage backend for Surrea
560560
<td scope="row" data-label="Default">4096</td>
561561
<td scope="row" data-label="Notes"></td>
562562
</tr>
563+
<tr>
564+
<td scope="row" data-label="Env var"><code>SURREAL_ROCKSDB_BLOCK_CACHE_SIZE</code></td>
565+
<td scope="row" data-label="Default">Whichever is larger of "System total memory / 2 - 1GiB" and "512MiB"</td>
566+
<td scope="row" data-label="Notes">RocksDB <a href="https://github.com/facebook/rocksdb/wiki/memory-usage-in-rocksdb">block cache size</a> in bytes</td>
567+
</tr>
563568
<tr>
564569
<td scope="row" data-label="Env var"><code>SURREAL_ROCKSDB_KEEP_LOG_FILE_NUM</code></td>
565570
<td scope="row" data-label="Default">20</td>

0 commit comments

Comments
 (0)