How big for the temporary tablespace is proper?

Hi,
I get the error several times per month:
ORA-1652: unable to extend temp segment by 256 in tablespace temp
The size of this temporary tablespace is 1G. Of couse I can inrease to 2G or 10G.
questions:
How to determine the new size for this tablespace properly?
what factors will be considered for it?
Thanks

I think more than one 1GB for a 6GB is acceptable. I agree the temp size is not determied by database size, but satistically it should be in a range compared with database size, right?
Well, what I did in this situation is to create a scheduled job, get information from v$sort_usage and kepp it in a table. This job run in every 5 mins. I let it run a couple of days, then I can know which SQL consumes too much temp space. After that, I tune this SQL to resolve the issue. Hopefully it would be help to you.

Similar Messages

  • How to find the temporary tablespace of the database?

    How to find the temporary tablespace of the database?

    noooo I don't want to try it myself without a GURU telling if it can be done.
    i'd rather spend an hour posting on the forum and waiting for a response then
    spend 30seconds logging in to my database and running an SQL query.

  • Clear the temporary tablespace

    Dear All,
    I've created a database in 10G (10.2.0). But currently running with a space problem in temporary tablespace. My database in 365X24 hrs. in such situation how to clear the temporary tablespace by keeping the database open for future operation.

    Granting privileges to a role is not necessary either ETC however everybody grants privs. to a role and roles are granted to users. When you do not do that way, you will get confused.
    What i ment with necessary is this. I tried to describe it but you don't want to understand i guess.
    I am not feel offended but Paul M. is an Oracle ACE member and he can reply to me. He asked me the question and i answered.
    As you can see it from above, i posted that it's not necessary. What i want to say is an useful fact.

  • My tab default is1.25 which is too big for the A5 document I'm working on, how do I change the default tab so that I don't have to reset each individual line?

    My tab default is1.25 which is too big for the A5 document I'm working on, how do I change the default tab so that I don't have to reset each individual line?

    Hi Hannah,
    Inspector > Text > Tabs Button > Tab Settings > Default Tabs.
    To set a tab stop on the go, click in the ruler.
    If you can't see the ruler, Menu > View > Show Rulers.
    To set tab stops for lines (paragraphs) you have already typed, select those paragraphs and set them all at once.
    Also, have a look at Menu > Pages > Preferences > Rulers.
    Regards,
    Ian.

  • Can i change the temporary tablespace for schemas during the transactions??

    In My Prod database some of the tablespaces assigned system as Temporary tablespace. I want to change the temporary tablespace for these schemas and the default temporary tablespace of the database.
    Can I make this change while the users are accessing the database. Is there any impact If i make this change while the transactions are running.
    Below is the change i want to do........
    1. Change the users for SYSTEM to TEMP in the temporary tablespace by executing the following SQL
    statements:
    alter user SYSTEM temporary tablespace TEMP;
    alter user SYS temporary tablespace TEMP;
    alter user AD_MONITOR temporary tablespace TEMP;
    alter use SI_INFORMTN_SCHEMA temporary tablespace TEMP;
    alter user EM_MONITOR temporary tablespace TEMP;
    alter user ORDPLUGINS temporary tablespace TEMP;
    alter user TSMSYS temporary tablespace TEMP;
    alter user XDB     temporary tablespace TEMP;
    alter user SCOTT temporary tablespace TEMP;
    alter user DBSNMP temporary tablespace TEMP;
    alter user DIP     temporary tablespace TEMP;
    alter user OUTLN temporary tablespace TEMP;
    alter user ANONYMOUS temporary tablespace TEMP;
    alter user ORDSYS temporary tablespace TEMP;
    alter user MDDATA temporary tablespace TEMP;
    2. Set the default temporary tablespace to TEMP by executing the following SQL statement:
    alter DATABASE default temporary tablespace TEMP;

    user11829256 wrote:
    But if one transaction is using the old temporary tablespace and if i change the temporary tablespace of user will that transactions of that user fails which is using the old temp segment....It will continue to use the old one till the end of transaction.
    Here a quick test (hopefully readable) :
    -- session 1 as a dba user
    SQL> grant create session to nga identified by nga;
    Grant succeeded.
    SQL> alter user nga temporary tablespace tmp;
    User altered.
    SQL> select temporary_tablespace from dba_users where username='NGA';
    TEMPORARY_TABLESPACE
    TMP
    -- session 2 as NGA
    SQL> insert into gtt
      2  select * from (select * from all_objects union all select * from all_objects union all select * from all_objects);
    80559 rows created.
    -- session 1 as a dba user
    SQL> select tablespace from v$tempseg_usage where username='NGA';
    TABLESPACE
    TMP
    SQL> alter user nga temporary tablespace pstemp;
    User altered.
    SQL> select tablespace from v$tempseg_usage where username='NGA';
    TABLESPACE
    TMP
    SQL> select temporary_tablespace from dba_users where username='NGA';
    TEMPORARY_TABLESPACE
    PSTEMP
    -- session 2 as NGA
    80559 rows created.
    SQL> roll;
    Rollback complete.
    -- session 1 as a dba user
    SQL> select tablespace from v$tempseg_usage where username='NGA';
    no rows selected
    -- session 2 as NGA
    SQL> insert into gtt
      2  select * from (select * from all_objects union all select * from all_objects union all select * from all_objects);
    80559 rows created.
    -- session 1 as a dba user
    SQL> select tablespace from v$tempseg_usage where username='NGA';
    TABLESPACE
    PSTEMPNicolas.

  • How to delete the temporary files when we log out from ESS

    Hello expert,
    In my company we are running ESS using ITS server, do you know how to delete the temporary files when we log out from ESS?
    Thanks.

    The temporary files used by ESS. For example paystub pdf file.

  • A document page opens that is too big for the display and runs off the end of the monitor

    How do you fix a problem where document pages open that are too big for the display and runs off the end of the monitor? The borders are off the monitor so there is no window edge to grab and adjust.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Lion won't even start to download; How big is the download?

    First: I tried to download Lion from the Applestore (the big round button with a lion in it). For about 0.5 sec. I got "Loading ..." then :
    The address is redirected and returns:
    "Safari can’t open “macappstore://ax.search.itunes.apple.com/WebObjects/MZContentLink.woa/wa/link? path=mac%2fosxlion&ign-mscache=1&affC=QQADAAAH0wAMiXUgNGRmNjMwODJmMTQzYzA0MGYxZD E2ZjFhMTc5NTI1MTYGNDE2NTY1&ign-msr=http%3A%2F%2Fstore.apple.com%2***%2Fbrowse%2F home%2Fshop_mac%2Fsoftware%3Fmco%3DOTY2ODQyOQ” because Mac OS X doesn’t recognize Internet addresses starting with “macappstore:”.
    So, bowled out before even reaching the stumps. Any ideas?
    Second: How big is the Lion download?
    Thanks.

    Nikolai Yde: Just to be sure (in the UK we use a stop as a decimal point and a comma to separate thousands): do you mean three and 74 hundredths of a GB? = 3740000 Bytes?
    At a download speed of 6 Mbps, that will take me 4986.67 sec. = 83.1 min. That's OK.
    Thanks

  • Desktop is too big for the display

    Some how this morning while on my Mac a display setting or something was changed. If your on the desktop, with all windows closed, the background, icons, dock.....everything is too big for the display. If you move the cursor all the way to left it will 'slide' the desktop in that direction. Move it all the way to the right edge of the display and it 'slides' the desktop to the right until you reach the edge. Also the same for the up or down directions.
    At first I thought it had something to do with the multi-touch track pad, but I don't think so. I have checked all the display settings I can think of and have tried re-sizing the desktop to all other settings in an attempt to fix the problem. Additionally I have restarted/shutdown the computer totally to see if it would fix the issue. No success. Please help.
    Thx,
    Audioboy

    I had the same problem, but the zoom was already off. So I went under "options" and unchecked "use scroll wheel with modifier keys to zoom," and that took care of it.
    Thought that might help some others who find this thread.

  • "[Filename]" is too big for the trash. Would you like to delete it permanently?

    Recently, when I delete files, I am getting a message stating, ""[Filename]" is too big for the trash. Would you like to delete it permanently?". This recently started showing up for no reason and in the past I have deleted files significantly bigger and not recieved this message. Any ideas why this is showing up and how I can stop it from happening?
    For reference, I have a 768GB SSD with approximately 470GB of space available so space is not the issue.

    nbar, it seems that this trash issue is a reoccuring issue and that it is resetting itself. I followed the article that provided a link to, but after following the steps and finding success, it started doing it again.
    If anyone has any idea on what might be causing this issue, it would be greatly appreciated...not a life or death situation...just really annoying.

  • When I open my iPad the page is too big for the screen and won't shrink down. The keypad has also become very 'sticky'

    Recently when I open any apps the pages are too big for the screen. They shrink when pinched but immediately become bigger again. It's very difficult to scroll too. The keypad has become very sticky. Missing letters and spaces when I type and needing to tap the keys much harder than usual

    I have the exact same problem, I think.  I was on my iPad 3's home page swiping R-L to locate a certain icon when all of a sudden the screen appeared to get HUGE.  So big I could only see one or two icons.  I couldn't even turn it off to try a reboot because after I pushed the sleep/wake button, I couldn't find the red slide bar.  I finally just had to wait for the battery to die, then recharge it, and it looked normal again.  I also spoke with several friends who haven either iPads or iPhones, and they've all had this happen to them.  I checked my accessibility settings, and Zoom was already off.  So what is causing this problem for so many people, and what can we do to prevent it?  Please help.

  • How big is the trackpad on the newest 13 inch macbook pro with retina display (In MM's)?!

    how big is the trackpad on the newest 13 inch macbook pro with retina display (In MM's)?!

    According to this site 104.4 x 75.4 mm.
    http://store.moshimonde.com/trackguard-trackpad-protector-macbook-pro.html

  • I am now currently studying in Switzerland. I would like to buy a macbook pro in USA so may I ask how much for the shipping fees?

    I am now currently studying in Switzerland and I would like to buy a macbook pro in USA. So may I ask how much for the shipping fees? Thanks a lot

    I'm not so sure if it's possible that Apple ships internationally. Why not just look into getting one in your country that you live in?

  • My iPad standard window is bit too big for the screen.

    My iPad screen unexpectedly got slightly too big for the display window. The size is bit too big. For example, the keyboard when it pops up does not fully display all tkey sans. Another example is the time/power remaining bar slips out of sight.  Did I accidentally change something?  Is this an issue with version of iOS that I am using (4.3.3)? (Note I'm not talking about resizing by using your fingers.)

    John,
    I am having the same problem.  The enlargement is not the same as the 3 finger tap or the 2 finger zoom.  The screen opens and then bumps to a slightly larger screen just enough to make it too big to see the outer edges.  You can put 3 fingers on the screen and move the screen to see the edges but you cannot get it to shrink to the correct size.  This is the second time this has happened to me.  I am also having some other issues.  Sometimes while in an app the app will close and I will be diverted to the home screen.  And sometimes when playing "with Friends games" the letters on the letterboard (not the key pad) disappear, will not move or are giant.  I plan on taking it back to the Apple store this week but I hate the idea of having to start over.

  • Compared to the ipad 2 how big is the ipad minis screen?

    compared to the ipad 2 how big is the ipad minis screen?

    It is absolutely not half the size. It's the same resolution as the iPad 2 with a screen size of 7.9 inches across the diagonal versus the 9.7 inches of the bigger iPad.

Maybe you are looking for