From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Atul Kumar <akumar14871(at)gmail(dot)com> |
Cc: | o1bigtenor <o1bigtenor(at)gmail(dot)com>, Ron <ronljohnsonjr(at)gmail(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Accounting for between table correlation |
Date: | 2021-01-15 15:55:05 |
Message-ID: | CAKFQuwbLeaBadM5cV3zkrXbHe7Y7TS=xR2cNY-ftL6hpoWTjsQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, Jan 15, 2021 at 8:44 AM Atul Kumar <akumar14871(at)gmail(dot)com> wrote:
> Hi Ron,
>
> I have a simple mindset that If I don’t know about something about
> anyone’s query I don’t respond.
>
> Please start learning to not to interrupt or raising useless questions/
> phrases on someone’s query bcz it makes you judgemental.
>
> So please take an advice to not to interrupt if you can’t help. It would
> be helpful for all of us.
>
This advice isn't all that helpful as it presumes that the author of the
response actually understands that what they are writing is not helpful.
That isn't always obvious to the writer, and if it was it probably would
not have been written. Instead, if you find a piece of advice to be
unhelpful, and feel the need to say so, be explicit about why you believe
the response was not helpful.
As to the question at hand - it is correct that "analyze" being run or not
doesn't really matter here - PostgreSQL doesn't have cross-table statistics
that can be updated. That is about the most one can glean from the limited
information the OP provided. Now, if you can place the columns on the same
table, say in a materialized view, and then use the somewhat recent
multi-column statistics feature, there is probably room for improvement.
Otherwise, the question is basically an open-ended one and maybe someone
responds with some rules-of-thumb, or maybe they don't.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Atul Kumar | 2021-01-15 15:56:12 | Re: Best tools to monitor and fine tune postgres |
Previous Message | Atul Kumar | 2021-01-15 15:44:01 | Re: Accounting for between table correlation |