You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 18, 2023. It is now read-only.
For databases created from seed files, I have noticed higher disk usage than expected. The disk space usage is 4x for primary and 3x for replicas. (the usage peaked at 4.5x and 3.5x respectively)
My seed file is 1.7GB. The disk space used in primary was 6.8GB (while peak at 8.2GB).
To recreate, you may run following commands to generate a test database:
$ sqlite3 big.db
PRAGMA journal_mode=WAL;
CREATETABLEtest (
id INTEGERPRIMARY KEYNOT NULL,
x REALNOT NULL,
y REALNOT NULL,
z REALNOT NULL
);
INSERT INTO test
WITH RECURSIVE
cnt( id, x, y, z) AS (
VALUES(1 , random(), random(), random()) UNION ALLSELECT id+1,random(),random(), random() FROM cnt WHERE ID<50000000)
select*from cnt;
related: This slack thread has some internal details tested on Turso cloud
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For databases created from seed files, I have noticed higher disk usage than expected. The disk space usage is 4x for primary and 3x for replicas. (the usage peaked at 4.5x and 3.5x respectively)
My seed file is 1.7GB. The disk space used in primary was 6.8GB (while peak at 8.2GB).
To recreate, you may run following commands to generate a test database:
related: This slack thread has some internal details tested on Turso cloud
The text was updated successfully, but these errors were encountered: