Skip to content
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

Use memfs for PostgreSQL #756

Open
moltar opened this issue Apr 20, 2024 · 3 comments
Open

Use memfs for PostgreSQL #756

moltar opened this issue Apr 20, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@moltar
Copy link

moltar commented Apr 20, 2024

By setting this:

PG_DATA: /dev/shm/pgdata/data

We could use memfs, and then speed up the container.

Other options and ideas for the test speed-ups:

I've been running tests for years with these options, without any known side effects:

-c shared_buffers=128MB -c fsync=off -c synchronous_commit=off -c full_page_writes=off
@cristianrgreco
Copy link
Collaborator

Hi @moltar. Interesting, thanks for the info.

Feel free to raise a PR and if tests pass I don't see any issue in merging.

@cristianrgreco cristianrgreco added the enhancement New feature or request label Apr 28, 2024
@moltar
Copy link
Author

moltar commented Apr 29, 2024 via email

@cristianrgreco
Copy link
Collaborator

@moltar Sure

@cristianrgreco cristianrgreco added the good first issue Good for newcomers label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants