"Rajesh Kumar Mallah" <mallah.rajesh@xxxxxxxxx> 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. regards, tom lane