Confusion about recovery
Hi ,
I am new to the DBA field and I have a confusion about recovery.
The confusion is if a database is in noarchivelog mode can a database be recovered from commited changes that were there in the redo log files ?
If I provide the path name of the redo log files while using recover database using cancel will it work at all given that the database is in noarchivelog mode ?
Please help to clear my doubts..
Oracle can use the Online Redo Logs for Recovery. Normally this happens in the case of Instance Recovery (e.g. from a server crash or shutdown abort) -- where the datafiles are not restored from a prior backup.
If you restore datafiles from a prior backup, you are doing a media recovery. In NOARCHIVELOG mode, you could not have run a backup with the database OPEN, so the backup would have been run with the database SHUTDOWN or MOUNTed. At the subsequent startup, transactions would be in the online redo logs only until LGWR does a "wrap around" and overwrites the first redo log used after the startup. It is only within this window that transactions are in the redo logs.+
Remember that LGWR uses a "round-robin" algorithm to cycle through the online redo logs. So, if the Online Redo Log that was CURRENT at the time of the backup has been overwritten, you cannot use the Online Redo Logs for a RECOVERy+._
You must also ensure that there are no NOLOGGING operations !!
One thing that you might trip up on is the behaviour of CTAS. A "CREATE TABLE AS SELECT" is, by default LOGGING in an ARCHIVELOG database. However, it is automatically a Direct Path operation in a NOARCHIVELOG database ! So the blocks for such a table would be "corrupt" if you attempt a recovery from the Online Redo Log as the row inserts are not captured.
Hemant K Chitale
Edited by: Hemant K Chitale on Oct 10, 2011 11:43 AM
Edited by: Hemant K Chitale on Oct 10, 2011 11:44 AM
Edited by: Hemant K Chitale on Oct 10, 2011 4:33 PM
Edited by: Hemant K Chitale on Oct 10, 2011 4:34 PM
Similar Messages
-
Confusion about recovery from tag
Hi All,
We had a situation where we need to restore and recover to point in time until 24th June. One of our colleagues at first restored the controlfile from 24th June backup using below script..
run
ALLOCATE CHANNEL c1 DEVICE TYPE SBT_TAPE PARMS 'ENV=(NB_ORA_SERV=masterhp003.xxxxx.com,NB_ORA_POLICY=ora_pacerprd01_pacerprd,NB_ORA_CLIENT=orasalxhp603),BLKSIZE=524288';
restore controlfile from 'TAG20130624T004158';
release channel c1;
After that he executed the below script to recover the database.
run
ALLOCATE CHANNEL c1 DEVICE TYPE SBT_TAPE PARMS 'ENV=(NB_ORA_SERV=masterhp003.xxxxx.com,NB_ORA_POLICY=ora_pacerprd01_pacerprd,NB_ORA_CLIENT=orasalxhp603),BLKSIZE=524288';
ALLOCATE CHANNEL c2 DEVICE TYPE SBT_TAPE PARMS 'ENV=(NB_ORA_SERV=masterhp003.xxxxx.com,NB_ORA_POLICY=ora_pacerprd01_pacerprd,NB_ORA_CLIENT=orasalxhp603),BLKSIZE=524288';
ALLOCATE CHANNEL c3 DEVICE TYPE SBT_TAPE PARMS 'ENV=(NB_ORA_SERV=masterhp003.thehartford.com,NB_ORA_POLICY=ora_pacerprd01_pacerprd,NB_ORA_CLIENT=orasalxhp603),BLKSIZE=524288';
ALLOCATE CHANNEL c4 DEVICE TYPE SBT_TAPE PARMS 'ENV=(NB_ORA_SERV=masterhp003.xxxxx.com,NB_ORA_POLICY=ora_pacerprd01_pacerprd,NB_ORA_CLIENT=orasalxhp603),BLKSIZE=524288';
set newname for datafile 1 TO '/asj_pacerqa/data01/pacerqa/datafile/system01.dbf';
set newname for datafile 2 TO 'asj_pacerqa/data01/pacerqa/datafile/sysaux01.dbf';
set newname for datafile 3 TO '/asj_pacerqa/data01/pacerqa/datafile/undotbs01.dbf';
set newname for datafile 4 TO '/asj_pacerqa/data01/pacerqa/datafile/users01.dbf';
set newname for datafile 5 TO '/asj_pacerqa/data01/pacerqa/datafile/base_idx_256k_0101.dbf';
set newname for datafile 6 TO '/asj_pacerqa/data01/pacerqa/datafile/base_idx_6400k_0101.dbf';
set newname for datafile 7 TO '/asj_pacerqa/data01/pacerqa/datafile/base_idx_6400k_0201.dbf';
set newname for datafile 8 TO '/asj_pacerqa/data01/pacerqa/datafile/base_idx_64k_0101.dbf';
set newname for datafile 9 TO '/asj_pacerqa/data01/pacerqa/datafile/base_idx_64k_0201.dbf';
set newname for datafile 10 TO '/asj_pacerqa/data01/pacerqa/datafile/base_tbl_256k_0101.dbf';
set newname for datafile 11 TO '/asj_pacerqa/data01/pacerqa/datafile/base_tbl_6400k_0101.dbf';
set newname for datafile 12 TO '/asj_pacerqa/data01/pacerqa/datafile/base_tbl_6400k_0201.dbf';
set newname for datafile 13 TO '/asj_pacerqa/data01/pacerqa/datafile/base_tbl_64k_0101.dbf';
set newname for datafile 14 TO '/asj_pacerqa/data01/pacerqa/datafile/base_tbl_64k_0201.dbf';
restore database from tag 'PACERPRD_LEVEL0_174_24';
switch datafile all;
recover database;
release channel c1;
release channel c2;
release channel c3;
release channel c4;
The tag 'PACERPRD_LEVEL0_174_24' was also from 24th datafile backup.
Please suggest whether the database was restored until 24th or it was restored to the current data.Please help us to understand.If you would look up the recover database command in the online documentation,
you would notice the following
nowhere in your code you restored the controlfile, so you are using the current controlfile
nowhere in your code you are using 'set until' and you are not using the 'until clause' of the recover database command
This means you performed complete recovery, until now.
Please spend a bit of time to read the documentation and to understand what they are taking about.
Sybrand Bakker
Senior Oracle DBA -
Confusion about recovery in nocatalog mode (Oracle 11.2.0.3)
Hi All,
Please help to understand the below scenario.
A database is running in nocatalog mode.Now the situation is that the incremental level 0 backup of the database was taken on 4th July.. since then incremental level 1 backup was taken till today i.e 19th july and in the meantime no full backup was taken..The controlfile_record_keep_time is 7 days.Now if any user asks to restore and recover the database until 15th july will that be possible ? Will the data in the conrolfile be overwritten because controlfile_record_keep_time is 7 days and no record will be shown of 4th july backup ? Please help to understand.Hi Heamant,
Blow is the output of list backup..Please help me to understand here as I was under the impression that since the control_file_record_keep_time is 3 it will keep 3 days old record and delete the old records including records of backup..
BS Key Type LV Size Device Type Elapsed Time Completion Time
1 Incr 0 80.00K DISK 00:00:00 19-JUL-13
BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20130719T065051
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_4_821170252
SPFILE Included: Modification time: 19-JUL-13
SPFILE db_unique_name: THUB
BS Key Type LV Size Device Type Elapsed Time Completion Time
2 Incr 0 33.27M DISK 00:00:02 19-JUL-13
BP Key: 2 Status: AVAILABLE Compressed: NO Tag: TAG20130719T065051
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_2_821170252
Control File Included: Ckp SCN: 12633631356657 Ckp time: 19-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
3 Incr 0 1.21G DISK 00:06:23 19-JUL-13
BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20130719T065832
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_7_821170713
List of Datafiles in backup set 3
File LV Type Ckp SCN Ckp Time Name
6 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/ctxd01.dbf
9 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/odm.dbf
10 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/olap.dbf
17 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_int02.dbf
18 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/sysaux02.dbf
19 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/sysaux03.dbf
21 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/oim1.dbf
22 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/bmc01.dbf
27 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/users_1.dbf
354 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/system11.dbf
379 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/undo01.dbf
399 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_queue01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
4 Incr 0 33.27M DISK 00:00:05 19-JUL-13
BP Key: 4 Status: AVAILABLE Compressed: NO Tag: TAG20130719T065832
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_11_821171098
Control File Included: Ckp SCN: 12633631356831 Ckp time: 19-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
5 Incr 0 80.00K DISK 00:00:00 19-JUL-13
BP Key: 5 Status: AVAILABLE Compressed: NO Tag: TAG20130719T065832
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_12_821171104
SPFILE Included: Modification time: 19-JUL-13
SPFILE db_unique_name: THUB
BS Key Type LV Size Device Type Elapsed Time Completion Time
6 Incr 0 8.31G DISK 00:08:21 19-JUL-13
BP Key: 6 Status: AVAILABLE Compressed: NO Tag: TAG20130719T065832
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_10_821170713
List of Datafiles in backup set 6
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/system01.dbf
4 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/system04.dbf
15 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind06.dbf
20 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/hig_custom_data_1.dbf
288 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/system10.dbf
295 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/system06.dbf
314 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/portal01.dbf
397 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_nolog01.dbf
400 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_media01.dbf
403 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind02.dbf
405 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind04.dbf
407 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_ref02.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
7 Incr 0 9.14G DISK 00:08:52 19-JUL-13
BP Key: 7 Status: AVAILABLE Compressed: NO Tag: TAG20130719T065832
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_8_821170713
List of Datafiles in backup set 7
File LV Type Ckp SCN Ckp Time Name
3 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/system03.dbf
8 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_queue02.dbf
16 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_ref03.dbf
351 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/system07.dbf
352 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/system09.dbf
353 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/system08.dbf
393 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind01.dbf
398 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_archive01.dbf
401 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data02.dbf
402 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data03.dbf
404 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind03.dbf
406 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind05.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
8 Incr 0 9.30G DISK 00:09:21 19-JUL-13
BP Key: 8 Status: AVAILABLE Compressed: NO Tag: TAG20130719T065832
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_9_821170713
List of Datafiles in backup set 8
File LV Type Ckp SCN Ckp Time Name
2 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/system02.dbf
5 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/system05.dbf
7 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/owad01.dbf
11 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/sysaux01.dbf
12 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/apps_ts_tools01.dbf
13 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/system12.dbf
14 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data04.dbf
28 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/hig_accounting_data_1.dbf
392 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data01.dbf
394 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_ref01.dbf
395 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_int01.dbf
396 0 Incr 12633631356831 19-JUL-13 /acac_qpip/data01/thub_restore/a_summ01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
9 Full 33.27M DISK 00:00:03 19-JUL-13
BP Key: 9 Status: AVAILABLE Compressed: NO Tag: TAG20130719T070759
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/cntrl_THUB_13_821171280
Control File Included: Ckp SCN: 12633631356831 Ckp time: 19-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
10 Incr 1 80.00K DISK 00:00:00 19-JUL-13
BP Key: 10 Status: AVAILABLE Compressed: NO Tag: TAG20130719T071519
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_17_821171720
SPFILE Included: Modification time: 19-JUL-13
SPFILE db_unique_name: THUB
BS Key Type LV Size Device Type Elapsed Time Completion Time
11 Incr 1 33.27M DISK 00:00:02 19-JUL-13
BP Key: 11 Status: AVAILABLE Compressed: NO Tag: TAG20130719T071519
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_15_821171720
Control File Included: Ckp SCN: 12633631356831 Ckp time: 19-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
12 Full 33.27M DISK 00:00:01 19-JUL-13
BP Key: 12 Status: AVAILABLE Compressed: NO Tag: TAG20130719T071523
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/cntrl_THUB_20_821171723
Control File Included: Ckp SCN: 12633631356831 Ckp time: 19-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
13 Incr 1 80.00K DISK 00:00:00 20-JUL-13
BP Key: 13 Status: AVAILABLE Compressed: NO Tag: TAG20130720T032324
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_24_821244206
SPFILE Included: Modification time: 19-JUL-13
SPFILE db_unique_name: THUB
BS Key Type LV Size Device Type Elapsed Time Completion Time
14 Incr 1 33.27M DISK 00:00:04 20-JUL-13
BP Key: 14 Status: AVAILABLE Compressed: NO Tag: TAG20130720T032324
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_22_821244206
Control File Included: Ckp SCN: 12633631527384 Ckp time: 20-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
15 Incr 1 1.30M DISK 00:05:39 20-JUL-13
BP Key: 15 Status: AVAILABLE Compressed: NO Tag: TAG20130720T032754
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_28_821244475
List of Datafiles in backup set 15
File LV Type Ckp SCN Ckp Time Name
3 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/system03.dbf
8 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_queue02.dbf
16 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_ref03.dbf
351 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/system07.dbf
352 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/system09.dbf
353 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/system08.dbf
393 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind01.dbf
398 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_archive01.dbf
401 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data02.dbf
402 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data03.dbf
404 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind03.dbf
406 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind05.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
16 Incr 1 65.79M DISK 00:05:41 20-JUL-13
BP Key: 16 Status: AVAILABLE Compressed: NO Tag: TAG20130720T032754
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_27_821244475
List of Datafiles in backup set 16
File LV Type Ckp SCN Ckp Time Name
6 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/ctxd01.dbf
9 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/odm.dbf
10 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/olap.dbf
17 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_int02.dbf
18 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/sysaux02.dbf
19 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/sysaux03.dbf
21 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/oim1.dbf
22 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/bmc01.dbf
27 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/users_1.dbf
354 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/system11.dbf
379 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/undo01.dbf
399 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_queue01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
17 Incr 1 80.00K DISK 00:00:00 20-JUL-13
BP Key: 17 Status: AVAILABLE Compressed: NO Tag: TAG20130720T032754
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_32_821244821
SPFILE Included: Modification time: 20-JUL-13
SPFILE db_unique_name: THUB
BS Key Type LV Size Device Type Elapsed Time Completion Time
18 Incr 1 33.27M DISK 00:00:02 20-JUL-13
BP Key: 18 Status: AVAILABLE Compressed: NO Tag: TAG20130720T032754
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_31_821244820
Control File Included: Ckp SCN: 12633631529457 Ckp time: 20-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
19 Incr 1 17.05M DISK 00:05:54 20-JUL-13
BP Key: 19 Status: AVAILABLE Compressed: NO Tag: TAG20130720T032754
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_30_821244475
List of Datafiles in backup set 19
File LV Type Ckp SCN Ckp Time Name
1 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/system01.dbf
4 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/system04.dbf
15 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind06.dbf
20 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/hig_custom_data_1.dbf
288 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/system10.dbf
295 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/system06.dbf
314 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/portal01.dbf
397 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_nolog01.dbf
400 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_media01.dbf
403 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind02.dbf
405 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind04.dbf
407 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_ref02.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
20 Incr 1 36.15M DISK 00:06:05 20-JUL-13
BP Key: 20 Status: AVAILABLE Compressed: NO Tag: TAG20130720T032754
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_29_821244475
List of Datafiles in backup set 20
File LV Type Ckp SCN Ckp Time Name
2 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/system02.dbf
5 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/system05.dbf
7 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/owad01.dbf
11 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/sysaux01.dbf
12 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/apps_ts_tools01.dbf
13 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/system12.dbf
14 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data04.dbf
28 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/hig_accounting_data_1.dbf
392 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data01.dbf
394 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_ref01.dbf
395 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_int01.dbf
396 1 Incr 12633631529457 20-JUL-13 /acac_qpip/data01/thub_restore/a_summ01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
21 Full 33.27M DISK 00:00:01 20-JUL-13
BP Key: 21 Status: AVAILABLE Compressed: NO Tag: TAG20130720T033407
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/cntrl_THUB_33_821244847
Control File Included: Ckp SCN: 12633631529457 Ckp time: 20-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
22 Incr 1 80.00K DISK 00:00:00 22-JUL-13
BP Key: 22 Status: AVAILABLE Compressed: NO Tag: TAG20130722T214637
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_37_821483199
SPFILE Included: Modification time: 20-JUL-13
SPFILE db_unique_name: THUB
BS Key Type LV Size Device Type Elapsed Time Completion Time
23 Incr 1 33.27M DISK 00:00:02 22-JUL-13
BP Key: 23 Status: AVAILABLE Compressed: NO Tag: TAG20130722T214637
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_35_821483199
Control File Included: Ckp SCN: 12633631529457 Ckp time: 20-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
24 Full 33.27M DISK 00:00:01 22-JUL-13
BP Key: 24 Status: AVAILABLE Compressed: NO Tag: TAG20130722T214642
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/cntrl_THUB_40_821483202
Control File Included: Ckp SCN: 12633631529457 Ckp time: 20-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
25 Incr 1 2.05M DISK 00:05:10 22-JUL-13
BP Key: 25 Status: AVAILABLE Compressed: NO Tag: TAG20130722T214958
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_41_821483399
List of Datafiles in backup set 25
File LV Type Ckp SCN Ckp Time Name
6 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/ctxd01.dbf
9 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/odm.dbf
10 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/olap.dbf
17 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_int02.dbf
18 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/sysaux02.dbf
19 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/sysaux03.dbf
21 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/oim1.dbf
22 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/bmc01.dbf
27 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/users_1.dbf
354 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/system11.dbf
379 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/undo01.dbf
399 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_queue01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
26 Incr 1 216.00K DISK 00:05:14 22-JUL-13
BP Key: 26 Status: AVAILABLE Compressed: NO Tag: TAG20130722T214958
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_42_821483399
List of Datafiles in backup set 26
File LV Type Ckp SCN Ckp Time Name
3 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/system03.dbf
8 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_queue02.dbf
16 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_ref03.dbf
351 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/system07.dbf
352 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/system09.dbf
353 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/system08.dbf
393 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind01.dbf
398 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_archive01.dbf
401 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data02.dbf
402 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data03.dbf
404 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind03.dbf
406 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind05.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
27 Incr 1 80.00K DISK 00:00:00 22-JUL-13
BP Key: 27 Status: AVAILABLE Compressed: NO Tag: TAG20130722T214958
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_46_821483715
SPFILE Included: Modification time: 20-JUL-13
SPFILE db_unique_name: THUB
BS Key Type LV Size Device Type Elapsed Time Completion Time
28 Incr 1 33.27M DISK 00:00:01 22-JUL-13
BP Key: 28 Status: AVAILABLE Compressed: NO Tag: TAG20130722T214958
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_45_821483715
Control File Included: Ckp SCN: 12633631530437 Ckp time: 22-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
29 Incr 1 16.79M DISK 00:05:23 22-JUL-13
BP Key: 29 Status: AVAILABLE Compressed: NO Tag: TAG20130722T214958
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_44_821483399
List of Datafiles in backup set 29
File LV Type Ckp SCN Ckp Time Name
1 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/system01.dbf
4 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/system04.dbf
15 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind06.dbf
20 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/hig_custom_data_1.dbf
288 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/system10.dbf
295 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/system06.dbf
314 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/portal01.dbf
397 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_nolog01.dbf
400 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_media01.dbf
403 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind02.dbf
405 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind04.dbf
407 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_ref02.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
30 Incr 1 20.19M DISK 00:05:30 22-JUL-13
BP Key: 30 Status: AVAILABLE Compressed: NO Tag: TAG20130722T214958
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_43_821483399
List of Datafiles in backup set 30
File LV Type Ckp SCN Ckp Time Name
2 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/system02.dbf
5 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/system05.dbf
7 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/owad01.dbf
11 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/sysaux01.dbf
12 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/apps_ts_tools01.dbf
13 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/system12.dbf
14 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data04.dbf
28 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/hig_accounting_data_1.dbf
392 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data01.dbf
394 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_ref01.dbf
395 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_int01.dbf
396 1 Incr 12633631530437 22-JUL-13 /acac_qpip/data01/thub_restore/a_summ01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
31 Full 33.27M DISK 00:00:01 22-JUL-13
BP Key: 31 Status: AVAILABLE Compressed: NO Tag: TAG20130722T215531
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/cntrl_THUB_47_821483731
Control File Included: Ckp SCN: 12633631530437 Ckp time: 22-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
32 Full 33.27M DISK 00:00:01 23-JUL-13
BP Key: 32 Status: AVAILABLE Compressed: NO Tag: TAG20130723T185029
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/cntrl_THUB_52_821559030
Control File Included: Ckp SCN: 12633631530437 Ckp time: 22-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
33 Full 33.30M DISK 00:00:01 23-JUL-13
BP Key: 33 Status: AVAILABLE Compressed: NO Tag: TAG20130723T185033
Piece Name: /tech/oracle/product/11.2.0.3_FAH/dbs/c-448384833-20130723-00
SPFILE Included: Modification time: 20-JUL-13
SPFILE db_unique_name: THUB
Control File Included: Ckp SCN: 12633631530437 Ckp time: 22-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
34 Full 33.27M DISK 00:00:02 23-JUL-13
BP Key: 34 Status: AVAILABLE Compressed: NO Tag: TAG20130723T185212
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/cntrl_THUB_58_821559132
Control File Included: Ckp SCN: 12633631530437 Ckp time: 22-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
35 Full 33.30M DISK 00:00:01 23-JUL-13
BP Key: 35 Status: AVAILABLE Compressed: NO Tag: TAG20130723T185214
Piece Name: /tech/oracle/product/11.2.0.3_FAH/dbs/c-448384833-20130723-01
SPFILE Included: Modification time: 20-JUL-13
SPFILE db_unique_name: THUB
Control File Included: Ckp SCN: 12633631530437 Ckp time: 22-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
36 Incr 1 128.00K DISK 00:05:16 23-JUL-13
BP Key: 36 Status: AVAILABLE Compressed: NO Tag: TAG20130723T191635
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_61_821560596
List of Datafiles in backup set 36
File LV Type Ckp SCN Ckp Time Name
3 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/system03.dbf
8 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_queue02.dbf
16 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_ref03.dbf
351 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/system07.dbf
352 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/system09.dbf
353 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/system08.dbf
393 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind01.dbf
398 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_archive01.dbf
401 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data02.dbf
402 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data03.dbf
404 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind03.dbf
406 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind05.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
37 Incr 1 4.00M DISK 00:05:19 23-JUL-13
BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20130723T191635
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_60_821560595
List of Datafiles in backup set 37
File LV Type Ckp SCN Ckp Time Name
6 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/ctxd01.dbf
9 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/odm.dbf
17 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_int02.dbf
18 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/sysaux02.dbf
19 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/sysaux03.dbf
21 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/oim1.dbf
22 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/bmc01.dbf
23 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/test1.dbf
354 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/system11.dbf
379 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/undo01.dbf
399 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_queue01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
38 Incr 1 16.77M DISK 00:05:27 23-JUL-13
BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20130723T191635
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_63_821560596
List of Datafiles in backup set 38
File LV Type Ckp SCN Ckp Time Name
1 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/system01.dbf
4 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/system04.dbf
10 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/olap.dbf
15 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind06.dbf
20 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/hig_custom_data_1.dbf
288 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/system10.dbf
295 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/system06.dbf
314 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/portal01.dbf
397 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_nolog01.dbf
400 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_media01.dbf
403 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind02.dbf
405 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_txn_ind04.dbf
407 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_ref02.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
39 Incr 1 21.27M DISK 00:05:31 23-JUL-13
BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20130723T191635
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/DB_THUB_62_821560596
List of Datafiles in backup set 39
File LV Type Ckp SCN Ckp Time Name
2 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/system02.dbf
5 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/system05.dbf
7 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/owad01.dbf
11 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/sysaux01.dbf
12 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/apps_ts_tools01.dbf
13 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/system12.dbf
14 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data04.dbf
27 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/users_1.dbf
28 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/hig_accounting_data_1.dbf
392 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_txn_data01.dbf
394 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_ref01.dbf
395 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_int01.dbf
396 1 Incr 12633631533042 23-JUL-13 /acac_qpip/data01/thub_restore/a_summ01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
40 Full 33.27M DISK 00:00:02 23-JUL-13
BP Key: 40 Status: AVAILABLE Compressed: NO Tag: TAG20130723T192211
Piece Name: /acac_qpip/data01/thub_restore/rman_bkp/cntrl_THUB_64_821560931
Control File Included: Ckp SCN: 12633631533042 Ckp time: 23-JUL-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
41 Full 33.30M DISK 00:00:01 23-JUL-13
BP Key: 41 Status: AVAILABLE Compressed: NO Tag: TAG20130723T192213
Piece Name: /tech/oracle/product/11.2.0.3_FAH/dbs/c-448384833-20130723-02
SPFILE Included: Modification time: 23-JUL-13
SPFILE db_unique_name: THUB
Control File Included: Ckp SCN: 12633631533042 Ckp time: 23-JUL-13
RMAN> -
About Recovery ....plz help
i am having a confusion about recovery....when i try to make recovery it says that "the pc will be set to factory state"...........it means does the recovery formates only C drive data or the entire drives data.
This question was solved.
View Solution.If the recovery type that you choose will format and partition only the Windoiws partition it will state that.
If you choose a factory image recovery, then the entire hard disk will have the partitions deleted, then repartitioned and formatted as appropriate in the OEM factory partition scheme as delivered.
If you choose minimal system recover then only the C: (Windows) partition will be deleted,formatted and recreated with minimal HP software.
****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
2015 Microsoft MVP - Windows Experience Consumer -
Confused about transaction, checkpoint, normal recovery.
After reading the documentation pdf, I start getting confused about it's description.
Rephrased from the paragraph on the transaction pdf:
"When database records are created, modified, or deleted, the modifications are represented in the BTree's leaf nodes. Beyond leaf node changes, database record modifications can also cause changes to other BTree nodes and structures"
"if your writes are transaction-protected, then every time a transaction is committed the leaf nodes(and only leaf nodes) modified by that transaction are written to JE logfiles on disk."
"Normal recovery, then is the process of recreating the entire BTree from the information available in the leaf nodes."
According to the above description, I have following concerns:
1. if I open a new environment and db, insert/modify/delete several million records, and without reopen the environment, then normal recovery is not run. That means, so far, the BTree is not complete? Will that affact the query efficiency? Or even worse, will that output incorrect results?
2. if my above thinking is correct, then every time I finish commiting transactions, I need to let the checkpoint to run in order to recreate the whole BTree. If my above thinking is not correct, then, that means that, I don't need to care about anything, just call transaction.commit(), or db.sync(), and let je to care about all the details.(I hope this is true :>)
michael.http://www.oracle.com/technology/documentation/berkeley-db/je/TransactionGettingStarted/chkpoint.html
Checkpoints are normally performed by the checkpointer background thread, which is always running. Like all background threads, it is managed using the je.properties file. Currently, the only checkpointer property that you may want to manage is je.checkpointer.bytesInterval. This property identifies how much JE's log files can grow before a checkpoint is run. Its value is specified in bytes. Decreasing this value causes the checkpointer thread to run checkpoints more frequently. This will improve the time that it takes to run recovery, but it also increases the system resources (notably, I/O) required by JE.
""" -
Confused about standby redo log groups
hi masters,
i am little bit confuse about creating redo log group for standby database,as per document number of standby redo group depends on following equation.
(maximum number of logfiles for each thread + 1) * maximum number of threads
but i dont know where to fing threads? actually i would like to know about thread in deep.
how to find current thread?
thanks and regards
VDis it really possible that we can install standby and primary on same host??
yes its possible and i have done it many times within the same machine.
For yours confusion about spfile ,i agree document recommend you to use spfile which is for DG broker handling if you go with DG borker in future only.
There is no concern spfile using is an integral step for primary and standby database implementation you can go with pfile but good is use spfile.Anyhow you always keep pfile on that basis you created spfile,i said you make an entry within pfile then mount yours standby database with this pfile or you can create spfile from this pfile after adding these parameter within pfile,i said cause you might be adding this parmeter from SQL prompt.
1. logs are not getting transfered(even i configure listener using net manager)
2.logs are not getting archived at standby diectory.
3.'ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION' NEVER COMPLETE ITS RECOVERY
4. when tried to open database it always note it 'always' said system datafile is not from sufficiently old backup.
5.i tried 'alter database recover managed standby database camncel' also.Read yours alert log file and paste the latest log here..
Khurram -
Hi,all . From the document ,i had confused about the following .
Automatic Undo Management in Oracle RAC
url >> http://docs.oracle.com/cd/B19306_01/rac.102/b28759/adminrac.htm#CHDGAIFJ
Oracle automatically manages undo segments within a specific undo tablespace that is assigned to an instance. Only the instance assigned to the undo tablespace can modify the contents of that tablespace. However, each instance can read the undo data blocks created by any instance. Also, when performing transaction recovery, any instance can update any undo tablespace, as long as that undo tablespace is not currently being used by another instance for undo generation or transaction recovery
what's the meaning of above that is bold ?Say you're running a 2-node RAC and node 2 dies. The services which were running on node 2 now get re-located to node 1. It is then possible that node 1 will perform transaction rollback/recovery and, when it does so, it will need to be able to read from node 2's undo tablespace (and maybe update the undo segment headers in node 2's undo tablespace, too).
-
I am confused about something. How do I read a book on my MacBook Pro? I can't find the iBook app anywhere, which is what I use on my iPad. The book I want to read is in my iTunes but I can't click on it. Some of my iBooks show up in my iTunes but they are "grayed" out. The only books that respond in iTunes are audiobooks and that's not what I'm looking for. Is this a stupid question?
Nevermind - I answered my own question, which is I CAN"T READ ANY BOOKS I purchased in iBooks on my MacBook Pro. If I want to read on my mac I have to use Kindle or Nook. Which means any book I've already purchased through iBooks has to be read on my iPad. Kind of a drag because there are times when it's more convenient for me to read while I'm sitting with my Mac.
-
Confuse about the injecting entity in EJB 3.0?
Hi all,
I have an customersBean which is inherit from customersRemote and my problem is i' am little confuse about injecting the entity(customer).
Where can you apply the EntityManagerFactory is it outside on EJB or Inside the EJB? means outside EJB is use the web application or java application. i have and example.
this is inside on EJB...............
public class CustomersBean implements com.savingsaccount.session.CustomersRemote {
@PersistenceContext(unitName="SavingAccounts")
EntityManagerFactory emf;
EntityManager em;
/** Creates a new instance of CustomersBean */
public CustomersBean() {
public void create(int id, String name, String address, String telno, String mobileno)
try{
//This is the entity.
Customer _customer = new Customer();
_customer.setId(id);
_customer.setName(name.toString());
_customer.setAddress(address.toString());
_customer.setTelno(telno.toString());
_customer.setMobileno(mobileno.toString());
em = emf.createEntityManager();
em.persist(_customer);
emf.close();
}catch(Exception ex){
throw new EJBException(ex.toString());
in web application, i'm using the @EJB in customer servlets.
public class CustomerProcessServlet extends HttpServlet {
@EJB
private CustomersRemote customerBean;
blah blah inject directly coming request field from jsp.
}Hi all,
I have an customersBean which is inherit from customersRemote and my problem is i' am little confuse about injecting the entity(customer).
Where can you apply the EntityManagerFactory is it outside on EJB or Inside the EJB? means outside EJB is use the web application or java application. i have and example.
this is inside on EJB...............
public class CustomersBean implements com.savingsaccount.session.CustomersRemote {
@PersistenceContext(unitName="SavingAccounts")
EntityManagerFactory emf;
EntityManager em;
/** Creates a new instance of CustomersBean */
public CustomersBean() {
public void create(int id, String name, String address, String telno, String mobileno)
try{
//This is the entity.
Customer _customer = new Customer();
_customer.setId(id);
_customer.setName(name.toString());
_customer.setAddress(address.toString());
_customer.setTelno(telno.toString());
_customer.setMobileno(mobileno.toString());
em = emf.createEntityManager();
em.persist(_customer);
emf.close();
}catch(Exception ex){
throw new EJBException(ex.toString());
in web application, i'm using the @EJB in customer servlets.
public class CustomerProcessServlet extends HttpServlet {
@EJB
private CustomersRemote customerBean;
blah blah inject directly coming request field from jsp.
} -
Confused about logical table source
Hi,
I'm confused about logical table source(LTS), there are 'General', 'Column Mapping', 'Content' tabs in
LTS, in General tab ,there are some information,like 'Map to there tables' and 'joins',
just here, we have created relationships in physical layer and BMM layer, so I would like to ask what's the use of the 'joins' here?Hi Alpha,
Valid query, when you establish a complex join it is always between a logical fact and dimension table.Consider a scenario,
Example:w_person_dx is an extension table not directly joined to a fact but joins to a dimension w_person_d.
When you model the person_d tables in BMM, you ll have a single logical table with w_person_d as source.If you have to pull columns from both w_person_d and w_person_dx tables in a report, you add dx table as inner join to persond table in the general tab.Now when you check your physical query, you can see the inner join fired between the two dimensions.
Rgds,
Dpka -
Confused about extending the Sprite class
Howdy --
I'm learning object oriented programming with ActionScript and am confused about the Sprite class and OO in general.
My understanding is that the Sprite class allows you to group a set of objects together so that you can manipulate all of the objects simultaneously.
I've been exploring the Open Flash Chart code and notice that the main class extends the Sprite class:
public class Base extends Sprite {
What does this enable you to do?
Also, on a related note, how do I draw, say, a line once I've extended it?
Without extending Sprite I could write:
var graphContainer:Sprite = new Sprite();
var newLine:Graphics = graphContainer.graphics;
And it would work fine. Once I extend the Sprite class, I'm lost. How do I modify that code so that it still draws a line? I tried:
var newLine:Graphics = this.graphics;
My understanding is that since I'm extending the Sprite class, I should still be able to call its graphics method (or property? I have no idea). But, it yells at me, saying "1046: Type was not found or was not a compile-time constant: Graphics.Thanks -- that helped get rid of the error, I really appreciate it.
Alas, I am still confused about the extended Sprite class.
Here's my code so far. I want to draw an x-axis:
package charts {
import flash.display.Sprite;
import flash.display.Graphics;
public class Chart extends Sprite {
// Attributes
public var chartName:String;
// Constructor
public function Chart(width:Number, height:Number) {
this.width = width;
this.height = height;
// Methods
public function render() {
drawAxis();
public function drawAxis() {
var newLine:Graphics = this.graphics;
newLine.lineStyle(1, 0x000000);
newLine.moveTo(0, 100);
newLine.lineTo(100, 100);
I instantiate Chart by saying var myChart:Chart = new Chart(); then I say myChart.render(); hoping that it will draw the axis, but nothing happens.
I know I need the addChild method somewhere in here but I can't figure out where or what the parameter is, which goes back to my confusion regarding the extended Sprite class.
I'll get this eventually =) -
Hi all,
As far as I know, SOAP is initially designed to be an XML based
RPC protocol.
But Java API for XML Messaging (JAXM), which is actually a
messaging API (and not RPC), is also based on SOAP.
How do they fit to each other?
In a few words, what does actually SOAP define?
I am confused about that, can you help me?
Any idea will be appreciated.
Thank youIn a few words -- no. Try here:
http://java.sun.com/webservices/docs/1.0/tutorial/index.html -
Confused about passing by reference and passing by valule
Hi,
I am confuse about passing by reference and passing by value. I though objects are always passed by reference. But I find out that its true for java.sql.PreparedStatement but not for java.lang.String. How come when both are objects?
ThanksHi,
I am confuse about passing by reference and passing
by value. I though objects are always passed by
reference. But I find out that its true for
java.sql.PreparedStatement but not for
java.lang.String. How come when both are objects?
ThanksPass by value implies that the actual parameter is copied and that copy is used as the formal parameter (that is, the method is operating on a copy of what was passed in)
Pass by reference means that the actual parameter is the formal parameter (that is, the method is operating on the thing which is passed in).
In Java, you never, ever deal with objects - only references to objects. And Java always, always makes a copy of the actual parameter and uses that as the formal parameter, so Java is always, always pass by value using the standard definition of the term. However, since manipulating an object's state via any reference that refers to that object produces the same effect, changes to the object's state via the copied reference are visible to the calling code, which is what leads some folk to think of java as passing objects by reference, even though a) java doesn't pass objects at all and b) java doesn't do pass by reference. It passes object references by value.
I've no idea what you're talking about wrt PreparedStatement, but String is immutable, so you can't change its state at all, so maybe that's what's tripping you up?
Good Luck
Lee
PS: I will venture a guess that this is the 3rd reply. Let's see...
Ok, second. Close enough.
Yeah, good on yer mlk, At least I beat Jos.
Message was edited by:
tsith -
PSE 7 confusion about folder location, help needed
Here's some background: I'm using PhotoShop Elements 7 on Win XP. I have an external firewire hard drive I use for overflow/backups. Originally, this showed up as a K: drive on my system.
I added a RAID controller and two more drives to stripe as a single drive for temp space rendering movies. This ended up as a K: drive and the external moved to L: However, when I did this there were some pictures from my catalog that I had on the external drive. I have used File > reconnect missing files to handle the moves, but PSE is still confused (very).
PSE has started to mix up the RAID (K:) and external (L:) content. If I move a set of pictures (e.g. a folder of them) onto the external drive (L:) via drag and drop in the folder location view, the folder will show up empty on the L: heirarchy, but will show up as a gray folder icon in the K: RAID drive hierarchy. If I open up windows explorer, the RAID drive will appear empty. In other cases (I'm not sure when/how yet), pictures physically end up on the RAID drive itself instead of the external. I have uninstalled both the external drive and the RAID drive and reinstalled them both, but they are still getting confused in the folder view by PSE. I've also tried moving content outside of PSE and just reconnecting missing files, but it still wants to put things under the K: RAID drive instead of the external L:.
I've searched everywhere I can think of for a description of what gray folder icons in the folder location view means and can find none. I'm not sure how to convince PSE that there's nothing on the RAID K: drive and it shouldn't try to connect the two. Any suggestions?
Thanks,
JimThank you! I ran psedbtool and the output shows the catalog has the wrong drive letter for the L: drive.
Is there a way to make PSE forget about the K: and L: drives that it is so confused about so that it can relearn of their existence? If I use the drive letter reassignment to fix PSE, it will break other apps that are now dependent on the current drive letter assignments. I've tried removing all files from the L: drive, but it's still remembered as part of the catalog.
Thanks,
Jim
psedbtool version 1.07
Opening catalog C:\Documents and Settings\All Users\Application Data\Adobe\Photoshop Elements\Catalogs\Moms pics\catalog.pse7db
Photoshop Elements version: 7
Total files : 4833
Total files missing : 0
Total files offline : 278
Total files wrong volume : 0
****** Volumes with warnings: 1
PSE Volume Table
Path used by PSE : F:
Type : builtin_drive
Status : online
Total files : 0
Total files missing : 0
Total files wrong volume: 0
Description : MEDIA
Serial : 1C2F-9805
Drive_path_if_builtin : F:
Id : 32520
Path used by PSE : M:
Type : builtin_drive
Status : online
Total files : 938
Total files missing : 0
Total files wrong volume: 0
Description : FreeAgent Drive
Serial : 7830-2970
Drive_path_if_builtin : M:
Id : 93626
Path used by PSE : E:
Type : builtin_drive
Status : online
Total files : 0
Total files missing : 0
Total files wrong volume: 0
Description : GAMES
Serial : 025A-4B70
Drive_path_if_builtin : E:
Id : 93625
Path used by PSE : L:
Type : builtin_drive
Status : online
Total files : 114
Total files missing : 0
Total files wrong volume: 0
Description : FreeAgent Drive
Serial : 60AE-A816
Drive_path_if_builtin : K:
Id : 31354
***** WARNING ***** : Wrong drive letter in catalog
Path used by PSE : \\dmzhost\media
Type : network_drive
Status : offline
Total files : 278
Total files missing : 0
Total files wrong volume: 0
Description : //dmzhost/media
Serial : //dmzhost/media
Drive_path_if_builtin :
Id : 26948
Path used by PSE : J:
Type : builtin_drive
Status : online
Total files : 3503
Total files missing : 0
Total files wrong volume: 0
Description : MEDIA2
Serial : BAC0-B5A3
Drive_path_if_builtin : J:
Id : 108
Path used by PSE : C:\Documents and Settings\All Users\Application Data\Adobe\Photoshop Elements\Catalogs\Moms pics
Type : database_relative_drive
Status : online
Total files : 0
Total files missing : 0
Total files wrong volume: 0
Description : database relative
Serial : amoc:database_relative_volume
Drive_path_if_builtin :
Id : 2
Windows Drives
Drive Type Serial Path
A: removable_drive 0000-0000
C: builtin_drive 9088-07F9
D: builtin_drive F408-1CB0
E: builtin_drive 025A-4B70
F: builtin_drive 1C2F-9805
G: builtin_drive 242D-15ED
H: readonly_drive 0000-0000
I: builtin_drive 427D-3F6B
J: builtin_drive BAC0-B5A3
K: builtin_drive 64E8-9846
L: builtin_drive 60AE-A816
M: builtin_drive 7830-2970
Thanks so much for your help!
Jim -
Confused about schema..
I'm currently working on a project using VB 2010 Express and Oracle 11g XE. On my Oracle My SQL Developer, I am currently logged on as 'user X' and I created three tables. All of which are just listed on the 'tables' tree. Does it mean that 'user X' is like a schema when compared to MySQL?
I have already integrated my database to my vb project and is working fine ATM. I'm just really confused about schemas in Oracle 11g XE.I'm just really confused about schemas in Oracle 11g XE.http://docs.oracle.com/cd/E11882_01/server.112/e25789/intro.htm#CEGJFFFD
Maybe you are looking for
-
How do i map one field to another in control file via SQL Loader
Can someone please reply back to this question Hi, I have a flat file (student.dat delimiter %~| ) using control file (student.ctl) through sql loader. Here are the details. student.dat student_id, student_firstname, gender, student_lastName, student
-
AIR-CAP3502I-E-K9 does not join preferred controller
I have an AIR-CAP3502I-E-K9 AP that is configured for two WLAN controllers with preferred order. However the AP does not join the primary controller, but uses the secondary one instead. I have a bunch of these AIR-CAP3502I-E-K9s , majority work fine,
-
Date field is always disabled in qlist form
Hi, We are using Qlistform(quest webpart), and observed that when I include a date time field(new form), date field's calendar popup is greyed out, But I can only change the time, but not the date. Any resolution for this? Thanks, Poonam
-
How does one manually completely remove PSE 12?
I am having constant issues with PSE 12 crashing and support is absolutely worthless and non responsive. I want to manually completely remove PSE 12 in order to attemp to re-install it. Where can I find the complete steps to manually remove PSE 12?
-
Why is illustrator CC so slow?
Just updated to CC. When I use illustrator in my account on a computer it works ok, it's slower than CS5 version but it works. If I log out and log in to my collegues account on the same computer, open illustrator it works like a donkey! a delete co