pojome / activity-log

Get aware of any activities that are taking place on your dashboard! Imagine it like a black-box for your WordPress site.

Home Page:http://wordpress.org/plugins/aryo-activity-log/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slow queries when looking up events

sullysmall opened this issue · comments

We have a log table with millions of rows, looking for a duplicate event (class-aal-api.php:106) adds a big load onto the database.

I found that adding indexes for object_name and user_id has helped to speed up the query.

It might be useful for you to add these indexes too.

This issue has been resolved in the recently updates. Feel free to update and let me know if it solve your issue.

Thanks!