ORA-07445 When executing a query.

Hello,
I am executing a query that contains a lot of ansi inner join and one left join, whenever I try to execute this query I get an error. By looking at the alert log I can detect the following oracle error
ORA-07445: encontrada excepção: core dump [kkqstcrf()+1541] [ACCESS_VIOLATION] [ADDR:0x71] [PC:0x4C8E699] [UNABLE_TO_READ] []
We are using Oracle 11.2.0.1.
If someone can help me on this, I would appreciate it
Regards
Edited by: user2934071 on 21-Jun-2011 06:52

user2934071 wrote:
Hello,
I am executing a query that contains a lot of ansi inner join and one left join, whenever I try to execute this query I get an error. By looking at the alert log I can detect the following oracle error
ORA-07445: encontrada excepção: core dump [kkqstcrf()+1541] [ACCESS_VIOLATION] [ADDR:0x71] [PC:0x4C8E699] [UNABLE_TO_READ] []
After some research I have found the following bug description in Metalink:
Doc ID 9050716.8, Bug 9050716 “Dumps on kkqstcrf with ANSI joins and Join Elimination”, affects Oracle Database release versions below 11.2.0.2
As we are using Oracle 11.2.0.1, this seems to be what I am looking for. If someone can provide me this document since I do not have a metalink account, I woud appreciate it.
RegardsDistribution of MetaLink content is a violation of the usage agreement. Anyone providing it would be in violation and at risk of having their contract terminated. The only way to legally get it is to have an account.

Similar Messages

  • How can i know which index will be used when executing the query ?

    1 ) I have query in which i have 3-4 tables but there multiple index on one column .
    so how can i know which index will be used when executing the query ?
    2) I have a query which ia taking too much time . how can i know which table is taking too much time ?
    3) Please Provide me some document of EXplain plan ?

    Hi Jimmy,
    Consider the below example
    /* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
    CREATE TABLE FIRST AS
    SELECT * FROM all_objects;
    UPDATE FIRST
    SET object_name = 'TEST'
    WHERE owner != 'SCOTT';
    CREATE INDEX idx_first ON FIRST(object_name);
    SELECT *
    FROM FIRST
    WHERE object_name = 'TEST';
    It has not used index
    Execution Plan
    Plan hash value: 2265626682
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 58678 | 7334K| 163 (4)| 00:00:02 |
    |* 1 | TABLE ACCESS FULL| FIRST | 58678 | 7334K| 163 (4)| 00:00:02 |
    /* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
    SELECT *
    FROM FIRST
    WHERE object_name = 'emp';
    This has used the index
    Execution Plan
    Plan hash value: 1184810458
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 128 | 1 (0)| 00:00:01 |
    | 1 | TABLE ACCESS BY INDEX ROWID| FIRST | 1 | 128 | 1 (0)| 00:00:01 |
    |* 2 | INDEX RANGE SCAN | IDX_FIRST | 1 | | 1 (0)| 00:00:01 |
    From this we can come to the conclusion that, whether to use one index or not by oracle
    would also depend on the data which is present in the table. This has to be this way as
    we see in the bind peeking, if oracle sticks to only one plan, say only use the full table
    scan, it would be a performance hit when it searches for the second query ie where object_name
    ='emp';
    2.
    If we have a query like below.
    select * from emp
    where upper(ename) = upper(:p_ename);
    Evenif we have the index on ename column, oracle wouldn't be able to use the index, as there is a function in the predicate column. If you need oracle to use the index, we need to create a function based index as below.
    Create index idx_ename on emp(upper(ename));
    Regards,
    Cool

  • Incorrec entries when execute the query

    hi,
       I am facing one problem when execute the query on inventory cube(non cumulative cube).Query is diplaying entries for valuated stock Qty.on particular date, but those entries are not exist in BIW(Infocube ,ODS) or R/3 System.
    I checked cache parameters. all settings are correct.
    if anyone has the idea on this  pls. do the needful
    Thanks n Regards,
    HReddy.M
    I

    hello,
          Try to drill down the report based on request ID and find out one record which has this inconsistancy...! then see the data in the CUBE based on that Req ID and PSA..! may be this way will help u out..!
           Check FS10N/MB5B/MB5L Tcodes in R/3 for reconcilation!
                 -EnjoySAP

  • Help! ORA 01012 WHEN execute SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER

    I encounter ORA 01012 WHEN execute "SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER FROM DUAL;" in my ProC program, but under SQLPLUS it is ok. The whole scenarios are:
    1. My platform is Solaris 10, Oracle 10.2g / 64bit
    2. "alter system archive log current" failure, Oracle complaint about flash_recovery_area full, so I run
    delete obsolete;
    crosscheck backup;
    delete expired backup;
    3. Later I issued command "shutdown", oralce had no reponse after long time, so I issued command "shutdown abort" to shutdown the database, and then "startup" the database successfully to "READ WRITE", user application can also accessed the database.
    4. One of my ProC program get ORA-01012 when execute SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER FROM DUAL;
    5. But I got no error if I execute "SELECT DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER FROM DUAL; " using SQLPLUS.
    Any suggestion about this problem? blow is my ProC function call.
    u_int32_t
    proc_GetLastSCN()
    char buf[300];
    u_int32_t scn=0;
    if (proc_ConnectDB() == APP_ERROR)
    return APP_ERROR;
    memset(buf, 0, sizeof(buf));
    snprintf(buf, sizeof(buf),
    "select DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER from DUAL");
    oraca.orastxtf = ORASTFERR;
    EXEC SQL WHENEVER SQLERROR GOTO ora_sqlerror;
    EXEC SQL WHENEVER NOT FOUND DO break;
    EXEC SQL WHENEVER SQLWARNING CONTINUE;
    EXEC SQL PREPARE S5 FROM :buf;
    EXEC SQL DECLARE C5 CURSOR FOR S5;
    EXEC SQL OPEN C5;
    for (;;) {
    EXEC SQL FETCH C5 INTO :scn;
    EXEC SQL CLOSE C5;
    proc_DisconnectDB();
    return scn;
    ora_sqlerror:
    dyn_error("ORACLE error --proc_GetLastSCN\n");
    EXEC SQL CLOSE C5;
    proc_DisconnectDB();
    return 0;
    int32_t
    proc_ConnectDB()
    /* Declare variables. No declare section is needed if MODE=ORACLE. */
    VARCHAR username[DB_MAX_NAME_LEN];
    /* VARCHAR is an Oracle-supplied struct */
    VARCHAR password[DB_MAX_NAME_LEN];
    int32_t ret = APP_OK;
    strncpy((char *) username.arr, gateinfo.szSrvLogin, sizeof(gateinfo.szSrvLogin));
    username.len = (unsigned short) strlen((char *) username.arr);
    strncpy((char *) password.arr, gateinfo.szSrvPassword, strlen(gateinfo.szSrvPassword));
    password.len = (unsigned short) strlen((char *) password.arr);
    EX_SCREEN_INIT();
    EXEC SQL WHENEVER SQLERROR GOTO ora_sqlerror;
    EXEC SQL CONNECT :gateinfo.szSrvLogin IDENTIFIED BY :gateinfo.szSrvPassword;
    return ret;
    ora_sqlerror:
    errlog(ELOG_ERROR, "proc_ConnectDB@Failed to connect to %s!", gateinfo.szHistSrv);
    sql_error("ORACLE error proc_ConnectDB --\n");
    ret = APP_ERROR;
    return ret;
    }

    01012, 00000, "not logged on"
    // *Cause:
    // *Action:use COPY & PASTE so we can see what you do & how Oracle responds.

  • Short dump when executing the query

    Hello Friends,
                         I have a query from MM area which I have insalled from Business Content , and when I try to go to the edit mode or try to excute the query I get a short dump which says "Missing elements ..", I get the same dump when executing from query designer or RSRT . At this time I'm not able to do a "check" on the query also n query designer since it doesnot allow me to go to the edit mode also . Any inputs greatly appreciated .
    thanks ,

    Hi,
    While activating it from the Business Content, have you activated all the underlying objects also. Pls check that. It might help.

  • ORA-29902 Error when executing context query

    We sometimes get the following error when executing a search based on keywords entered by a user:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Error generating context stmt ORA-29902: error in executing ODCIIndexStart() routine ORA-20000: interMedia Text error: DRG-50901: text query <HR></BLOCKQUOTE>
    A demonstration of the error can be seen by going to the main
    http://technet.oracle.com technet page and then performing a site search. Type in any of the following search phrases:
    Oracle and not Microsoft
    not Microsoft
    and database
    In my brief experimentation, the presence of any of
    not, and, or
    at the beginning of the keywords, or next to each other 'and not' within the keywords set causes the above oracle error.
    OK, I could train the users not to do this, but with the potential for every net user on the planet using my site, it might take me some time to speak to all of them.
    So how do I stop Intermedia from throwing up the error? I have written a quick parser to try to strip out offending entries, but that is not, imho, a good solution, as I do not know all the rules that will break it.
    tia

    You need to write a text query parser. Check the Query Translator code samples from http://technet.oracle.com/sample_code/products/text/content.html

  • Error when executing a Query through information Broadcasting

    Dear SDN,
    We have configured information Broadcasting in the Web Reports---
    Scheduled and then when executing the following error is coming
    500 internal server error - Microsoft internet explorer
    Error when processing your request
    What has happened?
    The URL http://xyz.com:8000/sap/bw/BEx was not called due to an error.
    Note
    The following error text was processed in the system BWD : Please enter a valid value for characteristic 0CALMONTH.
    The error occurred on the application server asalbwd_BWD_00 and in the work process 0 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    START-OF-SELECTION of program RSRD_BROADCAST_PROCESSOR
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system BWD in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server asalbwd_BWD_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server asalbwd_BWD_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http-c:900-u:VENKAT -l:E-s:BWD-i:asalbwd_BWD_00 -w:0-d:20080708-t:133744-v: ERROR_MESSAGE_STATE-e:Please enter a valid value for characteristic 0CALMONTH.
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Please suggest us to resolve this error..
    Help will be greatly appreciated with points..
    Thanks in advance

    Hi
    Thanks...
    I have given only Fiscal Year/Period Variable
    Other than Fiscal Year/Period Variable....No Variables in that Query..
    In FI Queries, I did not use 0CALMONTH Variable...
    I do not know why it is giving that error..
    Please suggest us to resolve this error..
    Thanks in advance

  • Error when executing a query on upgraded system

    Hi All,
    We are in the process of upgrading our BI system. Currently we are on Quality system and its a copy of existing production system. I have executed a query on the production system (3.5 system) successfully.
    But the same query when I'm trying to execute on the upgraded quality system (BI 7.0), I get an error " warning info provider was changed or activated at runtime. The query cannot be opened". The same message doesn't pop up on the current 3.5 BI system.
    Can anyone help me how I can correct this error?
    regards,
    Suman

    Hi All,
    I activated the Infoset and I could eliminate the error. Now the issue is solved.
    Thanks

  • Error when executing a query on master data

    Hi Friends,
    When I execute a query fon Master Data Characteristic infoObject ( 0BPARTNER ) from BEx Analyzer I got the below error. 0BPARTNER contains 15 attributes. I am getting the below error only for this query. Rest all other queries are working good with the same BEx Analyzer.
    <b>An error occured in the communication with the BW Server.
    Due to this connection has to be closed.</b>
    <b>Detailed Description:
    The system is configured incorrectly.</b>
    Please tell me what could be the problem? How to overcome this?
    Thanks,
    Sasi

    Hi Arun,
    Before the execution of query I did that. And it was ' Query is Correct'.
    Any more ideas?
    Thanks,
    Sasi.

  • BEX :Selection screen missing when executing a query

    Hi all,
                When I am executing a query through BEX Analyzer,I am not getting the Selection Screen Popup.Instead ,the report is directly being generated.So,this is giving rise to various problems.But when the user is executing through portal,he is getting  the selection screen.
    I am not getting this Selection screen popup in all the DEv,Quality,PreProd and Production systems.And hence ,i am  not able to give the selections for a report
    Can anyone please provide a solution for this?
    Awaiting your response.
    Thanks,
    Amar

    Hi,
    Our GUI version is 710 and 640 is recommended by the client.Hence, no problem with that.The user is able to execute more than one query.
    Do u think it is a basis or security related issue.Or is it  due to Application of some GUI Patches.
    Thanks,
    Amar

  • DUMP in SAPDBEQI when executing a Query with InfoSet = EQI

    Hi experts,
    I made a Query that contains an Infoset, with the logical database EQI. When I execute the query it shows the following DUMP:
    Runtime Errors = SAPSQL_AMBIGUOUS_FIELDNAME 
    Except.            = CX_SY_DYNAMIC_OSQL_SEMANTICS
    Maybe is an error? I think it is, but searching for a SAP Note I don't find anyone.
    What I could see is that the system is executing an extra validation, with this authority check:
    * additional authority checks via BAdI
      PERFORM authoritycheck_diaufk_badi_f01 USING diaufk 'IE07'.
    This function is encapsulated on the include "DBAFIF01".
    I am executing the SAP Query on version ECC 6.0.
    Lots of thanks,
    Javi

    Hi FireFighter,
    First of all, thanks for your answer. I have no problem of authorization to execute IE07.
    Do you have any other idea?
    Thanks!!!

  • When executing a query showing as ABAP runtime error RAISE_EXCEPTION

    Hi all,
    When i executed a query, it is showing as ABAP runtime error RAISE_EXCEPTION in the short dump.
    This is the Analysis in Short dump (ST22)...............
    Exception condition "DATE_BEFORE_RANGE" raised.   
    What happened?                                                                               
    The current ABAP/4 program encountered an unexpected  
    situation. 
    Error analysis                                                                               
    A RAISE statement in the program "SAPLSCAL" raised the exception
    condition "DATE_BEFORE_RANGE".                                  
    Since the exception was not intercepted by a superior program   
    in the hierarchy, processing was terminated.                                                                               
    Short description of exception condition:                                                                               
    Date is earlier than factory calendar definition                                                                               
    For detailed documentation of the exception condition, use      
    Transaction SE37 (Function Library). You can take the called    
    function module from the display of active calls.               
    How to correct the error                                                                               
    You may able to find an interim solution to the problem                       
    in the SAP note system. If you have access to the note system yourself,       
    use the following search criteria:                                                                               
    "RAISE_EXCEPTION" C                                                           
    "SAPLSCAL" or "LSCALU06"                                                      
    "DATE_CONVERT_TO_FACTORYDATE"                                                                               
    or                                                                               
    "SAPLSCAL" "DATE_BEFORE_RANGE"                                                                               
    or                                                                               
    "WRITEQUERY " "DATE_BEFORE_RANGE"                                                                               
    Could you pls any one tell me what could be the problem and how to reslove this issue.
    Thanks & Regards,
    Ravi Kumar.

    Hi Andre,
    Maintain your factory calendar idents Valid To year field (BJAHR) in Table TFACD
    You can do this via tcode SCAL, or navigate through SPRO.
    Most likely you have your factory calendars set with Valid To dates as 2010. You may also be encountering some load issues depending on exit routines used in transformations in determining workdays/factory days etc.
    Thanks,
    Eric Filmer

  • No space left in shared memory error when executing a query

    Hi,
    When I executed a query, it showed the results. But when I drilled down it by material, it showed the following error message.
    Error An exception with the type CX_SY_EXPORT_NO_SHARED_MEMORY occured
    Error No space left in shared memory
    Is there anyone know what is the reason and how to resolve?
    Many Thanks
    Jean

    Your report got too big and you ran out of memory on the server.
    Run it for a smaller data set (e.g., a few months instead of a year) to avoid this problem.
    Hope this helps...
    Bob

  • Error when executing the query or refreshing the workbook

    Hi All,
    Whenever I am trying to execute a query or refresh a workbook a error message is poping up saying that
    Error: <internal error> Problem when writing table: E_T_cel.
    I face this error in few of the queries and when i refresh workbooks. These queries have lot of calculations and filters and they sum up lot of records.
    Any help greatly appreciated.
    Thanks
    Raj.

    Hi Maik,
    Thanks for reply, I went into tran sm21 but i could not understand the messages there. Below is the list of messages in sm21
                         System Log: Local Analysis of cdsap9d                    1                                                    
    From date/time............. 04/20/2005 / 10:00:00
    To date/time............... 04/21/2005 /        
    User....................... KADALPR    
    Transaction code...........                    
    Terminal...................        
    Task.......................  
    Problem class..............           
    Further restrictions.......                                                                               
    Sorted ? ................ SOFI
    Pages with single entries 00000100
    With statistics............ 
                         System Log: Local Analysis of cdsap9d                    2                                                    
    Time     Ty. Nr Cl. Tcod MNo Text                                                                                Date : 20.04.05 
    12:58:10 DIA  0 100      R49 Communication error, CPIC return code 019, SAP return code 728                                                 
    12:58:10 DIA  0 100      R5A > Conversation ID: 29858195                                                                               
    12:58:10 DIA  0 100      R64 > CPI-C function: CMSEND(SAP)                                                                               
    12:58:10 DIA  0 100      R68 Perform rollback                                                                               
    12:58:10 DIA  0 100      R47 Delete session 001 after error 003                                                                             
    23:54:49 DIA  1 100      R49 Communication error, CPIC return code 019, SAP return code 728                                                 
    23:54:49 DIA  1 100      R5A > Conversation ID: 44959947                                                                               
    23:54:49 DIA  1 100      R64 > CPI-C function: CMSEND(SAP)                                                                               
    System Log: Local Analysis of cdsap9d                    3                                                    
    Time     Ty. Nr Cl. Tcod MNo Text                                                                                Date : 21.04.05 
    09:32:50 DIA  2 100      R49 Communication error, CPIC return code 019, SAP return code 728                                                 
    09:32:50 DIA  2 100      R5A > Conversation ID: 83536783                                                                               
    09:32:50 DIA  2 100      R64 > CPI-C function: CMSEND(SAP)                                                                               
    Reading:  
    Number of records read.........       2777
    Number of records selected.....         11
    Old records skipped............       2733
    Records of invalid users skippe         33
    Further selection:  
    Number of records read.........         11
    Number of records selected.....         11
    Number of records printed......         11
    End of system log
                         System Log: Local Analysis of cdsap9d                    4                                                    
                        C o n t e n t s                              
    Contents              Page              Start            End  
    Selection criteria     1
                           2        20.04.2005  12:58:10 - 23:54:49
                           3        21.04.2005  09:32:50 - 09:32:50
    Contents               4
    End of program  -
    If you can help me out as where to look at these messages then it great.
    Thanks,
    Raj.

  • ORA-07445 WHEN RUNNING XMLTYPE

    HI ALL
    I hit an ora-07445 error when I running the below SQL.  BUT if I repleace the xmltyp character strings from a physical table(means I input the xml strings into a xmltable), this SQL was working.
    anyone hit this issue before??
    SELECT * FORM TEST
    WHERE WLOT_ID IN 
    (SELECT wlot_id
      FROM opto_admin.wip_lot_attrs
      WHERE sla_attr_nr = 1073 AND wla_attr_value IN
      (SELECT val FROM XMLTABLE('/Xml/Spfi' PASSING XMLTYPE('<Xml>'||'<Spfi Id="TECHNIC" /><Spfi Id="WELNEW" />'||'</Xml>') COLUMNS val VARCHAR2(20) PATH '@Id'))

    Mentioning the database version would be nice (all digits).
    That said ORA-07445 is a mayor software error, so I guess that if you really want some advice you should create a Service Request with http://support.oracle.com

Maybe you are looking for

  • IF - ENDIF for NULL Values in .RTF Template

    Hi, I have a group which doesnt return anything, I dont want to display even the Labels in .RTF template, Can I do <?IF:P_APPT_NBR1 IS NULL?> ?? Do we have anything for No Data Found ?? <G_ASN> <P_APPT_NBR1 /> <P_APPT_END_TS1 /> - <LIST_G_ASN_DETAIL>

  • Cannot backup iPhone 4S to iTunes due to an error

    I continue to get an error message without a specific error code when trying to sync and update my iPhone 4S (5.1) to iTunes (10.6.1). This started after an Apple Techincian had me restore the iPhone because I was having WiFi issues, which continued

  • Trying to add html content with Dw for Rf page (Dw is not displaying page correctly also)

    This is how the page looks in Reflow: This is how the page looks in Dw CC (2014) Here are the ways we have tried so far to get our html quizmaker file to load and run in Rf page: The commented out items were previous attempts to get the content to lo

  • How to print value of the variable in mail

    Hi, I am new to workflow and trying out some basis small work. i have created workflow for material change. whenever a material is changed mail is sended to user. it is working fine . but now i want that material number which is changed should come i

  • How can I combine my albums?

    I have a good amount of albums that are by one artist, but many songs have guest artists and iTunes separates those songs into a seperate album. Is there any way to prevent this without having to change the songs with the guest artists to just have t