query physical standby database with dblink

bibi92
bibi92 used Ask the Experts™
on
Hello,

I try to query physical standby database with dblink for monitoring :

ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0


How can I resolve?

Thanks

Regards
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Distinguished Expert 2018

Commented:
Did you start the standby database?
Has it come up completely?

Log into the standby server and check the alert log.
Senior Oracle DBA
Commented:
As far as I know, you cannot query a physical standby if it is in managed recovery mode.  You would have to stop managed recovery and open the database read only.  Then once you are done with your queries, you restart managed recovery.

Something could have changed in recent versions that changes that, but last time I did it, that was the way it was done.
Most Valuable Expert 2012
Distinguished Expert 2018

Commented:
It depends on what Data Guard options they have.

http://www.oracle.com/us/products/database/options/active-data-guard/overview/index.html
Read-only access to a physical standby database for production workload offloading

Even if it is the 'classic', I think you would need to have the standby server properly licensed to start it up for things like 'reporting'.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial