How much temp / sort space is reasonable for a medium-large reporting db?

I have 16G which is not enough for a user running a distcint against a complexly written view and it is the only query running at the time. About 500K rows returned from the base view. which is then joined to an additional table(14 rows). The view runs against 2 tables and 3 other views, it also use case statements and aggregate functions. The user who had written the base view is query savy, don't know that it could be improved. Could possisbly benefit from some index tuning... Thoughts? How much sort space is enough? Are there general guidelines? small 1G/ medium 8G / large 16/32G...

Ummmm
It kinda depends on how much sorting you need to do. Sorting comes from
- select: order by, group by
- select: distinct
- select: union (not union all)
- sort-merge joins
And it also depends on how effective is your PGA management and whether you use PGA_AGGREGATE_TARGET to your advantage. And whether you starve the PGA (aggregate) on the machine.
As a general rule of thumb, I'd start with sum of all (PGA_AGGREGATE_TARGET + SGA) at 95% of machine (or less if needed to allow 250M RAM for operating system), set PGA_AGGREGATE_TARGET to 40% of that figure and set TEMP tablespace size to 3x the PGA_AGGREGATE_TARGET.
Of course, every Rule of Thumb has assumptions, and if the assumptions are not valid, the Rule Of Thumb degenerates to plain ROT. Therefore the assumptions need to be validated (continuously) by using the methods shown at http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#sthref668
Basically that means resize the PGA_AGGREGATE_TARGET to get 85% of all sorting "in memory or 1-pass", and resize the TEMP tablespace accordingly.
My analogy for your question: Can you tell me how big a snow shovel I should get for a small, medium or large yard? You would probably say "it depends on the amount of snow fall".

Similar Messages

  • How much external disk space is needed for editing HD video?

    If I'm using FCE:
    1) How much external disk space is needed for editing HD video:
    if I downloaded 150mins of HD video? and
    do editing with it which will have an output of 120mins.
    Now PC, going to a MAC user soon   Windows XP  

    Hi(bonjour)!
    As a rule of thumb for HDV editing, use those numbers:
    12 to 15 meg/second for capturing ( your project is 150 minutes long, so 780 meg/minute, or 117 to 125 Gig).
    If you do any editing, add transition, video effect, add 12 to 15 meg /second to the total.
    As your project will have to be rendered for the print to tape operation, calculate 12 to 15 meg/second for all the length of your final movie. Add this amount to the total. (example: a 60 minutes movie : 49 Gig).
    If you want to burn a DVD on your Mac, calculate 3 to 4 meg/second for downconversion to DV material if you check "self-contained" in quicktime export dialog. (example: your finished project is 60 minutes long : 10.8 Gig)
    iDVD itself needs 3 to 4 times this amount if you want flawless operation.
    Finally, if you use your internal hard disk for all this storage (it's not a good idea to capture on the same drive where Mac OS X belongs), your Mac OS needs some spare room to breath (doing caching, etc), and your hard drive must have a least 25% of free space to avoid file's fragmentation.
    As hard drive's price drop, get the maximum size you can afford. 250 Gig is a good choice if you want to do just one project of 90 to 150 minutes at the time.
    Michel Boissonneault

  • How much Minimum Disk Space is Required for Time Machine?

    Are there any recommendations from Apple for the size of external hard drive for Time Machine?
    Also, is there any formula for the amount of hard drive space = how any days, months, or years of backup available?
    Sorry about the poorly worded question.

    Size of HD = IBS + [30*DCD + 487*DCD]NM
    or
    Size of HD = IBS + 365NMDCD
    where
    IBS = Initial Backup Size (GBs)
    NM = Number of Months wanted before HD fills
    DCD = Daily Churn Data in GBs
    So lets say
    IBS=160 GB
    NM=24 (2 years wanted before having to worry about disk full)
    DCD=0.05 GB of daily churned data on average (50 MB of changed and new data)
    Size of HD = 160 + 365240.05 = 598 GB
    If you wanted just NM = 12 then the HD size should be around 350 to 400 GB
    Much depends on how many months you want to go before being bothered with disk full and how much average daily data churn you have.
    Note that TM will make much effort to clean up old data that can be safely deleted before giving up when disk becomes full. It will also provide you with the opportunity to clean up old backups yourself to free up space.
    Of course you can always re-format the TM backup HD and start over again but you obviously lose your TM backup history. You can also to decide you can delete the oldest 6 months of data and keep the more recent history to continue on with thr freed up disk space.

  • How much hard drive space in needed for a Software upadate server

    I'm buying a new Mac Mini and wanted to know if the 256 GB SSD would be large enough to support running a software update server.
    I'm currently running a an older Mac Mini with a 500 GB drive.

    How much free space is on the 500 GB HD?.

  • How much additional HD space is needed for Archive & Install?

    Just curious because it seems Archive and Install is the safest option to go with.

    Hi(bonjour)!
    As a rule of thumb for HDV editing, use those numbers:
    12 to 15 meg/second for capturing ( your project is 150 minutes long, so 780 meg/minute, or 117 to 125 Gig).
    If you do any editing, add transition, video effect, add 12 to 15 meg /second to the total.
    As your project will have to be rendered for the print to tape operation, calculate 12 to 15 meg/second for all the length of your final movie. Add this amount to the total. (example: a 60 minutes movie : 49 Gig).
    If you want to burn a DVD on your Mac, calculate 3 to 4 meg/second for downconversion to DV material if you check "self-contained" in quicktime export dialog. (example: your finished project is 60 minutes long : 10.8 Gig)
    iDVD itself needs 3 to 4 times this amount if you want flawless operation.
    Finally, if you use your internal hard disk for all this storage (it's not a good idea to capture on the same drive where Mac OS X belongs), your Mac OS needs some spare room to breath (doing caching, etc), and your hard drive must have a least 25% of free space to avoid file's fragmentation.
    As hard drive's price drop, get the maximum size you can afford. 250 Gig is a good choice if you want to do just one project of 90 to 150 minutes at the time.
    Michel Boissonneault

  • How much TEMP space needed for datapump import?

    How does one accurately predict how much TEMP table-space is needed prior to starting a data-pump import (via impdp)?  I need a way to predetermine this BEFORE starting the import.  It is my understanding that in data-pump imports, temp table-spaces are primarily used for the building of indexes among other operations.

    Yes, I could use autoextend but that just shifts the problem of checking the logical table-space size to checking the physical space to see that it has enough room to extend.
    I was really hoping for a formula to calculate the amount of TEMP space it would take up.  For example, RichardHarrison's post above about setting the TEMP table-space size to be twice as large as the largest index, but wasn't sure on the accuracy of that statement.  I was hoping someone has encountered this kind of scenario before and found an accurate way to predict how much space is really needed, or a good estimate to go by.
    I will try out the idea of setting the TEMP space size to be twice the size of the largest index and see how that goes, as it doesn't seem there is a practical way of accurately determining how much space it really needs.
    Thanks everyone.
    Ben.

  • Reg: how much hard disk space required?

    hi expert's
    i am planning to install netweaver(bi 7) in my desktop pc. so how much hard disk space is required for this. what are all the hardware requirements needed?
    regards
    harikrishna N

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80fd9a0a-e306-2a10-c896-b84c77c13ed2

  • 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.

  • How can i tell how much hard drive space my website is taking up on my computer?

    I have a website that i build through iweb and publish via mobile me.  i have about 200 podcasts on the site, and I am trying to figure out how much hard drive space this is taking up on my computer.  these files are not in itunes, and i'm not concerned about the space they are taking up in my cloud, i just want to know how much space on my computer they are taking up because i'm trying to decide if i should move my iweb site to a different computer to alleviate some space issues.  any help would be much appreciated.

    Check the size of the Domain.site2 file that is in your Users/Home/Library/Application Support/iWeb folder.  it contains all of the files used to create and publish your site.  I'm not sure if it copies the podcasts into it or not. You can open the domain package and do a search for them. Just don't move, rename or delete any files inside that package or your site is toast.
    OT

  • How to see how much Hard Drive space I have

    Is there any way to see how much hard drive space I have left on my laptop in Lion?

    Also in a finder window if you holding cmd press / the grey bar that i think you looking for appear at the botton.

  • How much hard disk space remains?

    Sorry, the Missing Manuel for Lion isn't available until the end of the month, but I have a lot of basic questions.
    With Snow Leopard when i opened a Finder window at the very bottom of the window pain was information on how much memmory was being used by whichever folder I had opened.  I know I can hit Tab to have a window pop up and tell me, but I liked that old feature built into the Window.  Is there a way to change the setting back so that when I open a finder window I get a reading on how much hard disk space is being used by X file? 

    Select Show Status Bar from the Finder's View menu. As far as space used by any one file that is listed under the Size column in the Finder when using List View.

  • How Much If any Space does Album art....

    How Much If any Space does Album art take up on iPods HardDisk,I own a 30Gig 5G iPod.Also 2Nanos,I just would like to know if I should waste the space if it is allot of space..?? .Thanks so much.:)

    well, for me a little and i have almost all of
    the album artwork.

  • My iMac (late 2010 model) desktop's hard drive is fried (was about 200GB). How much am I expecting to pay for a new one and retrieve my information?

    My iMac (late 2010 model) desktop's hard drive is fried (was about 200GB). How much am I expecting to pay for a new one and retrieve my information?

    As you can see Erin, trying to recover information from a hosed drive can be very expensive. 
    I would suggest first the OWC site as well. You can get a new drive of choice in size there.
    I would also get the voyager  http://eshop.macsales.com/item/Newer%20Technology/VOYQHDB1.0T/
    and..
    http://eshop.macsales.com/item/Prosoft%20Engineering/DGDR3BUN/
    http://eshop.macsales.com/item/NewerTech/TOOLKIT11/
    Wth your lap top and these folllowing tools your are set to change out the drive, reload OS and then with
    the voyager pop in the old iMac drive and with the Prosoft software, try to mount and recover the files. Data Rescue is very good at this " if " the drive is not totally mechanically hosed. Drive Genius is very good at a number of things too. Nothing replaces the old adage of Back Up Back up Back up.
    The voyage I listed can become the new backup drive for you.. your choice of tools: Time Machine or by cloning via CarbonCopyCloner or by what I use SuperDuper! IF you want to be really kewl.. both. By that I mean cloning and Time Machine.
    It will take you an hour to swap out the drive and spring clean the iMac.. there is a hundred how too,s on you tube.
    Hope this helps. Remember if is always when a drive will fail..they all do. I tell the people I support that Harddrives are good for 15 min.. to when they don't work. They will all fail.
    Apple Geniuses are very limited to what they can and will do as far as file recovery.
    Your best bet is to try to do it your self first. There is lots of help out here and you are not the first.
    Don

  • When i look at how much hard drive space i have available, my mac says i have 250 gigs used up in backup.  I can not find this backup file to delete it and free up the space

    When i look at how much hard drive space i have available, my mac says i have 250 gigs used up in backup.  I can not find this backup file to delete it and free up the space

    OmniDiskSweeper is a free utility that checks HD space.
    FreeSpace cost $1 or is a free utility that checks HD space.
    SpaceControl is a free utility that checks HD space.

  • How to see how much hard drive space is free in my MacBook Pro

    I have a lot of music and am starting to use lossless files.  How can I check to see how much hard drive space I have free on my MacBook Pro?

    Select:
    •  (in the Menu Bar)
    • About This Mac
    A window appears
    Select:
    • More Info...
    Another window appears
    Select:
    • Storage

Maybe you are looking for

  • Why have apple disabled file transfer between iphone and other devices?

    I have recently purchased an iPhone and i was about to send a file from my iPhone to a friends android and i found that it wasnt possible. Does anyone know why apple have not allowed this feature on any of the iPhones?

  • Would you like to save changes.. no changes to save

    hi guys, I currently have a master detail relationship but i have a problem. When a query is entered in my master block it automatically queries the detail block, this is fine, however , if i then want to enter a new query, thus entering query mode i

  • Conversation view in mail broken

    Since updating to 10.9.2, conversation view in mail appears to be broken.  Conversations now include random emails with no apparent association. This is in addition to ongoign problems of disapearing gmail emails. Anys solutions?

  • File upload clarification

    I followed the tutorial on how to upload/download files in an application and was successful in uploading and downloading to a custom table. However, can someone explain the purpose of the DELETE statement (below) that was included for uploading into

  • Changing function group of function module

    Hi I assigned my function module to function group of different person, which has been transported to quality server. Now whenever I make some changes in my function module, it creates problem to his application. As it has been released, system is no