Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Performance & Tuning >> Tablespace fragmentation

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: Tablespace fragmentation
 balaji  Posted: Jun 25, 2008 05:02:53 PM

 Total Post: 150
 Joined: May, 2008






 
Dear all,

i can find ist of tablespace name which shows fragmentation information from the view dba_free_space.

but i want to know the condition required to tune the tablespace and table fragementation.

can anybody help me out??


 Gitesh
Posted: Jun 26, 2008 01:02:33 AM  

 Total Post: 322
 Joined: May, 2005






 
You got from dba_free_space then it indicates user dropped so many objects from database. If this type of sceniro is true then create different tablespace for high volatile tables.

If responce becomes too slow then you can consider fragmentation. At present locally managed tablespace with system allocation uses bitmap in the datafile. It will automatically coalase this space and allocate next available space to table object.

If object fragmentation is there then you should need to re-create or rebuild object it is highly recommended.


 positive
Posted: Jun 27, 2008 05:18:19 PM  

 Total Post: 483
 Joined: Jun, 2008






 
Try enabling row migration using;

SQL>alter table tablename enable row movement;

REbuild indexes using;

sql>alter index index-name rebuild online;

Alter table,index,materialized view,materialized view log using shrink space clause that coalesces space.

eg:

sql>alter table tablename shrink space;



 positive
Posted: Aug 11, 2008 09:12:41 PM  

 Total Post: 483
 Joined: Jun, 2008






 
http://neworacledba.blogspot.com

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi335
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software