Re: Table partitioning for maximum speed?

From: Joe Conway <mail(at)joeconway(dot)com>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: Jeff Boes <jboes(at)nexcerpt(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Table partitioning for maximum speed?
Date: 2003-10-10 21:01:56
Message-ID: 3F871E44.4030104@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruno Wolff III wrote:
> The data format change suggested by someone else may be worth trying
> as well. In addition to their suggestions, you might experiment with
> keeping the hash in either 4 ints or 2 bigints. If you use bigints,
> you could probably just use an index on one of the bigints and have
> only a small chance of finding more than one row that matches.
>

This is an interesting idea. Alternatively just use bytea and store the
16 bytes directly (i.e. no hex or base64 encoding). There is b-tree
index support for bytea.

Joe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Busby 2003-10-10 21:04:51 Index/Foreign Key Question
Previous Message Greg Stark 2003-10-10 20:42:25 Re: Table partitioning for maximum speed?