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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:34:52+00:00 2026-05-29T11:34:52+00:00

I have an extremely large db table (around 30GB data file), and I started

  • 0

I have an extremely large db table (around 30GB data file), and I started optimizer on it with

mysqlcheck --optimize -A

Now, it’s already taken more than 2 hours, and I’m not sure when it’s going to finish. Would it result in data loss if I prematurely kill the job, because I want the table to be unlocked urgently?

  • 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-29T11:34:54+00:00Added an answer on May 29, 2026 at 11:34 am

    In order to remove this from the “unanswered” list…

    “Nope! It will NOT result in data loss if you prematurely kill the job, given your post facto confirmation that it did, indeed, not do so.”

    That said, when MySQL optimizes a table, it creates a new table in the process. The downside is that you sometimes cannot optimize a large table when you belatedly realize that it’s consuming too much of the available hard disk space. The upside is that you can kill it prematurely without data loss.

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

Sidebar

Related Questions

I have an extremely large picture of a map. Now I want to create
I have a database in production with one table that has grown extremely large
I have an extremely large database table - nearly 20 million records. The records
I have an extremely large XSL file to transform XML into CSV. Bascially, the
What I have is an extremely large text file that needs to go into
I have a SQL script which is extremely large (about 700 megabytes). I am
We have a large table, with several indices (say, I1-I5). The usage pattern is
I've been a web developer for some time now, and have recently started learning
Here's what I'm trying to do. I have an extremely large list of items.
This is more a conceptual question. It's inspired from using some extremely large table

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.