| От | Josh Berkus |
|---|---|
| Тема | Re: One tuple per transaction |
| Дата | |
| Msg-id | 200503121405.20943.josh@agliodbs.com обсуждение |
| Ответ на | One tuple per transaction ("Tambet Matiisen" <t.matiisen@aprote.ee>) |
| Ответы |
Re: One tuple per transaction
|
| Список | pgsql-performance |
Tambet, > In one of our applications we have a database function, which > recalculates COGS (cost of good sold) for certain period. This involves > deleting bunch of rows from one table, inserting them again in correct > order and updating them one-by-one (sometimes one row twice) to reflect > current state. The problem is, that this generates an enormous amount of > tuples in that table. Sounds like you have an application design problem ... how about re-writing your function so it's a little more sensible? -- Josh Berkus Aglio Database Solutions San Francisco
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера