加载中
mongodb 中 获取指定数据库中所有collection(表)的记录数,表的大小

lists = db.getCollectionNames(); for(i in lists){print(lists[i]+" --- "+db[lists[i]].stats().count+" ... "+db[lists[i]].stats().size)}...

vim 快捷键

nnoremap ca :execute 'normal! ggVG"*yG' nnoremap cp :execute 'normal! "*pG' nnoremap ev :vsplit $MYVIMRC nnoremap sv :source $MYVIMRC...

mongo 正则取反

db.LOG_ACCESS.find({HTTP_USER_AGENT:{$not:/(android|ios|mozilla|apache)/i}},{HTTP_USER_AGENT:1})...

mongo 创建全文索引

db.collection.ensureIndex({index-key:"text"}) //text表明是全文索引

Understanding NoSQL

Understanding NoSQL 1.What is NoSQL Agenda Common Traits(特点) Consistency Indexing Queries MapReduce Sharding NoSQL Common Traits Non-relational Non-schematized/schema-free Ev...

NoSQL Big Picture

Cloud Microsoft Azure Tables Hadoop on Azure/HBase Amazon SimpleDB DynamoDB Elastic MapReduce DB-specific NoSQL Hoster E.g,MongoHQ for MongoDB CouchDB Cloudant DIY on infrastruc...

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部