Re: Table partitioning for maximum speed?

From: Jean-Luc Lachance <jllachan(at)nsd(dot)ca>
To: Vivek Khera <khera(at)kcilink(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Table partitioning for maximum speed?
Date: 2003-10-14 14:14:57
Message-ID: 3F8C04E1.1DA24ACB@nsd.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I was replying to the general comment that PG cannot profit from having
patitioned tables.

Vivek Khera wrote:
>
> >>>>> "JL" == Jean-Luc Lachance <jllachan(at)nsd(dot)ca> writes:
>
> JL> BULL.
> JL> How many times does PG have to scan the whole table because of MVCC?
> JL> At least with partitioning there is a fighting chance that that won't be
> JL> necessary.
>
> Huh? His specific query was "WHERE md5 = '....'". Why on earth would
> that force a sequence scan if it were an indexed column? Heck, the
> btree index should rule out 15/16ths of the rows after the first
> character comparison.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-10-14 14:35:06 Re: [SQL] SQL query problem (many table in FROM statement and many LEFT JOIN's)
Previous Message Jean-Luc Lachance 2003-10-14 14:09:32 Re: Table partitioning for maximum speed?