Re: Duda sobre campo null!!!

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Duda sobre campo null!!!
Дата
Msg-id AANLkTim8NPcULaYOu82tQu2YCOpF_Mjs_1A0+gM0BURo@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Duda sobre campo null!!!  (Lazaro Ruben Garcia Martinez <lgarciam@estudiantes.uci.cu>)
Список pgsql-general
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@estudiantes.uci.cu>:
> 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@alteeve.com> 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@alteeve.com
>> AN!Whitepapers: http://alteeve.com
>> Node Assassin:  http://nodeassassin.org
>>



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

В списке pgsql-general по дате отправления:

Предыдущее
От: Lazaro Ruben Garcia Martinez
Дата:
Сообщение: Re: Duda sobre campo null!!!
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgresql's table & index compared to that of MySQL