Closed toydarian closed 4 months ago
The only thing I'd like to see added is a note to the docs regarding the performance, but conversations are happening inside the team to redesign the whole docs, so I'm going to add an internal ticket for us to track this little piece of doc changes to the architecture part.
This should speed up serving wal-files from the spool-directory, in case
pg_wal
and the spool-directory are on the same filesystem, as in this case the file is renamed instead of copied.If those directories are on different file-systems, this doesn't change anything, as
shutil.move
will do the same 2-step-process (copy and remove) in that case. Docs for reference.Also see ticket #943