From: | "Mahdi Bahrami" <pgsql(at)mahdibm(dot)com> |
---|---|
To: | "Mahdi Bahrami" <pgsql(at)mahdibm(dot)com>, "Thomas Munro" <thomas(dot)munro(at)gmail(dot)com> |
Cc: | Álvaro Herrera <alvherre(at)kurilemu(dot)de>, pgsql-performance(at)lists(dot)postgresql(dot)org |
Subject: | Re: Database creation performance drop going from pg 14 to pg 15+ |
Date: | 2025-06-05 18:25:04 |
Message-ID: | 2ba6b290-8322-4c48-a6a1-65409220d1c3@app.fastmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Here's what the OP of the PostgresNIO issue has mentioned about what performance impact usage of `file_copy` has in his setup (https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/pull/3812)
`Series: Default Strategy
Suite AllTests passed after 5.081 seconds
Suite AllTests passed after 5.274 seconds
Suite AllTests passed after 5.306 seconds
Suite AllTests passed after 5.224 seconds
Suite AllTests passed after 6.343 seconds
Suite AllTests passed after 5.450 seconds
Series: file_copy Strategy
Suite AllTests passed after 4.729 seconds
Suite AllTests passed after 4.755 seconds
Suite AllTests passed after 4.739 seconds
Suite AllTests passed after 4.772 seconds
Suite AllTests passed after 4.866 seconds
Suite AllTests passed after 4.855 seconds`
This is them running the tests in parallel multiple times with and without file_copy, just to benchmark.
Overall ~0.5-6s / ~10% speedup, which isn't too significant at this level, but is still a noticeable relative improvement.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2025-06-05 18:57:10 | Re: Poor row estimates from planner, stat `most_common_elems` sometimes missing for a text[] column |
Previous Message | Frédéric Yhuel | 2025-06-05 17:09:06 | Re: Poor row estimates from planner, stat `most_common_elems` sometimes missing for a text[] column |