## Summary **No review yet** ## Minimized query ```sql .schema !@#$%^&*()qwertyuiop[]\{}|asdfghjkl;':"zxcvbnm,./<>? CREATE TABLE T ( a TEXT, b REAL ); INSERT INTO T VALUES ('a',jsonb_array()), ('b',-nullif(NULL, NULL)), ('c',9e999); SELECT a,b, LEAD(b,1) OVER (ORDER BY b DESC) AS c, NTILE(2) OVER (ORDER BY b DESC) AS d FROM T; INSERT OR ROLLBACK INTO T VALUES (NULL, ''); SELECT AVG(a) FROM T; CREATE UNIQUE INDEX IF NOT EXISTS idx_T_1267 ON T(b) WHERE /* ifnull({v}, 'fallback') */ b > (0 + 0.0); CREATE INDEX IF NOT EXISTS idx_T_1060 ON T(a) WHERE a IS NOT NULL; ``` ## Actual output ```sql Memory Used: 85904 (max 95440) bytes Number of Outstanding Allocations: 338 (max 399) Number of Pcache Overflow Bytes: 16928 (max 16928) bytes Largest Allocation: 48000 bytes Largest Pcache Allocation: 4360 bytes Lookaside Slots Used: 76 (max 123) Successful lookaside attempts: 591 Lookaside failures due to size: 10 Lookaside failures due to OOM: 367 Pager Heap Usage: 13592 bytes Page cache hits: 6 Page cache misses: 0 Page cache writes: 0 Page cache spills: 0 Schema Heap Usage: 1024 bytes Statement Heap/Lookaside Usage: 2400 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: 2400 Bytes received by read(): 7086 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: 92280 (max 294688) bytes Number of Outstanding Allocations: 351 (max 399) Number of Pcache Overflow Bytes: 16928 (max 33344) bytes Largest Allocation: 87200 bytes Largest Pcache Allocation: 4360 bytes Lookaside Slots Used: 87 (max 123) Successful lookaside attempts: 686 Lookaside failures due to size: 12 Lookaside failures due to OOM: 432 Pager Heap Usage: 13592 bytes Page cache hits: 2 Page cache misses: 0 Page cache writes: 0 Page cache spills: 0 Schema Heap Usage: 1024 bytes Statement Heap/Lookaside Usage: 13312 bytes Fullscan Steps: 0 Sort Operations: 1 Autoindex Inserts: 0 Virtual Machine Steps: 36 Reprepare operations: 0 Number of times run: 1 Memory used by prepared stmt: 13312 Bytes received by read(): 7180 Bytes sent to write(): 1463 Read() system calls: 16 Write() system calls: 3 Bytes read from storage: 0 Bytes written to storage: 0 Cancelled write bytes: 0 Memory Used: 83528 (max 294688) bytes Number of Outstanding Allocations: 327 (max 399) Number of Pcache Overflow Bytes: 16928 (max 33344) bytes Largest Allocation: 87200 bytes Largest Pcache Allocation: 4360 bytes Lookaside Slots Used: 83 (max 123) Successful lookaside attempts: 704 Lookaside failures due to size: 12 Lookaside failures due to OOM: 432 Pager Heap Usage: 13592 bytes Page cache hits: 2 Page cache misses: 0 Page cache writes: 0 Page cache spills: 0 Schema Heap Usage: 1048 bytes Statement Heap/Lookaside Usage: 3040 bytes Fullscan Steps: 0 Sort Operations: 0 Autoindex Inserts: 0 Virtual Machine Steps: 10 Reprepare operations: 0 Number of times run: 1 Memory used by prepared stmt: 3040 Bytes received by read(): 7277 Bytes sent to write(): 2766 Read() system calls: 18 Write() system calls: 4 Bytes read from storage: 0 Bytes written to storage: 0 Cancelled write bytes: 0 Memory Used: 83528 (max 294688) bytes Number of Outstanding Allocations: 327 (max 399) Number of Pcache Overflow Bytes: 16928 (max 33344) bytes Largest Allocation: 87200 bytes Largest Pcache Allocation: 4360 bytes Lookaside Slots Used: 85 (max 123) Successful lookaside attempts: 731 Lookaside failures due to size: 12 Lookaside failures due to OOM: 432 Pager Heap Usage: 13592 bytes Page cache hits: 2 Page cache misses: 0 Page cache writes: 0 Page cache spills: 0 Schema Heap Usage: 1048 bytes Statement Heap/Lookaside Usage: 3296 bytes Fullscan Steps: 0 Sort Operations: 0 Autoindex Inserts: 0 Virtual Machine Steps: 13 Reprepare operations: 0 Number of times run: 1 Memory used by prepared stmt: 3296 Bytes received by read(): 7374 Bytes sent to write(): 4067 Read() system calls: 20 Write() system calls: 5 Bytes read from storage: 0 Bytes written to storage: 0 Cancelled write bytes: 0 Memory Used: 92416 (max 294688) bytes Number of Outstanding Allocations: 354 (max 399) Number of Pcache Overflow Bytes: 21288 (max 33344) bytes Largest Allocation: 87200 bytes Largest Pcache Allocation: 4360 bytes Lookaside Slots Used: 76 (max 123) Successful lookaside attempts: 796 Lookaside failures due to size: 12 Lookaside failures due to OOM: 448 Pager Heap Usage: 17936 bytes Page cache hits: 5 Page cache misses: 0 Page cache writes: 0 Page cache spills: 0 Schema Heap Usage: 1640 bytes Statement Heap/Lookaside Usage: 3872 bytes Fullscan Steps: 0 Sort Operations: 1 Autoindex Inserts: 0 Virtual Machine Steps: 43 Reprepare operations: 0 Number of times run: 1 Memory used by prepared stmt: 3872 Bytes received by read(): 7471 Bytes sent to write(): 5369 Read() system calls: 22 Write() system calls: 6 Bytes read from storage: 0 Bytes written to storage: 0 Cancelled write bytes: 0 Memory Used: 96952 (max 294688) bytes Number of Outstanding Allocations: 357 (max 399) Number of Pcache Overflow Bytes: 25648 (max 33344) bytes Largest Allocation: 87200 bytes Largest Pcache Allocation: 4360 bytes Lookaside Slots Used: 76 (max 123) Successful lookaside attempts: 861 Lookaside failures due to size: 12 Lookaside failures due to OOM: 461 Pager Heap Usage: 22280 bytes Page cache hits: 4 Page cache misses: 0 Page cache writes: 0 Page cache spills: 0 Schema Heap Usage: 2000 bytes Statement Heap/Lookaside Usage: 3680 bytes Fullscan Steps: 0 Sort Operations: 1 Autoindex Inserts: 0 Virtual Machine Steps: 29 Reprepare operations: 0 Number of times run: 1 Memory used by prepared stmt: 3680 Bytes received by read(): 7568 Bytes sent to write(): 6670 Read() system calls: 25 Write() system calls: 7 Bytes read from storage: 0 Bytes written to storage: 0 Cancelled write bytes: 0 ``` ## Expectation ```sql ``` ## Flag ``` -stats ```