设为首页 加入收藏

TOP

Ubuntu 16.04中安装MongoDB3.4数据库系统(二)
2017-07-12 10:23:16 】 浏览:2570
Tags:Ubuntu 16.04 安装 MongoDB3.4 数据库 系统
p;                   mapreduce

        show dbs                    show database names
        show collections            show collections in current database
        show users                  show users in current database
        show profile                show most recent system.profile entries with time >= 1ms
        show logs                    show the accessible logger names
        show log [name]              prints out the last segment of log in memory, 'global' is default
        use <db_name>                set current database
        db.foo.find()                list objects in collection foo
        db.foo.find( { a : 1 } )    list objects in foo where a == 1
        it                          result of the last line eva luated; use to further iterate
        DBQuery.shellBatchSize = x  set default number of items to display on shell
        exit                        quit the mongo shell


总结
到这里有关在Ubuntu 16.04服务器上安装MongoDB社区版教程就结束了我们将以后的教程中将推出更多关于如何在生产环境中使用MongoDB的更多细节。


更多MongoDB相关教程见以下内容


首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Oracle锁的模式和10704事件跟踪对.. 下一篇Oracle 12c R2中的ADG会话保留特性

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目