Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
 Phone
 800-766-1884
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

Privacy Policy

 

   
  Oracle Tips by Burleson

OCP Instructors Guide for Oracle DBA Certification

Chapter 5 - Oracle Database Objects

Resizing Redo Logs

The administrator’s guide states that each database should have at least three groups of redo logs with each group having at least two members each. In addition, Oracle recommends that all redo log group members be the same size.

If your redo log sizes are too small (or too large), they can be easily resized while the database is up and running. The steps to resize the redo logs are as follows:

  • Determine how quickly the logs are switching by checking the database’s alert log or the v$log_history view.
     

  • Create a dummy redo log group containing one member. The size of the redo log group member should be large enough to give you enough time to complete the alterations below. 15 to 30 minutes should be enough time.
     

  • Use the ALTER SYSTEM SWITCH LOGFILE statement to make the dummy the active log group. Use the view v$log to determine which group is active. Keep switching and checking until the dummy group becomes active.
     

  • Drop the first redo log group (ALTER DATABASE DROP LOGFILE….) and then recreate the redo log group (ALTER DATABASE ADD LOGFILE….). If you try to drop a group that has become active for whatever reason, rest assured that Oracle is smarter than you are in this case and will prohibit you from doing so.
     

  • Repeat the previous step until all of the permanent redo log groups have been resized.
     

  • Drop the dummy log group by executing the ALTER DATABASE DROP LOGFILE… statement.

All of the Oracle certification tests will have numerous questions on redo logs.  Test candidates should have a strong knowledge of redo and archived redo logs including:

  • How the Oracle environment uses redo logs
     


The above text is an excerpt from:


OCP Instructors Guide for Oracle DBA Certification
A Study Guide to Advanced Oracle Certified Professional Database
Administration Techniques

ISBN 0-9744355-3-8

by Christopher T. Foot
 

http://www.rampant-books.com/book_2003_2_OCP_print.htm


Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2016 by Burleson. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks