Re: Linux/PostgreSQL scalability issue - problem with 8 cores
В списке pgsql-performance по дате отправления:
| От | Jakub Ouhrabka |
|---|---|
| Тема | Re: Linux/PostgreSQL scalability issue - problem with 8 cores |
| Дата | |
| Msg-id | 478CD535.6030004@comgate.cz обсуждение исходный текст |
| Ответ на | Re: Linux/PostgreSQL scalability issue - problem with 8 cores (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Linux/PostgreSQL scalability issue - problem with 8 cores
|
| Список | pgsql-performance |
> Huh. One transaction truncating a dozen tables? That would match the > sinval trace all right ... It should be 4 tables - the shown log looks like there were more truncates? > You might be throwing the baby out with the bathwater, > performance-wise. Yes, performance was the initial reason to use truncate instead of delete many years ago. But today the truncated tables usualy contain exactly one row - quick measurements now show that it's faster to issue delete instead of truncate in this case. Again, many thanks for your invaluable advice! Kuba
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера