From: Om Prakash Jaiswal <op12om@yahoo.co.in>
To: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
To: Artem Tomyuk <admin@leboutique.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: [PERFORM] Connections "Startup"
Date: Wed, 23 Dec 2015 03:52:08 +0000 (UTC)
Message-ID: <714748102.2375398.1450842728534.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <567A07D9.7060401@BlueTreble.com>
References: <567A07D9.7060401@BlueTreble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Postgres is designed in this way. It can handle such problem by adopting the following steps:
1.Increase the kernal level parameters:shmmax and shmallexample for 2GB RAM size for postgres processing is below
vi /etc/sysctl.confkernel.shmmax = 2147483648
kernel.shmall = 2883584
similar way you increase the configuration paramater for half of RAM size of your machine.
2. Edit your postgresql.conf file following settings:
a. Increase the number of connection parameter.
Connection = 500
b.Effective_cache_size = 2GB
c. Shared_memory = 500MB
On Wednesday, 23 December 2015 8:04 AM, Jim Nasby <Jim.Nasby@BlueTreble.com> wrote:
On 12/22/15 2:09 AM, Pavel Stehule wrote:
>
> There was lot of bugfix releases after 9.1.2 - currently there is
> PostgreSQL 9.2.19.
I'm sure Pavel meant 9.1.19, not 9.2.19.
In any case, be aware that 9.1 goes end of life next year. You should
start planning on a major version upgrade now if you haven't already.
9.5 should release in January so you might want to wait for that version.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: op12om@yahoo.co.in, Jim.Nasby@BlueTreble.com, pavel.stehule@gmail.com, admin@leboutique.com, pgsql-admin@postgresql.org
Subject: Re: [PERFORM] Connections "Startup"
In-Reply-To: <714748102.2375398.1450842728534.JavaMail.yahoo@mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox