780 lines
31 KiB
Markdown
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
|
|
ATTACH DATABASE ':memory:' AS aux96;
|
|
.stats on
|
|
SAVEPOINT sp9037;
|
|
.stats on
|
|
CREATE TABLE `T` (
|
|
a TEXT,
|
|
b REAL
|
|
);
|
|
INSERT INTO main.T VALUES ('' || ('a'),power(CAST(CAST((like(CAST(0 AS REAL), NULL) + 3725563120749816045) AS ANY) AS BOOLEAN), 100.0)), ('b',-200.5), ('c',9e999);
|
|
CREATE TABLE "t1"(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
|
|
INSERT INTO t1 VALUES (1, 'Wernher', 10, 100);
|
|
INSERT INTO t1 VALUES (2, 'von', 20, 200);
|
|
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
|
|
SELECT a,b,
|
|
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
|
|
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
|
|
PRAGMA query_only;
|
|
INSERT INTO T VALUES (1, NULL) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b;
|
|
|
|
SELECT COUNT(*) FROM t1;
|
|
SELECT * FROM T;
|
|
|
|
SELECT COUNT(*) FROM t1;
|
|
ANALYZE;
|
|
ALTER TABLE T RENAME TO T_r9134;
|
|
SELECT MIN(a) FILTER (WHERE NOT NOT (a IS NOT NULL) OVER () ORDER BY a GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) FROM T;
|
|
INSERT INTO T SELECT * FROM T;
|
|
ANALYZE T;
|
|
|
|
SELECT COUNT(*) FROM T;
|
|
ROLLBACK TO sp9037;
|
|
RELEASE sp9037;
|
|
SELECT COUNT(b) FILTER (WHERE b IS NOT NULL) OVER (PARTITION BY b ORDER BY b) FROM T;
|
|
SELECT COUNT(*) FILTER (WHERE b IS NOT NULL), SUM(rowid) FILTER (WHERE b > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(b) FILTER (WHERE b > 0 AND b < 100), COUNT(*) FILTER (WHERE typeof(b) = "text") FROM t1;
|
|
ALTER TABLE T ADD COLUMN extra_3139 DOUBLE COLLATE RTRIM;
|
|
SELECT * FROM T AS a JOIN T AS b ON a.rowid = b.rowid;
|
|
INSERT INTO t1 SELECT * FROM t1;
|
|
SELECT * FROM T AS a FULL OUTER JOIN t1 AS b ON a.rowid = b.rowid;
|
|
SELECT * FROM t1 WHERE c > ANY (SELECT c FROM t1);
|
|
SELECT * FROM T AS a LEFT OUTER JOIN T AS b ON a.rowid = b.rowid;
|
|
INSERT INTO t1 SELECT * FROM t1;
|
|
REINDEX;
|
|
WITH cte(x) AS (SELECT a FROM T) SELECT x FROM cte;
|
|
DETACH DATABASE aux96;
|
|
ALTER TABLE T RENAME TO T_r2899;
|
|
SELECT * FROM T WHERE a NOT IN (SELECT a FROM T WHERE a IS NOT NULL);
|
|
CREATE TABLE T (
|
|
a INTEGER,
|
|
b TEXT,
|
|
c REAL
|
|
);
|
|
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
|
|
SELECT b,a,c,
|
|
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
|
|
SELECT * FROM T AS a FULL OUTER JOIN T AS b ON a.rowid = b.rowid;
|
|
|
|
SELECT COUNT(*) FROM t1;
|
|
```
|
|
|
|
## Actual output
|
|
|
|
```sql
|
|
Memory Used: 79920 (max 79920) bytes
|
|
Number of Outstanding Allocations: 158 (max 158)
|
|
Number of Pcache Overflow Bytes: 16928 (max 16928) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4360 bytes
|
|
Lookaside Slots Used: 39 (max 80)
|
|
Successful lookaside attempts: 143
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 18496 bytes
|
|
Page cache hits: 0
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Schema Heap Usage: 1104 bytes
|
|
Statement Heap/Lookaside Usage: 2656 bytes
|
|
Fullscan Steps: 0
|
|
Sort Operations: 0
|
|
Autoindex Inserts: 0
|
|
Virtual Machine Steps: 3
|
|
Reprepare operations: 0
|
|
Number of times run: 1
|
|
Memory used by prepared stmt: 2656
|
|
Bytes received by read(): 8673
|
|
Bytes sent to write(): 0
|
|
Read() system calls: 13
|
|
Write() system calls: 0
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 92688 (max 98368) bytes
|
|
Number of Outstanding Allocations: 182 (max 193)
|
|
Number of Pcache Overflow Bytes: 25392 (max 25392) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4360 bytes
|
|
Lookaside Slots Used: 35 (max 91)
|
|
Successful lookaside attempts: 218
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 22840 bytes
|
|
Page cache hits: 4
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Schema Heap Usage: 1376 bytes
|
|
Statement Heap/Lookaside Usage: 2416 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: 2416
|
|
Bytes received by read(): 9023
|
|
Bytes sent to write(): 1292
|
|
Read() system calls: 16
|
|
Write() system calls: 1
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 90296 (max 98368) bytes
|
|
Number of Outstanding Allocations: 171 (max 193)
|
|
Number of Pcache Overflow Bytes: 25392 (max 25392) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4360 bytes
|
|
Lookaside Slots Used: 52 (max 93)
|
|
Successful lookaside attempts: 288
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 22840 bytes
|
|
Page cache hits: 1
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Schema Heap Usage: 1400 bytes
|
|
Statement Heap/Lookaside Usage: 6464 bytes
|
|
Fullscan Steps: 0
|
|
Sort Operations: 0
|
|
Autoindex Inserts: 0
|
|
Virtual Machine Steps: 45
|
|
Reprepare operations: 0
|
|
Number of times run: 1
|
|
Memory used by prepared stmt: 6464
|
|
Bytes received by read(): 9120
|
|
Bytes sent to write(): 2588
|
|
Read() system calls: 18
|
|
Write() system calls: 2
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 97456 (max 103136) bytes
|
|
Number of Outstanding Allocations: 192 (max 207)
|
|
Number of Pcache Overflow Bytes: 29752 (max 29752) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4360 bytes
|
|
Lookaside Slots Used: 35 (max 93)
|
|
Successful lookaside attempts: 363
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 27184 bytes
|
|
Page cache hits: 3
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Schema Heap Usage: 1728 bytes
|
|
Statement Heap/Lookaside Usage: 2464 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: 2464
|
|
Bytes received by read(): 9217
|
|
Bytes sent to write(): 3884
|
|
Read() system calls: 20
|
|
Write() system calls: 3
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 95016 (max 103136) bytes
|
|
Number of Outstanding Allocations: 181 (max 207)
|
|
Number of Pcache Overflow Bytes: 29752 (max 29752) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4360 bytes
|
|
Lookaside Slots Used: 44 (max 93)
|
|
Successful lookaside attempts: 385
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 27184 bytes
|
|
Page cache hits: 1
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Schema Heap Usage: 1752 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(): 9314
|
|
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
|
|
Memory Used: 95016 (max 103136) bytes
|
|
Number of Outstanding Allocations: 181 (max 207)
|
|
Number of Pcache Overflow Bytes: 29752 (max 29752) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4360 bytes
|
|
Lookaside Slots Used: 44 (max 93)
|
|
Successful lookaside attempts: 407
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 27184 bytes
|
|
Page cache hits: 1
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Schema Heap Usage: 1752 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(): 9411
|
|
Bytes sent to write(): 6478
|
|
Read() system calls: 24
|
|
Write() system calls: 5
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 95016 (max 103136) bytes
|
|
Number of Outstanding Allocations: 181 (max 207)
|
|
Number of Pcache Overflow Bytes: 29752 (max 29752) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4360 bytes
|
|
Lookaside Slots Used: 44 (max 93)
|
|
Successful lookaside attempts: 429
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 27184 bytes
|
|
Page cache hits: 1
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Schema Heap Usage: 1752 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(): 9508
|
|
Bytes sent to write(): 7775
|
|
Read() system calls: 26
|
|
Write() system calls: 6
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 102424 (max 112216) bytes
|
|
Number of Outstanding Allocations: 201 (max 213)
|
|
Number of Pcache Overflow Bytes: 34112 (max 34112) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4360 bytes
|
|
Lookaside Slots Used: 35 (max 95)
|
|
Successful lookaside attempts: 509
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 31528 bytes
|
|
Page cache hits: 4
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Schema Heap Usage: 1952 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(): 9605
|
|
Bytes sent to write(): 9072
|
|
Read() system calls: 28
|
|
Write() system calls: 7
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 99584 (max 112216) bytes
|
|
Number of Outstanding Allocations: 184 (max 213)
|
|
Number of Pcache Overflow Bytes: 34112 (max 34112) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4360 bytes
|
|
Lookaside Slots Used: 38 (max 95)
|
|
Successful lookaside attempts: 514
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 31528 bytes
|
|
Page cache hits: 0
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Schema Heap Usage: 1952 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(): 9702
|
|
Bytes sent to write(): 10370
|
|
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: 100144 (max 112216) bytes
|
|
Number of Outstanding Allocations: 194 (max 213)
|
|
Number of Pcache Overflow Bytes: 34112 (max 34112) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4360 bytes
|
|
Lookaside Slots Used: 48 (max 100)
|
|
Successful lookaside attempts: 637
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 31528 bytes
|
|
Page cache hits: 2
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Schema Heap Usage: 2496 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(): 9800
|
|
Bytes sent to write(): 11818
|
|
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: 100168 (max 112216) bytes
|
|
Number of Outstanding Allocations: 195 (max 213)
|
|
Number of Pcache Overflow Bytes: 34112 (max 34112) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4360 bytes
|
|
Lookaside Slots Used: 48 (max 100)
|
|
Successful lookaside attempts: 676
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 31528 bytes
|
|
Page cache hits: 1
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Schema Heap Usage: 2520 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(): 9899
|
|
Bytes sent to write(): 13152
|
|
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: 80568 (max 80568) bytes
|
|
Number of Outstanding Allocations: 168 (max 168)
|
|
Number of Pcache Overflow Bytes: 16944 (max 16944) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4368 bytes
|
|
Lookaside Slots Used: 55 (max 91)
|
|
Successful lookaside attempts: 149
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 18512 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: 944 bytes
|
|
Statement Heap/Lookaside Usage: 2656 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: 2656
|
|
Bytes received by read(): 9449
|
|
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: 93160 (max 98792) bytes
|
|
Number of Outstanding Allocations: 192 (max 203)
|
|
Number of Pcache Overflow Bytes: 25408 (max 25408) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4368 bytes
|
|
Lookaside Slots Used: 51 (max 100)
|
|
Successful lookaside attempts: 217
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 22864 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: 1168 bytes
|
|
Statement Heap/Lookaside Usage: 2312 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: 2312
|
|
Bytes received by read(): 9543
|
|
Bytes sent to write(): 1330
|
|
Read() system calls: 16
|
|
Write() system calls: 1
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 90856 (max 98792) bytes
|
|
Number of Outstanding Allocations: 181 (max 203)
|
|
Number of Pcache Overflow Bytes: 25408 (max 25408) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4368 bytes
|
|
Lookaside Slots Used: 68 (max 103)
|
|
Successful lookaside attempts: 290
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 22864 bytes
|
|
Page cache hits: 1
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Temporary data spilled to disk: 0
|
|
Schema Heap Usage: 1176 bytes
|
|
Statement Heap/Lookaside Usage: 10752 bytes
|
|
Fullscan Steps: 0
|
|
Sort Operations: 0
|
|
Autoindex Inserts: 0
|
|
Virtual Machine Steps: 45
|
|
Reprepare operations: 0
|
|
Number of times run: 1
|
|
Memory used by prepared stmt: 10752
|
|
Bytes received by read(): 9640
|
|
Bytes sent to write(): 2666
|
|
Read() system calls: 18
|
|
Write() system calls: 2
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 97840 (max 103472) bytes
|
|
Number of Outstanding Allocations: 202 (max 217)
|
|
Number of Pcache Overflow Bytes: 29776 (max 29776) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4368 bytes
|
|
Lookaside Slots Used: 51 (max 103)
|
|
Successful lookaside attempts: 358
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 27216 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: 1440 bytes
|
|
Statement Heap/Lookaside Usage: 2352 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: 2352
|
|
Bytes received by read(): 9737
|
|
Bytes sent to write(): 4004
|
|
Read() system calls: 20
|
|
Write() system calls: 3
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 95496 (max 103472) bytes
|
|
Number of Outstanding Allocations: 191 (max 217)
|
|
Number of Pcache Overflow Bytes: 29776 (max 29776) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4368 bytes
|
|
Lookaside Slots Used: 60 (max 103)
|
|
Successful lookaside attempts: 380
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 27216 bytes
|
|
Page cache hits: 1
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Temporary data spilled to disk: 0
|
|
Schema Heap Usage: 1448 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(): 9834
|
|
Bytes sent to write(): 5341
|
|
Read() system calls: 22
|
|
Write() system calls: 4
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 95496 (max 103472) bytes
|
|
Number of Outstanding Allocations: 191 (max 217)
|
|
Number of Pcache Overflow Bytes: 29776 (max 29776) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4368 bytes
|
|
Lookaside Slots Used: 60 (max 103)
|
|
Successful lookaside attempts: 402
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 27216 bytes
|
|
Page cache hits: 1
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Temporary data spilled to disk: 0
|
|
Schema Heap Usage: 1448 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(): 9931
|
|
Bytes sent to write(): 6678
|
|
Read() system calls: 24
|
|
Write() system calls: 5
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 95496 (max 103472) bytes
|
|
Number of Outstanding Allocations: 191 (max 217)
|
|
Number of Pcache Overflow Bytes: 29776 (max 29776) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4368 bytes
|
|
Lookaside Slots Used: 60 (max 103)
|
|
Successful lookaside attempts: 424
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 27216 bytes
|
|
Page cache hits: 1
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Temporary data spilled to disk: 0
|
|
Schema Heap Usage: 1448 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(): 10028
|
|
Bytes sent to write(): 8015
|
|
Read() system calls: 26
|
|
Write() system calls: 6
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 102712 (max 112440) bytes
|
|
Number of Outstanding Allocations: 209 (max 221)
|
|
Number of Pcache Overflow Bytes: 34144 (max 34144) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4368 bytes
|
|
Lookaside Slots Used: 51 (max 104)
|
|
Successful lookaside attempts: 497
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 31568 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: 1656 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(): 10126
|
|
Bytes sent to write(): 9353
|
|
Read() system calls: 28
|
|
Write() system calls: 7
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
Memory Used: 100072 (max 112440) bytes
|
|
Number of Outstanding Allocations: 194 (max 221)
|
|
Number of Pcache Overflow Bytes: 34144 (max 34144) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4368 bytes
|
|
Lookaside Slots Used: 54 (max 104)
|
|
Successful lookaside attempts: 502
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 31568 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: 1656 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(): 10224
|
|
Bytes sent to write(): 10692
|
|
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: 100552 (max 112440) bytes
|
|
Number of Outstanding Allocations: 204 (max 221)
|
|
Number of Pcache Overflow Bytes: 34144 (max 34144) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4368 bytes
|
|
Lookaside Slots Used: 61 (max 104)
|
|
Successful lookaside attempts: 615
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 31568 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: 2136 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(): 10323
|
|
Bytes sent to write(): 12113
|
|
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: 100560 (max 112440) bytes
|
|
Number of Outstanding Allocations: 205 (max 221)
|
|
Number of Pcache Overflow Bytes: 34144 (max 34144) bytes
|
|
Largest Allocation: 48000 bytes
|
|
Largest Pcache Allocation: 4368 bytes
|
|
Lookaside Slots Used: 62 (max 104)
|
|
Successful lookaside attempts: 652
|
|
Lookaside failures due to size: 0
|
|
Lookaside failures due to OOM: 0
|
|
Pager Heap Usage: 31568 bytes
|
|
Page cache hits: 1
|
|
Page cache misses: 0
|
|
Page cache writes: 0
|
|
Page cache spills: 0
|
|
Temporary data spilled to disk: 0
|
|
Schema Heap Usage: 2144 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(): 10423
|
|
Bytes sent to write(): 13487
|
|
Read() system calls: 34
|
|
Write() system calls: 11
|
|
Bytes read from storage: 0
|
|
Bytes written to storage: 0
|
|
Cancelled write bytes: 0
|
|
```
|
|
|
|
## Flag
|
|
|
|
```
|
|
|
|
```
|
|
|