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 922087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:58:16+00:00 2026-05-15T18:58:16+00:00

I recently inherited a poorly maintained production database with heavily fragmented indexes (most of

  • 0

I recently inherited a poorly maintained production database with heavily fragmented indexes (most of the indexes with more than 80% fragmented). I requested downtime with my manager to perform Index rebuild, but unfortunately downtime is not allowed at the moment. If online Index reorganize too is not option, can I do the following?

  1. Restore a fresh production copy to a test instance
  2. Rebuild Indexes, update statistics
  3. Overwrite the prod database from test instance
  4. Apply transaction logs to get the database.

Though the above method too requires downtime, but its relatively less. I wanted to know whether one can do this or I am just being stupid 🙂 Please advise

RK

  • 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-15T18:58:16+00:00Added an answer on May 15, 2026 at 6:58 pm

    If most of the application’s access is via seeks, then the fragmentation is not a problem. Otherwise I’d try to find some time in which the index rebuild will have minimal effect, and do it via a scheduled job. Surely the application isn’t running 24/7/365 with poor maintenance, without the company expecting some problem to occur. (Do they change the oil on their cars?)

    As far as your 4 step solution, copying the table to another database, rebuilding the index, and copying it back won’t accomplish anything more than just rebuilding the existing index. On copying it back the index is rebuilt anyway, so just try and schedule a couple of tables at a time, until you get everything done.

    Good luck.

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

Sidebar

Related Questions

I've recently inherited a system that relies heavily on an EAV database structure, and
I've recently inherited the maintenance of a big, ugly codebase for a production website.
Recently I inherited a database from another programmer (created / stored with SQL Management
I've recently inherited a database driven e-commerce site written in C# ASP.Net, with an
I have recently inherited a large project using an sqlite3 database and currently I
I recently inherited a small Java program that takes information from a large database,
I recently inherited a database on which one of the tables has the primary
I've recently inherited the job of maintaining a database that wasn't designed very well
I recently inherited an iPhone app. The original developer did not understand memory management
I recently inherited a Ubuntu Hardy box that acts rather funky out-of-the-box. The first

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.