Re: Optimization of this SQL sentence - Mailing list pgsql-performance

From Jim C. Nasby
Subject Re: Optimization of this SQL sentence
Date
Msg-id 20061018191734.GN85041@nasby.net
Whole thread Raw
In response to Re: Optimization of this SQL sentence  ("Merlin Moncure" <mmoncure@gmail.com>)
Responses Re: Optimization of this SQL sentence  ("Merlin Moncure" <mmoncure@gmail.com>)
List pgsql-performance
On Tue, Oct 17, 2006 at 12:51:19PM -0400, Merlin Moncure wrote:
> so, imo alexander is correct:
> contacto varchar(255)
>
> ...is a false constraint, why exactly 255? is that were the dart landed?

BTW, if we get variable-length varlena headers at some point, then
setting certain limits might make sense to keep performance more
consistent.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

pgsql-performance by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: [ADMIN] autovacuum on a -mostly- r/o table
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Optimization of this SQL sentence (SOLVED)