Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions bottomless/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,10 @@ From libSQL/SQLite shell, load the extension and open a database file with `bott
```sql
.load ../target/debug/bottomless
.open file:test.db?wal=bottomless
PRAGMA page_size=65536;
PRAGMA journal_mode=wal;
```
Remember to set the journaling mode to `WAL`, which needs to be done at least once, before writing any content, otherwise the custom WAL implementation will not be used.

The recommended page size for replicated WAL is the maximum - 64KiB. Most S3-compatible storage vendors have minimum billable object size set to ~128KiB anyway.

In order to customize logging, use `RUST_LOG` env variable, e.g. `RUST_LOG=info ./libsql`.

A short demo script is in `test/smoke_test.sh`, and can be executed with:
Expand Down