mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-17 21:20:37 +00:00
Reduce toast segment size to 2000
This commit is contained in:
@@ -182,6 +182,7 @@ fn run_initdb(conf: &'static PageServerConf, initdbpath: &Path) -> Result<()> {
|
||||
let initdb_output = Command::new(initdb_path)
|
||||
.args(&["-D", initdbpath.to_str().unwrap()])
|
||||
.args(&["-U", &conf.superuser])
|
||||
.args(&["-E", "utf8"])
|
||||
.arg("--no-instructions")
|
||||
// This is only used for a temporary installation that is deleted shortly after,
|
||||
// so no need to fsync it
|
||||
|
||||
@@ -16,7 +16,7 @@ use yakv::storage::{
|
||||
Value,
|
||||
};
|
||||
|
||||
const TOAST_SEGMENT_SIZE: usize = 2 * 1024;
|
||||
const TOAST_SEGMENT_SIZE: usize = 2000;
|
||||
const CACHE_SIZE: usize = 1024; // 8Mb
|
||||
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user