Re: Slow delete times??

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow delete times??
Дата
Msg-id 8854.1074908674@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Slow delete times??  ("Octavio Alvarez" <alvarezp@alvarezp.ods.org>)
Список pgsql-performance
"Octavio Alvarez" <alvarezp@alvarezp.ods.org> writes:
> Please tell me if this timing makes sense to you for a Celeron 433 w/
> RAM=256MB dedicated testing server. I expected some slowness, but not this
> high.

I'll bet you have foreign keys referencing this table, and the
referencing columns do not have indexes.  PG will let you do that
... but it makes updates and deletes horribly slow.  You generally
want to add those indexes.

If they *are* indexed, check for datatype mismatches.  That's
another thing that kills performance ...

            regards, tom lane

В списке pgsql-performance по дате отправления:

Предыдущее
От: Jenny Zhang
Дата:
Сообщение: query slows under load
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: High Performance/High Reliability File system on SuSE64