On Tue, 2011-09-06 at 14:12 +0200, Al-Salami, Adel wrote: > I have created a warm standby successfully, everything work fine also > the applying of the archive from primary, my problem is that the > Service under windows 2008r2 doesn't start if the standby is running > (I get a start service timeout). > If I use the pg_ctl start -D D:\<my data> it will succeed however the > windows service wont start. > Using the net start to the start the service will hang and the log > file keeps on writing; > > 2011-09-06 13:52:57 CEST FATAL: the database system is starting up > > Is it normal that the Warm Standby doesn't let the service to start > under windows? > Am not sure to go live with this standby as I cannot start the > service. *Warm* standby servers don't accept connections / queries, so the message above is quite ok. If you move to PostgreSQL 9.0+, there is "hot standby" option, which lets you run read-only queries on standby server. Regards, -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
Attachment:
signature.asc
Description: This is a digitally signed message part