MongoDB 中文文档帮助手册

白天 夜间 首页 下载 阅读记录
  我的书签   添加书签   移除书签

空标题文档

来源 JinMuInfo 浏览 622 扫码 分享 2022-05-01 20:52:58
    • 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 快速参考
    • 增删改查操作
      • 插入文档
        • 插入方法
      • 查询文档
        • 查询嵌入/嵌套文档
        • 查询数组
        • 查询嵌入式文档数组
        • 从查询返回的项目字段
        • 查询空字段或缺少字段
        • 在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 索引
      • 在填充的集合上建立索引
      • 索引参考
      • 索引策略
        • 使用索引对查询结果进行排序
      • 管理索引
      • 多键索引
      • 单字段索引
      • 文本索引
        • 用权重控制搜索结果
        • 限制扫描条目的数量
        • 为文本索引指定语言
        • 指定文本索引的名称
      • 通配符索引
    • 安全
      • 安全检查列表
      • Enable Access Control
      • 身份验证
        • Users
          • Add Users
        • Authentication Mechanisms
          • SCRAM
          • x.509
            • Use x.509 Certificates to Authenticate Clients
        • Enterprise Authentication Mechanisms
          • Kerberos Authentication
            • Configure MongoDB with Kerberos Authentication on Linux
            • Configure MongoDB with Kerberos Authentication on Windows
            • Troubleshoot Kerberos Authentication
            • Configure MongoDB with Kerberos Authentication and Active Directory Authorization
          • LDAP Proxy Authentication
            • Authenticate Using SASL and LDAP with ActiveDirectory
            • Authenticate Using SASL and LDAP with OpenLDAP
            • Authenticate and Authorize Users Using Active Directory via Native LDAP
          • LDAP Authorization
        • Internal/Membership Authentication
          • Deploy Replica Set With Keyfile Authentication
          • Update Replica Set to Keyfile Authentication
          • Update Replica Set to Keyfile Authentication (No Downtime)
          • Rotate Keys for Replica Sets
          • Deploy Sharded Cluster with Keyfile Authentication
          • Update Sharded Cluster to Keyfile Authentication
          • Update Sharded Cluster to Keyfile Authentication (No Downtime)
          • Rotate Keys for Sharded Clusters
          • Use x.509 Certificate for Membership Authentication
          • Upgrade from Keyfile Authentication to x.509 Authentication
          • Rolling Update of x.509 Cluster Certificates that Contain New DN
      • Role-Based Access Control
        • Built-In Roles
        • User-Defined Roles
        • Manage Users and Roles
        • Change Your Password and Custom Data
        • Collection-Level Access Control
      • TLS/SSL (Transport Encryption)
        • Configure mongod and mongos for TLS/SSL
        • TLS/SSL Configuration for Clients
        • Upgrade a Cluster to Use TLS/SSL
        • Configure MongoDB for FIPS
      • Encryption at Rest
        • Configure Encryption
        • Rotate Encryption Keys
      • Client-Side Field Level Encryption
        • Automatic Client-Side Field Level Encryption
          • Automatic Encryption Rules
          • Read/Write Support with Automatic Field Level Encryption
          • Appendix
        • Explicit (Manual) Client-Side Field Level Encryption
        • Master Key and Data Encryption Key Management
          • Manage Data Encryption Keys
        • Limitations
      • 审计
        • 配置审计
        • 配置审计过滤器
        • 系统事件审计消息
      • Network and Configuration Hardening
        • IP Binding
        • Configure Linux iptables Firewall for MongoDB
        • Configure Windows netsh Firewall for MongoDB
      • Implement Field Level Redaction
      • Security Reference
        • system.roles 集合
        • system.users 集合
        • 资源文档
        • 权限操作
      • Create a Vulnerability Report
      • Appendix
        • Appendix A - OpenSSL CA Certificate for Testing
        • Appendix B - OpenSSL Server Certificates for Testing
        • Appendix C - OpenSSL Client Certificates for Testing
      • 附录
        • 附录 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 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
    • 技术支持
      • MongoDB的Scala驱动
    • 开始使用MongoDB开发
    • 联系我们
    • 更多资料

    若有收获,就点个赞吧

    0 人点赞

    上一篇:
    下一篇:
    • 书签
    • 添加书签 移除书签
    • MongoDB 用户手册
    • MongoDB 入门
    • MongoDB 视图
    • 集合
    • 数据库和集合
    • 文档结构
    • BSON 类型
    • MongoDB 数据库的优点
    • MongoDB特点
    • MongoDB 历史
    • MongoDB 简介
    • 在 Linux 上安装 MongoDB 社区版
    • 在macOS上安装 MongoDB 社区版
    • 在Windows上安装 MongoDB 社区版
    • 安装 MongoDB 社区版
    • 在Mac OS安装 MongoDB 企业版
    • 在Windows安装 MongoDB 企业版
    • 使用Docker安装MongoDB企业版
    • 安装MongoDB企业版
    • 将社区版MongoDB升级到企业版MongoDB
    • 安装 MongoDB
    • 配置 Mongo Shell
    • 使用 mongo Shell 帮助
    • 为 mongo Shell 编写脚本
    • mongo Shell 中的数据类型
    • mongo Shell 快速参考
    • The mongo Shell
    • 插入方法
    • 插入文档
    • 查询嵌入/嵌套文档
    • 查询数组
    • 查询嵌入式文档数组
    • 从查询返回的项目字段
    • 查询空字段或缺少字段
    • 在 mongo Shell 中迭代游标
    • 查询文档
    • 聚合管道更新
    • 更新方法
    • 更新文档
    • 删除方法
    • 删除文档
    • 批量写入操作
    • 可重试写入
    • 可重试读取
    • SQL 到 MongoDB 的映射图表
    • 文本索引
    • 文本搜索运算符
    • 聚合管道中的文本搜索
    • 文本搜索语言
    • 文本搜索
    • 用地理空间查询查找餐馆
    • GeoJSON对象
    • 地理空间查询
    • 读关注 “local”
    • 读关注“available”
    • 读关注 “majority”
    • 读关注“linearizable”
    • 读关注点"snapshot"
    • 读关注
    • 写关注
    • 原子性和事务
    • 因果一致性和读写问题
    • 读取隔离、一致性和近效性
    • 分布式查询
    • 通过 findAndModify 可线性读取
    • 查询计划
    • 评估当前运营的绩效
    • 优化查询性能
    • 写操作性能
    • 解释结果
    • 查询优化
    • 分析查询性能
    • Tailable 游标
    • MongoDB CRUD 概念
    • 增删改查操作
    • 聚合管道优化
    • 聚合管道和分片集合
    • 使用 Zip Code 数据集进行聚合
    • 使用用户首选项数据进行聚合
    • 聚合管道限制
    • 聚合管道
    • SQL 到聚合映射图表
    • 聚合表达式中的变量
    • Map-Reduce 和分片集合
    • Map-Reduce 并发
    • Map-Reduce 例子
    • 执行增量 Map-Reduce
    • 对 Map Function 进行故障排除
    • 排除 Reduce Function 问题
    • Map-Reduce 转换到聚合管道
    • Map-Reduce
    • 聚合管道快速参考
    • 聚合命令比较
    • 聚合命令
    • 聚合参考
    • 聚合
    • 数据建模介绍
    • 模式验证
    • 数据建模
    • 事务操作
    • 事务
    • 多键索引范围
    • 通配符索引限制
    • 查询一个`2dsphere`索引
    • 查询一个“2d”索引
    • `2d`索引内部
    • 使用球面几何计算距离
    • 创建一个`2d`索引
    • 查询 Haystack 索引
    • 创建 Haystack 索引
    • 通过设置TTL使集合中的数据过期
    • TTL索引
    • 不分大小写索引
    • 部分索引
    • Sparse索引
    • 唯一索引
    • 索引特性
    • 在复制集上建立索引
    • 在分片群集上建立滚动索引
    • 索引交集
    • 衡量索引使用
    • 创建索引来支持查询
    • 确保索引适合RAM
    • 创建以确保选择性的查询
    • 2d 索引
    • 2dsphere 索引
    • 复合索引
    • Hashed 索引
    • 在填充的集合上建立索引
    • 索引参考
    • 使用索引对查询结果进行排序
    • 索引策略
    • 管理索引
    • 多键索引
    • 单字段索引
    • 用权重控制搜索结果
    • 限制扫描条目的数量
    • 指定文本索引的名称
    • 为文本索引指定语言
    • 文本索引
    • 通配符索引
    • geoHaystack 索引
    • 索引
    • 安全检查列表
    • 身份验证
    • 配置审计
    • 配置审计过滤器
    • 系统事件审计消息
    • 安全审计
    • system.roles 集合
    • system.users 集合
    • 资源文档
    • 权限操作
    • 附录 A - 用于测试的 OpenSSl CA 证书
    • 附录 B-用于测试的OpenSSL服务器证书
    • 附录C - 用于测试的OpenSSL客户端证书
    • 附录
    • 启用访问控制
    • 网络和配置强化
    • 安全参考
    • 安全
    • 变更流生产建议
    • Change Events
    • 改变流
    • 副本集成员
    • 副本集日志
    • 副本集部署架构
    • 空标题文档
    • 复制
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 分片
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 数据库管理文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 存储
    • 常见问题解答:MongoDB基础知识
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 常见问题解答:复制和副本集
    • 空标题文档
    • 空标题文档
    • Frequently Asked Questions
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • $lt
    • $ne
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • $and
    • $nor
    • $not
    • $or
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • Configuration File Options
    • 空标题文档
    • MongoDB Limits and Thresholds
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • 空标题文档
    • MongoDB中文用户手册翻译认领须知
    • 贡献者名单说明
    • MongoDB 中文手册 | MongoDB 中文文档 | 官方手册中文版翻译
    • 空标题文档
    • MongoDB 不同语言驱动
    • 空标题文档
    • MongoDB用户手册
    • MongoDB中文手册说明
    • 入门
    • Create an Atlas Free Tier Cluster
    • 视图
    • On-Demand Materialized Views
    • 封顶集合
    • 数据库和集合
    • 文档
    • Comparison/Sort Order
    • MongoDB Extended JSON
    • MongoDB Extended JSON
    • BSON类型
    • MongoDB数据库的优点
    • MongoDB特点
    • MongoDB历史
    • MongoDB简介
    • Comparison and Sort Order
    • MongoDB Extended JSON (v1)
    • MongoDB Extended JSON (v2)
    • BSON类型
    • 封顶集合
    • 按需物化视图
    • 视图
    • 数据库和集合
    • 文档
    • 入门
    • MongoDB数据库的优点
    • MongoDB特点
    • MongoDB历史
    • MongoDB简介
    • Install on Red Hat
    • Install on Ubuntu
    • Install on Debian
    • Install on SUSE
    • Install on Amazon
    • Install on Linux
    • Install on macOS
    • Install on Windows
    • 安装MongoDB社区版
    • Install on Linux
    • Install on macOS
    • Install on Windows
    • Install with Docker
    • 安装MongoDB企业版
    • Upgrade to MongoDB Enterprise (Standalone)
    • Upgrade to MongoDB Enterprise (Replica Set)
    • 将社区版MongoDB升级到企业版MongoDB
    • 安装 MongoDB
    • 安装MongoDB社区版
    • 安装MongoDB企业版
    • 在Linux上安装MongoDB企业版
    • 在Linux上安装MongoDB社区版
    • 在Windows安装MongoDB企业版
    • 在Windows上安装MongoDB社区版
    • 在Mac OS安装MongoDB企业版
    • 在macOS上安装MongoDB社区版
    • 使用Docker安装MongoDB企业版
    • 将社区版MongoDB升级到企业版MongoDB
    • 验证MongoDB软件包的完整性
    • 安装 MongoDB
    • 配置mongo Shell
    • 使用 mongo Shell帮助
    • 为mongo Shell编写脚本
    • mongo Shell中的数据类型
    • mongo Shell 快速参考
    • Mongo Shell
    • 使用 mongo Shell帮助
    • 配置mongo Shell
    • mongo Shell中的数据类型
    • 为mongo Shell编写脚本
    • mongo Shell 快速参考
    • 插入方法
    • 插入文档
    • 查询嵌入/嵌套文档
    • 查询数组
    • 查询嵌入式文档数组
    • 从查询返回的项目字段
    • 查询空字段或缺少字段
    • 在mongo Shell中迭代游标
    • 查询文档
    • 聚合管道更新
    • 更新方法
    • 更新文档
    • 删除方法
    • 删除文档
    • 批量写入操作
    • 可重试写入
    • 可重试读取
    • SQL到MongoDB的映射图表
    • 文本索引
    • 文本搜索运算符
    • 聚合管道中的文本搜索
    • 文本搜索语言
    • 文本搜索
    • 用地理空间查询查找餐馆
    • GeoJSON对象
    • 地理空间查询
    • 读关注“local”
    • 读关注“available”
    • 读关注“majority”
    • 读关注“linearizable”
    • 读关注点"snapshot"
    • 读关注
    • 写关注
    • 原子性和事务
    • 读取隔离、一致性和近效性
    • 分布式查询
    • 通过findAndModify可线性读取
    • 查询计划
    • 评估当前运营的绩效
    • 写操作性能
    • 解释结果
    • 查询优化
    • 分析查询性能
    • Tailable游标
    • MongoDB CRUD 概念
    • 增删改查操作
    • 批量写入操作
    • 删除方法
    • 删除文档
    • 用地理空间查询查找餐馆
    • GeoJSON对象
    • 地理空间查询
    • 插入方法
    • 插入文档
    • 分析查询表现
    • 原子性和事务
    • 分布式查询
    • 通过findAndModify进行线性化读取
    • 说明结果
    • 查询优化
    • 查询计划
    • 读隔离性,一致性和近因性
    • Tailable 游标
    • MongoDB CRUD 概念
    • 在mongo Shell中迭代游标
    • 从查询返回的项目字段
    • 查询嵌入式文档数组
    • 查询数组
    • 查询空字段或缺少字段
    • 查询嵌入/嵌套文档
    • 查询文档
    • 读关注 "available"
    • 读关注 "linearizable"
    • 读关注 "local"
    • 读关注 "majority"
    • 读关注 "snapshot"
    • 读关注
    • 可重试读取
    • 可重试写入
    • SQL到MongoDB的映射图表
    • 文本索引语言
    • 文本索引操作
    • 集合管道中的文本索引
    • 文本索引
    • 文本搜索
    • 更新方法
    • 聚合管道更新
    • 更新文档
    • 写关注
    • MongoDB CRUD 操作
    • 聚合管道优化
    • Aggregation Pipeline Limits
    • 聚合管道和分片集合
    • 使用 Zip Code 数据集进行聚合
    • 使用用户首选项数据进行聚合
    • 聚合管道限制
    • 聚合管道
    • SQL 到聚合映射图表
    • 聚合表达式中的变量
    • Map-Reduce 和分片集合
    • Map-Reduce 并发
    • Map-Reduce 例子
    • 执行增量 Map-Reduce
    • 对 Map Function 进行故障排除
    • 排除 Reduce Function 问题
    • Map-Reduce转换到聚合管道
    • Map-Reduce
    • 聚合管道快速参考
    • Aggregation Commands
    • 聚合命令比较
    • Variables in Aggregation Expressions
    • 聚合命令
    • 聚合参考
    • 聚合
    • 聚合管道限制
    • 聚合管道优化
    • 聚合管道和分片集合
    • 使用用户首选项数据进行聚合
    • 使用 Zip Code 数据集进行聚合
    • 聚合管道
    • 聚合命令对比
    • 聚合命令
    • 聚合管道快速参考
    • SQL 到聚合映射图表
    • 聚合表达式中的变量
    • 聚合参考
    • Map-Reduce 并发
    • Map-Reduce 示例
    • Map-Reduce 和分片集合
    • Map-Reduce转换到聚合管道
    • 执行增量 Map-Reduce
    • 对 Map Function 进行故障排除
    • 排除 Reduce Function 问题
    • Map-Reduce
    • 聚合
    • 数据建模介绍
    • 模式验证
    • Data Model Design
    • Operational Factors and Data Models
    • Data Modeling Concepts
    • Model Relationships Between Documents
    • Model Tree Structures
    • Model Monetary Data
    • Model Time Data
    • Model Computed Data
    • Model Specific Application Contexts
    • Data Model Examples and Patterns
    • Database References
    • Data Model Reference
    • 数据模式
    • 数据库参考
    • 数据模型设计
    • 运营因素和数据建模
    • 数据建模介绍
    • 模式验证
    • The mongo Shell
    • Drivers API
    • Production Considerations
    • Production Considerations (Sharded Clusters)
    • 事务操作
    • 事务
    • 驱动程序 API
    • 生产注意事项 (分片集群)
    • 生产注意事项
    • 事务操作
    • 事务
    • Single Field Indexes
    • Compound Indexes
    • 多键索引范围
    • Multikey Indexes
    • Specify a Language for Text Index
    • Specify Name for text Index
    • Control Search Results with Weights
    • Limit the Number of Entries Scanned
    • Text Indexes
    • 通配符索引限制
    • Wildcard Indexes
    • 查询一个2dsphere索引
    • 2dsphere Indexes
    • Create a 2d Index
    • 查询一个“2d”索引
    • 2d Index Internals
    • 2d索引内部
    • 使用球面几何计算距离
    • 创建一个2d索引
    • 2d Indexes
    • Create a Haystack Index
    • 查询Haystack索引
    • 创建Haystack索引
    • geoHaystack Indexes
    • Hashed Indexes
    • 通过设置TTL使集合中的数据过期
    • TTL索引
    • Unique Indexes
    • Partial Indexes
    • Case Insensitive Indexes
    • Hidden Indexes
    • Sparse Indexes
    • 不分大小写索引
    • 部分索引
    • Sparse索引
    • 唯一索引
    • 索引特性
    • 在复制集上建立索引
    • 在分片群集上建立滚动索引
    • Index Builds on Populated Collections
    • 索引交集
    • Manage Indexes
    • 衡量索引使用
    • 创建索引来支持查询
    • Use Indexes to Sort Query Results
    • 确保索引适合RAM
    • 创建以确保选择性的查询
    • Indexing Strategies
    • Indexing Reference
    • 2d索引
    • 2dsphere索引
    • 复合索引
    • Hashed 索引
    • 在填充的集合上建立索引
    • 索引参考
    • 使用索引对查询结果进行排序
    • 索引策略
    • 管理索引
    • 多键索引
    • 单字段索引
    • 用权重控制搜索结果
    • 限制扫描条目的数量
    • 指定文本索引的名称
    • 为文本索引指定语言
    • 文本索引
    • 通配符索引
    • geoHaystack索引
    • 索引
    • 2d索引内部
    • 使用球面几何计算距离
    • 创建一个2d索引
    • 查询一个2d索引
    • 2d 索引
    • 查询一个2dsphere索引
    • 2dsphere 索引
    • 复合索引
    • 哈希索引
    • 在副本集上建立滚动索引
    • 在分片群集上建立滚动索引
    • 在填充的集合上建立索引
    • 索引交集
    • 不分大小写索引
    • 部分索引
    • Sparse 索引
    • 通过设置TTL使集合中的数据过期
    • TTL 索引
    • 唯一索引
    • 索引特性
    • 索引参考
    • 创建索引来支持查询
    • 创建以确保选择性的查询
    • 确保索引适合RAM
    • 使用索引对查询结果进行排序
    • 索引策略
    • 管理索引
    • 衡量索引使用
    • 多键索引范围
    • 多键索引
    • 单字段索引
    • 用权重控制搜索结果
    • 限制扫描条目的数量
    • 指定文本索引的名称
    • 为文本索引指定语言
    • 文本索引
    • 通配符索引限制
    • 通配符索引
    • 创建Haystack索引
    • 查询Haystack索引
    • geoHaystack 索引
    • 索引
    • 安全检查列表
    • Enable Access Control
    • Add Users
    • Users
    • SCRAM
    • x.509
    • Authentication Mechanisms
    • Kerberos Authentication
    • LDAP Proxy Authentication
    • Enterprise Authentication Mechanisms
    • Internal/Membership Authentication
    • 身份验证
    • Built-In Roles
    • User-Defined Roles
    • Manage Users and Roles
    • Change Your Password and Custom Data
    • Collection-Level Access Control
    • Role-Based Access Control
    • Configure mongod and mongos for TLS/SSL
    • TLS/SSL Configuration for Clients
    • Upgrade a Cluster to Use TLS/SSL
    • Configure MongoDB for FIPS
    • TLS/SSL (Transport Encryption)
    • Configure Encryption
    • Rotate Encryption Keys
    • Encryption at Rest
    • Explicit (Manual) Client-Side Field Level Encryption
    • Client-Side Field Level Encryption
    • 配置审计
    • 配置审计过滤器
    • 系统事件审计消息
    • 审计
    • IP Binding
    • Configure Linux iptables Firewall for MongoDB
    • Configure Windows netsh Firewall for MongoDB
    • Network and Configuration Hardening
    • Implement Field Level Redaction
    • system.roles 集合
    • system.users 集合
    • 资源文档
    • 权限操作
    • Security Reference
    • Create a Vulnerability Report
    • Appendix A - OpenSSL CA Certificate for Testing
    • Appendix B - OpenSSL Server Certificates for Testing
    • Appendix C - OpenSSL Client Certificates for Testing
    • Appendix
    • 附录 A - 用于测试的 OpenSSl CA 证书
    • 附录 B-用于测试的OpenSSL服务器证书
    • 附录C - 用于测试的OpenSSL客户端证书
    • 附录
    • 启用访问控制
    • 网络和配置强化
    • 安全参考
    • 安全
    • 附录-A-用于测试的 OpenSSl CA 证书
    • 附录-B-用于测试的OpenSSL服务器证书
    • 附录-C-用于测试的OpenSSL客户端证书
    • 附录
    • 配置审计过滤器
    • 系统事件审计消息
    • 配置审计
    • 审计
    • SCRAM
    • x.509
    • 认证机构
    • Kerberos身份验证
    • LDAP授权
    • LDAP代理身份验证
    • 企业认证机制
    • 循环为复制集设置密钥
    • 内部/会员认证
    • 添加用户
    • 用户数
    • 身份验证
    • 限制
    • 客户端字段级加密
    • 启用访问控制
    • 配置加密
    • 循环加密密钥
    • 静态加密
    • 实现字段级别修订
    • IP绑定
    • 网络和配置强化
    • 内置的角色
    • 更改您的密码和自定义数据
    • 集合级访问控制
    • 管理用户和角色
    • 用户定义的角色
    • 基于角色的访问控制
    • 安全检查列表
    • 权限操作
    • 资源文档
    • system.roles集合
    • system.users集合
    • 安全参考
    • 为FIPS配置MongoDB
    • 为TLS/SSL配置mongod和mongos
    • 客户端的TLS/SSL配置
    • 升级集群以使用TLS/SSL
    • TLS / SSL(传输加密)
    • 变更流生产建议
    • Change Events
    • 改变流
    • 变更事件
    • 变更流生产建议
    • 变更流
    • Replica Set Primary
    • Replica Set Secondary Members
    • Replica Set Arbiter
    • 复制集成员
    • 副本集日志
    • Replica Set Data Synchronization
    • Three Member Replica Sets
    • 副本集部署架构
    • Rollbacks During Replica Set Failover
    • Replica Set High Availability
    • Write Concern for Replica Sets
    • Tag Sets
    • maxStalenessSeconds
    • Hedged Read Option
    • Read Preference Use Cases
    • Read Preference
    • Server Selection Algorithm
    • Replica Set Read and Write Semantics
    • 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
    • Replica Set Deployment Tutorials
    • Adjust Priority for Replica Set Member
    • Convert a Secondary to an Arbiter
    • Member Configuration 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
    • Manage Chained Replication
    • Change Hostnames in a Replica Set
    • Configure a Secondary’s Sync Target
    • Replica Set Maintenance Tutorials
    • Replica Set Configuration
    • Replica Set Protocol Version
    • Troubleshoot Replica Sets
    • The local Database
    • Replica Set Member States
    • Replication Reference
    • 副本集数据同步
    • 复制集
    • 调整复制集成员的优先级
    • 配置无投票权限复制集成员
    • 配置延迟复制集成员
    • 配置隐藏的复制集成员
    • 将辅助节点转换为仲裁器
    • 防止从节点变成主节点
    • 成员配置教程
    • 复制集数据同步
    • 三个成员复制集
    • 复制集部署架构
    • 向复制集添加成员
    • 将仲裁器添加到复制集
    • 将单节点转为复制集
    • 部署复制集
    • 从复制集中删除成员
    • 替换复制集成员
    • 复制集部署教程
    • 复制集选举
    • 在复制集故障转移期间进行回滚
    • 复制集高可用性
    • 更改复制集中的主机名
    • 更改Oplog的大小
    • 配置复制集标签集
    • 配置辅助服务器的同步目标
    • 强制成员成为主要成员
    • 管理链式复制
    • 重新同步复制集的成员
    • 复制集维护教程
    • 复制集仲裁器
    • 主复制集
    • 辅助复制集
    • 复制集成员
    • 复制集日志
    • 修正读选项
    • 读取偏好
    • 服务器选择算法
    • 复制集写关注
    • 复制集读和写语义
    • 复制集配置
    • 复制集成员
    • 复制集协议版本
    • 本地数据库
    • 对复制集进行故障排除
    • 复制参考
    • 复制
    • 分片
    • 配置服务器 (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
    • 区域
    • 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
    • Data Partitioning with Chunks
    • Manage Sharded Cluster Balancer
    • Migrate Chunks in a Sharded Cluster
    • Balancer
    • Config Server Administration
    • 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
    • Administration
    • Operational Restrictions
    • Troubleshoot Sharded Clusters
    • Config Database
    • Sharding Reference
    • 分片键
    • Zone
    • 分片
    • 在分片集群中拆分数据块
    • 哈希分片
    • 范围分片
    • 分片键
    • 区
    • 产品说明
    • Operations Checklist
    • Development Checklist
    • Database Profiler
    • Disable Transparent Huge Pages (THP)
    • UNIX ulimit Settings
    • Performance
    • Run-time Database Configuration
    • Upgrade to the Latest Revision of MongoDB
    • Manage mongod Processes
    • Terminate Running Operations
    • Rotate Log Files
    • 配置和维护
    • Workload Isolation in MongoDB Deployments
    • Manage Shard Zones
    • Segmenting Data by Application or Customer
    • Zones
    • Manage Shard Zones
    • Data Center Awareness
    • Back Up and Restore with Filesystem Snapshots
    • Back Up and Restore with MongoDB Tools
    • Restore a Replica Set from MongoDB Backups
    • Restore a Sharded Cluster
    • Backup and Restore Sharded Clusters
    • Recover a Standalone after an Unexpected Shutdown
    • MongoDB Backup Methods
    • Free Monitoring
    • Monitor MongoDB With SNMP on Linux
    • Monitor MongoDB Windows with SNMP
    • Troubleshoot SNMP
    • Monitoring for MongoDB
    • 开发检查表
    • MogoDB 备份方法
    • 操作检查表
    • MongoDB性能
    • 管理权限
    • 配置和维护
    • 开发检查列表
    • MongoDB备份方法
    • 操作检查列表
    • 性能
    • 产品说明
    • Change Standalone to WiredTiger
    • Change Replica Set to WiredTiger
    • Change Sharded Cluster to WiredTiger
    • WiredTiger 存储引擎
    • 内存存储引擎
    • storage-engines
    • Manage Journaling
    • Journaling
    • GridFS
    • 常见问题解答:MongoDB 存储
    • 存储
    • 存储引擎
    • 存储
    • 常见问题解答:MongoDB基础知识
    • 常见问题解答:索引
    • 常见问题解答:并发
    • 常见问题解答:使用MongoDB分片
    • FAQ: Replication and Replica Sets
    • 常见问题解答:MongoDB存储
    • 常见问题解答:MongoDB诊断
    • 常见问题
    • FAQ: 并发
    • FAQ: 索引
    • FAQ: MongoDB 诊断
    • FAQ: MongoDB基础知识
    • FAQ: MongoDB 存储
    • FAQ: 复制和副本集
    • FAQ: MongoDB 分片
    • $eq
    • $gt
    • $gte
    • $in
    • $lte
    • $nin
    • Comparison Query Operators
    • Logical Query Operators
    • Element Query Operators
    • Evaluation Query Operators
    • Geospatial Query Operators
    • Array Query Operators
    • Bitwise Query Operators
    • 数组查询运算符
    • 按位查询运算符
    • $lt
    • $ne
    • 比较查询运算符
    • 元素查询运算符
    • 评估查询运算符
    • 地理空间查询运算符
    • $and
    • $nor
    • $not
    • $or
    • 逻辑查询运算符
    • $comment
    • 查询与映射运算符
    • Query and Projection Operators
    • Field Update Operators
    • Array Update Operators
    • Bitwise Update Operator
    • 数组更新运算符
    • 按位更新运算符
    • 字段更新运算符
    • 更新运算符
    • Aggregation Pipeline Stages
    • $allElementsTrue (aggregation)
    • Aggregation Pipeline Operators
    • 查询修饰符
    • $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)
    • 聚合管道操作符
    • 聚合管道阶段
    • Operators
    • aggregate
    • count
    • distinct
    • mapReduce
    • Aggregation Commands
    • geoSearch
    • Geospatial Commands
    • delete
    • find
    • findAndModify
    • getLastError
    • getMore
    • insert
    • resetError
    • update
    • Query and Write Operation Commands
    • planCacheClear
    • planCacheClearFilters
    • planCacheListFilters
    • planCacheSetFilter
    • 查询计划缓存命令
    • authenticate
    • getnonce
    • logout
    • 认证命令
    • createUser
    • dropAllUsersFromDatabase
    • dropUser
    • grantRolesToUser
    • revokeRolesFromUser
    • updateUser
    • usersInfo
    • User Management Commands
    • createRole
    • dropRole
    • dropAllRolesFromDatabase
    • grantPrivilegesToRole
    • grantRolesToRole
    • invalidateUserCache
    • revokePrivilegesFromRole
    • revokeRolesFromRole
    • rolesInfo
    • updateRole
    • Role Management Commands
    • applyOps
    • isMaster
    • replSetAbortPrimaryCatchUp
    • replSetFreeze
    • replSetGetConfig
    • 空标题文档
    • 空标题文档
    • MongoDB中文用户手册翻译认领须知
    • 空标题文档
    • 空标题文档
    暂无相关搜索结果!

      让时间为你证明

      展开/收起文章目录

      分享,让知识传承更久远

      文章二维码

      手机扫一扫,轻松掌上读

      文档下载

      请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
      PDF文档 EPUB文档 MOBI文档

      书签列表

        阅读记录

        阅读进度: 0.00% ( 0/0 ) 重置阅读进度

          思维导图备注