Re: Joins and DELETE FROM - Mailing list pgsql-performance

From Tom Lane
Subject Re: Joins and DELETE FROM
Date
Msg-id 6359.1205006926@sss.pgh.pa.us
Whole thread Raw
In response to Re: Joins and DELETE FROM  ("Kynn Jones" <kynnjo@gmail.com>)
Responses Re: Joins and DELETE FROM
List pgsql-performance
"Kynn Jones" <kynnjo@gmail.com> writes:
> So it seems like turning off ENABLE_SEQSCAN is the way to go.

Try reducing random_page_cost a bit instead.  Also, have you got
effective_cache_size set to something that's realistic for your
machine?

One problem with this test is that your smaller tables probably fit in
memory whereas the big ones may not, so it's not a given that your test
accurately reflects how the real query will go down.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Kynn Jones"
Date:
Subject: Re: Joins and DELETE FROM
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: Joins and DELETE FROM