![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to reconnect to online database? | vanitham | High Level Programming | 1 | 10-27-2007 10:29 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
DataBase Online Or Not
Hey every one,
I am new here, and work as DBA ,can I ask if there any tools can installed or command help me to know if the current DB still connected or not ? The DB that work on is so disturbing, your response are highly appreciated, Note : DB is Oracle and the OS is certain Unix. Best Regards |
|
|||||
|
Hiii...
I am also System Admin, but usually we take offline backup by taking database and Applications offline and we do something like this: We use following command : #ps -ef | grep pmon | grep -v grep #Check pmon process. and if this shows some output, that means Database is online, else it is offline..... To make database offline,we do following : 1. Get sql prompt : #sqlplus "/as sysdba" 2. Shut down database: SQL> shutdown immediate 3. Exit from sql prompt : SQL> quit And then again check "pmon" process. Hope this will help you... Cheers... Last edited by Reboot; 10-04-2008 at 05:07 PM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|