| От | Tom Lane |
|---|---|
| Тема | Re: Performance of column order |
| Дата | |
| Msg-id | 11609.1019139889@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Performance of column order (Egon Sommer <Service@Sommer-Maschinenbau.de>) |
| Список | pgsql-general |
Egon Sommer <Service@Sommer-Maschinenbau.de> writes:
> Should I use length-variable colums like TEXT, BLOB,... alfter length-static colums like INTEGER, BOOLEAN, ...?
There is some marginal advantage to that, but I wouldn't recommend
contorting your application to do it. In particular, AFAIR it only
helps in a row that has no NULLs. (Check the heap_getattr code for
the gory details.)
> Is there a advantage to create a separate table for BLOBS and TEXT joining the main table about a primary key?
No ... TOAST more or less does that for you.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера