Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 639 Bytes

statistics-v1.md

File metadata and controls

8 lines (6 loc) · 639 Bytes

Statistics format v1

Historical statistics baseline. The current writer uses sidecar version 5; see the development upgrade guide. Statistics versions are independent of database storage v2, and this short v1 sketch is not a complete description of the current writer.

File: catalog/statistics.tbl. Protected-envelope magic MSSTAT01, version 1, kind 50. The payload stores database UUID, generation, table records and column records. Native-range lengths/counts are bounded before allocation. CRC failure, unknown reserved fields, wrong identity and trailing data are fatal.