Consuming too much temp space

Dear All
A technical colleague of mine is executing a procedure which selects data from two databases and inserts it into the third one. The procedure is not new and he has been executing the same since a year now.However in past two weeks the procedure is either consuming too much amount of time ( 3-4 hours as against 10-12 mins ) or it fails as it utilises more amount of temp space on the database on which insertions are made. In the temporary tablespace i added about 10gb more but it is still not suffice for the procedure to execute successfully.The sga for the database onto which insertion is done is 2560M and pga for the same is 2G.
Please suggest what is to be done as it is an extremely crucial procedure.
Thanks in advance.
Regards
rdxdba

If you have Diagnostic Pack licence try to use AWR to compare instance activity for this procedure execution. If not try to install Statspack.
I recommend also to use SQL trace to have trace data for a "good" execution and for a "bad" execution and to compare TKPROF output for related trace files.
If you are using Oracle 10 or 11 try to use DMBS_MONITOR as described in http://www.oracle-base.com/articles/10g/SQLTrace10046TrcsessAndTkprof10g.php.

Similar Messages

  • When I print a Word document to a shared printer, print preview looks fine but the printed page has too much blank space at the top and doesn't print the bottom few lines.

    When I print a Word for Mac document to a shared printer (that is connected to my iMac) from my Macbook Pro, print preview looks fine but the printed page has too much blank space at the top and doesn't print the bottom few lines.  I have tried to adjust the margins and the page setup settings but to no avail.  It used to print fine until recently.  Is there a way to fix it so that the printer prints what print preview shows?

    I should add that when I e-mail this document to myself and print it directky from the iMac, it prints fine.

  • I updated IOS 6 in my device, it is performing worse. Consuming too much battery in a very short time. How can I "downgrade IOS version?

    I updated IOS 6 in my device, it is performing worse. Consuming too much battery in a very short time. How can I "downgrade IOS version?

    Downgrading isn't supported and wouldn't help.  You need to fix your phone.
    1. Delete and reinstall all email accounts.
    2, Restore the phone in iTunes, first  using a backup and if needed as a new phone.
    iTunes: Restoring iOS software

  • USB consuming too much power -notice

    I get all the time notice/warning that: "USB-device is consuming too much power. Hub/concentrator which the device is connected will be shut down." During this writing I got the notice three times.
    I don't have anything connected to my Macbook Pro (bought year 2006), not even mouse, just power wire.
    What to do? I don't see any difference after the notice (that something has been shut down). It is just popping up all the time and makes working with the computer really annoying. It might be related situations the when computer is moved, or something.
    Can I swich some USB-port/device off? Thank you in advance already!

    I had the same problem which arose just after I lost an external hard disk (Lacie 1 Tb started to make loud clicking sounds). I'm not sure whether I lost the hard disk because the break down of the USB-ports or whether I lost the USB-ports because of the break down of the hard disk (?).
    Either way I get the same warning and after resetting the SMC and the PRAM I reinstalled the OS. Nothing of it helped. Instead I went to the authorised Apple service partner. And now it gets scary for real.
    Apparently the USB-ports are an integrated part of the logic board (not just a card) and I need to get a new logic board to fix the USB-ports. Price 10.000 DKK. A new MacBook Pro will set me back 13.800 DDK (divide those figures by 5,8 to get US $).
    I'm in some kind of chock. The MacBook is not yet 18 months old and works fine - except for the USB ports that I do need for connecting my camera, external hard drives and my iPhone......
    /Soren

  • USb cable consuming too much power !

    Hi, Dear Sir, I had an issue regarding my Macbook Pro. When i connect my iPhone 5 lightning cable in usb port then it give a massage that" USB devices disabled, usb cable consuming too much power device disbaled. Please give me our best solution. Thanks

    Are you using the Apple cord that came with your phone? That could be caused by the cord.

  • ORA-34612: Your program or expression uses too much execution space.

    BIB-9509 Oracle OLAP did not create cursor.
    oracle.express.ExpressServerExceptionError class: OLAPI
    Server error descriptions:
    DPR: Unable to create server cursor, Generic at TxsOqDefinitionManagerSince9202::crtCurMgrs4
    OES: ORA-34612: Your program or expression uses too much execution space. Eliminate recursion or reduce the levels of nesting.
    , Generic at TxsRdbSQLQuery::absolute()     
    Any solution ?

    Which version of the database are you using?
    If you have created an OLAP DML program and are calling this program it is likely the program has become recursive and is just calling itself over and over again.
    Keith Laker
    Data Warehouse Solution Architect
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Estimating how much temp space a query will take?

    I have a query that is "SELECT * FROM some_table ORDER BY field_name DESC". some_table has an avg_row_len of 458 bytes and stats are current. There are just about 6 million rows in some_table.
    TEMP is set to 500MB and the query fails for lack of TEMP space. I show about 176MB of TEMP is presently in use, so worst case I should have 324MB free.
    So which calculation is correct for how much TEMP space is needed:
    (a) 458 avg_row_len * 6,000,000 = about 3GB of space (and DBA_SEGMENTS agrees with this rough math). That's assuming it puts the whole row into the sort.
    (b) 6,000,000 rows * 4 bytes for a ROWID (I think they're 4 bytes) = 22MB. That's assuming it sorts just a bunch of pointers to rows (which is how I thought it would work).

    Don't forget to add the length of the column being sorted to the rowid length before you multiply. A [url http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/logical.htm#CNCPT89008]rowid has four pieces, not four bytes. Also check your plan, in case there is more than just the sort going on for you.
    With appropriate sort_area_size or pga target, you may reduce the need for temp. See [url http://download.oracle.com/docs/cd/E11882_01/server.112/e16638/memory.htm#i49320]pga memory management in the docs, to start.

  • Yosemite OS is consuming too much internet data in the background

    Yosemite OS is consuming too much internet data in the background for no apparent reason. It's draining my monthly internet quota. It's important to note that iCloud Drive and photo stream are disabled. Anyone knows how to sove this problem? Otherwise, if there's no solution I think I'll downgrade to Mavericks.

    I'm wondering if you ever resolved this issue. My internet access is via satellite with highly allocated data usage. Ever since updating to Yosemite, my usage has gone through the roof. I've disable automatic downloads and any settings (including iCloud photo stream) that might receive or send data, plus I never use Spotlight. Data usage goes to zero when I shut off WiFi, so it seems obvious that something running in the background is the culprit. Apple is looking into this, with no results so far - meanwhile, I've lost hours of time playing detective, and hoping my ISP won't cut me off. No fun!
    Thanks for any ideas you have...

  • Firefox consumes too much RAM, caused by js

    I'm having problems with Firefox consuming too much RAM memory. Several people are complaining about this but I did some further research before posting here, using about:memory, and I found out that js-non-window and js-main-runtime are causing this.
    When I start up a blank Firefox session I immediately have an allocation of 260MB of RAM. About 75-80% of this is taken up by those two js (javascript?) processes.
    After opening about 10 tabs with different webpages the RAM usage has gone up to about 750MB. During the time the tabs are open most of the extra MB's are consumed by the window-objects (40MB per page, still seems quite a lot to me for just a news site with one article...) but after closing them the memory usage didn't go down and it transferred to the two already mentioned js processes. This transfer to the js processes is not always the case, it seems to happen only if I open a lot of tabs, let's say 10+ perhaps.
    I tried disabling Javascript using the plugin SettingSanity, but this makes browsing quite uncomfortable of course and worst of all it doesn't solve the problem. The mentioned processes keep using the same amount of RAM.
    I have this exact same problem on all my computers and laptops so it can't be a coincidence. Is there nothing I can do about this? Is this under investigation? How can a browser with 10 web pages open need almost 800MB of RAM?
    And please don't answer "install more RAM". The pc I have most problems with has 2GB of physical RAM and I really do think that opening 10 web pages should be possible on such a computer. Doing the same in Internet Explorer consumes less than half the amount of RAM memory.
    P.S: I sent this query using IE because I could't get to this page in Firefox. The "Ask This" button didn't work...

    Try in Firefox's safe mode disable all plugins, and open with only a new tab set by using ''about:blank'' . As suggested above also consider as a test creating and using a new Firefox profile.
    When I start like that I have around 70MB explicit shown in ''about:memory'' and that includes ''js-non-window'' of around 30MB
    I know in the past I have opened more than 10 tabs on a machine with less than 1GB ram installed and not noticed problems.

  • HT1695 Recently my iphone is consuming too much data, I have installed a data monitoring app and I found that - although I turned off all notifications and push email - push services is using around a 1mega/hour from cellular data (even if I am using wi-f

    Recently my iphone is consuming too much data, I have installed a data monitoring app and I found that - although I turned off all notifications and push email - push services is using around a 1mega/hour from cellular data (even if I am using wi-fi) !!!

    cpupower frequency-info
    analyzing CPU 0:
    driver: acpi-cpufreq
    CPUs which run at the same hardware frequency: 0 1 2 3
    CPUs which need to have their frequency coordinated by software: 0
    maximum transition latency: 10.0 us.
    hardware limits: 800 MHz - 2.30 GHz
    available frequency steps: 2.30 GHz, 2.30 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz
    available cpufreq governors: conservative, powersave, ondemand, performance
    current policy: frequency should be within 800 MHz and 2.30 GHz.
    The governor "conservative" may decide which speed to use
    within this range.
    current CPU frequency is 800 MHz.
    cpufreq stats: 2.30 GHz:0,02%, 2.30 GHz:0,05%, 1.80 GHz:0,05%, 1.60 GHz:0,03%, 1.40 GHz:0,01%, 1.20 GHz:0,16%, 1000 MHz:0,38%, 800 MHz:99,29% (1017)
    boost state support:
    Supported: yes
    Active: yes
    25500 MHz max turbo 4 active cores
    25500 MHz max turbo 3 active cores
    25500 MHz max turbo 2 active cores
    25500 MHz max turbo 1 active cores
    Thax

  • Firefox 12 STILL consumes too much memory and periodically stalls

    1. This has gone on actually since at least Firefox 8 for many of us. With Windows 7 32 or 64bit, AND we are told OTHER OS's as well, Firefox 12 IS consuming too much memory!
    When FF 12 memory consumption "hits" 800MB on a 8 GB machine, and continues to slowly climb, FF 12 has code or other problems.
    2. ALSO, Firefox 12 under many circumstances, is slowing to a crawl, especially in opening windows and tabs.
    NOTHING we do, inspect with memory tools, etc. seems to point to any "culprits" or guide the way to researching and potentially solving these problems...and they ARE problems within Firefox 12, and likely earlier versions.
    TIME TO CLEAR THE AIR?
    These are problems being seen by others, with or without any (totally blanked out/disabled) Add-On's and even most Plug-In's being disabled or removed, both for testing the problems sen in FF 12.
    There IS a problem, or more than one, here, and it's not isolated or "just refer to this checklist" solvable.
    There's problems, perhaps memory leaks and other agenda IN THE CODE.
    We users need to stop being poo-poo'ed and "pampered" by needless communications that do nothing to truly address the problems.

    I encountered this after the memory leak was mentioned as pat of a slowdown issue with an add-on that has been in use as long as I've been using Firefox (All-in one sidebar -AIOS). After a relatively short length of time under both Firefox 11 and 12 it starts to slow down. Sub menus take more than a second to show up when the parent menu is clicked, links take more than a second to activate, pages don't load as quickly. (I have a 30Mbps downstream internet connection that I test regularly, and consistently shows between 25 and 30MBps speeds from multiple sites throughout the US. It's NOT my download speed.)
    In looking for explanations I saw at least one mention of a memory Leak.
    So I decided to test this for myself. I first removed AIOS, then re-started Firefox and just left it running. I did nothing except minimize and restore it a few times. About an hour later the memory used by FF had gone from a reasonable 42K or so, to over 200K.
    I tested again after uninstalling ALL my add-ons and plug ins. The same thing happened again.
    This is NOT simply high memory use. Which I interpret as a particular tasks or process using more memory than it maybe should.
    This is quite clearly a memory leak. Nothing was being executed, nothing was running with Firefox, and no pages were loaded during this time. But he use memory just steadily grew.
    This is clearly a new issues since I did NOT have this problem when I was using Firefox 8. If I can find an install of that I'm going back to it.
    If not I'll settle for the ESR mentioned here. If nothing else it seems to have a slower leak.
    I never did like the new version number / rapid release schedule. Mostly because growing version numbers at that rate made no real sense to me as a developer myself. But also because speed of release for new features should not be the target but quality. I think we can see that this has clearly fallen by the wayside.
    I only wish I thought there was a viable alternative.

  • I bought too much cloud space how can I return it?

    I bought too much cloud space how can I return it?

    That's the number you want if you are in the USA.
    You can cancel an iCloud storage upgrade but only within 15 days of buying:
    Apple seem to have made this as difficult as possible. You may be able to do this using http://expresslane.apple.com -  click 'See all products and services',  then 'More Products and Services, then 'iCloud', 'Account and setup' then 'This topic is not listed'. Explain the situation in the box provided and wait for a response - include a phone number. However you may find you cannot proceed without entering a hardware serial number which is still eligible for AppleCare.
    In that event you will need to phone them directly, using the Apple Online Store number given at the bottom of this page. The first person you speak to may tell you to do it from the iCloud website but this is not possible. Politely insist on escalating the issue to a more senior person and eventually you should be able to get through to someone who can deal with this (you may have to wait for them to call you back) - you will be asked security questions and for part of your credit card number to identify yourself.
    If it is more than 15 but less than 45 days you may be able to get a partial refund by the same method.
    If it is more than 45 days since you purchased the storage you cannot cancel it for a refund; you can downgrade your plan as from your next renewal date. Please see
    http://help.apple.com/icloud/#mm12eecb08e7

  • You cannot embed this FLV file because it consumes too much memory. Could sb help with this problem?

    You cannot embed this FLV file because it consumes too much memory. Could sb help with this problem?

    The error is pretty concise. Do you know how to re-encode the video smaller?

  • Oracle Instances Processes  consuming too much memory

    Will somebody be able to guide me with the factors that are causing too much memory consumption when a single Oracle.exe instance is started ? Due to this problem it is not possible to run 2 instances at the same time.
    Oracle is running on Windows NT 4.0 SP6.
    Oracle version 8.1.6.0.0
    Currently we have 512MBytes of ram.(4.83G free space)
    One of the Instance consumes as much as 178,320K of Ram,
    another consumes about 138,000K

    Oracle consumes as much memory as you want, but more memory is faster.
    Review your init.ora (db_block_buffer y shared_pool_size)
    (It4s posible to run 10 instances in a machine with just 1 Gigabyte and they work fine. It depends on the use of the databases, the number of users, just for production or development, etc, ...).

  • Jack and oss2jack consume too much memory

    This is my free output when I load jack and oss2jack at startup:
    total used free shared buffers cached
    Mem: 250148 244720 5428 0 5160 67224
    -/+ buffers/cache: 172336 77812
    Swap: 2449860 66048 2383812
    A check in top reveals that jack and oss2jack are the main culprits.
    Because of this, I cannot load hydrogen with the ns_kit7free samples (which is 200MB worth of .wav files). It terminates (probably due to trying to access too much memory) when I attempt to switch the drumkit to ns_kit7free. I have managed to load it before, when I was just using ALSA directly. Is there any way to reduce the memory consumption of jack and oss2jack?
    I have increased my swap space to > 2GB (as seen in the free output) but it doesn't help.

    jonathantan86 wrote:From top's output jack took up 2/3rd of the memory used. About adding more memory, well...it's a laptop so it's difficult to add memory.
    Well, if this can't be solved and you don't have to use ALSA, try OSS/Commercial (wiki); it has a virtual mixer in kernel-space and supports up to 32 sound output streams

Maybe you are looking for