ASM_PREFERRED_READ_FAILURE_GROUPS

Hi,
the ASM_PREFERRED_READ_FAILURE_GROUPS parameters is very useful for exented/streched Cluster to minise the traffic between all the extende Node.
In the same idea and to design extended cluster with Exadata somebody have any idea of parameter inside ASM to force the mirrorng disk affinity to ensure the replication between site.
The idea is to have multiple failure group inside a local and a replicaton between site to design a veritable stretched cluster.
Any idea ?
Thank a lot.
Edited by: Florent on 4 janv. 2012 10:21

We just got our hands on 1TB flash.  To mirror we would need 2TB.  We have read about ASM preferred read failure groups and how they allow you to have flash as the primary read area and regular HD as the failure group if something were to happen to the flash.  That way you use the 1TB flash and the mirror is the regular HD,
Hi,
Preferred read failure was primarily designed to force ASM read from Device with less latency avoiding "link" contention, very common in RAC Extended.
IMHO make sense use two failgroup (FLASH and Non-Flash) and use "preferred read" feature since you are mixing different technologies
You just must guarantee that WRITE on Non-Flash tech is acceptable because it will be your "bottleneck".
You can take advantage choosing a FLASH failgroup a prefered read. It will improve reading data to your environment.
If you don't  use "prefered read" Instance will read data from both array with different tech.
So, suppose you are having a high load and excessive WRITE, if ASM read data from Non-Flash it will generate much more WAIT Event compared when ASM read from Flash device.
The reason is obvious:
Flash disk have no moving (mechanical) components. This distinguishes them from traditional electromechanical magnetic disks HDD, which contain spinning disks and movable read/write heads.

Similar Messages

  • Oracle 11gR2 RAC with ASM with asm_preferred_read_failure_group

    Hello DBAs,
    I apologize first if this question has been posted somewhere.
    I have a two nodes cluster so essentially, I have 2 ASM instances (ASM1 & ASM2). It seems like both instances share the same ASM spfile.
    +ASM1> show parameter spfile;
    NAME TYPE VALUE
    spfile string +OCRDG/clone-cluster/asmparame
    terfile/registry.253.759424467
    =====================================
    +ASM2> show parameter spfile;
    NAME TYPE VALUE
    spfile string +OCRDG/clone-cluster/asmparame
    terfile/registry.253.759424467
    The Oracle docs says that you can configure asm_preferred_read_failure_group for each instance so when I logged in instance 1, I ran the command:
    +ASM1> alter system set asm_preferred_read_failure_groups='DATA.FG1', 'DATA.FG2';
    then it showed DATA.FG1 is primary and DATA.FG2 is secondary but this also shows on instance 2 because it uses the same spfile.
    How can I make instance 1 uses DATA.FG1 for primary and instance 2 uses DATA.FG2 for primary. I have separate GRID home for each node.
    Any help is much appreciated.
    thanks,
    TD

    user11380530 wrote:
    Hello DBAs,
    I apologize first if this question has been posted somewhere.
    I have a two nodes cluster so essentially, I have 2 ASM instances (ASM1 & ASM2). It seems like both instances share the same ASM spfile.
    +ASM1> show parameter spfile;
    NAME TYPE VALUE
    spfile string +OCRDG/clone-cluster/asmparame
    terfile/registry.253.759424467
    =====================================
    +ASM2> show parameter spfile;
    NAME TYPE VALUE
    spfile string +OCRDG/clone-cluster/asmparame
    terfile/registry.253.759424467
    The Oracle docs says that you can configure asm_preferred_read_failure_group for each instance so when I logged in instance 1, I ran the command:
    +ASM1> alter system set asm_preferred_read_failure_groups='DATA.FG1', 'DATA.FG2';
    then it showed DATA.FG1 is primary and DATA.FG2 is secondary but this also shows on instance 2 because it uses the same spfile.
    How can I make instance 1 uses DATA.FG1 for primary and instance 2 uses DATA.FG2 for primary. I have separate GRID home for each node.
    Any help is much appreciated.Normally we can give different values for each instance, But i never tried in ASM.
    Here is example
    SQL> alter system set  asm_preferred_read_failure_groups='DATA.FG1' sid='ASM1';
    SQL> alter system set  asm_preferred_read_failure_groups='DATA.FG2' sid='ASM2';So DATA.FG1 will be allocated to ASM1, DATA.FG2 will be allocated to ASM2.
    Now check from ASM1
    SQL> show parameter asm_preferred_read_failure_group
    & from ASM2
    SQL> show parameter asm_preferred_read_failure_group
    HTH.

  • Unable to resync dataguard

    Hi everybody!
    I have a problem. Some weeks ago I opened a post related to this issue. We have two dataguards with dataguard broker. One of them is resync (thanks to mseberg and this forum) and now I have problems with the other.
    Once I have learned how to configure and start/stop dataguard broker, I have a more basic problem, which is to resync it. I follow a process, where I backup the primary with RMAN, I copy the rman files to the other server with the controlfile, at once, I recover with rman again.
    The problem is that it is too big, 2 hours for backing it up more or less, and when I restore it, no archivelog list appears being syncronized.
    I have followed the same process than the other one and I can't resync it. I think there is something at my params or something new at 11g version...
    SQL> show parameters
    NAME TYPE VALUE
    O7_DICTIONARY_ACCESSIBILITY boolean FALSE
    active_instance_count integer
    aq_tm_processes integer 0
    archive_lag_target integer 0
    asm_diskgroups string
    asm_diskstring string
    asm_power_limit integer 1
    asm_preferred_read_failure_groups string
    audit_file_dest string /opt/oracle/admin/MN122010P/ad
    ump
    audit_sys_operations boolean FALSE
    audit_syslog_level string
    audit_trail string DB
    background_core_dump string partial
    background_dump_dest string /opt/oracle/diag/rdbms/mn12201
    0p/MN122010P/trace
    backup_tape_io_slaves boolean FALSE
    bitmap_merge_area_size integer 1048576
    blank_trimming boolean FALSE
    buffer_pool_keep string
    buffer_pool_recycle string
    cell_offload_compaction string ADAPTIVE
    cell_offload_parameters string
    cell_offload_plan_display string AUTO
    cell_offload_processing boolean TRUE
    cell_partition_large_extents string DEFAULT
    circuits integer
    client_result_cache_lag big integer 3000
    client_result_cache_size big integer 0
    cluster_database boolean FALSE
    cluster_database_instances integer 1
    cluster_interconnects string
    commit_logging string
    commit_point_strength integer 1
    commit_wait string
    commit_write string
    compatible string 11.1.0.0.0
    control_file_record_keep_time integer 7
    control_files string /opt/oracle/oradata/MN122010P/
    controlfile/control01.ctl, /op
    t/oracle/oradata1/MN122010P/co
    ntrolfile/control02.ctl
    control_management_pack_access string DIAGNOSTIC+TUNING
    core_dump_dest string /opt/oracle/diag/rdbms/mn12201
    0p/MN122010P/cdump
    cpu_count integer 4
    create_bitmap_area_size integer 8388608
    create_stored_outlines string
    cursor_sharing string EXACT
    cursor_space_for_time boolean FALSE
    db_16k_cache_size big integer 0
    db_2k_cache_size big integer 0
    db_32k_cache_size big integer 0
    db_4k_cache_size big integer 0
    db_8k_cache_size big integer 0
    db_block_buffers integer 0
    db_block_checking string FALSE
    db_block_checksum string TYPICAL
    db_block_size integer 8192
    db_cache_advice string ON
    db_cache_size big integer 0
    db_create_file_dest string /opt/oracle/oradata
    db_create_online_log_dest_1 string /opt/oracle/oradata
    db_create_online_log_dest_2 string /opt/oracle/oradata1
    db_create_online_log_dest_3 string
    db_create_online_log_dest_4 string
    db_create_online_log_dest_5 string
    db_domain string domain.es
    db_file_multiblock_read_count integer 69
    db_file_name_convert string
    db_files integer 200
    db_flashback_retention_target integer 1440
    db_keep_cache_size big integer 0
    db_lost_write_protect string NONE
    db_name string MN122010
    db_recovery_file_dest string /opt/oracle/oradata/flash_reco
    very_area
    db_recovery_file_dest_size big integer 100G
    db_recycle_cache_size big integer 0
    db_securefile string PERMITTED
    db_ultra_safe string OFF
    db_unique_name string MN122010P
    db_writer_processes integer 1
    dbwr_io_slaves integer 0
    ddl_lock_timeout integer 0
    dg_broker_config_file1 string /opt/oracle/product/db111/dbs/
    dr1MN122010P.dat
    dg_broker_config_file2 string /opt/oracle/product/db111/dbs/
    dr2MN122010P.dat
    dg_broker_start boolean FALSE
    diagnostic_dest string /opt/oracle
    disk_asynch_io boolean TRUE
    dispatchers string (PROTOCOL=TCP) (SERVICE=MN1220
    10PXDB)
    distributed_lock_timeout integer 60
    dml_locks integer 844
    drs_start boolean FALSE
    enable_ddl_logging boolean FALSE
    event string
    fal_client string
    fal_server string
    fast_start_io_target integer 0
    fast_start_mttr_target integer 0
    fast_start_parallel_rollback string LOW
    file_mapping boolean FALSE
    fileio_network_adapters string
    filesystemio_options string none
    fixed_date string
    gc_files_to_locks string
    gcs_server_processes integer 0
    global_context_pool_size string
    global_names boolean FALSE
    global_txn_processes integer 1
    hash_area_size integer 131072
    hi_shared_memory_address integer 0
    hs_autoregister boolean TRUE
    ifile file
    instance_groups string
    instance_name string MN122010P
    instance_number integer 0
    instance_type string RDBMS
    java_jit_enabled boolean TRUE
    java_max_sessionspace_size integer 0
    java_pool_size big integer 0
    java_soft_sessionspace_limit integer 0
    job_queue_processes integer 1000
    large_pool_size big integer 0
    ldap_directory_access string NONE
    ldap_directory_sysauth string no
    license_max_sessions integer 0
    license_max_users integer 0
    license_sessions_warning integer 0
    local_listener string LISTENER_MN122010P
    lock_name_space string
    lock_sga boolean FALSE
    log_archive_config string dg_config=(MN122010P,MN122010R
    ,MN12201R)
    log_archive_dest string
    log_archive_dest_1 string location="USE_DB_RECOVERY_FILE
    _DEST", valid_for=(ALL_LOGFIL
    ES,ALL_ROLES)
    log_archive_dest_10 string
    log_archive_dest_2 string service=MN12201R, LGWR SYNC AF
    FIRM delay=0 OPTIONAL compress
    ion=DISABLE max_failure=0 max_
    connections=1 reopen=300 db_
    unique_name=MN12201R net_timeo
    ut=30 valid_for=(online_logfi
    le,primary_role)
    log_archive_dest_3 string
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    log_archive_dest_8 string
    log_archive_dest_9 string
    log_archive_dest_state_1 string ENABLE
    log_archive_dest_state_10 string enable
    log_archive_dest_state_2 string ENABLE
    log_archive_dest_state_3 string ENABLE
    log_archive_dest_state_4 string enable
    log_archive_dest_state_5 string enable
    log_archive_dest_state_6 string enable
    log_archive_dest_state_7 string enable
    log_archive_dest_state_8 string enable
    log_archive_dest_state_9 string enable
    log_archive_duplex_dest string
    log_archive_format string %t_%s_%r.dbf
    log_archive_local_first boolean TRUE
    log_archive_max_processes integer 4
    log_archive_min_succeed_dest integer 1
    log_archive_start boolean FALSE
    log_archive_trace integer 0
    log_buffer integer 7668736
    log_checkpoint_interval integer 0
    log_checkpoint_timeout integer 1800
    log_checkpoints_to_alert boolean FALSE
    log_file_name_convert string
    max_commit_propagation_delay integer 0
    max_dispatchers integer
    max_dump_file_size string unlimited
    max_enabled_roles integer 150
    max_shared_servers integer
    memory_max_target big integer 512M
    memory_target big integer 512M
    nls_calendar string
    nls_comp string BINARY
    nls_currency string
    nls_date_format string
    nls_date_language string
    nls_dual_currency string
    nls_iso_currency string
    nls_language string AMERICAN
    nls_length_semantics string BYTE
    nls_nchar_conv_excp string FALSE
    nls_numeric_characters string
    nls_sort string
    nls_territory string AMERICA
    nls_time_format string
    nls_time_tz_format string
    nls_timestamp_format string
    nls_timestamp_tz_format string
    object_cache_max_size_percent integer 10
    object_cache_optimal_size integer 102400
    olap_page_pool_size big integer 0
    open_cursors integer 300
    open_links integer 4
    open_links_per_instance integer 4
    optimizer_capture_sql_plan_baselines boolean FALSE
    optimizer_dynamic_sampling integer 2
    optimizer_features_enable string 11.1.0.7
    optimizer_index_caching integer 0
    optimizer_index_cost_adj integer 100
    optimizer_mode string ALL_ROWS
    optimizer_secure_view_merging boolean TRUE
    optimizer_use_invisible_indexes boolean FALSE
    optimizer_use_pending_statistics boolean FALSE
    optimizer_use_sql_plan_baselines boolean TRUE
    os_authent_prefix string ops$
    os_roles boolean FALSE
    parallel_adaptive_multi_user boolean TRUE
    parallel_automatic_tuning boolean FALSE
    parallel_execution_message_size integer 2152
    parallel_instance_group string
    parallel_io_cap_enabled boolean FALSE
    parallel_max_servers integer 40
    parallel_min_percent integer 0
    parallel_min_servers integer 0
    parallel_server boolean FALSE
    parallel_server_instances integer 1
    parallel_threads_per_cpu integer 2
    pga_aggregate_target big integer 0
    plscope_settings string IDENTIFIERS:NONE
    plsql_ccflags string
    plsql_code_type string INTERPRETED
    plsql_debug boolean FALSE
    plsql_native_library_dir string
    plsql_native_library_subdir_count integer 0
    plsql_optimize_level integer 2
    plsql_v2_compatibility boolean FALSE
    plsql_warnings string DISABLE:ALL
    pre_page_sga boolean FALSE
    processes integer 170
    query_rewrite_enabled string TRUE
    query_rewrite_integrity string enforced
    rdbms_server_dn string
    read_only_open_delayed boolean FALSE
    recovery_parallelism integer 0
    recyclebin string on
    redo_transport_user string
    remote_dependencies_mode string TIMESTAMP
    remote_listener string
    remote_login_passwordfile string EXCLUSIVE
    remote_os_authent boolean FALSE
    remote_os_roles boolean FALSE
    replication_dependency_tracking boolean TRUE
    resource_limit boolean FALSE
    resource_manager_cpu_allocation integer 4
    resource_manager_plan string
    result_cache_max_result integer 5
    result_cache_max_size big integer 1312K
    result_cache_mode string MANUAL
    result_cache_remote_expiration integer 0
    resumable_timeout integer 0
    rollback_segments string
    sec_case_sensitive_logon boolean TRUE
    sec_max_failed_login_attempts integer 10
    sec_protocol_error_further_action string CONTINUE
    sec_protocol_error_trace_action string TRACE
    sec_return_server_release_banner boolean FALSE
    serial_reuse string disable
    service_names string MN122010P.domain.es
    session_cached_cursors integer 50
    session_max_open_files integer 10
    sessions integer 192
    sga_max_size big integer 512M
    sga_target big integer 0
    shadow_core_dump string partial
    shared_memory_address integer 0
    shared_pool_reserved_size big integer 10066329
    shared_pool_size big integer 0
    shared_server_sessions integer
    shared_servers integer 1
    skip_unusable_indexes boolean TRUE
    smtp_out_server string
    sort_area_retained_size integer 0
    sort_area_size integer 65536
    spfile string /opt/oracle/product/db111/dbs/
    spfileMN122010P.ora
    sql92_security boolean FALSE
    sql_trace boolean FALSE
    sql_version string NATIVE
    sqltune_category string DEFAULT
    standby_archive_dest string ?/dbs/arch
    standby_file_management string AUTO
    star_transformation_enabled string FALSE
    statistics_level string TYPICAL
    streams_pool_size big integer 0
    tape_asynch_io boolean TRUE
    thread integer 0
    timed_os_statistics integer 0
    timed_statistics boolean TRUE
    trace_enabled boolean TRUE
    tracefile_identifier string
    transactions integer 211
    transactions_per_rollback_segment integer 5
    undo_management string AUTO
    undo_retention integer 900
    undo_tablespace string UNDOTBS1
    use_indirect_data_buffers boolean FALSE
    user_dump_dest string /opt/oracle/diag/rdbms/mn12201
    0p/MN122010P/trace
    utl_file_dir string
    workarea_size_policy string AUTO
    xml_db_events string enable
    I have tested the connectivity between them and it's ok, I recreated the password file
    [oracle@servername01 MN122010P]$ sqlplus "sys/[email protected] as sysdba"
    SQL> select * from v$instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
    1 MN122010P
    servername01
    11.1.0.7.0 09-OCT-11 OPEN NO 1 STARTED
    ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
    [oracle@servername01 MN122010P]$ sqlplus "sys/[email protected] as sysdba"
    SQL> select * from v$instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
    1 MN12201R
    servername02
    11.1.0.7.0 28-NOV-11 MOUNTED NO 1 STARTED
    ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
    Recovery Manager: Release 11.1.0.7.0 - Production on Thu Dec 1 10:16:23 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN> connect target /
    connected to target database: MN122010 (DBID=2440111267)
    RMAN> run{
    ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '/opt/oracle/oradata/BACKUPS_01/MN122010P/backup_%d_t%t_s%s_p%p';
    BACKUP DATABASE PLUS ARCHIVELOG;
    2> 3> 4>
    using target database control file instead of recovery catalog
    allocated channel: d1
    channel d1: SID=140 device type=DISK
    Starting backup at 01-DEC-11
    current log archived
    channel d1: starting archived log backup set
    channel d1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=4117 RECID=7260 STAMP=766935608
    input archived log thread=1 sequence=4118 RECID=7261 STAMP=766935619
    input archived log thread=1 sequence=4119 RECID=7262 STAMP=766935630
    input archived log thread=1 sequence=4120 RECID=7263 STAMP=766935635
    ....List of archives....
    Starting backup at 01-DEC-11
    channel d1: starting full datafile backup set
    channel d1: specifying datafile(s) in backup set
    input datafile file number=00010 name=/opt/oracle/oradata/MN122010P/TBCESPANDM_01.DBF
    input datafile file number=00009 name=/opt/oracle/oradata/MN122010P/CESPAROUTING_01.DBF
    input datafile file number=00007 name=/opt/oracle/oradata/MN122010P/TBCESPACALLEJERO_01.DBF
    input datafile file number=00008 name=/opt/oracle/oradata/MN122010P/CESPAGEOCODER_01.DBF
    input datafile file number=00001 name=/opt/oracle/oradata/MN122010P/system01.dbf
    input datafile file number=00002 name=/opt/oracle/oradata/MN122010P/sysaux01.dbf
    input datafile file number=00003 name=/opt/oracle/oradata/MN122010P/undotbs01.dbf
    input datafile file number=00006 name=/opt/oracle/oradata/MN122010P/TBCESPAFONDO_01.DBF
    input datafile file number=00005 name=/opt/oracle/oradata/MN122010P/TBCESPAPOIS_01.DBF
    input datafile file number=00004 name=/opt/oracle/oradata/MN122010P/users01.dbf
    channel d1: starting piece 1 at 01-DEC-11
    channel d1: finished piece 1 at 01-DEC-11
    piece handle=/opt/oracle/oradata/BACKUPS_01/MN122010P/backup_MN122010_t768739341_s768_p1 tag=TAG20111201T104221 comment=NONE
    channel d1: backup set complete, elapsed time: 00:39:26
    Finished backup at 01-DEC-11
    Starting backup at 01-DEC-11
    current log archived
    channel d1: starting archived log backup set
    channel d1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=4256 RECID=7399 STAMP=768741707
    channel d1: starting piece 1 at 01-DEC-11
    channel d1: finished piece 1 at 01-DEC-11
    piece handle=/opt/oracle/oradata/BACKUPS_01/MN122010P/backup_MN122010_t768741708_s769_p1 tag=TAG20111201T112148 comment=NONE
    channel d1: backup set complete, elapsed time: 00:00:01
    Finished backup at 01-DEC-11
    Starting Control File and SPFILE Autobackup at 01-DEC-11
    piece handle=/opt/oracle/product/db111/dbs/c-2440111267-20111201-00 comment=NONE
    Finished Control File and SPFILE Autobackup at 01-DEC-11
    released channel: d1
    I made a alter database create standby controlfile as at Primary and at Standby:
    SQL> shutdown immediate;
    ORA-01109: base de datos sin abrir
    Base de datos desmontada.
    Instancia ORACLE cerrada.
    SQL> startup nomount;
    Instancia ORACLE iniciada.
    Total System Global Area 2937555928 bytes
    Fixed Size 744408 bytes
    Variable Size 1862270976 bytes
    Database Buffers 1073741824 bytes
    Redo Buffers 798720 bytes
    copy the controlfile to standby controlfile locations
    startup standby
    ALTER DATABASE MOUNT STANDBY DATABASE;
    And restoring with rman
    Restoring
    List of Archived Logs in backup set 616
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 4256 27049296 01-DEC-11 27052551 01-DEC-11
    RMAN> run{
    2> allocate channel c1 type disk format '/opt/oracle/oradata/BACKUPS_01/MN122010P/backup_%d_t%t_s%s_p%p';
    3> restore database;
    4> recover database until sequence 4256 thread 1;
    5> sql 'alter database recover managed standby database disconnect from session';
    6> release channel c1;
    7> }
    allocated channel: c1
    channel c1: SID=164 device type=DISK
    Starting restore at 01-DEC-11
    Starting implicit crosscheck backup at 01-DEC-11
    Crosschecked 115 objects
    Finished implicit crosscheck backup at 01-DEC-11
    Starting implicit crosscheck copy at 01-DEC-11
    Crosschecked 24 objects
    Finished implicit crosscheck copy at 01-DEC-11
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    channel c1: starting datafile backup set restore
    channel c1: specifying datafile(s) to restore from backup set
    channel c1: restoring datafile 00001 to /opt/oracle/oradata/MN122010P/system01.dbf
    channel c1: restoring datafile 00002 to /opt/oracle/oradata/MN122010P/sysaux01.dbf
    channel c1: restoring datafile 00003 to /opt/oracle/oradata/MN122010P/undotbs01.dbf
    channel c1: restoring datafile 00004 to /opt/oracle/oradata/MN122010P/users01.dbf
    channel c1: restoring datafile 00005 to /opt/oracle/oradata/MN122010P/TBCESPAPOIS_01.DBF
    channel c1: restoring datafile 00006 to /opt/oracle/oradata/MN122010P/TBCESPAFONDO_01.DBF
    channel c1: restoring datafile 00007 to /opt/oracle/oradata/MN122010P/TBCESPACALLEJERO_01.DBF
    channel c1: restoring datafile 00008 to /opt/oracle/oradata/MN122010P/CESPAGEOCODER_01.DBF
    channel c1: restoring datafile 00009 to /opt/oracle/oradata/MN122010P/CESPAROUTING_01.DBF
    channel c1: restoring datafile 00010 to /opt/oracle/oradata/MN122010P/TBCESPANDM_01.DBF
    channel c1: reading from backup piece /opt/oracle/oradata/BACKUPS_01/MN122010P/backup_MN122010_t768739341_s768_p1
    After the restoring I found at standby that no archives have been applied:
    SQL> SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME,APPLIED
    FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#
    / 2 3
    no rows selected
    SQL> select * from v$Instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
    1 MN12201R
    server02
    11.1.0.7.0 01-DEC-11 MOUNTED NO 1 STARTED
    ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
    SQL> select message from v$dataguard_status;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no SRL' ARCH
    ARC1: Becoming the heartbeat ARCH
    7 rows selected.
    On primary
    MESSAGE
    ARC3: Beginning to archive thread 1 sequence 4258 (27056314-27064244)
    ARC3: Completed archiving thread 1 sequence 4258 (27056314-27064244)
    ARC0: Beginning to archive thread 1 sequence 4259 (27064244-27064251)
    ARC0: Completed archiving thread 1 sequence 4259 (27064244-27064251)
    ARC2: Beginning to archive thread 1 sequence 4260 (27064251-27064328)
    ARC2: Completed archiving thread 1 sequence 4260 (27064251-27064328)
    ARC3: Beginning to archive thread 1 sequence 4261 (27064328-27064654)
    ARC3: Completed archiving thread 1 sequence 4261 (27064328-27064654)
    Edited by: user8898355 on 01-dic-2011 7:02

    I'm seeing those errors at primary
    LNSb started with pid=20, OS id=30141
    LGWR: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (16086)
    LGWR: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    trace file:
    *** 2011-12-02 09:52:17.164
    *** SESSION ID:(183.1) 2011-12-02 09:52:17.164
    *** CLIENT ID:() 2011-12-02 09:52:17.164
    *** SERVICE NAME:(SYS$BACKGROUND) 2011-12-02 09:52:17.164
    *** MODULE NAME:() 2011-12-02 09:52:17.164
    *** ACTION NAME:() 2011-12-02 09:52:17.164
    *** TRACE FILE RECREATED AFTER BEING REMOVED ***
    *** 2011-12-02 09:52:17.164 6465 krsu.c
    Initializing NetServer[LNSb] for dest=MN12201R.domain.es mode SYNC
    LNSb is not running anymore.
    New SYNC LNSb needs to be started
    Waiting for subscriber count on LGWR-LNSb channel to go to zero
    Subscriber count went to zero - time now is <12/02/2011 09:52:17>
    Starting LNSb ...
    Waiting for LNSb [pid 30141] to initialize itself
    *** TRACE FILE RECREATED AFTER BEING REMOVED ***
    *** 2011-12-02 09:52:17.164 6465 krsu.c
    Initializing NetServer[LNSb] for dest=MN12201R.domain.es mode SYNC
    LNSb is not running anymore.
    New SYNC LNSb needs to be started
    Waiting for subscriber count on LGWR-LNSb channel to go to zero
    Subscriber count went to zero - time now is <12/02/2011 09:52:17>
    Starting LNSb ...
    Waiting for LNSb [pid 30141] to initialize itself
    *** 2011-12-02 09:52:20.185
    *** 2011-12-02 09:52:20.185 6828 krsu.c
    Netserver LNSb [pid 30141] for mode SYNC has been initialized
    Performing a channel reset to ignore previous responses
    Successfully started LNSb [pid 30141] for dest MN12201R.domain.es mode SYNC ocis=0x2ba2cb1fece8
    *** 2011-12-02 09:52:20.185 2880 krsu.c
    Making upiahm request to LNSb [pid 30141]: Begin Time is <12/02/2011 09:52:17>. NET_TIMEOUT = <30> seconds
    Waiting for LNSb to respond to upiahm
    *** 2011-12-02 09:52:20.262 3044 krsu.c
    upiahm connect done status is 0
    Receiving message from LNSb
    Receiving message from LNSb
    LGWR: Failed
    rfsp: 0x2ba2ca55c328
    rfsmod: 2
    rfsver: 3
    rfsflag: 0x24882

  • I/O Write Performance

    Hello ,
    we are currently experiencing heavy I/O problmes perfoming prrof of concept
    testig for one of our customers. Our setup is as follows:
    HP ProLiant DL380 with 24GB Ram and 8 15k 72GB SAS drives
    An HP P400 Raid controller with 256MB cache in RAID0 mode was used.
    Win 2k8r2 was installed on c (a physical Drive) and the database on E
    (= two physical drives in RAID0 128k Strip Size)
    With the remaining 5 drives read and write tests were performed using raid 0 with variing number of drives.
    I/O performance, as measured with ATTO Disk benchmark, increased as expected linear with the number of drives used.
    We expected to see this increased performance in the database, too and performed the following tests:
    - with 3 different tables the full table scan (FTS) (Hint: /*+ FULL (s) NOCACHE (s) */)
    - a CTAS statement.
    The system was used exclusively for testing.
    The used tables:
    Table 1: 312 col, 12,248 MB, 11,138,561 rows, avg len 621 bytes
    Table 2: 159 col, 4288 MB, 5,441,171 rows, avg len 529 bytes
    Table 3: 118 col, 360MB, 820,259 rows, avg len 266 bytes
    The FTS has improved as expected. With 5 physical drives in a RAID0, a performance of
    420MB/s was achieved.
    In the write test on the other hand we were not able to archieve any improvement.
    The CTAS statement always works with about 5000 - 6000 BLOCK/s (80MB/s)
    But when we tried running several CTAS statements in different sessions, the overall speed increased as expected.
    Further tests showed that the write speed seems to depend also on the number of columns. 80MB/s were only
    possible with Tables 2 and 3. With Table 1, however only 30MB/s were measured.
    Is this maybe just an incorrectly set parameter?
    What we already tried:
    - change the number of db_writer_processes 4 and then to 8
    - Manual configuration of PGA and SGA size
    - setting DB_BLOCK_SIZE to 16k
    - FILESYSTEMIO_OPTIONS set to setall
    - checking that Resource Manager are really disabled
    Thanks for any help.
    V$PARAMETERS
    1     lock_name_space     
    2     processes     150
    3     sessions     248
    4     timed_statistics     TRUE
    5     timed_os_statistics     0
    6     resource_limit     FALSE
    7     license_max_sessions     0
    8     license_sessions_warning     0
    9     cpu_count     8
    10     instance_groups     
    11     event     
    12     sga_max_size     14495514624
    13     use_large_pages     TRUE
    14     pre_page_sga     FALSE
    15     shared_memory_address     0
    16     hi_shared_memory_address     0
    17     use_indirect_data_buffers     FALSE
    18     lock_sga     FALSE
    19     processor_group_name     
    20     shared_pool_size     0
    21     large_pool_size     0
    22     java_pool_size     0
    23     streams_pool_size     0
    24     shared_pool_reserved_size     93952409
    25     java_soft_sessionspace_limit     0
    26     java_max_sessionspace_size     0
    27     spfile     C:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEORATEST.ORA
    28     instance_type     RDBMS
    29     nls_language     AMERICAN
    30     nls_territory     AMERICA
    31     nls_sort     
    32     nls_date_language     
    33     nls_date_format     
    34     nls_currency     
    35     nls_numeric_characters     
    36     nls_iso_currency     
    37     nls_calendar     
    38     nls_time_format     
    39     nls_timestamp_format     
    40     nls_time_tz_format     
    41     nls_timestamp_tz_format     
    42     nls_dual_currency     
    43     nls_comp     BINARY
    44     nls_length_semantics     BYTE
    45     nls_nchar_conv_excp     FALSE
    46     fileio_network_adapters     
    47     filesystemio_options     
    48     clonedb     FALSE
    49     disk_asynch_io     TRUE
    50     tape_asynch_io     TRUE
    51     dbwr_io_slaves     0
    52     backup_tape_io_slaves     FALSE
    53     resource_manager_cpu_allocation     8
    54     resource_manager_plan     
    55     cluster_interconnects     
    56     file_mapping     FALSE
    57     gcs_server_processes     0
    58     active_instance_count     
    59     sga_target     14495514624
    60     memory_target     0
    61     memory_max_target     0
    62     control_files     E:\ORACLE\ORADATA\ORATEST\CONTROL01.CTL, C:\ORACLE\FAST_RECOVERY_AREA\ORATEST\CONTROL02.CTL
    63     db_file_name_convert     
    64     log_file_name_convert     
    65     control_file_record_keep_time     7
    66     db_block_buffers     0
    67     db_block_checksum     TYPICAL
    68     db_ultra_safe     OFF
    69     db_block_size     8192
    70     db_cache_size     0
    71     db_2k_cache_size     0
    72     db_4k_cache_size     0
    73     db_8k_cache_size     0
    74     db_16k_cache_size     0
    75     db_32k_cache_size     0
    76     db_keep_cache_size     0
    77     db_recycle_cache_size     0
    78     db_writer_processes     1
    79     buffer_pool_keep     
    80     buffer_pool_recycle     
    81     db_flash_cache_file     
    82     db_flash_cache_size     0
    83     db_cache_advice     ON
    84     compatible     11.2.0.0.0
    85     log_archive_dest_1     
    86     log_archive_dest_2     
    87     log_archive_dest_3     
    88     log_archive_dest_4     
    89     log_archive_dest_5     
    90     log_archive_dest_6     
    91     log_archive_dest_7     
    92     log_archive_dest_8     
    93     log_archive_dest_9     
    94     log_archive_dest_10     
    95     log_archive_dest_11     
    96     log_archive_dest_12     
    97     log_archive_dest_13     
    98     log_archive_dest_14     
    99     log_archive_dest_15     
    100     log_archive_dest_16     
    101     log_archive_dest_17     
    102     log_archive_dest_18     
    103     log_archive_dest_19     
    104     log_archive_dest_20     
    105     log_archive_dest_21     
    106     log_archive_dest_22     
    107     log_archive_dest_23     
    108     log_archive_dest_24     
    109     log_archive_dest_25     
    110     log_archive_dest_26     
    111     log_archive_dest_27     
    112     log_archive_dest_28     
    113     log_archive_dest_29     
    114     log_archive_dest_30     
    115     log_archive_dest_31     
    116     log_archive_dest_state_1     enable
    117     log_archive_dest_state_2     enable
    118     log_archive_dest_state_3     enable
    119     log_archive_dest_state_4     enable
    120     log_archive_dest_state_5     enable
    121     log_archive_dest_state_6     enable
    122     log_archive_dest_state_7     enable
    123     log_archive_dest_state_8     enable
    124     log_archive_dest_state_9     enable
    125     log_archive_dest_state_10     enable
    126     log_archive_dest_state_11     enable
    127     log_archive_dest_state_12     enable
    128     log_archive_dest_state_13     enable
    129     log_archive_dest_state_14     enable
    130     log_archive_dest_state_15     enable
    131     log_archive_dest_state_16     enable
    132     log_archive_dest_state_17     enable
    133     log_archive_dest_state_18     enable
    134     log_archive_dest_state_19     enable
    135     log_archive_dest_state_20     enable
    136     log_archive_dest_state_21     enable
    137     log_archive_dest_state_22     enable
    138     log_archive_dest_state_23     enable
    139     log_archive_dest_state_24     enable
    140     log_archive_dest_state_25     enable
    141     log_archive_dest_state_26     enable
    142     log_archive_dest_state_27     enable
    143     log_archive_dest_state_28     enable
    144     log_archive_dest_state_29     enable
    145     log_archive_dest_state_30     enable
    146     log_archive_dest_state_31     enable
    147     log_archive_start     FALSE
    148     log_archive_dest     
    149     log_archive_duplex_dest     
    150     log_archive_min_succeed_dest     1
    151     standby_archive_dest     %ORACLE_HOME%\RDBMS
    152     fal_client     
    153     fal_server     
    154     log_archive_trace     0
    155     log_archive_config     
    156     log_archive_local_first     TRUE
    157     log_archive_format     ARC%S_%R.%T
    158     redo_transport_user     
    159     log_archive_max_processes     4
    160     log_buffer     32546816
    161     log_checkpoint_interval     0
    162     log_checkpoint_timeout     1800
    163     archive_lag_target     0
    164     db_files     200
    165     db_file_multiblock_read_count     128
    166     read_only_open_delayed     FALSE
    167     cluster_database     FALSE
    168     parallel_server     FALSE
    169     parallel_server_instances     1
    170     cluster_database_instances     1
    171     db_create_file_dest     
    172     db_create_online_log_dest_1     
    173     db_create_online_log_dest_2     
    174     db_create_online_log_dest_3     
    175     db_create_online_log_dest_4     
    176     db_create_online_log_dest_5     
    177     db_recovery_file_dest     c:\oracle\fast_recovery_area
    178     db_recovery_file_dest_size     4322230272
    179     standby_file_management     MANUAL
    180     db_unrecoverable_scn_tracking     TRUE
    181     thread     0
    182     fast_start_io_target     0
    183     fast_start_mttr_target     0
    184     log_checkpoints_to_alert     FALSE
    185     db_lost_write_protect     NONE
    186     recovery_parallelism     0
    187     db_flashback_retention_target     1440
    188     dml_locks     1088
    189     replication_dependency_tracking     TRUE
    190     transactions     272
    191     transactions_per_rollback_segment     5
    192     rollback_segments     
    193     undo_management     AUTO
    194     undo_tablespace     UNDOTBS1
    195     undo_retention     900
    196     fast_start_parallel_rollback     LOW
    197     resumable_timeout     0
    198     instance_number     0
    199     db_block_checking     FALSE
    200     recyclebin     on
    201     db_securefile     PERMITTED
    202     create_stored_outlines     
    203     serial_reuse     disable
    204     ldap_directory_access     NONE
    205     ldap_directory_sysauth     no
    206     os_roles     FALSE
    207     rdbms_server_dn     
    208     max_enabled_roles     150
    209     remote_os_authent     FALSE
    210     remote_os_roles     FALSE
    211     sec_case_sensitive_logon     TRUE
    212     O7_DICTIONARY_ACCESSIBILITY     FALSE
    213     remote_login_passwordfile     EXCLUSIVE
    214     license_max_users     0
    215     audit_sys_operations     FALSE
    216     global_context_pool_size     
    217     db_domain     
    218     global_names     FALSE
    219     distributed_lock_timeout     60
    220     commit_point_strength     1
    221     global_txn_processes     1
    222     instance_name     oratest
    223     service_names     ORATEST
    224     dispatchers     (PROTOCOL=TCP) (SERVICE=ORATESTXDB)
    225     shared_servers     1
    226     max_shared_servers     
    227     max_dispatchers     
    228     circuits     
    229     shared_server_sessions     
    230     local_listener     
    231     remote_listener     
    232     listener_networks     
    233     cursor_space_for_time     FALSE
    234     session_cached_cursors     50
    235     remote_dependencies_mode     TIMESTAMP
    236     utl_file_dir     
    237     smtp_out_server     
    238     plsql_v2_compatibility     FALSE
    239     plsql_warnings     DISABLE:ALL
    240     plsql_code_type     INTERPRETED
    241     plsql_debug     FALSE
    242     plsql_optimize_level     2
    243     plsql_ccflags     
    244     plscope_settings     identifiers:none
    245     permit_92_wrap_format     TRUE
    246     java_jit_enabled     TRUE
    247     job_queue_processes     1000
    248     parallel_min_percent     0
    249     create_bitmap_area_size     8388608
    250     bitmap_merge_area_size     1048576
    251     cursor_sharing     EXACT
    252     result_cache_mode     MANUAL
    253     parallel_min_servers     0
    254     parallel_max_servers     135
    255     parallel_instance_group     
    256     parallel_execution_message_size     16384
    257     hash_area_size     131072
    258     result_cache_max_size     72482816
    259     result_cache_max_result     5
    260     result_cache_remote_expiration     0
    261     audit_file_dest     C:\ORACLE\ADMIN\ORATEST\ADUMP
    262     shadow_core_dump     none
    263     background_core_dump     partial
    264     background_dump_dest     c:\oracle\diag\rdbms\oratest\oratest\trace
    265     user_dump_dest     c:\oracle\diag\rdbms\oratest\oratest\trace
    266     core_dump_dest     c:\oracle\diag\rdbms\oratest\oratest\cdump
    267     object_cache_optimal_size     102400
    268     object_cache_max_size_percent     10
    269     session_max_open_files     10
    270     open_links     4
    271     open_links_per_instance     4
    272     commit_write     
    273     commit_wait     
    274     commit_logging     
    275     optimizer_features_enable     11.2.0.3
    276     fixed_date     
    277     audit_trail     DB
    278     sort_area_size     65536
    279     sort_area_retained_size     0
    280     cell_offload_processing     TRUE
    281     cell_offload_decryption     TRUE
    282     cell_offload_parameters     
    283     cell_offload_compaction     ADAPTIVE
    284     cell_offload_plan_display     AUTO
    285     db_name     ORATEST
    286     db_unique_name     ORATEST
    287     open_cursors     300
    288     ifile     
    289     sql_trace     FALSE
    290     os_authent_prefix     OPS$
    291     optimizer_mode     ALL_ROWS
    292     sql92_security     FALSE
    293     blank_trimming     FALSE
    294     star_transformation_enabled     TRUE
    295     parallel_degree_policy     MANUAL
    296     parallel_adaptive_multi_user     TRUE
    297     parallel_threads_per_cpu     2
    298     parallel_automatic_tuning     FALSE
    299     parallel_io_cap_enabled     FALSE
    300     optimizer_index_cost_adj     100
    301     optimizer_index_caching     0
    302     query_rewrite_enabled     TRUE
    303     query_rewrite_integrity     enforced
    304     pga_aggregate_target     4831838208
    305     workarea_size_policy     AUTO
    306     optimizer_dynamic_sampling     2
    307     statistics_level     TYPICAL
    308     cursor_bind_capture_destination     memory+disk
    309     skip_unusable_indexes     TRUE
    310     optimizer_secure_view_merging     TRUE
    311     ddl_lock_timeout     0
    312     deferred_segment_creation     TRUE
    313     optimizer_use_pending_statistics     FALSE
    314     optimizer_capture_sql_plan_baselines     FALSE
    315     optimizer_use_sql_plan_baselines     TRUE
    316     parallel_min_time_threshold     AUTO
    317     parallel_degree_limit     CPU
    318     parallel_force_local     FALSE
    319     optimizer_use_invisible_indexes     FALSE
    320     dst_upgrade_insert_conv     TRUE
    321     parallel_servers_target     128
    322     sec_protocol_error_trace_action     TRACE
    323     sec_protocol_error_further_action     CONTINUE
    324     sec_max_failed_login_attempts     10
    325     sec_return_server_release_banner     FALSE
    326     enable_ddl_logging     FALSE
    327     client_result_cache_size     0
    328     client_result_cache_lag     3000
    329     aq_tm_processes     1
    330     hs_autoregister     TRUE
    331     xml_db_events     enable
    332     dg_broker_start     FALSE
    333     dg_broker_config_file1     C:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\DR1ORATEST.DAT
    334     dg_broker_config_file2     C:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\DR2ORATEST.DAT
    335     olap_page_pool_size     0
    336     asm_diskstring     
    337     asm_preferred_read_failure_groups     
    338     asm_diskgroups     
    339     asm_power_limit     1
    340     control_management_pack_access     DIAGNOSTIC+TUNING
    341     awr_snapshot_time_offset     0
    342     sqltune_category     DEFAULT
    343     diagnostic_dest     C:\ORACLE
    344     tracefile_identifier     
    345     max_dump_file_size     unlimited
    346     trace_enabled     TRUE

    961262 wrote:
    The used tables:
    Table 1: 312 col, 12,248 MB, 11,138,561 rows, avg len 621 bytes
    Table 2: 159 col, 4288 MB, 5,441,171 rows, avg len 529 bytes
    Table 3: 118 col, 360MB, 820,259 rows, avg len 266 bytes
    The FTS has improved as expected. With 5 physical drives in a RAID0, a performance of
    420MB/s was achieved.
    In the write test on the other hand we were not able to archieve any improvement.
    The CTAS statement always works with about 5000 - 6000 BLOCK/s (80MB/s)
    But when we tried running several CTAS statements in different sessions, the overall speed increased as expected.
    Further tests showed that the write speed seems to depend also on the number of columns. 80MB/s were only
    possible with Tables 2 and 3. With Table 1, however only 30MB/s were measured.
    If multiple CTAS can produce higher throughput on writes this tells you that it is the production of the data that is the limit, not the writing. Notice in your example that nearly 75% of the time of the CTAS as CPU, not I/O.
    The thing about number of columns is that table 1 has exceeded the critical 254 limit - this means Oracle has chained all the rows internally into two pieces; this introduces lots of extra CPU-intensive operations (consistent gets, table access by rowid, heap block compress) so that the CPU time could have gone up significantly, resulting in a lower throughput that you are interpreting as a write problem.
    One other thought - if you are currently doing CTAS by "create as select from {real SAP table}" there may be other side effects that you're not going to see. I would do "create test clone of real SAP table", then "create as select from clone" to try and eliminate any such anomalies.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    Author: <b><em>Oracle Core</em></b>

  • DataGuard Standby 環境で db が open できない.

    DataGuard Standby 環境で db が open できなくて困っています。
    詳しい方いれば、原因と対処方法を教えていただきたいと思います。
    create した spfile が正確に読み込まれていないことが原因のようなのですが。。
    なぜ読み込めないのかが分からない状態です。
    pfile を読み込んだ起動は可能ですが、spfile を読み込んだ起動の前提条件とは、
    何なのでしょうか。単に整合性が取れていないだけなのか、それとも、、。
    [grid@osaka1 shell]$ asmcmd
    ASMCMD> ls
    DATA/
    FRA/
    ASMCMD> cd data
    ASMCMD> ls
    ASM/
    WEST/
    ASMCMD> ls -l
    Type  Redund  Striped  Time             Sys  Name
                                            Y    ASM/
                                            N    WEST/
    ASMCMD>
    ASMCMD> cd west
    ASMCMD> ls
    CONTROLFILE/
    DATAFILE/
    ONLINELOG/
    PARAMETERFILE/
    TEMPFILE/
    spfilewest.ora
    ASMCMD> ls -l
    Type           Redund  Striped  Time             Sys  Name
                                                     N    CONTROLFILE/
                                                     N    DATAFILE/
                                                     N    ONLINELOG/
                                                     N    PARAMETERFILE/
                                                     N    TEMPFILE/
                                                     N    spfilewest.ora => +DATA/WEST/PARAMETERFILE/spfile.257.824236121
    ASMCMD> pwd
    +data/west
    ASMCMD>
    ASMCMD> cd para*
    ASMCMD> ls -l
    Type           Redund  Striped  Time             Sys  Name
    PARAMETERFILE  MIRROR  COARSE   AUG 23 18:00:00  Y    spfile.257.824236121
    ASMCMD>
    ASMCMD> pwd
    +data/west/PARAMETERFILE
    ASMCMD> quit
    [grid@osaka1 shell]$
    [oracle@osaka1 dbs]$ more initHPYMUSIC.ora
    SPFILE='+DATA/west/spfilewest.ora'
    [oracle@osaka1 dbs]$
    よろしくお願い致します。
    ps.
    ORA-12154 は整合性の問題であるので、それを合わせれば消えると思っています。
    そもそも RAC を前提としていたのですが、それを standalone に置き換えて検証始めた結果、
    こうなってしまっています。
    open できない原因が ORA-12154 だったりして。。
    ■ プライマリの場合
    ○ open するほうは、シンプルに以下だけで open することが確認できる。
       が、db_name を変更した関係で
       「ORA-12154: TNS: 指定された接続識別子を解決できませんでした」
       が出続けている。
       ORA-12154 は db が open できない原因とは無関係かもしれない。
    srvctl stop database -d east -f
    srvctl start database -d east -o open
    srvctl config database -d east
    srvctl status database -d east
    ○ 参考出力
    set linesize 500 pages 0
    col value for a90
    col name for a50
    select name, value
    from v$parameter
    where name in ('db_name','db_unique_name','log_archive_config', 'log_archive_dest_1','log_archive_dest_2',
                   'log_archive_dest_state_1','log_archive_dest_state_2', 'remote_login_passwordfile',
                   'log_archive_format','log_archive_max_processes','fal_server','db_file_name_convert',
                   'log_file_name_convert', 'standby_file_management');
    SQL>
    db_file_name_convert
    log_file_name_convert
    log_archive_dest_1
    log_archive_dest_2            SERVICE=HPYMUSIC SYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=west
    log_archive_dest_state_1      enable
    log_archive_dest_state_2      enable
    fal_server
    log_archive_config
    log_archive_format            %t_%s_%r.dbf
    log_archive_max_processes     4
    standby_file_management       AUTO
    remote_login_passwordfile     EXCLUSIVE
    db_name                       HPYMUSIC
    db_unique_name                HPYMUSIC    ← ▼ db_name だけを変更したつもりが db_unique_name も変更されていた
    14行が選択されました。
    [oracle@tokyo1 shell]$ srvctl stop database -d east -f
    [oracle@tokyo1 shell]$ /u01/app/11.2.0/grid/bin/crsctl status resource -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Cluster Resources
    ora.east.db
          1        OFFLINE OFFLINE                               Instance Shutdown
    [oracle@tokyo1 shell]$ srvctl start database -d east -o open
    [oracle@tokyo1 shell]$ /u01/app/11.2.0/grid/bin/crsctl status resource -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DATA.dg
                   ONLINE  ONLINE       tokyo1
    ora.FRA.dg
                   ONLINE  ONLINE       tokyo1
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       tokyo1
    ora.asm
                   ONLINE  ONLINE       tokyo1                   Started
    Cluster Resources
    ora.cssd
          1        ONLINE  ONLINE       tokyo1
    ora.diskmon
          1        ONLINE  ONLINE       tokyo1
    ora.east.db
          1        ONLINE  ONLINE       tokyo1                   Open ← ▼
    [oracle@tokyo1 shell]$
    [oracle@tokyo1 shell]$ srvctl config database -d east
    一意のデータベース名: east
    データベース名: east
    Oracleホーム: /u01/app/oracle/product/11.2.0/dbhome_1
    Oracleユーザー: grid
    spfile: +DATA/east/spfileeast.ora
    ドメイン:
    開始オプション: open
    停止オプション: immediate
    データベース・ロール: PRIMARY
    管理ポリシー: AUTOMATIC
    ディスク・グループ: DATA,FRA
    サービス:
    [oracle@tokyo1 shell]$ srvctl status database -d east
    データベースは実行中です。
    Fri Aug 23 19:44:10 2013
    Error 12154 received logging on to the standby
    Errors in file /u01/app/oracle/diag/rdbms/hpymusic/HPYMUSIC/trace/HPYMUSIC_arc2_7579.trc:
    ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    PING[ARC2]: Heartbeat failed to connect to standby 'HPYMUSIC'. Error is 12154.
    [oracle@tokyo1 dbs]$ pwd
    /u01/app/oracle/product/11.2.0/dbhome_1/dbs
    [oracle@tokyo1 dbs]$
    [oracle@tokyo1 dbs]$
    [oracle@tokyo1 dbs]$ more 2013.08.23_east_pfile.txt
    HPYMUSIC.__db_cache_size=301989888
    HPYMUSIC.__java_pool_size=4194304
    HPYMUSIC.__large_pool_size=8388608
    HPYMUSIC.__pga_aggregate_target=339738624
    HPYMUSIC.__sga_target=503316480
    HPYMUSIC.__shared_io_pool_size=0
    HPYMUSIC.__shared_pool_size=176160768
    HPYMUSIC.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/east/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='+DATA/east/controlfile/current.270.823277705','+FRA/east/controlfile/current.
    260.823277707'
    *.db_block_checking='TRUE'
    *.db_block_checksum='TRUE'
    *.db_block_size=8192
    *.db_create_file_dest='+DATA'
    *.db_domain=''
    *.db_name='HPYMUSIC'
    *.db_recovery_file_dest='+FRA'
    *.db_recovery_file_dest_size=3038773248
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=HPYMUSICXDB)'
    *.log_archive_format='%t_%s_%r.dbf'
    *.memory_target=842006528
    *.nls_language='JAPANESE'
    *.nls_territory='JAPAN'
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.standby_file_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    Fri Aug 23 19:49:38 2013
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    ARCH: Warning; less destinations available than specified
    by LOG_ARCHIVE_MIN_SUCCEED_DEST init.ora parameter
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfileHPYMUSIC.ora
    System parameters with non-default values:
      processes                = 150
      nls_language             = "JAPANESE"
      nls_territory            = "JAPAN"
      memory_target            = 804M
      control_files            = "+DATA/east/controlfile/current.270.823277705"
      control_files            = "+FRA/east/controlfile/current.260.823277707"
      db_block_checksum        = "TRUE"
      db_block_size            = 8192
      compatible               = "11.2.0.0.0"
      log_archive_dest_2       = "SERVICE=HPYMUSIC SYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=west"
      log_archive_format       = "%t_%s_%r.dbf"
      db_create_file_dest      = "+DATA"
      db_recovery_file_dest    = "+FRA"
      db_recovery_file_dest_size= 2898M
      standby_file_management  = "AUTO"
      undo_tablespace          = "UNDOTBS1"
      db_block_checking        = "TRUE"
      remote_login_passwordfile= "EXCLUSIVE"
      db_domain                = ""
      dispatchers              = "(PROTOCOL=TCP) (SERVICE=HPYMUSICXDB)"
      audit_file_dest          = "/u01/app/oracle/admin/east/adump"
      audit_trail              = "DB"
      db_name                  = "HPYMUSIC"
      open_cursors             = 300
      diagnostic_dest          = "/u01/app/oracle"
    Fri Aug 23 19:49:39 2013
    PMON started with pid=2, OS id=8442
    Fri Aug 23 19:49:39 2013
    VKTM started with pid=3, OS id=8444 at elevated priority
    VKTM running at (10)millisec precision with DBRM quantum (100)ms
    Fri Aug 23 19:49:39 2013
    GEN0 started with pid=4, OS id=8448
    Fri Aug 23 19:49:39 2013
    DIAG started with pid=5, OS id=8450
    Fri Aug 23 19:49:39 2013
    DBRM started with pid=6, OS id=8452
    Fri Aug 23 19:49:39 2013
    PSP0 started with pid=7, OS id=8454
    Fri Aug 23 19:49:39 2013
    DIA0 started with pid=8, OS id=8456
    Fri Aug 23 19:49:39 2013
    MMAN started with pid=9, OS id=8458
    Fri Aug 23 19:49:39 2013
    DBW0 started with pid=10, OS id=8460
    Fri Aug 23 19:49:39 2013
    LGWR started with pid=11, OS id=8462
    Fri Aug 23 19:49:39 2013
    CKPT started with pid=12, OS id=8464
    Fri Aug 23 19:49:39 2013
    SMON started with pid=13, OS id=8466
    Fri Aug 23 19:49:39 2013
    RECO started with pid=14, OS id=8468
    Fri Aug 23 19:49:39 2013
    RBAL started with pid=15, OS id=8470
    Fri Aug 23 19:49:39 2013
    ASMB started with pid=16, OS id=8472
    Fri Aug 23 19:49:39 2013
    MMON started with pid=17, OS id=8474
    Fri Aug 23 19:49:39 2013
    MMNL started with pid=18, OS id=8478
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    NOTE: initiating MARK startup
    starting up 1 shared server(s) ...
    Starting background process MARK
    Fri Aug 23 19:49:39 2013
    MARK started with pid=20, OS id=8482
    NOTE: MARK has subscribed
    ORACLE_BASE not set in environment. It is recommended
    that ORACLE_BASE be set in the environment
    Reusing ORACLE_BASE from an earlier startup = /u01/app/oracle
    Fri Aug 23 19:49:39 2013
    ALTER DATABASE MOUNT
    NOTE: Loaded library: System
    SUCCESS: diskgroup DATA was mounted
    ERROR: failed to establish dependency between database HPYMUSIC and diskgroup resource ora.DATA.dg
    SUCCESS: diskgroup FRA was mounted
    ERROR: failed to establish dependency between database HPYMUSIC and diskgroup resource ora.FRA.dg
    Fri Aug 23 19:49:46 2013
    NSS2 started with pid=24, OS id=8572
    Successful mount of redo thread 1, with mount id 2951868947
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    ALTER DATABASE OPEN
    LGWR: STARTING ARCH PROCESSES
    Fri Aug 23 19:49:47 2013
    ARC0 started with pid=26, OS id=8574
    ARC0: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC0: STARTING ARCH PROCESSES
    Fri Aug 23 19:49:48 2013
    ARC1 started with pid=27, OS id=8576
    Fri Aug 23 19:49:48 2013
    ARC2 started with pid=28, OS id=8578
    ARC1: Archival started
    ARC2: Archival started
    ARC1: Becoming the 'no FAL' ARCH
    ARC1: Becoming the 'no SRL' ARCH
    ARC2: Becoming the heartbeat ARCH
    Fri Aug 23 19:49:48 2013
    ARC3 started with pid=29, OS id=8580
    LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
    ARC3: Archival started
    ARC0: STARTING ARCH PROCESSES COMPLETE
    Error 12154 received logging on to the standby
    Fri Aug 23 19:49:51 2013
    Errors in file /u01/app/oracle/diag/rdbms/hpymusic/HPYMUSIC/trace/HPYMUSIC_lgwr_8462.trc:
    ORA-12154: TNS: ?????????????????????
    Error 12154 for archive log file 2 to 'HPYMUSIC'
    LGWR: Failed to archive log 2 thread 1 sequence 8 (12154)
    Thread 1 advanced to log sequence 8 (thread open)
    Thread 1 opened at log sequence 8
      Current log# 2 seq# 8 mem# 0: +DATA/hpymusic/onlinelog/group_2.272.824213887
      Current log# 2 seq# 8 mem# 1: +FRA/hpymusic/onlinelog/group_2.262.824213889
    Successful open of redo thread 1
    Fri Aug 23 19:49:51 2013
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Fri Aug 23 19:49:51 2013
    SMON: enabling cache recovery
    Error 12154 received logging on to the standby
    Errors in file /u01/app/oracle/diag/rdbms/hpymusic/HPYMUSIC/trace/HPYMUSIC_arc2_8578.trc:
    ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    PING[ARC2]: Heartbeat failed to connect to standby 'HPYMUSIC'. Error is 12154.
    Archived Log entry 7 added for thread 1 sequence 7 ID 0xaff1210d dest 1:
    Error 12154 received logging on to the standby
    Errors in file /u01/app/oracle/diag/rdbms/hpymusic/HPYMUSIC/trace/HPYMUSIC_arc3_8580.trc:
    ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    FAL[server, ARC3]: Error 12154 creating remote archivelog file 'HPYMUSIC'
    FAL[server, ARC3]: FAL archive failed, see trace file.
    Errors in file /u01/app/oracle/diag/rdbms/hpymusic/HPYMUSIC/trace/HPYMUSIC_arc3_8580.trc:
    ORA-16055: FALリクエストが拒否されました。
    ARCH: FAL archive failed. Archiver continuing
    ORACLE Instance HPYMUSIC - Archival Error. Archiver continuing.
    Successfully onlined Undo Tablespace 2.
    Verifying file header compatibility for 11g tablespace encryption..
    Verifying 11g file header compatibility for tablespace encryption completed
    SMON: enabling tx recovery
    Database Characterset is AL32UTF8
    No Resource Manager plan active
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    Fri Aug 23 19:49:55 2013
    QMNC started with pid=32, OS id=8590
    Completed: ALTER DATABASE OPEN
    Fri Aug 23 19:49:59 2013
    Starting background process CJQ0
    Fri Aug 23 19:49:59 2013
    CJQ0 started with pid=33, OS id=8609
    Fri Aug 23 19:49:59 2013
    db_recovery_file_dest_size of 2898 MB is 6.38% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    [root@tokyo1 app]#
    [root@tokyo1 app]# more /u01/app/oracle/diag/rdbms/hpymusic/HPYMUSIC/trace/HPYMUSIC_arc2_8578.trc
    Trace file /u01/app/oracle/diag/rdbms/hpymusic/HPYMUSIC/trace/HPYMUSIC_arc2_8578.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1
    System name:    Linux
    Node name:      tokyo1.oracle11g.jp
    Release:        2.6.18-348.12.1.el5
    Version:        #1 SMP Wed Jul 10 05:28:41 EDT 2013
    Machine:        x86_64
    Instance name: HPYMUSIC
    Redo thread mounted by this instance: 1
    Oracle process number: 28
    Unix process pid: 8578, image: [email protected] (ARC2)
    *** 2013-08-23 19:49:51.707
    *** SESSION ID:(15.1) 2013-08-23 19:49:51.707
    *** CLIENT ID:() 2013-08-23 19:49:51.707
    *** SERVICE NAME:() 2013-08-23 19:49:51.707
    *** MODULE NAME:() 2013-08-23 19:49:51.707
    *** ACTION NAME:() 2013-08-23 19:49:51.707
    Redo shipping client performing standby login
    OCIServerAttach failed -1
    .. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    OCIServerAttach failed -1
    .. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    OCIServerAttach failed -1
    .. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    *** 2013-08-23 19:49:51.972 4132 krsh.c
    Error 12154 received logging on to the standby
    *** 2013-08-23 19:49:51.972 869 krsu.c
    Error 12154 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'HPYMUSIC'
    Error 12154 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'HPYMUSIC'
    ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    *** 2013-08-23 19:49:51.973 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'HPYMUSIC'. Error is 12154.
    *** 2013-08-23 19:49:51.973 2747 krsi.c
    krsi_dst_fail: dest:2 err:12154 force:0 blast:1
    *** 2013-08-23 19:50:49.816
    Redo shipping client performing standby login
    OCIServerAttach failed -1
    .. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    OCIServerAttach failed -1
    .. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    OCIServerAttach failed -1
    .. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    *** 2013-08-23 19:50:50.070 4132 krsh.c
    Error 12154 received logging on to the standby
    *** 2013-08-23 19:50:50.070 869 krsu.c
    Error 12154 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'HPYMUSIC'
    Error 12154 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'HPYMUSIC'
    ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    *** 2013-08-23 19:50:50.070 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'HPYMUSIC'. Error is 12154.
    *** 2013-08-23 19:50:50.070 2747 krsi.c
    krsi_dst_fail: dest:2 err:12154 force:0 blast:1
    *** 2013-08-23 19:51:51.147
    Redo shipping client performing standby login
    OCIServerAttach failed -1
    .. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    OCIServerAttach failed -1
    .. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    OCIServerAttach failed -1
    .. Detailed OCI error val is 12154 and errmsg is 'ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    *** 2013-08-23 19:51:51.403 4132 krsh.c
    Error 12154 received logging on to the standby
    *** 2013-08-23 19:51:51.403 869 krsu.c
    Error 12154 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'HPYMUSIC'
    Error 12154 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'HPYMUSIC'
    ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    *** 2013-08-23 19:51:51.403 4132 krsh.c
    PING[ARC2]: Heartbeat failed to connect to standby 'HPYMUSIC'. Error is 12154.
    *** 2013-08-23 19:51:51.403 2747 krsi.c
    krsi_dst_fail: dest:2 err:12154 force:0 blast:1
    [root@tokyo1 app]#
    [grid@tokyo1 shell]$ ./grid_info_east-x.sh
    + export ORACLE_SID=+ASM
    + ORACLE_SID=+ASM
    + LOGDIR=/home/grid/log
    + PRIMARYDB=east_DGMGRL
    + STANDBYDB=
    + PASSWORD=dataguard
    + mkdir -p /home/grid/log
    ++ date +%y%m%d,%H%M%S
    + echo 'asm info,130823,195709'
    + sqlplus / as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on 金 8月 23 19:57:09 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Automatic Storage Management option
    に接続されました。
    SQL> SQL>
    SYSDATE
    13-08-23
    SQL> SQL> SQL>
    NAME                                 TYPE                VALUE
    asm_diskgroups                       string              FRA
    asm_diskstring                       string              /dev/sd*1
    asm_power_limit                      integer             1
    asm_preferred_read_failure_groups    string
    audit_file_dest                      string              /u01/app/11.2.0/grid/rdbms/audit
    audit_sys_operations                 boolean             FALSE
    audit_syslog_level                   string
    background_core_dump                 string              partial
    background_dump_dest                 string              /u01/app/grid/diag/asm/+asm/+ASM/trace
    cluster_database                     boolean             FALSE
    cluster_database_instances           integer             1
    cluster_interconnects                string
    core_dump_dest                       string              /u01/app/grid/diag/asm/+asm/+ASM/cdump
    db_cache_size                        big integer         0
    db_ultra_safe                        string              OFF
    db_unique_name                       string              +ASM
    diagnostic_dest                      string              /u01/app/grid
    event                                string
    file_mapping                         boolean             FALSE
    filesystemio_options                 string              none
    ifile                                file
    instance_name                        string              +ASM
    instance_number                      integer             1
    instance_type                        string              asm
    large_pool_size                      big integer         12M
    ldap_directory_sysauth               string              no
    listener_networks                    string
    local_listener                       string
    lock_name_space                      string
    lock_sga                             boolean             FALSE
    max_dump_file_size                   string              unlimited
    memory_max_target                    big integer         272M
    memory_target                        big integer         272M
    nls_calendar                         string
    nls_comp                             string              BINARY
    nls_currency                         string
    nls_date_format                      string
    nls_date_language                    string
    nls_dual_currency                    string
    nls_iso_currency                     string
    nls_language                         string              AMERICAN
    nls_length_semantics                 string              BYTE
    nls_nchar_conv_excp                  string              FALSE
    nls_numeric_characters               string
    nls_sort                             string
    nls_territory                        string              AMERICA
    nls_time_format                      string
    nls_time_tz_format                   string
    nls_timestamp_format                 string
    nls_timestamp_tz_format              string
    os_authent_prefix                    string              ops$
    os_roles                             boolean             FALSE
    pga_aggregate_target                 big integer         0
    processes                            integer             100
    remote_listener                      string
    remote_login_passwordfile            string              EXCLUSIVE
    remote_os_authent                    boolean             FALSE
    remote_os_roles                      boolean             FALSE
    service_names                        string              +ASM
    sessions                             integer             172
    sga_max_size                         big integer         272M
    sga_target                           big integer         0
    shadow_core_dump                     string              partial
    shared_pool_reserved_size            big integer         6081740
    shared_pool_size                     big integer         0
    sort_area_size                       integer             65536
    spfile                               string              +DATA/asm/asmparameterfile/registry.253.823204697
    sql_trace                            boolean             FALSE
    statistics_level                     string              TYPICAL
    timed_os_statistics                  integer             0
    timed_statistics                     boolean             TRUE
    trace_enabled                        boolean             TRUE
    user_dump_dest                       string              /u01/app/grid/diag/asm/+asm/+ASM/trace
    workarea_size_policy                 string              AUTO
    ++ date +%y%m%d,%H%M%S
    + echo 'asmcmd info,130823,195709'
    + asmcmd ls -l
    State    Type    Rebal  Name
    MOUNTED  NORMAL  N      DATA/
    MOUNTED  NORMAL  N      FRA/
    + asmcmd ls -l 'data/asm/*'
    Type              Redund  Striped  Time             Sys  Name
    ASMPARAMETERFILE  MIRROR  COARSE   AUG 11 19:00:00  Y    REGISTRY.253.823204697
    + asmcmd ls -l 'data/east/*'
    Type           Redund  Striped  Time             Sys  Name
    +data/east/CONTROLFILE/:
    CONTROLFILE    HIGH    FINE     AUG 12 15:00:00  Y    Current.260.823276231
    CONTROLFILE    HIGH    FINE     AUG 23 19:00:00  Y    Current.270.823277705
    +data/east/DATAFILE/:
    DATAFILE       MIRROR  COARSE   AUG 12 15:00:00  Y    SYSAUX.257.823276133
    DATAFILE       MIRROR  COARSE   AUG 23 19:00:00  Y    SYSAUX.267.823277615
    DATAFILE       MIRROR  COARSE   AUG 12 15:00:00  Y    SYSTEM.256.823276131
    DATAFILE       MIRROR  COARSE   AUG 23 19:00:00  Y    SYSTEM.266.823277615
    DATAFILE       MIRROR  COARSE   AUG 12 15:00:00  Y    UNDOTBS1.258.823276133
    DATAFILE       MIRROR  COARSE   AUG 23 19:00:00  Y    UNDOTBS1.268.823277615
    DATAFILE       MIRROR  COARSE   AUG 12 15:00:00  Y    USERS.259.823276133
    DATAFILE       MIRROR  COARSE   AUG 23 19:00:00  Y    USERS.269.823277615
    +data/east/ONLINELOG/:
    ONLINELOG      MIRROR  COARSE   AUG 12 15:00:00  Y    group_1.261.823276235
    ONLINELOG      MIRROR  COARSE   AUG 12 15:00:00  Y    group_2.262.823276241
    ONLINELOG      MIRROR  COARSE   AUG 12 15:00:00  Y    group_3.263.823276247
    +data/east/PARAMETERFILE/:
    PARAMETERFILE  MIRROR  COARSE   AUG 23 12:00:00  Y    spfile.265.823277967
    +data/east/TEMPFILE/:
    TEMPFILE       MIRROR  COARSE   AUG 12 15:00:00  Y    TEMP.264.823276263
    TEMPFILE       MIRROR  COARSE   AUG 23 19:00:00  Y    TEMP.274.823277733
                                                     N    spfileeast.ora => +DATA/EAST/PARAMETERFILE/spfile.265.823277967
    + asmcmd ls -l 'fra/east/*'
    Type         Redund  Striped  Time             Sys  Name
    +fra/east/ARCHIVELOG/:
                                                   Y    2013_08_12/
                                                   Y    2013_08_15/
                                                   Y    2013_08_19/
                                                   Y    2013_08_22/
                                                   Y    2013_08_23/
    +fra/east/CONTROLFILE/:
    CONTROLFILE  HIGH    FINE     AUG 12 15:00:00  Y    Current.256.823276231
    CONTROLFILE  HIGH    FINE     AUG 23 19:00:00  Y    Current.260.823277707
    +fra/east/ONLINELOG/:
    ONLINELOG    MIRROR  COARSE   AUG 12 15:00:00  Y    group_1.257.823276237
    ONLINELOG    MIRROR  COARSE   AUG 23 19:00:00  Y    group_10.272.823535727
    ONLINELOG    MIRROR  COARSE   AUG 23 19:00:00  Y    group_11.273.823535737
    ONLINELOG    MIRROR  COARSE   AUG 23 19:00:00  Y    group_12.274.823535745
    ONLINELOG    MIRROR  COARSE   AUG 23 19:00:00  Y    group_13.275.823535757
    ONLINELOG    MIRROR  COARSE   AUG 23 19:00:00  Y    group_14.276.823535763
    ONLINELOG    MIRROR  COARSE   AUG 23 19:00:00  Y    group_15.277.823535771
    ONLINELOG    MIRROR  COARSE   AUG 12 15:00:00  Y    group_2.258.823276245
    ONLINELOG    MIRROR  COARSE   AUG 12 15:00:00  Y    group_3.259.823276251
    ONLINELOG    MIRROR  COARSE   AUG 23 19:00:00  Y    group_7.269.823535685
    ONLINELOG    MIRROR  COARSE   AUG 23 19:00:00  Y    group_8.270.823535695
    ONLINELOG    MIRROR  COARSE   AUG 23 19:00:00  Y    group_9.271.823535703
    +fra/east/STANDBYLOG/:
                                                   N    standby_group_07.log => +FRA/EAST/ONLINELOG/group_7.269.823535685
                                                   N    standby_group_08.log => +FRA/EAST/ONLINELOG/group_8.270.823535695
                                                   N    standby_group_09.log => +FRA/EAST/ONLINELOG/group_9.271.823535703
                                                   N    standby_group_10.log => +FRA/EAST/ONLINELOG/group_10.272.823535727
                                                   N    standby_group_11.log => +FRA/EAST/ONLINELOG/group_11.273.823535737
                                                   N    standby_group_12.log => +FRA/EAST/ONLINELOG/group_12.274.823535745
                                                   N    standby_group_13.log => +FRA/EAST/ONLINELOG/group_13.275.823535757
                                                   N    standby_group_14.log => +FRA/EAST/ONLINELOG/group_14.276.823535763
                                                   N    standby_group_15.log => +FRA/EAST/ONLINELOG/group_15.277.823535771
    + asmcmd find +data 'group*'
    +data/EAST/ONLINELOG/group_1.261.823276235
    +data/EAST/ONLINELOG/group_2.262.823276241
    +data/EAST/ONLINELOG/group_3.263.823276247
    +data/HPYMUSIC/ONLINELOG/group_1.271.824213881
    +data/HPYMUSIC/ONLINELOG/group_2.272.824213887
    +data/HPYMUSIC/ONLINELOG/group_3.273.824213895
    + asmcmd find +data 'spf*'
    +data/EAST/PARAMETERFILE/spfile.265.823277967
    +data/EAST/spfileeast.ora
    + asmcmd ls -l data/east/CONTROLFILE
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     AUG 12 15:00:00  Y    Current.260.823276231
    CONTROLFILE  HIGH    FINE     AUG 23 19:00:00  Y    Current.270.823277705
    + asmcmd find +fra 'group*'
    +fra/EAST/ONLINELOG/group_1.257.823276237
    +fra/EAST/ONLINELOG/group_10.272.823535727
    +fra/EAST/ONLINELOG/group_11.273.823535737
    +fra/EAST/ONLINELOG/group_12.274.823535745
    +fra/EAST/ONLINELOG/group_13.275.823535757
    +fra/EAST/ONLINELOG/group_14.276.823535763
    +fra/EAST/ONLINELOG/group_15.277.823535771
    +fra/EAST/ONLINELOG/group_2.258.823276245
    +fra/EAST/ONLINELOG/group_3.259.823276251
    +fra/EAST/ONLINELOG/group_7.269.823535685
    +fra/EAST/ONLINELOG/group_8.270.823535695
    +fra/EAST/ONLINELOG/group_9.271.823535703
    +fra/HPYMUSIC/ONLINELOG/group_1.261.824213883
    +fra/HPYMUSIC/ONLINELOG/group_2.262.824213889
    +fra/HPYMUSIC/ONLINELOG/group_3.263.824213897
    + asmcmd find +fra 'spf*'
    + asmcmd ls -l fra/east/CONTROLFILE
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     AUG 12 15:00:00  Y    Current.256.823276231
    CONTROLFILE  HIGH    FINE     AUG 23 19:00:00  Y    Current.260.823277707
    ++ date +%y%m%d,%H%M%S
    + echo END,130823,195712
    [grid@tokyo1 shell]$
    ■ 以下、スタンバイ側 ■ ■ ■ ■ ■ ■ ■
    export ORACLE_SID=HPYMUSIC
    sqlplus / as sysdba
    startup nomount pfile='/u01/app/oracle/product/11.2.0/dbhome_1/dbs/pfile_for_standby_HPYMUSIC.txt'
    create spfile='+data/west/spfilewest.ora' from pfile='/u01/app/oracle/product/11.2.0/dbhome_1/dbs/pfile_for_standby_HPYMUSIC.txt';
    srvctl stop database -d west -f
    srvctl start database -d west -o open
    srvctl start database -d west -o mount
    srvctl start database -d west
    startup mount pfile='/u01/app/oracle/product/11.2.0/dbhome_1/dbs/pfile_for_standby_HPYMUSIC.txt'
    srvctl start database -d west -o open
    srvctl config database -d west
    srvctl status database -d west
    alter database recover managed standby database disconnect from session;
    select name, database_role, open_mode from gv$database;
    srvctl modify database -d west -s open
    ○ spfile を作成する
    export ORACLE_SID=HPYMUSIC
    sqlplus / as sysdba
    startup nomount pfile='/u01/app/oracle/product/11.2.0/dbhome_1/dbs/pfile_for_standby_HPYMUSIC.txt'
    create spfile='+data/west/spfilewest.ora' from pfile='/u01/app/oracle/product/11.2.0/dbhome_1/dbs/pfile_for_standby_HPYMUSIC.txt';
    ○ 落とす
    srvctl stop database -d west -f
    ○ open したいが起動しない( Mounted (Closed) 状態で起動することもある)。
    srvctl start database -d west -o open
    PRCR-1079 : リソースora.west.dbの起動に失敗しました
    CRS-2674: Start of 'ora.west.db' on 'osaka1' failed
    ○ open したいが起動しない( Mounted (Closed) 状態で起動することもある)。
    srvctl start database -d west -o mount
    PRCR-1079 : リソースora.west.dbの起動に失敗しました
    CRS-2674: Start of 'ora.west.db' on 'osaka1' failed
    ○ open したいが起動しない( Mounted (Closed) 状態で起動することもある)。
    srvctl start database -d west
    PRCR-1079 : リソースora.west.dbの起動に失敗しました
    CRS-2674: Start of 'ora.west.db' on 'osaka1' failed
    ○ 起動するがエラーあり( alert_HPYMUSIC.log )
    startup mount pfile='/u01/app/oracle/product/11.2.0/dbhome_1/dbs/pfile_for_standby_HPYMUSIC.txt'
    [oracle@osaka1 dbs]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on 金 8月 23 19:05:35 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    アイドル・インスタンスに接続しました。
    SQL> startup mount pfile='/u01/app/oracle/product/11.2.0/dbhome_1/dbs/pfile_for_standby_HPYMUSIC.txt'
    ORACLEインスタンスが起動しました。
    Total System Global Area  839282688 bytes
    Fixed Size                  2217992 bytes
    Variable Size             515901432 bytes
    Database Buffers          314572800 bytes
    Redo Buffers                6590464 bytes
    データベースがマウントされました。
    Error 12154 received logging on to the standby
    FAL[client, ARC3]: Error 12154 connecting to HPYMUSIC for fetching gap sequence
    Errors in file /u01/app/oracle/diag/rdbms/west/HPYMUSIC/trace/HPYMUSIC_arc3_25690.trc:
    ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    Errors in file /u01/app/oracle/diag/rdbms/west/HPYMUSIC/trace/HPYMUSIC_arc3_25690.trc:
    ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    ○ open にならず Mounted (Closed) としかなってくれない。
    srvctl start database -d west -o open
    [oracle@osaka1 dbs]$ srvctl start database -d west -o open
    [oracle@osaka1 dbs]$ /u01/app/11.2.0/grid/bin/crsctl status resource -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DATA.dg
                   ONLINE  ONLINE       osaka1
    ora.FRA.dg
                   ONLINE  ONLINE       osaka1
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       osaka1
    ora.asm
                   ONLINE  ONLINE       osaka1                   Started
    Cluster Resources
    ora.cssd
          1        ONLINE  ONLINE       osaka1
    ora.diskmon
          1        ONLINE  ONLINE       osaka1
    ora.west.db
          1        ONLINE  INTERMEDIATE osaka1                   Mounted (Closed)

    srvctl config database -d west
    srvctl status database -d west
    [oracle@osaka1 dbs]$ srvctl config database -d west
    一意のデータベース名: west
    データベース名: HPYMUSIC
    Oracleホーム: /u01/app/oracle/product/11.2.0/dbhome_1
    Oracleユーザー: grid
    spfile: +data/west/spfilewest.ora
    ドメイン:
    開始オプション: open
    停止オプション: immediate
    データベース・ロール: physical_standby
    管理ポリシー: AUTOMATIC
    ディスク・グループ: DATA,FRA
    サービス:
    [oracle@osaka1 dbs]$ srvctl status database -d west
    データベースは実行中です。
    ○ mrp プロセスが起動するが、Read Only ではない。
    alter database recover managed standby database disconnect from session;
    select name, database_role, open_mode from gv$database;
    [oracle@osaka1 dbs]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on 金 8月 23 19:33:08 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    に接続されました。
    SQL>
    SQL> alter database recover managed standby database disconnect from session;
    データベースが変更されました。
    SQL> select name, database_role, open_mode from gv$database;
    NAME                        DATABASE_ROLE
    OPEN_MODE
    HPYMUSIC                    PHYSICAL STANDBY
    MOUNTED
    [root@osaka1 app]# ps -ef |egrep -i mrp
    oracle   26269     1  0 19:33 ?        00:00:00 ora_mrp0_HPYMUSIC
    ○ modify しても open にならない。
    srvctl modify database -d west -s open
    [oracle@osaka1 dbs]$ srvctl modify database -d west -s open
    [oracle@osaka1 dbs]$ /u01/app/11.2.0/grid/bin/crsctl status resource -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DATA.dg
                   ONLINE  ONLINE       osaka1
    ora.FRA.dg
                   ONLINE  ONLINE       osaka1
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       osaka1
    ora.asm
                   ONLINE  ONLINE       osaka1                   Started
    Cluster Resources
    ora.cssd
          1        ONLINE  ONLINE       osaka1
    ora.diskmon
          1        ONLINE  ONLINE       osaka1
    ora.west.db
          1        ONLINE  INTERMEDIATE osaka1                   Mounted (Closed)

    standby 側に、アーカイブログファイルを少し適用すれば open できそうに感じます。
    これを解決するためには、以下のエラーを解決するのがよいと思います。
    ・ORA-12154: TNS: 指定された接続識別子を解決できませんでした
    両ノードの tnsnames.ora を確認させて貰えますか?
    この推測が間違えていたら再検討しましょう。

  • Arhivelogs in the wrong place

    I have a strange problem with my archivelogs (Oracle 11.1.0 on RHEL 5). I have specified:
    db_recovery_file_dest=/u01/oracle/flash_recovery_area
    - and some of them end up there, but some end up in $ORACLE_HOME/dbs; something that I am certain I have never specified. As far as I can see there are no parameters that would put them in that place (please forgive me for listing the entire 'show parameters') - what is going on here?
    SQL> show parameters
    NAME                    TYPE     VALUE
    O7_DICTIONARY_ACCESSIBILITY     boolean     FALSE
    active_instance_count          integer
    aq_tm_processes           integer     0
    archive_lag_target          integer     0
    asm_diskgroups               string
    asm_diskstring               string
    asm_power_limit           integer     1
    asm_preferred_read_failure_groups string
    audit_file_dest           string     /u01/oracle/admin/rh5ora1132/a
                                  dump
    audit_sys_operations          boolean     FALSE
    NAME                    TYPE     VALUE
    audit_syslog_level          string
    audit_trail               string     DB
    background_core_dump          string     partial
    background_dump_dest          string     /u01/oracle/diag/rdbms/rh5ora1
                                  132/rh5ora1132/trace
    backup_tape_io_slaves          boolean     FALSE
    bitmap_merge_area_size          integer     1048576
    blank_trimming               boolean     FALSE
    buffer_pool_keep          string
    buffer_pool_recycle          string
    circuits               integer
    NAME                    TYPE     VALUE
    client_result_cache_lag      big integer 3000
    client_result_cache_size     big integer 0
    cluster_database          boolean     FALSE
    cluster_database_instances     integer     1
    cluster_interconnects          string
    commit_logging               string
    commit_point_strength          integer     1
    commit_wait               string
    commit_write               string
    compatible               string     11.1.0.0.0
    control_file_record_keep_time     integer     7
    NAME                    TYPE     VALUE
    control_files               string     /u01/oracle/data/rh5ora11/cont
                                  rol01.ctl, /u01/oracle/data/rh
                                  5ora11/control02.ctl, /u01/ora
                                  cle/data/rh5ora11/control03.ct
                                  l
    control_management_pack_access     string     DIAGNOSTIC+TUNING
    core_dump_dest               string     /u01/oracle/diag/rdbms/rh5ora1
                                  132/rh5ora1132/cdump
    cpu_count               integer     1
    create_bitmap_area_size      integer     8388608
    create_stored_outlines          string
    NAME                    TYPE     VALUE
    cursor_sharing               string     EXACT
    cursor_space_for_time          boolean     FALSE
    db_16k_cache_size          big integer 0
    db_2k_cache_size          big integer 0
    db_32k_cache_size          big integer 0
    db_4k_cache_size          big integer 0
    db_8k_cache_size          big integer 0
    db_block_buffers          integer     0
    db_block_checking          string     FALSE
    db_block_checksum          string     TYPICAL
    db_block_size               integer     8192
    NAME                    TYPE     VALUE
    db_cache_advice           string     ON
    db_cache_size               big integer 0
    db_create_file_dest          string
    db_create_online_log_dest_1     string
    db_create_online_log_dest_2     string
    db_create_online_log_dest_3     string
    db_create_online_log_dest_4     string
    db_create_online_log_dest_5     string
    db_domain               string
    db_file_multiblock_read_count     integer     61
    db_file_name_convert          string
    NAME                    TYPE     VALUE
    db_files               integer     200
    db_flashback_retention_target     integer     1440
    db_keep_cache_size          big integer 0
    db_lost_write_protect          string     NONE
    db_name                string     rh5ora11
    db_recovery_file_dest          string     /u01/oracle/flash_recovery_are
                                  a
    db_recovery_file_dest_size     big integer 10G
    db_recycle_cache_size          big integer 0
    db_securefile               string     PERMITTED
    db_ultra_safe               string     OFF
    NAME                    TYPE     VALUE
    db_unique_name               string     rh5ora1132
    db_writer_processes          integer     1
    dbwr_io_slaves               integer     0
    ddl_lock_timeout          integer     0
    dg_broker_config_file1          string     /u01/oracle/product/11.1.0/dbs
                                  /dr1rh5ora1132.dat
    dg_broker_config_file2          string     /u01/oracle/product/11.1.0/dbs
                                  /dr2rh5ora1132.dat
    dg_broker_start           boolean     FALSE
    diagnostic_dest           string     /u01/oracle
    disk_asynch_io               boolean     TRUE
    NAME                    TYPE     VALUE
    dispatchers               string     (PROTOCOL=TCP) (SERVICE=rh5ora
                                  1132XDB)
    distributed_lock_timeout     integer     60
    dml_locks               integer     748
    drs_start               boolean     FALSE
    enable_ddl_logging          boolean     FALSE
    event                    string
    fal_client               string
    fal_server               string
    fast_start_io_target          integer     0
    fast_start_mttr_target          integer     0
    NAME                    TYPE     VALUE
    fast_start_parallel_rollback     string     LOW
    file_mapping               boolean     FALSE
    fileio_network_adapters      string
    filesystemio_options          string     none
    fixed_date               string
    gc_files_to_locks          string
    gcs_server_processes          integer     0
    global_context_pool_size     string
    global_names               boolean     FALSE
    global_txn_processes          integer     1
    hash_area_size               integer     131072
    NAME                    TYPE     VALUE
    hi_shared_memory_address     integer     0
    hs_autoregister           boolean     TRUE
    ifile                    file
    instance_groups           string
    instance_name               string     rh5ora1132
    instance_number           integer     0
    instance_type               string     RDBMS
    java_jit_enabled          boolean     TRUE
    java_max_sessionspace_size     integer     0
    java_pool_size               big integer 0
    java_soft_sessionspace_limit     integer     0
    NAME                    TYPE     VALUE
    job_queue_processes          integer     1000
    large_pool_size           big integer 0
    ldap_directory_access          string     NONE
    ldap_directory_sysauth          string     no
    license_max_sessions          integer     0
    license_max_users          integer     0
    license_sessions_warning     integer     0
    local_listener               string
    lock_name_space           string
    lock_sga               boolean     FALSE
    log_archive_config          string
    NAME                    TYPE     VALUE
    log_archive_dest          string
    log_archive_dest_1          string
    log_archive_dest_10          string
    log_archive_dest_2          string
    log_archive_dest_3          string
    log_archive_dest_4          string
    log_archive_dest_5          string
    log_archive_dest_6          string
    log_archive_dest_7          string
    log_archive_dest_8          string
    log_archive_dest_9          string
    NAME                    TYPE     VALUE
    log_archive_dest_state_1     string     enable
    log_archive_dest_state_10     string     enable
    log_archive_dest_state_2     string     enable
    log_archive_dest_state_3     string     enable
    log_archive_dest_state_4     string     enable
    log_archive_dest_state_5     string     enable
    log_archive_dest_state_6     string     enable
    log_archive_dest_state_7     string     enable
    log_archive_dest_state_8     string     enable
    log_archive_dest_state_9     string     enable
    log_archive_duplex_dest      string
    NAME                    TYPE     VALUE
    log_archive_format          string     %t_%s_%r.dbf
    log_archive_local_first      boolean     TRUE
    log_archive_max_processes     integer     4
    log_archive_min_succeed_dest     integer     1
    log_archive_start          boolean     FALSE
    log_archive_trace          integer     0
    log_buffer               integer     5936128
    log_checkpoint_interval      integer     0
    log_checkpoint_timeout          integer     1800
    log_checkpoints_to_alert     boolean     FALSE
    log_file_name_convert          string
    NAME                    TYPE     VALUE
    max_commit_propagation_delay     integer     0
    max_dispatchers           integer
    max_dump_file_size          string     unlimited
    max_enabled_roles          integer     150
    max_shared_servers          integer
    memory_max_target          big integer 404M
    memory_target               big integer 404M
    nls_calendar               string
    nls_comp               string     BINARY
    nls_currency               string
    nls_date_format           string
    NAME                    TYPE     VALUE
    nls_date_language          string
    nls_dual_currency          string
    nls_iso_currency          string
    nls_language               string     AMERICAN
    nls_length_semantics          string     BYTE
    nls_nchar_conv_excp          string     FALSE
    nls_numeric_characters          string
    nls_sort               string
    nls_territory               string     AMERICA
    nls_time_format           string
    nls_time_tz_format          string
    NAME                    TYPE     VALUE
    nls_timestamp_format          string
    nls_timestamp_tz_format      string
    object_cache_max_size_percent     integer     10
    object_cache_optimal_size     integer     102400
    olap_page_pool_size          big integer 0
    open_cursors               integer     300
    open_links               integer     4
    open_links_per_instance      integer     4
    optimizer_capture_sql_plan_baselines boolean     FALSE
    optimizer_dynamic_sampling     integer     2
    optimizer_features_enable     string     11.1.0.6
    NAME                    TYPE     VALUE
    optimizer_index_caching      integer     0
    optimizer_index_cost_adj     integer     100
    optimizer_mode               string     ALL_ROWS
    optimizer_secure_view_merging     boolean     TRUE
    optimizer_use_invisible_indexes boolean     FALSE
    optimizer_use_pending_statistics boolean     FALSE
    optimizer_use_sql_plan_baselines boolean     TRUE
    os_authent_prefix          string     ops$
    os_roles               boolean     FALSE
    parallel_adaptive_multi_user     boolean     TRUE
    parallel_automatic_tuning     boolean     FALSE
    NAME                    TYPE     VALUE
    parallel_execution_message_size integer     2148
    parallel_instance_group      string
    parallel_io_cap_enabled      boolean     FALSE
    parallel_max_servers          integer     10
    parallel_min_percent          integer     0
    parallel_min_servers          integer     0
    parallel_server           boolean     FALSE
    parallel_server_instances     integer     1
    parallel_threads_per_cpu     integer     2
    pga_aggregate_target          big integer 0
    plscope_settings          string     IDENTIFIERS:NONE
    NAME                    TYPE     VALUE
    plsql_ccflags               string
    plsql_code_type           string     INTERPRETED
    plsql_debug               boolean     FALSE
    plsql_native_library_dir     string
    plsql_native_library_subdir_count integer     0
    plsql_optimize_level          integer     2
    plsql_v2_compatibility          boolean     FALSE
    plsql_warnings               string     DISABLE:ALL
    pre_page_sga               boolean     FALSE
    processes               integer     150
    query_rewrite_enabled          string     TRUE
    NAME                    TYPE     VALUE
    query_rewrite_integrity      string     enforced
    rdbms_server_dn           string
    read_only_open_delayed          boolean     FALSE
    recovery_parallelism          integer     0
    recyclebin               string     on
    redo_transport_user          string
    remote_dependencies_mode     string     TIMESTAMP
    remote_listener           string
    remote_login_passwordfile     string     EXCLUSIVE
    remote_os_authent          boolean     FALSE
    remote_os_roles           boolean     FALSE
    NAME                    TYPE     VALUE
    replication_dependency_tracking boolean     TRUE
    resource_limit               boolean     FALSE
    resource_manager_cpu_allocation integer     1
    resource_manager_plan          string     SCHEDULER[0x2C0C]:DEFAULT_MAIN
                                  TENANCE_PLAN
    result_cache_max_result      integer     5
    result_cache_max_size          big integer 1056K
    result_cache_mode          string     MANUAL
    result_cache_remote_expiration     integer     0
    resumable_timeout          integer     0
    rollback_segments          string
    NAME                    TYPE     VALUE
    sec_case_sensitive_logon     boolean     TRUE
    sec_max_failed_login_attempts     integer     10
    sec_protocol_error_further_action string     CONTINUE
    sec_protocol_error_trace_action string     TRACE
    sec_return_server_release_banner boolean     FALSE
    serial_reuse               string     disable
    service_names               string     rh5ora1132
    session_cached_cursors          integer     50
    session_max_open_files          integer     10
    sessions               integer     170
    sga_max_size               big integer 404M
    NAME                    TYPE     VALUE
    sga_target               big integer 0
    shadow_core_dump          string     partial
    shared_memory_address          integer     0
    shared_pool_reserved_size     big integer 8178892
    shared_pool_size          big integer 0
    shared_server_sessions          integer
    shared_servers               integer     1
    skip_unusable_indexes          boolean     TRUE
    smtp_out_server           string
    sort_area_retained_size      integer     0
    sort_area_size               integer     65536
    NAME                    TYPE     VALUE
    spfile                    string     /u01/oracle/product/11.1.0/dbs
                                  /spfilerh5ora1132.ora
    sql92_security               boolean     FALSE
    sql_trace               boolean     FALSE
    sql_version               string     NATIVE
    sqltune_category          string     DEFAULT
    standby_archive_dest          string     ?/dbs/arch
    standby_file_management      string     MANUAL
    star_transformation_enabled     string     FALSE
    statistics_level          string     TYPICAL
    streams_pool_size          big integer 0
    NAME                    TYPE     VALUE
    tape_asynch_io               boolean     TRUE
    thread                    integer     0
    timed_os_statistics          integer     0
    timed_statistics          boolean     TRUE
    trace_enabled               boolean     TRUE
    tracefile_identifier          string
    transactions               integer     187
    transactions_per_rollback_segment integer     5
    undo_management           string     AUTO
    undo_retention               integer     900
    undo_tablespace           string     UNDOTBS1
    NAME                    TYPE     VALUE
    use_indirect_data_buffers     boolean     FALSE
    user_dump_dest               string     /u01/oracle/diag/rdbms/rh5ora1
                                  132/rh5ora1132/trace
    utl_file_dir               string
    workarea_size_policy          string     AUTO
    xml_db_events               string     enable

    ls -ltr $ORACLE_HOME/dbs
    total 160168
    -rw-r--r-- 1 oracle dba 8385 Sep 11 1998 init.ora
    -rw-r--r-- 1 oracle dba 12920 May 3 2001 initdw.ora
    -rw-rw---- 1 oracle dba 1544 Dec 2 2009 hc_rh5ora1132.dat
    -rw-r----- 1 oracle dba 24 Dec 2 2009 lkRH5ORA11
    -rw-r----- 1 oracle dba 24 Dec 2 2009 lkRH5ORA1132
    -rw-r----- 1 oracle dba 1536 Dec 2 2009 orapwrh5ora1132
    -rw-rw-r-- 1 oracle dba 1012 Dec 9 10:43 initrh5ora1132.ora
    -rw-r----- 1 oracle dba 3584 May 26 22:03 spfilerh5ora1132.ora
    -rw-rw---- 1 oracle dba 51229184 Jun 4 00:41 arch1_391_704534167.dbf
    -rw-rw---- 1 oracle dba 51229184 Jun 4 00:41 arch1_392_704534167.dbf
    -rw-rw---- 1 oracle dba 51229184 Jun 4 00:41 arch1_393_704534167.dbf
    -rw-rw---- 1 oracle dba 10043392 Jun 4 00:44 snapcf_rh5ora1132.f
    As you can see, I have deleted what was in here (and then run a crosscheck), so I could actually do anything, since the disk was full.

  • 'Maximum Performance' protection in oracle 11g

    Hi,
    I am working on dataguard setup in oracle 11g maximum
    'Maximum Performance' mode requires Standby redo logs
    i was doing switch over test and i am getting this error appreciated for your inputs.
    DGMGRL> show configuration verbose;
    Configuration
      Name:                qecgpoce_DG
      Enabled:             YES
      Protection Mode:     MaxPerformance
      Databases:
        qecgpoce - Primary database
        qecgpoca - Physical standby database
    Fast-Start Failover: DISABLED
    Current status for "qecgpoce_DG":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> show database verbose qecgpoce;
    Database
      Name:            qecgpoce
      Role:            PRIMARY
      Enabled:         YES
      Intended State:  TRANSPORT-ON
      Instance(s):
        qecgpoce
      Properties:
        DGConnectIdentifier             = 'qecgpoce'
        ObserverConnectIdentifier       = ''
        LogXptMode                      = 'SYNC'
        DelayMins                       = '0'
        Binding                         = 'OPTIONAL'
        MaxFailure                      = '0'
        MaxConnections                  = '1'
        ReopenSecs                      = '300'
        NetTimeout                      = '30'
        RedoCompression                 = 'DISABLE'
        LogShipping                     = 'ON'
        PreferredApplyInstance          = ''
        ApplyInstanceTimeout            = '0'
        ApplyParallel                   = 'AUTO'
        StandbyFileManagement           = 'AUTO'
        ArchiveLagTarget                = '0'
        LogArchiveMaxProcesses          = '4'
        LogArchiveMinSucceedDest        = '1'
        DbFileNameConvert               = '/mounts/qecgpoca_data/oradata/qecgpoca/dbfiles, /mounts/qecgpoce_data/oradata/qecgpoce/dbfiles'
        LogFileNameConvert              = '/u01/app/oracle/admin/qecgpoca/arch, /u01/app/oracle/admin/qecgpoce/arch'
        FastStartFailoverTarget         = ''
        StatusReport                    = '(monitor)'
        InconsistentProperties          = '(monitor)'
        InconsistentLogXptProps         = '(monitor)'
        SendQEntries                    = '(monitor)'
        LogXptStatus                    = '(monitor)'
        RecvQEntries                    = '(monitor)'
        HostName                        = 'ieedc-vzdb17'
        SidName                         = 'qecgpoce'
        StaticConnectIdentifier         = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ieedc-vzdb17)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=qecgpoce_DGMGRL)(INSTANCE_NAME=qecgpoce)(SERVER=DEDICATED)))'
        StandbyArchiveLocation          = '/u01/app/oracle/admin/qecgpoce/arch'
        AlternateLocation               = ''
        LogArchiveTrace                 = '0'
        LogArchiveFormat                = 'qecgpoc%s%t%r.arc'
        LatestLog                       = '(monitor)'
        TopWaitEvents                   = '(monitor)'
    Current status for "qecgpoce":
    Warning: ORA-16789: standby redo logs not configured
    DGMGRL> show database verbose qecgpoca;
    Database
      Name:            qecgpoca
      Role:            PHYSICAL STANDBY
      Enabled:         YES
      Intended State:  APPLY-ON
      Instance(s):
        qecgpoca
      Properties:
        DGConnectIdentifier             = 'qecgpoca'
        ObserverConnectIdentifier       = ''
        LogXptMode                      = 'ARCH'
        DelayMins                       = '0'
        Binding                         = 'OPTIONAL'
        MaxFailure                      = '0'
        MaxConnections                  = '1'
        ReopenSecs                      = '300'
        NetTimeout                      = '30'
        RedoCompression                 = 'DISABLE'
        LogShipping                     = 'ON'
        PreferredApplyInstance          = ''
        ApplyInstanceTimeout            = '0'
        ApplyParallel                   = 'AUTO'
        StandbyFileManagement           = 'AUTO'
        ArchiveLagTarget                = '0'
        LogArchiveMaxProcesses          = '4'
        LogArchiveMinSucceedDest        = '1'
        DbFileNameConvert               = '/mounts/qecgpoce_data/oradata/qecgpoce/dbfiles, /mounts/qecgpoca_data/oradata/qecgpoca/dbfiles'
        LogFileNameConvert              = '/u01/app/oracle/admin/qecgpoce/arch, /u01/app/oracle/admin/qecgpoca/arch'
        FastStartFailoverTarget         = ''
        StatusReport                    = '(monitor)'
        InconsistentProperties          = '(monitor)'
        InconsistentLogXptProps         = '(monitor)'
        SendQEntries                    = '(monitor)'
        LogXptStatus                    = '(monitor)'
        RecvQEntries                    = '(monitor)'
        HostName                        = 'usadc-vzdb32'
        SidName                         = 'qecgpoca'
        StaticConnectIdentifier         = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=usadc-vzdb32)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=qecgpoca_DGMGRL)(INSTANCE_NAME=qecgpoca)(SERVER=DEDICATED)))'
        StandbyArchiveLocation          = '/u01/app/oracle/admin/qecgpoca/arch'
        AlternateLocation               = ''
        LogArchiveTrace                 = '0'
        LogArchiveFormat                = 'qecgpoc%s%t%r.arc'
        LatestLog                       = '(monitor)'
        TopWaitEvents                   = '(monitor)'
    Current status for "qecgpoca":
    Error: ORA-16766: Redo Apply is stoppedThanks
    Prakash

    Hi,
    secondary parameter file;
    SQL> show parameter _
    NAME                                 TYPE        VALUE
    O7_DICTIONARY_ACCESSIBILITY          boolean     FALSE
    active_instance_count                integer
    aq_tm_processes                      integer     0
    archive_lag_target                   integer     0
    asm_diskgroups                       string
    asm_diskstring                       string
    asm_power_limit                      integer     1
    asm_preferred_read_failure_groups    string
    audit_file_dest                      string      /u01/app/oracle/admin/qecgpoca
                                                     /adump
    audit_sys_operations                 boolean     FALSE
    NAME                                 TYPE        VALUE
    audit_syslog_level                   string
    audit_trail                          string      NONE
    background_core_dump                 string      partial
    background_dump_dest                 string      /u01/app/oracle/admin/qecgpoca
                                                     /diagnostic/diag/rdbms/qecgpoc
                                                     a/qecgpoca/trace
    backup_tape_io_slaves                boolean     FALSE
    bitmap_merge_area_size               integer     1048576
    blank_trimming                       boolean     FALSE
    buffer_pool_keep                     string
    buffer_pool_recycle                  string
    NAME                                 TYPE        VALUE
    cell_offload_compaction              string      ADAPTIVE
    cell_offload_parameters              string
    cell_offload_plan_display            string      AUTO
    cell_offload_processing              boolean     TRUE
    cell_partition_large_extents         string      DEFAULT
    circuits                             integer
    client_result_cache_lag              big integer 3000
    client_result_cache_size             big integer 0
    cluster_database                     boolean     FALSE
    cluster_database_instances           integer     1
    cluster_interconnects                string
    NAME                                 TYPE        VALUE
    commit_logging                       string
    commit_point_strength                integer     1
    commit_wait                          string
    commit_write                         string
    compatible                           string      11.0.0.0.0
    control_file_record_keep_time        integer     7
    control_files                        string      /mounts/qecgpoca_data/oradata/
                                                     qecgpoca/dbfiles/control.ctl
    control_management_pack_access       string      DIAGNOSTIC+TUNING
    core_dump_dest                       string      /u01/app/oracle/admin/qecgpoca
                                                     /cdump/
    NAME                                 TYPE        VALUE
    cpu_count                            integer     16
    create_bitmap_area_size              integer     8388608
    create_stored_outlines               string
    cursor_sharing                       string      EXACT
    cursor_space_for_time                boolean     FALSE
    db_16k_cache_size                    big integer 0
    db_2k_cache_size                     big integer 0
    db_32k_cache_size                    big integer 0
    db_4k_cache_size                     big integer 0
    db_8k_cache_size                     big integer 0
    db_block_buffers                     integer     0
    NAME                                 TYPE        VALUE
    db_block_checking                    string      FALSE
    db_block_checksum                    string      TYPICAL
    db_block_size                        integer     8192
    db_cache_advice                      string      ON
    db_cache_size                        big integer 168M
    db_create_file_dest                  string
    db_create_online_log_dest_1          string
    db_create_online_log_dest_2          string
    db_create_online_log_dest_3          string
    db_create_online_log_dest_4          string
    db_create_online_log_dest_5          string
    db_domain                            string
    db_file_multiblock_read_count        integer     61
    db_file_name_convert                 string      /mounts/qecgpoce_data/oradata/
                                                     qecgpoce/dbfiles, /mounts/qecg
                                                     poca_data/oradata/qecgpoca/dbf
                                                     iles
    db_files                             integer     200
    db_flashback_retention_target        integer     1440
    db_keep_cache_size                   big integer 0
    db_lost_write_protect                string      NONE
    db_name                              string      qecgpoce
    NAME                                 TYPE        VALUE
    db_recovery_file_dest                string
    db_recovery_file_dest_size           big integer 0
    db_recycle_cache_size                big integer 0
    db_securefile                        string      PERMITTED
    db_ultra_safe                        string      OFF
    db_unique_name                       string      qecgpoca
    db_writer_processes                  integer     4
    dbwr_io_slaves                       integer     0
    ddl_lock_timeout                     integer     0
    dg_broker_config_file1               string      /u01/app/oracle/product/11.1.0
                                                     .7/dbs/dr1qecgpoca.dat
    NAME                                 TYPE        VALUE
    dg_broker_config_file2               string      /u01/app/oracle/product/11.1.0
                                                     .7/dbs/dr2qecgpoca.dat
    dg_broker_start                      boolean     TRUE
    diagnostic_dest                      string      /u01/app/oracle/admin/qecgpoca
                                                     /diagnostic
    disk_asynch_io                       boolean     TRUE
    dispatchers                          string
    distributed_lock_timeout             integer     60
    dml_locks                            integer     1472
    drs_start                            boolean     FALSE
    enable_ddl_logging                   boolean     FALSE
    NAME                                 TYPE        VALUE
    event                                string
    fal_client                           string      qecgpoca
    fal_server                           string      qecgpoce
    fast_start_io_target                 integer     0
    fast_start_mttr_target               integer     300
    fast_start_parallel_rollback         string      LOW
    file_mapping                         boolean     FALSE
    fileio_network_adapters              string
    filesystemio_options                 string      asynch
    fixed_date                           string
    gc_files_to_locks                    string
    NAME                                 TYPE        VALUE
    gcs_server_processes                 integer     0
    global_context_pool_size             string
    global_names                         boolean     FALSE
    global_txn_processes                 integer     1
    hash_area_size                       integer     131072
    hi_shared_memory_address             integer     0
    hs_autoregister                      boolean     TRUE
    ifile                                file
    instance_groups                      string
    instance_name                        string      qecgpoca
    instance_number                      integer     0
    NAME                                 TYPE        VALUE
    instance_type                        string      RDBMS
    java_jit_enabled                     boolean     TRUE
    java_max_sessionspace_size           integer     0
    java_pool_size                       big integer 152M
    java_soft_sessionspace_limit         integer     0
    job_queue_processes                  integer     0
    large_pool_size                      big integer 4M
    ldap_directory_access                string      NONE
    ldap_directory_sysauth               string      no
    license_max_sessions                 integer     0
    license_max_users                    integer     0
    NAME                                 TYPE        VALUE
    license_sessions_warning             integer     0
    local_listener                       string
    lock_name_space                      string
    lock_sga                             boolean     FALSE
    log_archive_config                   string      dg_config=(qecgpoce,qecgpoca)
    log_archive_dest                     string
    log_archive_dest_1                   string      location="/u01/app/oracle/admi
                                                     n/qecgpoca/arch",  valid_for=(
                                                     ALL_LOGFILES,ALL_ROLES)
    log_archive_dest_10                  string
    log_archive_dest_2                   string      service=qecgpoce lgwr async va
    NAME                                 TYPE        VALUE
                                                     lid_for=(online_logfiles,prima
                                                     ry_role) db_unique_name=qecgpo
                                                     ce
    log_archive_dest_3                   string
    log_archive_dest_4                   string
    log_archive_dest_5                   string
    log_archive_dest_6                   string
    log_archive_dest_7                   string
    log_archive_dest_8                   string
    log_archive_dest_9                   string
    log_archive_dest_state_1             string      ENABLE
    NAME                                 TYPE        VALUE
    log_archive_dest_state_10            string      enable
    log_archive_dest_state_2             string      enable
    log_archive_dest_state_3             string      enable
    log_archive_dest_state_4             string      enable
    log_archive_dest_state_5             string      enable
    log_archive_dest_state_6             string      enable
    log_archive_dest_state_7             string      enable
    log_archive_dest_state_8             string      enable
    log_archive_dest_state_9             string      enable
    log_archive_duplex_dest              string
    log_archive_format                   string      qecgpoc%s%t%r.arc
    NAME                                 TYPE        VALUE
    log_archive_local_first              boolean     TRUE
    log_archive_max_processes            integer     4
    log_archive_min_succeed_dest         integer     1
    log_archive_start                    boolean     FALSE
    log_archive_trace                    integer     0
    log_buffer                           integer     4197376
    log_checkpoint_interval              integer     0
    log_checkpoint_timeout               integer     1800
    log_checkpoints_to_alert             boolean     FALSE
    log_file_name_convert                string      /u01/app/oracle/admin/qecgpoce
                                                     /arch, /u01/app/oracle/admin/q
    NAME                                 TYPE        VALUE
                                                     ecgpoca/arch
    max_commit_propagation_delay         integer     0
    max_dispatchers                      integer
    max_dump_file_size                   string      unlimited
    max_enabled_roles                    integer     150
    max_shared_servers                   integer
    memory_max_target                    big integer 0
    memory_target                        big integer 0
    nls_calendar                         string
    nls_comp                             string      BINARY
    nls_currency                         string
    NAME                                 TYPE        VALUE
    nls_date_format                      string
    nls_date_language                    string
    nls_dual_currency                    string
    nls_iso_currency                     string
    nls_language                         string      AMERICAN
    nls_length_semantics                 string      BYTE
    nls_nchar_conv_excp                  string      FALSE
    nls_numeric_characters               string
    nls_sort                             string
    nls_territory                        string      AMERICA
    nls_time_format                      string
    NAME                                 TYPE        VALUE
    nls_time_tz_format                   string
    nls_timestamp_format                 string
    nls_timestamp_tz_format              string
    object_cache_max_size_percent        integer     10
    object_cache_optimal_size            integer     102400
    olap_page_pool_size                  big integer 0
    open_cursors                         integer     300
    open_links                           integer     4
    open_links_per_instance              integer     4
    optimizer_capture_sql_plan_baselines boolean     FALSE
    optimizer_dynamic_sampling           integer     2
    NAME                                 TYPE        VALUE
    optimizer_features_enable            string      11.1.0.7
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    optimizer_use_invisible_indexes      boolean     FALSE
    optimizer_use_pending_statistics     boolean     FALSE
    optimizer_use_sql_plan_baselines     boolean     TRUE
    os_authent_prefix                    string      ops$
    os_roles                             boolean     FALSE
    parallel_adaptive_multi_user         boolean     FALSE
    NAME                                 TYPE        VALUE
    parallel_automatic_tuning            boolean     FALSE
    parallel_execution_message_size      integer     2152
    parallel_instance_group              string
    parallel_io_cap_enabled              boolean     FALSE
    parallel_max_servers                 integer     2
    parallel_min_percent                 integer     0
    parallel_min_servers                 integer     0
    parallel_server                      boolean     FALSE
    parallel_server_instances            integer     1
    parallel_threads_per_cpu             integer     2
    pga_aggregate_target                 big integer 100M
    NAME                                 TYPE        VALUE
    plscope_settings                     string      IDENTIFIERS:NONE
    plsql_ccflags                        string
    plsql_code_type                      string      INTERPRETED
    plsql_debug                          boolean     FALSE
    plsql_native_library_dir             string
    plsql_native_library_subdir_count    integer     0
    plsql_optimize_level                 integer     2
    plsql_v2_compatibility               boolean     FALSE
    plsql_warnings                       string      DISABLE:ALL
    pre_page_sga                         boolean     FALSE
    processes                            integer     300
    NAME                                 TYPE        VALUE
    query_rewrite_enabled                string      TRUE
    query_rewrite_integrity              string      enforced
    rdbms_server_dn                      string
    read_only_open_delayed               boolean     FALSE
    recovery_parallelism                 integer     0
    recyclebin                           string      on
    redo_transport_user                  string
    remote_dependencies_mode             string      TIMESTAMP
    remote_listener                      string
    remote_login_passwordfile            string      EXCLUSIVE
    remote_os_authent                    boolean     FALSE
    NAME                                 TYPE        VALUE
    remote_os_roles                      boolean     FALSE
    replication_dependency_tracking      boolean     TRUE
    resource_limit                       boolean     FALSE
    resource_manager_cpu_allocation      integer     16
    resource_manager_plan                string      SYSTEM_PLAN
    result_cache_max_result              integer     5
    result_cache_max_size                big integer 5M
    result_cache_mode                    string      MANUAL
    result_cache_remote_expiration       integer     0
    resumable_timeout                    integer     0
    rollback_segments                    string
    NAME                                 TYPE        VALUE
    sec_case_sensitive_logon             boolean     TRUE
    sec_max_failed_login_attempts        integer     10
    sec_protocol_error_further_action    string      CONTINUE
    sec_protocol_error_trace_action      string      TRACE
    sec_return_server_release_banner     boolean     FALSE
    serial_reuse                         string      disable
    service_names                        string      qecgpoca
    session_cached_cursors               integer     50
    session_max_open_files               integer     10
    sessions                             integer     335
    sga_max_size                         big integer 1000M
    sga_target                           big integer 0
    shadow_core_dump                     string      partial
    shared_memory_address                integer     0
    shared_pool_reserved_size            big integer 25M
    shared_pool_size                     big integer 500M
    shared_server_sessions               integer
    shared_servers                       integer     0
    skip_unusable_indexes                boolean     TRUE
    smtp_out_server                      string
    sort_area_retained_size              integer     0
    sort_area_size                       integer     65536
    NAME                                 TYPE        VALUE
    spfile                               string      /u01/app/oracle/product/11.1.0
                                                     .7/dbs/spfileqecgpoca.ora
    sql92_security                       boolean     FALSE
    sql_trace                            boolean     FALSE
    sql_version                          string      NATIVE
    sqltune_category                     string      DEFAULT
    standby_archive_dest                 string      ?/dbs/arch
    standby_file_management              string      AUTO
    star_transformation_enabled          string      FALSE
    statistics_level                     string      TYPICAL
    streams_pool_size                    big integer 0
    NAME                                 TYPE        VALUE
    tape_asynch_io                       boolean     TRUE
    thread                               integer     0
    timed_os_statistics                  integer     0
    timed_statistics                     boolean     TRUE
    trace_enabled                        boolean     TRUE
    tracefile_identifier                 string
    transactions                         integer     368
    transactions_per_rollback_segment    integer     5
    undo_management                      string      AUTO
    undo_retention                       integer     900
    undo_tablespace                      string      UNDOTBS1
    sort_area_retained_size              integer     0
    sort_area_size                       integer     65536
    NAME                                 TYPE        VALUE
    spfile                               string      /u01/app/oracle/product/11.1.0
                                                     .7/dbs/spfileqecgpoca.ora
    sql92_security                       boolean     FALSE
    sql_trace                            boolean     FALSE
    sql_version                          string      NATIVE
    sqltune_category                     string      DEFAULT
    standby_archive_dest                 string      ?/dbs/arch
    standby_file_management              string      AUTO
    star_transformation_enabled          string      FALSE
    statistics_level                     string      TYPICAL
    streams_pool_size                    big integer 0
    NAME                                 TYPE        VALUE
    tape_asynch_io                       boolean     TRUE
    thread                               integer     0
    timed_os_statistics                  integer     0
    timed_statistics                     boolean     TRUE
    trace_enabled                        boolean     TRUE
    tracefile_identifier                 string
    transactions                         integer     368
    transactions_per_rollback_segment    integer     5
    undo_management                      string      AUTO
    undo_retention                       integer     900
    undo_tablespace                      string      UNDOTBS1
    NAME                                 TYPE        VALUE
    use_indirect_data_buffers            boolean     FALSE
    user_dump_dest                       string      /u01/app/oracle/admin/qecgpoca
                                                     /diagnostic/diag/rdbms/qecgpoc
                                                     a/qecgpoca/trace
    utl_file_dir                         string
    workarea_size_policy                 string      AUTO
    xml_db_events                        string      enableThanks
    Prakash

  • How to clear Preferred Read setting

    Hi,
    I hope someone can advise me how to remove the Preferred Read setting in ASM 11.2.0.3?
    I’m trying to set an empty string, but it gives me an error.
    Thanks!
    SQL> alter system set asm_preferred_read_failure_groups='' sid='+ASM3';
    alter system set asm_preferred_read_failure_groups='' sid='+ASM3'
    ERROR at line 1:
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-01078: failure in processing system parameters

    Hi,
    You can remove it using below command,
    SQL> ALTER SYSTEM reset ASM_PREFERRED_READ_FAILURE_GROUPS sid='+ASM3';
    As you are trying on Node 3 ...
    Regards,
    Aritra

  • Create ASM disks on Solarix X64 fails with ORA-15031

    I am trying to create a ASM disk group on SOLARIS x64 using a NETAPP LUN. Below are the disks which are configured
    SQL> show parameter asm;
    NAME TYPE VALUE
    asm_diskgroups string DATA
    asm_diskstring string /dev/rdsk/c2t9*
    asm_power_limit integer 1
    asm_preferred_read_failure_groups string
    bash-3.00# ls -ltr /dev/rdsk/c2t9d0s7
    lrwxrwxrwx 1 root root 80 May 22 16:27 /dev/rdsk/c2t9d0s7 -> ../../devices/iscsi/[email protected]%3Asn.157399130103EC,99:h,raw
    bash-3.00# ls -ltr ../../devices/iscsi/[email protected]%3Asn.157399130103EC,99:h,raw
    crw-r----- 1 oracle dba 32, 583 May 22 16:56 ../../devices/iscsi/[email protected]%3Asn.157399130103EC,99:h,raw
    I get these errors when I try to create a disk group
    SQL> create diskgroup DATA external redundancy disk '/dev/rdsk/c2t9d0s7';
    create diskgroup DATA external redundancy disk '/dev/rdsk/c2t9d0s7'
    ERROR at line 1:
    ORA-15018: diskgroup cannot be created
    ORA-15031: disk specification '/dev/rdsk/c2t9d0s7' matches no disks
    ORA-15025: could not open disk '/dev/rdsk/c2t9d0s7'
    ORA-15056: additional error message
    Solaris-AMD64 Error: 13: Permission denied
    Additional information: 42
    Additional information: 198045856
    Additional information: 198045848
    Please help.

    My guess is that you did not run fdisk and partition off the first 1M and ASM overwrote the VTOC rendering the device useless.
    fdisk
    create new partition
    primary partition 1
    start 2 end <last cylinder>
    Then point your disk string to these partitions (<diskname>p1?)
    Once this is done, I ALWAYS test to make sure the oracle AND grid user can read and write to this device from ALL nodes. I use the dd command to do this.
    DO NOT DO THIS ON AN ALREADY CONFIGURED AND FUNCTIONING ASM DEVICE. Doing so will erase the device.
    make a file in $HOME that contains one line:
    cat <<EOF >> $HOME/x.x
    this is a test
    EOF
    node1
    dd if=$HOME/x.x of=<disk???p1> bs=20 count=1
    node2
    dd if=<disk???p1> of=$HOME/y.y bs=20 count=1 ##y.y should be the contents of node1:x.x
    node1
    dd if=/dev/zero of=<disk???p1> bs=8192 count=1000 ## erase the device for ASM usage.
    Fix any read/write issues before proceeding.

  • ASM init.ora

    Can you provide me a ASM init.ora config - Best Practice for 11.2.0.2

    Hi,
    The following parameters for ASM.ora
    ASM_DISKGROUPS
    ASM_DISKSTRING
    ASM_POWER_LIMIT
    ASM_PREFERRED_READ_FAILURE_GROUPS
    DB_CACHE_SIZE
    DIAGNOSTIC_DEST
    INSTANCE_TYPE
    LARGE_POOL_SIZE
    PROCESSES
    REMOTE_LOGIN_PASSWORDFILE
    SHARED_POOL_SIZE
    see this link
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asminst.htm#BHCCEIDI :)

  • Prerequisites required ASM Migration

    Hi ,
    Could u please let me know "The prerequisites required before going ahead with the ASM implementation".
    Any best practices for disk group confirguration ( I mean how many groups for good performance)
    Details of our database:
    1) Oracle version : 11.2.0.3
    2) OS : Sun solaris 10
    3) DB size : 1 TB
    I know ASM is part of the Grid Infrastructure. But the current setup was handover from different company and we planned to implement ASM concept here.
    Could u please help me out.
    Regards,
    Steven

    It depends. I'm sure that's what they would tell you in the Oracle training class. :)
    For starters Oracle recommends two diskgroups named DATA and FRA. If you are using RAC then you will probably create a third diskgroup named CRS.
    The redundancy level depends on your storage. If the storage array is providing RAID protection, then you can configure the ASM diskgroups with External Redundancy. But, this is not always the case. You might want to mirror between an external SAN and in internal ioDrive using ASM Normal Redundancy and then set the parameter asm_preferred_read_failure_groups to ensure all reads come from the flash drive. So you see there are countless possibilities that make us say "it depends".
    In larger organizations with Enterprise Storage it is rarely so simple. Recall that a diskgroup is a collection of like storage. If you have LUNs of different sizes and performance levels, then you should group the LUNs according to those attributes. Each grouping becomes a diskgroup. For example, never mix RAID 5 LUNs from a Clariion with RAID 5 LUNs from a Symmetrix, and never mix any of those with RAID 10 LUNs. Also, within a diskgroup you want all storage of the same size due to the impact on striping and mirroring. This is all discussed in the Oracle on-line documentation.
    If your storage team carves up the array into different classes of storage, then you will probably want to create separate ASM diskgroups. The I/O profiles are completely different for log files versus datafiles, and a well trained storage admin knows how to address each case. So now, if the storage admin gives you high performance LUNs designed for redo logs, lower performance LUNs marked for archivelogs, and a third set of LUNs marked for datafiles, then you will want to create three separate ASM diskgroups named DATA, REDO, and FRA to isolate the storage based on performance characteristics.
    Often times with Enterprise Storage you cannot avoid I/O conflicts, so there's no point in separating Oracle's files into their own diskgroups (data, index, redo, etc.) Back on the array you will find the stripes overlay each other. And the array internally ties the storage devices together with either copper or fiber loops, so the I/O's are getting mixed and competing for resources. All I am saying is talk to your storage team and see if they think it will make any difference to try separating tables and indexes into different files given the way they setup the array.
    For a small 1 TB database like yours I generally use two ioDrive 1.2 TB PCIe flash memory cards and create one ASM diskgroup named DATA with Normal Redundancy. Bang, done. RAID 10 protection at 5x the performance of a well tuned SAN, and I don't have to wait two weeks for the Enterprise Storage team to carve up LUNs. This takes a great load off the SAN and helps the other enterprise users with their performance issues, and frees up capacity thereby extending the life of the enterprise storage.
    The above "answers" are a very generic introduction to planning ASM storage. If you have more specific questions, let us know.
    -R

  • Extremely poor load performance into RDF store

    We are seeing unacceptably poor performance loading our RDF models. We have triedloading with Jena adaptor as well as loading using the BatchLoader class. Either way, the absolute best rate we have seen is about 20000/minute. Here are the specs:
    Loading a triples file from disk which contains 5.08 million triples
    Oracle 11gr2 running on Enterprise Linux64 with 16 GB RAM
    Oracle 11gr2 running on Solaris 10 with all the latest patches and packages...64 bit with 8GB RAM
    Sun is a bit slower than linux, but both are quite poor. I can load the identical triples file into Allegro running on my desktop PC and consistently get load rates of 1 million per minute.
    Can anyone suggest what could be causing this performance issue? Oracle is a very recent install on both the sun and linux boxes, and there is nothing whatsoever running on either one other than oracle, and I am the only oracle user. All install and parameter settings are oracle default.

    An update on the stats. I changed the way models are created, doing it manually from sqlplus first (vs letting the Jena stuff create the model on the fly), and that made things run about 3 times faster, but I still am not seeing anything better than triple load times of 79K/minute.
    Here is the java that runs the load:
    String model = "GMI";
    oracleGraph = oracleTools.makeGraph(model);
    oracleModel = new ModelOracleSem(oracleGraph);
    InputStream is = FileManager.get().open(props.getProperty(model +".NTRIPLES_IND_FILE"));
    StopWatch timer = new StopWatch();
    timer.start();
    // read file contents into oracleModel
    oracleModel.read(is, "", "N-TRIPLE");
    timer.stop();
    is.close();
    System.out.println("\nLoad time into Oracle: " +timer.getElapsedTimeSecs());
    Here is most of the show parameters output:
    O7_DICTIONARY_ACCESSIBILITY boolean FALSE
    active_instance_count integer
    aq_tm_processes integer 0
    archive_lag_target integer 0
    asm_diskgroups string
    asm_diskstring string
    asm_power_limit integer 1
    asm_preferred_read_failure_groups string
    audit_file_dest string /opt/oracle/
    p
    audit_sys_operations boolean FALSE
    audit_syslog_level string
    audit_trail string DB
    background_core_dump string partial
    background_dump_dest string /opt/oracle/
    /jtvOrcl/tra
    backup_tape_io_slaves boolean FALSE
    bitmap_merge_area_size integer 1048576
    blank_trimming boolean FALSE
    buffer_pool_keep string
    buffer_pool_recycle string
    cell_offload_compaction string ADAPTIVE
    cell_offload_decryption boolean TRUE
    cell_offload_parameters string
    cell_offload_plan_display string AUTO
    cell_offload_processing boolean TRUE
    cell_partition_large_extents string DEFAULT
    circuits integer
    client_result_cache_lag big integer 3000
    client_result_cache_size big integer 0
    cluster_database boolean FALSE
    cluster_database_instances integer 1
    cluster_interconnects string
    commit_logging string
    commit_point_strength integer 1
    commit_wait string
    commit_write string
    compatible string 11.2.0.0.0
    control_file_record_keep_time integer 7
    control_files string /opt/oracle/
    ntrol01.ctl,
    ta/jtvOrcl/c
    control_management_pack_access string DIAGNOSTIC+T
    core_dump_dest string /opt/oracle/
    /jtvOrcl/cdu
    cpu_count integer 4
    create_bitmap_area_size integer 8388608
    create_stored_outlines string
    cursor_sharing string EXACT
    cursor_space_for_time boolean FALSE
    db_16k_cache_size big integer 0
    db_2k_cache_size big integer 0
    db_32k_cache_size big integer 0
    db_4k_cache_size big integer 0
    db_8k_cache_size big integer 0
    db_block_buffers integer 0
    db_block_checking string FALSE
    db_block_checksum string TYPICAL
    db_block_size integer 8192
    db_cache_advice string ON
    db_cache_size big integer 0
    db_create_file_dest string
    db_create_online_log_dest_1 string
    db_create_online_log_dest_2 string
    db_create_online_log_dest_3 string
    db_create_online_log_dest_4 string
    db_create_online_log_dest_5 string
    db_domain string domain
    db_file_multiblock_read_count integer 75
    db_file_name_convert string
    db_files integer 200
    db_flash_cache_file string
    db_flash_cache_size big integer 0
    db_flashback_retention_target integer 1440
    db_keep_cache_size big integer 0
    db_lost_write_protect string NONE
    db_name string jtvOrcl
    db_recovery_file_dest string
    db_recovery_file_dest_size big integer 0
    db_recycle_cache_size big integer 0
    db_securefile string PERMITTED
    db_ultra_safe string OFF
    db_unique_name string jtvOrcl
    db_writer_processes integer 1
    dbwr_io_slaves integer 0
    ddl_lock_timeout integer 0
    deferred_segment_creation boolean TRUE
    dg_broker_config_file1 string /opt/oracle/
    1/dbs/dr1jtv
    dg_broker_config_file2 string /opt/oracle/
    1/dbs/dr2jtv
    dg_broker_start boolean FALSE
    diagnostic_dest string /opt/oracle
    disk_asynch_io boolean TRUE
    dispatchers string (PROTOCOL=TC
    lXDB)
    distributed_lock_timeout integer 60
    dml_locks integer 1088
    dst_upgrade_insert_conv boolean TRUE
    enable_ddl_logging boolean FALSE
    event string
    fal_client string
    fal_server string
    fast_start_io_target integer 0
    fast_start_mttr_target integer 0
    fast_start_parallel_rollback string LOW
    file_mapping boolean FALSE
    fileio_network_adapters string
    filesystemio_options string none
    fixed_date string
    gcs_server_processes integer 0
    global_context_pool_size string
    global_names boolean FALSE
    global_txn_processes integer 1
    hash_area_size integer 131072
    hi_shared_memory_address integer 0
    hs_autoregister boolean TRUE
    ifile file
    instance_groups string
    instance_name string jtvOrcl
    instance_number integer 0
    instance_type string RDBMS
    java_jit_enabled boolean TRUE
    java_max_sessionspace_size integer 0
    java_pool_size big integer 0
    java_soft_sessionspace_limit integer 0
    job_queue_processes integer 1000
    large_pool_size big integer 0
    ldap_directory_access string NONE
    ldap_directory_sysauth string no
    license_max_sessions integer 0
    license_max_users integer 0
    license_sessions_warning integer 0
    listener_networks string
    local_listener string
    lock_name_space string
    lock_sga boolean FALSE
    log_archive_config string
    max_dispatchers integer
    max_dump_file_size string unlimited
    max_enabled_roles integer 150
    max_shared_servers integer
    memory_max_target big integer 0
    memory_target big integer 0
    nls_calendar string
    nls_comp string BINARY
    nls_currency string
    nls_date_format string
    nls_date_language string
    nls_dual_currency string
    nls_iso_currency string
    nls_language string AMERICAN
    nls_length_semantics string BYTE
    nls_nchar_conv_excp string FALSE
    nls_numeric_characters string
    nls_sort string
    nls_territory string AMERICA
    nls_time_format string
    nls_time_tz_format string
    nls_timestamp_format string
    nls_timestamp_tz_format string
    object_cache_max_size_percent integer 10
    object_cache_optimal_size integer 102400
    olap_page_pool_size big integer 0
    open_cursors integer 300
    open_links integer 4
    open_links_per_instance integer 4
    optimizer_capture_sql_plan_baselines boolean FALSE
    optimizer_dynamic_sampling integer 2
    optimizer_features_enable string 11.2.0.1
    optimizer_index_caching integer 0
    optimizer_index_cost_adj integer 100
    optimizer_mode string ALL_ROWS
    optimizer_secure_view_merging boolean TRUE
    optimizer_use_invisible_indexes boolean FALSE
    optimizer_use_pending_statistics boolean FALSE
    optimizer_use_sql_plan_baselines boolean TRUE
    os_authent_prefix string ops$
    os_roles boolean FALSE
    parallel_adaptive_multi_user boolean TRUE
    parallel_automatic_tuning boolean FALSE
    parallel_degree_limit string CPU
    parallel_degree_policy string MANUAL
    parallel_execution_message_size integer 16384
    parallel_force_local boolean FALSE
    parallel_instance_group string
    parallel_io_cap_enabled boolean FALSE
    parallel_max_servers integer 80
    parallel_min_percent integer 0
    parallel_min_servers integer 0
    parallel_min_time_threshold string AUTO
    parallel_server boolean FALSE
    parallel_server_instances integer 1
    parallel_servers_target integer 32
    parallel_threads_per_cpu integer 2
    permit_92_wrap_format boolean TRUE
    pga_aggregate_target big integer 5905M
    plscope_settings string IDENTIFIERS:NONE
    plsql_ccflags string
    plsql_code_type string INTERPRETED
    plsql_debug boolean FALSE
    plsql_optimize_level integer 2
    plsql_v2_compatibility boolean FALSE
    plsql_warnings string DISABLE:ALL
    pre_page_sga boolean FALSE
    processes integer 150
    query_rewrite_enabled string TRUE
    query_rewrite_integrity string enforced
    rdbms_server_dn string
    read_only_open_delayed boolean FALSE
    recovery_parallelism integer 0
    recyclebin string on
    redo_transport_user string
    remote_dependencies_mode string TIMESTAMP
    remote_listener string
    remote_login_passwordfile string EXCLUSIVE
    remote_os_authent boolean FALSE
    remote_os_roles boolean FALSE
    replication_dependency_tracking boolean TRUE
    resource_limit boolean FALSE
    resource_manager_cpu_allocation integer 4
    resource_manager_plan string
    result_cache_max_result integer 5
    result_cache_max_size big integer 2624K
    result_cache_mode string MANUAL
    result_cache_remote_expiration integer 0
    resumable_timeout integer 0
    rollback_segments string
    sec_case_sensitive_logon boolean TRUE
    sec_max_failed_login_attempts integer 10
    sec_protocol_error_further_action string CONTINUE
    sec_protocol_error_trace_action string TRACE
    sec_return_server_release_banner boolean FALSE
    serial_reuse string disable
    service_names string jtvOrcl.domain
    session_cached_cursors integer 50
    session_max_open_files integer 10
    sessions integer 248
    sga_max_size big integer 512M
    sga_target big integer 512M
    shadow_core_dump string partial
    shared_memory_address integer 0
    shared_pool_reserved_size big integer 16148070
    shared_pool_size big integer 0
    shared_server_sessions integer
    shared_servers integer 1
    skip_unusable_indexes boolean TRUE
    smtp_out_server string
    sort_area_retained_size integer 0
    sort_area_size integer 65536
    spfile string /opt/oracle/product/11.2.0/db_
    1/dbs/spfilejtvOrcl.ora
    sql92_security boolean FALSE
    sql_trace boolean FALSE
    sqltune_category string DEFAULT
    standby_archive_dest string ?/dbs/arch
    standby_file_management string MANUAL
    star_transformation_enabled string FALSE
    statistics_level string TYPICAL
    streams_pool_size big integer 0
    tape_asynch_io boolean TRUE
    thread integer 0
    timed_os_statistics integer 0
    timed_statistics boolean TRUE
    trace_enabled boolean TRUE
    tracefile_identifier string
    transactions integer 272
    transactions_per_rollback_segment integer 5
    undo_management string AUTO
    undo_retention integer 900
    undo_tablespace string UNDOTBS1
    use_indirect_data_buffers boolean FALSE
    user_dump_dest string /opt/oracle/diag/rdbms/jtvorcl
    /jtvOrcl/trace
    utl_file_dir string
    workarea_size_policy string AUTO
    xml_db_events string enable

Maybe you are looking for

  • IPhone 5S 32GB Logic Board Repair

    So several months ago I attempted to repair the cracked screen on my black 32 gb iphone 5S on my own. It did not work out. I ended up breaking the logic board and now the phone is basically unusable. I've been using my iPhone 4S for the past few mont

  • Control record issue !

    Hi All, I am handling UK Payroll and got an issues related to payroll run and control record, Issue 1: The payroll driver (RPCALCG0) has skipped around 1500 Employees against payroll run for particular period Issue 2: How control record allowed user

  • Can I use aperture 3 in live view shooting on my macbook pro

    Can I use aperture 3 in live view on my mac boook pro ?

  • How to retrieve DB values using select-options

    Hi all,         I have problem to run this code for getting select option values in runtime.  Is there any function, methods or structure to know this?  I didnot get DB values when I click select-option button.         I would like to display DB fiel

  • How to create a PDF with a variable name

    I am a new user and i need a suggestion. I need to create a PDF file with a name that is a variable. I extract some data from SAP and i want use the "Offer number" to call my file. Wher i have to past my "variable" to the OutputFileName? Thanks Jeix