mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-12-12 15:33:44 +00:00
ad79ef48a2
* add tests * add bench
18 lines
644 B
Plaintext
18 lines
644 B
Plaintext
|
|
PRAGMA auto_vacuum = 2;
|
|
CREATE TABLE t1(x, y);
|
|
INSERT INTO t1 VALUES(randomblob(500), randomblob(500));
|
|
INSERT INTO t1 SELECT randomblob(500), randomblob(500) FROM t1;
|
|
INSERT INTO t1 SELECT randomblob(500), randomblob(500) FROM t1;
|
|
INSERT INTO t1 SELECT randomblob(500), randomblob(500) FROM t1;
|
|
INSERT INTO t1 SELECT randomblob(500), randomblob(500) FROM t1;
|
|
INSERT INTO t1 SELECT randomblob(500), randomblob(500) FROM t1;
|
|
INSERT INTO t1 SELECT randomblob(500), randomblob(500) FROM t1;
|
|
INSERT INTO t1 SELECT randomblob(500), randomblob(500) FROM t1;
|
|
|
|
|
|
BEGIN;
|
|
DELETE FROM t1 WHERE 1;
|
|
PRAGMA incremental_vacuum;
|
|
|