| От | Tom Lane |
|---|---|
| Тема | Re: How many fields in a table are too many |
| Дата | |
| Msg-id | 23551.1056824517@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: How many fields in a table are too many (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: How many fields in a table are too many
|
| Список | pgsql-general |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Alvaro Herrera wrote:
>> This means that when you do ALTER TABLE ... SET/DROP NOT NULL the table
>> may have to be completely rewritten?
> I don't think we would change any physical ordering with ALTER TABLE ---
> just do it when the table is created, if possible.
Right, I was just thinking of this as an optimization we'd apply during
initial table creation. Renumbering columns later on would be a huge
mess, far more work than the optimization is worth.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера