teachmeoracle.com
Site Dedicated to Oracle Apps DBA's
 
    SearchSearch    ProfileProfile    RegisterRegister   Log inLog in 
For Quality Online Oracle Apps 11i/R12 training (DBA, Apps DBA, PL/SQL, OA Framework, Payroll and many more) visit focusThread.com/training

Fragmentation

 
Post new topic   Reply to topic    teachmeoracle.com Forum Index -> Apps Interview Questions
View previous topic :: View next topic  
Author Message
Mahesh
Junior Member
Junior Member


Joined: 07 Aug 2007
Posts: 36
Location: Chennai

PostPosted: Mon Jun 02, 2008 6:15 pm    Post subject: Fragmentation Reply with quote

Hi,

Can anyone tell me how to check whether fragmentation has occured or not and how to resolve it..
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
arshad_onlyne
Active User
Active User


Joined: 25 Nov 2006
Posts: 609

PostPosted: Sat Jun 14, 2008 4:58 am    Post subject: ok Reply with quote

this is area where iam weak ,told by microsoft

so any ideas guys
Back to top
View user's profile Send private message
arshad_onlyne
Active User
Active User


Joined: 25 Nov 2006
Posts: 609

PostPosted: Wed Jul 09, 2008 5:56 am    Post subject: ok Reply with quote

fragmentatin is automatically achieved by SMON background process if u r using dictionary managed tablespace or else u can manually coalesce free space using

alter table table_name coalesce;

the table created must be belonging to dictionary managed tablepace and also this dictionary tablespaec must not have PCTINCREASE=o or else coalescing is not possible bcoz INITIAL=MINEXTENTS=MAXEXTENTS
Back to top
View user's profile Send private message
SubbaRao
Member of The Month
Member of The Month


Joined: 13 Nov 2006
Posts: 902

PostPosted: Fri Jul 11, 2008 8:40 am    Post subject: Reply with quote

What is fragmentation:
If any table is getting inserted with new records,
we dont find any fragmentation. Fragmentation comes with updates and deletes in a table. When we delete, the space which freed up is not
immediately re-used. This leads to holes in table,results in
table fragmentation. same case to updation also.

When you have locally managed tablespaces with uniform extents or automatic segmentspace management, there is no
question of fragmentation.

You will get fragmentation when you are using disctonary managed tablespaces.


How to resolve table fragmentation:

(a) Export the table, drop the table and import again

or

(b) altere table move tablespace < New tablespace Name>

There are so many other things that you need to understand

Check the following asktom link

http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1295801859138


Hope it helps,

Good Luck,

Regards,
Subbu
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    teachmeoracle.com Forum Index -> Apps Interview Questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by becomeAppsDBA.blogSpot.com © 2006, 2007 TeachMeOracle Group