Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group