Re: global temporary table (GTT) - are there some ideas how to implement it?
| От | Pavel Stehule |
|---|---|
| Тема | Re: global temporary table (GTT) - are there some ideas how to implement it? |
| Дата | |
| Msg-id | CAFj8pRDpWgQ3=eR037O1GrocqTrTBFxiBuk4_zQf_hCK+K4xaw@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: global temporary table (GTT) - are there some ideas how to implement it? (Konstantin Knizhnik <knizhnik@garret.ru>) |
| Ответы |
Re: global temporary table (GTT) - are there some ideas how to implement it?
|
| Список | pgsql-hackers |
Hi
I do not completely understand how partitioning of system tables can
solve this problem.
Do you propose that each backend has its own (private) partition?
It seems to be impossible and can cause even worse catalog bloating
(instead of one temp table we will have to create temp partitions for
multiple system tables).
yes - but what is important - each backend has its own global temp partitions. Then almost all metadata will be static and only statistic related will be temporary.
The backend related partitions have to be of global temp table, not local temp table (only then it makes sense).
The main target is removing bloat from the system catalog, and it is impossible without storing system data to GTT.
В списке pgsql-hackers по дате отправления: