Re: Unhappy about API changes in the no-fsm-for-small-rels patch
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Unhappy about API changes in the no-fsm-for-small-rels patch |
| Дата | |
| Msg-id | 3286.1555439485@sss.pgh.pa.us обсуждение |
| Ответ на | Unhappy about API changes in the no-fsm-for-small-rels patch (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: Unhappy about API changes in the no-fsm-for-small-rels patch
|
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> I'm kinda thinking that this is the wrong architecture.
The bits of that patch that I've looked at seemed like a mess
to me too. AFAICT, it's trying to use a single global "map"
for all relations (strike 1) without any clear tracking of
which relation the map currently describes (strike 2).
This can only work at all if an inaccurate map is very fail-soft,
which I'm not convinced it is, and in any case it seems pretty
inefficient for workloads that insert into multiple tables.
I'd have expected any such map to be per-table and be stored in
the relcache.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера