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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:33:10+00:00 2026-06-02T23:33:10+00:00

I was trying to run OPTIMIZE TABLE on a that’s about 200GB 1billion record

  • 0

I was trying to run OPTIMIZE TABLE on a that’s about 200GB 1billion record big, but couple second after the operation, I was giving a sort_buffer_size too small error and now the table showing as 0 row in phpmyadmin, and still have 200gb in size. I can’t read anything from it.
Tried to bump the sort_buffer_size to 1gb and ran the OPTIMIZE again, but the operation is done in seconds with no success in restoring….

Now I start running REPAIR TABLE. Since this is probably gonna take days to complete, I just want to make sure I am heading in the right direction before wasting time on it. Seems to me the key file is broken? Anyone with similar experience that could help would be greatly appreciated!!

  • 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-02T23:33:11+00:00Added an answer on June 2, 2026 at 11:33 pm

    To answer my own question if anyone happened to had stupid things happened like me.
    Yes repair table works, and to make it quick use REPAIR TABLE name QUICK to just quickly rebuild the key without touching other stuff in the table. 300mil record took me 1 day to finish.

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

Sidebar

Related Questions

I've been trying to optimize a numeric program of mine, and have run into
Trying to run Jison unit tests, but the command fails. How do I fix
I've trying to optimize a query on MySQL that takes around 15-20 seconds to
I am trying to optimize my code to make run as fast as possible
I am trying to optimize a class that serializes objects in binary format and
I am trying to run this query on http://dbpedia.org/sparql but I get an error
I'm currently trying to optimize my website, which is run on the Google App
I am making a data intensive web application that I am trying to optimize.
I'm trying to optimize a query so I plugged it into LINQPAD but I
I'm trying to make a select statement that joins results from three in-line 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.