Oracle 11g Logical Standby not Replicating Security?

Hello,
I found that our Oracle 11g logical standby database stopped replicating security commands anymore since it was created as a Oracle 11g database. The security commands are related to users, roles and profiles such as create/alter/drop user, etc. The 11g logical standby database has no problem replicating other commands. Is this normal change with Oracle 11g logical standby? I know Oracle 10g logical standby can replicate those commands. The Oracle 11g logical standby was created the same way as Oracle 10g logical standby. We don't skip security commands on purpose. Anyone who got Oracle 11g logical standby has the same issue? We would like logical standby database to be able to replicate security. If it is normal for Oracle 11g logical standby to stop replicating security, is there a way to make Oracle 11g logical standby still replicates security?
Thanks!

had you started apply using this syntax
real time apply
alter database start logical standby apply immediate;
check lag:
alter session set nls_date_format='dd/mm hh24:mi';
select newest_time || chr(22)|| newest_scn||chr(10)||applied_time||chr(22)||applied_scn||chr(13)||chr(16)||(newest_scn-applied_scn) lag from dba_logstdby_progress
/

Similar Messages

  • Help! 10g logical standby not replicating "create table" on standby

    Hi,
    I'm setting up a logical standby environment and everything works, except when I tried to create a simple table on the primary, the table doesn't show up on the standby. I tried creating a new tablespace on the primary and it shows up right away on the standby. I checked the error logs on both primary and standby and no errors.
    create table test1 (id number(10) primary key, col1 varchar(20), col2 varchar(20));
    The table is created successfully on primary and I also inserted couple of rows and all committed.
    I even tried the following query on the standby to check any failed events and the "create table" DDL doesn't show up , even if it failed:
    select event_time, status, event from dba_logstdby_events order by event_timestamp, commit_scn
    So I'm now confused. The logical standby is active and applying. What would be the issue? How do I find out ?
    Thanks

    had you started apply using this syntax
    real time apply
    alter database start logical standby apply immediate;
    check lag:
    alter session set nls_date_format='dd/mm hh24:mi';
    select newest_time || chr(22)|| newest_scn||chr(10)||applied_time||chr(22)||applied_scn||chr(13)||chr(16)||(newest_scn-applied_scn) lag from dba_logstdby_progress
    /

  • Oracle 10g Logical Standby

    The question is on Oracle 10g Logical Standby Data Guard. Below is the short description of what we wanted to do.
    We currently run our Remedy application on Oracle10g. We wanted to setup Data Guard (logical standby) so we can perform our application upgrade on the logical standby. While we upgrade our application, our customers perform the dml on the primary instance.
    During the upgrade, we will change the ddl on our application in the logical standby instance. After the application upgrade, we do a role switch between the two instances (primary became a new logical standby and logical standby became new primary). Now, we wanted the data or the dml that our customers perform on the old primary replicate over to the new primary.
    It is possible for the logical standby to perform the ddl at the same time user perform the ddl and dml on the primary instance?
    After role switch between the two instances, is the data changed on the primary replicate over to the new primary?
    Thank you for your helps.
    Loc Nguyen
    [email protected]

    Hi Shital,
    Guard_status protects the data from being changed.
    ALL- By default it is not possible for a non-privileged user to modify data on a data guard SQL apply database. This is because the database guard is automatically set to ALL.
    With this level of security, only SYS user can modify the data.
    STANDBY- When you set this level of security, users are able to modify data that is not maintained by the Logical apply engine.
    NONE permits any users to access the standby database as long as they have correct privileges. This is the normal security for all data in the database.
    You can change the guard status value from ALL to NONE in order to allow non-privileged users to modify data and Yes you can create user and extra tablespace in logical standby database..this is what the one of advantage of using Logical standby database.
    SQL> ALTER DATABASE GUARD NONE;
    Thanks

  • Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?

    Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?
    We are not licensed for the Oracle Advanced Security Option and I have been tasked to use Oracle Network Data Encryption in order to encryption network traffic between Oracle instances that reside on remote servers. From what I have read and my prior understanding this is not possible without ASO. Can someone confirm or disprove my research, thanks.

    Hi, Srini Chavali-Oracle
    As for http://www.oracle.com/technetwork/database/options/advanced-security/advanced-security-ds-12c-1898873.pdf?ssSourceSiteId… ASO is mentioned as TDE and Redacting Sensitive Data to Display. Network encryption is excluded.
    As for Network Encryption - Oracle FAQ (of course this is not Oracle official) "Since June 2013, Net Encryption is now licensed with Oracle Enterprise Edition and doesn't require Oracle Advanced Security Option." Could you clarify this? Thanks.

  • Oracle DataGuard Logical Standby

    Hi , I'd like to know what are the premisses to make a standby logical replication.
    I have two environments (production and standby) with different number of processors and storage.
    I'd like to know if it's possible to create data guard solution with these two environments and what are the premisses that I need aware to install the solution.
    Thanks in advance.

    Hello;
    Yes the storage ( as long as you have enough space ) and cpu don't matter.
    You can use hardware that's quite a bit different and it will work fine.
    You can also create a Logical Standby fro a physical standby.
    These notes may help :
    NOTE 413484.1 - Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration
    Mixed Oracle Version support with Data Guard Redo Transport Services [ID 785347.1]
    Logical Standby's don't seem to be very popular and the support base suffers because of this. I would consider a physical standby with Active Data Guard if costs allow.
    Active Data Guard makes an excellent "Reader" database plus I believe your switchover and failover options are much better than a Logical Standby.
    Oracle DataGuard Logical Standby Setup :
    http://orajourn.blogspot.com/2007/02/setting-up-logical-standby-database.html
    http://garyzhu.net/notes/DataGuard.html
    Best Regards
    mseberg
    Edited by: mseberg on Apr 25, 2012 10:07 AM

  • Logical standby not working

    Hi,
    i have configured logical standby in 11gr2. IT replicates properly. Now the replication get stopped and it show the below error. Please suggest me to start the replication.
    LOGMINER: Begin mining logfile during commit scan for session 1 thread 1 sequence 10618, //u01/primary_2345.dbf
    Fri Mar 30 13:06:14 2012
    LOGMINER: End mining logfiles during commit scan for session 1
    LOGMINER: Turning ON Log Auto Delete
    LOGMINER: Begin mining logfile for session 1 thread 1 sequence 10618, /u01/primary_2345.dbf
    Fri Mar 30 13:06:15 2012
    LOGSTDBY Analyzer process AS00 started with server id=0 pid=39 OS id=8993
    Fri Mar 30 13:06:15 2012
    LOGSTDBY Apply process AS01 started with server id=1 pid=40 OS id=8995
    Fri Mar 30 13:06:15 2012
    LOGSTDBY Apply process AS02 started with server id=2 pid=41 OS id=8997
    Fri Mar 30 13:06:15 2012
    LOGSTDBY Apply process AS03 started with server id=3 pid=43 OS id=8999
    Fri Mar 30 13:06:15 2012
    LOGSTDBY Apply process AS04 started with server id=4 pid=45 OS id=9001
    Fri Mar 30 13:06:15 2012
    LOGSTDBY Apply process AS05 started with server id=5 pid=46 OS id=9003
    LOGSTDBY Apply process AS01 server id=1 pid=40 OS id=8995 stopped
    Errors in file /oracle/oracle/diag/rdbms/lgdb/lgdb/trace/lgdb_as01_8995.trc:
    ORA-01418: specified index does not exist
    Errors in file /oracle/oracle/diag/rdbms/lgdb/lgdb/trace/lgdb_lsp0_8930.trc:
    ORA-26808: Apply process AS01 died unexpectedly.
    ORA-01418: specified index does not exist
    LOGSTDBY Analyzer process AS00 server id=0 pid=39 OS id=8993 stopped
    LOGSTDBY Apply process AS02 server id=2 pid=41 OS id=8997 stopped
    LOGSTDBY Apply process AS05 server id=5 pid=46 OS id=9003 stopped
    LOGSTDBY Apply process AS03 server id=3 pid=43 OS id=8999 stopped
    LOGSTDBY Apply process AS04 server id=4 pid=45 OS id=9001 stopped
    LOGMINER: session#=1 (Logical_Standby$), reader MS00 pid=34 OS id=8985 sid=22 stopped
    LOGMINER: session#=1 (Logical_Standby$), builder MS01 pid=36 OS id=8987 sid=23 stopped
    LOGMINER: session#=1 (Logical_Standby$), preparer MS02 pid=37 OS id=8989 sid=1910 stopped
    =====================================================================================================================
    In in the trace file, It show as
    ORA-01418: specified index does not exist
    OPIRIP: Uncaught error 447. Error stack:
    ORA-00447: fatal error in background process
    ORA-01418: specified index does not exist

    knasplcr: eager error was not rolled back
    ++ LCR Dump Begin: 0x9ffffffffd3f8070 - ddl
    op: 5, Original op: 5, baseobjn: 0, objn: 1607159, objv: 65535
    DF: 0x00000002, DF2: 0x00000010, MF: 0x00020810, MF2: 0x00000000
    PF: 0x00000000, PF2: 0x08000000
    MergeFlag: 0x00, FilterFlag: 0x00
    Id: 0, iotPrimaryKeyCount: 0, numChgRec: 1
    NumCrSpilled: 0
    RedoThread#: 1, rba: 0x00297a.0000a2ec.03b0
    scn: 0x0000.0d2761ba, (scn: 0x0000.00000000, scn_sqn: 0, lcr_sqn: 0)xid: 0x0004.014.00013503, parentxid: 0x0004.014.00013503, proxyxid: 0x0000.000.00000000
    ncol: 0 newcount: 24, oldcount: 0
    LUBA: 0x10.4000d6a.14.7.92
    ++ LCR Dump Begin: 0xc0000002197a6580 - commit
    op: 7, Original op: 7, baseobjn: 0, objn: 0, objv: 0
    DF: 0x00000002, DF2: 0x00000010, MF: 0x00220000, MF2: 0x02000000
    PF: 0x00100000, PF2: 0x08040000
    MergeFlag: 0x03, FilterFlag: 0x00
    Id: 22, iotPrimaryKeyCount: 0, numChgRec: 0
    NumCrSpilled: 0
    RedoThread#: 1, rba: 0x00297a.0000a303.0070
    scn: 0x0000.0d2761c8, (scn: 0x0000.0d2761c8, scn_sqn: 1, lcr_sqn: 1)xid: 0x0004.014.00013503, parentxid: 0x0004.014.00013503, proxyxid: 0x0000.000.00000000
    ncol: 0 newcount: 0, oldcount: 0
    LUBA: 0x10.4000d6e.14.14.34
    Apply Slave is exiting due to error ORA-1418KSV 1418 error in slave process
    ORA-01418: specified index does not exist
    OPIRIP: Uncaught error 447. Error stack:
    ORA-00447: fatal error in background process
    ORA-01418: specified index does not exist

  • Manual update tables on 11g Logical Standby

    Dear all,
    I got one physical primary DB and one logical standby DB running 11.2.0.2 and SQL apply.  Same configuration (32bit DB, same server spec) and same settings for both DB servers.
    I don't know but for some reason, a table in the logical standby DB (which also exists in the primary DB) cannot be updated properly, a delete statement for a single row can end up generating ORA-4030 and there is no reason primary can complete the task but the logical cannot. Finally, I skipped the table in SQL apply.
    As the table is a monthly statistics table computed from another daily statistics table, and it is so large that I dont want to re-instatiate the table via the network, nor re-program the queries.
    Therefore I decide to trigger the computation on the logical side.
    My question is, given that I skipped the table in SQL, will the manual update create trouble for the SQL apply process?  I wonder how the redo procedure handles both tables under SQL apply and those under manual update.
    BK

    No!
    One of the main benefits of a logical standby database would be the option of creating a local dataset.
    See: ( Oracle® Data Guard Concepts and Administration 11g Release 2 (11.2) E10700-02 )
    10.5 Customizing a Logical Standby Database
    10.5.5 Adding or Re-Creating Tables On a Logical Standby Database
    A materialized view may also be an option.
    Best Regards
    mseberg

  • External tables in Oracle 11g database is not loading null value records

    We have upgraded our DB from Oracle 9i to 11g...
    It was noticed that data load to external tables in 9i is rejecting the records with null columns..However upgrading it to 11g,it allows the records with null values.
    Is there are way to restrict loading the records that has few coulmns that are null..
    Can you please share if this is the expected behaviour in Oracle 11g...
    Thanks.

    Data isn't really loaded to an External Table. Rather, the external table lets you query an external data source as if it were a regular database table. To not see the rows with the NULL value, simply filter those rows out with your SQL statement:
    SELECT * FROM my_external_table WHERE colX IS NOT NULL;
    HTH,
    Brian

  • Oracle 11g Express Edition not working

    Hi, I have installed Oracle 11g Express Edition correctly but when I try to log in :
    http://127.0.0.1:8080/htmldb
    I use SYSTEM and my password and it logs in but says: The requested URL /htmldb was not found on this server
    If I try to acced to :
    http://127.0.0.1:8080/apex
    the problem is that I cannot login either with SYS, SYSTEM, sys or system.
    Edit: I have windows 8.1

    Try ...:8080/apex/f?p=4950 for the URL with the system credential, that is the apex admin URL, and SYSTEM credential should work for that one.
    Most any other Apex URLs require an Apex login, which is not SYS, nor SYSTEM, those are database users, they aren't apex users.
    And if you get a "page not found" or similar error, check output of:
    lsnrctl status
    For Apex to work, both the database and the listener must be running, and there also must be a "...presentation=HTTP... port=8080" line showing up in the ...status output, in Endpoints... section.
    If that endpoint isn't there, apex won't work, something may not be quite correct with the network settings in listener.ora done by the installer.

  • Oracle 11g express edition not connecting

    2 days back i installed Oracle 11g express edition. I worked good for a day and now its not getting connected
    1)when i try to get started it used to display the Oracle DataBase XE homepage. but now i have the following error message
    Firefox can't establish a connection to the server at 127.0.0.1:8080.
    2) In SQLPlus when I did
    SQL> connect sys/***** as sysdba i am getting the following error
    ERROR:
    error ORA-03113: end-of-file on communication channel
    process-id:0
    session-id:0
    serial number:0
    can somehelp. I am a student and new to oracle

    Hi,
    My OS is windows XP 32 bitOkay. Did you check the state of the Oracle Services?
    I reinstalled the software again and mySQL is working good.mySQL?! Or do you mean, you can connect using sqlplus (the database "command line")?
    http://127.0.0.1:8080/apex/f?p=4950The link is correct. Do you have any other service that might use port 8080, e.g. an Apache Tomcat, IIS, or similar?
    So, if you can connect using sqlplus (which didn't work in your first post, probably works now after reinstallation), you could open up a command line window and run
    lsnrctl statusIf you don't find an entry like the following one, your Database Listener wasn't able to bind to that port. Either you have a (rapid) changing hostname/IP-adress, no active network interface, or a port conflict.
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=yourhostname)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    {code]
    The output of that command gives you several other information that might help you find resources for debugging, e.g. the location of your *Listener Parameter File* and your *Listener Log File*. You can take a look at these to find out what's going wrong.
    -Udo                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Heterogenous connection with dg4odbc Oracle 11g: insert did not work !

    Hi,
    we just migrated to a 64bits version of our oracle 10.2.0.4 database.
    We had a heterogenus connection who was woking "A1" at that time (in 32 bits). Now, we had some problems with the Odbc 64bits and we found on this site that we can use dg4odbc (Oracle 11g).
    We tried it and it works well except for a case ... We have to refresh some Oracle tables using a Ingres database. We have a first script SQL that truncate a table and insert data from a table (using heterogenous connection) terminated by a commit. The second one do exactly the same thing but we use a PL/SQL anonymous block.
    Does anybody know why the first script work and the second not ...
    Here is the "log" of the execution of the first script:
    D:\Logiciels\oracle\ora10g\rdbms\BIN>D:\Logiciels\Oracle\Ora10g\rdbms\bin\sqlplu
    s.exe agrt997/oedec12a1 @D:\batch\script_gen\test1.sql
    SQL*Plus: Release 10.2.0.4.0 - Production on Jeu. Juil. 9 14:23:59 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    SQL> set feed on
    SQL>
    SQL> TRUNCATE TABLE AGRBAKA1.ADMIN_LOCALE;
    Table truncated.
    SQL>
    SQL> INSERT INTO AGRBAKA1.ADMIN_LOCALE
    2 SELECT * FROM ADMIN_LOCALE@test_ron;
    *49 rows created.*
    SQL>
    SQL> commit;
    Commit complete.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64
    bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    D:\Logiciels\oracle\ora10g\rdbms\BIN>
    Now, the execution of the second one (who not worked !!):
    D:\Logiciels\oracle\ora10g\rdbms\BIN>D:\Logiciels\Oracle\Ora10g\rdbms\bin\sqlplu
    s.exe agrt997/oedec12a1 @D:\batch\script_gen\test2.sql
    SQL*Plus: Release 10.2.0.4.0 - Production on Jeu. Juil. 9 14:24:32 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    SQL> set feed on
    SQL>
    SQL> TRUNCATE TABLE AGRBAKA1.ADMIN_LOCALE;
    Table truncated.
    SQL>
    SQL> DECLARE
    2 cpt NUMBER;
    3 BEGIN
    4 INSERT INTO AGRBAKA1.ADMIN_LOCALE
    5 SELECT * FROM ADMIN_LOCALE@test_ron;
    6
    7 commit;
    8 EXCEPTION
    9 WHEN OTHERS THEN
    10 ROLLBACK;
    11 END;
    12 /
    DECLARE
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    *[Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error*
    ORA-02063: preceding 2 lines from TEST_RON
    ORA-06512: at line 10
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    *[Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error*
    ORA-02063: preceding 2 lines from TEST_RON
    SQL>
    SQL> EXIT
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64
    bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    D:\Logiciels\oracle\ora10g\rdbms\BIN>
    It's strange ...
    Thank's
    Yves

    Hi,
    We set the HS_FDS_TRACE_LEVEL=255, stopped/started the listener, started the trace in the ODBC.
    Here is the trace of the dg4odbc:
    Oracle Corporation --- LUNDI JUIL. 13 2009 10:42:42.849
    Heterogeneous Agent Release
    11.1.0.6.0
    Oracle Corporation --- LUNDI JUIL. 13 2009 10:42:42.849
    Version 11.1.0.6.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL16UTF16"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "IngresSvrA1"
    Product-Info:
    Port Rls/Upd:6/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.6.0_0006, Instance:IngresSvrA1
    Exiting hgogprd, rc=0
    hostmstr: 2960482304:      HOA After hoagprd
    hostmstr: 2960482304:      HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=2000
    HOCXU_DB_CSET=178
    HOCXU_SEM_VER=102000
    Entered hgolofn at 2009/07/13-10:42:42
    Exiting hgolofn, rc=0 at 2009/07/13-10:42:42
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    Exiting hgoinit, rc=0 at 2009/07/13-10:42:42
    hostmstr: 2960482304:      HOA After hoainit
    hostmstr: 2960482304:      HOA Before hoalgon
    Entered hgolgon at 2009/07/13-10:42:42
    reco:0, name:AGRT997, tflag:0
    Entered hgosuec at 2009/07/13-10:42:42
    Exiting hgosuec, rc=0 at 2009/07/13-10:42:42
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using AGRT997 as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2009/07/13-10:42:43
    HS_FDS_CONNECT_INFO = "IngresSvrA1"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2009/07/13-10:42:43
    dsn:IngresSvrA1, name:AGRT997
    optn:
    ##>Connect Parameters (len=40)<##
    ## DSN=IngresSvrA1;
    #! UID=AGRT997;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2009/07/13-10:42:43
    DriverName:CAIIOD35.DLL, DriverVer:03.50.910.0089
    DBMS Name:INGRES, DBMS Version:09.10.0000
    Exiting hgocont, rc=0 at 2009/07/13-10:42:43
    SQLGetInfo returns for SQL_CATALOG_NAME
    Exiting hgolgon, rc=0 at 2009/07/13-10:42:43
    hostmstr: 2954018816:      HOA After hoalgon
    hostmstr: 2954018816: RPC Before Upload Caps
    hostmstr: 2954018816:      HOA Before hoaulcp
    Entered hgoulcp at 2009/07/13-10:42:43
    Entered hgowlst at 2009/07/13-10:42:43
    Exiting hgowlst, rc=0 at 2009/07/13-10:42:43
    SQLGetInfo returns " for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    Exiting hgoulcp, rc=0 at 2009/07/13-10:42:43
    hostmstr: 2954018816:      HOA After hoaulcp
    hostmstr: 2954018816: RPC After Upload Caps
    hostmstr: 2954018816: RPC Before Upload DDTR
    hostmstr: 2954018816:      HOA Before hoauldt
    Entered hgouldt at 2009/07/13-10:42:43
    Exiting hgouldt, rc=0 at 2009/07/13-10:42:43
    hostmstr: 2954018816:      HOA After hoauldt
    hostmstr: 2954018816: RPC After Upload DDTR
    hostmstr: 2954018816: RPC Before Begin Trans
    hostmstr: 2954018816:      HOA Before hoabegn
    Entered hgobegn at 2009/07/13-10:42:43
    tflag:0 , initial:1
    hoi:0x12f074, ttid (len 28) is ...
    00: 50434341 3238352E 65363738 34322E62 [ACCP.582876eb.24]
    10: 2E31312E 36323031 34373639 [.11.10269674]
    tbid (len 10) is ...
    0: 000B0018 009CB3EA 0104 [..........]
    Exiting hgobegn, rc=0 at 2009/07/13-10:42:43
    hostmstr: 2954018816:      HOA After hoabegn
    hostmstr: 2954018816: RPC After Begin Trans
    hostmstr: 2954018816: RPC Before Describe Procedure
    hostmstr: 2954018816:      HOA Before hoapdsc
    Entered hgopdsc at 2009/07/13-10:42:43
    Describing procedure AGRT997.admin_locale
    Output hoada
    hgopdsc, line 1222: NO hoada to print
    Exiting hgopdsc, rc=942 at 2009/07/13-10:42:43
    hostmstr: 2954018816:      HOA After hoapdsc
    hostmstr: 2954018816: RPC After Describe Procedure
    hostmstr: 2954018816: RPC Before Describe Table
    hostmstr: 2954018816:      HOA Before hoadtab
    Entered hgodtab at 2009/07/13-10:42:43
    count:1
    table: AGRT997.admin_locale
    Entered hgopcda at 2009/07/13-10:42:44
    Column:1(dir_no_direc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:2(adr_no_adm_reg): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:3(adl_no_adm_loc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:4(adl_desc_adm_loc): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:5(adl_adr1_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:6(adl_adr2_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:7(adl_adr3_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:8(adl_cd_post_adm_lc): dtype:1 (CHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:9(adl_no_tel_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:10(adl_no_fax_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:11(uti_id): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:12(bak_dt_dern_modif_rec): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:7, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:13(uti_id_uvb): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    The hoada for table AGRT997.admin_locale follows...
    hgodtab, line 577: Printing hoada @ 0224711C
    MAX:13, ACTUAL:13, BRC:1, WHT=6
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -6 TINYINT N 1 1 0/ 0 0 0 20 dir_no_direc
    -6 TINYINT N 1 1 0/ 0 0 0 20 adr_no_adm_reg
    -6 TINYINT N 1 1 0/ 0 0 0 20 adl_no_adm_loc
    1 CHAR N 30 30 0/ 0 0 0 0 adl_desc_adm_loc
    1 CHAR N 35 35 0/ 0 0 0 0 adl_adr1_adm_loc
    1 CHAR N 35 35 0/ 0 0 0 0 adl_adr2_adm_loc
    1 CHAR N 35 35 0/ 0 0 0 0 adl_adr3_adm_loc
    1 CHAR N 6 6 0/ 0 0 0 0 adl_cd_post_adm_lc
    1 CHAR N 10 10 0/ 0 0 0 0 adl_no_tel_adm_loc
    1 CHAR N 10 10 0/ 0 0 0 0 adl_no_fax_adm_loc
    1 CHAR N 7 7 0/ 0 0 0 0 uti_id
    91 DATE Y 16 16 0/ 0 0 0 0 bak_dt_dern_modif_rec
    1 CHAR N 7 7 0/ 0 0 0 0 uti_id_uvb
    Exiting hgodtab, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoadtab
    hostmstr: 2954018816:      HOA Before hoadafr
    Entered hgodafr, cursor id 0 at 2009/07/13-10:42:44
    Exiting hgodafr, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoadafr
    hostmstr: 2954018816: RPC After Describe Table
    hostmstr: 2954018816: RPC Before SQL Bundling
    hostmstr: 2954018816:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2009/07/13-10:42:44
    type:0
    SQL text from hgopars, id=1, len=312 ...
    000: 454C4553 41205443 64222E31 6E5F7269 [SELECT A1."dir_n]
    010: 69645F6F 22636572 2E31412C 72646122 [o_direc",A1."adr]
    020: 5F6F6E5F 5F6D6461 22676572 2E31412C [_no_adm_reg",A1.]
    030: 6C646122 5F6F6E5F 5F6D6461 22636F6C ["adl_no_adm_loc"]
    040: 2E31412C 6C646122 7365645F 64615F63 [,A1."adl_desc_ad]
    050: 6F6C5F6D 412C2263 61222E31 615F6C64 [m_loc",A1."adl_a]
    060: 5F317264 5F6D6461 22636F6C 2E31412C [dr1_adm_loc",A1.]
    070: 6C646122 7264615F 64615F32 6F6C5F6D ["adl_adr2_adm_lo]
    080: 412C2263 61222E31 615F6C64 5F337264 [c",A1."adl_adr3_]
    090: 5F6D6461 22636F6C 2E31412C 6C646122 [adm_loc",A1."adl]
    0A0: 5F64635F 74736F70 6D64615F 22636C5F [_cd_post_adm_lc"]
    0B0: 2E31412C 6C646122 5F6F6E5F 5F6C6574 [,A1."adl_no_tel_]
    0C0: 5F6D6461 22636F6C 2E31412C 6C646122 [adm_loc",A1."adl]
    0D0: 5F6F6E5F 5F786166 5F6D6461 22636F6C [_no_fax_adm_loc"]
    0E0: 2E31412C 69747522 2264695F 2E31412C [,A1."uti_id",A1.]
    0F0: 6B616222 5F74645F 6E726564 646F6D5F ["bak_dt_dern_mod]
    100: 725F6669 2C226365 222E3141 5F697475 [if_rec",A1."uti_]
    110: 755F6469 20226276 4D4F5246 47412220 [id_uvb" FROM "AG]
    120: 39395452 222E2237 696D6461 6F6C5F6E [RT997"."admin_lo]
    130: 656C6163 31412022 [cale" A1]
    Exiting hgopars, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoxpars
    hostmstr: 2954018816:      HOA Before hoxopen
    Entered hgoopen, cursor id 1 at 2009/07/13-10:42:44
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoxopen
    hostmstr: 2954018816:      HOA Before hoxdscr
    Entered hgodscr, cursor id 1 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:1(dir_no_direc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:2(adr_no_adm_reg): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:3(adl_no_adm_loc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:4(adl_desc_adm_loc): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:5(adl_adr1_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:6(adl_adr2_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:7(adl_adr3_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:8(adl_cd_post_adm_lc): dtype:1 (CHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:9(adl_no_tel_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:10(adl_no_fax_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:11(uti_id): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:12(bak_dt_dern_modif_rec): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:7, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:13(uti_id_uvb): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    hgodscr, line 521: Printing hoada @ 022470D0
    MAX:13, ACTUAL:13, BRC:100, WHT=5
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -6 TINYINT N 1 1 0/ 0 0 0 20 dir_no_direc
    -6 TINYINT N 1 1 0/ 0 0 0 20 adr_no_adm_reg
    -6 TINYINT N 1 1 0/ 0 0 0 20 adl_no_adm_loc
    1 CHAR N 30 30 0/ 0 0 0 0 adl_desc_adm_loc
    1 CHAR N 35 35 0/ 0 0 0 0 adl_adr1_adm_loc
    1 CHAR N 35 35 0/ 0 0 0 0 adl_adr2_adm_loc
    1 CHAR N 35 35 0/ 0 0 0 0 adl_adr3_adm_loc
    1 CHAR N 6 6 0/ 0 0 0 0 adl_cd_post_adm_lc
    1 CHAR N 10 10 0/ 0 0 0 0 adl_no_tel_adm_loc
    1 CHAR N 10 10 0/ 0 0 0 0 adl_no_fax_adm_loc
    1 CHAR N 7 7 0/ 0 0 0 0 uti_id
    91 DATE Y 16 16 0/ 0 0 0 0 bak_dt_dern_modif_rec
    1 CHAR N 7 7 0/ 0 0 0 0 uti_id_uvb
    Exiting hgodscr, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoxdscr
    hostmstr: 2954018816: RPC After SQL Bundling
    hostmstr: 2954018816: RPC Before Describe Table
    hostmstr: 2954018816:      HOA Before hoadtab
    Entered hgodtab at 2009/07/13-10:42:44
    count:1
    table: admin_locale
    The hoada for table admin_locale follows...
    hgodtab, line 577: NO hoada to print
    Exiting hgodtab, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoadtab
    hostmstr: 2954018816: RPC After Describe Table
    hostmstr: 2954018816: RPC Before SQL Bundling
    hostmstr: 2954018816:      HOA Before hoxclse
    Entered hgoclse, cursor id 1 at 2009/07/13-10:42:44
    Exiting hgoclse, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoxclse
    hostmstr: 2954018816:      HOA Before hoadafr
    Entered hgodafr, cursor id 1 at 2009/07/13-10:42:44
    Exiting hgodafr, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoadafr
    hostmstr: 2954018816:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2009/07/13-10:42:44
    type:0
    SQL text from hgopars, id=1, len=28 ...
    00: 454C4553 2A205443 4F524620 6122204D [SELECT * FROM "a]
    10: 6E696D64 636F6C5F 22656C61 [dmin_locale"]
    Entered hgopoer at 2009/07/13-10:42:44
    hgopoer, line 159: got native error 7 and sqlstate HY000; message follows...
    [Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error
    Exiting hgopoer, rc=0 at 2009/07/13-10:42:44
    hgopars, line 278: calling SQLPrepare got sqlstate HY000
    Exiting hgopars, rc=28500 at 2009/07/13-10:42:44 with error ptr FILE:hgopars.c LINE:308 ID:Prepare stmt
    hostmstr: 2954018816:      HOA After hoxpars
    hostmstr: 2954018816: RPC After SQL Bundling
    hostmstr: 2954018816: RPC Before Rollback Trans
    hostmstr: 2954018816:      HOA Before hoaroll
    Entered hgoroll at 2009/07/13-10:42:44
    tflag:1 , cmt(0):
    hoi:0x12f074, ttid (len 28) is ...
    00: 50434341 3238352E 65363738 34322E62 [ACCP.582876eb.24]
    10: 2E31312E 36323031 34373639 [.11.10269674]
    tbid (len 10) is ...
    0: 000B0018 009CB3EA 0104 [..........]
    Entered hgocpctx at 2009/07/13-10:42:44
    Exiting hgocpctx, rc=0 at 2009/07/13-10:42:44
    Entered hgopoer at 2009/07/13-10:42:44
    hgopoer, line 159: got native error 7 and sqlstate HY000; message follows...
    [Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error
    Exiting hgopoer, rc=0 at 2009/07/13-10:42:44
    hgoroll, line 124: calling SQLEndTran got sqlstate HY000
    Exiting hgoroll, rc=28500 at 2009/07/13-10:42:44 with error ptr FILE:hgoroll.c LINE:124 ID:End transaction
    hostmstr: 2954018816:      HOA After hoaroll
    hostmstr: 2954018816: RPC After Rollback Trans
    hostmstr: 2954018816: RPC Before Rollback Trans
    hostmstr: 2954018816:      HOA Before hoaroll
    Entered hgoroll at 2009/07/13-10:42:44
    tflag:1 , cmt(0):
    hoi:0x12f074, ttid (len 28) is ...
    00: 50434341 3238352E 65363738 34322E62 [ACCP.582876eb.24]
    10: 2E31312E 36323031 34373639 [.11.10269674]
    tbid (len 10) is ...
    0: 000B0018 009CB3EA 0104 [..........]
    Entered hgocpctx at 2009/07/13-10:42:44
    Exiting hgocpctx, rc=0 at 2009/07/13-10:42:44
    Exiting hgoroll, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoaroll
    hostmstr: 2954018816: RPC After Rollback Trans
    hostmstr: 2954018816: RPC Before Logoff
    hostmstr: 2954018816:      HOA Before hoalgof
    Entered hgolgof at 2009/07/13-10:42:46
    tflag:1
    Exiting hgolgof, rc=0 at 2009/07/13-10:42:46
    hostmstr: 2956316672:      HOA After hoalgof
    hostmstr: 2956316672: RPC After Logoff
    hostmstr: 2956316672: RPC Before Exit Agent
    hostmstr: 2956316672:      HOA Before hoaexit
    Entered hgoexit at 2009/07/13-10:42:46
    Exiting hgoexit, rc=0 at 2009/07/13-10:42:46
    hostmstr: 2960150528:      HOA After hoaexit
    hostmstr: 2960150528: RPC After Exit Agent
    If you want the "trace log" of the ODBC, I could send it to you in a further reply.
    Thank's

  • Logical standby not synced with primary!

    Dear All,
    I am in a new environment. Oracle 10g database is running on windows 2003 server. This is the primary database and there is a logical database 10gR2 also on windows.
    Since yesterday all SCN were applied on standby and it was 100% synced with production.
    Just not I have seen quering this view  "SELECT APPLIED_SCN, NEWEST_SCN, NEWEST_SCN-APPLIED_SCN LAG, READ_SCN, APPLIED_TIME FROM DBA_LOGSTDBY_PROGRESS;
    That the last update was on 9/30/2013 7:56
    This is a new environment for me, where should i start troubleshooting from?
    Kindly help
    Regards

    Hi, This is what I have found in alert log file
    LOGSTDBY stmt: ALTER USER KAMRAN IDENTIFIED BY  VALUES '***************'
    LOGSTDBY status: ORA-28007: the password cannot be reused
    LOGSTDBY id: XID 0x0009.014.0016c1e2, hSCN 0x0000.7bfb3c98, lSCN 0x0000.7bfb3c98, Thread 1, RBA 0x53a56.0000023d.144, txnCscn 0x0000.7bfb3c9c, PID 320, ORACLE.EXE (P004)
    LOGSTDBY Apply process P004 pid=21 OS id=320 stopped
    Mon Sep 30 07:57:04 2013
    Errors in file c:\oracle\ora10gr2\admin\logstby\bdump\logstby_lsp0_2532.trc:
    ORA-12801: error signaled in parallel query server P004
    ORA-28007: the password cannot be reused
    LOGSTDBY Analyzer process P003 pid=26 OS id=2704 stopped
    LOGSTDBY Apply process P007 pid=30 OS id=2412 stopped
    LOGSTDBY Apply process P008 pid=31 OS id=2656 stopped
    LOGSTDBY Apply process P006 pid=29 OS id=2676 stopped
    LOGSTDBY Apply process P005 pid=28 OS id=2688 stopped
    Mon Sep 30 08:00:39 2013""
    Since this command was issued on standby the sync process is stoped.
    When i query :
    SEQUENCE#, FIRST_TIME, APPLIED FROM DBA_LOGSTDBY_LOG ORDER BY SEQUENCE#; I get
    Row# SEQUENCE# FIRST_TIME APPLIED
    33 342614 9/30/2013 7:56:11 AM CURRENT
    34 342615 9/30/2013 8:00:39 AM NO
    Please help

  • Oracle 11g merge statement not working properly

    HI I have recently my oracle version to 11.2.0.3 -64 bit . My merge statement is geeting failied saying that invlid identfier at line number 18    
    MERGE INTO peer_index indx        USING staging.stg_peer_filing stg          ON (indx.peer_element_code = stg.fund_code                and indx.index_effective_date = trunc(stg.pricing_date))        WHEN MATCHED THEN UPDATE          SET indx.filing_date = trunc(stg.filing_date),            indx.reported_net_assets = stg.net_assets,            indx.active_flag = 'N',            indx.parent_index_code = NULL,            indx.update_datetime = systimestamp,            indx.last_update_user_id = user        WHEN NOT MATCHED THEN INSERT         (index_code, peer_element_code, filing_date, index_effective_date,          reported_net_assets, active_flag          )        VALUES         ((SELECT pe.index_code_prefix || to_char(stg.pricing_date,'MMRR')           FROM fi_benchmark.peer_element pe           WHERE pe.peer_element_code = stg.fund_code),          stg.fund_code, trunc(stg.filing_date), trunc(stg.pricing_date),          stg.net_assets, 'N'         );
    please help why this is happening .Same query works fine in 10g .

    which line is the line that has the error?
    merge INTO peer_index indx
    USING staging.stg_peer_filing stg
    ON (indx.peer_element_code = stg.fund_code AND indx.index_effective_date = Trunc
    (stg.pricing_date))
    WHEN matched THEN
      UPDATE SET indx.filing_date = Trunc(stg.filing_date),
                 indx.reported_net_assets = stg.net_assets,
                 indx.active_flag = 'N',
                 indx.parent_index_code = NULL,
                 indx.update_datetime = systimestamp,
                 indx.last_update_user_id = USER
    WHEN NOT matched THEN
      INSERT (index_code,
              peer_element_code,
              filing_date,
              index_effective_date,
              reported_net_assets,
              active_flag )
      VALUES ((SELECT pe.index_code_prefix
                      || To_char(stg.pricing_date, 'MMRR')
               FROM   fi_benchmark.peer_element pe
               WHERE  pe.peer_element_code = stg.fund_code),
              stg.fund_code,
              Trunc(stg.filing_date),
              Trunc(stg.pricing_date),
              stg.net_assets,
              'N' );

  • Logical Standby working issues Oracle 9i, Windows

    Hi,
    Set up Oracle 9i Logical Standby on Windows. (instructions as per Oracle Documentation)
    Did not have any issues setting up.
    While setting up the Logical Standby, Recovered the Primary Database until Oct 10/09 8:16 pm
    Registered the archive log in the logical standby generated hence and the FAL took care of copying/registering the rest of the archivelogs.
    Created and inserted some records in Primary database and could see them in Standby.
    So far so good.
    On Oct11 data was entered into Primary database. Archivelogs were shipped to Standby, I could see them registered in DBA_LOGSTDBY_LOG.
    The APPLIED_SCN,NEWEST_SCN were in sync as per DBA_LOGSTDBY_PROGRESS.
    Today, we had some issues with data and when we queried the user tables: (no skip settings)
    Couldn't see any data in standby past the recovery...
    No errors reported in DBA_LOGSTDBY_EVENTS. No errors in Alert log also.
    What could be happening?
    Thanks,
    Madhuri

    I figured it out...
    Today, we had some issues with data and when we queried the user tables: (no skip settings)
    Couldn't see any data in standby past the recovery...I was using two tables as random spot check and both did not get updated. So, I was under the impression SQL APPLY did not do anything.
    But, it did apply the redo on the rest of the tables.
    These 2 tables in question were skipped because both of them had Function Based indexes.
    They are very huge individual tables .
    So, exporting them from Primary database and Importing them into Standby Database. Skipping DML in DataGuard.
    That solved the problem.
    --Madhuri                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ChangePerm.sh file does not exist in Oracle 11g installation

    Hi All,
    I have done successful Oracle 11g installation. After installation I noticed that Oracle 11g/installation does not have changePerm.sh file. Did anyone of you seen that?
    Without executing changeperm.sh file, the binary files have 751 permission level. ChangePerm.sh script make change in file permission to 755.
    Oracle support is not answering me why there was no changePerm.sh file under Oracle_home/install directory.
    Thoughts/suggestions..
    Thank you
    Suresh

    I'm not finding this to be the case reliably. I have both a 10G and an 11G install on one particular machine and the 11G installer initially creates the directories with a 755 permission, then right before the prompt to run root.sh, and at the same time it locks down any 10G home it finds (someone please explain that!) it locks down the 11G home too.
    In true Murphy tradition, this hasn't happened on any of my testing machines, just my production.
    Whatever silly contrived mechanism Oracle wrote to re-lock 10G when installing 11G is also locking down my 11G.

Maybe you are looking for