| От | ptjm@interlog.com (Patrick TJ McPhee) |
|---|---|
| Тема | Re: Performance Question |
| Дата | |
| Msg-id | 4feqriF1itp3nU1@uni-berlin.de обсуждение исходный текст |
| Ответ на | Performance Question (Terry Lee Tucker <terry@esc1.com>) |
| Список | pgsql-general |
In article <200606141557.37321.terry@esc1.com>, Terry Lee Tucker <terry@esc1.com> wrote: % elements of 50 thousand records on 8 structurally identical databases. We % threw together the script and decided to just delete the record and re-insert % it with the data that was brought into sync. Now the question: Is it just as % fast to do it this way, or is there some hidden advantage to performing an % update? If you have foreign key relationships to the table being updated, then deleting from that table will often be slower than updating. -- Patrick TJ McPhee North York Canada ptjm@interlog.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера