ORACLE LOG ERRORS - Bug in oracle??

Hi,
we are using oracle log errors to capture oversized err records for varchar2 type fields. Sql is something like:
INSERT INTO abc (col1,col2) VALUES ('asdsass','weqwewqee') LOG ERRORS INTO abc_err('1') REJECT LIMIT UNLIMITED;
But, data captured in abc table is trimmed data. Right spaces present in source are being trimmed by oracle while capturing this error table. I have the following queries:
-Has anyone else experienced this type of behavior?
-Is it a bug in oracle log errors functionallity??
-Is there any workaround to use oracle log errors functionality to catch untrimmed data?
thanks,
Edited by: user7036480 on Dec 11, 2008 4:22 PM

user7036480 wrote:
-Has anyone else experienced this type of behavior? Yes, described in that issue while "log errors into g_logtest_err(1) reject limit 1" (is it you?)
-Is it a bug in oracle log errors functionallity?? Raise a SR to know.
-Is there any workaround to use oracle log errors functionality to catch untrimmed data?No.
Nicolas.

Similar Messages

  • Customizing Oracle Database Error Message Using Oracle JVM

    Avi (that everybody on this forum knows) has just written the following article:
    http://www.oracle.com/technology/tech/java/jsp/parameterized_custom_messages.html
    Check it out, Kuassi

    I got blank space when try to access Oracle Database Error Messages 11g release 2 pdf version. Not sure if it is because of my browser or not. I'm using firefox 6.0.2 in Slackware 13 64 linux.I do not see any PDF link for "Oracle Database 11gR2 Error Messages" Guide, only the HTML version is available.
    Error Messages
    http://www.oracle.com/pls/db112/to_toc?pathname=server.112/e17766/toc.htm
    11gR2 Docs
    http://www.oracle.com/pls/db112/homepage

  • Does Oracle log errors for me?

    Hi All,
    Quick question here:
    I am receiving the following error upon insert:
    Code: ORA-00904: invalid column name in DB Manager function: ExecuteSQL
    Does the database log which table had the wrong insert? This is happening in code that I don't have easy access to and would like to know of any logging feature that oracle may provide.
    Thanks,
    Rick

    So here is a question:
    I have been logging a few sessions. I have pasted what is in v$session here:
    SID SERIAL#
    1     1
    2     1
    3     1
    4     1
    5     1
    6     1
    7     18761
    8     18761
    9     18761
    10     18761
    11     5712
    16     29258
    using tom's guide (http://asktom.oracle.com/pls/ask/f?p=4950:8:5737465255169454238::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:330817260752) i turned on the logging
    I keep getting stuff like this though:
    STAT #2 id=1 cnt=0 pid=0 pos=0 obj=0 op='SORT ORDER BY '
    STAT #2 id=2 cnt=0 pid=1 pos=1 obj=0 op='FILTER '
    STAT #2 id=3 cnt=2 pid=2 pos=1 obj=0 op='NESTED LOOPS '
    STAT #2 id=4 cnt=4 pid=3 pos=1 obj=0 op='NESTED LOOPS '
    STAT #2 id=5 cnt=4 pid=4 pos=1 obj=22 op='TABLE ACCESS BY INDEX ROWID USER$ '
    STAT #2 id=6 cnt=4 pid=5 pos=1 obj=41 op='INDEX UNIQUE SCAN '
    STAT #2 id=7 cnt=4 pid=4 pos=2 obj=18 op='TABLE ACCESS BY INDEX ROWID OBJ$ '
    STAT #2 id=8 cnt=4 pid=7 pos=1 obj=33 op='INDEX UNIQUE SCAN '
    STAT #2 id=35 cnt=2 pid=3 pos=2 obj=63 op='TABLE ACCESS BY INDEX ROWID ARGUMENT$ '
    STAT #2 id=36 cnt=2 pid=35 pos=1 obj=108 op='INDEX RANGE SCAN '
    STAT #2 id=38 cnt=0 pid=2 pos=3 obj=0 op='NESTED LOOPS '
    STAT #2 id=39 cnt=0 pid=38 pos=1 obj=0 op='FIXED TABLE FULL X$KZSRO '
    STAT #2 id=40 cnt=0 pid=38 pos=2 obj=82 op='TABLE ACCESS BY INDEX ROWID OBJAUTH$ '
    STAT #2 id=41 cnt=0 pid=40 pos=1 obj=101 op='INDEX RANGE SCAN '
    STAT #2 id=37 cnt=0 pid=2 pos=2 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=9 cnt=4 pid=8 pos=1 obj=0 op='FILTER '
    STAT #2 id=10 cnt=4 pid=9 pos=1 obj=0 op='NESTED LOOPS '
    STAT #2 id=11 cnt=4 pid=10 pos=1 obj=22 op='TABLE ACCESS BY INDEX ROWID USER$ '
    STAT #2 id=12 cnt=4 pid=11 pos=1 obj=41 op='INDEX UNIQUE SCAN '
    STAT #2 id=13 cnt=4 pid=10 pos=2 obj=18 op='TABLE ACCESS BY INDEX ROWID OBJ$ '
    STAT #2 id=14 cnt=6 pid=13 pos=1 obj=34 op='INDEX RANGE SCAN '
    STAT #2 id=34 cnt=0 pid=9 pos=17 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=33 cnt=0 pid=9 pos=16 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=32 cnt=0 pid=9 pos=15 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=31 cnt=0 pid=9 pos=14 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=30 cnt=0 pid=9 pos=13 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=29 cnt=0 pid=9 pos=12 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=28 cnt=0 pid=9 pos=11 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=27 cnt=0 pid=9 pos=10 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=26 cnt=0 pid=9 pos=9 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=25 cnt=0 pid=9 pos=8 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=24 cnt=0 pid=9 pos=7 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=23 cnt=0 pid=9 pos=6 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=22 cnt=0 pid=9 pos=5 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=21 cnt=2 pid=9 pos=4 obj=0 op='FIXED TABLE FULL X$KZSPR '
    STAT #2 id=17 cnt=2 pid=9 pos=3 obj=0 op='NESTED LOOPS '
    STAT #2 id=18 cnt=54 pid=17 pos=1 obj=0 op='FIXED TABLE FULL X$KZSRO '
    STAT #2 id=19 cnt=52 pid=17 pos=2 obj=82 op='TABLE ACCESS BY INDEX ROWID OBJAUTH$ '
    STAT #2 id=20 cnt=52 pid=19 pos=1 obj=101 op='INDEX RANGE SCAN '
    STAT #2 id=15 cnt=0 pid=9 pos=2 obj=19 op='TABLE ACCESS BY INDEX ROWID IND$ '
    STAT #2 id=16 cnt=0 pid=15 pos=1 obj=36 op='INDEX UNIQUE SCAN '
    How do I know what session my VB6 app is grabbing? Especially if it's starting and ending transactions?
    Is there a way to LOG ALL requests out to a file?

  • Oracle  log error?

    ORA-00604: error occurred at recursive SQL level 1
    ORA-01555: snapshot too old: rollback segment number 9 with name "_SYSSMU9$" too small
    Thu Nov 15 16:31:59 2007
    Memory Notification: Library Cache Object loaded into SGA
    Heap size 5188K exceeds notification threshold (2048K)
    KGL object name :SELECT /*+ ALL_ROWS */ COUNT(*) FROM ALL_POLICIES V WHERE V.OBJECT_OWNER = :B3 AND V.OBJECT_NAME = :B2 AND (POLICY_NAME LIKE '%xdbrls%' OR POLICY_NAME LIKE '%$xd_%') AND V.FUNCTION = :B1
    Thu Nov 15 16:33:35 2007
    that error is related with the oracle parameter ''_kgl_large_heap_warning_threshold "?
    Message was edited by:
    user607008

    that error is related with the oracle parameter
    ''_kgl_large_heap_warning_threshold "?
    Please see Oracle Metalink Document: Memory Notification: Library Cache Object Loaded Into Sga Doc ID: Note:330239.1 for an overview.
    ORA-01555
    http://forums.oracle.com/forums/thread.jspa?messageID=783730&#783730
    Adith

  • FINANTIAL DOCUMENTS MISSING --- ORACLE LOGS FULL

    Hi Experts,
    9 documents are missing and when they were saved the system showed the message "update has been stopped". This was because of the Oracle LOGS (full).
    When Oracle problem was solved the documents were not found in SM13 to recovered.
    Any clue?
    On the other hand If a have finantial documents in QAS how can I put it on PRD?
    Regards.

    Hi,
    Schedule your backups according to the full backup time.
    Do a test of full backup and fine the time that it takes to complete the full backup. You can include "plus archivelog" if you want your archive logs to be backed up along with the full backup. This is most preferred as this makes restoration easy too.
    If your full backup takes, say, 4 hrs to complete and if you schedule your full backup at 00 00 hrs on your scheduler, then schedule the archive backups after 04 00 hrs. This will solve your problems with missing archive backups.
    >> "But from RMAN specialist I heard that this may cause problems with full backup. During full backup also archive logs are backed up (at the start and end) so there might be a problem with accessing the file that is used by another process. And this may cause problem with full backup - which we want to avoid especially."
    This will throw out errors if your input to full backup consists "delete input" for your archived logs, else the process will not have any problem and succeed.
    Also when one or more of backups run concurrently, "ORA-00230: operation disallowed: snapshot control file enqueue unavailable" error may occur but this is rare case.
    Thank you!!

  • Error while  synchronizing oracle text.

    Hi,
    I am getting below error when synchronize oracle text index. I checked in database mentoined index is present in user schema. My database version is oracle 9.2.0.7.
    BEGIN ctx_ddl.sync_index ( 'IDX_DEPDOCUMENTOBJECT') END;
    ERROR at line 1:
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drekmap (lob write)
    ORA-01403: No data found
    ORA-06512: at "CTXSYS.DRUE", line 157
    ORA-06512: at "CTXSYS.CTX_DDL", line 1328
    ORA-06512: at line 1
    Pls suggest how i troubleshoot this error message.
    Thanks in advance.
    Edited by: user8943509 on Mar 16, 2010 5:15 AM

    SCOTT@orcl_11g> CREATE USER u1 IDENTIFIED BY u1
      2  /
    User created.
    SCOTT@orcl_11g> GRANT CONNECT, RESOURCE, CTXAPP TO u1
      2  /
    Grant succeeded.
    SCOTT@orcl_11g> GRANT EXECUTE ON CTXSYS.CTX_DDL TO u1
      2  /
    Grant succeeded.
    SCOTT@orcl_11g> CREATE USER u2 IDENTIFIED BY u2
      2  /
    User created.
    SCOTT@orcl_11g> GRANT CONNECT, RESOURCE TO u2
      2  /
    Grant succeeded.
    SCOTT@orcl_11g> CONNECT u1/u1
    Connected.
    U1@orcl_11g>
    U1@orcl_11g> CREATE TABLE u1_tab (u1_col CLOB)
      2  /
    Table created.
    U1@orcl_11g> CREATE INDEX u1_idx
      2  ON u1_tab (u1_col)
      3  INDEXTYPE IS CTXSYS.CONTEXT
      4  /
    Index created.
    U1@orcl_11g> INSERT INTO u1_tab VALUES ('whatever')
      2  /
    1 row created.
    U1@orcl_11g> COMMIT
      2  /
    Commit complete.
    U1@orcl_11g> CREATE OR REPLACE PROCEDURE u1_proc
      2  AS
      3  BEGIN
      4    ctx_ddl.sync_index ( 'U1.U1_IDX');
      5  END u1_proc;
      6  /
    Procedure created.
    U1@orcl_11g> SHOW ERRORS
    No errors.
    U1@orcl_11g> GRANT EXECUTE ON u1_proc TO u2
      2  /
    Grant succeeded.
    U1@orcl_11g> SELECT * FROM u1_tab
      2  WHERE  CONTAINS (u1_col, 'whatever') > 0
      3  /
    no rows selected
    U1@orcl_11g> CONNECT u2/u2
    Connected.
    U2@orcl_11g>
    U2@orcl_11g> EXEC u1.u1_proc
    PL/SQL procedure successfully completed.
    U2@orcl_11g> CONNECT u1/u1
    Connected.
    U1@orcl_11g>
    U1@orcl_11g> SELECT * FROM u1_tab
      2  WHERE  CONTAINS (u1_col, 'whatever') > 0
      3  /
    U1_COL
    whatever
    U1@orcl_11g>

  • Pre-loading Oracle text in memory with Oracle 12c

    There is a white paper from Roger Ford that explains how to load the Oracle index in memory : http://www.oracle.com/technetwork/database/enterprise-edition/mem-load-082296.html
    In our application, Oracle 12c, we are indexing a big XML field (which is stored as XMLType with storage secure file) with the PATH_SECTION_GROUP. If I don't load the I table (DR$..$I) into memory using the technique explained in the white paper then I cannot have decent performance (and especially not predictable performance, it looks like if the blocks from the TOKEN_INFO columns are not memory then performance can fall sharply)
    But after migrating to oracle 12c, I got a different problem, which I can reproduce: when I create the index it is relatively small (as seen with ctx_report.index_size) and by applying the technique from the whitepaper, I can pin the DR$ I table into memory. But as soon as I do a ctx_ddl.optimize_index('Index','REBUILD') the size becomes much bigger and I can't pin the index in memory. Not sure if it is bug or not.
    What I found as work-around is to build the index with the following storage options:
    ctx_ddl.create_preference('TEST_STO','BASIC_STORAGE');
    ctx_ddl.set_attribute ('TEST_STO', 'BIG_IO', 'YES' );
    ctx_ddl.set_attribute ('TEST_STO', 'SEPARATE_OFFSETS', 'NO' );
    so that the token_info column will be stored in a secure file. Then I can change the storage of that column to put it in the keep buffer cache, and write a procedure to read the LOB so that it will be loaded in the keep cache. The size of the LOB column is more or less the same as when creating the index without the BIG_IO option but it remains constant even after a ctx_dll.optimize_index. The procedure to read the LOB and to load it into the cache is very similar to the loaddollarR procedure from the white paper.
    Because of the SDATA section, there is a new DR table (S table) and an IOT on top of it. This is not documented in the white paper (the white paper was written for Oracle 10g). In my case this DR$ S table is much used, and the IOT also, but putting it in the keep cache is not as important as the token_info column of the DR I table. A final note: doing SEPARATE_OFFSETS = 'YES' was very bad in my case, the combined size of the two columns is much bigger than having only the TOKEN_INFO column and both columns are read.
    Here is an example on how to reproduce the problem with the size increasing when doing ctx_optimize
    1. create the table
    drop table test;
    CREATE TABLE test
    (ID NUMBER(9,0) NOT NULL ENABLE,
    XML_DATA XMLTYPE
    XMLTYPE COLUMN XML_DATA STORE AS SECUREFILE BINARY XML (tablespace users disable storage in row);
    2. insert a few records
    insert into test values(1,'<Book><TITLE>Tale of Two Cities</TITLE>It was the best of times.<Author NAME="Charles Dickens"> Born in England in the town, Stratford_Upon_Avon </Author></Book>');
    insert into test values(2,'<BOOK><TITLE>The House of Mirth</TITLE>Written in 1905<Author NAME="Edith Wharton"> Wharton was born to George Frederic Jones and Lucretia Stevens Rhinelander in New York City.</Author></BOOK>');
    insert into test values(3,'<BOOK><TITLE>Age of innocence</TITLE>She got a prize for it.<Author NAME="Edith Wharton"> Wharton was born to George Frederic Jones and Lucretia Stevens Rhinelander in New York City.</Author></BOOK>');
    3. create the text index
    drop index i_test;
      exec ctx_ddl.create_section_group('TEST_SGP','PATH_SECTION_GROUP');
    begin
      CTX_DDL.ADD_SDATA_SECTION(group_name => 'TEST_SGP', 
                                section_name => 'SData_02',
                                tag => 'SData_02',
                                datatype => 'varchar2');
    end;
    exec ctx_ddl.create_preference('TEST_STO','BASIC_STORAGE');
    exec  ctx_ddl.set_attribute('TEST_STO','I_TABLE_CLAUSE','tablespace USERS storage (initial 64K)');
    exec  ctx_ddl.set_attribute('TEST_STO','I_INDEX_CLAUSE','tablespace USERS storage (initial 64K) compress 2');
    exec  ctx_ddl.set_attribute ('TEST_STO', 'BIG_IO', 'NO' );
    exec  ctx_ddl.set_attribute ('TEST_STO', 'SEPARATE_OFFSETS', 'NO' );
    create index I_TEST
      on TEST (XML_DATA)
      indextype is ctxsys.context
      parameters('
        section group   "TEST_SGP"
        storage         "TEST_STO"
      ') parallel 2;
    4. check the index size
    select ctx_report.index_size('I_TEST') from dual;
    it says :
    TOTALS FOR INDEX TEST.I_TEST
    TOTAL BLOCKS ALLOCATED:                                                104
    TOTAL BLOCKS USED:                                                      72
    TOTAL BYTES ALLOCATED:                                 851,968 (832.00 KB)
    TOTAL BYTES USED:                                      589,824 (576.00 KB)
    4. optimize the index
    exec ctx_ddl.optimize_index('I_TEST','REBUILD');
    and now recompute the size, it says
    TOTALS FOR INDEX TEST.I_TEST
    TOTAL BLOCKS ALLOCATED:                                               1112
    TOTAL BLOCKS USED:                                                    1080
    TOTAL BYTES ALLOCATED:                                 9,109,504 (8.69 MB)
    TOTAL BYTES USED:                                      8,847,360 (8.44 MB)
    which shows that it went from 576KB to 8.44MB. With a big index the difference is not so big, but still from 14G to 19G.
    5. Workaround: use the BIG_IO option, so that the token_info column of the DR$ I table will be stored in a secure file and the size will stay relatively small. Then you can load this column in the cache using a procedure similar to
    alter table DR$I_TEST$I storage (buffer_pool keep);
    alter table dr$i_test$i modify lob(token_info) (cache storage (buffer_pool keep));
    rem: now we must read the lob so that it will be loaded in the keep buffer pool, use the prccedure below
    create or replace procedure loadTokenInfo is
      type c_type is ref cursor;
      c2 c_type;
      s varchar2(2000);
      b blob;
      buff varchar2(100);
      siz number;
      off number;
      cntr number;
    begin
        s := 'select token_info from  DR$i_test$I';
        open c2 for s;
        loop
           fetch c2 into b;
           exit when c2%notfound;
           siz := 10;
           off := 1;
           cntr := 0;
           if dbms_lob.getlength(b) > 0 then
             begin
               loop
                 dbms_lob.read(b, siz, off, buff);
                 cntr := cntr + 1;
                 off := off + 4096;
               end loop;
             exception when no_data_found then
               if cntr > 0 then
                 dbms_output.put_line('4K chunks fetched: '||cntr);
               end if;
             end;
           end if;
        end loop;
    end;
    Rgds, Pierre

    I have been working a lot on that issue recently, I can give some more info.
    First I totally agree with you, I don't like to use the keep_pool and I would love to avoid it. On the other hand, we have a specific use case : 90% of the activity in the DB is done by queuing and dbms_scheduler jobs where response time does not matter. All those processes are probably filling the buffer cache. We have a customer facing application that uses the text index to search the database : performance is critical for them.
    What kind of performance do you have with your application ?
    In my case, I have learned the hard way that having the index in memory (the DR$I table in fact) is the key : if it is not, then performance is poor. I find it reasonable to pin the DR$I table in memory and if you look at competitors this is what they do. With MongoDB they explicitly says that the index must be in memory. With elasticsearch, they use JVM's that are also in memory. And effectively, if you look at the awr report, you will see that Oracle is continuously accessing the DR$I table, there is a SQL similar to
    SELECT /*+ DYNAMIC_SAMPLING(0) INDEX(i) */    
    TOKEN_FIRST, TOKEN_LAST, TOKEN_COUNT, ROWID    
    FROM DR$idxname$I
    WHERE TOKEN_TEXT = :word AND TOKEN_TYPE = :wtype    
    ORDER BY TOKEN_TEXT,  TOKEN_TYPE,  TOKEN_FIRST
    which is continuously done.
    I think that the algorithm used by Oracle to keep blocks in cache is too complex. A just realized that in 12.1.0.2 (was released last week) there is finally a "killer" functionality, the in-memory parameters, with which you can pin tables or columns in memory with compression, etc. this looks ideal for the text index, I hope that R. Ford will finally update his white paper :-)
    But my other problem was that the optimize_index in REBUILD mode caused the DR$I table to double in size : it seems crazy that this was closed as not a bug but it was and I can't do anything about it. It is a bug in my opinion, because the create index command and "alter index rebuild" command both result in a much smaller index, so why would the guys that developped the optimize function (is it another team, using another algorithm ?) make the index two times bigger ?
    And for that the track I have been following is to put the index in a 16K tablespace : in this case the space used by the index remains more or less flat (increases but much more reasonably). The difficulty here is to pin the index in memory because the trick of R. Ford was not working anymore.
    What worked:
    first set the keep_pool to zero and set the db_16k_cache_size to instead. Then change the storage preference to make sure that everything you want to cache (mostly the DR$I) table come in the tablespace with the non-standard block size of 16k.
    Then comes the tricky part : the pre-loading of the data in the buffer cache. The problem is that with Oracle 12c, Oracle will use direct_path_read for FTS which basically means that it bypasses the cache and read directory from file to the PGA !!! There is an event to avoid that, I was lucky to find it on a blog (I can't remember which, sorry for the credit).
    I ended-up doing that. the events to 10949 is to avoid the direct path reads issue.
    alter session set events '10949 trace name context forever, level 1';
    alter table DR#idxname0001$I cache;
    alter table DR#idxname0002$I cache;
    alter table DR#idxname0003$I cache;
    SELECT /*+ FULL(ITAB) CACHE(ITAB) */ SUM(TOKEN_COUNT),  SUM(LENGTH(TOKEN_INFO)) FROM DR#idxname0001$I;
    SELECT /*+ FULL(ITAB) CACHE(ITAB) */ SUM(TOKEN_COUNT),  SUM(LENGTH(TOKEN_INFO)) FROM DR#idxname0002$I;
    SELECT /*+ FULL(ITAB) CACHE(ITAB) */ SUM(TOKEN_COUNT),  SUM(LENGTH(TOKEN_INFO)) FROM DR#idxname0003$I;
    SELECT /*+ INDEX(ITAB) CACHE(ITAB) */  SUM(LENGTH(TOKEN_TEXT)) FROM DR#idxname0001$I ITAB;
    SELECT /*+ INDEX(ITAB) CACHE(ITAB) */  SUM(LENGTH(TOKEN_TEXT)) FROM DR#idxname0002$I ITAB;
    SELECT /*+ INDEX(ITAB) CACHE(ITAB) */  SUM(LENGTH(TOKEN_TEXT)) FROM DR#idxname0003$I ITAB;
    It worked. With a big relief I expected to take some time out, but there was a last surprise. The command
    exec ctx_ddl.optimize_index(idx_name=>'idxname',part_name=>'partname',optlevel=>'REBUILD');
    gqve the following
    ERROR at line 1:
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drftoptrebxch
    ORA-14097: column type or size mismatch in ALTER TABLE EXCHANGE PARTITION
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_DDL", line 1141
    ORA-06512: at line 1
    Which is very much exactly described in a metalink note 1645634.1 but in the case of a non-partitioned index. The work-around given seemed very logical but it did not work in the case of a partitioned index. After experimenting, I found out that the bug occurs when the partitioned index is created with  dbms_pclxutil.build_part_index procedure (this enables  enables intra-partition parallelism in the index creation process). This is a very annoying and stupid bug, maybe there is a work-around, but did not find it on metalink
    Other points of attention with the text index creation (stuff that surprised me at first !) ;
    - if you use the dbms_pclxutil package, then the ctx_output logging does not work, because the index is created immediately and then populated in the background via dbms_jobs.
    - this in combination with the fact that if you are on a RAC, you won't see any activity on the box can be very frightening : this is because oracle can choose to start the workers on the other node.
    I understand much better how the text indexing works, I think it is a great technology which can scale via partitioning. But like always the design of the application is crucial, most of our problems come from the fact that we did not choose the right sectioning (we choosed PATH_SECTION_GROUP while XML_SECTION_GROUP is so much better IMO). Maybe later I can convince the dev to change the sectionining, especially because SDATA and MDATA section are not supported with PATCH_SECTION_GROUP (although it seems to work, even though we had one occurence of a bad result linked to the existence of SDATA in the index definition). Also the whole problematic of mixed structured/unstructured searches is completly tackled if one use XML_SECTION_GROUP with MDATA/SDATA (but of course the app was written for Oracle 10...)
    Regards, Pierre

  • Bug - Error when installing Oracle Rdb Extension (7.3)

    Hi, hope I come to he right place to fill a bug report.
    I'm getting an error message when trying to install the Oracle Rdb Extension (7.3).
    Steps:
    1. Download sqldeveloper 4
    2. Unpack/Start sqldeveloper
    3. Select from menu Help
         -> Check for updates...
         -> mark Oracle Extensions
         -> click next button
         ->  mark Oracle Rdb Extension
         -> click next button
         -> click finish button.
              -> At this point the error occures.
    Error message details:
    An error has occurred. Click Details for information that may be useful when diagnosing or reporting this problem.
    java.lang.StringIndexOutOfBoundsException: String index out of range: 82
      at java.lang.String.charAt(String.java:658)
      at java.util.regex.Matcher.appendReplacement(Matcher.java:762)
      at java.util.regex.Matcher.replaceAll(Matcher.java:906)
      at java.lang.String.replaceAll(String.java:2162)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.replaceBundleInstallLocation(PreInstaller.java:239)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.getDesitinationDirIDE(PreInstaller.java:281)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.getDestinationDir(PreInstaller.java:250)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.seedInstaller(PreInstaller.java:180)
      at oracle.ideimpl.webupdate.commandline.PreInstaller.commit(PreInstaller.java:120)
      at oracle.ideimpl.webupdate.wizard.UpdateWizard.commit(UpdateWizard.java:296)
      at oracle.ideimpl.webupdate.wizard.UpdateWizard.access$000(UpdateWizard.java:55)
      at oracle.ideimpl.webupdate.wizard.UpdateWizard$1.commit(UpdateWizard.java:245)
      at oracle.ide.wizard.FSMWizard.finishImpl(FSMWizard.java:902)
      at oracle.ide.wizard.FSMWizard._validateFSMState(FSMWizard.java:643)
      at oracle.ide.wizard.FSMWizard.doFinish(FSMWizard.java:351)
      at oracle.bali.ewt.wizard.BaseWizard$Action$1.run(BaseWizard.java:4029)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:694)
      at java.awt.EventQueue$3.run(EventQueue.java:692)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
      at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
      at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
      at java.awt.Dialog.show(Dialog.java:1082)
      at java.awt.Component.show(Component.java:1651)
      at java.awt.Component.setVisible(Component.java:1603)
      at java.awt.Window.setVisible(Window.java:1014)
      at java.awt.Dialog.setVisible(Dialog.java:1005)
      at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
      at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
      at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
      at oracle.ideimpl.webupdate.wizard.UpdateWizard.runWizard(UpdateWizard.java:261)
      at oracle.ideimpl.webupdate.WebUpdateController.checkForUpdates(WebUpdateController.java:24)
      at oracle.ideimpl.webupdate.WebUpdateController.handleEvent(WebUpdateController.java:31)
      at oracle.ideimpl.controller.MetaClassController.handleEvent(MetaClassController.java:53)
      at oracle.ide.controller.IdeAction$ControllerDelegatingController.handleEvent(IdeAction.java:1482)
      at oracle.ide.controller.IdeAction.performAction(IdeAction.java:663)
      at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:1153)
      at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:618)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
      at java.awt.Component.processMouseEvent(Component.java:6505)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
      at java.awt.Component.processEvent(Component.java:6270)
      at java.awt.Container.processEvent(Container.java:2229)
      at java.awt.Component.dispatchEventImpl(Component.java:4861)
      at java.awt.Container.dispatchEventImpl(Container.java:2287)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
      at java.awt.Container.dispatchEventImpl(Container.java:2273)
      at java.awt.Window.dispatchEventImpl(Window.java:2719)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:694)
      at java.awt.EventQueue$3.run(EventQueue.java:692)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      at java.awt.EventQueue$4.run(EventQueue.java:708)
      at java.awt.EventQueue$4.run(EventQueue.java:706)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
      at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
      at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    From Help->About
    About
    Oracle SQL Developer 4.0.0.13
    Version 4.0.0.13
    Build MAIN-13.80
    IDE Version: 12.1.3.0.41.131202.1730
    Product ID: oracle.sqldeveloper
    Product Version: 12.2.0.13.80
    Version
    Component Version
    ========= =======
    Oracle IDE 4.0.0.13.80
    Java(TM) Platform 1.7.0_45
    Extensions
    Name Identifier Version Status Registration Time Initialization Time Total Time
    ==== ========== ======= ====== ================= =================== ==========
    Integrated Development Environment (IDE) Platform Core oracle.ide 12.1.3.0.41.131202.1730 Fully Loaded 112ms 139ms 251ms
    Peek oracle.ideimpl.peek 12.1.3.0.41.131202.1730 Fully Loaded 3ms 49ms 52ms
    Code Editor oracle.ide.ceditor 12.1.3.0.41.131202.1730 Fully Loaded 19ms 57ms 76ms
    Persistent Storage oracle.ide.persistence 12.1.3.0.41.131202.1730 Fully Loaded 0ms 4ms 4ms
    File Change Monitor oracle.ide.file 12.1.3.0.41.131202.1730 Fully Loaded 0ms 5ms 5ms
    Web Browser and Proxy oracle.ide.webbrowser 12.1.3.0.41.131202.1730 Fully Loaded 2ms 14ms 16ms
    Indexing Service oracle.ide.indexing 12.1.3.0.41.131202.1730 Fully Loaded 1ms 2ms 3ms
    Property Inspector oracle.ide.inspector 12.1.3.0.41.131202.1730 Fully Loaded 10ms 14ms 24ms
    Markers oracle.ide.markers 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    Audit Core Framework oracle.ide.audit 12.1.3.0.41.131202.1730 Fully Loaded 3ms 14ms 17ms
    Status and Background Audit oracle.ide.status 12.1.3.0.41.131202.1730 Fully Loaded 3ms 13ms 16ms
    IDE macros oracle.ide.macros 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    Libraries oracle.ide.library 12.1.3.0.41.131202.1730 Fully Loaded 30ms 16ms 46ms
    Virtual File System oracle.ide.vfs 12.1.3.0.41.131202.1730 Fully Loaded 1ms 2ms 3ms
    Navigator oracle.ide.navigator 12.1.3.0.41.131202.1730 Fully Loaded 2ms 9ms 11ms
    Runner oracle.ide.runner 12.1.3.0.41.131202.1730 Fully Loaded 6ms 9ms 15ms
    External Tools oracle.ide.externaltools 12.1.3.0.41.131202.1730 Fully Loaded 3ms 3ms 6ms
    File Support oracle.ide.files 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    Palette 2 oracle.ide.palette2 12.1.3.0.41.131202.1730 Fully Loaded 7ms 1ms 8ms
    Insight oracle.ide.insight 12.1.3.0.41.131202.1730 Fully Loaded 6ms 3ms 9ms
    Object Gallery oracle.ide.gallery 12.1.3.0.41.131202.1730 Fully Loaded 11ms 5ms 16ms
    Import/Export Support oracle.ide.importexport 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    Technology oracle.jdeveloper.technology 12.1.3.0.41.131202.1730 Fully Loaded 5ms 2ms 7ms
    Extended IDE Platform oracle.jdeveloper.common 12.1.3.0.41.131202.1730 Fully Loaded 19ms 22ms 41ms
    JDeveloper Runner Core oracle.jdeveloper.runner.core 12.1.3.0.41.131202.1730 Fully Loaded 0ms 21ms 21ms
    JavaCore oracle.jdeveloper.java.core 12.1.3.0.41.131202.1730 Fully Loaded 18ms 29ms 47ms
    JDeveloper Runner oracle.jdeveloper.runner 12.1.3.0.41.131202.1730 Fully Loaded 12ms 115ms 127ms
    Code Editor Save Actions oracle.ide.ceditor-saveactions 12.1.3.0.41.131202.1730 Fully Loaded 2ms 3ms 5ms
    Oracle Deployment Core Module oracle.deploy.core 12.1.3.0.41.131202.1730 Fully Loaded 4ms 14ms 18ms
    Make and Rebuild oracle.jdeveloper.build 12.1.3.0.41.131202.1730 Fully Loaded 12ms 7ms 19ms
    PL/SQL Probe Debugger oracle.jdeveloper.db.debug.probe 12.1.3.0.41.131202.1730 Fully Loaded 0ms 0ms 0ms
    Database UI oracle.ide.db 12.1.3.0.41.131202.1730 Fully Loaded 18ms 53ms 71ms
    Database Connections oracle.jdeveloper.db.connection 12.1.3.0.41.131202.1730 Fully Loaded 5ms 28ms 33ms
    Database Object Explorers oracle.ide.db.explorer 12.1.3.0.41.131202.1730 Fully Loaded 0ms 12ms 12ms
    Compare API oracle.ide.compareapi 12.1.3.0.41.131202.1730 Fully Loaded 3ms 0ms 3ms
    Help System oracle.ide.help 12.1.3.0.41.131202.1730 Fully Loaded 8ms 4ms 12ms
    Local History oracle.ide.localhistory 12.1.3.0.41.131202.1730 Fully Loaded 0ms 133ms 133ms
    History Support oracle.jdeveloper.history 12.1.3.0.41.131202.1730 Fully Loaded 8ms 21ms 29ms
    Check For Updates oracle.ide.webupdate 12.1.3.0.41.131202.1730 Fully Loaded 3ms 2ms 5ms
    Core Database Development oracle.sqldeveloper 12.2.0.13.80 Fully Loaded 45ms 437ms 482ms
    SQL Worksheet oracle.sqldeveloper.worksheet 12.2.0.13.80 Fully Loaded 10ms 24ms 34ms
    Database Reports oracle.sqldeveloper.report 12.2.0.13.80 Fully Loaded 3ms 12ms 15ms
    Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 12.2.0.13.80 Fully Loaded 0ms 0ms 0ms
    Replace With oracle.ide.replace 12.1.3.0.41.131202.1730 Triggers Loaded 1ms 0ms 1ms
    JViews Registration Addin oracle.diagram.registration 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    Log Window oracle.ide.log 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 12.2.0.13.80 Triggers Loaded 4ms 0ms 4ms
    Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 12.2.0.13.80 Fully Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Extras oracle.sqldeveloper.extras 12.2.0.13.80 Fully Loaded 2ms 65ms 67ms
    Third Party Database Development oracle.sqldeveloper.thirdparty.browsers 12.2.0.13.80 Fully Loaded 0ms 8ms 8ms
    Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 12.2.0.13.80 Fully Loaded 8ms 67ms 75ms
    Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    TimesTen Integration oracle.ide.db.timesten 12.1.3.0.41.131202.1730 Fully Loaded 0ms 0ms 0ms
    Help Oracle Start Page oracle.ide.helpstartpage 12.1.3.0.41.131202.1730 Fully Loaded 3ms 0ms 3ms
    Versioning Support oracle.ide.vcscore 12.1.3.0.41.131202.1730 Triggers Loaded 2ms 0ms 2ms
    Patch Support oracle.jdeveloper.patch 12.1.3.0.41.131202.1730 Triggers Loaded 3ms 0ms 3ms
    IDE Thumbnail oracle.ide.thumbnail 12.1.3.0.41.131202.1730 Triggers Loaded 1ms 0ms 1ms
    VHV oracle.ide.vhv 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    QuickDiff oracle.ide.quickdiff 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    Versioning Support oracle.jdeveloper.vcs 12.1.3.0.41.131202.1730 Triggers Loaded 1ms 0ms 1ms
    Oracle SQL Developer - Migrations MySQL SQL Translator oracle.sqldeveloper.migration.translation.mysql_translator 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Security oracle.sqldeveloper.security 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Component Palette oracle.ide.palette1 12.1.3.0.41.131202.1730 Fully Loaded 7ms 0ms 7ms
    Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 12.2.0.13.80 Triggers Loaded 4ms 0ms 4ms
    Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Oracle SQL Developer - Migrations PostgreSQL oracle.sqldeveloper.migration.postgresql 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Code Editor Find oracle.ide.ceditor-find 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    Oracle SQL Developer - RESTful Services Administration oracle.sqldeveloper.rest 12.2.0.13.80 Triggers Loaded 2ms 0ms 2ms
    Oracle SQL Developer - Change Mangement oracle.sqldeveloper.em_cm 12.2.0.13.80 Fully Loaded 2ms 5ms 7ms
    Versioning Support for Subversion oracle.jdeveloper.subversion 12.1.3.0.41.131202.1730 Triggers Loaded 4ms 0ms 4ms
    Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Oracle SQL Developer Data Modeler oracle.datamodeler 4.0.0.833 Triggers Loaded 29ms 0ms 29ms
    Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Migrations Teradata SQL Translator oracle.sqldeveloper.migration.translation.teradata 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 12.2.0.13.80 Triggers Loaded 3ms 0ms 3ms
    Oracle SQL Developer - Database Cart oracle.sqldeveloper.dbcart 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Bookmarks oracle.ide.bookmarks 12.1.3.0.41.131202.1730 Fully Loaded 6ms 4ms 10ms
    Code Editor Tint oracle.ide.ceditor-tint 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 12.2.0.13.80 Fully Loaded 3ms 108ms 111ms
    Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 12.2.0.13.80 Fully Loaded 1ms 38ms 39ms
    Protocol Handler Classpath oracle.jdeveloper.classpath 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    BM Share oracle.bm.jdukshare 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    MOF XMI oracle.mof.xmi 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    Database Snippets oracle.sqldeveloper.snippet 12.2.0.13.80 Fully Loaded 0ms 7ms 7ms
    Usage Tracking oracle.ide.usages-tracking 12.1.3.0.41.131202.1730 Fully Loaded 0ms 1ms 1ms
    ToDo Tasks Markers oracle.jdeveloper.markers.todo 12.1.3.0.41.131202.1730 Fully Loaded 1ms 0ms 1ms
    Versioning Support for Git oracle.jdeveloper.git 12.1.3.0.41.131202.1730 Triggers Loaded 4ms 0ms 4ms
    Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Searchbar oracle.ide.searchbar 12.1.3.0.41.131202.1730 Fully Loaded 2ms 0ms 2ms
    (Name Unavailable) oracle.sqldeveloper.tuning 12.2.0.13.80 Triggers Loaded 3ms 0ms 3ms
    Dependency Tracking oracle.ide.dependency 12.1.3.0.41.131202.1730 Fully Loaded 0ms 0ms 0ms
    Code Style oracle.jdeveloper.style 12.1.3.0.41.131202.1730 Fully Loaded 3ms 12ms 15ms
    XML Editing Framework oracle.ide.xmlef 12.1.3.0.41.131202.1730 Fully Loaded 18ms 55ms 73ms
    Mac OS X Adapter oracle.ideimpl.apple 12.1.3.0.41.131202.1730 Fully Loaded 0ms 0ms 0ms
    Diagram Framework oracle.diagram 12.1.3.0.41.131202.1730 Triggers Loaded 4ms 0ms 4ms
    OLAP oracle.olap 12.2.0.13.80 Fully Loaded 10ms 324ms 334ms
    Database UI Extras oracle.jdeveloper.db.extras 12.1.3.0.41.131202.1730 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Database XML Schema oracle.sqldeveloper.xmlschema 12.2.0.13.80 Fully Loaded 0ms 0ms 0ms
    Oracle SQL Developer - APEX Listener Administration oracle.sqldeveloper.listener 12.2.0.13.80 Triggers Loaded 3ms 0ms 3ms
    Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 12.2.0.13.80 Fully Loaded 0ms 134ms 134ms
    Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 12.2.0.13.80 Triggers Loaded 2ms 0ms 2ms
    Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 12.2.0.13.80 Triggers Loaded 1ms 0ms 1ms
    Code Editor Bookmarks oracle.ide.ceditor-bookmarks 12.1.3.0.41.131202.1730 Fully Loaded 0ms 7ms 7ms
    Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 12.2.0.13.80 Triggers Loaded 0ms 0ms 0ms
    Data Miner oracle.dmt.dataminer 12.2.0.13.80 Triggers Loaded 12ms 0ms 12ms
    Print System oracle.ide.print 12.1.3.0.41.131202.1730 Triggers Loaded 2ms 0ms 2ms

    I'm getting an error message when trying to install the Oracle Rdb Extension (7.3).
    I'm not sure if that extension has been upgraded for sql developer 4. Extensions written for previous versions won't work in sql developer 4 - they need to be modified to support the OSGI framework.
    Leave the thread open until one of the sql developer team members can answer this.
    Here is the note from the sql developer exchange home page
    http://www.oracle.com/technetwork/developer-tools/sql-developer/extensions-083825.html
    Special Note Regarding Extensions Developed Prior to SQL Developer
    v4.0:
    With the new release of SQL
    Developer 4.0, an extension that was written for a previous version of SQL
    Developer will no longer work. SQL Developer is built on the JDeveloper
    Framework. We have updated the framework to be current with the JDeveloper 12c
    release. With JDeveloper 11gR2, they switched to an OSGI framework. The JDeveloper team has published instructions for updating your extensions to be compatible with
    the new framework and SQL Developer v4.0.
    The Check for Updates interface
    has been updated to hide any 3rd party extensions to avoid confusion with
    extensions not loading. Once you have updated your extension for version 4 and
    beyond, let us know, and we'll update the system to make it available again. For
    questions regarding the process of going from the old to new framework, we have
    started a dedicated
    thread on the Forums. You can also email the Product Manager, Jeff Smith, to
    setup a call with one of our developers for additional assistance.
    As that note says if that extension is NOT for version 4 it shouldn't show up on the list of updates.

  • Oracle 9.2i - Log Errors in a Merge Statement

    Hi all,
    I want to log errors in a merge statement in way to allow the statement to finish without rollback. I see that in Oracle 10g2 it is possible with "LOG ERRORS INTO err$_dest ('MERGE') REJECT LIMIT UNLIMITED;" instruction but, apparently, it's not possible in Oracle 9.2i.
    Is there another way to solve this problem?

    Depending on what type of errors you expect, you may be helped by deferring your constraints: unique, foreign key and check constraints can be deferred; that means they are only enforced when you commit.
    You could defer all constraints, perform the bulk insert and then instead of committing you first try to set all constraints to immediate. If this fails, there are errors. If it does not, you can commit.
    To find the exact errors, you can try to switch all deferred constraints back to immediate one by one. The ones that succeed are not violated by your transaction, oinly the ones that fail to switch to immediate are not met by your transaction.
    For the violated constraints, you can find the offending records by simply selecting them. For example if the check constraint states Col X + Col Y < 10000 you will find the offending records by selecting all records where not (Col X + Col Y < 10000 ). Unfortunately we have no better mechanism than this for finding the records that are in violation of the rules.
    best regards
    Lucas

  • Does oracle log general errors

    Dear experts,
    I am using Oracle 11.2.0.3. I am researching on random ORA-00900:     invalid SQL statement error that we are seeing in production. Does oracle log such errors in alert.log or any tables? If not can we configure to log such errors?
    Thanks.

    Dont understand.... you are seeing ORA-00900 in production but don't know where to search this error? where do you see it?It is being logged from application in event log which I do not have access to. I wanted to check if oracle also logs such error some where.
    SQL Banner : SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 28 12:12:25 2012
    SQL :
    SELECT
    overload,
    DECODE (
    position,
    0,
    'RETURN_VALUE',
    NVL (argument_name, CHR (0))
    ) AS name,
    DECODE (
    in_out,
    'IN', 1,
    'IN/OUT', 3,
    'OUT', DECODE (argument_name, NULL, 6, 2),
    1
    ) AS direction,
    DECODE (
    data_type,
    'BFILE', 101,
    'BLOB', 102,
    'BYTE', 103,
    'CHAR', 104,
    'CLOB', 105,
    'DATE', 106,
    'DECIMAL', 107,
    'DOUBLE', 108,
    'INT16', 111,
    'INT32', 112,
    'INT64', 113,
    'INTERVAL DAY TO SECOND', 114,
    'INTERVAL YEAR TO MONTH', 115,
    'LONG', 109,
    'LONG RAW', 110,
    'NCHAR', 117,
    'NCLOB', 116,
    'NVARCHAR2', 119,
    'RAW', 120,
    'REF CURSOR', 121,
    'SINGLE', 122,
    'TIMESTAMP', 123,                              
    'TIMESTAMP WITH LOCAL TIME ZONE', 124,
    'TIMESTAMP WITH TIME ZONE', 125,
    'VARCHAR2', 126,
    'XMLTYPE', 127,
    'NUMBER', 107,
    126
    ) AS oracleType,
    DECODE (
    data_type,
    'BLOB', 0,
    'CHAR', 0,
    'CLOB', 0,
    'LONG RAW', 0,
    'NCHAR', 0,                              
    'NCLOB', 0,                              
    'NVARCHAR2', 0,
    'RAW', 0,
    'VARCHAR2', 2048,                                                            
    0
    ) AS length,
    NVL (data_precision, 255) AS precision,
    NVL (data_scale, 255) AS scale
    FROM
    all_arguments
    WHERE
    data_level = 0
    AND data_type IS NOT NULL
    AND owner = :schemaName
    AND package_name = :packageName
    AND object_name = :methodName
    ORDER BY
    overload, position
    ******************** EXCEPTION PROPERTIES ********************
    Errors: Oracle.DataAccess.Client.OracleErrorCollection
    Source: Oracle Data Provider for .NET
    Number: 900
    ErrorCode: -2147467259
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Void HandleErrorHelper(Int32, Oracle.DataAccess.Client.OracleConnection, IntPtr, Oracle.DataAccess.Client.OpoSqlValCtx*, System.Object, System.String, Boolean)
    Edited by: spur230 on Nov 28, 2012 12:13 PM

  • Oracle Failsafe error and logs

    Since I don't see any oracle failsafe forum I post here. Please let me know it this is wrong o there is a better section.
    Sometimes when I try to take offline my instance I receive this error:
    FS-10890: Oracle Services for MSCS failed during the offline operation
    FS-10013: Failed to take the cluster resource ORAWHITE offline
    FS-10728: Resource ORAWHITE timed out trying to go offlineThis is very strange since looking the alert log I see that the shutdown takes less than one minute while the timeout is 3 minutes..
    Failsafe has any logs that can be investigated?
    Hope you can help me.
    Cheers
    Adriano

    user10388158 wrote:
    Hi,
    i need a little help..
    for some reason, my prodcution listerner crashes.. but when looking into the logs of my listener, no error is shown.
    even if i check the time stamp, there is no error of the log.forgive me, but I need to ask a simple question.
    what proof exists that outage was not an Operating System crash?
    if the system crashed, then the Oracle listener would no longer be available to log any connection requests.
    Handle:     user10388158
    Status Level:     Newbie
    Registered:     Mar 10, 2010
    Total Posts:     25
    Total Questions:     9 (8 unresolved)
    why do you waste time here when your questions RARELY get answered?

  • LOG ERRORS in Oracle 10G R2

    Hi all,
    I am learning this new feature. I am having two tables
    CREATE TABLE source_tab (col1 number, col2 varchar2(5))
    CREATE TABLE taget_tab(col1 number, col2 varchar2(4))
    taget_tab.col2 length is one character less compared with source_tab.col2
    INSERT INTO source_tab VALUES (1,'AAA');
    INSERT INTO source_tab VALUES (2,'BBB');
    INSERT INTO source_tab VALUES (3,'CCCCC');
    INSERT INTO source_tab VALUES (4,'ddd');
    Now, I want to insert data from source table to target table. As data shows, source_tab.col1 with col1=3 will throw error, as its col2
    size is more than the target table, but i want to continue with the execution and log the this value(3) in log table(logtmp) by using LOG ERRORS
    feature of 10Gr2.
    I have created log table like this manually
    create table logtmp
    ORA_ERR_NUMBER$ NUMBER ,
    ORA_ERR_MESG$ VARCHAR2(2000),
    ORA_ERR_ROWID$ ROWID,
    ORA_ERR_OPTYP$ VARCHAR2(2),
    ORA_ERR_TAG$ VARCHAR2(2000),
    col1 number
    Is this possible, if so, please give me the idea.
    Thanks in advance.
    Thanks,
    Pal

    See the following example.
    /* Table creation */
    CREATE TABLE source_tab (col1 number, col2 varchar2(5));
    CREATE TABLE target_tab(col1 number, col2 varchar2(4));
    execute DBMS_ERRLOG.create_error_log (dml_table_name => 'TARGET_TAB', err_log_table_name => 'LOGTMP');
    desc logtmp;
    INSERT INTO source_tab VALUES (1,'AAA');
    INSERT INTO source_tab VALUES (2,'BBB');
    INSERT INTO source_tab VALUES (3,'CCCCC');
    INSERT INTO source_tab VALUES (4,'ddd');
    commit;
    /* Insert that runs into errors */
    insert into target_tab
    select * from source_tab
    log errors into LOGTMP reject limit unlimited;
    select * from logtmp;
    /* cleanup */
    drop table source_tab;
    drop table target_tab;
    drop table logtmp;Consider to run this step by step.
    And here is the relevant output from it.
    desc logtmp
    Name            Null Typ           
    ORA_ERR_NUMBER$      NUMBER        
    ORA_ERR_MESG$        VARCHAR2(2000)
    ORA_ERR_ROWID$       UROWID()      
    ORA_ERR_OPTYP$       VARCHAR2(2)   
    ORA_ERR_TAG$         VARCHAR2(2000)
    COL1                 VARCHAR2(4000)
    COL2                 VARCHAR2(4000)
    ORA_ERR_NUMBER$ ORA_ERR_MESG$ COL1 COL2
    12899 ORA-12899: Wert zu groß für Spalte "SCHEMA"."TARGET_TAB"."COL2" (aktuell: 5, maximal: 4) 3 CCCCCEdited by: Sven W. on Sep 27, 2012 1:32 PM

  • ORA-01722: invalid number error coming in Oracle 10g.

    Hi,
    We are getting the error "ORA-01722: invalid number" while opening a cursor using CURSOR FOR LOOP.
    This error has started coming only after we have migrated to Oracle 10g from Oracle 9i. Earlier the same code used to work properly. And also on Oracle 10g, its not happening every time. Sometimes it gives error while sometimes it works.
    Does anybody know about any such bug in Oracle 10g. Our cursor is a parametrized cursor accepting a VARCHAR2 parameter and the value we are passing to it is also character.
    Our database is Oracle 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production and is running on UNIX server.

    And also on Oracle 10g, its not happening every time. Sometimes it gives error while sometimes it works. This is typically due to
    a) environment settings that differ from session to session
    b) or more often, data
    The actual error means that Oracle expects a number and is unable to obtain a number from the input (data or SQL or bind variables) supplied. I agree with William that it looks a lot like an implicit TO_NUMBER() conversion failing.
    Why not add a debug exception handler to the code? When that exception occurs, dump the PL/SQL call stack and values of all variables and parameters to a debug/logging table (using an autonomous transaction).

  • Program was terminated by signal 6 Concurrent Manager encountered an error while running Oracle*Report

    Hi,
    My concurrent request failed due to
    Program was terminated by signal 6
    Concurrent Manager encountered an error while running Oracle*Report
    stat_low = 6
    stat_high = 0
    emsg:was terminated by signal 6
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0xf7176d3e, pid=17695, tid=4096898752
    # JRE version: 6.0_32-b05
    # Java VM: Java HotSpot(TM) Server VM (20.7-b02 mixed mode linux-x86 )
    # Problematic frame:
    # V [libjvm.so+0x5f5d3e] ParallelScavengeHeap::tlab_capacity(Thread*) const+0xe
    # An error report file with more information is saved as:
    # /oracle/tst3/inst/apps/tst3_ora-web2/logs/appl/conc/log/hs_err_pid17695.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    what could be the reason behind this error.
    If any one knows this Please help me..
    Thank You

    Hi,
    Please provide your environment details.
    Is this a custom program? was this report working fine? If yes, what changes were made lately?
    Thanks &
    Best Regards,

  • BUG in Oracle SQL Developer 3.0.04 on the "generating DLL" with comments?

    I'm newbie on oracle, but I think that I found out a bug in Oracle SQL Developer version 3.0.04 on the "generating DLL" tool using "comments".
    I will describe the steps that I gave:
    I created a view, but after I test it I had to change my “where” condition, so I comment the old code and then I wrote the new “where” condition below. After I done that I tried to look at the sql code of my view using “generating DLL” tool, but oracle sql developer only shown me half of the code, a lot of code were missing. Then I began with some test trying to understand what happen and I notice that if I put an invalid sql code in my comment the generating DLL start working with no problems, for example(pseudo-code):
    (COMMENT WITH VALID SQL CODE the "Generating SQL" don't work:)
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    SELECT column1, column2
    FROM table1
    INNER JOIN
    (SELECT
    FROM table2
    INNER JOIN .....
    INNER JOIN ....
    --where time_stamp = (select max(time_stamp) from .....)
    WHERE time_stamp >= TRUNC(sysdate)
    ) t1 ON t1.ID = ....
    AND ..... >= TRUNC(sysdate)
    ORDER BY ....
    Generating DLL returns this(when the error occurs):
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    (COMMENT WITH VALID SQL CODE the "Generating SQL" work with no problems:)
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    SELECT column1, column2
    FROM table1
    INNER JOIN
    (SELECT
    FROM table2
    INNER JOIN .....
    INNER JOIN ....
    --where
    WHERE time_stamp >= TRUNC(sysdate)
    ) t1 ON t1.ID = ....
    AND ..... >= TRUNC(sysdate)
    ORDER BY ....
    I believe that "Generating DLL" tool have some problem with the comments, I also used /*...*/ to comment but the problem is still active.
    I notice as well that if I started to add some more comments along the code, the conditions migth change, so I think the problem is related with "comments" code.
    Would you mind telling me if this is a real bug or if I'm doing anything wrong.
    Thank you in advance,
    Rodrigo Campos
    Edited by: 894886 on 3/Nov/2011 5:29

    Hi Rodrigo,
    Thank you for reporting this. The only bug I see currently logged on a comment affecting the generated View DDL involves ending the last line of the definition with a comment, which treats the ending semi-colon (even if on a different line) as part of the comment. That is actually related to a low-priority bug against an Oracle database API.
    Unfortunately, your pseudo-code is a bit complex. Trying a few quick, simpler tests against the standard HR schema did not reproduce the issue. I tried INNER JOIN, and nested SELECTs. It would help greatly if you could provide a test case compilable against one of the standard schema, like HR or SCOTT.
    Regards,
    Gary
    SQL Developer Team

Maybe you are looking for