I have a website created in Magento with approx 1120 products in there.
When I select the bulit-in Magento menu option: Reports -> Products -> Most Viewed, then enter in a date range and select "Show By" = [Day], I get a timeout error. But the SAME report but where "Show By" = [Month] and "Show By" = [Year], runs to completion and the report is generated.
Upon investigation, I found table [Report_Event] has in excess of 1 million records. When I tried to run the SAME query in PHPMyAdmin, I get message: "SQL query was interrupted by server".
Has anybody come across this error? Is there a workaround or a setting that needs to be applied?