Re: shared-buffers set to 24GB but the RAM only use 4-5 GB average
От | Igor Neyman |
---|---|
Тема | Re: shared-buffers set to 24GB but the RAM only use 4-5 GB average |
Дата | |
Msg-id | A76B25F2823E954C9E45E32FA49D70ECCD54DC7B@mail.corp.perceptron.com обсуждение исходный текст |
Ответ на | Re: shared-buffers set to 24GB but the RAM only use 4-5 GB average (Igor Neyman <ineyman@perceptron.com>) |
Ответы |
Re: shared-buffers set to 24GB but the RAM only use 4-5 GB average
|
Список | pgsql-performance |
-----Original Message----- From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Igor Neyman Sent: Monday, October 05, 2015 2:25 PM To: FattahRozzaq <ssoorruu@gmail.com>; pgsql-performance@postgresql.org Subject: Re: [PERFORM] shared-buffers set to 24GB but the RAM only use 4-5 GB average -----Original Message----- From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of FattahRozzaq Sent: Monday, October 05, 2015 10:51 AM To: pgsql-performance@postgresql.org Subject: [PERFORM] shared-buffers set to 24GB but the RAM only use 4-5 GB average I have configured postgresql.conf with parameters as below: log_destination = 'stderr' logging_collector = on log_directory = 'pg_log' listen_addresses = '*' log_destination = 'stderr' logging_collector = on log_directory = 'pg_log' log_rotation_age = 1d log_rotation_size = 1024MB listen_addresses = '*' checkpoint_segments = 64 wal_keep_segments = 128 max_connections = 9999 max_prepared_transactions = 9999 checkpoint_completion_target = 0.9 default_statistics_target = 10 maintenance_work_mem = 1GB effective_cache_size = 64GB shared_buffers = 24GB work_mem = 5MB wal_buffers = 8MB port = 40003 pooler_port = 40053 gtm_host = 'node03' gtm_port = 10053 As you can see, I have set the shared_buffers to 24GB, but my server still only use 4-5 GB average. I have 128GB RAM in a single server. My database has 2 tables: - room (3GB size if pg_dump'ed) - message (17GB if pg_dump'ed) The backend application is a messaging server, in average there will be 40-180 connections to the postgres Server. The traffic is quite almost-heavy. How to make postgres-xl effectively utilizes the resource of RAM for 9999 max_connections? Thanks, FattahRozzaq ____________________________________ Why are you looking at memory consumption? Are you experiencing performance problems? Regards, Igor Neyman _______________________ Also, Postgres-xl has it's own mailing lists: http://sourceforge.net/p/postgres-xl/mailman/ Regards, Igor Neyman
В списке pgsql-performance по дате отправления: