Database size increased when I delete huge data
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?
Subject
Views
Written By
Posted
Database size increased when I delete huge data
2315
November 02, 2017 12:51AM
1160
November 02, 2017 11:11AM
828
November 02, 2017 09:14PM
990
November 02, 2017 09:20PM
Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
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.