Problem in running parallel query

Hi All,
We have an Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 installed on Microsoft Windows 2000 Advanced Server 5.0.2195 Service Pack 4 Build 2195.
And we have a stored procedure which does lots of works.
In this procedure, there is a select statement which joins a huge table with milions of records(lets call it table X) to some other almost huge tables. This table X
is partitioned and parallel processing has been enabled on it. Every thing has been fine until a week ago. From then on, we are getting the following error in that procedure:
ORA-12801: error signaled in parallel query server P014
ORA-04030: out of process memory when trying to allocate 4194328 bytes (QERHJ hash-joi,QERHJ list array)
We have made some changes in that select statement which are very common changes like adding some additional where clauses and selecting some additional columns. The From List of select statement has not been changed.
I don't exactly know what is realy going on.
The available memory is about 2 GB when the mentioned procedure crashes.
Any Idea?
My Best,
Alireza Vali

Is it a 32bit installation (32bit Windows, 32bit Oracle) ?
What are your MEMORY_TARGET, SGA_TARGET, SGA_MAX_SIZE and PGA_AGGREGATE_TARGET parameters set to ? (If you have MEMORY_TARGET set, it is not necessary that the other parameters be set).
ORA-4030 relates to PGA memory, not SGA memory. But Oracle on Windows is a single, multi-threaded process. Therefore, all Oracle "processes" (threads in the Windows process) share the same memory (address) space, even the SGA and PGA.
Hemant K Chitale

Similar Messages

  • ORA-12856: cannot run parallel query on a loopback connection

    Hi all,
    i need some help , this error is has pop up in alert.log , i just don't know nothing about this loopback connection.
    Can you please guive me some guidance so i can investigate the error (white papers, manuals etc)
    My environment:
    Oracle 11g running on windows 2003 server
    Best Regards
    Rui Madaleno

    ORA-12856: cannot run parallel query on a loopback connection
    Cause: A table or index in a parallel query is referenced via a loopback connection.
    Action: Do not use loopback connection when running a query in parallel.
    A loopback connection is a connection to the server itself,where you are currently logged on. Check your application(s) for such connections in combination with parallel queries. I never saw this error before,maybe you will need help from Oracle support.
    Wernert
    Werner

  • Problem while running BEx Query

    Hi All,
    I had reqiurement of calculating the difference of the two dates.I calculated Date Difference but I am getting problem when I run the Query.
    The problem is " I am finding the difference between Schedule Line Date and Posting Date. There are some blank spaces in the cube over Schedule Line Date and also over Posting Date. While running the Query Blank Space is taken as # symbol and while calculating the differences it is giving the differences in Lakhs."
    Can anybody help me to solve the problem " To remove the # symbol and calculate the differences properly".
    Thanks in advance.
    With Regards
    Mahi

    Hi,
    Use the Boolean concept like below:
    I hope you are using formula varibles to get Dates into the formula.
    Lets assume fv1 is formulavarible on Schedule line date and FV2 is Formula varible on Posting date.
    (FV1 == '' OR FV2 == '') * 0 + (FV1 <> '' AND FV2 <> '') * (FV1-FV2).
    With rgds,
    Anil Kumar Sharma .P

  • Problem with running a query

    I'm having problem running a query when I use my own userid. The query runs fine when I log on as the owner of the tables. but when I use my own userid ( I have all the privileges to all the tables, snapshots, views needed by the query ) then the query just sits there doing nothing.
    We are currently using Oracle8.0.5.
    Anybody know what the problem might be. shouldn't the query use the same path of execution no matter who runs the query.
    Any suggestions anyone ???

    Hi,
    I think the temporary tablespace is the root cause in your case.
    Pl. specify a different temporary tablespace for sorting activities for your user and things should be fine.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by bangal13 ():
    I'm having problem running a query when I use my own userid. The query runs fine when I log on as the owner of the tables. but when I use my own userid ( I have all the privileges to all the tables, snapshots, views needed by the query ) then the query just sits there doing nothing.
    We are currently using Oracle8.0.5.
    Anybody know what the problem might be. shouldn't the query use the same path of execution no matter who runs the query.
    Any suggestions anyone ???<HR></BLOCKQUOTE>
    null

  • Problem for running Update query with Chinese

    Hi all,
    I am running a web application in Lotus Domino.
    I have a Lotus Script Agent which need to update Oracle 8i Database with Chinese Character throught ODBC but i find that all characters become some strange characters.
    I got the problem only for update query.
    I have no problem for select query for getting the chinese data.
    Also, I got no problem to run the update query with chinese characters in Sqlplus.
    I also try to run the same update query which the ODBC connection is pointing to an MS Access Database. It works too.
    So the only things i leave is the Oracle ODBC driver.
    Anythings I should do for the Oracle ODBC server?
    Thanks very much.

    Hi, I checked the registry of Oracle and
    in the NLS_LANG field, the values is AMERICAN_AMERICA.UTF8. In the server side, I set the same.
    It should be okay, as i can retrieve the chinese content in the Oracle. Just that when i try to run a query contain chinese, such as,
    "insert into TableA values ('���')". i will got some strange character inserted in the databasae.
    Could you tell me what should i do?
    Thanks a lot a lot.

  • Restrict Users Running Parallel Query

    Dear all,
    We have an issue, it has been observed that developers are frequently using parallel hints and running 4 or 8 parallel sessions in most of their query.
    We want to restrict the users to use maximum degree of parallelism 2 only in any of their query.
    We have below settings for parallelism:
    parallel_max_servers integer 128
    parallel_min_servers integer 32
    We have checked and found that some of the system jobs runs parallel 4 or 8 for table analysis during system maintenance window time. Hence, if we make any changes in the above parameter so it will be affecting to the parallel query running by system and that we do not want.
    We are on Oracle 11gR2 with Linux env.
    Your suggestion is highly appreciated.
    Regards.
    Edited by: 877938 on Jun 20, 2012 11:19 AM

    877938 wrote:
    Dear all,
    We have an issue, it has been observed that developers are frequently using parallel hints and running 4 or 8 parallel sessions in most of their query.
    We want to restrict the users to use maximum degree of parallelism 2 only in any of their query.TECHNOLOGY is not always most effective solution.
    Since Software Best Practices include code reviews, set coding policy & state violators are terminated

  • Problem while running a query on multiprovider

    Dear all,
    I have created a query to generate the balance sheet in FIGL using standard virtual cube 0FILGL_V01 and a custom transactional cube which gets plan data through BPS. The custom plan cube is an exact copy of the 0FIGL_V01 (plan value is populated in 0val_flow KF). These two cubes are conncected using a multiprovider. In the identification tab in the mutliprovider definition I have selected both the data targets for all characteristics.
    Now when I create a query for balance sheet using GL account no and plan and actual value of cumulative balance KF I get the following error.
    Error 'Field symbol has not yet been assigned.' in RSDRC_CUBE_DATA_GET_RFC could not be caught.
    When i run the query in the RSRT transaction it shows 'Some Key figure have exception aggregation.'
    I'll be very grateful if somebody could explain how to about removing this error. Thanks a lot.
    Regards,
    Sumit

    Hi Sumit,
    Try this OSS note:905083
    Import Support Package 16 for 3.5 (BW 3. 50 Patch 16 or SAPKW35016) into your BW system. The Support Package is available once Note 0872275 "SAPBWNews BW Support Package 16 NetWeaver'04 Stack 16", which describes this Support Package in more detail, has been released for customers.
    Before you implement the correction, you must carry out the following actions:
    1. Use Transaction SE37 to create the RSDRC_RAISE_EXCEPTION function module in the RSDRC function group (Short text = Terminator 2). This function does not have any parameters.
    2. In the RSDRC_CUBE_DATA_GET_RFC function module, under 'Tables', add the new entry E_T_MESG of the TSMESG type and this new entry is optional.
    3. The T100 messages DBMAN 003,004 and 005 complete the correction:
    a) 003: Unknown error in part cube RSDRC_CUBE_DATA_GET_RFC = &1
    b) 004: Non-catchable error '&1' in RSDRC_CUBE_DATA_GET_RFC.
    c) 005: The following error occurred in RSDRC_CUBE_DATA_GET_RFC for part cube = &1.
    In urgent cases you can implement the correction instructions.
    To make information available in advance, the notes mentioned may already be available before the Support Packages are released. However, in this case the short text still contains the words "preliminary version".
    Hope this helps.
    Assign points if useful
    Venkat

  • Problem while running a query on a multiprovider

    Dear all,
    I have created a query to generate the balance sheet in FIGL using standard virtual cube 0FILGL_V01 and a custom transactional cube which gets plan data through BPS. The custom plan cube is an exact copy of the 0FIGL_V01 (plan value is populated in 0val_flow KF). These two cubes are conncected using a multiprovider. In the identification tab in the mutliprovider definition I have selected both the data targets for all characteristics.
    Now when I create a query for balance sheet using GL account no and plan and actual value of cumulative balance KF I get the following error.
    Error 'Field symbol has not yet been assigned.' in RSDRC_CUBE_DATA_GET_RFC could not be caught.
    When i run the query in the RSRT transaction it shows 'Some Key figure have exception aggregation.'
    I'll be very grateful if somebody could explain how to about removing this error. Thanks a lot.
    Regards,
    Sumit

    Hi Sumit,
    Try this OSS note:905083
    Import Support Package 16 for 3.5 (BW 3. 50 Patch 16 or SAPKW35016) into your BW system. The Support Package is available once Note 0872275 "SAPBWNews BW Support Package 16 NetWeaver'04 Stack 16", which describes this Support Package in more detail, has been released for customers.
    Before you implement the correction, you must carry out the following actions:
    1. Use Transaction SE37 to create the RSDRC_RAISE_EXCEPTION function module in the RSDRC function group (Short text = Terminator 2). This function does not have any parameters.
    2. In the RSDRC_CUBE_DATA_GET_RFC function module, under 'Tables', add the new entry E_T_MESG of the TSMESG type and this new entry is optional.
    3. The T100 messages DBMAN 003,004 and 005 complete the correction:
    a) 003: Unknown error in part cube RSDRC_CUBE_DATA_GET_RFC = &1
    b) 004: Non-catchable error '&1' in RSDRC_CUBE_DATA_GET_RFC.
    c) 005: The following error occurred in RSDRC_CUBE_DATA_GET_RFC for part cube = &1.
    In urgent cases you can implement the correction instructions.
    To make information available in advance, the notes mentioned may already be available before the Support Packages are released. However, in this case the short text still contains the words "preliminary version".
    Hope this helps.
    Assign points if useful
    Venkat

  • Problem in running the query on ODS

    Hi All,
    I have been trying to run the query which consists of only 25 fields and doen't contain much calculations and routines and trying to restrict even 7000 records.
    That too result in system failure reporting on storage parameters somtimes giving dump as well.
    Could you please suggest me the solution for this as this is urgent requirement.
    Thanks
    Suryam

    Hi,
    Are you using a filter / restrictions in the query,if So create a Secondary index which can be suitable(same order) to this filterations/restrictions.
    You can find the order in where cluase in the sql statement used in the query execution.you can see it in SM50.
    With rgds,
    Anil Kumar Sharma .P

  • Problem in running sql query

    Hello ,
    I am using oracle 10g apex 3.2.
    I have assosiated 2 schema "vpmys and vp" with one workspace.
    In the application , i created a new page of report ,which is assosiated with one schema called "vp" and i wish to run this query
    select * from vpmys.t_devotees
    minus
    select * from vp.t_devotees
    Same database dmp is installed in both schema except that the no of rows may be more or less in one database.So first i need to know the added rows and what are they and then insert the same no of rows into another db.
    But this doesnt run in the application.
    But it runs in the SQL Command window.
    So what way i should change the query so that it runs.
    Thanks
    Swapna

    Post your question in Application Express Forum
    Oracle Application Express (APEX)

  • Can login to Xmarks on Mac, 10.6.4, no problem, but running parallels and windows XP and Firefox on that, I can't login to Xmarks since it won't accept my password, and I'm asking who to contact to fix this problem with Xmarks?

    If the question had been asked before, I would have read the answer. Can you make this support any more useless?
    I'm trying to run Firefox on a Mac with Parallels and Windows XP. I can use Firefox, that's fine, what I can't do is sync my bookmarks. They are all synced on both macs, and my old PC, a really slow Dell L110, thus trying to use Parellels. Is there any way to contact someone who can look at why my log in to Xmarks won't work on Parallels? Or if there is a support page somewhere where one can actually get some answers, please let me know. Thanks, Rob Rand

    Same issue - however firefox will open but I can not click on only of my tool bar shortcuts - the writing on the google age is greyed out so I can not click on anything. Still no resolution? I have deleted the folders and re-installed - it will open and then locks and it will not work????

  • Problem when running a query

    Dear all,
             When i run a qurey ,i got the wrong message:
    Cannot load query "Z1SC_O40_Q002" (data provider "DP_1": No authorization for requested service)
    I think i forget to add an Authorization Object for the user. Thank you ~
    Best wishes!

    Aaron,
    Execute this query  "Z1SC_O40_Q002" with an admin/master user as the user in this case is causing this issue.
    You can do this by going to transaction RSECADMIN -> Users-> Execute as, please use the option with
    log, execute the query, then afterwards go back and check the authorization log, to display the rights provided
    to this user.
    I hope this will help,
    Diego.

  • Problem with temp space allocation in parallel query

    Hello
    I've got a query which matches two large result sets (25m+ rows) against each other and does some basic filtering and aggregation. When I run this query in serial it takes about 30 mins and completes successfully. When I specify a parallel degree of 4 for each result set, it also completes successfully in about 20 minutes. However, when I specify that it should be run in parallel but don't specify a degree for each result set, it spawns 10 parallel servers and after a couple of minutes, bombs out from one of the parallel servers with:
    ORA-12801: error signaled in parallel query server P000
    ORA-01652: unable to extend temp segment by 64 in tablespace TEMPThis appears to be when it is about to perform a large hash join. The execution plan does not change whether the parallel degree is specified or not, and there is several GB of temp space available.
    I'm at a bit of a loss as to how to track down specifically what is causing this problem. I've looked at v$sesstat for all of the sessions involved and it hasn't really turned anything up. I've tried tracing the main session and that hasn't really turned up much either. From what I can tell, one of the sessions seems to try to allocate massive amounts of temp space that it just does not need, but I can figure out why.
    Any ideas of how to approach finding the cause of the problem?
    David

    Hello
    I've finally resolved this and the resolution was relatively simple - and was also the main thing that Mark Rittman said he did in his article: reduce the size of the hash join.
    After querying v$sql_workarea_active I could see what was happening which was that the sum of the temp space for all of the parallel slaves was exceeding the total amount of temp space available on the system. When run in serial, it was virtually at the limit. I guess the extra was just the overhead for each slave maintaining it's own hash table.
    I also made the mistake of misreading the exectuion plan - assuming that the data being pushed to the hash join was filtered to eliminate the data that was not of interest. Upon reflection, this was a rather stupid assumption on my part. Anyway, I used sub query factoring with the materialize hint to ensure that the hash join was only working on the data it should have been. This significantly reduced the size of the hash table and therefore the amount of temp space required.
    I did speak to oracle support and they suggested using pga_aggregate_target rather than the separate *area_size parameters.  I found that this had very little impact as the problem was related to the volume of data rather than whether it was being processed in memory or not.  That said, I did try upping the hash_area_size for the session with some initial success, but ultimately it didn't prove to be scalable.  We are however now using pga_aggregate_target in prod.
    So that's that. Problem sorted. And as the title of Mark Rittman's article suggests, I was trying to be too clever! :-)
    HTH
    David

  • Strange problem... Query runs faster, but report runs slow...

    Hi Gurus,
    We are using Report 10g on 10g Application server and solaris. we created a report on a table which has 10,000 rows. The report has 25 columns. when we run this query in Toad it took 12 sec for fetching all these 10,000 rows
    But when we run the report with Destype = 'FILE' and Desformat = 'DELIMITEDDDATA', it is taking 5 to 8 minutes
    to open in excel ( we concatenated mimetype=vnd-msexcel at the end of the url if the Destype=FILE). We removed the layout in the report as it is taking 10 to 15 mins to run to Screen with Desformat=HTML/PDF(formating pages taking more time). We are wondering why DELIMITEDDATA format is taking long time as it runs only query.
    Does RWSERVLET take more time of writing the data to the Physical file in the cache dir? Our cache size is 1 GB. we have 2 report servers clustered. Tracing is off.
    Please advise me if there are any report server settings to boost the performance.
    Thanks alot,
    Ram.

    Duplicate of Strange problem... Query runs faster, but report runs slow... in the Reports forum.
    [Thread closed]

  • Problem of running the jump query from the result line

    Dear expert,
    I have a problem when running a jump query from the result line. Apparently, the values of the caracteristics haven't been sent to the jump target.  However, the configuration in RSBBS seems to be good as the jump works well from the other lines.
    Does anyone have some ideas on that?
    Thanks in advance!

    Hi,
    If you are supposed to bring across characteristic values to your target, then you will not be able to jump from the result line. The configuration expects that the values of the characteristic marked as being used in the jump are filled with unique values. When you use the result line as a source for your jump, the values in the result line will most likely be based on the sum of multiple characteristic values.
    Hth,
    -Jacob

Maybe you are looking for

  • Acrobat Pro XI won't even open, immediately shuts down

    My trial period finished, and I just bought the license, but it won't work. As soon as I double click on the acrobat pro application, it just shows a window for about 5 seconds and immediately shuts down... I can't believe i payed for this and haven'

  • Connection Reset by peer errors in Weblogic

    Hi, The weblogic server is throwing the following error , Any inputs to solve this will be highly appreciated. ####<Feb 2, 2006 3:43:11 PM CST> <Error> <HTTP> <xdaawsf001> <AWSServer> <ExecuteThread: '21' for queue: 'weblogic.kernel.Default'> <<WLS K

  • Is my ipad jack faulty?

    I have an Ipad 2, bought it last November. I have a cheapy fm radio / speaker called MiTone which worked really well until a few days ago, now the sound is insufferably soft. I thought it was the cheapy Mitone. Then I plugged the Mitone into my lapto

  • Copied and pasted a div tag but cannot rename it on style sheet. any  ideas?

    Hello, I am new to Dreamweaver so after paying someone to basically build be a template, I tried to midify it a little by copying and pasing a div tag to a lower section of my page. Probe is, its entitled "content-box-top" ... If I make adjust the wi

  • Does BPM's required for these scenarios

    Hi everyone,       Would anyone send me the steps for File-RFC-File and Http-RFC-FIle scenarios. I created an Remote enabled function module with fileid and destination as import parameters and filecontent as export parameter.     My scenario is when