2 #pragma ident "%Z%%M% %I% %E% SMI"
4 The SQL database used for ACD contains 113 tables and indices implemented
5 in GDBM. The following are statistics on the sizes of keys and data
6 within these tables and indices.
16 Size of key Cummulative
17 and data Instances Percentage
18 ------------ ---------- -----------
58 This information is gathered to help design the new built-in
59 backend for sqlite 2.0. Note in particular that 99% of all
60 database entries have a combined key and data size of less than
61 144 bytes. So if a leaf node in the new database is able to
62 store 144 bytes of combined key and data, only 1% of the leaves
63 will require overflow pages. Furthermore, note that no key
64 is larger than 99 bytes, so if the key will never be on an
67 The average combined size of key+data is 48. Add in 16 bytes of
68 overhead for a total of 64. That means that a 1K page will
69 store (on average) about 16 entries.