| От | Arnau |
|---|---|
| Тема | Re: Delete performance |
| Дата | |
| Msg-id | 43FC2A5E.4080601@andromeiberica.com обсуждение |
| Ответ на | Re: Delete performance (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Delete performance
|
| Список | pgsql-admin |
Hi all, > The usual cause of slow deletes is that (a) the table is the target of > some foreign key references from other large tables, and (b) the > referencing columns in those tables aren't indexed. This is a thing I don't understand, as far as I know the foreign keys references to primary keys and postgresql creates itself and index over the primary key, so those columns always should be indexed. Taking into account Tom's observation I'm missing something, could you explain it to all of us :) Thanks -- Arnau
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера