DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: 4G of TEMP.dbf ??

  1. #1
    Join Date
    Jan 2001
    Posts
    15

    Angry



    I have oracle8i running on the NT box. I am the sole person on
    using that oracle database in that box. Somehow temp tablespace of
    box is using 4G of space. I don't remember I have allocated that much
    of space for that table space.

    Oracle8i on that box is running in noarchivelog mode. I am writing a perl
    application to use that database, somehow my perl application screwed up
    with Operating System. So I had to shutdown the machine, when I reboot
    the machine it was taking very long time to mount the database. I know
    that temp tablespace did not have that 4G of space before, after a while
    when database is completely mounted, I saw that temp
    tablespace is occupying that much space.

    By the way I have other tablespace which has 3G of space for my application.


    Can somebody give me idea to tune 4G of temp tablespace?

    Any idea and suggestion are welcome.
    Thanks in advance.

    SKM








  2. #2
    Join Date
    Feb 2001
    Location
    Bangalore, India
    Posts
    109
    what do yoy mean by tuning 4G of temp tablespace? Check if the datafile has the Autoextend option set to on.

  3. #3
    Join Date
    Oct 2000
    Posts
    80
    Check this:

    [url]http://63.236.73.14/forums/showthread.php?threadid=6771[/url]
    John Doyle

  4. #4
    Join Date
    Feb 2000
    Location
    Washington DC
    Posts
    1,843
    I wonder you have AUTOEXTEND option enabled and contents of the tablespace are PERMANENT rather TEMPORARY. Check and see.

    It should release the temp space when you bounce the database.
    Reddy,Sam

  5. #5
    Join Date
    Jan 2001
    Posts
    15
    I had autoextend option on that temp table space and had a temporary
    storage type. I disabled autoextend and
    bounced the database by using NT services. It did turned the database
    quickly but database is still having 4G of temp tablespace. When
    I tried to resize it, it is saying file contains used data beyond the
    requested resize value error message.

    Any further thoughts and suggestions.

    SKM

  6. #6
    Join Date
    Jul 2000
    Posts
    53
    Drop the tablespace and recreate it with better storage parameters.

    Steve

  7. #7
    Join Date
    Jul 2000
    Posts
    37
    SKM,

    I'm not sure whether this will work, but I think I can remember
    having a similar problem with a temporary tablespace filling up. Even though the contents were temporary, the extents were not being released. To get Oracle to release them try the following:-

    alter tablespace temp default storage (pctincrease 0)
    /

    (In my case, my pct increase was set to 0 anyway, so all this does is to wake Oracle up and release the temp extents) So, just use a parameter like pctincrease and use the alter tablespace statement to set it to what it is already set as. ie, don't change anything, just issue the command and see what happens.

    cheers

    chris.

  8. #8
    Join Date
    Jan 2001
    Posts
    15
    Chris,
    I did but nothing significant change happend and even though I did restarted the db instances after that.
    I am thinking of removing or droping temp tablespace and recreating it. But when I looked that table space dependencies I saw sys, system and Oracle Management Users are using that table space. I wondered removing that table space may effect running oracle database or I might
    screwed up with oracle database.

    Any thoughts.

    SKM







  9. #9
    Join Date
    Feb 2000
    Location
    Washington DC
    Posts
    1,843
    Make sure pctincrease set to ZERO. I hit the same problem couple of minutes ago. If you don't specify at the time of creating tablespace it takes defaults.
    Reddy,Sam

  10. #10
    Join Date
    Aug 2000
    Location
    Toronto, Ontario Canada
    Posts
    52
    That may take a while to do depending on the number of
    extents that have been created.


    one of the best ways I use is to start up the db with a very small buffer cache (say 100 db block buffers) and make sure you only have 1 DBWR configured. Obviously, the db won't be usable in that type of configuration, but it should help
    smon clean things up faster. So, if you have a window of opportunity to try this out, this might be the best thing to do.

    There are also 'unsupported' ways of doing this probably such as updating the appropriate data dictionary tables, etc, but this would have to be done with extreme caution of course.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width