Search Postgresql Archives

Re: Duda sobre campo null!!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not really.  NULLs are stored in a bit field.  Each null takes up one
bit in this field, and as you add more nulls, you get more bytes each
time you go over a multiple of 8.

Also, NULLS can be indexed in postgresql now.  Older versions could
not index nulls (actually they got indexed, but the entries couldn't
be referenced properly).

2010/8/16 Lazaro Ruben Garcia Martinez <lgarciam@xxxxxxxxxxxxxxxxxx>:
> Hello everyone, I have a doubt:
> A null value in a field could affect the performance of the database??
>
> Regards.
> Thank you very much for your time.
>
> ----- "Digimer" <linux@xxxxxxxxxxx> escribió:
>> On 10-08-16 09:51 PM, Lazaro Ruben Garcia Martinez wrote:
>> > Hola a todos, desde hace mucho tiempo tengo una una duda relacionada con
>> > los campos nullos, quería saber si tanto el empleo como la presencia de
>> > los mismos ya sea en tablas pequeñas o grandes, pude afectar de alguna
>> > forma el rendimiento del sistema, ademas quisiera saber que
>> > inconvenientes puede presentar.
>> >
>> > Saludos y muchisimas gracias por su tiempo.
>>
>> Lo siento, pero esto es una lista de correo Inglés. Usted recibirá más
>> ayuda si usted puede volver a preguntar en Inglés.
>>
>> Creo que NULL no tiene resultados reales afectados. Es sólo otro estado;
>> True, False, Null.
>>
>> ------------------------
>> Google translated, sorry for the poor Spanish.
>>
>> --
>> Digimer
>> E-Mail:         linux@xxxxxxxxxxx
>> AN!Whitepapers: http://alteeve.com
>> Node Assassin:  http://nodeassassin.org
>>



-- 
To understand recursion, one must first understand recursion.

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux