Believe it or not, every time a user looks at a page (pageview) in Magento, it’s logged in the database. The worst part about the Magento logs, is the fact that they’re not cleared by default, you actually have to set it up.
I normally run into a problem with logs when I’m backing up Magento. The database file will take minutes to dump and even longer to restore or recreate. In addition to a heavy database, having an excessive log file will cause Magento to load much slower than normal.
Let’s clear the logs and then setup a regular schedule for truncating the Magento logs on a regular basis. Let’s get started:
Step 1 : Truncate the database tables
[solved] Flush Magento Logs
No comments:
Post a Comment