| От | Tom Lane |
|---|---|
| Тема | Re: [PATCH] 2PC state files on shared memory |
| Дата | |
| Msg-id | 18854.1249886722@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [PATCH] 2PC state files on shared memory (Michael Paquier <michael.paquier@gmail.com>) |
| Список | pgsql-hackers |
Michael Paquier <michael.paquier@gmail.com> writes:
> After making a lot of tests, state file size is not more than 600B.
> In some cases, it reached a maximum of size of 712B and I used such
> transactions in my tests.
I can only say that that demonstrates you didn't test very many cases.
It is trivial to generate enormous state files --- try something with
a lot of subtransactions, for example, or a lot of files created or
deleted. I remain of the opinion that asking users to estimate the
amount of shared memory needed for this patch will cripple its
usability. We learned that lesson the hard way for FSM, I see no
reason we have to fail to learn from experience.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера