Issue follows#172 Always put PGDATA to "normal" filesystem
Goals
Avoid performance overhead (measured in https://gitlab.com/postgres-ai-team/nancy/issues/167) of having PGDATA "inside" Docker container – always put it "outside", in a mapped via option -v
directory.
Implementation details / TODO
Priority 1: on local!
-
Use some default value, to allow omitting this option when running Nancy, but at the same time having PGDATA outside container, in a place where chances to have out-of-disk-space problem are potentially not high ( ❓ discussion might be needed). -
It also must not conflict with concurrent experimental runs (other Nancy CLI calls).
Acceptance criterie
Working with Nancy CLI, I am sure that PGDATA is not placed inside docker container, on OverlayFS, causing performance issues. If needed, I can specify (using --pgdata-dir
option) concrete directory where PGDATA will be placed during experimental run.