Problem with dataguard on 10g peace of !"·$%&/

Hello everyone
I have problems with the dataguard, when i switchover to physical standby the error ora-16775 the dmgrl log says:
0 2 0 ORA-16775 Error: the target standby database has some redo log(s) missing. Cannot proceed with the switchover operation
I have made i think all the solutions around here to send or activate the redo log transport, this happend to me because disable the log_archive_dest_state on physical standby, so y make a cold backup of the primary database and set this to standby with the commands:
SQL> STARTUP NOMOUNT;
SQL> ALTER DATABASE MOUNT STANDBY DATABASE;
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
I attach the orcla.ora and orclb.ora to this question:
ORCLA: (primary)
orcla.__db_cache_size=868220928
orcla.__java_pool_size=16777216
orcla.__large_pool_size=16777216
orcla.__shared_pool_size=163577856
orcla.__streams_pool_size=0
*.archive_lag_target=0
*.audit_file_dest='c:\oracle\product\10.2.0/admin/orcla/adump'
*.background_dump_dest='c:\oracle\product\10.2.0/admin/orcla/bdump'
*.compatible='10.2.0.1.0'
*.control_files='C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCLA\CONTROL01.CTL','C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCLA\CONTROL02.CTL','C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCLA\CONTROL03.CTL'#Restore Controlfile
*.core_dump_dest='c:\oracle\product\10.2.0/admin/orcla/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='ORCLA'
*.db_recovery_file_dest='c:\oracle\product\10.2.0/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.DB_UNIQUE_NAME='ORCLA'
*.dg_broker_start=TRUE
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclaXDB)'
*.fal_client='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-001)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLA_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))'
*.fal_server='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(SERVER=dedicated)))'
*.instance_name='ORCLSID'
*.job_queue_processes=10
*.log_archive_config='dg_config=(ORCLB)'
*.log_archive_dest_1='LOCATION=D:\oradata\archivelogs\orcla VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=ORCLA'
orcla.log_archive_dest_1='location="D:\oradata\archivelogs\orcla"','valid_for=(ONLINE_LOGFILE,ALL_ROLES)'
*.log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))"',' LGWR ASYNC NOAFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="ORCLB" register net_timeout=180 valid_for=(online_logfile,primary_role)'
*.log_archive_dest_state_1='ENABLE'
orcla.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.log_archive_format='DBSID_%t_%s_%r.arc'
orcla.log_archive_format='DBSID_%t_%s_%r.arc'
*.log_archive_max_processes=2
*.log_archive_min_succeed_dest=1
orcla.log_archive_trace=0
*.log_checkpoint_interval=10000
*.log_checkpoint_timeout=1800
*.open_cursors=3000
*.optimizer_mode='RULE'
*.pga_aggregate_target=16777216
*.processes=400
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_max_size=1073741824
*.sga_target=1073741824
orcla.standby_archive_dest=''
*.standby_file_management='auto'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='c:\oracle\product\10.2.0/admin/orcla/udump'
ORCLB: (standby)
orclb.__db_cache_size=868220928
orclb.__java_pool_size=16777216
orclb.__large_pool_size=16777216
orclb.__shared_pool_size=163577856
orclb.__streams_pool_size=0
*.aq_tm_processes=0
*.archive_lag_target=0
*.audit_file_dest='c:\oracle\product\10.2.0/admin/orclb/adump'
*.background_dump_dest='c:\oracle\product\10.2.0/admin/orclb/bdump'
*.compatible='10.2.0.1.0'
*.control_files='c:\oracle\product\10.2.0/oradata/orclb/\stand.ctl'
*.core_dump_dest='c:\oracle\product\10.2.0/admin/orclb/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='ORCLA'
*.db_recovery_file_dest='c:\oracle\product\10.2.0/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.DB_UNIQUE_NAME='ORCLB'
*.dg_broker_start=TRUE
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclaXDB)'
*.fal_client='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))'
*.fal_server='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-001)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLA_XPT)(SERVER=dedicated)))'
*.instance_name='ORCLSID'
*.job_queue_processes=10
*.log_archive_config='dg_config=(ORCLA)'
*.log_archive_dest_1='LOCATION=C:\oracle\product\10.2.0\oradata\orclb VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=ORCLB'
orclb.log_archive_dest_1='location="C:\oracle\product\10.2.0\oradata\orclb"','valid_for=(ALL_LOGFILES,ALL_ROLES)'
*.log_archive_dest_2=''
orclb.log_archive_dest_2='location="D:\oradata\archivelogs\orclb"','valid_for=(STANDBY_LOGFILE,STANDBY_ROLE)'
*.log_archive_dest_state_1='ENABLE'
orclb.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
orclb.log_archive_dest_state_2='ENABLE'
*.log_archive_format='DBSID_%t_%s_%r.arc'
orclb.log_archive_format='DBSID_%t_%s_%r.arc'
*.log_archive_max_processes=2
*.log_archive_min_succeed_dest=1
*.log_archive_trace=0
orclb.log_archive_trace=0
*.log_checkpoint_interval=10000
*.log_checkpoint_timeout=1800
*.open_cursors=3000
*.optimizer_mode='RULE'
*.pga_aggregate_target=16777216
*.processes=400
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_max_size=1073741824
*.sga_target=1073741824
orclb.standby_archive_dest='D:\oradata\archivelogs\orclb'
*.standby_file_management='auto'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='c:\oracle\product\10.2.0/admin/orclb/udump'
DGMGRL (primary)
DG 2009-11-11-22:05:17 0 2 702684180 DMON: CTL_ENABLE of ORCLB
DG 2009-11-11-22:05:17 0 2 702684180 requires reset of LOG XPT Engine
DG 2009-11-11-22:05:17 0 2 702684180 on Site ORCLA
DG 2009-11-11-22:05:17 0 2 0 Reset Log Transport Resource: SetState ONLINE, phase BUILD-UP, External Cond ENABLE
DG 2009-11-11-22:05:17 0 2 0 Set log transport destination: SetState ONLINE, phase BUILD-UP, External Cond ENABLE
DG 2009-11-11-22:05:17 0 2 0 Executing SQL [alter system set log_archive_dest_2 =  'service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))"', '   LGWR ASYNC NOAFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1   reopen=300 db_unique_name="ORCLB" register net_timeout=180  valid_for=(online_logfile,primary_role)']
DG 2009-11-11-22:05:17 0 2 0 SQL [alter system set log_archive_dest_2 =  'service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))"', '   LGWR ASYNC NOAFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1   reopen=300 db_unique_name="ORCLB" register net_timeout=180  valid_for=(online_logfile,primary_role)'] Executed successfully
DG 2009-11-11-22:05:17 0 2 0 Executing SQL [alter system set log_archive_dest_state_2 = 'ENABLE']
DG 2009-11-11-22:05:17 0 2 0 SQL [alter system set log_archive_dest_state_2 = 'ENABLE'] Executed successfully
DG 2009-11-11-22:05:17 0 2 0 Executing SQL [ALTER SYSTEM SWITCH ALL LOGFILE]
DG 2009-11-11-22:05:22 0 2 0 SQL [ALTER SYSTEM SWITCH ALL LOGFILE] Executed successfully
DG 2009-11-11-22:05:22 0 2 0 DMON: site 01001000, instance 00000001 queuing healthcheck lock request
DG 2009-11-11-22:05:22 0 2 0 DMON: Releasing healthcheck master lock
DG 2009-11-11-22:05:22 0 2 0 DMON: Health check master lock conversion successful
DG 2009-11-11-22:05:22 0 2 0 DMON: a process acquired the healthcheck master lock
DG 2009-11-11-22:05:22 0 2 702684180 DMON: status from rfi_post_instances() for ENABLE = ORA-00000
DG 2009-11-11-22:05:22 0 2 0 INSV: Received message for inter-instance publication
DG 2009-11-11-22:05:22 0 2 702684180 DMON: ENABLE Complete, Object ORCLB
DG 2009-11-11-22:05:22 0 2 0 req_id 2.1.702684180, opcode CTL_ENABLE, phase END, flags 5
DG 2009-11-11-22:05:22 0 2 702684180      enabled in State STANDBY
DG 2009-11-11-22:05:22 0 2 702684180 rfm_inst_phase_dispatch 16 END phase processing
DG 2009-11-11-22:05:22 0 2 0 INSV: All instances have replied for message
DG 2009-11-11-22:05:22 0 2 0 req_id 2.1.702684180, opcode CTL_ENABLE, phase END
DG 2009-11-11-22:05:22 0 2 702684180 DMON: CTL_ENABLE operation completed
DG 2009-11-11-22:05:22 0 2 702684180 DMON: Entered rfm_release_chief_lock for CTL_ENABLE
DGMGRL (standby)
SCOPE=SPFILE sid='orclb']
DG 2009-11-11-22:04:06 0 2 0 SQL [ALTER SYSTEM SET log_archive_format='DBSID_%t_%s_%r.arc' SCOPE=SPFILE sid='orclb'] Executed successfully
DG 2009-11-11-22:04:07 0 2 0 Setting init.ora parameter with SQL [ALTER SYSTEM SET standby_file_management='AUTO' SCOPE=BOTH sid='*']
DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER SYSTEM SET standby_file_management='AUTO' SCOPE=BOTH sid='*']
DG 2009-11-11-22:04:07 0 2 0 SQL [ALTER SYSTEM SET standby_file_management='AUTO' SCOPE=BOTH sid='*'] Executed successfully
DG 2009-11-11-22:04:07 0 2 0 Setting init.ora parameter with SQL [ALTER SYSTEM SET archive_lag_target=0 SCOPE=BOTH sid='*']
DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER SYSTEM SET archive_lag_target=0 SCOPE=BOTH sid='*']
DG 2009-11-11-22:04:07 0 2 0 SQL [ALTER SYSTEM SET archive_lag_target=0 SCOPE=BOTH sid='*'] Executed successfully
DG 2009-11-11-22:04:07 0 2 0 Setting init.ora parameter with SQL [ALTER SYSTEM SET log_archive_max_processes=2 SCOPE=BOTH sid='*']
DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER SYSTEM SET log_archive_max_processes=2 SCOPE=BOTH sid='*']
DG 2009-11-11-22:04:07 0 2 0 SQL [ALTER SYSTEM SET log_archive_max_processes=2 SCOPE=BOTH sid='*'] Executed successfully
DG 2009-11-11-22:04:07 0 2 0 Setting init.ora parameter with SQL [ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH sid='*']
DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH sid='*']
DG 2009-11-11-22:04:07 0 2 0 SQL [ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH sid='*'] Executed successfully
DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER SYSTEM SET fal_server='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-001)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLA_XPT)(SERVER=dedicated)))']
DG 2009-11-11-22:04:07 0 2 0 SQL [ALTER SYSTEM SET fal_server='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-001)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLA_XPT)(SERVER=dedicated)))'] Executed successfully
DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER SYSTEM SET fal_client='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))']
DG 2009-11-11-22:04:07 0 2 0 SQL [ALTER SYSTEM SET fal_client='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))'] Executed successfully
DG 2009-11-11-22:04:07 0 2 0 Database Resource SetState succeeded
DG 2009-11-11-22:04:07 0 2 0 RSM 0 received SETSTATE request: rid=0x02031000, sid=1, phid=2, econd=7, sitehndl=0x7fffffff
DG 2009-11-11-22:04:07 0 2 0 Physical Apply Resource: SetState ONLINE, phase BUILD-UP, External Cond ENABLE
DG 2009-11-11-22:04:07 0 2 0 Executing SQL [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL]
DG 2009-11-11-22:04:13 0 2 0 SQL [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL] Executed successfully
DG 2009-11-11-22:05:11 0 2 0 Executing SQL [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE  THROUGH ALL SWITCHOVER DISCONNECT  USING CURRENT LOGFILE]
DG 2009-11-11-22:05:17 0 2 0 SQL [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE  THROUGH ALL SWITCHOVER DISCONNECT  USING CURRENT LOGFILE] Executed successfully
DG 2009-11-11-22:05:17 0 2 0 INSV: All instances have replied for message
DG 2009-11-11-22:05:17 0 2 0 req_id 2.1.702684180, opcode CTL_ENABLE, phase BUILDUP
DG 2009-11-11-22:05:17 0 2 702684180 DMON: Entered rfm_release_chief_lock for CTL_ENABLE
DG 2009-11-11-22:05:22 0 2 702684180 DMON: Entered rfm_get_chief_lock() for CTL_ENABLE, reason 0
DG 2009-11-11-22:05:22 0 2 702684180 DMON: chief lock convert for write op CTL_ENABLE
DG 2009-11-11-22:05:22 0 2 702684180 DMON: chief lock convert for enable
DG 2009-11-11-22:05:22 0 2 702684180 DMON: CLSR being notified to enable services and startup standby instances as appropriate during ENABLE.
DG 2009-11-11-22:05:22 0 2 702684180 DMON: status from rfi_post_instances() for ENABLE = ORA-00000
DG 2009-11-11-22:05:22 0 2 0 INSV: Received message for inter-instance publication
DG 2009-11-11-22:05:22 0 2 0 req_id 2.1.702684180, opcode CTL_ENABLE, phase END, flags 5
DG 2009-11-11-22:05:22 0 2 702684180 rfm_inst_phase_dispatch 16 END phase processing
DG 2009-11-11-22:05:22 0 2 0 INSV: All instances have replied for message
DG 2009-11-11-22:05:22 0 2 0 req_id 2.1.702684180, opcode CTL_ENABLE, phase END
DG 2009-11-11-22:05:22 0 2 702684180 DMON: Entered rfm_release_chief_lock for CTL_ENABLE
DG 2009-11-11-22:05:22 0 2 702684180 DMON: Data Guard Broker initiated operation complete
DG 2009-11-11-22:05:22 0 2 702684180 DMON: CTL_ENABLE operation completed
Alert oracle primary:
FAL[server]: Fail to queue the whole FAL gap
GAP - thread 1 sequence 731-731
DBID 2809078314 branch 696087148
Wed Nov 11 22:05:17 2009
ALTER SYSTEM SET log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRV-LOGMEC-002)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCLB_XPT)(INSTANCE_NAME=ORCLSID)(SERVER=dedicated)))"',' LGWR ASYNC NOAFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="ORCLB" register net_timeout=180 valid_for=(online_logfile,primary_role)' SCOPE=BOTH;
Wed Nov 11 22:05:17 2009
ALTER SYSTEM SET log_archive_dest_state_2='ENABLE' SCOPE=BOTH;
Wed Nov 11 22:05:17 2009
Thread 1 cannot allocate new log, sequence 805
Private strand flush not complete
Current log# 2 seq# 804 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCLA\REDO02.LOG
Thread 1 advanced to log sequence 805
Current log# 3 seq# 805 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCLA\REDO03.LOG
Wed Nov 11 22:05:22 2009
LNS: Failed to archive log 2 thread 1 sequence 804 (3113)
LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
LNS: Standby redo logfile selected for thread 1 sequence 805 for destination LOG_ARCHIVE_DEST_2
Alter oracle standby
Primary database is in MAXIMUM PERFORMANCE mode
Wed Nov 11 22:05:22 2009
RFS LogMiner: Client disabled from further notification
Primary database is in MAXIMUM PERFORMANCE mode
RFS[1]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCLA\ONLINELOG\O1_MF_4_59HJ9T8L_.LOG'
Wed Nov 11 22:05:46 2009
FAL[client]: Failed to request gap sequence
GAP - thread 1 sequence 731-731
DBID 2809078314 branch 696087148
FAL[client]: All defined FAL servers have been attempted.
Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that is sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps.
Wed Nov 11 22:06:01 2009
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[2]: Assigned to RFS process 5848
RFS[2]: Identified database type as 'physical standby'
Wed Nov 11 22:17:54 2009
db_recovery_file_dest_size of 2048 MB is 0.00% 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.
Can anyone see what !"·$%& is wrong whit this? maybe is the gap? this is a exact copy of the primary but set to standby.

SQL> recover database using backup controlfile;
ORA-00279: el cambio 25608871 generado en 09/24/2009 23:08:11 es necesario para
el thread 1
ORA-00289: sugerencia: D:\ORADATA\ARCHIVELOGS\ORCLB\DBSID_1_731_696087148.ARC
ORA-00280: el cambio 25608871 para el thread 1 estß en la secuencia n·mero 731
Especificar log: {<RET>=sugerido | nombre_archivo | AUTO | CANCEL}
ORA-00308: no se puede abrir el archive log
'D:\ORADATA\ARCHIVELOGS\ORCLB\DBSID_1_731_696087148.ARC'
ORA-27041: no se ha podido abrir el archivo
OSD-04002: no se ha podido abrir el archivo
O/S-Error: (OS 2) El sistema no puede hallar el archivo especificado.
So how i can recreate this file if i dont have it? anyone can help, please!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Similar Messages

  • Performance problem with sdn_nn - new 10g install

    I am having a performance problem with sdn_nn after migrating to a new machine. The old Oracle version was 9.0.1.4. The new is 10g. The new machine is faster in general. Most (non-spatial) batch processes run in half the time. However, the below statement is radically slower. The below statement ran in 45 minutes before. On the new machine it hasn't finished after 10 hours. I am able to get a 5% sample of the customers to finish in 45 minutes.
    Does anyone have any ideas on how to approach this problem? Any chance something isn't installed correctly on the new machine (the nth version of the query finishe, albeit 20 times slower)?
    Appreciate any help. Thanks.
    - Jack
    create table nearest_store
    as
    select /*+ ordered */
    a.customer_id,
    b.store_id nearest_store,
    round(mdsys.sdo_nn_distance(1),4) distance
    from customers a,
    stores b
    where mdsys.sdo_nn(
    b.geometry,
    a.geometry,
    'sdo_num_res=1, unit=mile',
    1
    ) = 'TRUE'
    ;

    Dan,
    customers 110,000 (involved in this query)
    stores 28,000
    Here is the execution plan on the current machine:
    CREATE TABLE STATEMENT cost = 81947
    LOAD AS SELECT
    PX COORDINATOR
    PX SEND QC (RANDOM) :TQ10000
    ROW NESTED LOOPS
    1 1 PX BLOCK ITERATOR
    1 1ROW TABLE ACCESS FULL CUSTOMERS
    1 3 PARTITION RANGE ALL
    1 3 TABLE ACCESS BY LOCAL INDEX ROWID STORES
    DOMAIN INDEX STORES_SIDX
    I can't capture the execution plan on the old database. It is gone. I don't remember it being any different from the above (full scan customers, probe stores index once for each row in customers).
    I am trying the query without the create table (just doing a count). I'll let you know on that one.
    I am at 10.0.1.3.
    Here is how I created the index:
    create index stores_sidx
    on stores(geometry)
    indextype is mdsys.spatial_index LOCAL
    Note that the stores table is partitioned by range on store type. There are three store types (each in its own partition). The query returns the nearest store of each type (three rows per customer). This is by design (based on the documented behavior of sdo_nn).
    In addition to running the query without the CTAS, I am also going try running it on a different machine tonight. I let you know how that turns out.
    The reason I ask about the install, is that the Database Quick Installation Guide for Solaris says this:
    "If you intend to use Oracle JVM or Oracle interMedia, you must install the Oracle Database 10g Products installation type from the Companion CD. This installation optimizes the performance of those products on your system."
    And, the Database Installlation Guide says:
    "If you plan to use Oracle JVM or Oracle interMedia, Oracle strongly recommends that you install the natively compiled Java libraries (NCOMPs) used by those products from the Oracle Database 10g Companion CD. These libraries are required to improve the performance of the products on your platform."
    Based on that, I am suspicious that maybe I have the product installed on the new machine, but not correctly (forgot to set fast=true).
    Let me know if you think of anything else you'd like to see. Thanks.
    - Jack

  • Problem with DataGuard

    Hello.
    Please help me with problem. I install OEM with DataGuard on one computer and install database and agent on other. When I install this programs I can manage from OEM other computer on what install database. After I try create standby database for my database from OEM but it answered me "Cannot determine primary host architecture". What I need do for fix this problem? I can create standby database for base on one computer but I can't create standby for database on other computer.

    Can you be more specific ?
    -- Where is the Primary DB installed on ? Which version of DB ? What version of agent is installed on it ?
    -- Where is the OEM Grid installed on ? Version ?
    -- Where are you trying to create the Standby DB on ? If it is on a different server what version of the agent is installed on it ?
    -- Have you enabled the parameters for Data Broker ?

  • Problems with Enterprise Manager 10g

    Greetings!
    We have 3 databases up and running fine so far. Yesterday I mentioned that the Enterprise Manager for one of the databases is not reachable, although it is up and I can connect to it with SqlPlus. So I checked emctl and it is up and running, and the port I use is also right. Has anyone an idea what I could do in addition to get EM working again? I only have these problems with one db, all others are working great.
    best regards,
    Jörn

    Hi there,
    here is the status of the dbconsole and the agent:
    emctl status dbconsoleTZ set to Europe/Berlin
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://orahost.fzh:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory /u01/app/oracle/product/10.2.0/db/orahost.fzh_kms/sysman/log
    emctl status agentTZ set to Europe/Berlin
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    Agent Version : 10.1.0.5.1
    OMS Version : 10.1.0.5.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /u01/app/oracle/product/10.2.0/db/orahost.fzh_kms
    Agent binaries : /u01/app/oracle/product/10.2.0/db
    Agent Process ID : 23765
    Parent Process ID : 21612
    Agent URL : http://orahost.fzh:3938/emd/main
    Started at : 2008-02-11 12:23:39
    Started by user : oracle
    Last Reload : 2008-02-11 12:23:39
    Last successful upload : 2008-02-14 08:25:48
    Total Megabytes of XML files uploaded so far : 27.19
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0.00
    Available disk space on upload filesystem : 52.00%
    Agent is Running and Ready
    I restartet the agent and the dbconsole without any success. I still cannot reach the EM for the second DB. Any other suggestions?
    best regards,
    Jörn

  • Problems with SCM server 10g and Forms Developer 6i&9i

    Hi,
    I installed SCM server 10g and try to use it with Forms developer 6i and 9i. The connection to the server works ok but when I choose the container from Source Control Options to check in forms they always go one level higher in the container hierarchy. With Forms developer 10g it is working fine. What might cause this?
    Thanks,
    Tomi

    You are missing one key piece of information from your email - the error message that you got.
    can you specify what was the error number?
    Once you have this number I'll suggest that you look it up on the online documentation of the database available on otn (just do a search on OTN with the error number).

  • Problems with subversion Jdeveloper 10g

    Hi! I have problems with subversion. On some PC I have subversion but on some not.
    1. When I check for updates I can't find update - VCS FRAMEWORK EXTENSION 10.1.3.38.65 Is it old and what to use then?
    2. On that pc where I have Subversion I create new conn:
    Repository URL: file:///Z:/kokiRepos
    Conn name: Test
    User: KOKAUGI
    Password: j******
    I got error:
    Testing connection...
    svn: Unable to open an ra_local session to URL
    svn: Unable to open repository 'file:///Z:/kokiRepossss'
    svn: Unable to open repository 'file:///Z:/kokiRepossss'
    Connection test failed.
    Why?
    Best regards!

    From here
    -Arun

  • Slow Problems with Oracle Forms 10g and Oracle Database 11g

    Hi, I wonder if there is a compatibility problem between Version 10.1.2.0.2 32 Oracle Forms and Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production. This is because my application runs correctly on a version of Oracle Database 10g, and when we migrated the database to an Oracle Database 11g, slowness problems came out.
    Thanks.

    We have the same issue happening with our custom forms and with some of the standard forms in EBSO. So far we have found that the form invoking a view causes ridiculous slowness in opening the form (40 mins). Using a table access has shortened the open time significantly. At this time Oracle DBAs at OOD have no clear idea why it is happening.
    we are on 11.1 database with 11.5 EBSO
    Edited by: user3223867 on Feb 4, 2011 7:55 AM

  • Problems with Oracle Database 10g Express Edition and JBoss

    Hi all,
    I try to use Oracle Database 10g Express Edition and JBoss, but sometimes i have a connection problems.
    Sometimes i have starnge warning:
    WARN [JBossManagedConnectionPool] Unable to fill pool
    org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12519, TNS:no appropriate service handler found
    and:
    org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12519, TNS:no appropriate service handler found
    Oracle Database 10g Express Edition support Distributed Transaction Processing (DTP) XA interface or not?
    Some ideas?
    Thanks in advance!
    Stoyan

    Hi,
    yes, it will work, but only with the Western European Edition, not the Unicode release.
    See this thread for details:
    Re: Connection error from SqlPlus 8.0 to Oracle XE in the same computer
    Regards,
    ~Dietmar.

  • Strange Problems with Discoverer Plus 10g

    Hello All -
    I'm working an exercise to bring an application online which uses Discoverer Plus 10g as its client. This application is located in an area that I don't have access to, so the symptoms I'll describe have been reported to me by users.
    1) When users log into Discoverer Plus and it launches, it does so with the iconic menu buttons (located below the pull-down menus) disabled and grayed-out. The users are forced to do all operations using the pull-down menus. This is a problem that is consistent across different PCs.
    2) When users do File....Save As.... the "Save Workbook to Database" window opens and the user is unable to modify the filename in the "New name" text field. If the user toggles the "View:" setting at the top of the window, they can then change the filename. This problem has only been reported by 2 users, but it's happening for them consistently.
    3) When a user creates a new report using File....New... the Workbook Wizard opens and all is normal until the "Workbook Wizard - Step 2 of 5: Select Items" page appears. On the items tab, the user activates the pull-down list to select the business area they want to use, and the business area name disappears when the users mouses-over it. So the user must click on the blank business area name to continue. This is a problem that is consistent across different PCs.
    A number of the users' PCs have two Java versions installed on them like this:
    Platform     Product
    1.4     1.5.0_14
    1.5     1.4.2_16
    I had them make sure that 1.5.0_14 is the only one enabled, but that did not remedy any of the above problems.
    At this point I don't know what to try next.
    All help is greatly appreciated.
    Patrick

    Try the 1.4.2_06 java version
    I suggest you remove other java version and stay with just one.
    I do not remember but from some point the java version will use the higher there is and java 1.5 from my experience
    is not working with the discoverer so well.
    Tamir

  • Problem  with BC4J in 10g: incorrect Date formatting

    I have PL/SQL procedure, which is called from bc4j-struts-application like this:
    CallableStatement cs = getDBTransaction().createCallableStatement(FIND_USER_RESP_STMT,0);
    cs.execute();
    It return an exeption with this message:
    ORA-01403: no data found
    ORA-06512: at "CRN.CRN_UTIL", line 115
    ORA-06512: at "CRN.CRN_UTIL", line 323
    ORA-06512: at "CRN.CRN_RESPONSIBILITY", line 85
    ORA-01843: not a valid month
    ORA-06512: at line 1
    I don't send any data parameter for this procedure. When I try to call it from JDeveloper connections debug, it runs succesfully. I try to create bc4j entity to query:
    select to_char(sysdate, 'DD-MON-YYYY') X,
    to_char(sysdate, 'DD-MM-YYYY') Y from dual
    and it retrieves:
    27-¿¿¿-2004
    27-09-2004
    Date constant is used in PL/SQL procedure with format 'DD-MON_YYYY', but I can't change it, because it used by many other applications.
    My local setting is english, USA, and I have the second language on my PC - russian.
    JDeveloper 9.0.5.2. This code runs succesfully in JDeveloper 9.0.3.3.
    How can I send bc4j date setting in normal format to solve this problem? And where can I find bc4j local settings, which are sended by bc4j to server?
    Regards, Nikolay

    Hello,
    The problem is still available. Could anybody help?
    Regard

  • Problem with installing Oracle 10g on Suse Linux

    Hi everybody!
    I downloaded Oracle 10g Express from this url:
    http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html
    it is free version for developers.
    I copied it into computer where was installed Suse Linux Enterprise Edition.
    But when I run it shows this kind of error:
    error: rpmReadSignature failed: region failed: BAD, tag 15872 type 2047 offset 20480 count 4096
    error: oracle-xe-univ-10.2.0.1-1.i386.rpm cannot be installed
    It was downloaded without any problem. But checksum is different from that shown on website. I think this is the problem.
    What is the problem? Does anybody know answer?
    Regards,
    Seti's fiction

    Yes, you appear to have a bad copy.
    I have not had a problem when the check sum matched. Therefore I encourage you to download again.

  • Another Problem with Oracle Forms 10G

    Hi Experts;
    Previously I posted here a problem was having with Oracle Form, when I tried to execute it (Internet Explorer has closed this webpage to help protect your computer. A malfunctioning or malicious add-on has caused Internet Explorer to close this webpage) .
    However, with the help of a good Buddy of this forum, I could solved the problem and my forms were running properly. But today, i don't know how it's giving me a new problem. When I choose Run Form, I get this error (website restore error. Internet Explorer has stopped trying to restore this website. It appears that the website continues to have a problem.)
    Any suggestion to solve this problem?
    Thanks for your help.
    Regards
    Al

    Hi Aamir;
    I didn't upate file, but I don't know how, but last sunday the google toolbar was installed. I removed it already yesterday, but now I got this problem, I don't know if the installation and then, removing this toolbar, updated any important file.
    The thing is, now I can not execute my forms.
    Regards;
    Al

  • Problem with libraries forms 10G

    Hi,
    I work in a company that bought a system done in Oracle. Actually we're using forms and reports 6i, but we are going to migrate to the Forns/reports 10g .
    We already have the archives of the new version, the problem is that we must turn our own products to the new version but putting new libraries, and when treatment to compile them, these do not work. The compiler sends errors like
    Error PL/SQL 201 identifier
    'GORDMSK.GORDMSK_DISPLAY_IND' must be declared
    I do not understand why, because this libraries was provided by the company that developed the system.
    Our forms already have been turned through the Oracle migration assistant, the problem are the libraries.
    somebody can help me?

    I'm confused. Is what your saying is that you took the libraries (10g) from the bought system and attached them to your application (6i)?

  • Problem with Dataguard Wizzard in OEM 10

    Hi,
    I've tried to create a physical standby database of a 10gR2 instance on the same host (windows 2003 64 bits) through OEM 10, and I get an error message at the first step.
    I select "create a physical standby database" and I get this in french :
    "Impossible de déterminer l'architecture de l'hôte principal."
    which means something like :
    "Unable to detect (or to find) main host architecture"
    I didn't find anything related to this in alert.log or in OMS log files.
    Does anyone know about this ?
    I'll try to do it manually, but I'd like to understand why the wizzard is not working.
    Thanks for your help

    Hi :
    "The /usr/bin/ldapsearch is an old version that does not support the "-Z" and "-P" flags to test SSL connection on port 636, use the ldapsearch command from SUN DS5.0/5.1 that comes bundled with Solaris9 and usually installed at /usr/iplanet/ds5 (DS5.0/5.1) or /var/Sun/mps (DS5.1/5.2) or /var/opt/mps/serverroot (DS5.2)"
    Source : http://forums.sun.com/thread.jspa?threadID=5089467
    Hope this can help,
    Regards,
    Groucho_fr

  • Problems with installing Oracle 10g on x86_64

    Hi,
    I downloaded 10201_database_linux_x86_64.cpio.gz package and tried to install by running runInstaller script.
    But i received following error:
    ./runInstaller: line 54: /home/oracle/source/database/install/.oui: No such file or directory
    But this files exists
    bash-3.2$ pwd
    /home/oracle/source/database/install
    bash-3.2$ ls -la
    total 364
    drwxr-xr-x 5 oracle root 4096 2007-09-26 13:10 .
    drwxr-xr-x 6 oracle root 4096 2007-09-26 13:06 ..
    -rwxrwxrwx 1 oracle 42424 163185 2005-10-23 00:49 .oui
    -rwxr-xr-x 1 oracle 42424 28 2005-10-23 00:49 addLangs.sh
    -rwxr-xr-x 1 oracle 42424 76 2005-10-23 00:49 addNode.sh
    drwxr-xr-x 2 oracle root 4096 2007-09-23 19:24 images
    -rwxr-xr-x 1 oracle 42424 46448 2005-10-23 00:49 lsnodes
    -rwxr-xr-x 1 oracle 42424 2268 2005-10-23 00:49 oneclick.properties
    -rwxr-xr-x 1 oracle 42424 2387 2005-10-23 00:49 oraparam.ini
    -rwxr-xr-x 1 oracle 42424 6428 2005-10-23 00:49 oraparamsilent.ini
    drwxr-xr-x 2 oracle root 4096 2007-09-23 19:24 resource
    drwxr-xr-x 2 oracle root 4096 2007-09-23 19:24 response
    -rwxr-xr-x 1 oracle 42424 102612 2005-10-23 00:49 unzip
    bash-3.2$ head -c 4 /home/oracle/source/database/install/.oui
    ELFbash-3.2$
    Am I installing oracle in a wrong way?
    What could be the problem?
    bbad

    try using a download assistant like GetRight (www.getright.com) for downloading. it allows fast error free download. after that use nero/easy cd to burn the image and be sure to burn it at 8x speed and then dont forget to verify it.

Maybe you are looking for

  • Can I export from a Lightroom Collection to Pgotoshop

    Hi I am new to Photoshop, and would like to for example open 2 or more images into Photoshop (ie: to replace a sky / do an hdr etc) Q1) I am wondering whether, rather than go into Bridge, which I don't really want to bother with / learn, if I have ph

  • Problem with 'SAPGUI_PROGRESS_INDICATOR' in SAP GUI 7.10

    Hi! We have a problem with SAP GUI 7.10 PL 11. When running this little code snipet, the SAP GUI crashes and SM21 mentions a broken pipe while calling writev in niuxi.c DATA: lv_i type i,       lv_string type string. DO 50000 TIMES. lv_i = lv_i + 1.

  • Problem in upload

    Hi all, i am stucked at one point while uploading file from desktop to application server. I have uploaded multiple files  but not able to save them with different names. when i upload files i have to save them dynamically with their names.for ex: if

  • Why Adobe dont want support for ArmV6 if there are many devices with these?

    Many people use Android devices with ARMv6 like: Galaxy ace, Motorola Defy, Galaxy y, LG Optimus One, etc, ect. I think that therea are more with ARMv6 that ARMv7 check: http://forum.xda-developers.com/showthread.php?t=1596800 This link you can see t

  • How to automate DDL statements in batch or stored procedure?

    I'd like to write a start file or stored procedure to create synonyms for all tables owned by the current user as well as any to which the user has been granted access. However, no DDL statement like create synonyms is allowed in stored procedures. H