Cleaning large database
-
Hello. I’ve been using PVC for years now but I noticed that my database is getting ridiculously huge, like wp_post_views alone is 180 MB and I don’t really have use for very old statistics, just total views and the few latest months graphics and totals.
then, after I backuped the whole database, I tried deleting the rows in MySQL like thisDELETE FROM wp_post_views WHERE type LIKE 1 AND period LIKE '%2022%';
andDELETE FROM wp_post_views WHERE type LIKE 3 AND period LIKE '%2022%';
then changing the 2022 to 2020 and 2021 after the 2022 rows got deleted.
It seems to work, but I’d like to know if this can trigger some kind of issue or if I need to do something else.
also, there goes a suggestion. I’m still using 1.3.7 due to the Fast AJAX count mode. Why don’t you provide in your official website an add-on that enables the Fast AJAX stuff after we update to the current version within WordPress in the usual method?
thanks for the attention.
- The topic ‘Cleaning large database’ is closed to new replies.