Database Object Fragmentation in Oracle

If a table or index becomes fragmented (not continuous on disk) performance can decrease. You can see which objects have over 10 extents with:


select * from dba_segments where extents > 10;

If it is more than 10 it is a candidate for rebuilding.


To rebuild a table:

- Export the table (with compress=Y)
- Drop the table
- Import the table



To rebuild an index:

- Use Flex2SQL to drop and recreate it. Possibly hand crafting the 'next' storage parameter



Recommendation:
 Inform customers to check their tables that have possible performance and if they do, recreate them.

 

Why Migrate from Btrieve to PostgreSQL and other Relational Databases?

Why Migrate from Btrieve to PostgreSQL and other Relational Databases?

Introduction Many independent software vendors (ISV) and corporate users still rely on applications that use a category of database collective called...

Read More
Four Challenges in Converting COBOL Applications from ISAM Databases to Relational Databases

Four Challenges in Converting COBOL Applications from ISAM Databases to Relational Databases

COBOL applications are the foundation of numerous essential business functions, especially within the banking, insurance, and government sectors....

Read More
Application Modernization 101: Ultimate Guide to Digital Transformation

Application Modernization 101: Ultimate Guide to Digital Transformation

Imagine breaking free from the constraints of old, monolithic systems and embracing the agility and innovation of cloud-based solutions.

Read More