Unix Technical Forum

Changing max_connections without restart ?

This is a discussion on Changing max_connections without restart ? within the Pgsql Performance forums, part of the PostgreSQL category; --> Hi ! I'm looking for a way to change the "max_connections" parameter without restarting the PostGreSQL database. All the ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 09:18 AM
Jean Arnaud
 
Posts: n/a
Default Changing max_connections without restart ?

Hi !

I'm looking for a way to change the "max_connections" parameter without
restarting the PostGreSQL database.
All the docs i found online are saying that this option can only be set
on startup (-N option to comand-line) or by changing it in postgresql.conf.

Does anyone know how to do it ?

Thanks

--
-- Jean Arnaud
-- Projet SARDES
-- INRIA Rhône-Alpes / LSR-IMAG
-- Tél. : +33 (0)4 76 61 52 80


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 09:18 AM
Tom Lane
 
Posts: n/a
Default Re: Changing max_connections without restart ?

Jean Arnaud <Jean.Arnaud@inrialpes.fr> writes:
> I'm looking for a way to change the "max_connections" parameter without
> restarting the PostGreSQL database.


There is none. That's one of the parameters that determines shared
memory array sizes, and we can't change those on-the-fly.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:12 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com