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

  • SEARCH
  • Home
  • 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 7748847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:53:23+00:00 2026-06-01T10:53:23+00:00

Recently We started on optimizing a database which never followed any standards. We though

  • 0

Recently We started on optimizing a database which never followed any standards.
We though to do the following.

    clean up of unused tables.
    optimizing data types and indexes.
    tuning slow queries. 
    evaluating my.cnf configurations with mysqltuner.pl and similar ones

In this process i come across OPTIMIZING fragmented tables.
What is this fragmented table and how does this will impact the functionality and performance.
Why should i run OPTIMIZE on these tables…?

I believe this will not impact the functionality at all. please correct me if not.

Thanks in advance for the replies.
Regards,
UDAY

  • 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-06-01T10:53:25+00:00Added an answer on June 1, 2026 at 10:53 am

    When you delete records (or update them to become smaller), the table will have “holes”, chunks of empty data, in it. Those will be filled with new data if it fits in the holes, but depending on how you use the table, there may be a significant amount of wasted space remaining. This is not good because you now need to read more blocks from the disk for the same amount of useful information.

    Running the optimize command on these fragmented table will move the records around to get rid of the holes in the table.

    After doing massive maintenance or update operations (such as bulk deletes) it is usually a good idea to do that.

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

Sidebar

Related Questions

I recently started learning JavaFX. At the moment I can't build any JavaFX project
I recently started backend programming with Java servlets to access data for intranet webapps.
I recently started using LINQ to SQL in my database later for a C#
I recently started with MySql, so i might be doing a begginers mistake. Any
I recently started on creating a 'game' using PHP and a mysql database. In
We recently started getting the following error message in TFS 2010 automatedd builds: C:\Builds\1\MyProject\MyProject
I recently started following the online course on iPhone development from Stanford University on
I recently started with WCF ( yeah I know I am behind :-) ).
I recently started using lcov to visualize my code coverage. It's a great tool.
I recently started with the 'Agile web development with Rails' book by pragmatic programmers

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.