<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>李子 &#187; 数据库</title>
	<atom:link href="http://leez.org/tag/%e6%95%b0%e6%8d%ae%e5%ba%93/feed" rel="self" type="application/rss+xml" />
	<link>http://leez.org</link>
	<description>不做明天的谁，只做今天的我。——李子</description>
	<lastBuildDate>Sat, 12 May 2012 07:01:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>清理Spam Karma 2所占的数据</title>
		<link>http://leez.org/113.html</link>
		<comments>http://leez.org/113.html#comments</comments>
		<pubDate>Fri, 04 Mar 2011 09:34:44 +0000</pubDate>
		<dc:creator>李子</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[SpamKarma]]></category>
		<category><![CDATA[wp-sk]]></category>
		<category><![CDATA[数据库]]></category>

		<guid isPermaLink="false">http://leez.org/?p=1390</guid>
		<description><![CDATA[我所使用的防垃圾评论插件是Spam Karma 2，我觉得它很不错，不过用的时间长了，删除的垃圾评论很多，虽然垃圾文件是没有了，但你看看你的数据库就知道了。

从数据库可以看到有sk2_blacklist、wp_sk2_logswp_sk2_spams、wp_sk2_spams三个表，这就是启用Spam Karma 2插件后建立的，再看看它们对应的记录数是比较惊人的，就是它占用了很大一部份数据。我的数据库大小为3.4M我把这三个表项清空后大小为1.4M。可见它占和了一半多了。因此过一段时间或是空间商对数据库大小有限制时要清理一下这三个表，否则就会是一种浪费。在此记上一笔对我和网友都是一个提醒。

<span class="readmore"><a href="http://leez.org/113.html" title="清理Spam Karma 2所占的数据">阅读全文——共294字</a></span>]]></description>
		<wfw:commentRss>http://leez.org/113.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>wp cleaner插件、页面修订版本和数据库大小</title>
		<link>http://leez.org/75.html</link>
		<comments>http://leez.org/75.html#comments</comments>
		<pubDate>Thu, 31 Dec 2009 07:08:52 +0000</pubDate>
		<dc:creator>李子</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-cleaner]]></category>
		<category><![CDATA[数据库]]></category>
		<category><![CDATA[页面修订版本]]></category>

		<guid isPermaLink="false">http://leez.org/?p=1005</guid>
		<description><![CDATA[wordpress自带一个“页面修订版本”的功能，这个功能和维基的基本功能一样，是保存好每一次的日志保存内容，可以用来恢复先前的日志内容，但我认为这个功能并没有什么用，谁会经常去改日志内容呢，有一个最终的版本就可以了。

wp-cleaner这个插件就可以很轻松地把不需要的“页面修订版本”删除，我在“我的WordPress插件”里有介绍，作者：jiangmiao，这是下载地址，安装激活后直接在“设置”项里就可以用，界面简单一看就知道怎么用了。



<span class="readmore"><a href="http://leez.org/75.html" title="wp cleaner插件、页面修订版本和数据库大小">阅读全文——共518字</a></span>]]></description>
		<wfw:commentRss>http://leez.org/75.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

