{"id":"leaf-entry-cost-is-variable","text":"Each leaf entry costs `4 + len(key_bytes) + len(value_bytes)` bytes (2B key length + key + 2B value length + value), so maximum keys per page depends on actual data sizes, not just a fixed `max_keys` count.","truth_value":"IN","source":"entries/2026/05/29/topic-page-overflow-and-split-mechanics.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"leaf-entry-cost-is-variable","truth_value":"IN","reason":"premise"}]}}