• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Large mysql log file

Franco

Regular Pleskian
Hello,

I have detected a 545MB file named /var/lib/mysql/bdd_mamps/dcha_ydbs2dn__itsec_logs.ibd
What is it, please, and how can I reduce it or eventually purge it?

Running latest Plesk Obsidian on CentOS 7.8

Regards
 
This seems to be a table and not a log file.
Check if you have a database called bdd_mamps and if yes you should have a table called dcha_ydbs2dn__itsec_logs
 
Well, after some research I found out that ibd files are indexed files created by mysql. That one is particularly large due to a large table of a WP plugin. All ok then. Btw, that could be a way of identifying particularly large tables without browsing to all the databases. And I am sure there must be some queries that do that, mine is just a simple workaround.
 
One way to find for example the top 5 biggest ibd tables would be:

Code:
# find /var/lib/mysql/ -type f -iname *.ibd -exec du -s {} + | sort | head -n5
This should correlate to the biggest tables AFAIK (not 100% sure tough)
 
Back
Top