Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Server > Re: DBPITR and ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 14 Topic 16497 of 17248
Post > Topic >>

Re: DBPITR and ORA-16005 Error: database requires recovery.

by "gbahut@[EMAIL PROTECTED] " <gbahut@[EMAIL PROTECTED] > May 2, 2008 at 12:53 PM

Hi  David,
 I don't think I understand. I was using the value of CURRENT_SCN from
V$DATABASE to identify the target SCN in the DBPITR process.

If I query my database :
SQL> SELECT CURRENT_SCN, CHECKPOINT_CHANGE# , RESETLOGS_CHANGE#  FROM V
$DATABASE;

CURRENT_SCN CHECKPOINT_CHANGE# RESETLOGS_CHANGE#
----------- ------------------ -----------------
 8279191460         8279155540        8279155539

So CHECKPOINT_CHANGE# and RESETLOGS_CHANGE# are almost the same and
lower than CURRENT_SCN.

If I force a checkpoint global and query again:
SQL> alter system checkpoint global;
System altered.
SQL> SELECT CURRENT_SCN, CHECKPOINT_CHANGE# , RESETLOGS_CHANGE#  FROM V
$DATABASE;

CURRENT_SCN CHECKPOINT_CHANGE# RESETLOGS_CHANGE#
----------- ------------------ -----------------
 8279192016         8279192003        8279155539

Now, CHECKPOINT_CHANGE# and CURRENT_SCN are almost the same while
RESETLOGS_CHANGE# remains constant to the SCN were the last RESETLOGS
took place.

I am afraid that using RESETLOGS_CHANGE# in a DBPITR where I want to
take the database up to a recent SCN will not be very helpful. Maybe I
miss something, could you please explain what you mean?

Thanks,

Gonzalo.
 




 14 Posts in Topic:
DBPITR and ORA-16005 Error: database requires recovery.
"gbahut@[EMAIL PROTE  2008-05-02 10:04:37 
Re: DBPITR and ORA-16005 Error: database requires recovery.
"fitzjarrell@[EMAIL   2008-05-02 10:26:27 
Re: DBPITR and ORA-16005 Error: database requires recovery.
"gbahut@[EMAIL PROTE  2008-05-02 12:53:43 
Re: DBPITR and ORA-16005 Error: database requires recovery.
"fitzjarrell@[EMAIL   2008-05-02 13:57:38 
Re: DBPITR and ORA-16005 Error: database requires recovery.
vitalisman@[EMAIL PROTECT  2008-05-05 00:52:25 
Re: DBPITR and ORA-16005 Error: database requires recovery.
"gbahut@[EMAIL PROTE  2008-05-05 01:00:48 
Re: DBPITR and ORA-16005 Error: database requires recovery.
vitalisman@[EMAIL PROTECT  2008-05-05 01:29:38 
Re: DBPITR and ORA-16005 Error: database requires recovery.
tim2boles@[EMAIL PROTECTE  2008-05-05 07:25:03 
Re: DBPITR and ORA-16005 Error: database requires recovery.
joel garry <joel-garry  2008-05-05 10:05:17 
Re: DBPITR and ORA-16005 Error: database requires recovery.
tim2boles@[EMAIL PROTECTE  2008-05-05 13:05:11 
Re: DBPITR and ORA-16005 Error: database requires recovery.
joel garry <joel-garry  2008-05-05 14:49:46 
Re: DBPITR and ORA-16005 Error: database requires recovery.
"gbahut@[EMAIL PROTE  2008-05-06 01:43:16 
Re: DBPITR and ORA-16005 Error: database requires recovery.
vitalisman@[EMAIL PROTECT  2008-05-06 02:14:36 
Re: DBPITR and ORA-16005 Error: database requires recovery.
"gbahut@[EMAIL PROTE  2008-05-06 05:07:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 7 0:51:48 CDT 2008.