| От | Tom Lane |
|---|---|
| Тема | Re: Array types and loading |
| Дата | |
| Msg-id | 4152.1092865161@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Array types and loading (Aaron Birkland <birkie@gmail.com>) |
| Ответы |
Re: Array types and loading
|
| Список | pgsql-performance |
Aaron Birkland <birkie@gmail.com> writes:
> In a nutshell, it looks like whenever COPY is invoked, and when a user
> defined type is used in an array, then stat64() will be called for
> each row accessed on the shared library relevant for the user defined
> type.
Let me guess ... PG 7.3 or older?
7.4 should avoid the problem because array_in() caches function lookup
information for the element type's input function across multiple calls.
In 8.0 there's also a cache at the fmgr_info() level to eliminate
repeated searches for a dynamically loaded function.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера