Re: Optimization of this SQL sentence

From: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Mario Weilguni <mweilguni(at)sime(dot)com>, pgsql-performance(at)postgresql(dot)org, Alexander Staubo <alex(at)purefiction(dot)net>, Ruben Rubio <ruben(at)rentalia(dot)com>
Subject: Re: Optimization of this SQL sentence
Date: 2006-10-18 19:17:34
Message-ID: 20061018191734.GN85041@nasby.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jim C. Nasby 2006-10-18 19:19:01 Re: Optimization of this SQL sentence (SOLVED)
Previous Message Jim C. Nasby 2006-10-18 19:10:27 Re: [PERFORM] autovacuum on a -mostly- r/o table