-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Description
Sharing a few strategies here. Can be converted to a discussion at your discretion.
- Enabling WAL2: Any plans for WAL2 / BEGIN CONCURRENT? #30
- Write batching / bulk INSERT
- Used by rqlite (sacrifices durability for throughput).
- Not all writes may be suitable for batching.
- Multiple databases for writes, then ATTACH for reads.
# main.yaml
scheduledTasks:
- atStartup: true
statements:
- ATTACH 'sessions.db' as sessionsYou can then:
SELECT count(*) FROM sessions.users;Perform JOIN, etc.
Multiple databases enable you to multiply your throughput.
Share your strategies!
Metadata
Metadata
Assignees
Labels
No labels