清除 Magento 日志数据 [英] Clearing Magento Log Data

查看:20
本文介绍了清除 Magento 日志数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于在 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆