Finding the restore time of a datafile
RDBMS version: 11.2.0.4
Platform : Oracle Linux 6.4
To test our RMAN Tape backup ( Netbackup ), we created a tablespace called BACKUPTEST with only one datafile.
Then we removed the datafile. Then we succesfully restored and recovered the datafile using RMAN and tablespace was ONLINE again.
I wanted to show the evidence to my manager that the datafile has been restored. But v$datafile.CREATION_TIME will only show the time when the tablespace was initially created. Is there any other way I could find the time when datafile has been restored other than RMAN log.
Below is an excerpt after the datafile has been restored.
$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Fri Dec 19 15:08:03 2013
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select TABLESPACE_NAME, status from dba_tablespaces where tablespace_name = 'BACKUPTEST';
TABLESPACE_NAME STATUS
BACKUPTEST ONLINE
SQL> alter session set nls_date_format='DD-MM-YYYY HH24:MI';
Session altered.
SQL> select CREATION_TIME from v$datafile where FILE# = 78;
CREATION_TIME
19-12-2013 12:16
SQL> select CREATION_TIME, last_time from v$datafile where FILE# = 78;
CREATION_TIME LAST_TIME
19-12-2013 12:16
SQL>
19-12-2013 12:16 is the time when the tablespace was initially created with this datafile not the time it was restored from RMAN backup.
Look at the alert.log. It would have messages relating to the RESTORE and RECOVER actions.
Hemant K Chitale
Similar Messages
-
I am using Firefox version 3.6.13
You can find the last time a web page was visited by using the Library.
In the History menu select "Show All History" to open the Library. You can use the Library to view the history, and by default it will show the last date & time the site was visited. If the Visit Date column is not visible, within the Library select Views, then Show Columns, then Visit date to display that column. -
How to find the Latency time in java.
How to find the Latency time in java.
long start = System.currentTimeMillis();
doTheWork();
long durationInMillis = System.currentTimeMillis() - start;You might repeat doTheWork() several (100-1000 or more) times if it is fast and the granularity of your system clock is not good enough. -
Where can I find the current time and date of Time Capsule?
I have a home network consisint of 2 x Time Capsules and 1 x Airport Express. All is working fine. I would like to set up access control for one machine connecting to the network and I can see I can do this under Access Control on the Airport Utility. My question is where can I find the current time and date setting for these devices?
I can set them to use the time.apple.com server to set the time automatically, but I can't find where to see the current time and date of the device. The only place I can see reference to the time and date is on the logs and statistics under the Advanced tab of the AirPort Untility.I don't think you can change the time and date on the TC itself, it just connects to a time server (and you set your own time zone).
-
Just bought an ipad2 but cannot find the face time application after activating the ipad2
Just bought an ipad2 but cannot find the face time application after activating the ipad2
FaceTime is not available in the UAE so it is not on your iPad. It is restricted there.
-
How to find the processing time of any query?
im using oracle express edition, can anyone help me, how to find the processing time of any query?
Trace the query and tkprof the generated trace file.
http://download.oracle.com/docs/cd/E11882_01/server.112/e16638/sqltrace.htm#PFGRF01010 -
How to find the execution time of a query?
hi guys,
i need to find the execution time of a query.
i tried finding it in rsrt but couldn find the execution time.
pleasse let me know the way to do it..
regards
sagarHi sagar,
If you want to know the frontend time, first of all you need to maitain the BW Statistics. To maintain you have to go the respective target and click on it. Go to the tools, select BW Statistics of infoprovider. It pop ups a window there you find two check boxes 1) WHM and 2) Front end time. Check both.
Now Exe query and close the analyzer. Then go to SE11 table RSDDSTAT. There is one field which displays Frentend time.
OR
Go to STO3 here also you can analys the frontend time.
If you feel useful Assign Pts.
Regards,
Vishal -
How do I find the Quick time active x control?
I can run run quick time when I am the user but when my husband is the user, he gets the message"could not load or find the Quick Time Active X control.
dell Windows XPHi Pedro d,
Yes but no! I have tried everything step by step several times. Researching Error 46 on the web is scary business!! The gangsters are out in force on this one, begging to take your money! From a couple of trusted sites I have been able to make this much clear at least for Vista users, I'm using Windows 7 but I think they relate:
"Since the issue causing the Error 46 is that QuickTime registry entries don't have the correct permissions set, the repair is to go and reset all the incorrect permissions. However, this is a long and tedious process. The SubInACL tool from Microsoft (see the link in Resources) can change the permissions as a batch. The batch is defined by a CMD file that lists all of the registry keys to be changed. Once SubInACL is installed on your computer, move the CMD file with all the registry changes into the same folder, typically C:\Program Files\Windows Resource Kits\Tools. Right-click the CMD file, choose "Properties," check "Run this Program in Compatibility Mode" and select "Windows Vista (Service Pack 2)" from the drop-down menu. Click "OK." Do the same for SubInACL. When you're done, double-click on the CMD file and it will run. Your error should be gone."
I don't have the expertise to do this, do you? I wish that Apple or someone would take the bull by the horns and fix this because what I've read their are a lot of people having this problem. Any thoughts on this matter would be greatly appreciated.
Kindly,
pappy01545 -
Trouble getting QuickTime to run on Windows 7.Installation seems to finish successfully. When can try to open it I get the following error message:
Error 46: Could not load or find the Quick Time Active X control. I have reinstalled QuickTime and itunes several times but with no luck. Any suggestions?Hi Pedro d,
Yes but no! I have tried everything step by step several times. Researching Error 46 on the web is scary business!! The gangsters are out in force on this one, begging to take your money! From a couple of trusted sites I have been able to make this much clear at least for Vista users, I'm using Windows 7 but I think they relate:
"Since the issue causing the Error 46 is that QuickTime registry entries don't have the correct permissions set, the repair is to go and reset all the incorrect permissions. However, this is a long and tedious process. The SubInACL tool from Microsoft (see the link in Resources) can change the permissions as a batch. The batch is defined by a CMD file that lists all of the registry keys to be changed. Once SubInACL is installed on your computer, move the CMD file with all the registry changes into the same folder, typically C:\Program Files\Windows Resource Kits\Tools. Right-click the CMD file, choose "Properties," check "Run this Program in Compatibility Mode" and select "Windows Vista (Service Pack 2)" from the drop-down menu. Click "OK." Do the same for SubInACL. When you're done, double-click on the CMD file and it will run. Your error should be gone."
I don't have the expertise to do this, do you? I wish that Apple or someone would take the bull by the horns and fix this because what I've read their are a lot of people having this problem. Any thoughts on this matter would be greatly appreciated.
Kindly,
pappy01545 -
Performance Tuning -To find the execution time for Select Statement
Hi,
There is a program that takes 10 hrs to execute. I need tune its performance. The program is basically reading few tables like KNA1,ANLA,ANLU,ADRC etc and updates to Custom table. I did my analysis and found few performance techniques for ABAP coding.
Now my problem is, to get this object approved I need to submit the execution statistics to client.I checked both ST05 and SE30. I heard of a Tcode where we can execute a select statement and note its time, then modify and find its improved Performance. Can anybody suggest me on this.
Thanks,
Rajani.Hi,
This is documentation regarding performance analysis. Hope this will be useful
It is a general practice to use Select * from <database> This statement populates all the values of the structure in the database.
The effect is many fold:-
It increases the time to retrieve data from database
There is large amount of unused data in memory
It increases the processing time from work area or internal tables
It is always a good practice to retrieve only the required fields. Always use the syntax Select f1 f2 fn from <database>
e.g. Do not use the following statement:-
Data: i_mara like mara occurs 0 with header line.
Data: i_marc like marc occurs 0 with header line.
Select * from mara
Into table i_mara
Where matnr in s_matnr.
Select * from marc
Into table i_marc
For all entries in i_mara
Where matnr eq i_mara-matnr.
Instead use the following statement:-
Data: begin of i_mara occurs 0,
Matnr like mara-matnr,
End of i_mara.
Data: begin of i_marc occurs 0,
Matnr like marc-matnr,
Werks like marc-werks,
End of i_marc.
Select matnr from mara
Into table i_mara
Where matnr in s_matnr. -
How to find the Executed time of query
hi,
i want to find out the execution time of query like a sales report executed in 10 min. how to find out that? is there is any TC for that or what is the option to use that?
and how to fing out execution time of Data source to info providers.. or DSOs to IC? like how much time taken to load data?
regards,
preetyHello Preety,
Goto RSRT give the query name and see the technical property you will find the query generation time.
For the time taken for execution Select the execute and debug mode in the options select display statistics.
Execute the query
Click back
You can see the statistics.
Thanks
Chandran -
How to find the transport time?
Dear all,
Our inbound delivery document's delivery date calculation = Actual GI date in Outbound Delivery + transport time.
My question how do i find out the transport time? where in the outbound dlivery document state this and where in the SPRO stated the outbound dlivery time?
thanks
TuffSAP online help:
The route determines the means of transport and the legs involved. It influences transportation scheduling. For example, the system can determine from the route that goods are to be sent by rail to Boston. Therefore, during transportation scheduling, it takes into account how far in advance loading space in the freight car must be reserved.
http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/5607da545a11d1a7020000e829fd11/frameset.htm
LIKP-ROUTE is the route assigned to the delivery, it is not time. As you can see route has an impact on scheduling but it is only one factor.
Please read SAP online help about delivery scheduling:
http://help.sap.com/erp2005_ehp_05/helpdata/EN/dd/5607e7545a11d1a7020000e829fd11/frameset.htm.
I think it's better you take your time and and invest some energy in reading the help, there's no point in writing down the same again on the forum.
In customizing you can go into the definition of the route and check the help for customizing node as well as F1 help for the route-fields.
Edited by: Csaba Szommer on May 12, 2011 9:16 AM -
How to find the elapsed time between 2 events ?
I want to use the robot class and I have register all events in a file but when I use the Robot. It isn't synchronous. So I should find th elapsed time between two events for reproducing them with the method delay of the class Robot.
ThanksIt sounds like you want to reproduce the events with varying time between the events? This is a good idea for a couple of reasons 1) it's possible to enqueue events so quickly that Robot gets ahead of the Java GUI, and 2) every human does their mouse/keyboard activity at varying (and relatively slow, relative to the computer that is) rates of speed. It would help make a more realistic interaction to vary the speed of event reproduction.
Since you can't control the amount of time between the call to Robot and when the event arrives in the application, you can't be ultimately precise about this. You'll have to accept a teensy bit of slop in the process and just live with it.
That is ... you can do something like robot.method1() .. Thread.sleep(1) .. robot.method2() .. Thread.sleep(1) ... and that will give slight delays. If you vary the value for Thread.sleep you can vary the event reproduction speed. Early in the development of Robot I experimented with something like this - I set up an EventQueue listener to capture all mouse/keyboard events (remember that each comes with a timestamp) and then reproduced events using the time intervals from the captured events to control the Thread.sleep times between Robot calls. It worked pretty well, and the mouse would dance around in the same way I moved the mouse around.
- David -
How to find the exact time backup run
Hi,
I would like to know the specific date ( hour + minute) a backup was executed.
For example the output of rman command : list backup of database;
show Completion Time : 08-MAY-12 . I would like to get the exact time .
Please advice.
BS Key Type LV Size Device Type Elapsed Time Completion Time
33627 Incr 1 256.00K SBT_TAPE 00:00:05 08-MAY-12 <<<<<<======
BP Key: 33994 Status: AVAILABLE Compressed: NO Tag: TAG20120507T230332
Handle: bzq1<bzq1_inc_889661:782699508:1>.dbf Media:
List of Datafiles in backup set 33627
File LV Type Ckp SCN Ckp Time Name
279 1 Incr 8042759810240 08-MAY-12 /bzq1/oracalls_2011_data2/y0211pricing_internet04.dbf
.....ThanksI took level 0 rman database backup.
The problem is that there are also level 1 backup which seems to be run at the very same time.
For eample :
BS Key Type LV Size Device Type Elapsed Time Completion Time
31891 Incr 1 3.00M SBT_TAPE 00:01:25 07-MAY-12 <<<<<=== level 1
BP Key: 32278 Status: AVAILABLE Compressed: NO Tag: TAG20120507T230332
Handle: bzq1<bzq1_inc_889062:782696160:1>.dbf Media:
List of Datafiles in backup set 31891
File LV Type Ckp SCN Ckp Time Name
103 1 Incr 8042758295621 07-MAY-12 /bzq1/oradata3/data06_ts_17.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
31892 Incr 0 1.18G SBT_TAPE 00:00:34 07-MAY-12 <<<<<=== level 0
BP Key: 32279 Status: AVAILABLE Compressed: NO Tag: TAG20120507T200203
Handle: bzq1_full<bzq1_889069:782696225:1>.dbf Media:
List of Datafiles in backup set 31892
File LV Type Ckp SCN Ckp Time Name
528 0 Incr 8042758303427 07-MAY-12 /bzq1/oracalls_2011_data3/q311_calls_ts_10.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
31893 Incr 1 256.00K SBT_TAPE 00:01:24 07-MAY-12 <<<<<=== level 1
BP Key: 32280 Status: AVAILABLE Compressed: NO Tag: TAG20120507T230332
Handle: bzq1<bzq1_inc_889065:782696196:1>.dbf Media:
List of Datafiles in backup set 31893
File LV Type Ckp SCN Ckp Time Name
154 1 Incr 8042758299495 07-MAY-12 /bzq1/oradata5/tc_deb_cred_tb_11.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
31894 Incr 0 1.36G SBT_TAPE 00:01:55 07-MAY-12 <<<<<=== level 0
BP Key: 32281 Status: AVAILABLE Compressed: NO Tag: TAG20120507T200203
Handle: bzq1_full<bzq1_889064:782696169:1>.dbf Media:
List of Datafiles in backup set 31894
File LV Type Ckp SCN Ckp Time Name
576 0 Incr 8042758296792 07-MAY-12 /bzq1/oracalls_2012_indx1/Q112_icalls_ts_07.dbf -
After the install I can't find the Run Time
This seems ridiculous. I generated an executable with the installer (2009) and installed it on a pc and everything worked great. I now tried to install on a 2nd pc and although the N.I. Run Time folders are apparent, I can't find the button to push to get the Run Time running. Is there a main file that I should be clicking?
Solved!
Go to Solution.ahhah wrote:
This seems ridiculous. I generated an executable with the installer (2009) and installed it on a pc and everything worked great. I now tried to install on a 2nd pc and although the N.I. Run Time folders are apparent, I can't find the button to push to get the Run Time running. Is there a main file that I should be clicking?
Your statement makes little sense, maybe you can clarify it for us. (What are "N.I Run Time folders"? What is the meaning of "apparent"?, etc.)
The run-time engine is not something that needs to be started by pressing a button. All you do is run the executable applications, and it will silently and automatically find and use the correct run time engine. Could you show us a screenshot on what you are looking for?
(Also, built LabVIEW applications should not show the toolbar with the run button of the development system, because they should run when openend and close when done.)
LabVIEW Champion . Do more with less code and in less time .
Maybe you are looking for
-
Received notice that a CC update was available. Clicked to install and twice got an error message (a12e1) indicating a removal and reinstallatio was required. Ran to cleaner tool per instructions. It deleted my CS6 PS app (thanks guys) and the update
-
Cheque for Payment skipping Confirmation Screen
Hi Experts, When I print cheques (created by payment wizard), it prints and gives the next cheque number which is fine, however I don't get the Confirmation Screen and soon after I get the error message 'No matching records found 'Cheques for payment
-
i'm using a bean to capture information from user input. <jsp:usebean class= .... etc i'm confused with regards to j2ee. where is the bean kept? can i use JNDI to find the been? if so, how? any tips or advice would be appreciated owen
-
Satellite P200-1FT: 1680x1050 @ 60Hz not available on external 22" TFT
Hi, I bought a Toshiba Satellite P200-1FT some months ago (Graphic card: ATI Mobility Radeon HD2600). I wanted to use a 22" Hanns G HG216DP with its native resolution of *1680x1050px @ 60Hz* as a primary external monitor. I connected my notebook to t
-
Hi I am about to buy a new mac after 8 years as my laptop has finally died. Last time i was able to use the last liscence of some Mac Creative software that I had purchased a while ago that my mum and I had shared, however it was very old and out of