Re: [HACKERS] Does having a NULL column automatically exclude thetable from the tupleDesc cache?
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: [HACKERS] Does having a NULL column automatically exclude thetable from the tupleDesc cache? |
| Дата | |
| Msg-id | 20170215181048.nc7e5yoeieusts3d@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: [HACKERS] Does having a NULL column automatically exclude thetable from the tupleDesc cache? (Ryan Murphy <ryanfmurphy@gmail.com>) |
| Ответы |
Re: [HACKERS] Does having a NULL column automatically exclude thetable from the tupleDesc cache?
|
| Список | pgsql-hackers |
Ryan Murphy wrote: > My question kind of remains though - does that mean that having any nulls > in the tuple loses the ability to use the tupleDesc cache? and how much of > a performance impact is this? I'm sure there's a good reason why you can't > really use the cache if you have a null column, just was curious of the > implications. attcacheoff can only be set positive for fields preceding any varlena (typlen<0, but including the first such) or nullable values. I don't know how much faster it is with the cache; you can measure it if your curiosity is strong enough -- just set the first column to nullable. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера