mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-05 04:22:56 +00:00
The snapfile crate implements a snapshot file format. The format relies heavily on the bookfile crate for the structured file format, and the aversion crate for versioned data structures. The overall structure of the file looks like this: - first 4KB: bookfile header - next 8KB * N: raw page data for N pages - page index map (from page identifier to data offset) - bookfile chapter index When a SnapFile is opened for reading, the page index map is read into memory; any page can be read directly from the file from that point.
19 lines
357 B
TOML
19 lines
357 B
TOML
[workspace]
|
|
members = [
|
|
"control_plane",
|
|
"pageserver",
|
|
"postgres_ffi",
|
|
"proxy",
|
|
"walkeeper",
|
|
"workspace_hack",
|
|
"zenith",
|
|
"zenith_metrics",
|
|
"zenith_utils",
|
|
"snapfile",
|
|
]
|
|
|
|
[profile.release]
|
|
# This is useful for profiling and, to some extent, debug.
|
|
# Besides, debug info should not affect the performance.
|
|
debug = true
|