"Rajesh Kumar Mallah" <mallah.rajesh@gmail.com> writes: > Startup time of a clean shutdown database is constant. But we still > face problem when it comes to shutting down. PostgreSQL waits > for clients to finish gracefully. till date i have never been able to > shutdown > quickly (web application scenerio) and i tend to do pg_ctl -m immediate stop > mostly.
RTFM ... you should be using -m fast not -m immediate. -m immediate is for emergency situations not routine.
Thanks for correcting , -m fast works fine for me. I shall RTFM..... :) Regds mallah. regards, tom lane