RMAN status=ORPHAN
What is the meaning of status=ORPHAN, when i execute the command
RMAN> list incarnation of database merlinp;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
1142887 1142888 MERLINP 3538586174 ORPHAN 1 06-APR-07
My RMAN backup's are failing due to error message
MERLINP database on cathmerprddb01
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of crosscheck command at 09/23/2007 22:04:45
RMAN-12010: automatic channel allocation initialization failed
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20011: target database incarnation is not current in recovery catalog
My Target database is at
SQL> select RESETLOGS_CHANGE#, RESETLOGS_TIME from v$database;
RESETLOGS_CHANGE# RESETLOGS
1 06-APR-07
Database doesn't seems to be opened with resetlogs, yet my backups are failing.
plz help me
kumareshan
Some clues here:
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/flashptr006.htm#sthref666
You can also do
RMAN>REPORT OBSOLETE ORPHAN;
So you can:
"Restore a control file from the previous incarnation in which the changes represented in the orphan backup has not been abandoned
OR
Reset the database incarnation in current controlfile to the previous one and perform the restore"
Similar Messages
-
Hi
I want to automate a check to see if RMAN completed successfully.
I have the below query to determine if yesterdays backup completed successfully (Backup occurs at 10pm)
Can anyone verify this is a correct method of validating the RMAN backups or is there another way.
select STATUS
from v$rman_status
where ROW_TYPE='SESSION'
and OPERATION='RMAN'
and stamp = ( select max(stamp)
from v$rman_status
where ROW_TYPE='SESSION'
and OPERATION='RMAN'
and trunc(start_time) = trunc(sysdate)-1)
ThanksSource: http://www.morganslibrary.org/reference/dba_best_practices.html
SELECT start_time, end_time, input_type, input_type, status
FROM v$rman_backup_job_details
ORDER BY 1;
SELECT vbd.file#, vrbjd.start_time, vrbjd.end_time, vbd.incremental_level, vrbjd.input_type, vrbjd.status
FROM v$rman_backup_job_details vrbjd, v$backup_datafile vbd
WHERE vbd.completion_time BETWEEN vrbjd.start_time AND vrbjd.end_time
AND vrbjd.input_type <> 'ARCHIVELOG'
ORDER BY 2,1; -
V$RMAN_BACKUP_JOB_DETAILS view showing rman status running
Hi,
There is no rman session running in the database but still V$RMAN_BACKUP_JOB_DETAILS shows status as running
select SID,username, opname,to_char(START_TIME,'dd mm yyyy hh:mm:ss'),TOTALWORK, sofar, (sofar/totalwork) * 100 done,TIME_REMAINING/3600/24,
to_char(sysdate + TIME_REMAINING/3600/24,'dd mm yyyy hh:mm:ss') end_at
from v$session_longops
where totalwork > sofar
AND opname NOT LIKE '%aggregate%'
AND opname like 'RMAN%'SQL> 2 3 4 5 6
7 ;
no rows selected
SQL> select sid, CLIENT_INFO ch, seq#, event, state from v$session where program like '%rman%';
no rows selected
SQL> select SESSION_KEY,SESSION_RECID,START_TIME,END_TIME,STATUS from V$RMAN_BACKUP_JOB_DETAILS where START_TIME > sysdate-3;
SESSION_KEY SESSION_RECID START_TIM END_TIME STATUS
2853 2853 20-NOV-12 20-NOV-12 COMPLETED
2862 2862 22-NOV-12 RUNNING
2864 2864 22-NOV-12 22-NOV-12 COMPLETEDplease can anyone shed some light on it
ThanksFixed.
In my solution I grabbed the command id from the details view and then matched that with the sid in the status view
SQL> select session_key, command_id, status, time_taken_display from v$rman_backup_job_details where command_id='2012-11-27T22:30:37';
SESSION_KEY COMMAND_ID STATUS
TIME_TAKEN_DISPLAY
602 2012-11-27T22:30:37 RUNNING WITH ERRORS
16:32:53
SQL> select sid from v$rman_status where COMMAND_ID='2012-11-27T22:30:37';
SID
4
4
SQL>then I made sure I was sys, before grabbing the session info and killing the session
SQL> select user from user_users;
USER
SYS
SQL>
SQL> select sid,serial#,inst_id from gv$session where sid=4 and serial#=3;
SID SERIAL# INST_ID
4 3 2
SQL> alter system kill session '4,3,@2' immediate;
System altered.
SQL> let me know if this worked for you.
hope this helps, C -
Hi Experts,
I'm facing the following error while running my RMAN script.
Server : Sun Solaris 5.10
DB : Oracle 10gR2
RMAN> connect *********
2> connect *********
3> run
4> {
5> CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE'
6> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
7> configure device type sbt PARALLELISM 12;
8> allocate channel ch01 type sbt
9> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
10> allocate channel ch02 type sbt
11> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
12> allocate channel ch03 type sbt
13> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
14> allocate channel ch04 type sbt
15> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
16> allocate channel ch05 type sbt
17> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
18> allocate channel ch06 type sbt
19> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
20> allocate channel ch07 type sbt
21> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
22> allocate channel ch08 type sbt
23> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
24> allocate channel ch09 type sbt
25> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
26> allocate channel ch10 type sbt
27> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
28> allocate channel ch11 type sbt
29> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
30> allocate channel ch12 type sbt
31> PARMS 'ENV=(NSR_SERVER=namibia,NSR_DATA_VOLUME_POOL=KBAPS,NSR_CLIENT=kenya)' ;
32>
33> catalog controlfilecopy '/hist/archv/PRODCDRS/control_files/control_backup';
34> backup format 'ctl_%d_%s_%p_%t' controlfilecopy
'/hist/archv/PRODCDRS/control_files/control_backup';
35>
36> backup full filesperset 6 format 'fulldb_%d_%s_%p_%t' (database) ;
37> backup format 'archv_%d_%s_%p_%t' (archivelog all);
38>
39> release channel ch01;
40> release channel ch02;
41> release channel ch03;
42> release channel ch04;
43> release channel ch05;
44> release channel ch06;
45> release channel ch07;
46> release channel ch08;
47> release channel ch09;
48> release channel ch10;
49> release channel ch11;
50> release channel ch12;
51> }
52>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Recovery Manager complete.
Any input will be highly appreciated.
Thanks
~Pointer~Host:root:/orabin/rman$ lsnrctl status
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 06-OCT-2007 01:42:34
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER_RMAn
Version TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
Start Date 05-AUG-2007 13:51:59
Uptime 61 days 11 hr. 50 min. 35 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /orabin/rman/oracle/product/10.2.0/network/admin/listener.ora
Listener Log File /orabin/rman/oracle/product/10.2.0/network/log/listener_rman.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=kenya)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PRODCDRS" has 1 instance(s).
Instance "CDRS", status READY, has 1 handler(s) for this service...
Service "PRODCDRS_XPT" has 1 instance(s).
Instance "CDRS", status READY, has 1 handler(s) for this service...
Service "RMAN" has 2 instance(s).
Instance "CDRS", status UNKNOWN, has 1 handler(s) for this service...
Instance "RMAN", status READY, has 1 handler(s) for this service...
Service "RMANXDB" has 1 instance(s).
Instance "RMAN", status READY, has 1 handler(s) for this service...
Service "RMAN_XPT" has 1 instance(s).
Instance "RMAN", status READY, has 1 handler(s) for this service...
The command completed successfully
Regards,
~Pointer~ -
Oracle 11g: dbconsole ... giving very hard time
Hi guys,
I've created a db manually, now trying to create emca repository, and getting this error, any one having any idea, how to fix, I've already dropped and when trying to recreate, getting this error:
Apr 23, 2010 4:01:27 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: ORA-12541: TNS:no listener
SEVERE: Listener is not up. Start the Listener and run EM Configuration Assistant again .
Refer to the log file at /dbms/app/oracle/cfgtoollogs/emca/PROD/emca_2010_04_23_15_58_36.log for more details.
need some assistance.
Thanks.here you go ...
1.
oracle@vmoracle:oracle$ uname -a
Linux vmoracle.farmcredit-ffcb.com 2.6.18-164.11.1.el5 #1 SMP Wed Jan 6 13:26:04 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
oracle@vmoracle:oracle$
2.
no, I believe, but how to verify
3) set | grep -i ora
oracle@vmoracle:oracle$ set | grep -i ora
BDUMP=/dbms/app/oracle/diag/rdbms/hyper/hyper/trace
DBPATH=/dbms/app/oracle/product/11.1.0/db_1
EMLOG=/dbms/app/oracle/product/11.1.0/db_1/vmoracle_t11/sysman/log
HISTFILE=/home/oracle/.bash_history
HOME=/home/oracle
HOST=vmoracle
HOSTNAME=vmoracle.farmcredit-ffcb.com
LD_LIBRARY_PATH=/usr/dt:/dbms/app/oracle/product/11.1.0/db_1/lib:/usr/lib
LOGNAME=oracle
MAIL=/var/spool/mail/oracle
ORACLE_BASE=/dbms/app/oracle
ORACLE_DOC=/dbms/app/oracle/product/doc
ORACLE_HOME=/dbms/app/oracle/product/11.1.0/db_1
ORACLE_HOSTNAME=vmpawpaw
ORACLE_SCHEMA=/homedir/db_code/prod/schema
ORACLE_SID=hyper
ORACLE_TERM=sun5
ORAENV_ASK=1
ORAFORMATS=/homedir/db_code/prod/devtools/ora_tools/formats
ORATOOLS=/homedir/db_code/prod/devtools/ora_tools
PATH=/home/oracle/bin:/homedir/db_code/prod/devtools/tools:/usr/ccs/bin:/dbms/app/oracle/product/11.1.0/db_1/bin:/dbms/app/oracle/product/11.1.0/db_1/sqlplus/defaults:/bin:/usr/bin:/usr/sbin:/usr/ucb:/home/oracle/bin
PWD=/home/oracle
SQLPATH=.:/home/oracle/ORATOOLS:/homedir/db_code/prod/devtools/ora_tools/formats
TNS_ADMIN=/dbms/app/oracle/product/11.1.0/db_1/network/admin
USER=oracle
oracle@vmoracle:oracle$
4) lsnrctl status
oracle@vmoracle:oracle$ lsnrctl status
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 26-APR-2010 10:39:41
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vmpawpaw)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.7.0 - Production
Start Date 26-APR-2010 10:19:37
Uptime 0 days 0 hr. 20 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /dbms/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Listener Log File /dbms/app/oracle/diag/tnslsnr/vmoracle/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=198.10.20.78)(PORT=1521)))
Services Summary...
Service "hyper" has 1 instance(s).
Instance "hyper", status UNKNOWN, has 1 handler(s) for this service...
Service "prod" has 1 instance(s).
Instance "prod", status UNKNOWN, has 1 handler(s) for this service...
Service "rman" has 1 instance(s).
Instance "rman", status UNKNOWN, has 1 handler(s) for this service...
Service "t11" has 1 instance(s).
Instance "t11", status UNKNOWN, has 1 handler(s) for this service...
Service "webprod" has 1 instance(s).
Instance "webprod", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
oracle@vmoracle:oracle$
5) ls -l $ORACLE_HOME/bin/oracle
oracle@vmoracle:oracle$ ls -l $ORACLE_HOME/bin/oracle
-rwsr-s--x 1 oracle oinstall 196020393 Oct 29 10:41 /dbms/app/oracle/product/11.1.0/db_1/bin/oracle
oracle@vmoracle:oracle$ -
Hi
When I check lsnrctl status it shows following listener blocked. How to resolve this.
Service "clon" has 1 instance(s).
Instance "clon", status BLOCKED, has 1 handler(s) for this service...
Service "clon_XPT" has 1 instance(s).
Instance "clon", status BLOCKED, has 1 handler(s) for this service...
Service "rman" has 1 instance(s).
Instance "rman", status READY, has 1 handler(s) for this service...Actually I am doing rman cloning in same host. so clone instance in mount stage. When connecting to auxiliary database it shows following error.
ERROR
======
RMAN> connect auxiliary sys/khan@clon (khan is sysuser pwd)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-12528: TNS:listener: all appropriate instances are blocking new connections -
3750 switches list of instances to monitor
Hello,
Does anyone have a list of th main instances to monitor on cisco switches as well as their OIDs( ie: CPU, memotry,....etc)
RegardsHi 950358,
these are the few:
monitor alert log
Check for Instance & Database to be up
check for database_name,open mode, log mode, startup_time
Check for all the necessary Processes to be up like pmon smon etc
Check the processes of the Application in the server FNDLIBR etc
Check Listener processes to be up
free and used space on server
Size of the Database
Number of Tablespaces
Number of Datafiles
Number of Invalid objects
list of invalid objects
locks on db
Number of Archives generated the previous day
List the archive log generated
check for archivelogs shipped to standbydatabase (if u hav DR)
Latest redo log SCN# in Primary and Standby database
TNS Ping results to STANDBY database
Login and check the Application front end
Errored Requests submitted in the last 24 hours
Verify the managers are all running properly
Check for a sample Report (submit active users)
Check for VNC is working
Buffer Hit Ratio
Library Hit Ratio
check for number of DB users
Completed concurrent requests that have run for more than 2 hrs
Current Running Requests
Request Currently Running for more than 2Hrs
Error Concurrent Requests in the last 24 Hrs
Check database backup (RMAN) status (daily + weekly + monthly) as per your backup policy
it is better to use oem regarding automated alerts.
HTH
Regards,
Haafiz -
Hi,
does anyone knows what are representations of X$KCCDI table columns names ?
Do we have any official docs on this ?
I don't have metalink access , is there some info?I am not sure Tony but I guess, the column dimlm should be telling it some thing. But the output is not some thing which I guess you are looking for. Here is what I see from the db of mine, 10201 on Windows XP Prof SP2.
SQL> select dimlm from x$kccdi;
DIMLM
3
SQL> select dimdm from x$kccdi;
DIMDM
1
SQL> select dindf from x$kccdi;
DINDF
5
SQL>Now I guess this doesn't show the maximum number but the numbers currently we have in use for the respective type of the data. As in my db I have,
SQL> select count(*) from v$logfile;
COUNT(*)
3
SQL>
SQL> select * from V$log;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS
FIRST_CHANGE# FIRST_TIM
1 1 11 52428800 1 NO INACTIVE
827289 04-MAY-09
2 1 12 52428800 1 NO CURRENT
847513 04-MAY-09
3 1 10 52428800 1 NO INACTIVE
790268 03-MAY-09Also for the data files,
2
SQL> select count(*) from V$datafile;
COUNT(*)
5
SQL>So this strcuture IMO shows the information about what we have at the moment. To prove my point, I created one more tablespace with a single datafile and checked again.
SQL> create tablespace test_ts datafile 'e:\testts.dbf' size 1m ;
Tablespace created.
SQL> select dindf from x$kccdi;
DINDF
6
SQL> drop tablespace test_ts including contents and datafiles;
Tablespace dropped.
SQL> select dindf from x$kccdi;
DINDF
5
SQL>So I guess I am correct.
Now you said that from V$controlfile_record_section, the info about the maxlogmembers is not shown. That's correct as I have this,
SQL> select type, records_total from V$controlfile_record_section;
TYPE RECORDS_TOTAL
DATABASE 1
CKPT PROGRESS 11
REDO THREAD 8
REDO LOG 16
DATAFILE 100
FILENAME 2298
TABLESPACE 100
TEMPORARY FILENAME 100
RMAN CONFIGURATION 50
LOG HISTORY 292
OFFLINE RANGE 163
ARCHIVED LOG 28
BACKUP SET 409
BACKUP PIECE 200
BACKUP DATAFILE 282
BACKUP REDOLOG 215
DATAFILE COPY 223
BACKUP CORRUPTION 371
COPY CORRUPTION 409
DELETED OBJECT 818
PROXY COPY 249
BACKUP SPFILE 454
DATABASE INCARNATION 292
FLASHBACK LOG 2048
RECOVERY DESTINATION 1
INSTANCE SPACE RESERVATION 1055
REMOVABLE RECOVERY FILES 1000
RMAN STATUS 141
THREAD INSTANCE NAME MAPPING 8
MTTR 8
DATAFILE HISTORY 57
STANDBY DATABASE MATRIX 10
GUARANTEED RESTORE POINT 2048
RESTORE POINT 2083
34 rows selected.
SQL>And here is the trace file info,
CREATE CONTROLFILE REUSE DATABASE "ORCL10" NORESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292Okay I guess I didn't give anything useful. But I shall try to dig it more deeper and if I shall find some thing I shall update you.
Update:
I am not sure but it is possible that you are right about the column from X$KCCDI( I am just reading my demo again). But still, just have a look at X$KCCRT . As this deals with Redo Thread information, this also should have the information about the log members. Check the column, RTNLF from it. I have not edited my original reply as I want you to see it and correct me if I am wrong some where.
HTH
Aman....
Edited by: Aman.... on May 4, 2009 5:43 PM -
Rman consolidated backup status report
Hi,
I am trying to write a script which collects the backup status report from all specified servers and all databases in each server. So if i run from one server, it should log on to all servers and get database reports.
I think, i need select from rman view's.....
sample output
"DB INCR 0" dbname_server Compl: 2010-12-04 12:56 Length: 0 hr Age: .77 days
"ARCHIVELOG" dbname_server Compl: 2010-12-05 03:04 Length: 0 hr Age: .18 days
Any help is apprecieated
Edited by: 812261 on Dec 8, 2010 12:44 PM992762 wrote:
hi 812261,
I'm also in need of a similar report, can u pls share the script that you have(perl). this would be highly helpful for me.Did you notice that you were responding to a two year old thread?
Did you read Dan's comments regarding a catlog?
>
u can email that to <snip>
thanks,I've snipped out your email address in my reply. I suggest you do the same in your own post. That is unless you actually enjoy the offers to help move money out of Nigeria, and to purchase certain, umh, "enhancement" products. Putting your email address on a public forum does nothing but expose it to every spambot crawler on the planet.
Edited by: EdStevens on Mar 22, 2013 3:20 PM -
What is reason of failed status and what is solution in rman
HI
what is reason of failed status and what is solution
select status from V$BACKUP_DATAFILE_DETAILS;
INPUT_TYPE STATUS START_TIME END_TIME Minutes
DB INCR FAILED 02/11/11 11:31 02/11/11 12:23 52.6
ARCHIVELOG COMPLETED 02/11/11 15:28 02/11/11 15:28 .03
ARCHIVELOG COMPLETED 02/11/11 16:30 02/11/11 16:30 .05
ARCHIVELOG COMPLETED 02/11/11 17:03 02/11/11 17:06 3.27
DB INCR COMPLETED 02/12/11 09:54 02/12/11 10:18 24.33
DB INCR FAILED 02/14/11 11:05 02/14/11 11:42 37.05
ARCHIVELOG FAILED 02/14/11 11:51 02/14/11 12:11 20.47
DB INCR COMPLETED 02/15/11 10:51 02/15/11 11:26 34.67
DB INCR COMPLETED 02/16/11 11:59 02/16/11 12:32 33.03by rman backup my backup is successful by above command some backups are failed
what is the reason faild backup status -
RMAN's success/failure status
Version: 10gR2
For tracking/documentation purposes, we would like to know if our daily RMAN backup job was a success or failure.
I've searched Oracle documentation for views like
RC_BACKUP_CORRUPTION
RC_BACKUP_SET_DETAILS
.etc for this. But this doesn't seem to provide an accurate answer.
How do you guys track the status of your daily RMAN backups?If you are using a FULL a query like this might be enough.
(I always check the RMAN Log daily)
SELECT OPERATION, STATUS, OBJECT_TYPE, TO_CHAR(START_TIME,'MM/DD/YYYY:hh:mi:ss') as START_TIME,
TO_CHAR(END_TIME,'MM/DD/YYYY:hh:mi:ss') as END_TIME
FROM sys.V_\$RMAN_STATUS WHERE START_TIME > SYSDATE -1 AND OPERATION = 'BACKUP'
and object_type = 'DB FULL'
order by start_time desc -
friends!
I am working on two different database versions (9i and 10g). Both databases backup are being taken through RMAN. Usually, i can find the backup status in 10g through sql command but same option is not found in 9i. I am using this command in 10g for backup status either its failed or success:
SELECT JD.COMMAND_ID,JD.STATUS,JD.OUTPUT_DEVICE_TYPE,JD.START_TIME,JD.TIME_TAKEN_DISPLAY,JD.END_TIME--,JD.*
FROM V$RMAN_BACKUP_JOB_DETAILS JD;
How i can found the same information in 9i?
Quick response will highly appreciate.
regards
Irfan AhmadIrfan,
Ok. Have you checked my earlier link which i provided. Since right now i do'nt any db but :
You can query the following views:
GV_$BACKUP_ASYNC_IO VIEW
GV_$BACKUP_SYNC_IO VIEW
V_$BACKUP_ASYNC_IO VIEW
V_$BACKUP_SYNC_IO VIEW
use v$session_longops;
select round(sofar/totalwork,2) pct,
sofar,
totalwork,
message
from v$session_longops
where totalwork !=0
and sofar!=totalwork
and opname like 'RMAN%'
You can join or subquery v$session to make sure you only have active sessions queried.
If rman fails, the longops table will still show the results but they won't progress, even after rman disconnects.
select round(sofar/totalwork,2) pct,
sofar,
totalwork,
message
from v$session_longops
where totalwork !=0
and sofar!=totalwork
and opname like 'RMAN%'
and sid in (select sid from v$session where status = 'ACTIVE');
Source:http://www.orafaq.com/usenet/comp.databases.oracle.server/2006/12/28/0894.htm
Hope this help.
Girish Sharma -
RMAN backup job status not showing in OEM
Hi, I have created an RMAN backup job and scheduled it through OEM to run daily. The first run of this backup job completed today - however I do not see any entry for the job in OEM through SERVER - ORACLE SCHEDULER - JOBS
A lot of scheduler jobs are listed but not my backup job.
Has anyone else experienced this ?Duplicate post. Please do not add to this thread.
-
Orphaned status of mod_wsgi in extra
I'm not sure if it's considered appropriate to question this here, but I wonder what can/will be done with this package. It seems to have been orphaned half a year ago and while there has been only one newer release since, that release fixes a few annoying bugs in the current Arch version. As you're probably aware of, mod_wsgi is the best/recommended way of running pretty much any python web-framework. That makes it an important package, I believe, and many Arch users would appreciate it being actively maintained...
Lazar wrote:
tomk wrote:For your own use, I'm sure you are aware that you can build your own updated package using ABS.
Yes, I did.
Snowman wrote:I updated it while rebuilding it for the python rebuild. So the updated package will be in the repo whenever the python rebuild will be completed.
Great, thanks. Does this also mean that you or other dev(s) intend to maintain this package?
I'm not interested in maintaining it. I don't know about the other devs. -
Hi ,
We have observed few issue while backing up the archive logs through tapes ( Symantec Backup). Backup team told us that they are not able to see the jobs at their end running , while we are triggering the backup . Later on we find lot of rman session active in the database ( 27 RMAN Session in v$session)
I have few question :
> If there are already rman session which are in hung state , Even if we trigger the new backup , Will that complete trigger or they will also went into the hug state. ( I think new session will also goes into the hung state) . Symantec backup team said they don't have any issue at their end.
>Generally we kill the all the backup processes at OS level ( ps -ef | grep rman & ps -ef | grep backup ) , Is that possible still few RMAN session doesn't get killed from v$session. ( I am not sure about this , As per my understanding , if we kill any rman session at the OS level , it should be killed from the v$session)
Database Version : 11gR2
OS : AIX 6.1
BACKUP : Symantec backup
REgards
Sourabh GUptaHi ,
We are just trying to find the RCA for this , I have few doubts based on that I will troubleshoot this :
> If there are already rman session which are in hung state , Even if we fire the new backup , Will that complete or they will also went into the hug state. ( I think new session will also goes into the hung state) . Symantec backup team said they don't have any issue at their end.
>Generally we kill the all the backup processes at OS level ( ps -ef | grep rman & ps -ef | grep backup ) , Is that possible still few RMAN session doesn't get killed from v$session. ( I am not sure about this , As per my understanding , if we kill any rman session at the OS level , it should be killed from the v$session)
Regards
Sourabh Gupta
Maybe you are looking for
-
Magic Mouse: Double-click function
I have "secondary-click"(right) activated on the "magic mouse" and it's great if I want to open a drop-down list on a page. However, on the "mighty-mouse" which I had before, the "right-click" was set up to act as a "double-click" which was very hand
-
Hi Clever people restore after hard drive crash
Please some advice. Hard disk has crashed. Luckily under warranty so replaced and Apple re-installed my original OS X. Should I restore all my data and application though system restore on start up Installer or use migration assistant? I dont think t
-
hi firends, i need to retreive data from table and structure is it possible eg-- AAA is table having atr no BBB is strucrure in run time its having some data related to AAA table atrno i want a select query for this plz some one provide me wit
-
Importing sound into Premier Pro CS3
I have a Sony HDR-XR100 HD video camera. It saves files with an .m2ts extension. This extension is not supported by CS3. Using Sony's PMB (Picture Motion Browser), I convert the .m2ts files to .mpeg2. When I import these files into Premier, they
-
Hi Everyone, Can any one body tell me the process of the questionnaire assignment to the leads. actually i have followed the below process for the Questionnaire in the leads: 1 )I have maintained the questionnaire for the lead application in CRM_SURV