/** Disk-Space Utilization Report For folder.001c-haqoksnf.db Page size in bytes................................ 4096 Pages in the whole file (measured)................ 305663 Pages in the whole file (calculated).............. 305663 Pages that store data............................. 305289 99.88% Pages on the freelist (per header)................ 0 0.0% Pages on the freelist (calculated)................ 1 0.0% Pages of auto-vacuum overhead..................... 373 0.12% Number of tables in the database.................. 13 Number of indices................................. 6 Number of defined indices......................... 4 Number of implied indices......................... 2 Size of the file in bytes......................... 1251995648 Bytes of user payload stored...................... 666816158 53.3% *** Page counts for all tables with their indices ***************************** FILES............................................. 211451 69.2% FILEINFOS......................................... 87005 28.5% BLOCKS............................................ 3494 1.1% BLOCKLISTS........................................ 3326 1.1% SQLITE_SCHEMA..................................... 3 0.0% DEVICES........................................... 2 0.0% KV................................................ 2 0.0% COUNTS............................................ 1 0.0% INDEXIDS.......................................... 1 0.0% MTIMES............................................ 1 0.0% SCHEMAMIGRATIONS.................................. 1 0.0% SQLITE_SEQUENCE................................... 1 0.0% SQLITE_STAT1...................................... 1 0.0% *** Page counts for all tables and indices separately ************************* FILEINFOS......................................... 87005 28.5% FILES............................................. 81029 26.5% FILES_DEVICE_NAME................................. 65183 21.3% FILES_NAME_ONLY................................... 64812 21.2% BLOCKS............................................ 3494 1.1% BLOCKLISTS........................................ 3326 1.1% FILES_BLOCKLIST_HASH_ONLY......................... 426 0.14% SQLITE_SCHEMA..................................... 3 0.0% COUNTS............................................ 1 0.0% DEVICES........................................... 1 0.0% FILES_REMOTE_SEQUENCE............................. 1 0.0% INDEXIDS.......................................... 1 0.0% KV................................................ 1 0.0% MTIMES............................................ 1 0.0% SCHEMAMIGRATIONS.................................. 1 0.0% SQLITE_AUTOINDEX_DEVICES_1........................ 1 0.0% SQLITE_AUTOINDEX_KV_1............................. 1 0.0% SQLITE_SEQUENCE................................... 1 0.0% SQLITE_STAT1...................................... 1 0.0% *** All tables and indices **************************************************** Percentage of total database...................... 99.88% Number of entries................................. 5636953 Bytes of storage consumed......................... 1250463744 Bytes of payload.................................. 1175391992 94.0% Bytes of metadata................................. 35853162 2.9% Average payload per entry......................... 208.52 Average unused bytes per entry.................... 6.96 Average metadata per entry........................ 6.36 Average fanout.................................... 43.00 Maximum payload per entry......................... 84101 Entries that use overflow......................... 1538 0.027% Index pages used.................................. 7012 Primary pages used................................ 296168 Overflow pages used............................... 2109 Total pages used.................................. 305289 Unused bytes on index pages....................... 997229 3.5% Unused bytes on primary pages..................... 33801325 2.8% Unused bytes on overflow pages.................... 4422320 51.2% Unused bytes on all pages......................... 39220874 3.1% *** All tables **************************************************************** Percentage of total database...................... 57.2% Number of entries................................. 2902364 Bytes of storage consumed......................... 716247040 Bytes of payload.................................. 666821337 93.1% Bytes of metadata................................. 23549585 3.3% Average payload per entry......................... 229.75 Average unused bytes per entry.................... 8.92 Average metadata per entry........................ 8.11 Average fanout.................................... 278.00 Maximum payload per entry......................... 84101 Entries that use overflow......................... 1538 0.053% Index pages used.................................. 620 Primary pages used................................ 172136 Overflow pages used............................... 2109 Total pages used.................................. 174865 Unused bytes on index pages....................... 288883 11.4% Unused bytes on primary pages..................... 21167199 3.0% Unused bytes on overflow pages.................... 4422320 51.2% Unused bytes on all pages......................... 25878402 3.6% *** All indices *************************************************************** Percentage of total database...................... 42.7% Number of entries................................. 2734589 Bytes of storage consumed......................... 534216704 Bytes of payload.................................. 508570655 95.2% Bytes of metadata................................. 12303577 2.3% Average payload per entry......................... 185.98 Average unused bytes per entry.................... 4.88 Average metadata per entry........................ 4.50 Average fanout.................................... 20.00 Maximum payload per entry......................... 348 Entries that use overflow......................... 0 0.0% Index pages used.................................. 6392 Primary pages used................................ 124032 Overflow pages used............................... 0 Total pages used.................................. 130424 Unused bytes on index pages....................... 708346 2.7% Unused bytes on primary pages..................... 12634126 2.5% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 13342472 2.5% *** Table BLOCKLISTS ********************************************************** Percentage of total database...................... 1.1% Number of entries................................. 31121 Bytes of storage consumed......................... 13623296 Bytes of payload.................................. 8853055 65.0% Bytes of metadata................................. 131957 0.97% B-tree depth...................................... 5 Average payload per entry......................... 284.47 Average unused bytes per entry.................... 149.11 Average metadata per entry........................ 4.24 Average fanout.................................... 12.00 Non-sequential pages.............................. 0 0.0% Maximum payload per entry......................... 84101 Entries that use overflow......................... 1538 4.9% Index pages used.................................. 100 Primary pages used................................ 1117 Overflow pages used............................... 2109 Total pages used.................................. 3326 Unused bytes on index pages....................... 34405 8.4% Unused bytes on primary pages..................... 183843 4.0% Unused bytes on overflow pages.................... 4422320 51.2% Unused bytes on all pages......................... 4640568 34.1% *** Table BLOCKS ************************************************************** Percentage of total database...................... 1.1% Number of entries................................. 177512 Bytes of storage consumed......................... 14311424 Bytes of payload.................................. 13605391 95.1% Bytes of metadata................................. 574460 4.0% B-tree depth...................................... 4 Average payload per entry......................... 76.64 Average unused bytes per entry.................... 0.74 Average metadata per entry........................ 3.24 Average fanout.................................... 46.00 Non-sequential pages.............................. 7 0.20% Maximum payload per entry......................... 79 Entries that use overflow......................... 0 0.0% Index pages used.................................. 75 Primary pages used................................ 3419 Overflow pages used............................... 0 Total pages used.................................. 3494 Unused bytes on index pages....................... 20310 6.6% Unused bytes on primary pages..................... 111263 0.79% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 131573 0.92% *** Table COUNTS ************************************************************** Percentage of total database...................... 0.0% Number of entries................................. 12 Bytes of storage consumed......................... 4096 Bytes of payload.................................. 116 2.8% Bytes of metadata................................. 44 1.1% B-tree depth...................................... 1 Average payload per entry......................... 9.67 Average unused bytes per entry.................... 328.00 Average metadata per entry........................ 3.67 Maximum payload per entry......................... 17 Entries that use overflow......................... 0 0.0% Primary pages used................................ 1 Overflow pages used............................... 0 Total pages used.................................. 1 Unused bytes on primary pages..................... 3936 96.1% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 3936 96.1% *** Table DEVICES and all its indices ***************************************** Percentage of total database...................... 0.0% Number of entries................................. 2 Bytes of storage consumed......................... 8192 Bytes of payload.................................. 134 1.6% Bytes of metadata................................. 23 0.28% Average payload per entry......................... 67.00 Average unused bytes per entry.................... 4017.50 Average metadata per entry........................ 11.50 Maximum payload per entry......................... 67 Entries that use overflow......................... 0 0.0% Primary pages used................................ 2 Overflow pages used............................... 0 Total pages used.................................. 2 Unused bytes on primary pages..................... 8035 98.1% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 8035 98.1% *** Table DEVICES w/o any indices ********************************************* Percentage of total database...................... 0.0% Number of entries................................. 1 Bytes of storage consumed......................... 4096 Bytes of payload.................................. 67 1.6% Bytes of metadata................................. 12 0.29% B-tree depth...................................... 1 Average payload per entry......................... 67.00 Average unused bytes per entry.................... 4017.00 Average metadata per entry........................ 12.00 Maximum payload per entry......................... 67 Entries that use overflow......................... 0 0.0% Primary pages used................................ 1 Overflow pages used............................... 0 Total pages used.................................. 1 Unused bytes on primary pages..................... 4017 98.1% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 4017 98.1% *** Index SQLITE_AUTOINDEX_DEVICES_1 of table DEVICES ************************* Percentage of total database...................... 0.0% Number of entries................................. 1 Bytes of storage consumed......................... 4096 Bytes of payload.................................. 67 1.6% Bytes of metadata................................. 11 0.27% B-tree depth...................................... 1 Average payload per entry......................... 67.00 Average unused bytes per entry.................... 4018.00 Average metadata per entry........................ 11.00 Maximum payload per entry......................... 67 Entries that use overflow......................... 0 0.0% Primary pages used................................ 1 Overflow pages used............................... 0 Total pages used.................................. 1 Unused bytes on primary pages..................... 4018 98.1% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 4018 98.1% *** Table FILEINFOS *********************************************************** Percentage of total database...................... 28.5% Number of entries................................. 1346839 Bytes of storage consumed......................... 356372480 Bytes of payload.................................. 333265821 93.5% Bytes of metadata................................. 11474622 3.2% B-tree depth...................................... 3 Average payload per entry......................... 247.44 Average unused bytes per entry.................... 8.64 Average metadata per entry........................ 8.52 Average fanout.................................... 378.00 Non-sequential pages.............................. 108 0.12% Maximum payload per entry......................... 401 Entries that use overflow......................... 0 0.0% Index pages used.................................. 230 Primary pages used................................ 86775 Overflow pages used............................... 0 Total pages used.................................. 87005 Unused bytes on index pages....................... 119715 12.7% Unused bytes on primary pages..................... 11512322 3.2% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 11632037 3.3% *** Table FILES and all its indices ******************************************* Percentage of total database...................... 69.2% Number of entries................................. 4081426 Bytes of storage consumed......................... 866103296 Bytes of payload.................................. 819661504 94.6% Bytes of metadata................................. 23671686 2.7% Average payload per entry......................... 200.83 Average unused bytes per entry.................... 5.58 Average metadata per entry........................ 5.80 Average fanout.................................... 32.00 Maximum payload per entry......................... 389 Entries that use overflow......................... 0 0.0% Index pages used.................................. 6606 Primary pages used................................ 204845 Overflow pages used............................... 0 Total pages used.................................. 211451 Unused bytes on index pages....................... 818822 3.0% Unused bytes on primary pages..................... 21951284 2.6% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 22770106 2.6% *** Table FILES w/o any indices *********************************************** Percentage of total database...................... 26.5% Number of entries................................. 1346839 Bytes of storage consumed......................... 331894784 Bytes of payload.................................. 311090928 93.7% Bytes of metadata................................. 11368131 3.4% B-tree depth...................................... 3 Average payload per entry......................... 230.98 Average unused bytes per entry.................... 7.01 Average metadata per entry........................ 8.44 Average fanout.................................... 378.00 Non-sequential pages.............................. 99 0.12% Maximum payload per entry......................... 389 Entries that use overflow......................... 0 0.0% Index pages used.................................. 214 Primary pages used................................ 80815 Overflow pages used............................... 0 Total pages used.................................. 81029 Unused bytes on index pages....................... 110476 12.6% Unused bytes on primary pages..................... 9325249 2.8% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 9435725 2.8% *** Indices of table FILES **************************************************** Percentage of total database...................... 42.7% Number of entries................................. 2734587 Bytes of storage consumed......................... 534208512 Bytes of payload.................................. 508570576 95.2% Bytes of metadata................................. 12303555 2.3% Average payload per entry......................... 185.98 Average unused bytes per entry.................... 4.88 Average metadata per entry........................ 4.50 Average fanout.................................... 20.00 Maximum payload per entry......................... 348 Entries that use overflow......................... 0 0.0% Index pages used.................................. 6392 Primary pages used................................ 124030 Overflow pages used............................... 0 Total pages used.................................. 130422 Unused bytes on index pages....................... 708346 2.7% Unused bytes on primary pages..................... 12626035 2.5% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 13334381 2.5% *** Index FILES_BLOCKLIST_HASH_ONLY of table FILES **************************** Percentage of total database...................... 0.14% Number of entries................................. 40909 Bytes of storage consumed......................... 1744896 Bytes of payload.................................. 1595451 91.4% Bytes of metadata................................. 127835 7.3% B-tree depth...................................... 3 Average payload per entry......................... 39.00 Average unused bytes per entry.................... 0.53 Average metadata per entry........................ 3.12 Average fanout.................................... 71.00 Non-sequential pages.............................. 4 0.94% Maximum payload per entry......................... 39 Entries that use overflow......................... 0 0.0% Index pages used.................................. 6 Primary pages used................................ 420 Overflow pages used............................... 0 Total pages used.................................. 426 Unused bytes on index pages....................... 5230 21.3% Unused bytes on primary pages..................... 16380 0.95% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 21610 1.2% *** Index FILES_DEVICE_NAME of table FILES ************************************ Percentage of total database...................... 21.3% Number of entries................................. 1346839 Bytes of storage consumed......................... 266989568 Bytes of payload.................................. 254160982 95.2% Bytes of metadata................................. 6091639 2.3% B-tree depth...................................... 5 Average payload per entry......................... 188.71 Average unused bytes per entry.................... 5.00 Average metadata per entry........................ 4.52 Average fanout.................................... 20.00 Non-sequential pages.............................. 81 0.12% Maximum payload per entry......................... 348 Entries that use overflow......................... 0 0.0% Index pages used.................................. 3208 Primary pages used................................ 61975 Overflow pages used............................... 0 Total pages used.................................. 65183 Unused bytes on index pages....................... 350586 2.7% Unused bytes on primary pages..................... 6386361 2.5% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 6736947 2.5% *** Index FILES_NAME_ONLY of table FILES ************************************** Percentage of total database...................... 21.2% Number of entries................................. 1346839 Bytes of storage consumed......................... 265469952 Bytes of payload.................................. 252814143 95.2% Bytes of metadata................................. 6084073 2.3% B-tree depth...................................... 5 Average payload per entry......................... 187.71 Average unused bytes per entry.................... 4.88 Average metadata per entry........................ 4.52 Average fanout.................................... 20.00 Non-sequential pages.............................. 81 0.12% Maximum payload per entry......................... 347 Entries that use overflow......................... 0 0.0% Index pages used.................................. 3178 Primary pages used................................ 61634 Overflow pages used............................... 0 Total pages used.................................. 64812 Unused bytes on index pages....................... 352530 2.7% Unused bytes on primary pages..................... 6219206 2.5% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 6571736 2.5% *** Index FILES_REMOTE_SEQUENCE of table FILES ******************************** Percentage of total database...................... 0.0% Number of entries................................. 0 Bytes of storage consumed......................... 4096 Bytes of payload.................................. 0 0.0% Bytes of metadata................................. 8 0.20% B-tree depth...................................... 1 Average payload per entry......................... 0.0 Average unused bytes per entry.................... 0.0 Average metadata per entry........................ 0.0 Maximum payload per entry......................... 0 Entries that use overflow......................... 0 Primary pages used................................ 1 Overflow pages used............................... 0 Total pages used.................................. 1 Unused bytes on primary pages..................... 4088 99.80% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 4088 99.80% *** Table INDEXIDS ************************************************************ Percentage of total database...................... 0.0% Number of entries................................. 1 Bytes of storage consumed......................... 4096 Bytes of payload.................................. 7 0.17% Bytes of metadata................................. 11 0.27% B-tree depth...................................... 1 Average payload per entry......................... 7.00 Average unused bytes per entry.................... 4078.00 Average metadata per entry........................ 11.00 Maximum payload per entry......................... 7 Entries that use overflow......................... 0 0.0% Primary pages used................................ 1 Overflow pages used............................... 0 Total pages used.................................. 1 Unused bytes on primary pages..................... 4078 99.56% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 4078 99.56% *** Table KV and all its indices ********************************************** Percentage of total database...................... 0.0% Number of entries................................. 2 Bytes of storage consumed......................... 8192 Bytes of payload.................................. 34 0.42% Bytes of metadata................................. 23 0.28% Average payload per entry......................... 17.00 Average unused bytes per entry.................... 4067.50 Average metadata per entry........................ 11.50 Maximum payload per entry......................... 22 Entries that use overflow......................... 0 0.0% Primary pages used................................ 2 Overflow pages used............................... 0 Total pages used.................................. 2 Unused bytes on primary pages..................... 8135 99.30% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 8135 99.30% *** Table KV w/o any indices ************************************************** Percentage of total database...................... 0.0% Number of entries................................. 1 Bytes of storage consumed......................... 4096 Bytes of payload.................................. 22 0.54% Bytes of metadata................................. 12 0.29% B-tree depth...................................... 1 Average payload per entry......................... 22.00 Average unused bytes per entry.................... 4062.00 Average metadata per entry........................ 12.00 Maximum payload per entry......................... 22 Entries that use overflow......................... 0 0.0% Primary pages used................................ 1 Overflow pages used............................... 0 Total pages used.................................. 1 Unused bytes on primary pages..................... 4062 99.17% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 4062 99.17% *** Index SQLITE_AUTOINDEX_KV_1 of table KV *********************************** Percentage of total database...................... 0.0% Number of entries................................. 1 Bytes of storage consumed......................... 4096 Bytes of payload.................................. 12 0.29% Bytes of metadata................................. 11 0.27% B-tree depth...................................... 1 Average payload per entry......................... 12.00 Average unused bytes per entry.................... 4073.00 Average metadata per entry........................ 11.00 Maximum payload per entry......................... 12 Entries that use overflow......................... 0 0.0% Primary pages used................................ 1 Overflow pages used............................... 0 Total pages used.................................. 1 Unused bytes on primary pages..................... 4073 99.44% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 4073 99.44% *** Table MTIMES ************************************************************** Percentage of total database...................... 0.0% Number of entries................................. 0 Bytes of storage consumed......................... 4096 Bytes of payload.................................. 0 0.0% Bytes of metadata................................. 8 0.20% B-tree depth...................................... 1 Average payload per entry......................... 0.0 Average unused bytes per entry.................... 0.0 Average metadata per entry........................ 0.0 Maximum payload per entry......................... 0 Entries that use overflow......................... 0 Primary pages used................................ 1 Overflow pages used............................... 0 Total pages used.................................. 1 Unused bytes on primary pages..................... 4088 99.80% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 4088 99.80% *** Table SCHEMAMIGRATIONS **************************************************** Percentage of total database...................... 0.0% Number of entries................................. 2 Bytes of storage consumed......................... 4096 Bytes of payload.................................. 354 8.6% Bytes of metadata................................. 18 0.44% B-tree depth...................................... 1 Average payload per entry......................... 177.00 Average unused bytes per entry.................... 1862.00 Average metadata per entry........................ 9.00 Maximum payload per entry......................... 183 Entries that use overflow......................... 0 0.0% Primary pages used................................ 1 Overflow pages used............................... 0 Total pages used.................................. 1 Unused bytes on primary pages..................... 3724 90.9% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 3724 90.9% *** Table SQLITE_SCHEMA ******************************************************* Percentage of total database...................... 0.0% Number of entries................................. 22 Bytes of storage consumed......................... 12288 Bytes of payload.................................. 5179 42.1% Bytes of metadata................................. 238 1.9% B-tree depth...................................... 2 Average payload per entry......................... 235.41 Average unused bytes per entry.................... 312.32 Average metadata per entry........................ 10.82 Average fanout.................................... 2.00 Non-sequential pages.............................. 1 50.0% Maximum payload per entry......................... 759 Entries that use overflow......................... 0 0.0% Index pages used.................................. 1 Primary pages used................................ 2 Overflow pages used............................... 0 Total pages used.................................. 3 Unused bytes on index pages....................... 3977 97.1% Unused bytes on primary pages..................... 2894 35.3% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 6871 55.9% *** Table SQLITE_SEQUENCE ***************************************************** Percentage of total database...................... 0.0% Number of entries................................. 2 Bytes of storage consumed......................... 4096 Bytes of payload.................................. 23 0.56% Bytes of metadata................................. 16 0.39% B-tree depth...................................... 1 Average payload per entry......................... 11.50 Average unused bytes per entry.................... 2028.50 Average metadata per entry........................ 8.00 Maximum payload per entry......................... 12 Entries that use overflow......................... 0 0.0% Primary pages used................................ 1 Overflow pages used............................... 0 Total pages used.................................. 1 Unused bytes on primary pages..................... 4057 99.05% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 4057 99.05% *** Table SQLITE_STAT1 ******************************************************** Percentage of total database...................... 0.0% Number of entries................................. 12 Bytes of storage consumed......................... 4096 Bytes of payload.................................. 374 9.1% Bytes of metadata................................. 56 1.4% B-tree depth...................................... 1 Average payload per entry......................... 31.17 Average unused bytes per entry.................... 305.50 Average metadata per entry........................ 4.67 Maximum payload per entry......................... 43 Entries that use overflow......................... 0 0.0% Primary pages used................................ 1 Overflow pages used............................... 0 Total pages used.................................. 1 Unused bytes on primary pages..................... 3666 89.5% Unused bytes on overflow pages.................... 0 Unused bytes on all pages......................... 3666 89.5% *** Definitions *************************************************************** Page size in bytes The number of bytes in a single page of the database file. Usually 1024. Number of pages in the whole file The number of 4096-byte pages that go into forming the complete database Pages that store data The number of pages that store data, either as primary B*Tree pages or as overflow pages. The number at the right is the data pages divided by the total number of pages in the file. Pages on the freelist The number of pages that are not currently in use but are reserved for future use. The percentage at the right is the number of freelist pages divided by the total number of pages in the file. Pages of auto-vacuum overhead The number of pages that store data used by the database to facilitate auto-vacuum. This is zero for databases that do not support auto-vacuum. Number of tables in the database The number of tables in the database, including the SQLITE_SCHEMA table used to store schema information. Number of indices The total number of indices in the database. Number of defined indices The number of indices created using an explicit CREATE INDEX statement. Number of implied indices The number of indices used to implement PRIMARY KEY or UNIQUE constraints on tables. Size of the file in bytes The total amount of disk space used by the entire database files. Bytes of user payload stored The total number of bytes of user payload stored in the database. The schema information in the SQLITE_SCHEMA table is not counted when computing this number. The percentage at the right shows the payload divided by the total file size. Percentage of total database The amount of the complete database file that is devoted to storing information described by this category. Number of entries The total number of B-Tree key/value pairs stored under this category. Bytes of storage consumed The total amount of disk space required to store all B-Tree entries under this category. The is the total number of pages used times the pages size. Bytes of payload The amount of payload stored under this category. Payload is the data part of table entries and the key part of index entries. The percentage at the right is the bytes of payload divided by the bytes of storage consumed. Bytes of metadata The amount of formatting and structural information stored in the table or index. Metadata includes the btree page header, the cell pointer array, the size field for each cell, the left child pointer or non-leaf cells, the overflow pointers for overflow cells, and the rowid value for rowid table cells. In other words, metadata is everything that is neither unused space nor content. The record header in the payload is counted as content, not metadata. Average payload per entry The average amount of payload on each entry. This is just the bytes of payload divided by the number of entries. Average unused bytes per entry The average amount of free space remaining on all pages under this category on a per-entry basis. This is the number of unused bytes on all pages divided by the number of entries. Non-sequential pages The number of pages in the table or index that are out of sequence. Many filesystems are optimized for sequential file access so a small number of non-sequential pages might result in faster queries, especially for larger database files that do not fit in the disk cache. Note that after running VACUUM, the root page of each table or index is at the beginning of the database file and all other pages are in a separate part of the database file, resulting in a single non- sequential page. Maximum payload per entry The largest payload size of any entry. Entries that use overflow The number of entries that user one or more overflow pages. Total pages used This is the number of pages used to hold all information in the current category. This is the sum of index, primary, and overflow pages. Index pages used This is the number of pages in a table B-tree that hold only key (rowid) information and no data. Primary pages used This is the number of B-tree pages that hold both key and data. Overflow pages used The total number of overflow pages used for this category. Unused bytes on index pages The total number of bytes of unused space on all index pages. The percentage at the right is the number of unused bytes divided by the total number of bytes on index pages. Unused bytes on primary pages The total number of bytes of unused space on all primary pages. The percentage at the right is the number of unused bytes divided by the total number of bytes on primary pages. Unused bytes on overflow pages The total number of bytes of unused space on all overflow pages. The percentage at the right is the number of unused bytes divided by the total number of bytes on overflow pages. Unused bytes on all pages The total number of bytes of unused space on all primary and overflow pages. The percentage at the right is the number of unused bytes divided by the total number of bytes. ******************************************************************************* The entire text of this report can be sourced into any SQL database engine for further analysis. All of the text above is an SQL comment. The data used to generate this report follows: */ BEGIN; CREATE TABLE space_used( name clob, -- Name of a table or index in the database file tblname clob, -- Name of associated table is_index boolean, -- TRUE if it is an index, false for a table is_without_rowid boolean, -- TRUE if WITHOUT ROWID table nentry int, -- Number of entries in the BTree leaf_entries int, -- Number of leaf entries depth int, -- Depth of the b-tree payload int, -- Total amount of data stored in this table or index ovfl_payload int, -- Total amount of data stored on overflow pages ovfl_cnt int, -- Number of entries that use overflow mx_payload int, -- Maximum payload size int_pages int, -- Number of interior pages used leaf_pages int, -- Number of leaf pages used ovfl_pages int, -- Number of overflow pages used int_unused int, -- Number of unused bytes on interior pages leaf_unused int, -- Number of unused bytes on primary pages ovfl_unused int, -- Number of unused bytes on overflow pages gap_cnt int, -- Number of gaps in the page layout compressed_size int -- Total bytes stored on disk ); INSERT INTO space_used VALUES('sqlite_schema','sqlite_schema',0,0,23,22,2,5179,0,0,759,1,2,0,3977,2894,0,1,12288); INSERT INTO space_used VALUES('schemamigrations','schemamigrations',0,0,2,2,1,354,0,0,183,0,1,0,0,3724,0,0,4096); INSERT INTO space_used VALUES('kv','kv',0,0,1,1,1,22,0,0,22,0,1,0,0,4062,0,0,4096); INSERT INTO space_used VALUES('sqlite_autoindex_kv_1','kv',1,0,1,1,1,12,0,0,12,0,1,0,0,4073,0,0,4096); INSERT INTO space_used VALUES('devices','devices',0,0,1,1,1,67,0,0,67,0,1,0,0,4017,0,0,4096); INSERT INTO space_used VALUES('sqlite_autoindex_devices_1','devices',1,0,1,1,1,67,0,0,67,0,1,0,0,4018,0,0,4096); INSERT INTO space_used VALUES('sqlite_sequence','sqlite_sequence',0,0,2,2,1,23,0,0,12,0,1,0,0,4057,0,0,4096); INSERT INTO space_used VALUES('files','files',0,0,1427653,1346839,3,311090928,0,0,389,214,80815,0,110476,9325249,0,99,331894784); INSERT INTO space_used VALUES('fileinfos','fileinfos',0,0,1433613,1346839,3,333265821,0,0,401,230,86775,0,119715,11512322,0,108,356372480); INSERT INTO space_used VALUES('indexids','indexids',0,1,1,1,1,7,0,0,7,0,1,0,0,4078,0,0,4096); INSERT INTO space_used VALUES('counts','counts',0,1,12,12,1,116,0,0,17,0,1,0,0,3936,0,0,4096); INSERT INTO space_used VALUES('mtimes','mtimes',0,1,0,0,1,0,0,0,0,0,1,0,0,4088,0,0,4096); INSERT INTO space_used VALUES('sqlite_stat1','sqlite_stat1',0,0,12,12,1,374,0,0,43,0,1,0,0,3666,0,0,4096); INSERT INTO space_used VALUES('blocks','blocks',0,1,177512,174094,4,13605391,0,0,79,75,3419,0,20310,111263,0,7,14311424); INSERT INTO space_used VALUES('blocklists','blocklists',0,1,31121,30005,5,8853055,4207708,1538,84101,100,1117,2109,34405,183843,4422320,0,13623296); INSERT INTO space_used VALUES('files_remote_sequence','files',1,0,0,0,1,0,0,0,0,0,1,0,0,4088,0,0,4096); INSERT INTO space_used VALUES('files_device_name','files',1,0,1346839,1284865,5,254160982,0,0,348,3208,61975,0,350586,6386361,0,81,266989568); INSERT INTO space_used VALUES('files_name_only','files',1,0,1346839,1285206,5,252814143,0,0,347,3178,61634,0,352530,6219206,0,81,265469952); INSERT INTO space_used VALUES('files_blocklist_hash_only','files',1,0,40909,40490,3,1595451,0,0,39,6,420,0,5230,16380,0,4,1744896); COMMIT;