-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speed up database writes with synchronous_commit=off (and full_page_write=off and fsync=off?) #77
Comments
Hi @drotheram, please assign me to this issue (and add labels, link to project, etc.) when you have time. Many thanks! Tasks:
Relevant links: Related links (to be sorted): eatmydata (no, it doesn't work with PostgreSQL
Misc: |
One place to test this during Without
With [TODO] |
Reminder (to self): Of the three parameters, only
So, if we want to set |
Issue status
Why am I keeping this issue open:
To revisit in year 2022. :-) |
2021-11-22 update: This issue was essentially fixed in PR #105 (Pipeline optimization, Sprint 34–36) merged in June 2021; see [https://github.com//issues/77#issuecomment-975802148](reasons why I am keeping this issue open for the time being]
docker-compose up --build
currently takes several hours to run. In particular, importing data into PostgreSQL database seems somewhat slow to me, apparently synchronizing to the physical disk for each single operation.It turns out there are PostgreSQL settings to optimize its speed, and some users report like 10x speed improvement for e.g. CI test runs.
The text was updated successfully, but these errors were encountered: