Re: Performance issue

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Performance issue
Дата
Msg-id 1064428549.20881.20.camel@jester
обсуждение исходный текст
Ответ на Performance issue  (peter <pmcgregor@advso.com>)
Список pgsql-performance
> 20,000 items            Takes on average 0.078seconds/room
> 385,000 items          Takes on average .11seconds/room
> 690,000 items          takes on average .270seconds/room
> 1,028,000 items       Takes on average .475seconds/room
>
> As can be seen the time taken to process each room increases. A commit
> occurs when a room has been copied.

It probably isn't the insert that is getting slower, but a select.
Foreign keys to growing tables will exhibit this behaviour.

Since the time is doubling with the number of items, you might want to
check for a SELECT working with a sequential scan rather than an index
scan.

Вложения

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

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: Re: Performance issue
Следующее
От: Robert Treat
Дата:
Сообщение: upping checkpoints on production server