Re: Mnogosearch (Was: Re: website doc search is ... )

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Mnogosearch (Was: Re: website doc search is ... )
Date: 2004-01-02 03:37:43
Message-ID: 2818.1073014663@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Marc G. Fournier" <scrappy(at)postgresql(dot)org> writes:
> I'm still loading the 'WITHOUT OIDS' database ... should I expect that,
> with CLUSTERing, its performance would be slightly better yet, or would
> the difference be negligible?

I think the difference will be marginal, but worth doing; you're
reducing the row size from 40 bytes to 36 if I counted correctly,
so circa-10% I/O saving, no?

24 bytes minimum 7.4 HeapTupleHeader
4 bytes OID
12 bytes three int4 fields

On a machine with 8-byte MAXALIGN, this would not help, but on
Intel hardware it should.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marc G. Fournier 2004-01-02 03:49:13 Re: Mnogosearch (Was: Re: website doc search is ... )
Previous Message Marc G. Fournier 2004-01-02 03:22:39 Re: Mnogosearch (Was: Re: website doc search is ... )