Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

   
 

Oracle Tablespace Free Space

Oracle Tips by Burleson Consulting

The Data Warehouse Development Life Cycle

Oracle Features for the Data Warehouse

Tablespace Reorganization

Also in Oracle 7.3 is a new dictionary view, DBA_FREE_SPACE_COALESCED, that provides details about the number of extents, bytes, and blocks that have been coalesced in each tablespace.
The following query will display coalesce information:

SELECT
tablespace_name,
bytes_coalesced,
extents_coalesced,
percent_extents_coalesced,
blocks_coalesced,
percent_blocks_coalesced
FROM
sys.dba_free_space_coalesced
ORDER BY
tablespace_name;


To change all tablespacesí PCTINCREASE from 0 to 1 so that tables will automatically coalesce, run the script in Listing 8.17.

Listing 8.17 coalesce.sql changes all tablespaces with PCTINCREASE not equal to one.

rem written by Don Burleson

set linesize 132;
set pagesize 999;
set feedback off;
set verify off;
set heading off;
set termout off;

spool coalesce;

select
'alter tablespace '||
tablespace_name||
' storage ( pctincrease 1 );'
from dba_tablespaces
SEE CODE DEPOT FOR FULL SCRIPT
pct_increase = 0;

spool off;

set feedback on;
set verify on;
set heading on;
set termout on;

@coalesce.lst


This is an excerpt from "High Performance Data Warehousing", copyright 1997.


 
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.
��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.