Toggle navigation
PHPERZ
网站首页
(current)
业内资讯
热点关注
移动互联网
发布与更新
数字解读
创业与职场
编程技术
PHP
Mysql
Apache
Nginx
Python
Android
Linux
jQuery
Javascript
Java
Swift
YII
ThinkPHP
Bootstrap
面试题库
教程
主题
搜索
中文指南
安装
管理
安全
核心操作(CRUD)
聚合框架
聚合
索引
副本集
分片
开发应用
mongo 壳
案例
教程
常问问题
参考
关于本文档
生态系统
同类教程
MongoDB教程
首页
教程
MongoDB手册
目录
目录
发布于 2015-09-14 14:57:38 | 118 次阅读 | 评论: 0 | 来源: 网络整理
安装
安装指南
在红帽系列上安装
在Ubuntu上安装
在Debian上安装
在Linux上安装
在OS X上安装
在Windows上安装
发行说明
管理
运行时数据库配置
启动, 停止, 和运行数据库
安全注意事项
复制和分片配置
在同一系统上运行多个数据库实例
诊断配置
操作和部署的业务分离
Operational Overview
日志
Procedures
Journaling Internals
使用SSL连接MongoDB
mongod
and
mongos
SSL Configuration
Clients
使用MongoDB的与SNMP监控
Prerequisites
Configure SNMP
Troubleshooting
监控数据库系统
Monitoring Tools
Process Logging
Diagnosing Performance Issues
Replication and Monitoring
Sharding and Monitoring
数据导入和导出
Data Type Fidelity
Data Import and Export and Backups Operations
Human Intelligible Import/Export Formats
系统备份策略
备份注意事项
备份系统的方法
Backup Strategies for MongoDB Deployments
Linux
ulimit
Settings
Resource Utilization
Review and Set Resource Limits
Recommended Settings
生产注意事项
Overview
Backups
Networking
MongoDB on Linux
Readahead
MongoDB on Virtual Environments
Disk and Storage Systems
Hardware Requirements and Limitations
Performance Monitoring
Production Checklist
安全
策略与实践
安全规范和管理
漏洞通知
教程
配置Linux
iptables
防火墙
配置Windows
netsh
防火墙
通过认证控制访问
核心操作(CRUD)
读写操作
读
写
文档定位概念
数据建模
BSON 文档
ObjectId
引用
GridFS
CRUD操作
创建
读
更新
删除
数据建模
内嵌模型:一对一关系
内嵌模型:一对多关系
引用模型:一对多关系
模型数据: 原子操作
模型树结构: 父引用
模型树结构: 子引用
模型树结构: 列祖列宗
模型树结构: 物化路径
模型树结构: 嵌套集合
模型数据: 支持关键字搜索
聚合
聚合框架
概述
组件
使用
优化性能
分片操作
限制
聚合示例
需求
使用邮编数据集聚合
用户偏好数据的聚合
聚合参考
管道
表达式
映射化简
示例
增量式
临时集合
并发
片式集群
映射化简操作故障排除
方法/命令
Count
Distinct
Group
索引
索引概述
Synopsis
Index Types
Index Creation Options
Index Features
Index Behaviors and Limitations
索引操作
Create an Index
Create a Compound Index
Special Creation Options
Information about Indexes
Remove Indexes
Rebuild Indexes
Build Indexes on Replica Sets
Monitor and Control Index Building
索引策略
策略
Create Indexes to Support Your Queries
Use Compound Indexes to Support Several Different Queries
Create Indexes that Support Covered Queries
Use Indexes to Sort Query Results
Ensure Indexes Fit RAM
Create Queries that Ensure Selectivity
Consider Performance when Creating Indexes for Write-heavy Applications
使用
2d
索引查询地理空间
Proximity Queries
Distance Queries
Limit the Number of Results
Circles
Rectangles
Polygons
2d
地理空间索引
Overview
Store Location Data
Create a Geospatial Index
Distance Calculation
Geohash Values
Geospatial Indexes and Sharding
Multi-location Documents
副本集
使用和操作
副本集基本概念
副本集的操作和管理
副本集的架构和部署模式
副本集的注意事项以及应用和发展的行为
副本集的内部和行为
主从复制
教程和程序
入门
维护和管理
参考材料
副本集命令
副本集的特点和版本兼容性
分片
使用和操作
片式集群概述
片式群集管理
片式集群架构
片式集群内部和行为
教程和程序
入门
维护和管理
备份和恢复
应用程序开发模式
参考
开发应用
开发思路
驱动程序和客户端
优化
服务器端JavaScript
封顶集合
MongoDB应用设计模式
执行两阶段提交
Create Tailable Cursor
隔离操作顺序
创建一个自动递增的序列字段
通过设置TTL使集合中的数据过期
mongo
壳
入门
Start the
mongo
Shell
Executing Queries
Print
Use a Custom Prompt
Use an External Editor in the
mongo
Shell
Exit the Shell
数据类型
Date
ObjectId
NumberLong
帮助
Command Line Help
Shell Help
Database Help
Collection Help
Cursor Help
Type Help
写脚本
Opening New Connections
Scripting
壳快参
mongo
壳命令历史
指令列自变量的选项
命令助手
基本壳JavaScript操作
快捷键
查询
错误检查方法
管理命令助手
打开另外的连接
杂项
其他资源
案例
营运智能
Storing Log Data
Pre-Aggregated Reports
Hierarchical Aggregation
产品数据管理
Product Catalog
Inventory Management
Category Hierarchy
内容管理系统
Metadata and Asset Management
Storing Comments
Python应用开发
使用Django MongoDB Engine写一个轻博客应用
使用Flash和MongoEngine 写一个轻博客应用
教程
入门
管理
Replica Sets
Sharding
Basic Operations
Security
发展模式
开发应用
建模
案例
常问问题
FAQ: 基础
MongoDB是什么类型的数据库?
MongoDB数据库有表吗?
MongoDB数据库有模式吗?
What languages can I use to work with the MongoDB?
Does MongoDB support SQL?
What are typical uses for MongoDB?
Does MongoDB support transactions?
Does MongoDB require a lot of RAM?
How do I configure the cache size?
Does MongoDB require a separate caching layer for application-level caching?
Does MongoDB handle caching?
Are writes written to disk immediately, or lazily?
What language is MongoDB written in?
What are the limitations of 32-bit versions of MongoDB?
FAQ: 应用开发者
What is a namespace in MongoDB?
How do you copy all objects from one collection to another?
If you remove a document, does MongoDB remove it from disk?
When does MongoDB write updates to disk?
How do I do transactions and locking in MongoDB?
How do you aggregate data with MongoDB?
Why does MongoDB log so many “Connection Accepted” events?
Does MongoDB run on Amazon EBS?
Why are MongoDB’s data files so large?
How do I optimize storage use for small documents?
When should I use GridFS?
How does MongoDB address SQL or Query injection?
How does MongoDB provide concurrency?
What is the compare order for BSON types?
How do I query for fields that have null values?
Are there any restrictions on the names of Collections?
How do I isolate cursors from intervening write operations?
When should I embed documents within other documents?
Can I manually pad documents to prevent moves during updates?
FAQ:
mongo
壳
How can I enter multi-line operations in the
mongo
shell?
How can I access to different databases temporarily?
Does the
mongo
shell support tab completion and other keyboard shortcuts?
How can I customize the
mongo
shell prompt?
Can I edit long shell operations with an external text editor?
FAQ: 并发
MongoDB使用什么类型的锁?
How granular are locks in MongoDB?
How do I see the status of locks on my
mongod
instances?
Does a read or write operation ever yield the lock?
Which operations lock the database?
Which administrative commands lock the database?
Does a MongoDB operation ever lock more than one database?
How does sharding affect concurrency?
How does concurrency affect a replica set primary?
How does concurrency affect secondaries?
What kind of concurrency does MongoDB provide for JavaScript operations?
FAQ: 分片
Is sharding appropriate for a new deployment?
How does sharding work with replication?
Can I change the shard key after sharding a collection?
What happens to unsharded collections in sharded databases?
How does MongoDB distribute data across shards?
What happens if a client updates a document in a chunk during a migration?
What happens to queries if a shard is inaccessible or slow?
How does MongoDB distribute queries among shards?
How does MongoDB sort queries in sharded environments?
How does MongoDB ensure unique
_id
field values when using a shard key
other
than
_id
?
I’ve enabled sharding and added a second shard, but all the data is still on one server. Why?
Is it safe to remove old files in the
moveChunk
directory?
How does
mongos
use connections?
Why does
mongos
hold connections open?
Where does MongoDB report on connections used by
mongos
?
What does
writebacklisten
in the log mean?
How should administrators deal with failed migrations?
What is the process for moving, renaming, or changing the number of config servers?
When do the
mongos
servers detect config server changes?
Is it possible to quickly update
mongos
servers after updating a replica set configuration?
What does the
maxConns
setting on
mongos
do?
How do indexes impact queries in sharded systems?
Can shard keys be randomly generated?
Can shard keys have a non-uniform distribution of values?
Can you shard on the
_id
field?
Can shard key be in ascending order, like dates or timestamps?
What do
moveChunk
commit
failed
errors mean?
How does draining a shard affect the balancing of uneven chunk distribution?
FAQ: 副本集和在MongoDB中复制
What kinds of replication does MongoDB support?
What do the terms “primary” and “master” mean?
What do the terms “secondary” and “slave” mean?
How long does replica set failover take?
Does replication work over the Internet and WAN connections?
Can MongoDB replicate over a “noisy” connection?
What is the preferred replication method: master/slave or replica sets?
What is the preferred replication method: replica sets or replica pairs?
Why use journaling if replication already provides data redundancy?
Are write operations durable if write concern does not acknowledge writes?
How many arbiters do replica sets need?
What information do arbiters exchange with the rest of the replica set?
Which members of a replica set vote in elections?
Do hidden members vote in replica set elections?
Is it normal for replica set members to use different amounts of disk space?
FAQ: 存储
What are memory mapped files?
How do memory mapped files work?
How does MongoDB work with memory mapped files?
What are page faults?
What is the difference between soft and hard page faults?
What tools can I use to investigate storage use in MongoDB?
What is the working set?
Why are the files in my data directory larger than the data in my database?
How can I check the size of a collection?
How can I check the size of indexes?
How do I know when the server runs out of disk space?
FAQ: 索引
Should you run
ensureIndex()
after every insert?
How do you know what indexes exist in a collection?
How do you determine the size of an index?
What happens if an index does not fit into RAM?
How do you know what index a query used?
How do you determine what fields to index?
How do write operations affect indexes?
Will building a large index affect database performance?
Can I use index keys to constrain query matches?
Using
$ne
and
$nin
in a query is slow. Why?
Can I use a multi-key index to support a query for a whole array?
How can I effectively use indexes strategy for attribute lookups?
FAQ: 诊断
Where can I find information about a
mongod
process that stopped running unexpectedly?
Does TCP
keepalive
time affect sharded clusters and replica sets?
Memory Diagnostics
Sharded Cluster Diagnostics
参考
接口
参考
MongoDB和SQL接口比较
快速参考材料
体系结构和组件
MongoDB包组件
配置
配置文件选项
副本集配置
mongod
参数
连接字符串的URI格式
状态和报告
服务器状态输出索引
服务器状态参考
数据库统计参考
集合统计
集合验证数据
连接池的统计参考
副本集状态参考
复制信息参考
当前操作报告
数据库事件探查器输出
解释输出
退出代码和状态
内部元数据
配置数据库内容
local
数据库
系统集合
一般参考
MongoDB限制和阈值
MongoDB 扩展 JSON
俗语
发行说明
当前稳定版
前一稳定版
当前开发系列
其它MongoDB发行说明
关于本文档
许可证
版本
版本和修订
报告问题或变更请求
贡献文档
关于文档的过程
生态系统
驱动和客户端库
C
C++
C#
Erlang
Java
Javascript
Node.js
Perl
PHP
Python
Ruby
Scala
Community Supported Drivers
Driver Syntax Table
集成和工具
集成框架
管理工具
平台
Amazon Web Services EC2
dotCloud
Joyent Cloud
Rackspace Cloud
Red Hat OpenShift
VMware Cloud Foundry
Windows Azure
传统的平台
最新网友评论
共有(
0
)条评论
发布评论
返回顶部
发 布
后端技术
PHP
Python
Ruby
Java
Android
Objective-C
Swift
Go
Node.js
Lua
JSP
D语言
R语言
前端技术
jQuery
Bootstrap
React.JS
React Native
AngularJS
JavaScript
Ember.JS
Zepto.js
Backbone.js
Vue
CSS
HTML5
数据库
Mysql
SQL Server
PostgreSQL
Oracle
DB2
SQLite
MongoDB
Redis
Memcached
SQL
热门框架
Yii
Laravel
Symfony2
Zend Framework
CodeIgniter
ThinkPHP
Phalcon
Swoole
Hibernate
JUnit
Django
Flask
Tornado
Smarty
常用IDE
Eclipse
MyEclipse
PhpStorm
PyCharm
Sublime Text
Android Studio
Zend Studio
IntelliJ IDEA
Xcode
Atom
Vim
其他
Git
SVN
Composer
Lucene
Docker
Hadoop
Linux
Nginx
Apache
Tengine
Tomcat
Lighttpd
Coreseek
Copyright © 2007-2017
PHPERZ.COM
All Rights Reserved
冀ICP备14009818号
版权声明
广告服务