DBAsupport.com Forums - Powered by vBulletin
Results 1 to 8 of 8

Thread: resize rollback segemnt

  1. #1
    Join Date
    Sep 2000
    Posts
    305
    hi

    I want one help from all of you friends I have a rollback segment data file having occupying huge space, I do not want that much space now i want to reduct that space how do i reduce?

    I WANT TO RESIZE THE ROLLBACK SEGMENT DATA FILE.

    Thanks in advance
    Shailendra

  2. #2
    Join Date
    Jul 2002
    Posts
    132
    U can simply drop this rollback segment and create a new one with a smaller size

  3. #3
    Join Date
    Jan 2002
    Location
    Netherlands
    Posts
    1,587
    Something like this.........
    Code:
    alter rollback segment xyz offline;
    drop rollback segment xyz;
    alter database datafile '/blah/dbs/xyz.dbf' resize 100M;
    create rollback segment xyz
    storage ( initial 1024k next 1024k minextents 20 ) tablespace rbs;
    alter rollback segment xyz online;
    Should help.

    Cheers!!
    Tarry Singh
    I'm a JOLE(JavaOracleLinuxEnthusiast)
    TarryBlogging
    --- Everything was meant to be---

  4. #4
    Join Date
    Sep 2000
    Posts
    305
    I have tried the above syntax but I am getting this error

    ORA-03297: file contains used data beyond requested RESIZE value

    Shailendra

  5. #5
    Join Date
    Sep 2001
    Location
    Düsseldorf, Germany.
    Posts
    588
    That means there are few more segments above the requested size...

    either drop those segments or resize at higher value...

    Sameer


  6. #6
    Join Date
    Aug 2002
    Location
    Bangalore, India
    Posts
    405
    Originally posted by shailendra
    I have tried the above syntax but I am getting this error

    ORA-03297: file contains used data beyond requested RESIZE value

    Shailendra
    Drop all the RBS in that tablespace and try resizing.
    -nagarjuna

  7. #7
    Join Date
    Sep 2000
    Posts
    305
    When I try to resize it more then what it had then it is working but when I try to reduce it, it is not working.


    Shailendra

  8. #8
    Join Date
    May 2002
    Location
    USA
    Posts
    462
    try this command
    alter rollback segment ... shrink;

    and then try to reduce the datafile .

    siva prakash
    DBA

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