|
|
teachmeoracle.com Site Dedicated to Oracle Apps DBA's
|
|
|
|
For Quality Online Oracle Apps 11i/R12 training (DBA, Apps DBA, PL/SQL, OA Framework, Payroll and many more) visit focusThread.com/training
|
| View previous topic :: View next topic |
| Author |
Message |
Mahesh Junior Member

Joined: 07 Aug 2007 Posts: 36 Location: Chennai
|
Posted: Mon Jun 02, 2008 6:15 pm Post subject: Fragmentation |
|
|
Hi,
Can anyone tell me how to check whether fragmentation has occured or not and how to resolve it.. |
|
| Back to top |
|
 |
arshad_onlyne Active User

Joined: 25 Nov 2006 Posts: 609
|
Posted: Sat Jun 14, 2008 4:58 am Post subject: ok |
|
|
this is area where iam weak ,told by microsoft
so any ideas guys |
|
| Back to top |
|
 |
arshad_onlyne Active User

Joined: 25 Nov 2006 Posts: 609
|
Posted: Wed Jul 09, 2008 5:56 am Post subject: ok |
|
|
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 |
|
 |
SubbaRao Member of The Month

Joined: 13 Nov 2006 Posts: 902
|
Posted: Fri Jul 11, 2008 8:40 am Post subject: |
|
|
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 |
|
 |
|
|
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
|
|
|
|