Fragmentation in SQL Server

Fragmentation:- Fragmentation can be defined as condition where data is stored in a non continuous manner. This article help in understanding the fragmentation in SQL Server. It can be defined into two types1. Internal Fragmentation
2. External Fragmentation

Internal Fragmentation:- In this fragmentation, there exists a space between the different records within a page. This is caused due to the Insert, delete or Update process and due to this Index takes more space than it needs to and it result in more read operation during scanning. It can also be caused due to the low value of fill factor of the page which determine how much % of the page should be used for storing the records.

External Fragmentation:- In this fragmentation, the extents of the table is not physically stored continuously on the disk which causes the jump from one extent to another extent which takes longer time.

Both the fragmentation can be resolved by Rebuilding or Reorganization of the indexes of the tables.

For Rebuilding or Reorganization of the indexes , please refers the below link:

About vivekjohari

Database Consultant with more than 11.5 years of experience in database designing & programming and DBA related activities.  Had good experience on different databases like SQL Server, MySQL & Oracle, Azure SQL &  Big Data.
This entry was posted in SQL Indexes, SQL Server and tagged , . Bookmark the permalink.

2 Responses to Fragmentation in SQL Server

  1. admin says:

    Thanks Vijila for your valuable comments

  2. kartheek_16 says:

    Hi vivek any openings for SQL DBA

Leave a Reply