Re: multiple threads inserting into the same table

Поиск
Список
Период
Сортировка
От David Wilson
Тема Re: multiple threads inserting into the same table
Дата
Msg-id e7f9235d0903231249x3dc20111yb1e280c28abf761a@mail.gmail.com
обсуждение исходный текст
Ответ на multiple threads inserting into the same table  (Brian Cox <brian.cox@ca.com>)
Список pgsql-performance
On Mon, Mar 23, 2009 at 3:34 PM, Brian Cox <brian.cox@ca.com> wrote:
> The application log shows that 99652 rows are being inserted into relation
> ts_stats_transet_user_daily. 5 threads are doing the inserts. The schema is
> lengthy, but it has a synthetic primary key (ts_id int8 not null) and the
> following constraints:

How many indexes are there on ts_stats_transset_user_daily?

Are these rows being inserted in individual insert statements, or are
they batched in some fashion?

What's the disk/cpu activity on your system look like?

--
- David T. Wilson
david.t.wilson@gmail.com

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

Предыдущее
От: Brian Cox
Дата:
Сообщение: multiple threads inserting into the same table
Следующее
От: Anne Rosset
Дата:
Сообщение: Re: Need help with one query