Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 453471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T22:10:32+00:00 2026-05-12T22:10:32+00:00

Our production database needs daily index defragmentation on one of its tables. The table

  • 0

Our production database needs daily index defragmentation on one of its tables. The table has several indexes and one of them will get to 90% fragmentation each day.

The index is on two date fields ( a start time and an end time).

We do not get this problem on our development database although this obviously has a much lower throughput.

Each night we have a maintenance task scheduled to do a defrag but this sometimes needs to be run during office hours.

The table currently has 250,000 records and grows by about 500 to 3000 records a day.

Any ideas on why it is getting fragmented so quickly?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T22:10:32+00:00Added an answer on May 12, 2026 at 10:10 pm

    You can change the fill factor of the index to reduce fragmentation.

    The default fill factor value is 0, which is basically treated as a fill factor of 100%, i.e. there is no extra space reserved for inserting new index records. This is ideal if you only add index records at the end of the index (like an identity field), but not if you insert records in the middle.

    You can set the fill factor to 80% for example, that will reserve 20% free space in each index page for inserting new index records.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our production database as grown to a size where several of our longer running
In our project we have several production databases and many devs. Each production database
We have recently improved the schema of our production database, changing column names and
Our users log into the production database as a fairly low-level user, with SELECT
We have been storing our staging database on the production database server with the
Our database schema is stored in a single file that is intended for production
We are currently using JDeveloper to build our production EARs. One problem with this
On production our database is a few hundred gigabytes in size. For development and
I am trying to update database fields from one SQL Server table to another.
I need to know the most efficient way to move our production database into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.