Re: Need to update all my 60 million rows at once without transactional integrity
В списке pgsql-general по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Need to update all my 60 million rows at once without transactional integrity |
| Дата | |
| Msg-id | 20080423130429.GD4768@alvh.no-ip.org обсуждение исходный текст |
| Ответ на | Need to update all my 60 million rows at once without transactional integrity (christian_behrens@gmx.net) |
| Ответы |
Re: Need to update all my 60 million rows at once without transactional integrity
|
| Список | pgsql-general |
christian_behrens@gmx.net wrote: > How can I make a Update of a column in a very large table for all rows > without using the double amount of disc space and without any need for > atomic operation? > > I have a very large table with about 60 million rows. I sometimes need > to do a simple update to ALL rows that resets a status-flag to zero. Perhaps you should rethink your data model. > I would really like to kind of "skip transactions". Of course basic > data integrity in on disc structures, but not atomicy for this bulk > update! There is no such thing on Postgres as "not a transaction". -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера