Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects simply to a non-technical, business audience. Over…
In SQL Server, the basic
unit of storage is a leaf-level page. The fill factor determines what percentage of space on each page to fill with data. The fill
factor value can be defined as a percentage from 1 to 100. Values of 0 and 100 are
the same in all respects; both values indicate that the page is completely
filled with data, and the default value is 0. If some other value is specified as the fill factor, for example 70, then it means that 70 percent of the leaf-level
page is filled and 30 percent is left for future data. Therefore, if the fill factor is less than 100, then the remaining space is utilized for future data
Fill factor is very important for database performance. It determines how the leaf-level data is stored and
organized. A proper fill factor setting can improve database performance. Fill
factor can be set in two ways: one is a generic fill factor set at server level,
applied to all tables and indexes. It can also be set at an individual table/index
level. For example, if the fill factor is set to 60 percent, then 60 percent of the page is
filled with data and the remaining 40 percent will be saved for future data growth. Then, if new relevant data comes in which belongs to the same page, it is
first saved within that 40 percent space.
However, if the page is completely filled, then the new data is accommodated
by a page-split process. In a page split, the data is divided into two
pages to accommodate the new data. Page splitting reduces database performance, as
the retrieval of scattered data is expensive. There is no perfect formula to
set a correct fill factor, but it varies for different applications and should
be decided based on requirements.
Techopedia’s editorial policy is centered on delivering thoroughly researched, accurate, and unbiased content. We uphold strict sourcing standards, and each page undergoes diligent review by our team of top technology experts and seasoned editors. This process ensures the integrity, relevance, and value of our content for our readers.
Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.
What is MariaDB? MariaDB is an open source, relational database management system (DBMS). MariaDB is licensed under the GNU General...
Margaret RouseTechnology Expert
What Does Microsoft Certified Database Administrator (MCDBA) Mean? A Microsoft Certified Database Administrator (MCDBA) is an individual who has passed...
What Does Analytics Processing Unit (APU) Mean?An analytics processing unit (APU) is a dedicated System on Chip (SoC) for optimizing...
Trending NewsLatest GuidesReviewsTerm of the Day