MongoDB官方文档中文版
MongoDB用户手册
MongoDB简介
入门
Create an Atlas Free Tier Cluster
数据库和集合
视图
On-Demand Materialized Views
封顶集合
文档
BSON类型
Comparison/Sort Order
MongoDB Extended JSON
MongoDB Extended JSON
MongoDB数据库的优点
MongoDB特点
MongoDB历史
安装 MongoDB
安装MongoDB社区版
Install on Linux
Install on Red Hat
Install using .tgz Tarball
Install on Ubuntu
Install using .tgz Tarball
Troubleshoot Ubuntu Installation
Install on Debian
Install using .tgz Tarball
Install on SUSE
Install using .tgz Tarball
Install on Amazon
Install using .tgz Tarball
Install on macOS
Install using .tgz Tarball
Install on Windows
Install using msiexec.exe
安装MongoDB企业版
Install on Linux
Install on Red Hat
Install using .tgz Tarball
Install on Ubuntu
Install using .tgz Tarball
Install on Debian
Install using .tgz Tarball
Install on SUSE
Install using .tgz Tarball
Install on Amazon
Install using .tgz Tarball
Install on macOS
Install on Windows
Install using msiexec.exe
Install with Docker
将社区版MongoDB升级到企业版MongoDB
Upgrade to MongoDB Enterprise (Standalone)
Upgrade to MongoDB Enterprise (Replica Set)
Upgrade to MongoDB Enterprise (Sharded Cluster)
验证MongoDB软件包的完整性
Mongo Shell
配置mongo Shell
使用 mongo Shell帮助
为mongo Shell编写脚本
mongo Shell中的数据类型
mongo Shell 快速参考
mongosh
安装mongosh
连接到服务
配置mongosh
使用命令编辑器
配置设置
使用 API 配置设置
使用配置文件配置设置
自定义mongosh提示
Configure Telemetry Options
配置免费监控
运行命令
CRUD 操作
插入文件
查询文件
更新文件
删除文档
聚合管道
客户端字段级加密
编写脚本
在脚本中包含外部文件和模块
require()和load()之间的差异
代码范围
脚本注意事项
Snippets
在控制台中使用片段
创建和共享片段
注册表和注册表配置
故障排除
片段参考
片段命令
配置选项
错误处理程序
手动创建注册表索引文件
参考文献
与旧版 mongo Shell 的兼容性更改
数据类型
方法
.mongoshrc 配置文件
选项
发行说明
检索 Shell 日志
mongosh 帮助
增删改查操作
插入文档
插入方法
查询文档
查询嵌入/嵌套文档
查询数组
查询嵌入式文档数组
从查询返回的项目字段
查询空字段或缺少字段
在mongo Shell中迭代游标
更新文档
聚合管道更新
更新方法
删除文档
删除方法
批量写入操作
可重试写入
可重试读取
SQL到MongoDB的映射图表
文本搜索
文本索引
文本搜索运算符
聚合管道中的文本搜索
文本搜索语言
地理空间查询
用地理空间查询查找餐馆
GeoJSON对象
读关注
读关注“local”
读关注“available”
读关注“majority”
读关注“linearizable”
读关注点"snapshot"
写关注
MongoDB CRUD 概念
原子性和事务
读取隔离、一致性和近效性
因果一致性和读写问题
分布式查询
通过findAndModify可线性读取
查询计划
查询优化
评估当前运营的绩效
优化查询性能
写操作性能
解释结果
分析查询性能
Tailable游标
聚合
聚合管道
聚合管道优化
Aggregation Pipeline Limits
聚合管道和分片集合
使用 Zip Code 数据集进行聚合
使用用户首选项数据进行聚合
聚合管道限制
SQL 到聚合映射图表
聚合表达式中的变量
Map-Reduce
Map-Reduce 和分片集合
Map-Reduce 并发
Map-Reduce 例子
执行增量 Map-Reduce
对 Map Function 进行故障排除
排除 Reduce Function 问题
Map-Reduce转换到聚合管道
聚合参考
聚合管道快速参考
Aggregation Commands
聚合命令比较
Variables in Aggregation Expressions
聚合命令
数据模式
数据建模介绍
模式验证
Data Modeling Concepts
Data Model Design
Operational Factors and Data Models
Data Model Examples and Patterns
Model Relationships Between Documents
Model One-to-One Relationships with Embedded Documents
Model One-to-Many Relationships with Embedded Documents
Model One-to-Many Relationships with Document References
Model Tree Structures
Model Tree Structures with Parent References
Model Tree Structures with Child References
Model Tree Structures with an Array of Ancestors
Model Tree Structures with Materialized Paths
Model Tree Structures with Nested Sets
Model Specific Application Contexts
Model Data for Atomic Operations
Model Data to Support Keyword Search
Model Data for Schema Versioning
Model Monetary Data
Model Time Data
Model Computed Data
Data Model Reference
Database References
事务
Drivers API
Production Considerations
Production Considerations (Sharded Clusters)
事务操作
索引
Single Field Indexes
Compound Indexes
Multikey Indexes
多键索引范围
Text Indexes
Specify a Language for Text Index
Specify Name for text Index
Control Search Results with Weights
Limit the Number of Entries Scanned
Wildcard Indexes
通配符索引限制
2dsphere Indexes
查询一个2dsphere索引
2d Indexes
Create a 2d Index
查询一个“2d”索引
2d Index Internals
Calculate Distance Using Spherical Geometry
2d索引内部
使用球面几何计算距离
创建一个2d索引
geoHaystack Indexes
Create a Haystack Index
查询Haystack索引
创建Haystack索引
Hashed Indexes
索引特性
TTL索引
通过设置TTL使集合中的数据过期
Unique Indexes
Partial Indexes
Case Insensitive Indexes
Hidden Indexes
Sparse Indexes
不分大小写索引
部分索引
Sparse索引
唯一索引
Index Builds on Populated Collections
在复制集上建立索引
在分片群集上建立滚动索引
索引交集
Manage Indexes
衡量索引使用
Indexing Strategies
创建索引来支持查询
Use Indexes to Sort Query Results
确保索引适合RAM
创建以确保选择性的查询
Indexing Reference
2d索引
2dsphere索引
复合索引
geoHaystack索引
Hashed 索引
在填充的集合上建立索引
索引参考
索引策略
使用索引对查询结果进行排序
管理索引
多键索引
单字段索引
文本索引
用权重控制搜索结果
限制扫描条目的数量
为文本索引指定语言
指定文本索引的名称
通配符索引
安全
安全检查列表
启用访问控制
身份验证
SCRAM
使用 SCRAM 验证客户端
x.509
使用 x.509 证书对客户端进行身份验证
Kerberos 认证
在 Linux 上使用 Kerberos 身份验证配置 MongoDB
在 Windows 上使用 Kerberos 身份验证配置 MongoDB
对 Kerberos 身份验证进行故障排除
使用 Kerberos 身份验证和 Active Directory 授权配置 MongoDB
LDAP 代理身份验证
通过 ActiveDirectory 使用 SASL 和 LDAP 进行身份验证
通过 OpenLDAP 使用 SASL 和 LDAP 进行身份验证
通过本机 LDAP 使用 Active Directory 对用户进行身份验证和授权
内部/成员认证
使用密钥文件身份验证部署副本集
将副本集更新为密钥文件身份验证
将副本集更新为密钥文件身份验证(无停机时间)
使用密钥文件身份验证部署分片集群
将 Sharded Cluster 更新为 Keyfile 身份验证
将分片集群更新为密钥文件身份验证(无停机时间)
轮换副本集的密钥
轮换分片集群的密钥
使用 x.509 证书进行成员身份验证
从密钥文件身份验证升级到 x.509 身份验证
滚动更新包含新 DN 的 x.509 群集证书
Localhost Exception
用户
创建用户
验证用户
列出用户
基于角色的访问控制
内置角色
用户定义的角色
管理用户和角色
更改您的密码和自定义数据
集合级访问控制
LDAP 授权
加密
使用中加密
可查询加密
特征
安装要求
快速开始
基础知识
字段加密和可查询性
加密集合管理
显式加密
密钥和密钥保管库
加密密钥管理
KMS 供应商
教程
在 AWS 中使用自动可查询加密
在 Azure 中使用自动可查询加密
将自动可查询加密与 GCP 结合使用
将自动可查询加密与 KMIP 结合使用
使用显式加密
参考
可查询的加密兼容性
可查询加密限制
可查询加密支持的操作
可查询加密的 MongoClient 选项
用于可查询加密的自动加密共享库
安装 libmongocrypt
为可查询加密安装和配置 mongocryptd
客户端字段级加密
特征
安装要求
快速开始
基础知识
自动加密
显式加密
加密模式
密钥和密钥保管库
加密密钥管理
字段和加密类型
教程
将自动客户端字段级加密与 AWS 结合使用
在 Azure 中使用自动客户端字段级加密
通过 GCP 使用自动客户端字段级加密
通过 KMIP 使用自动客户端字段级加密
参考
CSFLE 兼容性
CSFLE 限制
CSFLE 加密模式
CSFLE 服务器端模式实施
自动加密支持的操作
CSFLE 特定的 MongoClient 选项
CSFLE KMS 提供商
CSFLE 加密组件
CSFLE 如何解密文档
CSFLE密码原语
为 CSFLE 安装和配置 mongocryptd
安装 libmongocrypt
静态加密
配置加密
轮换加密密钥
TLS/SSL(传输加密)
为 TLS/SSL 配置 mongod 和 mongos
客户端的 TLS/SSL 配置
升级集群以使用 TLS/SSL
为 FIPS 配置 MongoDB
审计
配置审计
配置审计过滤器
系统事件审计消息
网络和配置强化
IP Binding
为 MongoDB 配置 Linux iptables 防火墙
为 MongoDB 配置 Windows netsh 防火墙
实施字段级密文
安全参考
system.roles 集合
system.users 集合
资源文档
权限操作
创建漏洞报告
附录
附录 A - 用于测试的 OpenSSl CA 证书
附录 B-用于测试的OpenSSL服务器证书
附录C - 用于测试的OpenSSL客户端证书
改变流
变更流生产建议
Change Events
复制集
复制集成员
Replica Set Primary
Replica Set Secondary Members
Priority 0 Replica Set Members
Hidden Replica Set Members
Delayed Replica Set Members
Replica Set Arbiter
副本集日志
Replica Set Data Synchronization
副本集部署架构
Three Member Replica Sets
Replica Sets Distributed Across Two or More Data Centers
Replica Set High Availability
Replica Set Elections
Rollbacks During Replica Set Failover
Replica Set Read and Write Semantics
Write Concern for Replica Sets
Read Preference
Tag Sets
maxStalenessSeconds
Hedged Read Option
Read Preference Use Cases
Server Selection Algorithm
Replica Set Deployment Tutorials
Deploy a Replica Set
Deploy a Replica Set for Testing and Development
Deploy a Geographically Redundant Replica Set
Add an Arbiter to Replica Set
Convert a Standalone to a Replica Set
Add Members to a Replica Set
Remove Members from Replica Set
Replace a Replica Set Member
Member Configuration Tutorials
Adjust Priority for Replica Set Member
Prevent Secondary from Becoming Primary
Configure a Hidden Replica Set Member
Configure a Delayed Replica Set Member
Configure Non-Voting Replica Set Member
Convert a Secondary to an Arbiter
Replica Set Maintenance Tutorials
Change the Size of the Oplog
Perform Maintenance on Replica Set Members
Force a Member to Become Primary
Resync a Member of a Replica Set
Configure Replica Set Tag Sets
Reconfigure a Replica Set with Unavailable Members
Manage Chained Replication
Change Hostnames in a Replica Set
Configure a Secondary’s Sync Target
Replication Reference
Replica Set Configuration
Replica Set Protocol Version
Troubleshoot Replica Sets
The local Database
Replica Set Member States
副本集数据同步
分片
分片集群组成
分片
配置服务器 (metadata)
路由 (mongos)
片键
哈希分片
范围分片
部署分片集群
区域
Manage Shard Zones
Segmenting Data by Location
Tiered Hardware for Varying SLA or SLO
Segmenting Data by Application or Customer
Distributed Local Writes for Insert Only Workloads
在分片集群中拆分数据块
Data Partitioning with Chunks
Create Chunks in a Sharded Cluster
Split Chunks in a Sharded Cluster
Merge Chunks in a Sharded Cluster
Modify Chunk Size in a Sharded Cluster
Balancer
Manage Sharded Cluster Balancer
Migrate Chunks in a Sharded Cluster
Administration
Config Server Administration
Replace a Config Server
View Cluster Configuration
Restart a Sharded Cluster
Migrate a Sharded Cluster to Different Hardware
Add Shards to a Cluster
Remove Shards from an Existing Sharded Cluster
Clear jumbo Flag
Back Up Cluster Metadata
Convert Sharded Cluster to Replica Set
Convert a Replica Set to a Sharded Cluster
Convert a Shard Standalone to a Shard Replica Set
Sharding Reference
Operational Restrictions
Troubleshoot Sharded Clusters
Config Database
分片键
Zone
管理权限
产品说明
Operations Checklist
Development Checklist
Performance
Database Profiler
Database Profiler Output
Disable Transparent Huge Pages (THP)
UNIX ulimit Settings
配置和维护
Run-time Database Configuration
Upgrade to the Latest Revision of MongoDB
Manage mongod Processes
Terminate Running Operations
Rotate Log Files
Data Center Awareness
Workload Isolation in MongoDB Deployments
Zones
Manage Shard Zones
Segmenting Data by Location
Tiered Hardware for Varying SLA or SLO
Segmenting Data by Application or Customer
Distributed Local Writes for Insert Only Workloads
Manage Shard Zones
MongoDB Backup Methods
Back Up and Restore with Filesystem Snapshots
Back Up and Restore with MongoDB Tools
Restore a Replica Set from MongoDB Backups
Backup and Restore Sharded Clusters
Back Up a Sharded Cluster with File System Snapshots
Back Up a Sharded Cluster with Database Dumps
Schedule Backup Window for Sharded Clusters
Restore a Sharded Cluster
Recover a Standalone after an Unexpected Shutdown
Monitoring for MongoDB
Free Monitoring
Monitor MongoDB With SNMP on Linux
Monitor MongoDB Windows with SNMP
Troubleshoot SNMP
开发检查表
MogoDB 备份方法
操作检查表
MongoDB性能
存储
storage-engines
WiredTiger 存储引擎
Change Standalone to WiredTiger
Change Replica Set to WiredTiger
Change Sharded Cluster to WiredTiger
内存存储引擎
Journaling
Manage Journaling
GridFS
常见问题解答:MongoDB 存储
常见问题
常见问题解答:MongoDB基础知识
常见问题解答:索引
常见问题解答:并发
常见问题解答:使用MongoDB分片
FAQ: Replication and Replica Sets
常见问题解答:MongoDB存储
常见问题解答:MongoDB诊断
常见问题解答:复制和副本集
参考
Operators
Query and Projection Operators
Comparison Query Operators
$eq
$gt
$gte
$in
$lt
$lte
$ne
$nin
Logical Query Operators
$and
$not
$nor
$or
Element Query Operators
$exists
$type
Evaluation Query Operators
$expr
$jsonSchema
$mod
$regex
$text
$where
Geospatial Query Operators
$geoIntersects
$geoWithin
$near
$nearSphere
$box
$center
$centerSphere
$geometry
$maxDistance
$minDistance
$polygon
$uniqueDocs
Array Query Operators
$all
$elemMatch (query)
$size
Bitwise Query Operators
$bitsAllClear
$bitsAllSet
$bitsAnyClear
$bitsAnySet
$comment
查询与映射运算符
$ (projection)
$elemMatch (projection)
$slice (projection)
数组查询运算符
按位查询运算符
$comment
比较查询运算符
$lt
$ne
元素查询运算符
评估查询运算符
地理空间查询运算符
逻辑查询运算符
$and
$nor
$not
$or
更新运算符
Field Update Operators
$currentDate
$inc
$min
$max
$mul
$rename
$set
$setOnInsert
$unset
Array Update Operators
$ (update)
$[]
$[]
$addToSet
$pop
$pull
$push
$pullAll
$each
$position
$slice
$sort
Bitwise Update Operator
$bit
数组更新运算符
按位更新运算符
字段更新运算符
Aggregation Pipeline Stages
$addFields (aggregation)
$bucket (aggregation)
$bucketAuto (aggregation)
$collStats (aggregation)
$count (aggregation)
$currentOp (aggregation)
$facet (aggregation)
$geoNear (aggregation)
$graphLookup (aggregation)
$group (aggregation)
$indexStats (aggregation)
$limit (aggregation)
$listLocalSessions
$listSessions
$lookup (aggregation)
$match (aggregation)
$merge (aggregation)
$out (aggregation)
$planCacheStats
$project (aggregation)
$redact (aggregation)
$replaceRoot (aggregation)
$replaceWith (aggregation)
$sample (aggregation)
$set (aggregation)
$skip (aggregation)
$sort (aggregation)
$sortByCount (aggregation)
$unionWith (aggregation)
$unset (aggregation)
$unwind (aggregation)
Aggregation Pipeline Operators
$sin (aggregation)
$abs (aggregation)
$slice (aggregation)
$accumulator (aggregation)
$split (aggregation)
$acos (aggregation)
$sqrt (aggregation)
$acosh (aggregation)
$add (aggregation)
$addToSet (aggregation)
$allElementsTrue (aggregation)
$and (aggregation)
$anyElementTrue (aggregation)
$arrayElemAt (aggregation)
$arrayToObject (aggregation)
$asin (aggregation)
$asinh (aggregation)
$sum (aggregation)
$atan (aggregation)
$atan2 (aggregation)
$tan (aggregation)
$atanh (aggregation)
$avg (aggregation)
$binarySize (aggregation)
$bsonSize (aggregation)
$ceil (aggregation)
$toInt (aggregation)
$cmp (aggregation)
$concat (aggregation)
$concatArrays (aggregation)
$cond (aggregation)
$convert (aggregation)
$cos (aggregation)
$dateFromParts (aggregation)
$dateToParts (aggregation)
$type (aggregation)
$dateFromString (aggregation)
$week (aggregation)
$dateToString (aggregation)
$year (aggregation)
$dayOfMonth (aggregation)
$zip (aggregation)
$dayOfWeek (aggregation)
$dayOfYear (aggregation)
$degreesToRadians (aggregation)
$divide (aggregation)
$eq (aggregation)
$exp (aggregation)
$filter (aggregation)
$first (aggregation accumulator)
$first (aggregation)
$floor (aggregation)
$function (aggregation)
$gt (aggregation)
$gte (aggregation)
$hour (aggregation)
$ifNull (aggregation)
$in (aggregation)
$indexOfArray (aggregation)
$indexOfBytes (aggregation)
$indexOfCP (aggregation)
$isArray (aggregation)
$isNumber (aggregation)
$isoDayOfWeek (aggregation)
$isoWeek (aggregation)
$isoWeekYear (aggregation)
$last (aggregation accumulator)
$last (aggregation)
$let (aggregation)
$literal (aggregation)
$ln (aggregation)
$log (aggregation)
$log10 (aggregation)
$lt (aggregation)
$lte (aggregation)
$trim (aggregation)
$map (aggregation)
$max (aggregation)
$mergeObjects (aggregation)
$meta
$min (aggregation)
$millisecond (aggregation)
$minute (aggregation)
$mod (aggregation)
$month (aggregation)
$multiply (aggregation)
$ne (aggregation)
$not (aggregation)
$objectToArray (aggregation)
$or (aggregation)
$pow (aggregation)
$push (aggregation)
$radiansToDegrees (aggregation)
$range (aggregation)
$reduce (aggregation)
$regexFind (aggregation)
$regexFindAll (aggregation)
$regexMatch (aggregation)
$replaceOne (aggregation)
$replaceAll (aggregation)
$reverseArray (aggregation)
$round (aggregation)
$rtrim (aggregation)
$second (aggregation)
$setDifference (aggregation)
$setEquals (aggregation)
$setIntersection (aggregation)
$setIsSubset (aggregation)
$setUnion (aggregation)
$size (aggregation)
$slice (aggregation)
$split (aggregation)
$sqrt (aggregation)
$stdDevPop (aggregation)
$stdDevSamp (aggregation)
$strcasecmp (aggregation)
$strLenBytes (aggregation)
$strLenCP (aggregation)
$substr (aggregation)
$substrBytes (aggregation)
$substrCP (aggregation)
$subtract (aggregation)
$sum (aggregation)
$switch (aggregation)
$tan (aggregation)
$toBool (aggregation)
$toDate (aggregation)
$toDecimal (aggregation)
$toDouble(aggregation)
$toInt (aggregation)
$toLong (aggregation)
$toObjectId (aggregation)
$toString (aggregation)
$toLower (aggregation)
$toUpper (aggregation)
$trim (aggregation)
$trunc (aggregation)
$type (aggregation)
$week (aggregation)
$year (aggregation)
$zip (aggregation)
查询修饰符
$comment
$explain
$hint
$max
$maxTimeMS
$min
$orderby
$query
$returnKey
$showDiskLoc
$natural
聚合管道操作符
$abs (aggregation)
$acos (aggregation)
$acosh (aggregation)
$add (aggregation)
$addToSet (aggregation)
$and (aggregation)
$anyElementTrue (aggregation)
$arrayElemAt (aggregation)
$arrayToObject (aggregation)
$asin (aggregation)
$asinh (aggregation)
$atan (aggregation)
$atan2 (aggregation)
$atanh (aggregation)
$avg (aggregation)
$ceil (aggregation)
$cmp (aggregation)
$concat (aggregation)
$concatArrays (aggregation)
$cond (aggregation)
$convert (aggregation)
$cos (aggregation)
$dateFromParts (aggregation)
$dateFromString (aggregation)
$dateToParts (aggregation)
$dateToString (aggregation)
$literal (aggregation)
聚合管道阶段
数据库命令
Aggregation Commands
aggregate
count
distinct
mapReduce
Geospatial Commands
geoSearch
Query and Write Operation Commands
delete
find
findAndModify
getLastError
getMore
insert
resetError
update
查询计划缓存命令
planCacheClear
planCacheClearFilters
planCacheListFilters
planCacheSetFilter
认证命令
authenticate
getnonce
logout
User Management Commands
createUser
dropAllUsersFromDatabase
dropUser
grantRolesToUser
revokeRolesFromUser
updateUser
usersInfo
Role Management Commands
createRole
dropRole
dropAllRolesFromDatabase
grantPrivilegesToRole
grantRolesToRole
invalidateUserCache
revokePrivilegesFromRole
revokeRolesFromRole
rolesInfo
updateRole
Replication Commands
applyOps
isMaster
replSetAbortPrimaryCatchUp
replSetFreeze
replSetGetConfig
replSetGetStatus
replSetInitiate
replSetMaintenance
replSetReconfig
replSetResizeOplog
replSetStepDown
replSetSyncFrom
Sharding Commands
addShard
addShardToZone
balancerCollectionStatus
balancerStart
balancerStatus
balancerStop
checkShardingIndex
clearJumboFlag
cleanupOrphaned
enableSharding
flushRouterConfig
getShardMap
getShardVersion
isdbgrid
listShards
medianKey
moveChunk
movePrimary
mergeChunks
refineCollectionShardKey
removeShard
removeShardFromZone
setShardVersion
shardCollection
shardingState
split
splitChunk
splitVector
unsetSharding
updateZoneKeyRange
Sessions Commands
abortTransaction
commitTransaction
endSessions
killAllSessions
killAllSessionsByPattern
killSessions
refreshSessions
startSession
Administration Commands
cloneCollectionAsCapped
collMod
compact
connPoolSync
convertToCapped
create
createIndexes
currentOp
drop
dropDatabase
dropConnections
dropIndexes
filemd5
fsync
fsyncUnlock
getDefaultRWConcern
getParameter
killCursors
killOp
listCollections
listDatabases
listIndexes
logRotate
reIndex
renameCollection
setFeatureCompatibilityVersion
setIndexCommitQuorum
setParameter
setDefaultRWConcern
shutdown
Diagnostic Commands
availableQueryOptions
buildInfo
collStats
connPoolStats
connectionStatus
cursorInfo
dataSize
dbHash
dbStats
diagLogging
driverOIDTest
explain
features
getCmdLineOpts
getLog
hostInfo
isSelf
listCommands
lockInfo
netstat
ping
profile
serverStatus
shardConnPoolStats
top
validate
whatsmyuri
免费监控命令
getFreeMonitoringStatus
setFreeMonitoring
数据库命令
logApplicationMessage
管理命令
聚合命令
诊断命令
地理空间命令
查询和写操作命令
复制命令
角色管理命令
会话命令
分片命令
用户管理命令
mongo Shell 方法
Collection Methods
db.collection.aggregate()
db.collection.bulkWrite()
db.collection.copyTo()
db.collection.count()
db.collection.countDocuments()
db.collection.estimatedDocumentCount()
db.collection.createIndex()
db.collection.createIndexes()
db.collection.dataSize()
db.collection.deleteOne()
db.collection.deleteMany()
db.collection.distinct()
db.collection.drop()
db.collection.dropIndex()
db.collection.dropIndexes()
db.collection.ensureIndex()
db.collection.explain()
db.collection.find()
db.collection.findAndModify()
db.collection.findOne()
db.collection.findOneAndDelete()
db.collection.findOneAndReplace()
db.collection.findOneAndUpdate()
db.collection.getIndexes()
db.collection.getShardDistribution()
db.collection.getShardVersion()
db.collection.hideIndex()
db.collection.insert()
db.collection.insertOne()
db.collection.insertMany()
db.collection.isCapped()
db.collection.latencyStats()
db.collection.mapReduce()
db.collection.reIndex()
db.collection.remove()
db.collection.renameCollection()
db.collection.replaceOne()
db.collection.save()
db.collection.stats()
db.collection.storageSize()
db.collection.totalIndexSize()
db.collection.totalSize()
db.collection.unhideIndex()
db.collection.update()
db.collection.updateOne()
db.collection.updateMany()
db.collection.watch()
db.collection.validate()
Cursor Methods
cursor.addOption()
cursor.allowDiskUse()
cursor.allowPartialResults()
cursor.batchSize()
cursor.close()
cursor.isClosed()
cursor.collation()
cursor.comment()
cursor.count()
cursor.explain()
cursor.forEach()
cursor.hasNext()
cursor.hint()
cursor.isExhausted()
cursor.itcount()
cursor.limit()
cursor.map()
cursor.max()
cursor.maxTimeMS()
cursor.min()
cursor.next()
cursor.noCursorTimeout()
cursor.objsLeftInBatch()
cursor.pretty()
cursor.readConcern()
cursor.readPref()
cursor.returnKey()
cursor.showRecordId()
cursor.size()
cursor.skip()
cursor.sort()
cursor.tailable()
cursor.toArray()
Database Methods
db.adminCommand()
db.aggregate()
db.cloneDatabase()
db.commandHelp()
db.copyDatabase()
db.createCollection()
db.createView()
db.currentOp()
db.dropDatabase()
db.eval()
db.fsyncLock()
db.fsyncUnlock()
db.getCollection()
db.getCollectionInfos()
db.getCollectionNames()
db.getLastError()
db.getLastErrorObj()
db.getLogComponents()
db.getMongo()
db.getName()
db.getProfilingLevel()
db.getProfilingStatus()
db.getReplicationInfo()
db.getSiblingDB()
db.help()
db.hostInfo()
db.isMaster()
db.killOp()
db.listCommands()
db.logout()
db.printCollectionStats()
db.printReplicationInfo()
db.printShardingStatus()
db.printSlaveReplicationInfo()
db.resetError()
db.runCommand()
db.serverBuildInfo()
db.serverCmdLineOpts()
db.serverStatus()
db.setLogLevel()
db.setProfilingLevel()
db.shutdownServer()
db.stats()
db.version()
db.watch()
Query Plan Cache Methods
db.collection.getPlanCache()
PlanCache.clear()
PlanCache.clearPlansByQuery()
PlanCache.help()
PlanCache.list()
Bulk Operation Methods
db.collection.initializeOrderedBulkOp()
db.collection.initializeUnorderedBulkOp()
Bulk()
Bulk.execute()
Bulk.find()
Bulk.find.arrayFilters()
Bulk.find.collation()
Bulk.find.hint()
Bulk.find.remove()
Bulk.find.removeOne()
Bulk.find.replaceOne()
Bulk.find.updateOne()
Bulk.find.update()
Bulk.find.upsert()
Bulk.getOperations()
Bulk.insert()
Bulk.tojson()
Bulk.toString()
User Management Methods
db.auth()
db.changeUserPassword()
db.createUser()
db.dropUser()
db.dropAllUsers()
db.getUser()
db.getUsers()
db.grantRolesToUser()
db.removeUser()
db.revokeRolesFromUser()
db.updateUser()
passwordPrompt()
Role Management Methods
db.createRole()
db.dropRole()
db.dropAllRoles()
db.getRole()
db.getRoles()
db.grantPrivilegesToRole()
db.revokePrivilegesFromRole()
db.grantRolesToRole()
db.revokeRolesFromRole()
db.updateRole()
Replication Methods
rs.add()
rs.addArb()
rs.conf()
rs.freeze()
rs.help()
rs.initiate()
rs.printReplicationInfo()
rs.printSlaveReplicationInfo()
rs.reconfig()
rs.remove()
rs.status()
rs.stepDown()
rs.syncFrom()
Sharding Methods
sh.addShard()
sh.addShardTag()
sh.addShardToZone()
sh.addTagRange()
sh.balancerCollectionStatus()
sh.disableBalancing()
sh.enableBalancing()
sh.disableAutoSplit
sh.enableAutoSplit
sh.enableSharding()
sh.getBalancerHost()
sh.getBalancerState()
sh.removeTagRange()
sh.removeRangeFromZone()
sh.help()
sh.isBalancerRunning()
sh.moveChunk()
sh.removeShardTag()
sh.removeShardFromZone()
sh.setBalancerState()
sh.shardCollection()
sh.splitAt()
sh.splitFind()
sh.startBalancer()
sh.status()
sh.stopBalancer()
sh.waitForBalancer()
sh.waitForBalancerOff()
sh.waitForPingChange()
sh.updateZoneKeyRange()
convertShardKeyToHashed
Free Monitoring Methods
db.disableFreeMonitoring()
db.enableFreeMonitoring()
db.getFreeMonitoringStatus
Object Constructors and Methods
BulkWriteResult()
Date()
ObjectId
ObjectId.getTimestamp()
ObjectId.toString()
ObjectId.valueOf()
UUID()
WriteResult()
WriteResult.hasWriteError()
WriteResult.hasWriteConcernError()
Connection Methods
connect()
Mongo()
Mongo.getDB()
Mongo.getReadPrefMode()
Mongo.getReadPrefTagSet()
Mongo.isCausalConsistency()
Mongo.setCausalConsistency()
Mongo.setReadPref()
Mongo.startSession()
Mongo.watch()
Session
Session.abortTransaction()
Session.commitTransaction()
Session.startTransaction()
SessionOptions
Native Methods
cat()
cd()
copyDbpath()
getHostName()
getMemInfo()
hostname()
isInteractive()
listFiles()
load()
ls()
md5sumFile()
mkdir()
pwd()
quit()
removeFile()
resetDbpath()
sleep()
setVerboseShell()
version()
_isWindows()
_rand()
Client-Side Field Level Encryption Methods
getKeyVault()
KeyVault.createKey()
KeyVault.deleteKey()
KeyVault.getKey()
KeyVault.getKeys()
KeyVault.addKeyAlternateName()
KeyVault.removeKeyAlternateName()
KeyVault.getKeyByAltName()
getClientEncryption()
ClientEncryption.encrypt()
ClientEncryption.decrypt()
mongo Shell 方法
MongoDB Package Components
mongod
mongos
mongo
mongod.exe
mongos.exe
mongodump
mongorestore
bsondump
mongoimport
mongoexport
mongostat
mongotop
mongoreplay
mongoldap
mongokerberos
mongofiles
install_compass
Configuration File Options
Externally Sourced Configuration File Values
Convert Command-Line Options to YAML
Configuration File Settings and Command-Line Options Mapping
Externally Sourced Configuration File Values
MongoDB Server Parameters
MongoDB Limits and Thresholds
Explain Results
System Collections
连接字符串URI格式
排序
排序区域和默认参数
MongoDB的Wire协议
日志消息
Exit Codes and Statuses
词汇表
默认的MongoDB端口
Default MongoDB Read Concerns/Write Concerns
服务器会话
Configuration File Options
默认的MongoDB读/写关注
退出代码和状态
MongoDB Limits and Thresholds
更新说明
Release Notes for MongoDB 6.1
Compatibility Changes in MongoDB 6.1
6.1 Changelog
Release Notes for MongoDB 6.0
Compatibility Changes in MongoDB 6.0
Downgrade 6.0 to 5.0
Downgrade 6.0 Standalone to 5.0
Downgrade 6.0 Replica Set to 5.0
Downgrade 6.0 Sharded Cluster to 5.0
Upgrade 5.0 to 6.0
Upgrade a Standalone to 6.0
Upgrade a Replica Set to 6.0
Upgrade a Sharded Cluster to 6.0
6.0 Changelog
Release Notes for MongoDB 5.3
Compatibility Changes in MongoDB 5.3
Release Notes for MongoDB 5.2
Compatibility Changes in MongoDB 5.2
Release Notes for MongoDB 5.1
Compatibility Changes in MongoDB 5.1
5.1 Changelog
Release Notes for MongoDB 5.0
Compatibility Changes in MongoDB 5.0
Upgrade a Standalone to 5.0
Upgrade a Replica Set to 5.0
Upgrade a Sharded Cluster to 5.0
Downgrade 5.0 to 4.4
Downgrade 5.0 Standalone to 4.4
Downgrade 5.0 Replica Set to 4.4
Downgrade 5.0 Sharded Cluster to 4.4
5.0 Changelog
Release Notes for MongoDB 4.4
Compatibility Changes in MongoDB 4.4
Upgrade a Standalone to 4.4
Upgrade a Replica Set to 4.4
Upgrade a Sharded Cluster to 4.4
Downgrade 4.4 to 4.2
Downgrade 4.4 Standalone to 4.2
Downgrade 4.4 Replica Set to 4.2
Downgrade 4.4 Sharded Cluster to 4.2
4.4 Changelog
Release Notes for MongoDB 4.2
Compatibility Changes in MongoDB 4.2
Upgrade a Standalone to 4.2
Upgrade a Replica Set to 4.2
Upgrade a Sharded Cluster to 4.2
Downgrade 4.2 to 4.0
Downgrade 4.2 Standalone to 4.0
Downgrade 4.2 Replica Set to 4.0
Downgrade 4.2 Sharded Cluster to 4.0
4.2 Changelog
Release Notes for MongoDB 4.0
Compatibility Changes in MongoDB 4.0
Upgrade a Standalone to 4.0
Upgrade a Replica Set to 4.0
Upgrade a Sharded Cluster to 4.0
Downgrade 4.0 Standalone to 3.6
Downgrade 4.0 Replica Set to 3.6
Downgrade 4.0 Sharded Cluster to 3.6
4.0 Changelog
Release Notes for MongoDB 3.6
3.6 Changelog
Compatibility Changes in MongoDB 3.6
Upgrade a Standalone to 3.6
Upgrade a Replica Set to 3.6
Upgrade a Sharded Cluster to 3.6
Downgrade 3.6 Standalone to 3.4
Downgrade 3.6 Replica Set to 3.4
Downgrade 3.6 Sharded Cluster to 3.4
Release Notes for MongoDB 3.4
3.4 Changelog
Compatibility Changes in MongoDB 3.4
Upgrade a Standalone to 3.4
Upgrade a Replica Set to 3.4
Upgrade a Sharded Cluster to 3.4
Downgrade MongoDB 3.4 to 3.2
Downgrade 3.4 Standalone to 3.2
Downgrade 3.4 Replica Set to 3.2
Downgrade 3.4 Sharded Cluster to 3.2
Release Notes for MongoDB 3.2
3.2 Changelog
Compatibility Changes in MongoDB 3.2
JavaScript Changes in MongoDB 3.2
Upgrade MongoDB to 3.2
Downgrade MongoDB from 3.2
Release Notes for MongoDB 3.0
3.0 Changelog
Compatibility Changes in MongoDB 3.0
Upgrade MongoDB to 3.0
Upgrade to SCRAM
Downgrade MongoDB from 3.0
Release Notes for MongoDB 2.6
2.6 Changelog
Compatibility Changes in MongoDB 2.6
Upgrade MongoDB to 2.6
Upgrade User Authorization Data to 2.6 Format
Downgrade MongoDB from 2.6
Release Notes for MongoDB 2.4
2.4 Changelog
JavaScript Changes in MongoDB 2.4
Upgrade MongoDB to 2.4
Compatibility and Index Type Changes in MongoDB 2.4
Release Notes for MongoDB 2.2
Release Notes for MongoDB 2.0
Release Notes for MongoDB 1.8
Release Notes for MongoDB 1.6
Release Notes for MongoDB 1.4
Release Notes for MongoDB 1.2.x
MongoDB Versioning
时间序列
Create and Query a Time Series Collection
List Time Series Collections in a Database
Set up Automatic Removal for Time Series Collections
Set Granularity for Time Series Data
Add Secondary Indexes to Time Series Collections
Migrate Data into a Time Series Collection
Build Materialized Views on Top of Time Series Data
Shard a Time Series Collection
Best Practices for Time Series Collections
reference
Time Series Compression
Limitations
技术支持
MongoDB的Scala驱动
开始使用MongoDB开发
联系我们
更多资料
本书使用 GitBook 发布
splitChunk
splitChunk
!本页翻译征集中!
请点击页面上方 EDIT THIS PAGE 参与翻译。 详见:
贡献指南
、
原文链接
。
参见
原文 -
splitChunk
results matching "
"
No results matching "
"