Re: Fwd: temp_file_limit?

From: Frits Jalvingh <jal(at)etc(dot)to>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Fwd: temp_file_limit?
Date: 2022-12-19 20:10:27
Message-ID: CAKhTGFU_rD30K8M5=AzT6z-VLqR7LdQF1VzgST0zP=ML7gOpKA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

@justin

I tried the create statistics variant and that definitely improves the
estimate, and with that one of the "bad" cases (the one with the 82 minute
plan) now creates a good plan using only a few seconds.
That is a worthwhile path to follow. A bit hard to do, because those
conditions can be anything, but I can probably calculate the ones used per
customer and create those correlation statistics from that... It is
definitely better than tweaking the "poor man's query hints" enable_xxxx
8-/ which is really not helping with plan stability either.

That will be a lot of work, but I'll let you know the results ;)

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Frits Jalvingh 2022-12-19 20:32:33 Re: Fwd: temp_file_limit?
Previous Message Thomas Munro 2022-12-19 20:07:48 Re: Fwd: temp_file_limit?