Re: INSERT performace.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: INSERT performace.
Дата
Msg-id 26916.1012108015@sss.pgh.pa.us
обсуждение исходный текст
Ответ на INSERT performace.  ("Marc Mitchell" <marcm@eisolution.com>)
Список pgsql-admin
"Marc Mitchell" <marcm@eisolution.com> writes:
> We have a fresh database and have begun to observe performance degradation
> for INSERTs as a table went from empty to 100,000-ish rows.  Initial
> INSERTs were sub second while after 30k rows, they were 1-3 seconds.

> Note that we have done NO performance tuning yet nor are there any indexes
> on the tables.

INSERT per se should be a constant-time operation: stick another tuple
on the end of the file.  There is undoubtedly something you're not
telling us about the database schema.  Foreign keys, triggers, rules,
constraints, something like that?

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: INSERT performace.
Следующее
От: "Marc Mitchell"
Дата:
Сообщение: Re: INSERT performace.