清除Magento日志数据 [英] Clearing Magento Log Data
问题描述
我对在Magento中清除日志数据有疑问.
I have a question regarding clearing of the log data in Magento.
我在Magento 1.4.1中拥有超过2.3GB的数据,现在我想优化数据库,因为由于数据量太大,它太慢了.我检查了日志信息(URL,访问者),它显示的大小超过1.9 GB.如果我直接清除这些记录,是否会影响网站的任何功能?如何清除日志详细信息?通过清除这些数据,我的网站上将拥有或丢失任何数据吗?
I have more than 2.3GB of data in Magento 1.4.1, and now I want to optimize the database, because it's too slow due to the size of the data. I checked the log info (URL,Visitors) and it shows more than 1.9 GB. If I directly clear those records, will it affect any functionality in the site? How can I clear the log details? By clearing those data will I have or lose any data on my site?
推荐答案
Magento系统内置了清理日志信息的功能,您无需自己做.如果您转到
No need to do this yourself, the Magento system has a built-in for cleaning up log information. If you go to
System > Configuration > Advanced > System > Log Cleaning
您可以将商店配置为自动清除这些日志.
You can configure your store to automatically clean up these logs.
这篇关于清除Magento日志数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!