Re: Indice en integer versus indice en char(n)

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Arturo Munive [pgsql-es-ayuda] " <arturomunive(at)gmail(dot)com>
Cc: Postgresql <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Indice en integer versus indice en char(n)
Date: 2008-07-07 14:00:37
Message-ID: 20080707140037.GC21091@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Arturo Munive [pgsql-es-ayuda] escribió:
>
>> Es lo mismo, porque char(n) es de largo variable en bytes (los "n" son
>> caracteres, que no necesariamente son de un byte cada uno).
>>
>>
> mmm por o tanto los indices mas eficientes son los que estan sobre integer.

En general, sí.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message mAyErLiNg .M. 2008-07-07 14:13:32 Ayuda con Query
Previous Message Arturo 2008-07-07 13:49:54 Re: Indice en integer versus indice en char(n)