MySQL Forums
Forum List  »  InnoDB

Database size increased when I delete huge data
Posted by: Takashi Horita
Date: November 02, 2017 12:51AM

I have a problem when I delete huge data.

Situation:
I use contents management system to manage our contents. The system use MySQL as a database.

Problem:
Database size has increased when I had deleted over 300,000 contents. I made javascript program and delete contents via Rest API. I don't have knowledge to operate SQL databae, so I made javascript program and operate database via Rest API.
Database size has increased from 1.8GB to 7GB. I checked what file has increased. A file "/var/lib/mysql/ibdata1" has increased.

What I want to do:
I want to modify the javascript program that use Rest API or change MySQL settings so that database size will not increase. But I don't know how I can do it.

If someone know the solution, could you tell me the solution?

Options: ReplyQuote


Subject
Views
Written By
Posted
Database size increased when I delete huge data
2282
November 02, 2017 12:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.