Skip to content
Snippets Groups Projects
Unverified Commit d8f2dfeb authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

initdb: Try fillfactor

Each item of the biflows table is updated once during its life, so leave
space for the updated entry there.
parent a011684d
No related branches found
No related tags found
No related merge requests found
......@@ -310,7 +310,7 @@ CREATE TABLE biflows (
CHECK(start_in <= stop_in),
CHECK(start_out <= stop_out),
CHECK((start_in IS NOT NULL AND stop_in IS NOT NULL) OR (start_out IS NOT NULL AND stop_out IS NOT NULL))
);
) WITH (fillfactor = 50);
CREATE SEQUENCE biflow_ids OWNED BY biflows.id;
ALTER TABLE biflows ALTER COLUMN id SET DEFAULT NEXTVAL('biflow_ids');
CREATE INDEX ON biflows (ip_remote);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment