Exact location of control file when db_create_online_log_dest_1 is set

In case in the init.ora file the below three parameters are set
db_create_file_dest =somepath1
db_create_online_log_dest_1 =somepath2
db_create_online_log_dest_2 = somepath3
then in which location will the control files be created? Its an interview question.
Kindly provide me info

Ebenezer_863977 wrote:
In case in the init.ora file the below three parameters are set
db_create_file_dest =somepath1
db_create_online_log_dest_1 =somepath2
db_create_online_log_dest_2 = somepath3
then in which location will the control files be created? Its an interview question.
Kindly provide me info"Its an interview question."
It's also a doc question
http://download.oracle.com/docs/cd/E11882_01/server.112/e25494/omf002.htm#ADMIN11490
http://download.oracle.com/docs/cd/E11882_01/server.112/e25513/initparams052.htm#REFRN10034

Similar Messages

  • SQL Loader Control file WHEN clause

    LOAD DATA
    REPLACE
    INTO TABLE IDL_Investments
    WHEN average_balance < '100.00'
    FIELDS TERMINATED BY X'9'
    TRAILING NULLCOLS
    Borrower_Id,
    Account_No,
    customer_No,
    cptype_id "GETID(:cptype_id)",
    customer_name,
    average_balance,
    CP_GroupName,
    CP_type,
    Account_Type,
    Instrument_type,
    DD_date "TO_DATE(:DD_date, 'dd/mm/yy')",
    fac_Maturity_date "TO_DATE(:fac_Maturity_date, 'dd/mm/yy')"
    above one is the control file. when i tried to load data i waas getting the following error.
    SQL*Loader-350: Syntax error at line 4.
    Illegal combination of non-alphanumeric characters
    WHEN average_balance < '100.00'
    ^
    instead of '<' symbol if i place an '=' symbol then its workig fine.
    So how do I use <, <=, > or >= operators in a WHEN clause of a control file can any one help me?
    Thanks in advance.

    Thanks for the suggestion but by searching in someother sites i found that
    only equality operators ('=', '!=' or '<>') are permited in the WHEN clause expressions of a control file in SQL Loader.
    So now i changed my logic.
    thanks anyway.

  • What is a valid location for autorecovery files when using Word for MAC?

    What is a valid location for autorecovery files when using Word for MAC?

    Microsoft Word for Mac support forums is probably a better place to ask.

  • Who will update control file when renaming a redolog file

    Hi when we rename a redolog file in mount state of database using the following command
    ALTER DATABASE
    RENAME FILE '/diska/logs/log1a.rdo', '/diska/logs/log2a.rdo'
    TO '/diskc/logs/log1c.rdo', '/diskc/logs/log2c.rdo';
    how the new location and new name of redo log files will be updated to control file and who will update that inforamtion
    thanks in advance.

    Where did you get this?
    oracle    4774  4733  0 12:04 pts/0    00:00:00 sqlplus   as sysdba
    oracle    4797     1  0 12:04 ?        00:00:00 ora_pmon_DB1
    oracle    4799     1  0 12:04 ?        00:00:00 ora_vktm_DB1
    oracle    4803     1  0 12:04 ?        00:00:00 ora_diag_DB1
    oracle    4805     1  0 12:04 ?        00:00:00 ora_dbrm_DB1
    oracle    4807     1  0 12:04 ?        00:00:00 ora_psp0_DB1
    oracle    4811     1  0 12:04 ?        00:00:00 ora_dia0_DB1
    oracle    4813     1  0 12:04 ?        00:00:00 ora_mman_DB1
    oracle    4815     1  0 12:04 ?        00:00:00 ora_dbw0_DB1
    oracle    4817     1  0 12:04 ?        00:00:00 ora_lgwr_DB1
    oracle    4819     1  0 12:04 ?        00:00:00 ora_ckpt_DB1
    oracle    4821     1  0 12:05 ?        00:00:00 ora_smon_DB1
    oracle    4823     1  0 12:05 ?        00:00:00 ora_reco_DB1
    oracle    4825     1  0 12:05 ?        00:00:00 ora_mmon_DB1
    oracle    4827     1  0 12:05 ?        00:00:00 ora_mmnl_DB1
    oracle    4829     1  0 12:05 ?        00:00:00 ora_d000_DB1
    oracle    4831     1  0 12:05 ?        00:00:00 ora_s000_DB1
    oracle    4855  4774  0 12:05 ?        00:00:00 oracleDB1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oracle    4858  4729  0 12:05 pts/1    00:00:00 bash
    oracle    4875  4858  0 12:05 pts/1    00:00:00 ps -fu oracleA ps output. The db is in mounted state.
    Dim

  • Dynamic Template file location in control file in Bursting

    HI,
    Normally we hard code the location of the template in the control file and keep the file at that server location.
    When we move from DEV to higher instances, we might need to change this path in control file. Is there any way to handle this dynamically and it will take similar path from the instance to which this control file is deployed.
    I need the syntax to handle this situation.
    Thanks,
    Praveen

    <FONT FACE="verdana" SIZE="2">
    You have to hardcode the values like the one below. In this case, even if you clone your instance, it will continue to work.
    <xapi:template type="rtf" location="xdo://SQLAP.XXV8_APXPBSRA.en.US/?getSource=true"
    ${short_appl_name} = SQLAP
    ${template_code} = XXV8_APXPBSRA
    Darshan Says,
    In this case assuming that while registering template you have specified langugae as 'English' and territory as 'United States', if you have not specified any territory then replace US with 00 for default.
    References:-
    http://garethroberts.blogspot.com/2008/03/bi-publisher-ebs-bursting-101.html
    Having Trouble using template in control file

  • Functioning of control file when re-created

    Hi friends,
    we can recover database without data loss when there is a situation to re-create control file(for suppose control file is lost and no multiplexed copies are available) using NORESETLOGS option in controlfile script.
    when we re-create controlfile, no SCN and checkpoint information will be there in controlfile. Then how controlfile will get the latest SCN and how it allows DB to be up and running.
    please explain. thanks in advance

    Hi,
    As per my knowledge I am explaning what will happen at Background.
    As you said that control File is lost and no mutiplexed, In that scenario you are going to recreate the Controlfile. As we know that control file will be in Sync with All DataFiles (System etc.,) , which will hold the SCN numbers, When the Instance is UP with the newly Created ControlFile (Since scn is not available), it will get the Highest SCN Number from Current DataFiles and Check for in Sync with other Datafiles, whether SCN is in Sync with the Other data files or not.
    And further proceed with Recovery Process Based on the Redo Logs.
    As you said if the required SCN is not available in the Redo Logs it will Check for the Archive Redo Logs Based on the SCN i.e., (If Req SCN is < SCN in Redo Logs) It will Check for Archive Logs files.
    Let me know in case If I am not clear or some where wrong in concept so that I can learn some thing inturn from others.!!
    Thanks & Regards,
    Pavan Kumar N

  • Problem in identifying control file when creating physical standby

    hi there,
    (database version: 10.2.0.4
    plateform linux)
    I'm using the command as below to create physical standby database from backup:
    rman target / auxiliary sys/tiger@paceview
    Recovery Manager: Release 10.2.0.4.0 - Production on Tue Sep 4 18:05:53 2012
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: PACEVIEW (DBID=2092349485)
    connected to auxiliary database: PACEVIEW (not mounted)
    run {
    allocate auxiliary channel c1 device type DISK;
    set until sequence 38;
    duplicate target database for standby dorecover nofilenamecheck;
    released channel: ORA_DISK_1
    allocated channel: c1
    channel c1: sid=35 devtype=DISK
    allocated channel: c2
    channel c2: sid=36 devtype=DISK
    executing command: SET until clause
    Starting Duplicate Db at 04-SEP-12
    contents of Memory Script:
       set until scn  138180211934;
       restore clone standby controlfile;
       sql clone 'alter database mount standby database';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 04-SEP-12
    channel c1: restoring control file
    ORA-19625: error identifying file /backup/rman/paceview/DEL1_standby.ctl
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-19600: input file is control file  (/backup/rman/paceview/DEL1_standby.ctl)
    ORA-19601: output file is control file  (/PGHProdDB/oradata/paceview/control1.ctl)
    failover to previous backup
    released channel: c1
    released channel: c2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/04/2012 18:01:44
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restorei have already tried crosscheck but still giving same error
    thanks

    Hello;
    So this is what I would do :
    Backup Primary ( change to your directory as need )
    RMAN RUN {
    allocate channel d1 type disk;
    backup format '/u01/backups/PRIMARY/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u01/backups/PRIMARY/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';
    release channel d1;
    }Move the backup and duplicate like this :
    rman target sys/password@PRIMARY auxiliary /
    RMAN> run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    duplicate target database for standby nofilenamecheck;
    }For complete details of this method see :
    http://www.visi.com/~mseberg/duprman2.html
    Best Regards
    mseberg

  • Remove the current control file when the database is running on linux or un

    Question From Oracler:
    下面这个例子中,假如controlfile被删除掉了,instance还没有关闭,可以通过lsof找出controlfile的file descriptors,再通过dd把文件恢复过来...
    我觉得这样dd出来的控制文件是没有办法直接启动这个数据库的,因为CKPT每3S一次,你dd恢复出来的控制文件SCN肯定和datafile不一样,比datafile小,... 要是recover会提示控制文件太久,不知道我理解正不正确啊?
    http://www.oracledatabase12g.com/archives/unix-linux%e4%b8%8b%e5%88%a0%e9%99%a4oracle%e6%8e%a7%e5%88%b6%e6%96%87%e4%bb%b6controlfile%e4%b8%ba%e4%bb%80%e4%b9%88%e5%ae%9e%e4%be%8binstance%e6%b2%a1%e6%9c%89%e7%ab%8b%e5%8d%b3%e5%a5%94%e6%ba%83.html
    dd恢复的控制文件 怎么会比打他file、
    怎么会比datafile的scn 小呢
    一旦关库,那么fd是不是就消失了,没有办法dd了, 那么造成scn不相同的原因是dd过程中scn的变化么?
    还请大致谈一下造成scn更新的必要条件。

    有网友提问,若控制文件是 create controlfile 重建得来的 又会如何? 这里我们可以看一下:
    我们来看一下:
    SQL> alter system switch logfile;
    System altered.
    SQL> select distinct checkpoint_change# from v$datafile_header;
    CHECKPOINT_CHANGE#
    15169797
    SQL> alter system checkpoint;
    System altered.
    SQL> select distinct checkpoint_change# from v$datafile_header;
    CHECKPOINT_CHANGE#
    15169802 =>E7783A
    15169802 =>E7783A 最近的一次FULL CHECKPOINT的SCN
    SQL> select name from v$tablespace;
    NAME
    SYSTEM
    UNDOTBS1
    SYSAUX
    USERS
    EXAMPLE
    TEMP
    SQL> alter tablespace SYSTEM begin backup;
    Tablespace altered.
    SQL> alter tablespace UNDOTBS1 begin backup;
    Tablespace altered.
    SQL> alter tablespace SYSAUX begin backup;
    Tablespace altered.
    SQL> alter tablespace USERS begin backup;
    Tablespace altered.
    SQL> alter tablespace EXAMPLE begin backup;
    Tablespace altered.
    SQL> alter tablespace SYSTEM end backup;
    Tablespace altered.
    SQL> alter tablespace UNDOTBS1 end backup;
    Tablespace altered.
    SQL> alter tablespace SYSAUX end backup;
    Tablespace altered.
    SQL> alter tablespace USERS end backup;
    Tablespace altered.
    SQL> alter tablespace EXAMPLE end backup;
    Tablespace altered.
    begin /end backup 会引发FILE CHECKPOINT ,造成datafile_header的 checkpoint_change# 更新
    SQL> select distinct checkpoint_change# from v$datafile_header;
    CHECKPOINT_CHANGE#
    15169814
    15169827
    15169842
    15169821
    15169835
    15169814 =>E77916 是最小的一个 datafile header checkpoint_change#
    SQL> oradebug setmypid;
    Statement processed.
    SQL> oradebug dump controlf 3;
    Statement processed.
    SQL> oradebug tracefile_name;
    但是此时去dump controlf 可以发现 控制文件中的database checkpint 仍是 E7783A 15169802 即上一次FULL CHECKPOINT的 SCN
    DATABASE ENTRY
    (size = 316, compat size = 316, section max = 1, section in-use = 1,
    last-recid= 0, old-recno = 0, last-recno = 0)
    (extent = 1, blkno = 1, numrecs = 1)
    03/09/2012 23:04:33
    DB Name "G10R21"
    Database flags = 0x00404001 0x00001000
    Controlfile Creation Timestamp 03/09/2012 23:04:33
    Incmplt recovery scn: 0x0000.00000000
    Resetlogs scn: 0x0000.00e7784f Resetlogs Timestamp 03/09/2012 23:11:46
    Prior resetlogs scn: 0x0000.00e77780 Prior resetlogs Timestamp 03/09/2012 22:57:44
    Redo Version: compatible=0xa200100
    #Data files = 16, #Online files = 16
    Database checkpoint: Thread=1 scn: 0x0000.00e7790a ==>15169802
    Threads: #Enabled=1, #Open=1, Head=1, Tail=1
    REDO THREAD RECORDS
    (size = 256, compat size = 256, section max = 8, section in-use = 1,
    last-recid= 0, old-recno = 0, last-recno = 0)
    (extent = 1, blkno = 9, numrecs = 8)
    THREAD #1 - status:0xf thread links forward:0 back:0
    #logs:3 first:1 last:3 current:2 last used seq#:0x2
    enabled at scn: 0x0000.00e7784f 03/09/2012 23:11:46
    disabled at scn: 0x0000.00000000 01/01/1988 00:00:00
    opened at 03/09/2012 23:11:46 by instance G10R21
    Checkpointed at scn: 0x0000.00e7790a 03/09/2012 23:12:12
    thread:1 rba:(0x2.3.10)
    SQL> alter database backup controlfile to trace;
    Database altered.
    SQL> oradebug setmypid;
    Statement processed.
    SQL> oradebug tracefile_name;
    SQL> shutdown abort;
    ORACLE instance shut down.
    [oracle@vrh8 ~]$ rm /s01/recreate.ctl
    我们以NORESETLOGS重建控制文件:
    SQL> startup nomount;
    ORACLE instance started.
    Total System Global Area 620756992 bytes
    Fixed Size 2022760 bytes
    Variable Size 234881688 bytes
    Database Buffers 377487360 bytes
    Redo Buffers 6365184 bytes
    SQL> show parameter control
    NAME TYPE VALUE
    control_file_record_keep_time integer 7
    control_files string /s01/recreate.ctl
    SQL> CREATE CONTROLFILE REUSE DATABASE "G10R21" NORESETLOGS ARCHIVELOG
    2 MAXLOGFILES 16
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 100
    5 MAXINSTANCES 8
    6 MAXLOGHISTORY 2921
    7 LOGFILE
    8 GROUP 1 (
    9 '/s01/oradata/G10R21/onlinelog/o1_mf_1_7ch812dg_.log',
    10 '/s01/flash_recovery_area/G10R21/onlinelog/o1_mf_1_7ch813h5_.log'
    11 ) SIZE 50M,
    12 GROUP 2 (
    13 '/s01/oradata/G10R21/onlinelog/o1_mf_2_7ch8144q_.log',
    14 '/s01/flash_recovery_area/G10R21/onlinelog/o1_mf_2_7ch815cj_.log'
    15 ) SIZE 50M,
    16 GROUP 3 (
    17 '/s01/oradata/G10R21/onlinelog/o1_mf_3_7ch816g2_.log',
    18 '/s01/flash_recovery_area/G10R21/onlinelog/o1_mf_3_7ch817gp_.log'
    19 ) SIZE 50M
    20 -- STANDBY LOGFILE
    DATAFILE
    21 22 '/s01/oradata/G10R21/datafile/o1_mf_system_7ch8004t_.dbf',
    23 '/s01/oradata/G10R21/datafile/o1_mf_undotbs1_7ch80081_.dbf',
    24 '/s01/oradata/G10R21/datafile/o1_mf_sysaux_7ch8004x_.dbf',
    25 '/s01/oradata/G10R21/datafile/o1_mf_users_7ch80085_.dbf',
    26 '/s01/oradata/G10R21/datafile/o1_mf_example_7ch81ch3_.dbf',
    27 '/s01/oradata/G10R21/datafile/o1_mf_users_7gvd5pwh_.dbf',
    28 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t6fdt_.dbf',
    29 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t6nxy_.dbf',
    30 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t6qc2_.dbf',
    31 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t6stt_.dbf',
    32 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t6w5w_.dbf',
    33 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t6yo0_.dbf',
    34 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t717x_.dbf',
    35 '/s01/oradata/G10R21/datafile/o1_mf_undotbs1_7h6ttkkx_.dbf',
    36 '/s01/oradata/G10R21/datafile/o1_mf_undotbs1_7h6ttpn1_.dbf',
    37 '/s01/oradata/G10R21/datafile/o1_mf_undotbs1_7h6ttsbd_.dbf'
    38 CHARACTER SET AL32UTF8;
    Control file created.
    SQL> oradebug setmypid;
    Statement processed.
    SQL> oradebug dump controlf 3;
    Statement processed.
    DATABASE ENTRY
    (size = 316, compat size = 316, section max = 1, section in-use = 1,
    last-recid= 0, old-recno = 0, last-recno = 0)
    (extent = 1, blkno = 1, numrecs = 1)
    03/09/2012 23:16:57
    DB Name "G10R21"
    Database flags = 0x00400103 0x00001000
    Controlfile Creation Timestamp 03/09/2012 23:16:58
    Incmplt recovery scn: 0x0000.00000000
    Resetlogs scn: 0x0000.00e7784f Resetlogs Timestamp 03/09/2012 23:11:46
    Prior resetlogs scn: 0x0000.00e77780 Prior resetlogs Timestamp 03/09/2012 22:57:44
    Redo Version: compatible=0xa200100
    #Data files = 16, #Online files = 16
    Database checkpoint: Thread=1 scn: 0x0000.00e77902 15169794
    Threads: #Enabled=1, #Open=1, Head=1, Tail=1
    Database checkpoint: 变成了 00e77902 =》 15169794,比上次FULL CHECKPOINT的15169802 还要小
    这个
    00e77902 =》 15169794从哪里来?
    REDO THREAD RECORDS
    (size = 256, compat size = 256, section max = 8, section in-use = 1,
    last-recid= 0, old-recno = 0, last-recno = 0)
    (extent = 1, blkno = 9, numrecs = 8)
    THREAD #1 - status:0x7 thread links forward:0 back:0
    #logs:3 first:1 last:3 current:2 last used seq#:0x2
    enabled at scn: 0x0000.00e7784f 03/09/2012 23:11:46
    disabled at scn: 0x0000.00000000 01/01/1988 00:00:00
    opened at 01/01/1988 00:00:00 by instance
    Checkpointed at scn: 0x0000.00e77902 03/09/2012 23:11:54
    thread:1 rba:(0x2.2.0)
    LOG FILE RECORDS
    (size = 72, compat size = 72, section max = 16, section in-use = 3,
    last-recid= 0, old-recno = 0, last-recno = 0)
    (extent = 1, blkno = 10, numrecs = 16)
    LOG FILE #1:
    (name #3) /s01/oradata/G10R21/onlinelog/o1_mf_1_7ch812dg_.log
    (name #4) /s01/flash_recovery_area/G10R21/onlinelog/o1_mf_1_7ch813h5_.log
    Thread 1 redo log links: forward: 2 backward: 0
    siz: 0x19000 seq: 0x00000001 hws: 0x4 bsz: 512 nab: 0xb6 flg: 0x0 dup: 2
    Archive links: fwrd: 2 back: 0 Prev scn: 0x0000.00000000
    Low scn: 0x0000.00e7784f 03/09/2012 23:11:46
    Next scn: 0x0000.00e77902 03/09/2012 23:11:54
    LOG FILE #2:
    (name #1) /s01/oradata/G10R21/onlinelog/o1_mf_2_7ch8144q_.log
    (name #2) /s01/flash_recovery_area/G10R21/onlinelog/o1_mf_2_7ch815cj_.log
    Thread 1 redo log links: forward: 3 backward: 1
    siz: 0x19000 seq: 0x00000002 hws: 0x1 bsz: 512 nab: 0xffffffff flg: 0xa dup: 2
    Archive links: fwrd: 0 back: 1 Prev scn: 0x0000.00e7784f
    Low scn: 0x0000.00e77902 03/09/2012 23:11:54
    Next scn: 0xffff.ffffffff 01/01/1988 00:00:00
    LOG FILE #3:
    (name #5) /s01/oradata/G10R21/onlinelog/o1_mf_3_7ch816g2_.log
    (name #6) /s01/flash_recovery_area/G10R21/onlinelog/o1_mf_3_7ch817gp_.log
    Thread 1 redo log links: forward: 0 backward: 2
    siz: 0x19000 seq: 0x00000000 hws: 0x2 bsz: 512 nab: 0x2 flg: 0x1 dup: 2
    Archive links: fwrd: 0 back: 0 Prev scn: 0x0000.00000000
    Low scn: 0x0000.00000000 01/01/1988 00:00:00
    Next scn: 0x0000.00000000 01/01/1988 00:00:00
    原来这个
    00e77902 =》 15169794 来源于 current online redo logfile中最小的LOW SCN
    DATA FILE RECORDS
    (size = 428, compat size = 428, section max = 100, section in-use = 19,
    last-recid= 0, old-recno = 0, last-recno = 0)
    (extent = 1, blkno = 11, numrecs = 100)
    DATA FILE #1:
    (name #22) /s01/oradata/G10R21/datafile/o1_mf_system_7ch8004t_.dbf
    creation size=0 block size=8192 status=0x12 head=22 tail=22 dup=1
    tablespace 0, index=1 krfil=1 prev_file=0
    unrecoverable scn: 0x0000.00000000 01/01/1988 00:00:00
    Checkpoint cnt:2314 scn: 0x0000.00e77916 03/09/2012 23:12:46
    Stop scn: 0xffff.ffffffff 03/09/2012 23:16:58
    Creation Checkpointed at scn: 0x0000.00000008 10/22/2005 21:44:31
    thread:0 rba:(0x0.0.0)
    DATAFILE 1 的checkpoint scn最小为 00e77916 =》15169814
    SQL> recover database using backup controlfile;
    ORA-00279: change 15169814 generated at 03/09/2012 23:12:46 needed for thread 1
    ORA-00289: suggestion :
    /s01/flash_recovery_area/G10R21/archivelog/2012_03_09/o1_mf_1_2_%u_.arc
    ORA-00280: change 15169814 for thread 1 is in sequence #2
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 15169814 generated at 03/09/2012 23:12:46 needed for thread 1
    可以看到 recover database using backup controlfile 的起点是 15169814 即 最小的一个 datafile header 的CHECKPOINT CHANGE#,
    也就是说 丢失控制文件 并(create controlfile)重建后的recover 从 最小的datafile header CHECKPOINT_CHANGE#开始 ,直到NEXT SCN 无穷大的 current logfile的 end 为止!
    我们在看一下 RESETLOGS的情况:
    SQL>
    SQL> CREATE CONTROLFILE REUSE DATABASE "G10R21" RESETLOGS ARCHIVELOG
    MAXLOGFILES 16
    2 3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 100
    5 MAXINSTANCES 8
    6 MAXLOGHISTORY 2921
    7 LOGFILE
    8 GROUP 1 (
    9 '/s01/oradata/G10R21/onlinelog/o1_mf_1_7ch812dg_.log',
    10 '/s01/flash_recovery_area/G10R21/onlinelog/o1_mf_1_7ch813h5_.log'
    11 ) SIZE 50M,
    12 GROUP 2 (
    13 '/s01/oradata/G10R21/onlinelog/o1_mf_2_7ch8144q_.log',
    14 '/s01/flash_recovery_area/G10R21/onlinelog/o1_mf_2_7ch815cj_.log'
    15 ) SIZE 50M,
    16 GROUP 3 (
    17 '/s01/oradata/G10R21/onlinelog/o1_mf_3_7ch816g2_.log',
    18 '/s01/flash_recovery_area/G10R21/onlinelog/o1_mf_3_7ch817gp_.log'
    19 ) SIZE 50M
    20 -- STANDBY LOGFILE
    21 DATAFILE
    22 '/s01/oradata/G10R21/datafile/o1_mf_system_7ch8004t_.dbf',
    23 '/s01/oradata/G10R21/datafile/o1_mf_undotbs1_7ch80081_.dbf',
    '/s01/oradata/G10R21/datafile/o1_mf_sysaux_7ch8004x_.dbf',
    24 25 '/s01/oradata/G10R21/datafile/o1_mf_users_7ch80085_.dbf',
    26 '/s01/oradata/G10R21/datafile/o1_mf_example_7ch81ch3_.dbf',
    27 '/s01/oradata/G10R21/datafile/o1_mf_users_7gvd5pwh_.dbf',
    28 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t6fdt_.dbf',
    29 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t6nxy_.dbf',
    30 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t6qc2_.dbf',
    31 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t6stt_.dbf',
    32 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t6w5w_.dbf',
    33 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t6yo0_.dbf',
    34 '/s01/oradata/G10R21/datafile/o1_mf_users_7h6t717x_.dbf',
    35 '/s01/oradata/G10R21/datafile/o1_mf_undotbs1_7h6ttkkx_.dbf',
    36 '/s01/oradata/G10R21/datafile/o1_mf_undotbs1_7h6ttpn1_.dbf',
    37 '/s01/oradata/G10R21/datafile/o1_mf_undotbs1_7h6ttsbd_.dbf'
    CHARACTER SET AL32UTF8; 38
    Control file created.
    SQL> oradebug setmypid;
    Statement processed.
    SQL> oradebug dump controlf 3;
    Statement processed.
    SQL> oradebug tracefile_name;
    DATABASE ENTRY
    (size = 316, compat size = 316, section max = 1, section in-use = 1,
    last-recid= 0, old-recno = 0, last-recno = 0)
    (extent = 1, blkno = 1, numrecs = 1)
    03/09/2012 23:20:03
    DB Name "G10R21"
    Database flags = 0x00400147 0x00001000
    Controlfile Creation Timestamp 03/09/2012 23:20:03
    Incmplt recovery scn: 0x0000.00e77932
    Resetlogs scn: 0x0000.00e7784f Resetlogs Timestamp 03/09/2012 23:11:46
    Prior resetlogs scn: 0x0000.00e77780 Prior resetlogs Timestamp 03/09/2012 22:57:44
    Redo Version: compatible=0xa200100
    #Data files = 16, #Online files = 16
    Database checkpoint: Thread=0 scn: 0x0000.00000000
    Threads: #Enabled=1, #Open=0, Head=0, Tail=0
    REDO THREAD RECORDS
    (size = 256, compat size = 256, section max = 8, section in-use = 1,
    last-recid= 0, old-recno = 0, last-recno = 0)
    (extent = 1, blkno = 9, numrecs = 8)
    THREAD #1 - status:0x6 thread links forward:0 back:0
    #logs:3 first:1 last:3 current:3 last used seq#:0x0
    enabled at scn: 0x0000.00000000 01/01/1988 00:00:00
    disabled at scn: 0x0000.00000000 01/01/1988 00:00:00
    opened at 01/01/1988 00:00:00 by instance
    Checkpointed at scn: 0x0000.00000000
    thread:0 rba:(0x0.0.0)
    LOG FILE RECORDS
    (size = 72, compat size = 72, section max = 16, section in-use = 3,
    last-recid= 0, old-recno = 0, last-recno = 0)
    (extent = 1, blkno = 10, numrecs = 16)
    LOG FILE #1:
    (name #5) /s01/oradata/G10R21/onlinelog/o1_mf_1_7ch812dg_.log
    (name #6) /s01/flash_recovery_area/G10R21/onlinelog/o1_mf_1_7ch813h5_.log
    Thread 1 redo log links: forward: 2 backward: 0
    siz: 0x19000 seq: 0x00000000 hws: 0x0 bsz: 512 nab: 0x0 flg: 0x1 dup: 2
    Archive links: fwrd: 0 back: 0 Prev scn: 0x0000.00000000
    Low scn: 0x0000.00000000 01/01/1988 00:00:00
    Next scn: 0x0000.00000000 01/01/1988 00:00:00
    LOG FILE #2:
    (name #3) /s01/oradata/G10R21/onlinelog/o1_mf_2_7ch8144q_.log
    (name #4) /s01/flash_recovery_area/G10R21/onlinelog/o1_mf_2_7ch815cj_.log
    Thread 1 redo log links: forward: 3 backward: 1
    siz: 0x19000 seq: 0x00000000 hws: 0x0 bsz: 512 nab: 0x0 flg: 0x1 dup: 2
    Archive links: fwrd: 0 back: 0 Prev scn: 0x0000.00000000
    Low scn: 0x0000.00000000 01/01/1988 00:00:00
    Next scn: 0x0000.00000000 01/01/1988 00:00:00
    LOG FILE #3:
    (name #1) /s01/oradata/G10R21/onlinelog/o1_mf_3_7ch816g2_.log
    (name #2) /s01/flash_recovery_area/G10R21/onlinelog/o1_mf_3_7ch817gp_.log
    Thread 1 redo log links: forward: 0 backward: 2
    siz: 0x19000 seq: 0x00000000 hws: 0x0 bsz: 512 nab: 0x2 flg: 0xb dup: 2
    Archive links: fwrd: 0 back: 0 Prev scn: 0x0000.00000000
    Low scn: 0x0000.00000000 01/01/1988 00:00:00
    Next scn: 0x0000.00000000 01/01/1988 00:00:00
    虽然database checkpoint scn 等都是0 ,但是不影响 从 最小的datafile header checkpoint change 开始recover的 结论。
    SQL> recover database using backup controlfile;
    ORA-00279: change 15169814 generated at 03/09/2012 23:12:46 needed for thread 1
    ORA-00289: suggestion :
    /s01/flash_recovery_area/G10R21/archivelog/2012_03_09/o1_mf_1_2_%u_.arc
    ORA-00280: change 15169814 for thread 1 is in sequence #2
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}

  • Sqlloader control file when clause

    Problem 1
    Lets say, I have a table x with (f1 number(2), f2 varchar(14), f3 Number(1))
    datafile1
    10,ls
    22,st
    45,tanveer
    77,cool
    1,not cool
    requirement is to insert the first 2 columns in f1 and f2 and insert 0 in f3 only
    if f2 == tanveer
    Problem 2
    Table is y (f4 number (2), f5 varchar (16))
    datafile2
    ls,xxxx
    tanveer,yyyy
    cool,zzzz
    not cool, mmmm
    given the value of the first coloumn I would like to query table x
    and find the corresponding value of f1 insert it to table y's column f4
    and associated string to f5.
    Please let me know how to write the control files for sqlloader.

    Problem 1:
    -- control file:
    LOAD DATA
    INFILE 'DATAFILE1.DAT'
    APPEND
    INTO TABLE x
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    (f1, f2,
    f3 "DECODE (:f2, 'tanveer', 0, NULL)")
    Problem 2:
    Create another table z,
    load the data into z,
    insert into y selecting
    from join of x and z:
    -- create staging table:
    CREATE TABLE z
      (f6 VARCHAR2 (14),
       f7 VARCHAR2 (16));
    -- control file:
    LOAD DATA
    INFILE 'DATFILE2.DAT'
    APPEND
    INTO TABLE z
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    (f6, f7)
    -- insert:
    INSERT INTO y (f4, f5)
    SELECT x.f1, z.f7
    FROM   x, z
    WHERE  z.f6 = x.f2;

  • Why can't itunes locate my music files when they are there?

    I think that this happened when I checked off both "keep iTunes media folder organized" and "copy files to iTunes Media Folder when adding to library."I had all of my files located at C:\Users\Beata\Music\iTunes\iTunes Media   and then I noticed that itunes made folders for all of of my music files because I have checked off the keep iTunes media folder organized. Ever since then, itunes can't find all of my files but only some of it and I don't want to go one by one to locate all of the songs. All of my songs are located in the same location which is C:\Users\Beata\Music\iTunes\iTunes Media\Music  I changed it to this location because all of my song files are located there and the place where it was located before, I didn't find the song files on there. I also noticed that itunes would oragize and create folders for my songs in the my music library and I thought that was the reason why itunes couldn't find the files because they were in the wrong location so I moved all of those folders to C:\Users\Beata\Music\iTunes\iTunes Media\Music  So, is it because all of my files are in folders since itunes organized them? All of my files are in album, artist, and song title folders. Where should all of these folders be located at? Also, iTunes creates multiple folders that have the same name and should I just leave the folders be or organize them myself because I have folders that have the same exact name as in the artist and title but it has different song files in the folders. Should I combine the files into the same folder that have the same artist or should I just leave it that way?  Please ,I really need help as I have tried almost everything.

    Help iTunes locate your media folder:
    No content shows up in iTunes after updating
    http://support.apple.com/kb/TS1967

  • Physical location of hyperlinked files when generating printed documentation from webhelp project

    Hi,
    I produce webhelp and the customers have requested that printed documentation is also generated from my help project so that they can have an electronic/paper version.
    I have several hyperlinks in the help project, to PDF/Word files, and have found that in the printed documentation, when you click on the hyperlink, it is trying to find the document in the physical location from which the help project was created. This means that the hyperlinked documents only open on my PC because I own the physical location. Other users, particuarly our customers, end up with an error message because it is trying to find a location they do not have access to.
    Does anybody know a solution to this please?

    The problem with links inside PDF / Word files is that you have no control over where the files reside. Therefore you can't specify a path that will work as it depends on the physical file's location. What you could do is publish the PDFs / Word files to an online location that are accessible by a URL.

  • How do I locate a missing file when trying to update Itunes

    I have tried to update my Itunes but get a messaage that the file Boinjour.msi is missing.  I saved the updated file and tried to install it manually but now it tells me that it can't remove the old version of Bonjour.msi.

    Hi Lfarhood,
    Thanks for visiting Apple Support Communities.
    If you're having trouble with a component of iTunes, I'd suggest removing and reinstalling the application. This article has steps and troubleshooting information that can be helpful:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Best Regards,
    Jeremy

  • OM-D: how to view entire 4:3 RAW file when aspect ratio set in-camera to 3:2?

    When shooting RAW, the OM-D records 4:3 files no matter what the aspect ratio is set to.  If you set it to 3:2 (for example), the camera records some sort of metadata to communicate this information to Lightroom, which honors the setting.  So far, so good.
    My question is, is there any way to override that setting? I have a photo shot at 3:2, but I can see from the in-camera preview that it'd be a better shot with the whole thing. But I can't figure out how to get LR 4.1rc2 to show me the whole thing!
    Thanks,
    Ben

    Unfortunately, there is no way in LR directly. You may be able to restore the settings directly in the raw file using exiftool (tags "aspectratio" and "aspectframe", there are instructions in some forums I think), but it is generally not advisable to manipulate original raws that way (at least, a backup should be made).
    See also:
    http://feedback.photoshop.com/photoshop_family/topics/lightroom_4_1_rc_trouble_with_canon_ 5d_mark_iii_aspect_ratio
    http://feedback.photoshop.com/photoshop_family/topics/importing_orf_files_does_not_import_ all_image_area

  • Default location of control trace file

    hi all
    when i want to issue :
    SQL>alter database backup controlfile to trace;
    command execute without error
    but when i open "D:\oracle\product\10.2.0\admin\orcl\udump"
    there is no any file related to trace control file ,inside this directry .
    when i issue :
    select c.value || '/' || instance || '_ora_' ||
    ltrim(to_char(a.spid,'fm99999')) || '.trc'
    from v$process a, v$session b, v$parameter c, v$thread c
    where a.addr = b.paddr
    and b.audsid = userenv('sessionid')
    and c.name = 'user_dump_dest'
    output of above query is :
    D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP/orcl_ora_2072.trc
    but i dont find this file ..........

    >
    but still i m not able to find related to trace control file
    ,when i issue "alter database backup controlfile to trace"Check here
    http://www.adp-gmbh.ch/ora/sql/alter_database.html (with examples!!!)
    I'm guessing that your file is there somewhere, you're just looking in the wrong place - maybe
    in the SQL*Plus bin directory or the oracle bin directory? Do a search!
    Anyway, just reissue the command using the syntax at the wesite
    posted - please tell us how you got on!!
    HTH.
    Paul...
    When asking database related questions, please give other posters
    some clues, like OS (with version), version of Oracle being used and DDL.
    Other trivia such as CPU, RAM + Disk configuration might also be useful.
    The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks.
    Furthermore, as a courtesy to those who spend time analysing and attempting to help,
    please do not top post and do try to trim your replies!

  • Location of Redo log and control files?

    Dear all,
    I am checking the location of redo log and control files, but found that the redo log file (like log02a.dbf ....) in the same directory of data files. However, I couldn't find any control files in the data files directries.
    What could be the location of control files?
    Amy

    select name
      from v$controlfile
    or
    show parameter control_filesKhurram

Maybe you are looking for

  • Application builder mac osx error

    Hi all I need help I am just trying to build an application under MAC osx and I got this error see attachment Jürgen Attachments: LabViewBuilderror-2.JPG ‏131 KB

  • Incompletion log in delivery for foreign trade data

    Hi all, I am doing export delivery and i want to put foreign trade date as in incompletion log. This log i want to do only for export document types (zex) which i have created separately. Delivery header > foreign trade / custom >geography > 1. Expor

  • Dataytpe mismatch error in GROUP BY Clause

    I have a function(undergoing testing) which returns column values separated by comma. Since this function returns a huge number of values (track_id) which a varchar2 type can't store i've made the return type to be CLOB. CREATE OR REPLACE FUNCTION ge

  • WD Hard Disk I/O Error

    Hi Folks I found one of the internal drives on my Mac Pro got heaps of "kernel: disk1s3: I/O error" messages in the system log, accordingly, some files could not be read or copied at all. The error seemed only happened when touching those particular

  • Macbook Pro Airport has no IP Address?

    I was working on my MacBook Pro this morning and a few hours later I could not access the internet. I checked my network connections and I received an error saying "Airport does not have an IP address and cannot connest to the internet." I have no id