Skip to content

Commit

Permalink
Rmove dupe FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
criccomini committed Nov 8, 2024
1 parent 31e5bfe commit 16b782d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,3 @@ SlateDB does not support [column families](https://github.com/facebook/rocksdb/w
## Are there any limits to key and value sizes?

Keys are limited to a maximum of 65 KiB (65,535 bytes). Values are limited to a maximum of 4 GiB (4,294,967,295 bytes). Larger values require more memory and will take longer to write, so we recommend testing performance at your expected value size to ensure it meets your requirements.

## Why does SlateDB have a WAL if it batches writes?

SlateDB batches writes to its WAL to reduce the number of PUT calls to object storage. One might wonder if we could just write the batches directly to L0 as an SST. Though we use the same SST file format for the WAL, L0, and all compacted SSTs, we opted to keep the WAL separate from L0. This lets us frequently write WAL SSTs without increasing the number of L0 SSTs we have. Since reads are served from L0 SSTs, having too many of them would result in a very large amount of metadata that needs to be managed in memory. By contrast, the durable WAL is used only for recovery, so we can write to it frequently without impacting write performance.

0 comments on commit 16b782d

Please sign in to comment.