一、查询var doc = new Document();1、模糊查询var reg = 
new MongoRegex(".*" + qry.名称 + ".*", MongoRegexOption.IgnoreCase);doc["Name"] = 
reg;2、IN查询var docIn = new...
                            
                            
                                分类:
数据库   时间:
2014-05-24 07:51:28   
                                阅读次数:
295
                             
                    
                        
                            
                            
                                Sneak Preview: The 14 Leading Java Tools & 
Technologies for 2014 :Junit , Jenkinds, Git, Hibernate, Java7, Maven, Nexus, 
MongoDB, FindBugs, Tomcat, Ja...
                            
                            
                                分类:
编程语言   时间:
2014-05-23 08:33:03   
                                阅读次数:
277
                             
                    
                        
                            
                            
                                上一篇我们讲了MongoDB 的命令入门初探,本篇blog将基于上一篇blog所建立的数据库和表完成一个简单的Java MongoDB CRUD Example,利用Java连接MongoDB数据库,并实现创建数据库、获取表、遍历表中的对象、对表中对象进行CRUD操作等例程。
1、下载MongoDB Java 支持驱动包
【gitHub下载地址】https://github.com/mon...
                            
                            
                                分类:
数据库   时间:
2014-05-22 06:53:47   
                                阅读次数:
401
                             
                    
                        
                            
                            
                                此架构由8台PC 、2台防火墙、2台24口三层交换机组成,注意点:1)Load 
Balance:Haprxoy+keepalived 
实现高可用。2)web:Nginx+php-fpm3)DB:mysql5主从+Mongodb副本+Memcached4)IMG:Varnish+Nginx+NFS网卡...
                            
                            
                                分类:
其他好文   时间:
2014-05-21 22:50:12   
                                阅读次数:
305
                             
                    
                        
                            
                            
                                Community Supported C# Drivers See the 
officially supported MongoDB C# driver mongodb-csharp driver simple-mongodb 
driver NoRM Tools MongoDB.Emitter D...
                            
                            
                                分类:
其他好文   时间:
2014-05-21 20:30:58   
                                阅读次数:
289
                             
                    
                        
                            
                            
                                MongoDB C# Driver是官方提供的.NET C#驱动。 Getting 
Started with the C# Driver C# Driver Tutorial C# Driver LINQ Tutorial Serialize 
Documents with the C# Driver...
                            
                            
                                分类:
数据库   时间:
2014-05-21 20:28:24   
                                阅读次数:
446
                             
                    
                        
                            
                            
                                1.下载 如果下载的.zip文件,只需要解压即可。 
如果安装的.msi文件,它会将C#驱动DLL放在C:\Program Files (x86)\MongoDB\CSharp Driver xxx的位置。 
2.将C#驱动DLL添加引用 MongoDB.Bson.dll MongoDB.Driver....
                            
                            
                                分类:
其他好文   时间:
2014-05-21 19:38:39   
                                阅读次数:
379
                             
                    
                        
                            
                            
                                1.介绍 该教程涵盖了1.8版本的C#驱动中的LINQ查询。你可能已经阅读最新的C# 
Driver Tutorial。 2.快速开始 首先,给程序添加下面的using声明 using 
MongoDB.Driver.Linq;然后,像往常一样,获取一个collection的引用变量:var colle...
                            
                            
                                分类:
其他好文   时间:
2014-05-21 19:14:39   
                                阅读次数:
385
                             
                    
                        
                            
                            
                                A机器上有mongodb服务,A机器要废,于是迁至B。
简单起见,依然是在A上ps auxwww|grep mongo找到正在运行的进程:
/home/admin/mongodb/mongodb-linux-x86_64-2.2.0/bin/mongod -f /home/admin/mongodb/mongodb.conf
于是把/home/admin/mongodb/ 拷到B下。
在b...
                            
                            
                                分类:
数据库   时间:
2014-05-21 15:24:05   
                                阅读次数:
540
                             
                    
                        
                            
                            
                                1.错误描述一个数据较长时间未使用了,最近启动时出现如下错误:SQL>startupOracleinstancestarted.TotalSystemGlobalArea4932501504bytesFixedSize2103096bytesVariableSize889194696bytesDatabaseBuffers4026531840bytesRedoBuffers14671872bytesDatabasemounted.ORA-0109..
                            
                            
                                分类:
数据库   时间:
2014-05-20 22:13:11   
                                阅读次数:
466