on 06-07-2007 1:15 PM
Hi,
Using the Alert log under $ORACLE_HOME/saptrace/background.
Is it possible to determine whether the database is currently in an intermediate start or stop phase.???
If it so how can i proceed the process for alert log?
with regards
vijay
Hi,
Yes u can view the status of ur db thru alertsid.log
Regards, Umesh K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay...
If you want to check the state of the Database.. you can do that with the following SQL statement..
SQL>select distinst status from v$instance;
If you have to check the alert.log.. you have to go cd /oracle/SID/saptrace/background/alert.log and then you can do either more alert.log to view the information.
I hope this answers your Question.
Regards,
Ershad Ahmed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
look for "Starting ORACLE instance" or "Completed: ALTER DATABASE CLOSE NORMAL".
Between these statements you should find things like "ALTER DATABASE OPEN" or "ALTER DATABASE CLOSE" and so on.
With that you may get quite close to find out the current state of the instance.
But much easier and more precise is just asking the instance itself:
[code]sqlplus "/as sysdba"
select status from v$instance;
STATUS
-
OPEN[/code]
KR Lars
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.