PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, March 18, 2022

[FIXED] Why wp-options table is 60GB but backup is 24Mb

 March 18, 2022     mysql, wordpress     No comments   

Issue

After Deleting Transients. Cleaning autoload Options. Setting log_days in my.cnf to 1, an many more tricks... My wp-options says its size is 50GB... however when I backup the file is 24MB.

I'm clearly missing something that is causing me huge binlog files and space problems on the server.

It as bitnami Wordpress installation on a Lightsail server

Any clues will be appreciated

Thanks


Solution

Summary of the comment thread above:

A combination of using OPTIMIZE TABLE to defragment the InnoDB tables after deleting lots of data, and PURGE BINARY LOGS to prune the accumulated binary logs helped to reduce the storage usage.



Answered By - Bill Karwin
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing