BC remote Oracle DBA - Call (800) 766-1884
Free Oracle Tips

Oracle Consulting Oracle Training Development

Remote DBA

 

Remote DBA Plans
Remote DBA Service

 
Remote DBA Oracle Home
Remote DBA Oracle Training
Remote DBA SQL Tuning Consulting
Remote DBA Oracle Tuning Consulting
Remote DBA Data Warehouse Consulting
Remote DBA Oracle Project Management
Remote DBA Oracle Security Assessment
Remote DBA Unix Consulting
Burleson Books
Burleson Articles
Burleson Web Courses
Burleson Qualifications
Oracle Internals Magazine
Oracle Links
Remote DBA Oracle Monitoring
Remote DBA Support Benefits
Remote DBA Plans & Prices
Our Automation Strategy
What We Monitor
Oracle Apps Support
Print Our Brochure
Contact Us (e-mail)
Oracle Job Opportunities
Oracle Consulting Prices





   

 

 

 

 
 

Oracle Tablespace Read-Only

Oracle Tips by Burleson Consulting

The Data Warehouse Development Life Cycle

Oracle Features for the Data Warehouse
After we have packed the row data and the indexes within their respective tablespace, we can now alter the tablespaces to make them read-only. Once the tablespace has been altered to become read-only, a single backup can be used for all future recovery. Unlike ordinary tablespaces, online backups never need to issue the ALTER TABLESPACE FACT_96 BEGIN BACKUP commands. During startup of an Oracle instance, Oracle verifies that a tablespace is in read-only mode and recognizes that it does not need any media recovery. In short, a recovery of an Oracle data warehouse will only consist of applying the redo logs against those tablespaces that were in update mode. This greatly simplifies database recovery for a very large Oracle warehouse. This technique also allows a tablespace to avoid the time consuming overhead of writing to the online redo logs since roll-forward operations are performed by re-running the nightly update routines. In addition read-only tablespaces will never write to the database file headers, saving system I/O.

With Oracle version 7.1 and above, any Oracle tablespace may be made read-only by issuing the alter tablespace command.

SVRMGRL > shutdown;

SVRMGRL > startup restrict;

SVRMGRL > alter tablespace warehouse_one read only;

SVRMGRL > alter database open;


Note: In order to change the status of a tablespace, the Oracle database must be quiesced. That is, there must be no active transactions running against the tablespace at the time that the alter tablespace command is issued. In the above example, we have shutdown Oracle and started in database in restricted mode.



If you like Oracle tuning, you may enjoy the book Oracle Tuning: The Definitive Reference , with over 900 pages of BC's favorite tuning tips & scripts. 

You can buy it directly from the publisher and save 30%, and get instant access to the code depot of Oracle tuning scripts.

Expert Remote DBA

BC is America's oldest and largest Remote DBA Oracle support provider.  Get real Remote DBA experts, call
BC Remote DBA today.

 

 

Remote DBA Service
 

Oracle Tuning Book

Free Oracle dictionary reference poster

BC Oracle support

Oracle books by Rampant

Oracle monitoring software

North Carolina Oracle Users Group

 

 Arabian horse breeder

Seeing eye horses

 

 

Burleson is the American Team

American Flag

 

 

BC Remote Oracle Support
P.O. Box 511 • Kittrell, NC, 27544

Remote DBA

Remote DBA Services

 

Copyright © 1996 -  2011 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.



Hit Counter