-
Notifications
You must be signed in to change notification settings - Fork 26
Pre-tune PostgreSQL for CircleCI & test with 15.2 [release] #67
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
Conversation
@FelicianoTech Looks good to me in principle. Do we have any benchmarks on this? Perhaps |
@BytesGuy No benchmarks. How do you use |
@FelicianoTech This is what I used to test if ram disks would make any performance difference. Off the top of my head this will create a database and populate it, then simulator a load of clients running multiple queries
It might help with some finer tuning :) |
i think the changes themselves are fine, but i'm not sure what the benchmarking would be used for specifically in this case; are we looking for any specific increases in performance with |
after investigating this issue further:
|
|
Closes #47 |
@JalexChen This looks good to merge 👍 |
Can we add these parameters to postgres config fsync=off |
This PR attempts to pre-tune PostgreSQL. Part of the point of this is to help solve problems like #47 since we can't dynamically change my PG settings.
This PR also builds the new PG v15.2 image as a way to test these changes.
Whether this is merged or not, we need to build v15.2 and other new releases though if we merge this, those releases should come after.
Also, if this works, we should determine how far back to make the change. The requester in #47 seems to be using 11.x so not recent.