Unable to shrink/resize undo tablespace

Hi Experts,

I have the database Oracle 10.2.0.4 running on RHEL 4.7 in a production environment, my undo tablespace has grown to 32 GB, database is restarted, the tablespace is always full.

I would like to shrink, resize the undo tablespace, please help me

Little detail is as below

display the parameter undo_retention
VALUE OF TYPE NAME
------------------- ----------------- ----------------------
UNDO_RETENTION integer 10

Help, please

Thank you

Published by: user1687821 on July 9, 2010 09:27

did you check the link I provided in my previous post? He answers most of your questions.

Tags: Database

Similar Questions

  • How to reduce the UNDO Tablespace

    Hello
    We had an UNDO Tablespace to 22 GB but it's using just 2GB. How to shrink the undo tablespace. We use the database in production cluster 3 node 10.2.0.4
    Is there is way we can worry about UNDO Tablespace or should I create an UNDO tablespace and assign the undo tablespace to DB and let fall the old CANCEL?
    How to ensure that the transactions are done and free to abandon the old CANCEL?
    That's what we must restart all three nodes each node has its own UNDO Tablespace.

    Need help on this issue.

    would appreciate your quick response.


    Thank you

    No you have not.

    concerning
    Mohamed

  • Undo tablespace unable to grow beyond 31 GB.

    Hello

    ORACLE 11g
    Solaris 10
    BS.

    Undo tablespace unable to grow beyond 31 GB. It gives the error message below when importing dump file that contain data of 45 GB.

    ORA-30036: unable to extend segment by 8 in undo tablespace "UNDOTBS1.
    CREATE UNDO TABLESPACE undotbs_02 DATAFILE '+DATA/lims/hdb/undotbs02.dbf' SIZE 100M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED;
    
    SQL> show parameter undo
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    undo_management                      string      AUTO
    undo_retention                       integer     900
    undo_tablespace                      string      UNDOTBS_02
    
    
                                                                 %
    Tablespace Name        KBytes         Used         Free   Used
    ---------------- ------------ ------------ ------------ ------
    *UNDOTBS_02        33,546,240   33,546,240            0  100.0
                     ------------ ------------ ------------
    sum                33,546,240   33,546,240            0
    with similar configuration machine, it works fine with the same dump file. is there something that we are missing?

    concerning
    Sachin

    You came to size max os for your data file. Add more data files to the undo tablespace.

  • ORA-30036: unable to extend segment by string in undo tablespace 'string. '

    Hi hussein/helios,

    EBS 11i
    RHEL 4.6


    Our users in inventory - order management Module, tried to enter and save transactions, but they encounter this error ORA-30036:
    Unable to extend segment by 8 in undo tablespace 'APPS_UNDOTS1'
     in Package OE_ORDER_WF_UTIL Procedure Start_Flow
    After your experience how you adjust this package for a CANCELLATION appropriate? What is the right size for my RETURN? I allow it
    to autoextend? or simply allocate enough space.


    Thank you very much


    Ms. K

    Hello

    accrding to the temp of query operation is not necessary to listen to so.u can add just a data file with the correct measurement value I guess...

    Add more space should be sufficient (as mentioned earlier).

    Thank you
    Hussein

  • Undo tablespace resize error

    The total space of the UNDO tablespace is: 3G and the space used for the tablespace UNDO is only 512M, so about 2.5 G space is free. But when I tried to resize the tablespace undo to 1 G, then its showing the error below:

    ORA-03297: file contains data beyond the requested value of RESIZING

    but the size of the data used is 512 M only.

    Kindly help me to resize the tablespace undo to 1 G.

    Database: Oracle Database 10 g Enterprise Edition Release 10.2.0.2.0 - 64bi

    Please suggest.


    Thanks in advance!

    You cannot resize the undo tablespace. If you try to reduce the size.
    Then add that a tablespace unod can like undotbs2 then set undotbs2 as a default value in your database. Then, slide the previous undo tablespace

    Anil Malkai

  • ORA-30036: unable to extend segment by 1024 in undo tablespace "UNDOTBS1.

    Hi all

    I use version Oracle 9.2.0.1.0. I have a procedure (which has 300 lines due to which I am not posting), compiling fine, but when I'm running, it throws the following error:

    ORA-30036: unable to extend segment by 1024 in undo tablespace "UNDOTBS1.
    ORA-27059: skgfrsz: could not reduce the size of the file
    OSD-04005: SetFilePointer() failure, unable to read the file
    S/O-error: (OS 112) there is not enough space on the disk.
    ORA-27059: skgfrsz: could not reduce the size of the file
    OSD-04005: SetFilePointer() failure, unable to read the file
    S/O-error: (OS 112) there is not enough space on the disk.

    I have no idea about the error please help me.
    Thanks in advance for your ideas.

    You can find the location of the location of the storage space using the command
    Select * from DBA_DATA_FILES

    You must log in as system administrator...

    You can use the ALTER TABLESPACE command to increase the size of the storage space...

  • It will frequently commit resolve ora-30036 (cannot extend the undo tablespace)

    I use 11.2.0.3 database. I confused on the use of validation to resolve ora-30036.

    I have the script in migration once that has many updates and I'm getting ORA-30036 (unable to extend segment by 4 in the "UNDOTBS" undo tablespace) .

    Our undo tablespace in NO mode autoextend and like this is just a one time event, we will not increase it.   He is currently 6 GB.

    We would commit determination ORA-30036 in my case? If not why? Is there a better solution to solve it.


    When I say commit frequent, I won't commit after each line, I just want to commit after may be million lines, so that my active cancellation extend turn into cancellation remaining will extend and Oracle will be able to use it in case of pressure of space.


    Note:

    UNDO_MANAGEMENT: AUTO

    UNDO_RETENTION: 2700

    Undo tablespace retention is NOGAURANTEE.

    I have the script in migration once that has many updates and I'm getting ORA-30036 (unable to extend segment by 4 in the "UNDOTBS" undo tablespace).

    Our undo tablespace in NO mode autoextend and like this is just a one time event, we will not increase it.   He is currently 6 GB.

    Why don't you increase it?

    You must use the correct size of UNDO necessary for the work that will be done.

    A lot of shops to create a for big lots new UNDO tablespace and then switch to it for batch processing. Once the task is completed, they switch back to the normal UNDO. That prevents the normal RETURN of autoextending far where it is normally necessary:

    ALTER SYSTEM SET UNDO_TABLESPACE

  • Undo tablespace increasing

    Hello

    my version of the database is 11.2.0.1.0

    My undo tablespace was approximately 36 GB and 4 GB was about free.

    But now the size decreases and it is falling fast. What I would do. I increased it by another 2 GB. How to monitor it so that I can capture it without resizing again.
    Please guide me.

    Thanks in advance.

    to understand correctly read
    http://blog.oracle48.nl/Oracle-database-undo-space-explained/

  • Undo tablespace full

    Hi all

    OS: Solaris
    DB: 10 G

    My undotablespace had a lot, I should directly resize it or is there something else I should do first?
    One last thing, if I take the bounce of the database, this will affect cancel it?

    Kind regards
    Sphinx

    If you have room for an other undo tablespace, why not make one you have more? Don't forget, one will not be removed until all transactions using this are made.

    There are a few reasons you may need more to cancel the space: you have people leaving the open sessions, you have poor code that uses too or shot himself in the foot, stand too close, autoextend to cancel gourmand or you really need the space.

    Tom Kyte has recommended to keep enough space around it for annual transactions of large batch if you have those. Unfortunately, this means that you do not have the other stuff stupid user. I take an intermediate point of view, keeping a great cancel (it is about half of my db), even though it is barely used most of the time and kill sessions where I can determine that they should not be left open (in other words, people who rarely run stuff from one day to the next day to ask, since most people don't).

    What are the exact errors are you seeing? If this is the code that self-destructs in the foot, no matter how cancel it y a. search for ora-1555 on asktom if that's what you see. What's your retention, what is your guarantee?

  • Undo tablespace continues to grow

    Hello
    My undotbs grows to 14g (even if I have my undotbs actul size 9g) I try to resize the data files, but
    This may not work.

    So, I guess for this task

    >
    -Create a new as undo tablespace:
    SQL > create undo tablespace UNDOTBS2 datafile "< full file path >" size < small >;

    -Change the parameter UNDO_TABLESPACE
    SQL > alter system set UNDO_TABLESPACE = UNDOTBS2;

    -Remove UNDOTBS1
    SQL > drop tablespace UNDOTBS1 including content and data files; >

    but my question is, is he worthy of delete the undotbs1 whose having a lot of data and if I deleted
    These data (undotablespace), I won't be able to completely recover?

    db_version:10.2.0 (Linux)

    There is procedure to drop undo tablespace. If you already increase first then I suggest you to study why his is growing? Check with developers, to monitor the database

  • extending undo tablespace

    Hello world!

    I used this sql to check the status of my storage space.
    SELECT /* + RULE */  df.tablespace_name "Tablespace",
           df.bytes / (1024 * 1024) "Size (MB)",
           SUM(fs.bytes) / (1024 * 1024) "Free (MB)",
           Nvl(Round(SUM(fs.bytes) * 100 / df.bytes),1) "% Free",
           Round((df.bytes - SUM(fs.bytes)) * 100 / df.bytes) "% Used"
      FROM dba_free_space fs,
           (SELECT tablespace_name,SUM(bytes) bytes
              FROM dba_data_files
             GROUP BY tablespace_name) df
     WHERE fs.tablespace_name (+)  = df.tablespace_name
     GROUP BY df.tablespace_name,df.bytes
    UNION ALL
    SELECT /* + RULE */ df.tablespace_name tspace,
           fs.bytes / (1024 * 1024),
           SUM(df.bytes_free) / (1024 * 1024),
           Nvl(Round((SUM(fs.bytes) - df.bytes_used) * 100 / fs.bytes), 1),
           Round((SUM(fs.bytes) - df.bytes_free) * 100 / fs.bytes)
      FROM dba_temp_files fs,
           (SELECT tablespace_name,bytes_free,bytes_used
              FROM v$temp_space_header
             GROUP BY tablespace_name,bytes_free,bytes_used) df
     WHERE fs.tablespace_name (+)  = df.tablespace_name
     GROUP BY df.tablespace_name,fs.bytes,df.bytes_free,df.bytes_used
    ORDER BY 4 DESC;
    It shows that my undo tablespace has only 3% of space left.

    I simply run this SQL command, but the result is always the same.
    SQL> alter database datafile 'c:\ORACLE\DATA\PRODUCTION\DATAFILE\O1_MF_UNDO.DBF' autoextend on maxsize 50M;
    
    Database altered.
    I mistakenly thought that the size of the existing file is less than 50 M.

    But then, realized the unused (3%) is 50 M.

    How can I increase the size of the file now.

    Please guide me.

    The command that I published will have a negative impact?

    Thanks in advance.

    Nith

    Hello

    What is your current undo tablespace now?
    You can use the ALTER DATABASE statement. DATAFILE statement to resize or extend a data file
    you issue this:

    SQL > alter database datafile ' c:\ORACLE\DATA\PRODUCTION\DATAFILE\O1_MF_UNDO. DBF' autoextend on maxsize 50 M;

    If it stops when it reaches 50 m.

    You can try below:

    SQL > alter database datafile ' c:\ORACLE\DATA\PRODUCTION\DATAFILE\O1_MF_UNDO. DBF' autoextend on next 1 m maxsize unlimited;

    You must set the maxsize value according to your availability of storage.

    BR,
    mrak

  • Unable to shrink the vista partition

    I have 200 GB of space free, but unable to shrink the partition through computer management. In the space to shrink, it shows 0.

    Thank you

    I have 200 GB of space free, but unable to shrink the partition through computer management. In the space to shrink, it shows 0.

    Thank you

    If you try to reduce the drive C please follow the steps below

    Shrink C: drive using the command prompt

    ===========================

    1. click the Start button, and then in the "Search" box type CMD.

    2 in the list above, under 'Programs', then right-click on CMD appears above and choose 'Run as administrator' and click 'continue '.

    3. in the opened window, type the following commands one by one and press ENTER after each command:

    C:

    CD %windir%\system32

    DiskPart

    the list volume

    Note: After you run the command 'list volume', it shows all the partition.

    Select the volume

    Note: Please replace the "" for the volume number of the C drive. For example, if drive C volume number is 2, we execute the command 'select volume 2 ".

    Shrink desired =

    Note: Please replace the "" disk space you want to reduce. After running the command, it will shrink MB of free space on drive c. (1 GB = 1024 MB)

    After the arrival of process control, restart the computer and check if we have shrunk the C drive successfully.


    If the problem persists C: drive shrink mode safe

    ======================

    1. reboot your computer and start pressing F8 on your keyboard. On a computer that is configured to start to multiple operating systems, you can press the F8 key when you see the boot menu.

    2. when the Windows Advanced Options menu appears, select Safe Mode, and then press ENTER.

    3 log on to Windows by using the administrator account or any account of a user with administrator privileges.

    After the system in Mode safe start, please try to shrink C: once again in fashion without failure.

    If this post can help solve your problem, please click the 'Mark as answer"If you find it useful, mark it as useful by clicking the 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • laptop computer (HDD 320GB) with windows 7-64 bit OS.iam unable to shrink the drive c less than 155 GB

    Hello Sir,

    recently I bought the laptop (320GB hard drive) with windows 7-64 bit OS.iam unable to shrink less than 155 GB c drive please help me. I want to reduce this to 90 GB

    Its also the case that win7 takes only supported 4 basic partitions and you can't mention what Disk Management displays for drive 0.

    And also if a pre-installed version of victory, if you manage to create partitions and at a later date, you will need to use your recovery disks, that may well destroy all created partitions.

    For what reason you want to partition?

  • Transaction is written to the log file and it is not written to undo tablespace. During a failure of the system how oracle rolls back the transaction.

    Hi all

    My question is:

    Transaction is written to the log file and it is not written to undo tablespace.

    During a failure of the system how oracle rolls back the transaction.

    I have already provided the answer, you ignored if well (you seem to only read the responses by people of your country).

    Redo log is always written * first * before * writing to the data block (redo log writing is much more aggressive). So it DOESN 'T MATTER if you lose these scriptures of rollback segment.

    Valuation: rear roller followed by roll forward, using redo log files and/or archive redo log files.

    Sybrand Bakker

    Senior Oracle DBA

  • How to UNDO tablespace size?

    As legend. Thank you!

    An UNDO tablespace sizing requires three data items.

    (UR) UNDO_RETENTION in seconds
    (UPS) Number of undo the blocks of data generated per second
    (DBS) Overhead varies on position and size of the file (db_block_size)

    The necessary cancellation space is calculated as:

    UndoSpace = HEART * (UPS * DBS)

    read the Doc ID 262066.1 it has retail formula.

Maybe you are looking for