Re: multiple threads inserting into the same table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: multiple threads inserting into the same table
Дата
Msg-id 1281.1237838309@sss.pgh.pa.us
обсуждение исходный текст
Ответ на multiple threads inserting into the same table  (Brian Cox <brian.cox@ca.com>)
Список pgsql-performance
Brian Cox <brian.cox@ca.com> writes:
> The application log shows that 99652 rows are being inserted into
> relation ts_stats_transet_user_daily. 5 threads are doing the inserts.

pg_stat_activity says those five threads are doing nothing except
sitting around with open transactions.  You sure you don't have a bug on
the application side?

            regards, tom lane

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

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