_EDD_LOGS killing my database
-
Hi guys,
Our website has been online for around 7 months now, we have 60k registered users and they are generating a tonne of _edd_log entries in the postmeta database.
My postmeta database is now approaching 2.5M entries. I have a few questions…
1) Is it safe to remove any of the meta data?
For instance, we do not use price_ids (we use ALL ACCESS) for all of our content we also do not need to know which ‘version’ of a file that a user has downloaded so file_id is also redundant, can I safely delete these meta keys from our database without causing adverse effects on the plugin?If I could safely delete these keys I could quickly remove over 400k entries from the post meta database.
2) As our website continues to serve new customers this database is going to increase even more and we are already seeing a HUGE load on our database server during busy periods.
Are there any plans to move the logging elements of EDD into a dedicated table rather than using post_meta and posts? I should imagine this would streamline the core database tables.
An SQL search for meta_keys like _edd_log% shows that over 2M of our 2.5M meta entries are log related.
3) Is there a method available already to do what I mentioned above? I’m happy working with PHP but this feels like a very in-depth modification to the plugins.
Many thanks ??
- The topic ‘_EDD_LOGS killing my database’ is closed to new replies.