Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

resizing rollback segments

Posted on 2011-03-21
4
567 Views
Last Modified: 2013-12-19
I have SUN Solaris 10 - Oracle 10.2.4
I tried using auto undo but performance was horrible - my Friday night archive never finished.
It ran for over 24 hours instead of 3 or 4 hours.

So I have put undo back to manual.
I want to resize the rollback segments to make them bigger.

1. Can I do this on the fly with production up and running.
2. How do I ensure that there is nothing being lost if I take a segment offline, drop it and recreate it?
3. initial and next are currently set 20 8k with optimal at 16k  - would 10 or 15k initial/next be better?
0
Comment
Question by:bkreynolds48
  • 2
4 Comments
 
LVL 74

Expert Comment

by:sdstuber
ID: 35182709
force several log switches, wait until "archived" becomes yes, then drop and recreate before the looping cycles back around to the one you're working with
0
 
LVL 34

Accepted Solution

by:
johnsone earned 500 total points
ID: 35182874
We are talking about rollback/undo segments, not redo.  Rollback/undo never gets to an archived status.

Yes, you can do this on the fly with production up and running.

Do not worry about losing information in offline segments.  Oracle will not let you drop the segment if there is a transaction that is using it.

I would still suggest that you do this when no large jobs are running.  There is a possibility you could create an artificial ORA-01555 because of dropping a segment.

Be sure when you are done dropping and creating the segments that you update the rollback_segs parameter.
0
 
LVL 74

Expert Comment

by:sdstuber
ID: 35183147
oops, right,

  read undo but put redo in my head

nevermind my post.

0
 
LVL 1

Author Closing Comment

by:bkreynolds48
ID: 35197759
Thanks and sorry for the delay my car engine blew yesterday while I was out of town.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Get the parent node - XMLTYPE 9 98
Oracle query output question 4 47
Oracle - SQL Parse String 5 45
oracle forms question 22 40
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question