report1.txt 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. The SQL database used for ACD contains 113 tables and indices implemented
  2. in GDBM. The following are statistics on the sizes of keys and data
  3. within these tables and indices.
  4. Entries: 962080
  5. Size: 45573853
  6. Avg Size: 48
  7. Key Size: 11045299
  8. Avg Key Size: 12
  9. Max Key Size: 99
  10. Size of key Cummulative
  11. and data Instances Percentage
  12. ------------ ---------- -----------
  13. 0..8 266 0%
  14. 9..12 5485 0%
  15. 13..16 73633 8%
  16. 17..24 180918 27%
  17. 25..32 209823 48%
  18. 33..40 148995 64%
  19. 41..48 76304 72%
  20. 49..56 14346 73%
  21. 57..64 15725 75%
  22. 65..80 44916 80%
  23. 81..96 127815 93%
  24. 97..112 34769 96%
  25. 113..128 13314 98%
  26. 129..144 8098 99%
  27. 145..160 3355 99%
  28. 161..176 1159 99%
  29. 177..192 629 99%
  30. 193..208 221 99%
  31. 209..224 210 99%
  32. 225..240 129 99%
  33. 241..256 57 99%
  34. 257..288 496 99%
  35. 289..320 60 99%
  36. 321..352 37 99%
  37. 353..384 46 99%
  38. 385..416 22 99%
  39. 417..448 24 99%
  40. 449..480 26 99%
  41. 481..512 27 99%
  42. 513..1024 471 99%
  43. 1025..2048 389 99%
  44. 2049..4096 182 99%
  45. 4097..8192 74 99%
  46. 8193..16384 34 99%
  47. 16385..32768 17 99%
  48. 32769..65536 5 99%
  49. 65537..131073 3 100%
  50. This information is gathered to help design the new built-in
  51. backend for sqlite 2.0. Note in particular that 99% of all
  52. database entries have a combined key and data size of less than
  53. 144 bytes. So if a leaf node in the new database is able to
  54. store 144 bytes of combined key and data, only 1% of the leaves
  55. will require overflow pages. Furthermore, note that no key
  56. is larger than 99 bytes, so if the key will never be on an
  57. overflow page.
  58. The average combined size of key+data is 48. Add in 16 bytes of
  59. overhead for a total of 64. That means that a 1K page will
  60. store (on average) about 16 entries.