~10x slower after updating docker and rebuilding postgres containers -
I've been using docker postgres for a project which was very very fast for the past year or so until updating docker and rebuilding my postgres containers.
I'm still getting very fast performance for other docker database containers (mssql, mysql), confirming it's not an issue with docker.
I'm also getting very fast performance via postgres installed directly on Windows (without docker)
I tried reinstalling Windows and my entire dev environment, which did not resolve the issue.
I've also tried some solutions online such as shm_size etc., which also did not resolve the issue.
Application tests run in about 4 seconds on Windows-installed postgres:
And run in about 40 seconds on Docker-installed postgres:
~10x slower after updating docker and rebuilding postgres containers -
I've been using docker postgres for a project which was very very fast for the past year or so until updating docker and rebuilding my postgres containers.
I'm still getting very fast performance for other docker database containers (mssql, mysql), confirming it's not an issue with docker.
I'm also getting very fast performance via postgres installed directly on Windows (without docker)
I tried reinstalling Windows and my entire dev environment, which did not resolve the issue.
I've also tried some solutions online such as shm_size etc., which also did not resolve the issue.
Application tests run in about 4 seconds on Windows-installed postgres:
And run in about 40 seconds on Docker-installed postgres:
Docker compose:
docker compose up
Running command
docker-compose.yml
to build containersDocker Inspect: