| От | Yusuf |
|---|---|
| Тема | Re: Deleting one record from a table taking 17s. |
| Дата | |
| Msg-id | 3EF33F22.4000801@netscape.net обсуждение исходный текст |
| Ответ на | Deleting one record from a table taking 17s. (Yusuf <yusuf0478@netscape.net>) |
| Ответы |
Re: Deleting one record from a table taking 17s.
|
| Список | pgsql-performance |
rbt@rbt.ca wrote: > On Fri, 2003-06-20 at 15:53, Yusuf wrote: > >>Why would the following query take soo long to run? What does 28.12 msec represent, since the total running time is >>16801.86 ms. > > > I'd hazard to guess that you have a whole slew of foreign keys cascading > to delete, update, or check many rows from other tables. > > Those are not represented in the explains at the moment. > That's what I thought at first, so I dropped the foreign key constraints. The table is referenced by 2 tables, one of which has around 200 000 records and the other has 0 records.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера