Re: what's the slowest part in the SQL - Mailing list pgsql-performance

From Tom Lane
Subject Re: what's the slowest part in the SQL
Date
Msg-id 14676.1470794265@sss.pgh.pa.us
Whole thread Raw
In response to Re: what's the slowest part in the SQL  (Suya Huang <shuang@connexity.com>)
Responses Re: what's the slowest part in the SQL
List pgsql-performance
Suya Huang <shuang@connexity.com> writes:
> Thank you Tom very much, that’s the piece of information I miss.
> So, should I expect that the nested loop join would be much faster if I cache both tables (use pg_prewarm) into
memoryas it waives the disk read? 

pg_prewarm is not going to magically fix things if your table is bigger
than RAM, which it apparently is.

            regards, tom lane


pgsql-performance by date:

Previous
From: Suya Huang
Date:
Subject: Re: what's the slowest part in the SQL
Next
From: Suya Huang
Date:
Subject: Re: what's the slowest part in the SQL