Debian Codegraph @

www/sqlanalyze.html

raw
1 <!DOCTYPE html>
2 <html><head>
3 <meta name="viewport" content="width=device-width, initial-scale=1.0">
4 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
5 <link href="sqlite.css" rel="stylesheet">
6 <title>The sqlite3_analyzer.exe Utility Program</title>
7 <!-- path= -->
8 </head>
9 <body>
10 <div class=nosearch>
11 <a href="index.html">
12 <img class="logo" src="images/sqlite370_banner.gif" alt="SQLite" border="0">
13 </a>
14 <div><!-- IE hack to prevent disappearing logo --></div>
15 <div class="tagline desktoponly">
16 Small. Fast. Reliable.<br>Choose any three.
17 </div>
18 <div class="menu mainmenu">
19 <ul>
20 <li><a href="index.html">Home</a>
21 <li class='mobileonly'><a href="javascript:void(0)" onclick='toggle_div("submenu")'>Menu</a>
22 <li class='wideonly'><a href='about.html'>About</a>
23 <li class='desktoponly'><a href="docs.html">Documentation</a>
24 <li class='desktoponly'><a href="download.html">Download</a>
25 <li class='wideonly'><a href='copyright.html'>License</a>
26 <li class='desktoponly'><a href="support.html">Support</a>
27 <li class='desktoponly'><a href="prosupport.html">Purchase</a>
28 <li class='search' id='search_menubutton'>
29 <a href="javascript:void(0)" onclick='toggle_search()'>Search</a>
30 </ul>
31 </div>
32 <div class="menu submenu" id="submenu">
33 <ul>
34 <li><a href='about.html'>About</a>
35 <li><a href='docs.html'>Documentation</a>
36 <li><a href='download.html'>Download</a>
37 <li><a href='support.html'>Support</a>
38 <li><a href='prosupport.html'>Purchase</a>
39 </ul>
40 </div>
41 <div class="searchmenu" id="searchmenu">
42 <form method="GET" action="search">
43 <select name="s" id="searchtype">
44 <option value="d">Search Documentation</option>
45 <option value="c">Search Changelog</option>
46 </select>
47 <input type="text" name="q" id="searchbox" value="">
48 <input type="submit" value="Go">
49 </form>
50 </div>
51 </div>
52 <script>
53 function toggle_div(nm) {
54 var w = document.getElementById(nm);
55 if( w.style.display=="block" ){
56 w.style.display = "none";
57 }else{
58 w.style.display = "block";
59 }
60 }
61 function toggle_search() {
62 var w = document.getElementById("searchmenu");
63 if( w.style.display=="block" ){
64 w.style.display = "none";
65 } else {
66 w.style.display = "block";
67 setTimeout(function(){
68 document.getElementById("searchbox").focus()
69 }, 30);
70 }
71 }
72 function div_off(nm){document.getElementById(nm).style.display="none";}
73 window.onbeforeunload = function(e){div_off("submenu");}
74 /* Disable the Search feature if we are not operating from CGI, since */
75 /* Search is accomplished using CGI and will not work without it. */
76 if( !location.origin || !location.origin.match || !location.origin.match(/http/) ){
77 document.getElementById("search_menubutton").style.display = "none";
78 }
79 /* Used by the Hide/Show button beside syntax diagrams, to toggle the */
80 function hideorshow(btn,obj){
81 var x = document.getElementById(obj);
82 var b = document.getElementById(btn);
83 if( x.style.display!='none' ){
84 x.style.display = 'none';
85 b.innerHTML='show';
86 }else{
87 x.style.display = '';
88 b.innerHTML='hide';
89 }
90 return false;
91 }
92 var antiRobot = 0;
93 function antiRobotGo(){
94 if( antiRobot!=3 ) return;
95 antiRobot = 7;
96 var j = document.getElementById("mtimelink");
97 if(j && j.hasAttribute("data-href")) j.href=j.getAttribute("data-href");
98 }
99 function antiRobotDefense(){
100 document.body.onmousedown=function(){
101 antiRobot |= 2;
102 antiRobotGo();
103 document.body.onmousedown=null;
104 }
105 document.body.onmousemove=function(){
106 antiRobot |= 2;
107 antiRobotGo();
108 document.body.onmousemove=null;
109 }
110 setTimeout(function(){
111 antiRobot |= 1;
112 antiRobotGo();
113 }, 100)
114 antiRobotGo();
115 }
116 antiRobotDefense();
117 </script>
118 <div class=fancy>
119 <div class=nosearch>
120 <div class="fancy_title">
121 The sqlite3_analyzer.exe Utility Program
122 </div>
123 <div class="fancy_toc">
124 <a onclick="toggle_toc()">
125 <span class="fancy_toc_mark" id="toc_mk">&#x25ba;</span>
126 Table Of Contents
127 </a>
128 <div id="toc_sub"><div class="fancy-toc1"><a href="#the_sqlite3_analyzer_exe_utility_program">1. The sqlite3_analyzer.exe Utility Program</a></div>
129 <div class="fancy-toc2"><a href="#implementation">1.1. Implementation</a></div>
130 <div class="fancy-toc2"><a href="#example_output">1.2. Example Output</a></div>
131 </div>
132 </div>
133 <script>
134 function toggle_toc(){
135 var sub = document.getElementById("toc_sub")
136 var mk = document.getElementById("toc_mk")
137 if( sub.style.display!="block" ){
138 sub.style.display = "block";
139 mk.innerHTML = "&#x25bc;";
140 } else {
141 sub.style.display = "none";
142 mk.innerHTML = "&#x25ba;";
143 }
144 }
145 </script>
146 </div>
147
148
149
150 <h1 id="the_sqlite3_analyzer_exe_utility_program"><span>1. </span>The sqlite3_analyzer.exe Utility Program</h1>
151
152 <p>
153 The <tt>sqlite3_analyzer.exe</tt> binary is a command-line utility program
154 that measures and displays how much and how efficiently space is used by
155 individual tables and indexes with an SQLite database file.
156 Example usage:
157
158 </p><blockquote><pre>
159 sqlite3_analyzer database.sqlite
160 </pre></blockquote>
161
162 <p>
163 The output is a human-readable ASCII text report that provides information
164 on the space utilization of the database file. The report is intended to
165 be self-explanatory, though there is some
166 <a href="sqlanalyze.html#defs">additional explanation</a> of the
167 various parameters reported toward the end of the report.
168
169 </p><p>
170 The output is also valid SQL. Most of the report text is contained within
171 a header comment, with various SQL statements that create and initialize
172 a database at the
173 <a href="sqlanalyze.html#sqlx">end of the report</a>. The constructed database contains
174 the raw data from which the report was extracted. Hence the original
175 report can be read into an instance of the <a href="cli.html">command-line shell</a> and then
176 the raw data can be queried to dig deeper into the space utilization of
177 a particular database file.
178
179 </p><h2 id="implementation"><span>1.1. </span>Implementation</h2>
180
181 <p>
182 The <tt>sqlite3_analyzer.exe</tt> program is a
183 <a href="http://www.tcl.tk/">TCL</a> program that uses the <a href="dbstat.html">dbstat virtual table</a>
184 to gather information about the database file and then format that
185 information neatly.
186 </p>
187
188
189 <h2 id="example_output"><span>1.2. </span>Example Output</h2>
190
191 <p>The following is sqlite3_analyzer output for an example
192 places.sqlite database used by Firefox.
193
194 </p><blockquote><pre>
195 /** Disk-Space Utilization Report For &#9608;&#9608;&#9608;&#9608;&#9608;&#9608;&#9608;&#9608;&#9608;&#9608;&#9608;&#9608;&#9608;&#9608;&#9608;&#9608;&#9608;&#9608;/places.sqlite
196
197 Page size in bytes................................ 32768
198 Pages in the whole file (measured)................ 221
199 Pages in the whole file (calculated).............. 221
200 Pages that store data............................. 221 100.0%
201 Pages on the freelist (per header)................ 0 0.0%
202 Pages on the freelist (calculated)................ 0 0.0%
203 Pages of auto-vacuum overhead..................... 0 0.0%
204 Number of tables in the database.................. 14
205 Number of indices................................. 23
206 Number of defined indices......................... 17
207 Number of implied indices......................... 6
208 Size of the file in bytes......................... 7241728
209 Bytes of user payload stored...................... 2503069 34.6%
210
211 *** Page counts for all tables with their indices *****************************
212
213 MOZ_PLACES........................................ 142 64.3%
214 MOZ_HISTORYVISITS................................. 41 18.6%
215 MOZ_FAVICONS...................................... 15 6.8%
216 MOZ_BOOKMARKS..................................... 5 2.3%
217 MOZ_KEYWORDS...................................... 3 1.4%
218 MOZ_ANNO_ATTRIBUTES............................... 2 0.90%
219 MOZ_ANNOS......................................... 2 0.90%
220 MOZ_BOOKMARKS_ROOTS............................... 2 0.90%
221 MOZ_HOSTS......................................... 2 0.90%
222 MOZ_INPUTHISTORY.................................. 2 0.90%
223 MOZ_ITEMS_ANNOS................................... 2 0.90%
224 SQLITE_SCHEMA..................................... 1 0.45%
225 SQLITE_SEQUENCE................................... 1 0.45%
226 SQLITE_STAT1...................................... 1 0.45%
227
228 *** Page counts for all tables and indices separately *************************
229
230 MOZ_PLACES........................................ 63 28.5%
231 MOZ_PLACES_URL_UNIQUEINDEX........................ 37 16.7%
232 MOZ_HISTORYVISITS................................. 13 5.9%
233 MOZ_FAVICONS...................................... 12 5.4%
234 MOZ_HISTORYVISITS_PLACEDATEINDEX.................. 12 5.4%
235 MOZ_PLACES_HOSTINDEX.............................. 11 5.0%
236 MOZ_HISTORYVISITS_DATEINDEX....................... 10 4.5%
237 MOZ_PLACES_GUID_UNIQUEINDEX....................... 9 4.1%
238 MOZ_PLACES_LASTVISITDATEINDEX..................... 7 3.2%
239 MOZ_HISTORYVISITS_FROMINDEX....................... 6 2.7%
240 MOZ_PLACES_FAVICONINDEX........................... 5 2.3%
241 MOZ_PLACES_FRECENCYINDEX.......................... 5 2.3%
242 MOZ_PLACES_VISITCOUNT............................. 5 2.3%
243 SQLITE_AUTOINDEX_MOZ_FAVICONS_1................... 3 1.4%
244 MOZ_ANNO_ATTRIBUTES............................... 1 0.45%
245 MOZ_ANNOS......................................... 1 0.45%
246 MOZ_ANNOS_PLACEATTRIBUTEINDEX..................... 1 0.45%
247 MOZ_BOOKMARKS..................................... 1 0.45%
248 MOZ_BOOKMARKS_GUID_UNIQUEINDEX.................... 1 0.45%
249 MOZ_BOOKMARKS_ITEMINDEX........................... 1 0.45%
250 MOZ_BOOKMARKS_ITEMLASTMODIFIEDINDEX............... 1 0.45%
251 MOZ_BOOKMARKS_PARENTINDEX......................... 1 0.45%
252 MOZ_BOOKMARKS_ROOTS............................... 1 0.45%
253 MOZ_HOSTS......................................... 1 0.45%
254 MOZ_INPUTHISTORY.................................. 1 0.45%
255 MOZ_ITEMS_ANNOS................................... 1 0.45%
256 MOZ_ITEMS_ANNOS_ITEMATTRIBUTEINDEX................ 1 0.45%
257 MOZ_KEYWORDS...................................... 1 0.45%
258 MOZ_KEYWORDS_PLACEPOSTDATA_UNIQUEINDEX............ 1 0.45%
259 SQLITE_AUTOINDEX_MOZ_ANNO_ATTRIBUTES_1............ 1 0.45%
260 SQLITE_AUTOINDEX_MOZ_BOOKMARKS_ROOTS_1............ 1 0.45%
261 SQLITE_AUTOINDEX_MOZ_HOSTS_1...................... 1 0.45%
262 SQLITE_AUTOINDEX_MOZ_INPUTHISTORY_1............... 1 0.45%
263 SQLITE_AUTOINDEX_MOZ_KEYWORDS_1................... 1 0.45%
264 SQLITE_SCHEMA..................................... 1 0.45%
265 SQLITE_SEQUENCE................................... 1 0.45%
266 SQLITE_STAT1...................................... 1 0.45%
267
268 *** All tables and indices ****************************************************
269
270 Percentage of total database...................... 100.0%
271 Number of entries................................. 154969
272 Bytes of storage consumed......................... 7241728
273 Bytes of payload.................................. 4969404 68.6%
274 Average payload per entry......................... 32.07
275 Average unused bytes per entry.................... 11.15
276 Average fanout.................................... 14.00
277 Maximum payload per entry......................... 7640
278 Entries that use overflow......................... 0 0.0%
279 Index pages used.................................. 14
280 Primary pages used................................ 207
281 Overflow pages used............................... 0
282 Total pages used.................................. 221
283 Unused bytes on index pages....................... 448010 97.7%
284 Unused bytes on primary pages..................... 1280642 18.9%
285 Unused bytes on overflow pages.................... 0
286 Unused bytes on all pages......................... 1728652 23.9%
287
288 *** All tables ****************************************************************
289
290 Percentage of total database...................... 44.8%
291 Number of entries................................. 28530
292 Bytes of storage consumed......................... 3244032
293 Bytes of payload.................................. 2508257 77.3%
294 Average payload per entry......................... 87.92
295 Average unused bytes per entry.................... 20.13
296 Average fanout.................................... 28.00
297 Maximum payload per entry......................... 7640
298 Entries that use overflow......................... 0 0.0%
299 Index pages used.................................. 3
300 Primary pages used................................ 96
301 Overflow pages used............................... 0
302 Total pages used.................................. 99
303 Unused bytes on index pages....................... 97551 99.23%
304 Unused bytes on primary pages..................... 476741 15.2%
305 Unused bytes on overflow pages.................... 0
306 Unused bytes on all pages......................... 574292 17.7%
307
308 *** All indices ***************************************************************
309
310 Percentage of total database...................... 55.2%
311 Number of entries................................. 126439
312 Bytes of storage consumed......................... 3997696
313 Bytes of payload.................................. 2461147 61.6%
314 Average payload per entry......................... 19.47
315 Average unused bytes per entry.................... 9.13
316 Average fanout.................................... 11.00
317 Maximum payload per entry......................... 7259
318 Entries that use overflow......................... 0 0.0%
319 Index pages used.................................. 11
320 Primary pages used................................ 111
321 Overflow pages used............................... 0
322 Total pages used.................................. 122
323 Unused bytes on index pages....................... 350459 97.2%
324 Unused bytes on primary pages..................... 803901 22.1%
325 Unused bytes on overflow pages.................... 0
326 Unused bytes on all pages......................... 1154360 28.9%
327
328 *** Table MOZ_ANNO_ATTRIBUTES and all its indices *****************************
329
330 Percentage of total database...................... 0.90%
331 Number of entries................................. 24
332 Bytes of storage consumed......................... 65536
333 Bytes of payload.................................. 721 1.1%
334 Average payload per entry......................... 30.04
335 Average unused bytes per entry.................... 2696.46
336 Maximum payload per entry......................... 43
337 Entries that use overflow......................... 0 0.0%
338 Primary pages used................................ 2
339 Overflow pages used............................... 0
340 Total pages used.................................. 2
341 Unused bytes on primary pages..................... 64715 98.7%
342 Unused bytes on overflow pages.................... 0
343 Unused bytes on all pages......................... 64715 98.7%
344
345 *** Table MOZ_ANNO_ATTRIBUTES w/o any indices *********************************
346
347 Percentage of total database...................... 0.45%
348 Number of entries................................. 12
349 Bytes of storage consumed......................... 32768
350 Bytes of payload.................................. 355 1.1%
351 B-tree depth...................................... 1
352 Average payload per entry......................... 29.58
353 Average unused bytes per entry.................... 2696.42
354 Maximum payload per entry......................... 42
355 Entries that use overflow......................... 0 0.0%
356 Primary pages used................................ 1
357 Overflow pages used............................... 0
358 Total pages used.................................. 1
359 Unused bytes on primary pages..................... 32357 98.7%
360 Unused bytes on overflow pages.................... 0
361 Unused bytes on all pages......................... 32357 98.7%
362
363 *** Index SQLITE_AUTOINDEX_MOZ_ANNO_ATTRIBUTES_1 of table MOZ_ANNO_ATTRIBUTES *
364
365 Percentage of total database...................... 0.45%
366 Number of entries................................. 12
367 Bytes of storage consumed......................... 32768
368 Bytes of payload.................................. 366 1.1%
369 B-tree depth...................................... 1
370 Average payload per entry......................... 30.50
371 Average unused bytes per entry.................... 2696.50
372 Maximum payload per entry......................... 43
373 Entries that use overflow......................... 0 0.0%
374 Primary pages used................................ 1
375 Overflow pages used............................... 0
376 Total pages used.................................. 1
377 Unused bytes on primary pages..................... 32358 98.7%
378 Unused bytes on overflow pages.................... 0
379 Unused bytes on all pages......................... 32358 98.7%
380
381 *** Table MOZ_ANNOS and all its indices ***************************************
382
383 Percentage of total database...................... 0.90%
384 Number of entries................................. 390
385 Bytes of storage consumed......................... 65536
386 Bytes of payload.................................. 13986 21.3%
387 Average payload per entry......................... 35.86
388 Average unused bytes per entry.................... 128.22
389 Maximum payload per entry......................... 127
390 Entries that use overflow......................... 0 0.0%
391 Primary pages used................................ 2
392 Overflow pages used............................... 0
393 Total pages used.................................. 2
394 Unused bytes on primary pages..................... 50006 76.3%
395 Unused bytes on overflow pages.................... 0
396 Unused bytes on all pages......................... 50006 76.3%
397
398 *** Table MOZ_ANNOS w/o any indices *******************************************
399
400 Percentage of total database...................... 0.45%
401 Number of entries................................. 195
402 Bytes of storage consumed......................... 32768
403 Bytes of payload.................................. 12115 37.0%
404 B-tree depth...................................... 1
405 Average payload per entry......................... 62.13
406 Average unused bytes per entry.................... 101.04
407 Maximum payload per entry......................... 127
408 Entries that use overflow......................... 0 0.0%
409 Primary pages used................................ 1
410 Overflow pages used............................... 0
411 Total pages used.................................. 1
412 Unused bytes on primary pages..................... 19702 60.1%
413 Unused bytes on overflow pages.................... 0
414 Unused bytes on all pages......................... 19702 60.1%
415
416 *** Index MOZ_ANNOS_PLACEATTRIBUTEINDEX of table MOZ_ANNOS ********************
417
418 Percentage of total database...................... 0.45%
419 Number of entries................................. 195
420 Bytes of storage consumed......................... 32768
421 Bytes of payload.................................. 1871 5.7%
422 B-tree depth...................................... 1
423 Average payload per entry......................... 9.59
424 Average unused bytes per entry.................... 155.41
425 Maximum payload per entry......................... 10
426 Entries that use overflow......................... 0 0.0%
427 Primary pages used................................ 1
428 Overflow pages used............................... 0
429 Total pages used.................................. 1
430 Unused bytes on primary pages..................... 30304 92.5%
431 Unused bytes on overflow pages.................... 0
432 Unused bytes on all pages......................... 30304 92.5%
433
434 *** Table MOZ_BOOKMARKS and all its indices ***********************************
435
436 Percentage of total database...................... 2.3%
437 Number of entries................................. 1565
438 Bytes of storage consumed......................... 163840
439 Bytes of payload.................................. 37104 22.6%
440 Average payload per entry......................... 23.71
441 Average unused bytes per entry.................... 77.62
442 Maximum payload per entry......................... 518
443 Entries that use overflow......................... 0 0.0%
444 Primary pages used................................ 5
445 Overflow pages used............................... 0
446 Total pages used.................................. 5
447 Unused bytes on primary pages..................... 121475 74.1%
448 Unused bytes on overflow pages.................... 0
449 Unused bytes on all pages......................... 121475 74.1%
450
451 *** Table MOZ_BOOKMARKS w/o any indices ***************************************
452
453 Percentage of total database...................... 0.45%
454 Number of entries................................. 313
455 Bytes of storage consumed......................... 32768
456 Bytes of payload.................................. 21937 66.9%
457 B-tree depth...................................... 1
458 Average payload per entry......................... 70.09
459 Average unused bytes per entry.................... 29.90
460 Maximum payload per entry......................... 518
461 Entries that use overflow......................... 0 0.0%
462 Primary pages used................................ 1
463 Overflow pages used............................... 0
464 Total pages used.................................. 1
465 Unused bytes on primary pages..................... 9358 28.6%
466 Unused bytes on overflow pages.................... 0
467 Unused bytes on all pages......................... 9358 28.6%
468
469 *** Indices of table MOZ_BOOKMARKS ********************************************
470
471 Percentage of total database...................... 1.8%
472 Number of entries................................. 1252
473 Bytes of storage consumed......................... 131072
474 Bytes of payload.................................. 15167 11.6%
475 Average payload per entry......................... 12.11
476 Average unused bytes per entry.................... 89.55
477 Maximum payload per entry......................... 17
478 Entries that use overflow......................... 0 0.0%
479 Primary pages used................................ 4
480 Overflow pages used............................... 0
481 Total pages used.................................. 4
482 Unused bytes on primary pages..................... 112117 85.5%
483 Unused bytes on overflow pages.................... 0
484 Unused bytes on all pages......................... 112117 85.5%
485
486 *** Index MOZ_BOOKMARKS_GUID_UNIQUEINDEX of table MOZ_BOOKMARKS ***************
487
488 Percentage of total database...................... 0.45%
489 Number of entries................................. 313
490 Bytes of storage consumed......................... 32768
491 Bytes of payload.................................. 5207 15.9%
492 B-tree depth...................................... 1
493 Average payload per entry......................... 16.64
494 Average unused bytes per entry.................... 85.03
495 Maximum payload per entry......................... 17
496 Entries that use overflow......................... 0 0.0%
497 Primary pages used................................ 1
498 Overflow pages used............................... 0
499 Total pages used.................................. 1
500 Unused bytes on primary pages..................... 26614 81.2%
501 Unused bytes on overflow pages.................... 0
502 Unused bytes on all pages......................... 26614 81.2%
503
504 *** Index MOZ_BOOKMARKS_ITEMINDEX of table MOZ_BOOKMARKS **********************
505
506 Percentage of total database...................... 0.45%
507 Number of entries................................. 313
508 Bytes of storage consumed......................... 32768
509 Bytes of payload.................................. 2547 7.8%
510 B-tree depth...................................... 1
511 Average payload per entry......................... 8.14
512 Average unused bytes per entry.................... 93.53
513 Maximum payload per entry......................... 9
514 Entries that use overflow......................... 0 0.0%
515 Primary pages used................................ 1
516 Overflow pages used............................... 0
517 Total pages used.................................. 1
518 Unused bytes on primary pages..................... 29274 89.3%
519 Unused bytes on overflow pages.................... 0
520 Unused bytes on all pages......................... 29274 89.3%
521
522 *** Index MOZ_BOOKMARKS_ITEMLASTMODIFIEDINDEX of table MOZ_BOOKMARKS **********
523
524 Percentage of total database...................... 0.45%
525 Number of entries................................. 313
526 Bytes of storage consumed......................... 32768
527 Bytes of payload.................................. 5020 15.3%
528 B-tree depth...................................... 1
529 Average payload per entry......................... 16.04
530 Average unused bytes per entry.................... 85.63
531 Maximum payload per entry......................... 17
532 Entries that use overflow......................... 0 0.0%
533 Primary pages used................................ 1
534 Overflow pages used............................... 0
535 Total pages used.................................. 1
536 Unused bytes on primary pages..................... 26801 81.8%
537 Unused bytes on overflow pages.................... 0
538 Unused bytes on all pages......................... 26801 81.8%
539
540 *** Index MOZ_BOOKMARKS_PARENTINDEX of table MOZ_BOOKMARKS ********************
541
542 Percentage of total database...................... 0.45%
543 Number of entries................................. 313
544 Bytes of storage consumed......................... 32768
545 Bytes of payload.................................. 2393 7.3%
546 B-tree depth...................................... 1
547 Average payload per entry......................... 7.65
548 Average unused bytes per entry.................... 94.02
549 Maximum payload per entry......................... 9
550 Entries that use overflow......................... 0 0.0%
551 Primary pages used................................ 1
552 Overflow pages used............................... 0
553 Total pages used.................................. 1
554 Unused bytes on primary pages..................... 29428 89.8%
555 Unused bytes on overflow pages.................... 0
556 Unused bytes on all pages......................... 29428 89.8%
557
558 *** Table MOZ_BOOKMARKS_ROOTS and all its indices *****************************
559
560 Percentage of total database...................... 0.90%
561 Number of entries................................. 10
562 Bytes of storage consumed......................... 65536
563 Bytes of payload.................................. 94 0.14%
564 Average payload per entry......................... 9.40
565 Average unused bytes per entry.................... 6539.10
566 Maximum payload per entry......................... 11
567 Entries that use overflow......................... 0 0.0%
568 Primary pages used................................ 2
569 Overflow pages used............................... 0
570 Total pages used.................................. 2
571 Unused bytes on primary pages..................... 65391 99.78%
572 Unused bytes on overflow pages.................... 0
573 Unused bytes on all pages......................... 65391 99.78%
574
575 *** Table MOZ_BOOKMARKS_ROOTS w/o any indices *********************************
576
577 Percentage of total database...................... 0.45%
578 Number of entries................................. 5
579 Bytes of storage consumed......................... 32768
580 Bytes of payload.................................. 47 0.14%
581 B-tree depth...................................... 1
582 Average payload per entry......................... 9.40
583 Average unused bytes per entry.................... 6538.60
584 Maximum payload per entry......................... 11
585 Entries that use overflow......................... 0 0.0%
586 Primary pages used................................ 1
587 Overflow pages used............................... 0
588 Total pages used.................................. 1
589 Unused bytes on primary pages..................... 32693 99.77%
590 Unused bytes on overflow pages.................... 0
591 Unused bytes on all pages......................... 32693 99.77%
592
593 *** Index SQLITE_AUTOINDEX_MOZ_BOOKMARKS_ROOTS_1 of table MOZ_BOOKMARKS_ROOTS *
594
595 Percentage of total database...................... 0.45%
596 Number of entries................................. 5
597 Bytes of storage consumed......................... 32768
598 Bytes of payload.................................. 47 0.14%
599 B-tree depth...................................... 1
600 Average payload per entry......................... 9.40
601 Average unused bytes per entry.................... 6539.60
602 Maximum payload per entry......................... 11
603 Entries that use overflow......................... 0 0.0%
604 Primary pages used................................ 1
605 Overflow pages used............................... 0
606 Total pages used.................................. 1
607 Unused bytes on primary pages..................... 32698 99.79%
608 Unused bytes on overflow pages.................... 0
609 Unused bytes on all pages......................... 32698 99.79%
610
611 *** Table MOZ_FAVICONS and all its indices ************************************
612
613 Percentage of total database...................... 6.8%
614 Number of entries................................. 941
615 Bytes of storage consumed......................... 491520
616 Bytes of payload.................................. 332765 67.7%
617 Average payload per entry......................... 353.63
618 Average unused bytes per entry.................... 164.00
619 Average fanout.................................... 7.00
620 Maximum payload per entry......................... 7640
621 Entries that use overflow......................... 0 0.0%
622 Index pages used.................................. 2
623 Primary pages used................................ 13
624 Overflow pages used............................... 0
625 Total pages used.................................. 15
626 Unused bytes on index pages....................... 65340 99.70%
627 Unused bytes on primary pages..................... 88980 20.9%
628 Unused bytes on overflow pages.................... 0
629 Unused bytes on all pages......................... 154320 31.4%
630
631 *** Table MOZ_FAVICONS w/o any indices ****************************************
632
633 Percentage of total database...................... 5.4%
634 Number of entries................................. 471
635 Bytes of storage consumed......................... 393216
636 Bytes of payload.................................. 297630 75.7%
637 B-tree depth...................................... 2
638 Average payload per entry......................... 631.91
639 Average unused bytes per entry.................... 196.60
640 Average fanout.................................... 11.00
641 Non-sequential pages.............................. 6 54.5%
642 Maximum payload per entry......................... 7640
643 Entries that use overflow......................... 0 0.0%
644 Index pages used.................................. 1
645 Primary pages used................................ 11
646 Overflow pages used............................... 0
647 Total pages used.................................. 12
648 Unused bytes on index pages....................... 32676 99.72%
649 Unused bytes on primary pages..................... 59923 16.6%
650 Unused bytes on overflow pages.................... 0
651 Unused bytes on all pages......................... 92599 23.5%
652
653 *** Index SQLITE_AUTOINDEX_MOZ_FAVICONS_1 of table MOZ_FAVICONS ***************
654
655 Percentage of total database...................... 1.4%
656 Number of entries................................. 470
657 Bytes of storage consumed......................... 98304
658 Bytes of payload.................................. 35135 35.7%
659 B-tree depth...................................... 2
660 Average payload per entry......................... 74.76
661 Average unused bytes per entry.................... 131.32
662 Average fanout.................................... 3.00
663 Non-sequential pages.............................. 1 50.0%
664 Maximum payload per entry......................... 7259
665 Entries that use overflow......................... 0 0.0%
666 Index pages used.................................. 1
667 Primary pages used................................ 2
668 Overflow pages used............................... 0
669 Total pages used.................................. 3
670 Unused bytes on index pages....................... 32664 99.68%
671 Unused bytes on primary pages..................... 29057 44.3%
672 Unused bytes on overflow pages.................... 0
673 Unused bytes on all pages......................... 61721 62.8%
674
675 *** Table MOZ_HISTORYVISITS and all its indices *******************************
676
677 Percentage of total database...................... 18.6%
678 Number of entries................................. 63470
679 Bytes of storage consumed......................... 1343488
680 Bytes of payload.................................. 882233 65.7%
681 Average payload per entry......................... 13.90
682 Average unused bytes per entry.................... 3.76
683 Average fanout.................................... 10.00
684 Maximum payload per entry......................... 21
685 Entries that use overflow......................... 0 0.0%
686 Index pages used.................................. 4
687 Primary pages used................................ 37
688 Overflow pages used............................... 0
689 Total pages used.................................. 41
690 Unused bytes on index pages....................... 130482 99.55%
691 Unused bytes on primary pages..................... 108158 8.9%
692 Unused bytes on overflow pages.................... 0
693 Unused bytes on all pages......................... 238640 17.8%
694
695 *** Table MOZ_HISTORYVISITS w/o any indices ***********************************
696
697 Percentage of total database...................... 5.9%
698 Number of entries................................. 15873
699 Bytes of storage consumed......................... 425984
700 Bytes of payload.................................. 308447 72.4%
701 B-tree depth...................................... 2
702 Average payload per entry......................... 19.43
703 Average unused bytes per entry.................... 2.40
704 Average fanout.................................... 12.00
705 Non-sequential pages.............................. 8 66.7%
706 Maximum payload per entry......................... 21
707 Entries that use overflow......................... 0 0.0%
708 Index pages used.................................. 1
709 Primary pages used................................ 12
710 Overflow pages used............................... 0
711 Total pages used.................................. 13
712 Unused bytes on index pages....................... 32668 99.69%
713 Unused bytes on primary pages..................... 5435 1.4%
714 Unused bytes on overflow pages.................... 0
715 Unused bytes on all pages......................... 38103 8.9%
716
717 *** Indices of table MOZ_HISTORYVISITS ****************************************
718
719 Percentage of total database...................... 12.7%
720 Number of entries................................. 47597
721 Bytes of storage consumed......................... 917504
722 Bytes of payload.................................. 573786 62.5%
723 Average payload per entry......................... 12.06
724 Average unused bytes per entry.................... 4.21
725 Average fanout.................................... 9.00
726 Maximum payload per entry......................... 17
727 Entries that use overflow......................... 0 0.0%
728 Index pages used.................................. 3
729 Primary pages used................................ 25
730 Overflow pages used............................... 0
731 Total pages used.................................. 28
732 Unused bytes on index pages....................... 97814 99.50%
733 Unused bytes on primary pages..................... 102723 12.5%
734 Unused bytes on overflow pages.................... 0
735 Unused bytes on all pages......................... 200537 21.9%
736
737 *** Index MOZ_HISTORYVISITS_DATEINDEX of table MOZ_HISTORYVISITS **************
738
739 Percentage of total database...................... 4.5%
740 Number of entries................................. 15865
741 Bytes of storage consumed......................... 327680
742 Bytes of payload.................................. 206221 62.9%
743 B-tree depth...................................... 2
744 Average payload per entry......................... 13.00
745 Average unused bytes per entry.................... 4.65
746 Average fanout.................................... 10.00
747 Non-sequential pages.............................. 6 66.7%
748 Maximum payload per entry......................... 13
749 Entries that use overflow......................... 0 0.0%
750 Index pages used.................................. 1
751 Primary pages used................................ 9
752 Overflow pages used............................... 0
753 Total pages used.................................. 10
754 Unused bytes on index pages....................... 32596 99.48%
755 Unused bytes on primary pages..................... 41128 13.9%
756 Unused bytes on overflow pages.................... 0
757 Unused bytes on all pages......................... 73724 22.5%
758
759 *** Index MOZ_HISTORYVISITS_FROMINDEX of table MOZ_HISTORYVISITS **************
760
761 Percentage of total database...................... 2.7%
762 Number of entries................................. 15869
763 Bytes of storage consumed......................... 196608
764 Bytes of payload.................................. 100292 51.0%
765 B-tree depth...................................... 2
766 Average payload per entry......................... 6.32
767 Average unused bytes per entry.................... 3.06
768 Average fanout.................................... 6.00
769 Non-sequential pages.............................. 4 80.0%
770 Maximum payload per entry......................... 7
771 Entries that use overflow......................... 0 0.0%
772 Index pages used.................................. 1
773 Primary pages used................................ 5
774 Overflow pages used............................... 0
775 Total pages used.................................. 6
776 Unused bytes on index pages....................... 32702 99.80%
777 Unused bytes on primary pages..................... 15927 9.7%
778 Unused bytes on overflow pages.................... 0
779 Unused bytes on all pages......................... 48629 24.7%
780
781 *** Index MOZ_HISTORYVISITS_PLACEDATEINDEX of table MOZ_HISTORYVISITS *********
782
783 Percentage of total database...................... 5.4%
784 Number of entries................................. 15863
785 Bytes of storage consumed......................... 393216
786 Bytes of payload.................................. 267273 68.0%
787 B-tree depth...................................... 2
788 Average payload per entry......................... 16.85
789 Average unused bytes per entry.................... 4.93
790 Average fanout.................................... 12.00
791 Non-sequential pages.............................. 8 72.7%
792 Maximum payload per entry......................... 17
793 Entries that use overflow......................... 0 0.0%
794 Index pages used.................................. 1
795 Primary pages used................................ 11
796 Overflow pages used............................... 0
797 Total pages used.................................. 12
798 Unused bytes on index pages....................... 32516 99.23%
799 Unused bytes on primary pages..................... 45668 12.7%
800 Unused bytes on overflow pages.................... 0
801 Unused bytes on all pages......................... 78184 19.9%
802
803 *** Table MOZ_HOSTS and all its indices ***************************************
804
805 Percentage of total database...................... 0.90%
806 Number of entries................................. 1256
807 Bytes of storage consumed......................... 65536
808 Bytes of payload.................................. 27640 42.2%
809 Average payload per entry......................... 22.01
810 Average unused bytes per entry.................... 26.18
811 Maximum payload per entry......................... 49
812 Entries that use overflow......................... 0 0.0%
813 Primary pages used................................ 2
814 Overflow pages used............................... 0
815 Total pages used.................................. 2
816 Unused bytes on primary pages..................... 32888 50.2%
817 Unused bytes on overflow pages.................... 0
818 Unused bytes on all pages......................... 32888 50.2%
819
820 *** Table MOZ_HOSTS w/o any indices *******************************************
821
822 Percentage of total database...................... 0.45%
823 Number of entries................................. 628
824 Bytes of storage consumed......................... 32768
825 Bytes of payload.................................. 14640 44.7%
826 B-tree depth...................................... 1
827 Average payload per entry......................... 23.31
828 Average unused bytes per entry.................... 23.90
829 Maximum payload per entry......................... 49
830 Entries that use overflow......................... 0 0.0%
831 Primary pages used................................ 1
832 Overflow pages used............................... 0
833 Total pages used.................................. 1
834 Unused bytes on primary pages..................... 15012 45.8%
835 Unused bytes on overflow pages.................... 0
836 Unused bytes on all pages......................... 15012 45.8%
837
838 *** Index SQLITE_AUTOINDEX_MOZ_HOSTS_1 of table MOZ_HOSTS *********************
839
840 Percentage of total database...................... 0.45%
841 Number of entries................................. 628
842 Bytes of storage consumed......................... 32768
843 Bytes of payload.................................. 13000 39.7%
844 B-tree depth...................................... 1
845 Average payload per entry......................... 20.70
846 Average unused bytes per entry.................... 28.46
847 Maximum payload per entry......................... 47
848 Entries that use overflow......................... 0 0.0%
849 Primary pages used................................ 1
850 Overflow pages used............................... 0
851 Total pages used.................................. 1
852 Unused bytes on primary pages..................... 17876 54.6%
853 Unused bytes on overflow pages.................... 0
854 Unused bytes on all pages......................... 17876 54.6%
855
856 *** Table MOZ_INPUTHISTORY and all its indices ********************************
857
858 Percentage of total database...................... 0.90%
859 Number of entries................................. 16
860 Bytes of storage consumed......................... 65536
861 Bytes of payload.................................. 642 0.98%
862 Average payload per entry......................... 40.12
863 Average unused bytes per entry.................... 4050.88
864 Maximum payload per entry......................... 71
865 Entries that use overflow......................... 0 0.0%
866 Primary pages used................................ 2
867 Overflow pages used............................... 0
868 Total pages used.................................. 2
869 Unused bytes on primary pages..................... 64814 98.9%
870 Unused bytes on overflow pages.................... 0
871 Unused bytes on all pages......................... 64814 98.9%
872
873 *** Table MOZ_INPUTHISTORY w/o any indices ************************************
874
875 Percentage of total database...................... 0.45%
876 Number of entries................................. 8
877 Bytes of storage consumed......................... 32768
878 Bytes of payload.................................. 341 1.0%
879 B-tree depth...................................... 1
880 Average payload per entry......................... 42.62
881 Average unused bytes per entry.................... 4047.38
882 Maximum payload per entry......................... 71
883 Entries that use overflow......................... 0 0.0%
884 Primary pages used................................ 1
885 Overflow pages used............................... 0
886 Total pages used.................................. 1
887 Unused bytes on primary pages..................... 32379 98.8%
888 Unused bytes on overflow pages.................... 0
889 Unused bytes on all pages......................... 32379 98.8%
890
891 *** Index SQLITE_AUTOINDEX_MOZ_INPUTHISTORY_1 of table MOZ_INPUTHISTORY *******
892
893 Percentage of total database...................... 0.45%
894 Number of entries................................. 8
895 Bytes of storage consumed......................... 32768
896 Bytes of payload.................................. 301 0.92%
897 B-tree depth...................................... 1
898 Average payload per entry......................... 37.62
899 Average unused bytes per entry.................... 4054.38
900 Maximum payload per entry......................... 65
901 Entries that use overflow......................... 0 0.0%
902 Primary pages used................................ 1
903 Overflow pages used............................... 0
904 Total pages used.................................. 1
905 Unused bytes on primary pages..................... 32435 99.0%
906 Unused bytes on overflow pages.................... 0
907 Unused bytes on all pages......................... 32435 99.0%
908
909 *** Table MOZ_ITEMS_ANNOS and all its indices *********************************
910
911 Percentage of total database...................... 0.90%
912 Number of entries................................. 158
913 Bytes of storage consumed......................... 65536
914 Bytes of payload.................................. 9211 14.1%
915 Average payload per entry......................... 58.30
916 Average unused bytes per entry.................... 352.56
917 Maximum payload per entry......................... 384
918 Entries that use overflow......................... 0 0.0%
919 Primary pages used................................ 2
920 Overflow pages used............................... 0
921 Total pages used.................................. 2
922 Unused bytes on primary pages..................... 55704 85.0%
923 Unused bytes on overflow pages.................... 0
924 Unused bytes on all pages......................... 55704 85.0%
925
926 *** Table MOZ_ITEMS_ANNOS w/o any indices *************************************
927
928 Percentage of total database...................... 0.45%
929 Number of entries................................. 79
930 Bytes of storage consumed......................... 32768
931 Bytes of payload.................................. 8649 26.4%
932 B-tree depth...................................... 1
933 Average payload per entry......................... 109.48
934 Average unused bytes per entry.................... 300.54
935 Maximum payload per entry......................... 384
936 Entries that use overflow......................... 0 0.0%
937 Primary pages used................................ 1
938 Overflow pages used............................... 0
939 Total pages used.................................. 1
940 Unused bytes on primary pages..................... 23743 72.5%
941 Unused bytes on overflow pages.................... 0
942 Unused bytes on all pages......................... 23743 72.5%
943
944 *** Index MOZ_ITEMS_ANNOS_ITEMATTRIBUTEINDEX of table MOZ_ITEMS_ANNOS *********
945
946 Percentage of total database...................... 0.45%
947 Number of entries................................. 79
948 Bytes of storage consumed......................... 32768
949 Bytes of payload.................................. 562 1.7%
950 B-tree depth...................................... 1
951 Average payload per entry......................... 7.11
952 Average unused bytes per entry.................... 404.57
953 Maximum payload per entry......................... 9
954 Entries that use overflow......................... 0 0.0%
955 Primary pages used................................ 1
956 Overflow pages used............................... 0
957 Total pages used.................................. 1
958 Unused bytes on primary pages..................... 31961 97.5%
959 Unused bytes on overflow pages.................... 0
960 Unused bytes on all pages......................... 31961 97.5%
961
962 *** Table MOZ_KEYWORDS and all its indices ************************************
963
964 Percentage of total database...................... 1.4%
965 Number of entries................................. 0
966 Bytes of storage consumed......................... 98304
967 Bytes of payload.................................. 0 0.0%
968 Average payload per entry......................... 0.0
969 Average unused bytes per entry.................... 0.0
970 Maximum payload per entry......................... 0
971 Entries that use overflow......................... 0
972 Primary pages used................................ 3
973 Overflow pages used............................... 0
974 Total pages used.................................. 3
975 Unused bytes on primary pages..................... 98280 99.976%
976 Unused bytes on overflow pages.................... 0
977 Unused bytes on all pages......................... 98280 99.976%
978
979 *** Table MOZ_KEYWORDS w/o any indices ****************************************
980
981 Percentage of total database...................... 0.45%
982 Number of entries................................. 0
983 Bytes of storage consumed......................... 32768
984 Bytes of payload.................................. 0 0.0%
985 B-tree depth...................................... 1
986 Average payload per entry......................... 0.0
987 Average unused bytes per entry.................... 0.0
988 Maximum payload per entry......................... 0
989 Entries that use overflow......................... 0
990 Primary pages used................................ 1
991 Overflow pages used............................... 0
992 Total pages used.................................. 1
993 Unused bytes on primary pages..................... 32760 99.976%
994 Unused bytes on overflow pages.................... 0
995 Unused bytes on all pages......................... 32760 99.976%
996
997 *** Indices of table MOZ_KEYWORDS *********************************************
998
999 Percentage of total database...................... 0.90%
1000 Number of entries................................. 0
1001 Bytes of storage consumed......................... 65536
1002 Bytes of payload.................................. 0 0.0%
1003 Average payload per entry......................... 0.0
1004 Average unused bytes per entry.................... 0.0
1005 Maximum payload per entry......................... 0
1006 Entries that use overflow......................... 0
1007 Primary pages used................................ 2
1008 Overflow pages used............................... 0
1009 Total pages used.................................. 2
1010 Unused bytes on primary pages..................... 65520 99.976%
1011 Unused bytes on overflow pages.................... 0
1012 Unused bytes on all pages......................... 65520 99.976%
1013
1014 *** Index MOZ_KEYWORDS_PLACEPOSTDATA_UNIQUEINDEX of table MOZ_KEYWORDS ********
1015
1016 Percentage of total database...................... 0.45%
1017 Number of entries................................. 0
1018 Bytes of storage consumed......................... 32768
1019 Bytes of payload.................................. 0 0.0%
1020 B-tree depth...................................... 1
1021 Average payload per entry......................... 0.0
1022 Average unused bytes per entry.................... 0.0
1023 Maximum payload per entry......................... 0
1024 Entries that use overflow......................... 0
1025 Primary pages used................................ 1
1026 Overflow pages used............................... 0
1027 Total pages used.................................. 1
1028 Unused bytes on primary pages..................... 32760 99.976%
1029 Unused bytes on overflow pages.................... 0
1030 Unused bytes on all pages......................... 32760 99.976%
1031
1032 *** Index SQLITE_AUTOINDEX_MOZ_KEYWORDS_1 of table MOZ_KEYWORDS ***************
1033
1034 Percentage of total database...................... 0.45%
1035 Number of entries................................. 0
1036 Bytes of storage consumed......................... 32768
1037 Bytes of payload.................................. 0 0.0%
1038 B-tree depth...................................... 1
1039 Average payload per entry......................... 0.0
1040 Average unused bytes per entry.................... 0.0
1041 Maximum payload per entry......................... 0
1042 Entries that use overflow......................... 0
1043 Primary pages used................................ 1
1044 Overflow pages used............................... 0
1045 Total pages used.................................. 1
1046 Unused bytes on primary pages..................... 32760 99.976%
1047 Unused bytes on overflow pages.................... 0
1048 Unused bytes on all pages......................... 32760 99.976%
1049
1050 *** Table MOZ_PLACES and all its indices **************************************
1051
1052 Percentage of total database...................... 64.3%
1053 Number of entries................................. 87087
1054 Bytes of storage consumed......................... 4653056
1055 Bytes of payload.................................. 3659043 78.6%
1056 Average payload per entry......................... 42.02
1057 Average unused bytes per entry.................... 7.93
1058 Average fanout.................................... 17.00
1059 Maximum payload per entry......................... 1867
1060 Entries that use overflow......................... 0 0.0%
1061 Index pages used.................................. 8
1062 Primary pages used................................ 134
1063 Overflow pages used............................... 0
1064 Total pages used.................................. 142
1065 Unused bytes on index pages....................... 252188 96.2%
1066 Unused bytes on primary pages..................... 438258 10.0%
1067 Unused bytes on overflow pages.................... 0
1068 Unused bytes on all pages......................... 690446 14.8%
1069
1070 *** Table MOZ_PLACES w/o any indices ******************************************
1071
1072 Percentage of total database...................... 28.5%
1073 Number of entries................................. 10894
1074 Bytes of storage consumed......................... 2064384
1075 Bytes of payload.................................. 1838131 89.0%
1076 B-tree depth...................................... 2
1077 Average payload per entry......................... 168.73
1078 Average unused bytes per entry.................... 14.10
1079 Average fanout.................................... 62.00
1080 Non-sequential pages.............................. 30 48.4%
1081 Maximum payload per entry......................... 1867
1082 Entries that use overflow......................... 0 0.0%
1083 Index pages used.................................. 1
1084 Primary pages used................................ 62
1085 Overflow pages used............................... 0
1086 Total pages used.................................. 63
1087 Unused bytes on index pages....................... 32207 98.3%
1088 Unused bytes on primary pages..................... 121406 6.0%
1089 Unused bytes on overflow pages.................... 0
1090 Unused bytes on all pages......................... 153613 7.4%
1091
1092 *** Indices of table MOZ_PLACES ***********************************************
1093
1094 Percentage of total database...................... 35.7%
1095 Number of entries................................. 76193
1096 Bytes of storage consumed......................... 2588672
1097 Bytes of payload.................................. 1820912 70.3%
1098 Average payload per entry......................... 23.90
1099 Average unused bytes per entry.................... 7.05
1100 Average fanout.................................... 11.00
1101 Maximum payload per entry......................... 1823
1102 Entries that use overflow......................... 0 0.0%
1103 Index pages used.................................. 7
1104 Primary pages used................................ 72
1105 Overflow pages used............................... 0
1106 Total pages used.................................. 79
1107 Unused bytes on index pages....................... 219981 95.9%
1108 Unused bytes on primary pages..................... 316852 13.4%
1109 Unused bytes on overflow pages.................... 0
1110 Unused bytes on all pages......................... 536833 20.7%
1111
1112 *** Index MOZ_PLACES_FAVICONINDEX of table MOZ_PLACES *************************
1113
1114 Percentage of total database...................... 2.3%
1115 Number of entries................................. 10891
1116 Bytes of storage consumed......................... 163840
1117 Bytes of payload.................................. 83178 50.8%
1118 B-tree depth...................................... 2
1119 Average payload per entry......................... 7.64
1120 Average unused bytes per entry.................... 4.40
1121 Average fanout.................................... 5.00
1122 Non-sequential pages.............................. 3 75.0%
1123 Maximum payload per entry......................... 8
1124 Entries that use overflow......................... 0 0.0%
1125 Index pages used.................................. 1
1126 Primary pages used................................ 4
1127 Overflow pages used............................... 0
1128 Total pages used.................................. 5
1129 Unused bytes on index pages....................... 32711 99.83%
1130 Unused bytes on primary pages..................... 15213 11.6%
1131 Unused bytes on overflow pages.................... 0
1132 Unused bytes on all pages......................... 47924 29.3%
1133
1134 *** Index MOZ_PLACES_FRECENCYINDEX of table MOZ_PLACES ************************
1135
1136 Percentage of total database...................... 2.3%
1137 Number of entries................................. 10891
1138 Bytes of storage consumed......................... 163840
1139 Bytes of payload.................................. 76772 46.9%
1140 B-tree depth...................................... 2
1141 Average payload per entry......................... 7.05
1142 Average unused bytes per entry.................... 4.99
1143 Average fanout.................................... 5.00
1144 Non-sequential pages.............................. 3 75.0%
1145 Maximum payload per entry......................... 9
1146 Entries that use overflow......................... 0 0.0%
1147 Index pages used.................................. 1
1148 Primary pages used................................ 4
1149 Overflow pages used............................... 0
1150 Total pages used.................................. 5
1151 Unused bytes on index pages....................... 32714 99.84%
1152 Unused bytes on primary pages..................... 21616 16.5%
1153 Unused bytes on overflow pages.................... 0
1154 Unused bytes on all pages......................... 54330 33.2%
1155
1156 *** Index MOZ_PLACES_GUID_UNIQUEINDEX of table MOZ_PLACES *********************
1157
1158 Percentage of total database...................... 4.1%
1159 Number of entries................................. 10887
1160 Bytes of storage consumed......................... 294912
1161 Bytes of payload.................................. 196000 66.5%
1162 B-tree depth...................................... 2
1163 Average payload per entry......................... 18.00
1164 Average unused bytes per entry.................... 6.07
1165 Average fanout.................................... 9.00
1166 Non-sequential pages.............................. 5 62.5%
1167 Maximum payload per entry......................... 18
1168 Entries that use overflow......................... 0 0.0%
1169 Index pages used.................................. 1
1170 Primary pages used................................ 8
1171 Overflow pages used............................... 0
1172 Total pages used.................................. 9
1173 Unused bytes on index pages....................... 32581 99.43%
1174 Unused bytes on primary pages..................... 33545 12.8%
1175 Unused bytes on overflow pages.................... 0
1176 Unused bytes on all pages......................... 66126 22.4%
1177
1178 *** Index MOZ_PLACES_HOSTINDEX of table MOZ_PLACES ****************************
1179
1180 Percentage of total database...................... 5.0%
1181 Number of entries................................. 10885
1182 Bytes of storage consumed......................... 360448
1183 Bytes of payload.................................. 237383 65.9%
1184 B-tree depth...................................... 2
1185 Average payload per entry......................... 21.81
1186 Average unused bytes per entry.................... 8.29
1187 Average fanout.................................... 11.00
1188 Non-sequential pages.............................. 7 70.0%
1189 Maximum payload per entry......................... 49
1190 Entries that use overflow......................... 0 0.0%
1191 Index pages used.................................. 1
1192 Primary pages used................................ 10
1193 Overflow pages used............................... 0
1194 Total pages used.................................. 11
1195 Unused bytes on index pages....................... 32473 99.10%
1196 Unused bytes on primary pages..................... 57782 17.6%
1197 Unused bytes on overflow pages.................... 0
1198 Unused bytes on all pages......................... 90255 25.0%
1199
1200 *** Index MOZ_PLACES_LASTVISITDATEINDEX of table MOZ_PLACES *******************
1201
1202 Percentage of total database...................... 3.2%
1203 Number of entries................................. 10889
1204 Bytes of storage consumed......................... 229376
1205 Bytes of payload.................................. 150784 65.7%
1206 B-tree depth...................................... 2
1207 Average payload per entry......................... 13.85
1208 Average unused bytes per entry.................... 4.21
1209 Average fanout.................................... 7.00
1210 Non-sequential pages.............................. 4 66.7%
1211 Maximum payload per entry......................... 14
1212 Entries that use overflow......................... 0 0.0%
1213 Index pages used.................................. 1
1214 Primary pages used................................ 6
1215 Overflow pages used............................... 0
1216 Total pages used.................................. 7
1217 Unused bytes on index pages....................... 32651 99.64%
1218 Unused bytes on primary pages..................... 13179 6.7%
1219 Unused bytes on overflow pages.................... 0
1220 Unused bytes on all pages......................... 45830 20.0%
1221
1222 *** Index MOZ_PLACES_URL_UNIQUEINDEX of table MOZ_PLACES **********************
1223
1224 Percentage of total database...................... 16.7%
1225 Number of entries................................. 10859
1226 Bytes of storage consumed......................... 1212416
1227 Bytes of payload.................................. 1010666 83.4%
1228 B-tree depth...................................... 2
1229 Average payload per entry......................... 93.07
1230 Average unused bytes per entry.................... 15.42
1231 Average fanout.................................... 37.00
1232 Non-sequential pages.............................. 16 44.4%
1233 Maximum payload per entry......................... 1823
1234 Entries that use overflow......................... 0 0.0%
1235 Index pages used.................................. 1
1236 Primary pages used................................ 36
1237 Overflow pages used............................... 0
1238 Total pages used.................................. 37
1239 Unused bytes on index pages....................... 24134 73.7%
1240 Unused bytes on primary pages..................... 143261 12.1%
1241 Unused bytes on overflow pages.................... 0
1242 Unused bytes on all pages......................... 167395 13.8%
1243
1244 *** Index MOZ_PLACES_VISITCOUNT of table MOZ_PLACES ***************************
1245
1246 Percentage of total database...................... 2.3%
1247 Number of entries................................. 10891
1248 Bytes of storage consumed......................... 163840
1249 Bytes of payload.................................. 66129 40.4%
1250 B-tree depth...................................... 2
1251 Average payload per entry......................... 6.07
1252 Average unused bytes per entry.................... 5.97
1253 Average fanout.................................... 5.00
1254 Non-sequential pages.............................. 3 75.0%
1255 Maximum payload per entry......................... 8
1256 Entries that use overflow......................... 0 0.0%
1257 Index pages used.................................. 1
1258 Primary pages used................................ 4
1259 Overflow pages used............................... 0
1260 Total pages used.................................. 5
1261 Unused bytes on index pages....................... 32717 99.84%
1262 Unused bytes on primary pages..................... 32256 24.6%
1263 Unused bytes on overflow pages.................... 0
1264 Unused bytes on all pages......................... 64973 39.7%
1265
1266 *** Table SQLITE_SCHEMA *******************************************************
1267
1268 Percentage of total database...................... 0.45%
1269 Number of entries................................. 36
1270 Bytes of storage consumed......................... 32768
1271 Bytes of payload.................................. 5188 15.8%
1272 B-tree depth...................................... 1
1273 Average payload per entry......................... 144.11
1274 Average unused bytes per entry.................... 758.58
1275 Maximum payload per entry......................... 379
1276 Entries that use overflow......................... 0 0.0%
1277 Primary pages used................................ 1
1278 Overflow pages used............................... 0
1279 Total pages used.................................. 1
1280 Unused bytes on primary pages..................... 27309 83.3%
1281 Unused bytes on overflow pages.................... 0
1282 Unused bytes on all pages......................... 27309 83.3%
1283
1284 *** Table SQLITE_SEQUENCE *****************************************************
1285
1286 Percentage of total database...................... 0.45%
1287 Number of entries................................. 1
1288 Bytes of storage consumed......................... 32768
1289 Bytes of payload.................................. 15 0.046%
1290 B-tree depth...................................... 1
1291 Average payload per entry......................... 15.00
1292 Average unused bytes per entry.................... 32741.00
1293 Maximum payload per entry......................... 15
1294 Entries that use overflow......................... 0 0.0%
1295 Primary pages used................................ 1
1296 Overflow pages used............................... 0
1297 Total pages used.................................. 1
1298 Unused bytes on primary pages..................... 32741 99.918%
1299 Unused bytes on overflow pages.................... 0
1300 Unused bytes on all pages......................... 32741 99.918%
1301
1302 *** Table SQLITE_STAT1 ********************************************************
1303
1304 Percentage of total database...................... 0.45%
1305 Number of entries................................. 15
1306 Bytes of storage consumed......................... 32768
1307 Bytes of payload.................................. 762 2.3%
1308 B-tree depth...................................... 1
1309 Average payload per entry......................... 50.80
1310 Average unused bytes per entry.................... 2128.20
1311 Maximum payload per entry......................... 62
1312 Entries that use overflow......................... 0 0.0%
1313 Primary pages used................................ 1
1314 Overflow pages used............................... 0
1315 Total pages used.................................. 1
1316 Unused bytes on primary pages..................... 31923 97.4%
1317 Unused bytes on overflow pages.................... 0
1318 Unused bytes on all pages......................... 31923 97.4%
1319
1320 <a name="defs"></a>*** Definitions ***************************************************************
1321
1322 Page size in bytes
1323
1324 The number of bytes in a single page of the database file.
1325 Usually 1024.
1326
1327 Number of pages in the whole file
1328
1329 The number of 32768-byte pages that go into forming the complete
1330 database
1331
1332 Pages that store data
1333
1334 The number of pages that store data, either as primary B*Tree pages or
1335 as overflow pages. The number at the right is the data pages divided by
1336 the total number of pages in the file.
1337
1338 Pages on the freelist
1339
1340 The number of pages that are not currently in use but are reserved for
1341 future use. The percentage at the right is the number of freelist pages
1342 divided by the total number of pages in the file.
1343
1344 Pages of auto-vacuum overhead
1345
1346 The number of pages that store data used by the database to facilitate
1347 auto-vacuum. This is zero for databases that do not support auto-vacuum.
1348
1349 Number of tables in the database
1350
1351 The number of tables in the database, including the SQLITE_SCHEMA table
1352 used to store schema information.
1353
1354 Number of indices
1355
1356 The total number of indices in the database.
1357
1358 Number of defined indices
1359
1360 The number of indices created using an explicit CREATE INDEX statement.
1361
1362 Number of implied indices
1363
1364 The number of indices used to implement PRIMARY KEY or UNIQUE constraints
1365 on tables.
1366
1367 Size of the file in bytes
1368
1369 The total amount of disk space used by the entire database files.
1370
1371 Bytes of user payload stored
1372
1373 The total number of bytes of user payload stored in the database. The
1374 schema information in the SQLITE_SCHEMA table is not counted when
1375 computing this number. The percentage at the right shows the payload
1376 divided by the total file size.
1377
1378 Percentage of total database
1379
1380 The amount of the complete database file that is devoted to storing
1381 information described by this category.
1382
1383 Number of entries
1384
1385 The total number of B-Tree key/value pairs stored under this category.
1386
1387 Bytes of storage consumed
1388
1389 The total amount of disk space required to store all B-Tree entries
1390 under this category. The is the total number of pages used times
1391 the pages size.
1392
1393 Bytes of payload
1394
1395 The amount of payload stored under this category. Payload is the data
1396 part of table entries and the key part of index entries. The percentage
1397 at the right is the bytes of payload divided by the bytes of storage
1398 consumed.
1399
1400 Average payload per entry
1401
1402 The average amount of payload on each entry. This is just the bytes of
1403 payload divided by the number of entries.
1404
1405 Average unused bytes per entry
1406
1407 The average amount of free space remaining on all pages under this
1408 category on a per-entry basis. This is the number of unused bytes on
1409 all pages divided by the number of entries.
1410
1411 Non-sequential pages
1412
1413 The number of pages in the table or index that are out of sequence.
1414 Many filesystems are optimized for sequential file access so a small
1415 number of non-sequential pages might result in faster queries,
1416 especially for larger database files that do not fit in the disk cache.
1417 Note that after running VACUUM, the root page of each table or index is
1418 at the beginning of the database file and all other pages are in a
1419 separate part of the database file, resulting in a single non-
1420 sequential page.
1421
1422 Maximum payload per entry
1423
1424 The largest payload size of any entry.
1425
1426 Entries that use overflow
1427
1428 The number of entries that user one or more overflow pages.
1429
1430 Total pages used
1431
1432 This is the number of pages used to hold all information in the current
1433 category. This is the sum of index, primary, and overflow pages.
1434
1435 Index pages used
1436
1437 This is the number of pages in a table B-tree that hold only key (rowid)
1438 information and no data.
1439
1440 Primary pages used
1441
1442 This is the number of B-tree pages that hold both key and data.
1443
1444 Overflow pages used
1445
1446 The total number of overflow pages used for this category.
1447
1448 Unused bytes on index pages
1449
1450 The total number of bytes of unused space on all index pages. The
1451 percentage at the right is the number of unused bytes divided by the
1452 total number of bytes on index pages.
1453
1454 Unused bytes on primary pages
1455
1456 The total number of bytes of unused space on all primary pages. The
1457 percentage at the right is the number of unused bytes divided by the
1458 total number of bytes on primary pages.
1459
1460 Unused bytes on overflow pages
1461
1462 The total number of bytes of unused space on all overflow pages. The
1463 percentage at the right is the number of unused bytes divided by the
1464 total number of bytes on overflow pages.
1465
1466 Unused bytes on all pages
1467
1468 The total number of bytes of unused space on all primary and overflow
1469 pages. The percentage at the right is the number of unused bytes
1470 divided by the total number of bytes.
1471
1472 <a name="sqlx"></a>*******************************************************************************
1473 The entire text of this report can be sourced into any SQL database
1474 engine for further analysis. All of the text above is an SQL comment.
1475 The data used to generate this report follows:
1476 */
1477 BEGIN;
1478 CREATE TABLE space_used(
1479 name clob, -- Name of a table or index in the database file
1480 tblname clob, -- Name of associated table
1481 is_index boolean, -- TRUE if it is an index, false for a table
1482 nentry int, -- Number of entries in the BTree
1483 leaf_entries int, -- Number of leaf entries
1484 depth int, -- Depth of the b-tree
1485 payload int, -- Total amount of data stored in this table or index
1486 ovfl_payload int, -- Total amount of data stored on overflow pages
1487 ovfl_cnt int, -- Number of entries that use overflow
1488 mx_payload int, -- Maximum payload size
1489 int_pages int, -- Number of interior pages used
1490 leaf_pages int, -- Number of leaf pages used
1491 ovfl_pages int, -- Number of overflow pages used
1492 int_unused int, -- Number of unused bytes on interior pages
1493 leaf_unused int, -- Number of unused bytes on primary pages
1494 ovfl_unused int, -- Number of unused bytes on overflow pages
1495 gap_cnt int, -- Number of gaps in the page layout
1496 compressed_size int -- Total bytes stored on disk
1497 );
1498 INSERT INTO space_used VALUES('sqlite_schema','sqlite_schema',0,36,36,1,5188,0,0,379,0,1,0,0,27309,0,0,32768);
1499 INSERT INTO space_used VALUES('moz_places','moz_places',0,10955,10894,2,1838131,0,0,1867,1,62,0,32207,121406,0,30,2064384);
1500 INSERT INTO space_used VALUES('moz_historyvisits','moz_historyvisits',0,15884,15873,2,308447,0,0,21,1,12,0,32668,5435,0,8,425984);
1501 INSERT INTO space_used VALUES('moz_inputhistory','moz_inputhistory',0,8,8,1,341,0,0,71,0,1,0,0,32379,0,0,32768);
1502 INSERT INTO space_used VALUES('sqlite_autoindex_moz_inputhistory_1','moz_inputhistory',1,8,8,1,301,0,0,65,0,1,0,0,32435,0,0,32768);
1503 INSERT INTO space_used VALUES('moz_hosts','moz_hosts',0,628,628,1,14640,0,0,49,0,1,0,0,15012,0,0,32768);
1504 INSERT INTO space_used VALUES('sqlite_autoindex_moz_hosts_1','moz_hosts',1,628,628,1,13000,0,0,47,0,1,0,0,17876,0,0,32768);
1505 INSERT INTO space_used VALUES('moz_bookmarks','moz_bookmarks',0,313,313,1,21937,0,0,518,0,1,0,0,9358,0,0,32768);
1506 INSERT INTO space_used VALUES('moz_bookmarks_roots','moz_bookmarks_roots',0,5,5,1,47,0,0,11,0,1,0,0,32693,0,0,32768);
1507 INSERT INTO space_used VALUES('sqlite_autoindex_moz_bookmarks_roots_1','moz_bookmarks_roots',1,5,5,1,47,0,0,11,0,1,0,0,32698,0,0,32768);
1508 INSERT INTO space_used VALUES('moz_keywords','moz_keywords',0,0,0,1,0,0,0,0,0,1,0,0,32760,0,0,32768);
1509 INSERT INTO space_used VALUES('sqlite_autoindex_moz_keywords_1','moz_keywords',1,0,0,1,0,0,0,0,0,1,0,0,32760,0,0,32768);
1510 INSERT INTO space_used VALUES('sqlite_sequence','sqlite_sequence',0,1,1,1,15,0,0,15,0,1,0,0,32741,0,0,32768);
1511 INSERT INTO space_used VALUES('moz_favicons','moz_favicons',0,481,471,2,297630,0,0,7640,1,11,0,32676,59923,0,6,393216);
1512 INSERT INTO space_used VALUES('sqlite_autoindex_moz_favicons_1','moz_favicons',1,471,470,2,35135,0,0,7259,1,2,0,32664,29057,0,1,98304);
1513 INSERT INTO space_used VALUES('moz_anno_attributes','moz_anno_attributes',0,12,12,1,355,0,0,42,0,1,0,0,32357,0,0,32768);
1514 INSERT INTO space_used VALUES('sqlite_autoindex_moz_anno_attributes_1','moz_anno_attributes',1,12,12,1,366,0,0,43,0,1,0,0,32358,0,0,32768);
1515 INSERT INTO space_used VALUES('moz_annos','moz_annos',0,195,195,1,12115,0,0,127,0,1,0,0,19702,0,0,32768);
1516 INSERT INTO space_used VALUES('moz_items_annos','moz_items_annos',0,79,79,1,8649,0,0,384,0,1,0,0,23743,0,0,32768);
1517 INSERT INTO space_used VALUES('sqlite_stat1','sqlite_stat1',0,15,15,1,762,0,0,62,0,1,0,0,31923,0,0,32768);
1518 INSERT INTO space_used VALUES('moz_places_faviconindex','moz_places',1,10894,10891,2,83178,0,0,8,1,4,0,32711,15213,0,3,163840);
1519 INSERT INTO space_used VALUES('moz_places_hostindex','moz_places',1,10894,10885,2,237383,0,0,49,1,10,0,32473,57782,0,7,360448);
1520 INSERT INTO space_used VALUES('moz_places_visitcount','moz_places',1,10894,10891,2,66129,0,0,8,1,4,0,32717,32256,0,3,163840);
1521 INSERT INTO space_used VALUES('moz_places_frecencyindex','moz_places',1,10894,10891,2,76772,0,0,9,1,4,0,32714,21616,0,3,163840);
1522 INSERT INTO space_used VALUES('moz_places_lastvisitdateindex','moz_places',1,10894,10889,2,150784,0,0,14,1,6,0,32651,13179,0,4,229376);
1523 INSERT INTO space_used VALUES('moz_historyvisits_placedateindex','moz_historyvisits',1,15873,15863,2,267273,0,0,17,1,11,0,32516,45668,0,8,393216);
1524 INSERT INTO space_used VALUES('moz_historyvisits_fromindex','moz_historyvisits',1,15873,15869,2,100292,0,0,7,1,5,0,32702,15927,0,4,196608);
1525 INSERT INTO space_used VALUES('moz_historyvisits_dateindex','moz_historyvisits',1,15873,15865,2,206221,0,0,13,1,9,0,32596,41128,0,6,327680);
1526 INSERT INTO space_used VALUES('moz_bookmarks_itemindex','moz_bookmarks',1,313,313,1,2547,0,0,9,0,1,0,0,29274,0,0,32768);
1527 INSERT INTO space_used VALUES('moz_bookmarks_parentindex','moz_bookmarks',1,313,313,1,2393,0,0,9,0,1,0,0,29428,0,0,32768);
1528 INSERT INTO space_used VALUES('moz_bookmarks_itemlastmodifiedindex','moz_bookmarks',1,313,313,1,5020,0,0,17,0,1,0,0,26801,0,0,32768);
1529 INSERT INTO space_used VALUES('moz_places_url_uniqueindex','moz_places',1,10894,10859,2,1010666,0,0,1823,1,36,0,24134,143261,0,16,1212416);
1530 INSERT INTO space_used VALUES('moz_places_guid_uniqueindex','moz_places',1,10894,10887,2,196000,0,0,18,1,8,0,32581,33545,0,5,294912);
1531 INSERT INTO space_used VALUES('moz_bookmarks_guid_uniqueindex','moz_bookmarks',1,313,313,1,5207,0,0,17,0,1,0,0,26614,0,0,32768);
1532 INSERT INTO space_used VALUES('moz_annos_placeattributeindex','moz_annos',1,195,195,1,1871,0,0,10,0,1,0,0,30304,0,0,32768);
1533 INSERT INTO space_used VALUES('moz_items_annos_itemattributeindex','moz_items_annos',1,79,79,1,562,0,0,9,0,1,0,0,31961,0,0,32768);
1534 INSERT INTO space_used VALUES('moz_keywords_placepostdata_uniqueindex','moz_keywords',1,0,0,1,0,0,0,0,0,1,0,0,32760,0,0,32768);
1535 COMMIT;
1536 </pre></blockquote>
1537 <p align="center"><small><i>This page last modified on <a href="https://sqlite.org/docsrc/honeypot" id="mtimelink" data-href="https://sqlite.org/docsrc/finfo/pages/sqlanalyze.in?m=3963fd2c25">2022-01-08 05:02:57</a> UTC </small></i></p>
1538