| От | Alan Hodgson |
|---|---|
| Тема | Re: "Healing" a table after massive updates |
| Дата | |
| Msg-id | 200809111015.28612@hal.medialogik.com обсуждение исходный текст |
| Ответ на | "Healing" a table after massive updates ("Gauthier, Dave" <dave.gauthier@intel.com>) |
| Ответы |
Re: "Healing" a table after massive updates
|
| Список | pgsql-general |
On Thursday 11 September 2008, "Gauthier, Dave" <dave.gauthier@intel.com> wrote: > I have a job that loads a large table, but then has to "update" about > half the records for various reasons. My perception of what happens on > update for a particular recors is... > > - a new record will be inserted with the updated value(s). > > - The old record is marked as being obselete. > What you might consider doing is loading the data into a temp table, updating it there, then copying that data into the final destination. Depending on the indexes involved, you might even find this to be faster. -- Alan
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера