<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	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>MongoDB - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/tag/mongodb/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Tue, 12 Jun 2012 13:31:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>MongoDB中缩减Shard集群(删除一个Shard)</title>
		<link>https://www.coder4.com/archives/3418</link>
					<comments>https://www.coder4.com/archives/3418#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 12 Jun 2012 13:29:53 +0000</pubDate>
				<category><![CDATA[大数据技术]]></category>
		<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[Shard]]></category>
		<category><![CDATA[缩减]]></category>
		<category><![CDATA[集群]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=3418</guid>

					<description><![CDATA[对MongoDB的Shard集群来说，添加一个分片很简单，AddShard就可以了。 但是缩减集群(删除分片)这种一般很少用到。由于曙光的某服务器又挂了，所以我们送修之前必须把它上面的数据自动迁移到其他Shard上。 以下内容翻译自：http://docs.mongodb.org/manual/tutorial/remove-shards-from-cluster/ 1、执行RemoveShard命令 db.runCommand( { removeshard: &#34;y[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/3418/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>MongoDB中的索引操作</title>
		<link>https://www.coder4.com/archives/3369</link>
					<comments>https://www.coder4.com/archives/3369#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Wed, 06 Jun 2012 02:17:40 +0000</pubDate>
				<category><![CDATA[大数据技术]]></category>
		<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[索引]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=3369</guid>

					<description><![CDATA[1、启用索引 下面的命令对id字段建索引，1表示是升序。如果-1是降序。 db.collection.ensureIndex({id:1}, {unique:true, dropDups:true, background:true}); 2、删除索引 删除id的索引 db.collection.dropIndex({id:1}) 删除全部索引 db.collection.dropIndexes(); 3、重建索引 db.collection.reIndex()[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/3369/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>MongoDB配置Sharding (负载均衡)</title>
		<link>https://www.coder4.com/archives/3324</link>
					<comments>https://www.coder4.com/archives/3324#comments</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sat, 02 Jun 2012 14:28:11 +0000</pubDate>
				<category><![CDATA[大数据技术]]></category>
		<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[Sharding]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=3324</guid>

					<description><![CDATA[Mongod DB中有Sharding(分片)和Replication(副本)两个功能。 前者主要是将数据水平分割到各个结点上，达到负载均衡的目的。 后者用于故障恢复。即一般一个Sharding有若干个Replication。 本文只讨论Sharding的情况，因为我们的环境机器本来就不够，不会拿来做Replication的。 配置Sharding有如下三个要素： 1、1~1000个Sharding。 2、1~3个mongo config服务器。 3、1[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/3324/feed</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>MongoDB入门，含分布式配置</title>
		<link>https://www.coder4.com/archives/1515</link>
					<comments>https://www.coder4.com/archives/1515#comments</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Wed, 04 May 2011 10:21:01 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[数据库技术]]></category>
		<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[入门]]></category>
		<category><![CDATA[分布式]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1515</guid>

					<description><![CDATA[1、下载 wget http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.6.5.tgz tar -xzvf mongodb-linux-i686-1.6.5.tgz 2、测试单机环境 下载回来的MongoDB是已经编译好的，直接使用即可。 #首先建立数据库位置 mkdir ~/soft/mongodb/data cd mongodb-linux-i686-1.6.5 cd bin #启动mongodb服务器端，注意指定额外的[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1515/feed</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
