Re: PostgreSQL backend process high memory usage issue

Поиск
Список
Период
Сортировка
От Shianmiin
Тема Re: PostgreSQL backend process high memory usage issue
Дата
Msg-id 1302276600400-4291173.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: PostgreSQL backend process high memory usage issue  (Shianmiin <Shianmiin@gmail.com>)
Ответы Re: PostgreSQL backend process high memory usage issue  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
Shianmiin wrote:
>
> Hi Merlin,
>
> I revised the test code with attached files and use pgbench to send the
> test queries.
>
>  http://postgresql.1045698.n5.nabble.com/file/n4290723/dotest dotest
>  http://postgresql.1045698.n5.nabble.com/file/n4290723/initialize.sql
> initialize.sql
>  http://postgresql.1045698.n5.nabble.com/file/n4290723/test.sql test.sql
>
> Samuel
>


Just want to put some descriptions on the revised test code:

1. This test is not a real life testing, it's is specifically designed to
emphasize the high memory usage issue of PostgreSQL backend process we
encountered.
2. The tests in the dotest file uses pgbench's feature to simulate 20
concurrent clients sending random queries, which will make the host memory
usage climb even faster; eventually all 20 concurrent PostgreSQL process
will all use 1.5 GB (30GB in total). To do the same tests as in the original
post, we can run

pgbench memoryusagetest -c 1 -j 1 -T180 -f test.sql

Samuel

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/PostgreSQL-backend-process-high-memory-usage-issue-tp4289407p4291173.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

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

Предыдущее
От: Jason Long
Дата:
Сообщение: Count for pagination
Следующее
От: Shianmiin
Дата:
Сообщение: Re: PostgreSQL backend process high memory usage issue