From: | "ldh(at)laurent-hasson(dot)com" <ldh(at)laurent-hasson(dot)com> |
---|---|
To: | David Rowley <dgrowleyml(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Geoghegan <pg(at)bowt(dot)ie>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org> |
Subject: | RE: Big performance slowdown from 11.2 to 13.3 |
Date: | 2021-07-22 13:37:18 |
Message-ID: | MN2PR15MB25603D3CE06C8F9C312EA58985E49@MN2PR15MB2560.namprd15.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
OK. Will do another round of testing.
-----Original Message-----
From: David Rowley <dgrowleyml(at)gmail(dot)com>
Sent: Thursday, July 22, 2021 00:44
To: ldh(at)laurent-hasson(dot)com
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>; Peter Geoghegan <pg(at)bowt(dot)ie>; Justin Pryzby <pryzby(at)telsasoft(dot)com>; pgsql-performance(at)postgresql(dot)org
Subject: Re: Big performance slowdown from 11.2 to 13.3
On Thu, 22 Jul 2021 at 16:37, ldh(at)laurent-hasson(dot)com <ldh(at)laurent-hasson(dot)com> wrote:
> Seems like no cigar ☹ See plan pasted below. I changed the conf as follows:
> - hash_mem_multiplier = '2'
> - work_mem = '1GB'
> Batches: 5 Memory Usage: 2400305kB Disk Usage: 126560kB
You might want to keep going higher with hash_mem_multiplier until you see no "Disk Usage" there. As mentioned, v11 didn't spill to disk and just used all the memory it pleased. That was a bit dangerous as it could result in OOM, so it was fixed.
David
From | Date | Subject | |
---|---|---|---|
Next Message | Manoj Kumar | 2021-07-22 13:54:25 | Performance Issue on a table |
Previous Message | Justin Pryzby | 2021-07-22 12:15:59 | Re: Partitioned table statistics vs autoanalyze |