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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:44:58+00:00 2026-05-10T23:44:58+00:00

I have noticed in phpMyAdmin you can click ‘optimise’ on tables, and it runs:

  • 0

I have noticed in phpMyAdmin you can click ‘optimise’ on tables, and it runs:

OPTIMIZE TABLE table_name 

What does this actually do?

Should I have some cron job running daily that runs OPTIMIZE TABLE on my tables?

Thank you

  • 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. 2026-05-10T23:44:59+00:00Added an answer on May 10, 2026 at 11:44 pm

    From InformIT

    An optimized table structure is different than a well-designed table. Table structure optimization has to do with reclaiming unused space after deletions and basically cleaning up the table after structural modifications have been made. The OPTIMIZE SQL command takes care of this, using the following syntax:

    OPTIMIZE TABLE table_name[,table_name] 

    Think of it like defragging your tables. A cron job might be a good idea, but do it during low/no load as it locks the tables.

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

Sidebar

Related Questions

Have noticed this a fewtimes when I'm piping something into sed which does not
I have noticed a number of kernel sources that look like this (found randomly
I am running Blogengine.Net and have noticed that the tables are all created lower
I have a large mysql table and I just noticed an issue when trying
I have noticed this weird behavior in firefox, it seems like font have some
I have noticed that in BB app, when I click on share info via
I've noticed that in PHPMyAdmin I can individually index columns or I can use
I have noticed a strange behaviour of a str_replace function. Can you tell me
I have noticed that this works in dev mode (testing on the simulator, etc):
I have noticed is that when I click every tab its value is not

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.