Files
ast-project/part1/results/3/bug_352452df-1543-4f7a-893e-572783f722a6_logic.md
T
2026-06-24 13:47:14 +02:00

780 lines
31 KiB
Markdown

## Summary
<!--Explain briefly what goes wrong and explain why you believe this is a bug and not the intended behavior of SQLite (if it is not a crash).-->**No review yet**
## Minimized query
```sql
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
-- like('%{v}', {v})
INSERT INTO t1 VALUES (1, 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
CREATE TABLE T (
a INTEGER,
b TEXT,
c INTEGER
);
INSERT INTO T VALUES (1,'a',NULL), (2,'b',1), (3,'c',2);
WITH RECURSIVE d(a,b,c,e) AS (
SELECT *,1 FROM T WHERE c IS NULL
UNION ALL
SELECT T.a,T.b,T.c,d.e+1
FROM T JOIN d ON T.c=d.a
)
SELECT * FROM d;
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2
SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
ATTACH DATABASE (':memory:' || '') AS aux99;
PRAGMA foreign_key_check;
.output blablabla.whatever
BEGIN DEFERRED;
CREATE TABLE [T] (
a SMALLINT,
b REAL,
c REAL
);
INSERT INTO T VALUES (length(randomblob(CAST(10 AS UNSIGNED BIG INT))),2.0,10.5), (1,-3.5,20.25), (2,9e999,-1.0);
WITH d AS (SELECT a,SUM(b*c) AS e FROM T GROUP BY a) SELECT * FROM d;
SELECT * FROM T NATURAL JOIN T;
INSERT INTO T SELECT * FROM T;
SELECT * FROM T;
PRAGMA case_sensitive_like = ON;
CREATE TEMPORARY VIEW IF NOT EXISTS v_T_8230 AS SELECT a FROM T;
DROP /* json_remove({v}) */ INDEX IF EXISTS T;
SELECT * FROM T WHERE NOT NOT (NOT NOT (EXISTS (SELECT 1 FROM T WHERE 1 = 0))) ;
INSERT INTO T DEFAULT VALUES;
ALTER TABLE T RENAME TO T_r7824;
ROLLBACK;
VACUUM main;
PRAGMA cache_spill = 0;
DETACH DATABASE aux99;
ANALYZE t1;
UPDATE t1 SET a = 'x' WHERE a IS NOT NULL;
CREATE TEMP VIEW IF NOT EXISTS v_t1_4811 AS SELECT d FROM t1;
SELECT * FROM t1 WHERE b IN (SELECT b FROM t1 WHERE b IS NOT NULL);
DROP INDEX IF EXISTS t1; /* concat('a', 'b', 'c') */ SELECT * FROM t1 WHERE d = ANY (SELECT d FROM t1);
ALTER TABLE t1 ADD COLUMN extra_6667 NUMERIC DEFAULT (abs(random()) % 1000);
SELECT * FROM t1;
DELETE FROM T WHERE a > (SELECT AVG(a) FROM T) RETURNING *;
ALTER TABLE t1 ADD COLUMN extra_7384 DATETIME DEFAULT NULL;
PRAGMA vdbe_debug = TRUE;
INSERT INTO t1 VALUES (1, 1, 'x', NULL) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
```
## Actual output
```sql
Memory Used: 79040 (max 80592) bytes
Number of Outstanding Allocations: 164 (max 178)
Number of Pcache Overflow Bytes: 16928 (max 16928) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 32 (max 88)
Successful lookaside attempts: 107
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 13592 bytes
Page cache hits: 4
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1088 bytes
Statement Heap/Lookaside Usage: 2496 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 30
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2496
Bytes received by read(): 8630
Bytes sent to write(): 0
Read() system calls: 14
Write() system calls: 0
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 76568 (max 82248) bytes
Number of Outstanding Allocations: 153 (max 178)
Number of Pcache Overflow Bytes: 16928 (max 16928) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 41 (max 88)
Successful lookaside attempts: 129
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 13592 bytes
Page cache hits: 2
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1112 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 16
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 8724
Bytes sent to write(): 1293
Read() system calls: 16
Write() system calls: 1
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 76568 (max 82248) bytes
Number of Outstanding Allocations: 153 (max 178)
Number of Pcache Overflow Bytes: 16928 (max 16928) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 41 (max 88)
Successful lookaside attempts: 151
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 13592 bytes
Page cache hits: 2
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1112 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 16
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 8821
Bytes sent to write(): 2589
Read() system calls: 18
Write() system calls: 2
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 83672 (max 89352) bytes
Number of Outstanding Allocations: 173 (max 188)
Number of Pcache Overflow Bytes: 21288 (max 21288) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 32 (max 88)
Successful lookaside attempts: 226
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 17936 bytes
Page cache hits: 4
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1400 bytes
Statement Heap/Lookaside Usage: 2448 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 28
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2448
Bytes received by read(): 8918
Bytes sent to write(): 3885
Read() system calls: 20
Write() system calls: 3
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 81248 (max 89352) bytes
Number of Outstanding Allocations: 162 (max 188)
Number of Pcache Overflow Bytes: 21288 (max 21288) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 41 (max 88)
Successful lookaside attempts: 259
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 17936 bytes
Page cache hits: 2
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1424 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 35
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 9015
Bytes sent to write(): 5181
Read() system calls: 22
Write() system calls: 4
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
1|a||1
2|b|1|2
3|c|2|3
Memory Used: 85824 (max 293216) bytes
Number of Outstanding Allocations: 186 (max 216)
Number of Pcache Overflow Bytes: 21288 (max 37704) bytes
Largest Allocation: 87200 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 50 (max 123)
Successful lookaside attempts: 397
Lookaside failures due to size: 3
Lookaside failures due to OOM: 61
Pager Heap Usage: 17936 bytes
Page cache hits: 3
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1424 bytes
Statement Heap/Lookaside Usage: 20744 bytes
Fullscan Steps: 2
Sort Operations: 0
Autoindex Inserts: 2
Bloom filter bypass taken: 1/3
Virtual Machine Steps: 149
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 20744
Bytes received by read(): 9112
Bytes sent to write(): 6477
Read() system calls: 24
Write() system calls: 5
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 81248 (max 293216) bytes
Number of Outstanding Allocations: 162 (max 216)
Number of Pcache Overflow Bytes: 21288 (max 37704) bytes
Largest Allocation: 87200 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 41 (max 123)
Successful lookaside attempts: 419
Lookaside failures due to size: 3
Lookaside failures due to OOM: 61
Pager Heap Usage: 17936 bytes
Page cache hits: 2
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1424 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 16
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 9209
Bytes sent to write(): 7843
Read() system calls: 26
Write() system calls: 6
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 88656 (max 293216) bytes
Number of Outstanding Allocations: 182 (max 216)
Number of Pcache Overflow Bytes: 25648 (max 37704) bytes
Largest Allocation: 87200 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 32 (max 123)
Successful lookaside attempts: 499
Lookaside failures due to size: 3
Lookaside failures due to OOM: 61
Pager Heap Usage: 22280 bytes
Page cache hits: 5
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1624 bytes
Statement Heap/Lookaside Usage: 2768 bytes
Fullscan Steps: 0
Sort Operations: 1
Autoindex Inserts: 0
Virtual Machine Steps: 56
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2768
Bytes received by read(): 9306
Bytes sent to write(): 9142
Read() system calls: 28
Write() system calls: 7
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 85816 (max 293216) bytes
Number of Outstanding Allocations: 165 (max 216)
Number of Pcache Overflow Bytes: 25648 (max 37704) bytes
Largest Allocation: 87200 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 35 (max 123)
Successful lookaside attempts: 504
Lookaside failures due to size: 3
Lookaside failures due to OOM: 61
Pager Heap Usage: 22280 bytes
Page cache hits: 0
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1624 bytes
Statement Heap/Lookaside Usage: 2528 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 4
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2528
Bytes received by read(): 9403
Bytes sent to write(): 10441
Read() system calls: 30
Write() system calls: 8
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
CREATE TABLE "t2"("b","c","_ROWID_",PRIMARY KEY("b","c","_ROWID_"))WITHOUT ROWID;
WARNING: writing to an imposter table will corrupt the "t1bc" index!
Braun|30|3
Wernher|10|1
von|20|2
Memory Used: 86376 (max 293216) bytes
Number of Outstanding Allocations: 175 (max 216)
Number of Pcache Overflow Bytes: 25648 (max 37704) bytes
Largest Allocation: 87200 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 45 (max 123)
Successful lookaside attempts: 627
Lookaside failures due to size: 3
Lookaside failures due to OOM: 61
Pager Heap Usage: 22280 bytes
Page cache hits: 5
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 2168 bytes
Statement Heap/Lookaside Usage: 4752 bytes
Fullscan Steps: 2
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 21
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 4752
Bytes received by read(): 9501
Bytes sent to write(): 11891
Read() system calls: 32
Write() system calls: 10
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Braun|30
Wernher|10
von|20
Memory Used: 86400 (max 293216) bytes
Number of Outstanding Allocations: 176 (max 216)
Number of Pcache Overflow Bytes: 25648 (max 37704) bytes
Largest Allocation: 87200 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 45 (max 123)
Successful lookaside attempts: 666
Lookaside failures due to size: 3
Lookaside failures due to OOM: 61
Pager Heap Usage: 22280 bytes
Page cache hits: 2
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 2192 bytes
Statement Heap/Lookaside Usage: 4752 bytes
Fullscan Steps: 2
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 19
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 4752
Bytes received by read(): 9600
Bytes sent to write(): 13225
Read() system calls: 34
Write() system calls: 11
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
```
## Expectation
```sql
Memory Used: 79504 (max 81040) bytes
Number of Outstanding Allocations: 174 (max 188)
Number of Pcache Overflow Bytes: 16936 (max 16936) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 48 (max 97)
Successful lookaside attempts: 116
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 13608 bytes
Page cache hits: 4
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 904 bytes
Statement Heap/Lookaside Usage: 2352 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 30
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2352
Bytes received by read(): 9150
Bytes sent to write(): 0
Read() system calls: 14
Write() system calls: 0
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 77160 (max 82792) bytes
Number of Outstanding Allocations: 163 (max 188)
Number of Pcache Overflow Bytes: 16936 (max 16936) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 57 (max 97)
Successful lookaside attempts: 138
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 13608 bytes
Page cache hits: 2
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 912 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 16
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 9244
Bytes sent to write(): 1331
Read() system calls: 16
Write() system calls: 1
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 77160 (max 82792) bytes
Number of Outstanding Allocations: 163 (max 188)
Number of Pcache Overflow Bytes: 16936 (max 16936) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 57 (max 97)
Successful lookaside attempts: 160
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 13608 bytes
Page cache hits: 2
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 912 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 16
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 9341
Bytes sent to write(): 2665
Read() system calls: 18
Write() system calls: 2
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 84104 (max 89736) bytes
Number of Outstanding Allocations: 183 (max 198)
Number of Pcache Overflow Bytes: 21304 (max 21304) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 48 (max 97)
Successful lookaside attempts: 228
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 17960 bytes
Page cache hits: 4
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1152 bytes
Statement Heap/Lookaside Usage: 2336 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 28
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2336
Bytes received by read(): 9438
Bytes sent to write(): 3999
Read() system calls: 20
Write() system calls: 3
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 81776 (max 89736) bytes
Number of Outstanding Allocations: 172 (max 198)
Number of Pcache Overflow Bytes: 21304 (max 21304) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 58 (max 97)
Successful lookaside attempts: 265
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 17960 bytes
Page cache hits: 2
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1160 bytes
Statement Heap/Lookaside Usage: 4496 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 35
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 4496
Bytes received by read(): 9535
Bytes sent to write(): 5334
Read() system calls: 22
Write() system calls: 4
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
1|a||1
2|b|1|2
3|c|2|3
Memory Used: 85960 (max 293632) bytes
Number of Outstanding Allocations: 187 (max 232)
Number of Pcache Overflow Bytes: 21304 (max 37704) bytes
Largest Allocation: 87360 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 61 (max 123)
Successful lookaside attempts: 378
Lookaside failures due to size: 3
Lookaside failures due to OOM: 73
Pager Heap Usage: 17960 bytes
Page cache hits: 3
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1160 bytes
Statement Heap/Lookaside Usage: 17568 bytes
Fullscan Steps: 2
Sort Operations: 0
Autoindex Inserts: 2
Bloom filter bypass taken: 1/3
Virtual Machine Steps: 150
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 17568
Bytes received by read(): 9632
Bytes sent to write(): 6669
Read() system calls: 24
Write() system calls: 5
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 81776 (max 293632) bytes
Number of Outstanding Allocations: 172 (max 232)
Number of Pcache Overflow Bytes: 21304 (max 37704) bytes
Largest Allocation: 87360 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 57 (max 123)
Successful lookaside attempts: 400
Lookaside failures due to size: 3
Lookaside failures due to OOM: 73
Pager Heap Usage: 17960 bytes
Page cache hits: 2
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1160 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 16
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 9729
Bytes sent to write(): 8074
Read() system calls: 26
Write() system calls: 6
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 88992 (max 293632) bytes
Number of Outstanding Allocations: 190 (max 232)
Number of Pcache Overflow Bytes: 25672 (max 37704) bytes
Largest Allocation: 87360 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 48 (max 123)
Successful lookaside attempts: 473
Lookaside failures due to size: 3
Lookaside failures due to OOM: 73
Pager Heap Usage: 22312 bytes
Page cache hits: 5
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1368 bytes
Statement Heap/Lookaside Usage: 2576 bytes
Fullscan Steps: 0
Sort Operations: 1
Autoindex Inserts: 0
Virtual Machine Steps: 56
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2576
Bytes received by read(): 9826
Bytes sent to write(): 9412
Read() system calls: 28
Write() system calls: 7
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Memory Used: 86352 (max 293632) bytes
Number of Outstanding Allocations: 175 (max 232)
Number of Pcache Overflow Bytes: 25672 (max 37704) bytes
Largest Allocation: 87360 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 51 (max 123)
Successful lookaside attempts: 478
Lookaside failures due to size: 3
Lookaside failures due to OOM: 73
Pager Heap Usage: 22312 bytes
Page cache hits: 0
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1368 bytes
Statement Heap/Lookaside Usage: 2528 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 5
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2528
Bytes received by read(): 9923
Bytes sent to write(): 10750
Read() system calls: 30
Write() system calls: 8
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
CREATE TABLE "t2"("b","c","_ROWID_",PRIMARY KEY("b","c","_ROWID_"))WITHOUT ROWID;
Braun|30|3
Wernher|10|1
von|20|2
Memory Used: 86832 (max 293632) bytes
Number of Outstanding Allocations: 185 (max 232)
Number of Pcache Overflow Bytes: 25672 (max 37704) bytes
Largest Allocation: 87360 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 58 (max 123)
Successful lookaside attempts: 591
Lookaside failures due to size: 3
Lookaside failures due to OOM: 73
Pager Heap Usage: 22312 bytes
Page cache hits: 5
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1848 bytes
Statement Heap/Lookaside Usage: 4368 bytes
Fullscan Steps: 2
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 21
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 4368
Bytes received by read(): 10021
Bytes sent to write(): 12170
Read() system calls: 32
Write() system calls: 10
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
Braun|30
Wernher|10
von|20
Memory Used: 86840 (max 293632) bytes
Number of Outstanding Allocations: 186 (max 232)
Number of Pcache Overflow Bytes: 25672 (max 37704) bytes
Largest Allocation: 87360 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 59 (max 123)
Successful lookaside attempts: 628
Lookaside failures due to size: 3
Lookaside failures due to OOM: 73
Pager Heap Usage: 22312 bytes
Page cache hits: 2
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1856 bytes
Statement Heap/Lookaside Usage: 4496 bytes
Fullscan Steps: 2
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 19
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 4496
Bytes received by read(): 10121
Bytes sent to write(): 13544
Read() system calls: 34
Write() system calls: 11
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
```
## Flag
```
-stats
```