Hướng dẫn mongodb status - trạng thái mongodb

Trên trang này

  • Sự định nghĩa
  • Cú pháp
  • Hành vi
  • Khởi tạo
  • Bao gồm
    {
    "arrayFilters" : NumberLong(0),
    "failed" : NumberLong(0),
    "pipeline" : NumberLong(0),
    "total" : NumberLong(1)
    }
    5
  • Bao gồm
    {
    "arrayFilters" : NumberLong(0),
    "failed" : NumberLong(0),
    "pipeline" : NumberLong(0),
    "total" : NumberLong(1)
    }
    6
  • Đầu ra
  • khẳng định
  • Bucketcatalog
  • kết nối
  • Defaultrwconcern
  • bầu cử
  • extra_info
  • Kiểm soát lưu lượng
  • Freemonitoring
  • Globallock
  • Hedgingmetrics
  • Thông tin ví dụ
  • Latchanalysis
  • khóa
  • LogicalSessionRecordCache
  • Mem
  • số liệu
  • phản chiếu
  • mạng
  • oplatencies
  • OpreadConcernCounters
  • OpwriteConcernCounters
  • Opcounters
  • OpCountersRepl
  • OPLOGTRUCATION
  • ReadConcernCounters
  • thay thế
  • Bảo vệ
  • Sharding
  • ShardingStatistic
  • Shardedindexconsistency
  • Công cụ lưu trữ
  • giao dịch
  • Vận tải an ninh
  • Watchdog
  • Wiredtiger
  • writebacksqueued

Lệnh
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7the
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7 Trả về một tài liệu cung cấp tổng quan về trạng thái của cơ sở dữ liệu. Theo dõi các ứng dụng có thể chạy lệnh này theo định kỳ để thu thập số liệu thống kê về trường hợp.

The

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7 command returns a document that provides an overview of the database's state. Monitoring applications can run this command at a regular interval to collect statistics about the instance.

Lệnh có cú pháp sau:

db.runCommand(
{
serverStatus: 1
}
)

Giá trị (nghĩa là

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
9 ở trên) không ảnh hưởng đến hoạt động của lệnh. Lệnh

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

0 trả về một lượng lớn dữ liệu. Để trả về một đối tượng hoặc trường cụ thể từ đầu ra, hãy nối tên đối tượng hoặc trường vào lệnh.

Ví dụ:

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

1 cung cấp trình bao bọc

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

0 cho lệnh
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7. provides the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

0 wrapper for the
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7
command.

Mẹo

Theo mặc định,

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7 loại trừ trong đầu ra của nó:
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7
excludes in its output:

  • Một số nội dung trong tài liệu sao chép.repl document.

  • Tài liệu phản chiếu. (Có sẵn bắt đầu từ phiên bản 4.4) document. (Available starting in version 4.4)

Để bao gồm các trường được loại trừ theo mặc định, chỉ định trường cấp cao nhất và đặt nó thành

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
9 trong lệnh. Để loại trừ các trường được bao gồm theo mặc định, chỉ định trường và được đặt thành 0. Bạn có thể chỉ định các trường cấp cao nhất hoặc được nhúng.

Ví dụ: hoạt động sau đây loại trừ thông tin

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

6,

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

7 và

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

8 trong đầu ra.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

Ví dụ: hoạt động sau đây loại trừ trường

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

9 nhúng trong đầu ra.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

Ví dụ sau bao gồm tất cả thông tin lại trong đầu ra:repl information in the output:

db.runCommand( { serverStatus: 1, repl: 1 } )

Các số liệu thống kê được báo cáo bởi

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7 được đặt lại khi máy chủ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 được khởi động lại.
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7
are reset when the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 server is restarted.

Lệnh này sẽ luôn trả về một giá trị, ngay cả trên cơ sở dữ liệu mới. Lệnh liên quan

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

0 không phải lúc nào cũng trả về giá trị trừ khi bộ đếm đã bắt đầu tăng cho một số liệu cụ thể.

Sau khi bạn chạy truy vấn cập nhật,

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

0 và

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

4 đều trả về cùng một giá trị.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}

Theo mặc định, thông tin

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
5 (có sẵn trong phiên bản 4.4) không được bao gồm trong đầu ra. Để trả về thông tin
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
5, bạn phải chỉ định rõ ràng sự bao gồm:
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
5
information (available starting in version 4.4) is not included in the output. To return
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
5
information, you must explicitly specify the inclusion:

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

Theo mặc định, thông tin

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
6 (có sẵn trong phiên bản 4.4) không được bao gồm trong đầu ra. Để trả về thông tin
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
6, bạn phải chỉ định rõ ràng sự bao gồm:
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
6
information (available starting in version 4.4) is not included in the output. To return
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
6
information, you must explicitly specify the inclusion:

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

Ghi chú

Các trường đầu ra khác nhau tùy thuộc vào phiên bản MongoDB, nền tảng hệ điều hành cơ bản, công cụ lưu trữ và loại nút, bao gồm

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9,

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc thành viên bộ bản sao.

Đối với đầu ra

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7 cụ thể cho phiên bản MongoDB của bạn, hãy tham khảo phiên bản thích hợp của hướng dẫn mongdb.
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7
output specific to the version of your MongoDB, refer to the appropriate version of the MongoDB Manual.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},

Tài liệu
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
2A báo cáo về số lượng các xác nhận được nêu ra kể từ khi quá trình MongoDB bắt đầu. Mặc dù các lỗi khẳng định thường không phổ biến, nhưng nếu có các giá trị khác không cho
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
2, bạn nên kiểm tra tệp nhật ký để biết thêm thông tin. Trong nhiều trường hợp, những lỗi này là tầm thường, nhưng đáng để điều tra.

A document that reports on the number of assertions raised since the MongoDB process started. While assert errors are typically uncommon, if there are non-zero values for the

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
2, you should examine the log file for more information. In many cases, these errors are trivial, but are worth investigating.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
4 Số lượng các xác nhận thường xuyên được nêu ra kể từ khi quá trình MongoDB bắt đầu. Kiểm tra tệp nhật ký để biết thêm thông tin về các tin nhắn này.

The number of regular assertions raised since the MongoDB process started. Examine the log file for more information about these messages.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
5Changed trong phiên bản 4.0.

Changed in version 4.0.

Bắt đầu từ MongoDB 4.0, trường trả về 0

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
6.

Trong các phiên bản trước, trường trả về số lượng cảnh báo được nêu ra kể từ khi quá trình MongoDB bắt đầu.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
7 Số lượng các xác nhận tin nhắn được nêu ra kể từ khi quá trình MongoDB bắt đầu. Kiểm tra tệp nhật ký để biết thêm thông tin về các tin nhắn này.

The number of message assertions raised since the MongoDB process started. Examine the log file for more information about these messages.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
8 Số lượng "người dùng khẳng định" đã xảy ra kể từ lần cuối cùng quá trình MongoDB bắt đầu. Đây là những lỗi mà người dùng có thể tạo, chẳng hạn như không gian đĩa hoặc khóa trùng lặp. Bạn có thể ngăn chặn các xác nhận này bằng cách khắc phục sự cố với ứng dụng hoặc triển khai của bạn. Kiểm tra nhật ký MongoDB để biết thêm thông tin.

The number of "user asserts" that have occurred since the last time the MongoDB process started. These are errors that user may generate, such as out of disk space or duplicate key. You can prevent these assertions by fixing a problem with your application or deployment. Examine the MongoDB log for more information.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
9 Số lần mà các bộ đếm cuộn qua đã lăn qua kể từ lần cuối cùng quá trình MongoDB bắt đầu. Các quầy sẽ tái lập về 0 sau 2 30 xác nhận. Sử dụng giá trị này để cung cấp ngữ cảnh cho các giá trị khác trong cấu trúc dữ liệu
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
2.

The number of times that the rollover counters have rolled over since the last time the MongoDB process started. The counters will rollover to zero after 2 30 assertions. Use this value to provide context to the other values in the

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
2 data structure.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}

Mới trong phiên bản 5.0.

Một tài liệu báo cáo các số liệu liên quan đến việc lưu trữ nội bộ của các bộ sưu tập chuỗi thời gian.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
1 trả về các số liệu sau:

Hệ mét

Sự mô tả

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
2

Số lượng xô lưu trữ dữ liệu chuỗi thời gian bên trong.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
3

Số lượng hoạt động, không cam kết ghi vào xô.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
4

Số lượng xô không đầy đủ và có thể lưu trữ dữ liệu chuỗi thời gian đến.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
5

Số lượng byte được sử dụng bởi các cấu trúc dữ liệu xô bên trong.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
0

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
6A Tài liệu báo cáo về trạng thái của các kết nối. Sử dụng các giá trị này để đánh giá các yêu cầu tải và công suất hiện tại của máy chủ.

A document that reports on the status of the connections. Use these values to assess the current load and capacity requirements of the server.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
7 Số lượng kết nối đến từ máy khách đến máy chủ cơ sở dữ liệu. Số này bao gồm phiên shell hiện tại. Hãy xem xét giá trị của
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
8 để thêm bối cảnh cho mốc này.

The number of incoming connections from clients to the database server. This number includes the current shell session. Consider the value of

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
8 to add more context to this datum.

Giá trị sẽ bao gồm tất cả các kết nối đến bao gồm mọi kết nối shell hoặc kết nối từ các máy chủ khác, chẳng hạn như các thành viên SET SET hoặc các phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
8 Số lượng kết nối đến chưa sử dụng có sẵn. Hãy xem xét giá trị này kết hợp với giá trị của
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
7 để hiểu tải kết nối trên cơ sở dữ liệu và tài liệu cài đặt UNIX ____102 để biết thêm thông tin về ngưỡng hệ thống trên các kết nối có sẵn.

The number of unused incoming connections available. Consider this value in combination with the value of

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
7 to understand the connection load on the database, and the UNIX
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
02 Settings document for more information about system thresholds on available connections.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
03Count của tất cả các kết nối đến được tạo cho máy chủ. Con số này bao gồm các kết nối đã đóng.

Count of all incoming connections created to the server. This number includes connections that have since closed.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
04 Số lượng kết nối máy khách đang hoạt động đến máy chủ. Các kết nối khách hàng đang hoạt động đề cập đến các kết nối máy khách hiện đang có hoạt động.

The number of active client connections to the server. Active client connections refers to client connections that currently have operations in progress.

Mới trong phiên bản 4.0.7.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
05 Số lượng kết nối đến từ các máy khách được gán cho các chủ đề mà các yêu cầu của khách hàng dịch vụ.

The number of incoming connections from clients that are assigned to threads that service client requests.

Mới trong phiên bản 5.0.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
6A Tài liệu báo cáo về trạng thái của các kết nối. Sử dụng các giá trị này để đánh giá các yêu cầu tải và công suất hiện tại của máy chủ.

The number of connections whose last request was an

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
07 request with exhaustAllowed.

"bucketCatalog" : { "numBuckets" : <num>, "numOpenBuckets" : <num>, "numIdleBuckets" : <num>, "memoryUsage" : <num> }7 Số lượng kết nối đến từ máy khách đến máy chủ cơ sở dữ liệu. Số này bao gồm phiên shell hiện tại. Hãy xem xét giá trị của "bucketCatalog" : { "numBuckets" : <num>, "numOpenBuckets" : <num>, "numIdleBuckets" : <num>, "memoryUsage" : <num> }8 để thêm bối cảnh cho mốc này.

Giá trị sẽ bao gồm tất cả các kết nối đến bao gồm mọi kết nối shell hoặc kết nối từ các máy chủ khác, chẳng hạn như các thành viên SET SET hoặc các phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
8 Số lượng kết nối đến chưa sử dụng có sẵn. Hãy xem xét giá trị này kết hợp với giá trị của
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
7 để hiểu tải kết nối trên cơ sở dữ liệu và tài liệu cài đặt UNIX ____102 để biết thêm thông tin về ngưỡng hệ thống trên các kết nối có sẵn.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
03Count của tất cả các kết nối đến được tạo cho máy chủ. Con số này bao gồm các kết nối đã đóng.

The number of connections whose last request was a

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
09 request with exhaustAllowed.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
04 Số lượng kết nối máy khách đang hoạt động đến máy chủ. Các kết nối khách hàng đang hoạt động đề cập đến các kết nối máy khách hiện đang có hoạt động.

Mới trong phiên bản 4.0.7.

The number of clients currently waiting in a

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
09 or
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
07 request for a topology change.

"bucketCatalog" : { "numBuckets" : <num>, "numOpenBuckets" : <num>, "numIdleBuckets" : <num>, "memoryUsage" : <num> }7 Số lượng kết nối đến từ máy khách đến máy chủ cơ sở dữ liệu. Số này bao gồm phiên shell hiện tại. Hãy xem xét giá trị của "bucketCatalog" : { "numBuckets" : <num>, "numOpenBuckets" : <num>, "numIdleBuckets" : <num>, "memoryUsage" : <num> }8 để thêm bối cảnh cho mốc này.

Giá trị sẽ bao gồm tất cả các kết nối đến bao gồm mọi kết nối shell hoặc kết nối từ các máy chủ khác, chẳng hạn như các thành viên SET SET hoặc các phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
8 Số lượng kết nối đến chưa sử dụng có sẵn. Hãy xem xét giá trị này kết hợp với giá trị của
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
7 để hiểu tải kết nối trên cơ sở dữ liệu và tài liệu cài đặt UNIX ____102 để biết thêm thông tin về ngưỡng hệ thống trên các kết nối có sẵn.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
03Count của tất cả các kết nối đến được tạo cho máy chủ. Con số này bao gồm các kết nối đã đóng.

New in version 5.3.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
04 Số lượng kết nối máy khách đang hoạt động đến máy chủ. Các kết nối khách hàng đang hoạt động đề cập đến các kết nối máy khách hiện đang có hoạt động.

Mới trong phiên bản 4.0.7.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
05 Số lượng kết nối đến từ các máy khách được gán cho các chủ đề mà các yêu cầu của khách hàng dịch vụ.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
1

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
06 Số lượng kết nối có yêu cầu cuối cùng là yêu cầu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
07 với FinolOWNED.

The last known global default read or write concern settings.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
8 Số lượng kết nối đến chưa sử dụng có sẵn. Hãy xem xét giá trị này kết hợp với giá trị của
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
7 để hiểu tải kết nối trên cơ sở dữ liệu và tài liệu cài đặt UNIX ____102 để biết thêm thông tin về ngưỡng hệ thống trên các kết nối có sẵn.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
03Count của tất cả các kết nối đến được tạo cho máy chủ. Con số này bao gồm các kết nối đã đóng.

The last known global default read concern setting.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
04 Số lượng kết nối máy khách đang hoạt động đến máy chủ. Các kết nối khách hàng đang hoạt động đề cập đến các kết nối máy khách hiện đang có hoạt động.
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7
does not return this field, the global default read concern has either not been set or has not yet propagated to the instance.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
8 Số lượng kết nối đến chưa sử dụng có sẵn. Hãy xem xét giá trị này kết hợp với giá trị của
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
7 để hiểu tải kết nối trên cơ sở dữ liệu và tài liệu cài đặt UNIX ____102 để biết thêm thông tin về ngưỡng hệ thống trên các kết nối có sẵn.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
03Count của tất cả các kết nối đến được tạo cho máy chủ. Con số này bao gồm các kết nối đã đóng.

The last known global default read concern level setting.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
04 Số lượng kết nối máy khách đang hoạt động đến máy chủ. Các kết nối khách hàng đang hoạt động đề cập đến các kết nối máy khách hiện đang có hoạt động.
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7
does not return this field, the global default for this setting has either not been set or has not yet propagated to the instance.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
8 Số lượng kết nối đến chưa sử dụng có sẵn. Hãy xem xét giá trị này kết hợp với giá trị của
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
7 để hiểu tải kết nối trên cơ sở dữ liệu và tài liệu cài đặt UNIX ____102 để biết thêm thông tin về ngưỡng hệ thống trên các kết nối có sẵn.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
03Count của tất cả các kết nối đến được tạo cho máy chủ. Con số này bao gồm các kết nối đã đóng.

The last known global default write concern setting.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
04 Số lượng kết nối máy khách đang hoạt động đến máy chủ. Các kết nối khách hàng đang hoạt động đề cập đến các kết nối máy khách hiện đang có hoạt động.
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7
does not return this field, the global default write concern has either not been set or has not yet propagated to the instance.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
8 Số lượng kết nối đến chưa sử dụng có sẵn. Hãy xem xét giá trị này kết hợp với giá trị của
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
7 để hiểu tải kết nối trên cơ sở dữ liệu và tài liệu cài đặt UNIX ____102 để biết thêm thông tin về ngưỡng hệ thống trên các kết nối có sẵn.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
03Count của tất cả các kết nối đến được tạo cho máy chủ. Con số này bao gồm các kết nối đã đóng.

The last known global default w setting.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
04 Số lượng kết nối máy khách đang hoạt động đến máy chủ. Các kết nối khách hàng đang hoạt động đề cập đến các kết nối máy khách hiện đang có hoạt động.
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7
does not return this field, the global default for this setting has either not been set or has not yet propagated to the instance.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
8 Số lượng kết nối đến chưa sử dụng có sẵn. Hãy xem xét giá trị này kết hợp với giá trị của
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
7 để hiểu tải kết nối trên cơ sở dữ liệu và tài liệu cài đặt UNIX ____102 để biết thêm thông tin về ngưỡng hệ thống trên các kết nối có sẵn.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
03Count của tất cả các kết nối đến được tạo cho máy chủ. Con số này bao gồm các kết nối đã đóng.

The last known global default wtimeout setting.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
04 Số lượng kết nối máy khách đang hoạt động đến máy chủ. Các kết nối khách hàng đang hoạt động đề cập đến các kết nối máy khách hiện đang có hoạt động.
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7
does not return this field, the global default for this setting has either not been set or has not yet propagated to the instance.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
8 Số lượng kết nối đến chưa sử dụng có sẵn. Hãy xem xét giá trị này kết hợp với giá trị của
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
7 để hiểu tải kết nối trên cơ sở dữ liệu và tài liệu cài đặt UNIX ____102 để biết thêm thông tin về ngưỡng hệ thống trên các kết nối có sẵn.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
03Count của tất cả các kết nối đến được tạo cho máy chủ. Con số này bao gồm các kết nối đã đóng.

The source of the default write concern. By default, the value is

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
32. Once you set the default write concern with
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
33, the value becomes
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
34.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
04 Số lượng kết nối máy khách đang hoạt động đến máy chủ. Các kết nối khách hàng đang hoạt động đề cập đến các kết nối máy khách hiện đang có hoạt động.

The source of the default read concern. By default, the value is

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
32. Once you set the default read concern with
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
33, the value becomes
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
34.

Mới trong phiên bản 5.0.

Mới trong phiên bản 4.0.7.

The timestamp when the instance last updated its copy of any global read or write concern settings. If the

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
21 and
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
25
fields are absent, this field indicates the timestamp when the defaults were last unset.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
8 Số lượng kết nối đến chưa sử dụng có sẵn. Hãy xem xét giá trị này kết hợp với giá trị của
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
7 để hiểu tải kết nối trên cơ sở dữ liệu và tài liệu cài đặt UNIX ____102 để biết thêm thông tin về ngưỡng hệ thống trên các kết nối có sẵn.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
03Count của tất cả các kết nối đến được tạo cho máy chủ. Con số này bao gồm các kết nối đã đóng.

The wall clock time when the instance last updated its copy of any global read or write concern settings. If the

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
21 and
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
25
fields are absent, this field indicates the time when the defaults were last unset.

Mới trong phiên bản 4.4.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
45 Thời gian đồng hồ treo tường hệ thống địa phương khi phiên bản cập nhật lần cuối bản sao của bất kỳ cài đặt mối quan tâm đọc hoặc ghi toàn cầu nào. Nếu trường này là trường duy nhất theo
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
18, thì trường hợp này chưa bao giờ có kiến ​​thức về cài đặt mối quan tâm đọc hoặc ghi mặc định toàn cầu.

The local system wall clock time when the instance last updated its copy of any global read or write concern setting. If this field is the only field under

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
18, the instance has never had knowledge of a global default read or write concern setting.

Mới trong phiên bản 4.4.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

Phần

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
47 cung cấp thông tin về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này trong một giá thầu để trở thành chính:

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
2

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
49metrics về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 như là một phần của
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
51 khi người chính từ chức.

Metrics on elections that were called by the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance as part of an
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
51 when the primary stepped down.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
52 bao gồm cả số lượng cuộc bầu cử được gọi và số lượng cuộc bầu cử đã thành công.
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
52
includes both the number of elections called and the number of elections that succeeded.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

Phần
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
47 cung cấp thông tin về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này trong một giá thầu để trở thành chính:

Metrics on elections that were called by the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance because its
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
55 is higher than the primary's.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
49metrics về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 như là một phần của
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
51 khi người chính từ chức.
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
53
includes both the number of elections called and the number of elections that succeeded.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

Phần
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
47 cung cấp thông tin về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này trong một giá thầu để trở thành chính:

Metrics on elections called by the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance because it is more current than the primary.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
49metrics về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 như là một phần của
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
51 khi người chính từ chức.
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
59
includes both the number of elections called and the number of elections that succeeded.

db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update52 bao gồm cả số lượng cuộc bầu cử được gọi và số lượng cuộc bầu cử đã thành công.

db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update53Metrics về các cuộc bầu cử được gọi bởi ví dụ db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )1 vì db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update55 của nó cao hơn so với chính.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

Phần
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
47 cung cấp thông tin về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này trong một giá thầu để trở thành chính:

Metrics on elections called by the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance because it has not been able to reach the primary within
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
62

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
49metrics về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 như là một phần của
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
51 khi người chính từ chức.
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
63
includes both the number of elections called and the number of elections that succeeded.

db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update52 bao gồm cả số lượng cuộc bầu cử được gọi và số lượng cuộc bầu cử đã thành công.

db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update53Metrics về các cuộc bầu cử được gọi bởi ví dụ db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )1 vì db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update55 của nó cao hơn so với chính.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

Phần
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
47 cung cấp thông tin về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này trong một giá thầu để trở thành chính:

Metrics on elections called by the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance after its
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
66 (during which the member cannot seek an election) has expired.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
49metrics về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 như là một phần của
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
51 khi người chính từ chức.
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
64
includes both the number of elections called and the number of elections that succeeded.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

Phần
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
47 cung cấp thông tin về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này trong một giá thầu để trở thành chính:

Number of times the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance stepped down because it saw a higher term (specifically, other member(s) participated in additional elections).

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

Phần
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
47 cung cấp thông tin về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này trong một giá thầu để trở thành chính:

Number of elections where the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance as the newly-elected primary had to catch up to the highest known oplog entry.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

Phần
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
47 cung cấp thông tin về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này trong một giá thầu để trở thành chính:

Number of times the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance as the newly-elected primary successfully caught up to the highest known oplog entry.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

Phần
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
47 cung cấp thông tin về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này trong một giá thầu để trở thành chính:

Number of times the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance as the newly-elected primary concluded its catchup process because it was already caught up when elected.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

Phần
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
47 cung cấp thông tin về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này trong một giá thầu để trở thành chính:

Number of times the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance as the newly-elected primary skipped the catchup process.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
49metrics về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 như là một phần của
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
51 khi người chính từ chức.

Number of times the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance as the newly-elected primary concluded its catchup process because of the
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
80 limit.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
52 bao gồm cả số lượng cuộc bầu cử được gọi và số lượng cuộc bầu cử đã thành công.

Number of times the newly-elected primary's catchup process failed with an error.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
53Metrics về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 vì
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
55 của nó cao hơn so với chính.

Number of times the newly-elected primary's catchup process concluded because another member(s) had a higher term (specifically, other member(s) participated in additional elections).

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
53 bao gồm cả số lượng cuộc bầu cử được gọi và số lượng cuộc bầu cử đã thành công.

Number of times the newly-elected primary's catchup process concluded because the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 received the
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
85 command.

Có sẵn bắt đầu từ 4.2.1 (và 4.0.13)

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
57Metrics về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 vì nó hiện tại nhiều hơn so với chính.

Average number of operations applied during the newly-elected primary's catchup processes.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
59 bao gồm cả số lượng cuộc bầu cử được gọi và số lượng cuộc bầu cử đã thành công.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
3

Mẹo

A document that provides additional information about the underlying system.

Xem thêm:

A string with the text

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
89

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
60Metrics về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 vì nó không thể đạt được chính trong
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
62

The total size in bytes of heap space used by the database process. Available on Unix/Linux systems only.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
63 bao gồm cả số lượng cuộc bầu cử được gọi và số lượng cuộc bầu cử đã thành công.

The total number of page faults. The

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
91 counter may increase dramatically during moments of poor performance and may correlate with limited memory environments and larger data sets. Limited and sporadic page faults do not necessarily indicate an issue.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
64Metrics về các cuộc bầu cử được gọi bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 sau khi
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
66 (trong đó thành viên không thể tìm kiếm một cuộc bầu cử) đã hết hạn.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
64 bao gồm cả số lượng cuộc bầu cử được gọi và số lượng cuộc bầu cử đã thành công.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
4

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
68Number của thời gian

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 đã từ chức vì nó đã thấy một kỳ hạn cao hơn (cụ thể, (các) thành viên khác đã tham gia vào các cuộc bầu cử bổ sung).

A document that returns statistics on the Flow Control. With flow control enabled, as the

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
94 point lag grows close to the
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
95, writes on the primary must obtain tickets before taking locks. As such, the metrics returned are meaningful when run on the primary.

Mới trong phiên bản 4.2.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
96A Boolean cho biết liệu điều khiển dòng có được bật (
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
97) hay bị vô hiệu hóa (
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
98).

A boolean that indicates whether Flow Control is enabled (

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
97) or disabled (
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
98).

Xem thêm

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
99

Mới trong phiên bản 4.2.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

00 Khi chạy trên chính, số lượng vé tối đa có thể có được mỗi giây.

When run on the primary, the maximum number of tickets that can be acquired per second.

Khi chạy trên một thứ cấp, số trả về là một trình giữ chỗ.

Mới trong phiên bản 4.2.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

01 khi chạy trên chính, tổng thời gian viết hoạt động đã chờ đợi để có được một vé.

When run on the primary, the total time write operations have waited to acquire a ticket.

Khi chạy trên một thứ cấp, số trả về là một trình giữ chỗ.

Mới trong phiên bản 4.2.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

02

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )01 khi chạy trên chính, tổng thời gian viết hoạt động đã chờ đợi để có được một vé.

Ghi chú

Bắt đầu từ MongoDB 4.4

Khi chạy trên một thứ cấp, số trả về là một trình giữ chỗ.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

01 khi chạy trên chính, tổng thời gian viết hoạt động đã chờ đợi để có được một vé.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

03

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )01 khi chạy trên chính, tổng thời gian viết hoạt động đã chờ đợi để có được một vé.

Ghi chú

Bắt đầu từ MongoDB 4.4

Khi chạy trên một thứ cấp, số trả về là một trình giữ chỗ.

Mới trong phiên bản 4.2.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

01 khi chạy trên chính, tổng thời gian viết hoạt động đã chờ đợi để có được một vé.

When run on the primary, an approximation of operations applied per second by the secondary that is sustaining the commit point.

Khi chạy trên một thứ cấp, số trả về là một trình giữ chỗ.

Mới trong phiên bản 4.2.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

01 khi chạy trên chính, tổng thời gian viết hoạt động đã chờ đợi để có được một vé.

When run on the primary, a boolean that indicates whether flow control has engaged. Flow control engages when the majority committed lag is greater than some percentage of the configured

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
95

Ghi chú

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

05 value at
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
98.

Bắt đầu từ MongoDB 4.4

Mới trong phiên bản 4.2.

Khi chạy trên chính, việc xấp xỉ số lượng khóa được thực hiện trên 1000 thao tác.

When run on a primary, the number of times flow control has engaged since the last restart. Flow control engages when the majority committed lag is greater than some percentage of the

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
95

Khi chạy trên một thứ cấp, số trả về là một trình giữ chỗ.

Mới trong phiên bản 4.2.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

01 khi chạy trên chính, tổng thời gian viết hoạt động đã chờ đợi để có được một vé.

When run on the primary, the amount of time flow control has spent being engaged since the last restart. Flow control engages when the majority committed lag is greater than some percentage of the

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
95

Khi chạy trên một thứ cấp, số trả về là một trình giữ chỗ.

Mới trong phiên bản 4.2.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
5

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

01 khi chạy trên chính, tổng thời gian viết hoạt động đã chờ đợi để có được một vé.

A document that reports on the free Cloud monitoring.

Ghi chú

The enablement state of free monitoring. The values can be one of the following:

  • "enabled"

  • "disabled"

  • Bắt đầu từ MongoDB 4.4

Khi chạy trên chính, việc xấp xỉ số lượng khóa được thực hiện trên 1000 thao tác.

The frequency, in seconds, at which data is uploaded.

Mới trong phiên bản 4.4.

The date and time of the last run of the metrics upload.

Chỉ có sẵn trên MongoDB 4.2

The number of registration errors, incremented on unexpected HTTP status or network errors.

Khi chạy trên chính, một xấp xỉ số lượng khóa được thực hiện trên mỗi hoạt động.

The number of errors encountered when uploading metrics.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
6

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

04 Khi chạy trên chính, một xấp xỉ các hoạt động được áp dụng mỗi giây bởi người phụ đang duy trì điểm cam kết.

A document that reports on the database's lock state.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

05 Khi chạy trên chính, một boolean cho biết liệu kiểm soát dòng chảy có tham gia hay không. Kiểm soát dòng chảy tham gia khi phần lớn độ trễ cam kết lớn hơn một số tỷ lệ phần trăm của
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
95 được cấu hìnhlocks document provides more detailed data on lock uses.

Độ trễ sao chép có thể xảy ra mà không cần điều khiển dòng chảy hấp dẫn. Một thứ cấp không phản hồi có thể bị trễ mà không có bộ bản sao nhận đủ tải để tham gia kiểm soát dòng chảy, để lại giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

05 tại
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
98.

The time, in microseconds, since the database last started and created the

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

19. This is approximately equivalent to the total server uptime.

Để biết thêm thông tin, xem kiểm soát luồng.

A document that provides information concerning the number of operations queued because of a lock.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

09 Khi chạy trên chính, số lần kiểm soát dòng chảy đã tham gia kể từ lần khởi động lại cuối cùng. Kiểm soát dòng chảy tham gia khi phần lớn độ trễ cam kết lớn hơn một số phần trăm của
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
95

The total number of operations queued waiting for the lock (i.e., the sum of

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

24 and

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

25
).

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

11 khi chạy trên chính, lượng kiểm soát dòng thời gian đã được tham gia kể từ lần khởi động lại cuối cùng. Kiểm soát dòng chảy tham gia khi phần lớn độ trễ cam kết lớn hơn một số phần trăm của
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
95

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

26
readers and writers information provides context for this data.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

13A Tài liệu báo cáo về giám sát đám mây miễn phí.

The number of operations that are currently queued and waiting for the read lock. A consistently small read queue, particularly of shorter operations, should cause no concern.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

14 Trạng thái theo dõi tự do. Các giá trị có thể là một trong những điều sau đây:

The number of operations that are currently queued and waiting for the write lock. A consistently small write queue, particularly of shorter operations, is no cause for concern.

"Trong khi chờ đợi" nếu việc theo dõi miễn phí cho phép gặp lỗi đăng ký.

A document that provides information about the number of connected clients and the read and write operations performed by these clients.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

15 Tần số, tính bằng giây, tại đó dữ liệu được tải lên.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

22
data.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

16 Ngày và thời gian của lần chạy cuối cùng của tải lên số liệu.

The total number of internal client connections to the database including system threads as well as queued readers and writers. This metric will be higher than the total of

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

32 and

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

33 due to the inclusion of system threads.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

17 Số lỗi đăng ký, tăng lên về trạng thái HTTP hoặc lỗi mạng không mong muốn.

The number of the active client connections performing read operations.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

18 Số lượng lỗi gặp phải khi tải lên số liệu.

The number of active client connections performing write operations.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

19A Tài liệu báo cáo về trạng thái khóa của cơ sở dữ liệu.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
7

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

37 cung cấp các số liệu trên các lần đọc được bảo hiểm cho ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9.

Provides metrics on hedged reads for the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instance.

Mới trong phiên bản 4.4: Chỉ dành cho

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

40 Tổng số hoạt động được phát hành với tùy chọn đọc được bảo hiểm được kích hoạt cho ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 này.

The total number of the operations issued with the hedged read option enabled to this

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instance.

Mới trong phiên bản 4.4: Chỉ dành cho

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

40 Tổng số hoạt động được phát hành với tùy chọn đọc được bảo hiểm được kích hoạt cho ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 này.

The number of all operations for which the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instance hedged the read operation; i.e. sent the operation to an additional member of each queried shard.

Mới trong phiên bản 4.4: Chỉ dành cho

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

40 Tổng số hoạt động được phát hành với tùy chọn đọc được bảo hiểm được kích hoạt cho ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 này.

The total number of the operation where the additional read sent to hedge the read operation fulfilled the client request.

Mới trong phiên bản 4.4: Chỉ dành cho

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
8

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

40 Tổng số hoạt động được phát hành với tùy chọn đọc được bảo hiểm được kích hoạt cho ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 này.

The system's hostname. In Unix/Linux systems, this should be the same as the output of the

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

49 command.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

43 Số lượng tất cả các hoạt động mà ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bảo hiểm hoạt động đọc; tức là đã gửi hoạt động cho một thành viên bổ sung của mỗi Shard được truy vấn.

An array of the system's fully qualified domain names (FQDNs).

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

46 Tổng số hoạt động trong đó lần đọc bổ sung được gửi đến phòng ngừa hoạt động đọc đã đáp ứng yêu cầu của khách hàng.

The MongoDB version of the current MongoDB process.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

48 Tên máy chủ của hệ thống. Trong các hệ thống Unix/Linux, điều này sẽ giống như đầu ra của lệnh

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

49.

The current MongoDB process. Possible values are:

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 or

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

50An mảng tên miền đủ điều kiện đầy đủ của hệ thống (FQDNS).

The process id number.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

51 Phiên bản MongoDB của quy trình MongoDB hiện tại.

The number of seconds that the current MongoDB process has been active.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

52 Quy trình MongoDB hiện tại. Các giá trị có thể là:

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1

The number of milliseconds that the current MongoDB process has been active.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

55 Số ID quy trình.

The uptime in seconds as calculated from MongoDB's internal course-grained time keeping system.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

56 Số giây mà quá trình MongoDB hiện tại đã hoạt động.

The ISODate representing the current time, according to the server, in UTC.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

57 Số mili giây mà quá trình MongoDB hiện tại đã hoạt động.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
9

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

58 Thời gian hoạt động trong vài giây như được tính toán từ hệ thống giữ thời gian hạt trong khóa học của MongoDB.

A document that reports on metrics related to internal locking primitives (also known as latches).

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

59 isodate đại diện cho thời gian hiện tại, theo máy chủ, trong UTC.
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
6
information, you must explicitly specify the inclusion:

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

Mới trong phiên bản 4.4.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
6A Tài liệu báo cáo về các số liệu liên quan đến các nguyên thủy khóa bên trong (còn được gọi là chốt).

Để trả về thông tin

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
6, bạn phải chỉ định rõ ràng sự bao gồm:

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

64

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
6 trả về cho mỗi chốt

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

63 và các số liệu liên quan sau đây:

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

65

Hệ mét

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

66

Sự mô tả

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

67

Số lần chốt được tạo ra.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

68

Số lần chốt đã bị phá hủy.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

69

Số lần chốt đã có được.

Số lần chốt được phát hành.

  • db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

    70

    • Số lần chốt có sự tranh chấp.

  • db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

    71

    • Chỉ được trả lại nếu vi phạm tồn tại

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

57 Số mili giây mà quá trình MongoDB hiện tại đã hoạt động.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

1

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

58 Thời gian hoạt động trong vài giây như được tính toán từ hệ thống giữ thời gian hạt trong khóa học của MongoDB.

A document that reports for each lock

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

73, data on lock

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

74.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

59 isodate đại diện cho thời gian hiện tại, theo máy chủ, trong UTC.

Mới trong phiên bản 4.4.

Để trả về thông tin

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
6, bạn phải chỉ định rõ ràng sự bao gồm:

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

76

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
6 trả về cho mỗi chốt

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

63 và các số liệu liên quan sau đây:

Hệ mét

Sự mô tả

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

78

Số lần chốt được tạo ra.

Sự mô tả

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

77

Số lần chốt được tạo ra.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

80

Số lần chốt đã bị phá hủy.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

81

Số lần chốt đã có được.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

82

Số lần chốt được phát hành.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

83

Số lần chốt có sự tranh chấp.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

84

Chỉ được trả lại nếu vi phạm tồn tại

Chứa các trường sau:

Số lần phân cấp chốt (tức là thứ tự cấp độ chốt) đã bị vi phạm trong quá trình thu nhận chốt.

Để trả về thông tin

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
6, bạn phải chỉ định rõ ràng sự bao gồm:

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

86

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
6 trả về cho mỗi chốt

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

63 và các số liệu liên quan sau đây:

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

87

Hệ mét

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

88

Sự mô tả

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89

Số lần chốt được tạo ra.

Số lần chốt đã bị phá hủy.

Số lần chốt đã có được.

Number of times the lock was acquired in the specified mode.

Số lần chốt được phát hành.

Number of times the

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

91 lock acquisitions encountered waits because the locks were held in a conflicting mode.

Số lần chốt có sự tranh chấp.

Cumulative wait time in microseconds for the lock acquisitions.

Chỉ được trả lại nếu vi phạm tồn tại divided by

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

92 gives an approximate average wait time for the particular lock mode.

Chứa các trường sau:

Number of times the lock acquisitions encountered deadlocks.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

2

Số lần phân cấp chốt (tức là thứ tự cấp độ chốt) đã bị vi phạm trong quá trình thu nhận chốt.

Provides metrics around the caching of server sessions.

Số lần phân cấp chốt (tức là thứ tự cấp độ chốt) đã bị vi phạm trong quá trình phát hành chốt.

The number of all active local sessions cached in memory by the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 or

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instance since the last refresh period.

Tài liệu db.runCommand( { serverStatus: 1, mirroredReads: 1 } )8A báo cáo cho mỗi khóa db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )73, dữ liệu về khóa db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )74.

Khóa có thể

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

75 là:

The number that tracks the number of times the refresh process has run on the

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

03 collection.

Tài liệu db.runCommand( { serverStatus: 1, mirroredReads: 1 } )8A báo cáo cho mỗi khóa db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )73, dữ liệu về khóa db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )74.

Khóa có thể db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )75 là:

Loại khóa

The length in milliseconds of the last refresh.

Đại diện cho một khóa cho chế độ nhà văn hàng loạt song song.

The time at which the last refresh occurred.

Trong các phiên bản trước, thông tin PBWM đã được báo cáo là một phần của thông tin khóa ____277.

The number of sessions that were refreshed during the last refresh.

Mới trong phiên bản 4.2.

The number of sessions that ended during the last refresh.

Đại diện cho khóa được thực hiện cho bản sao chuyển đổi thành viên trạng thái.

The number of cursors that were closed during the last

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

03 collection refresh.

Đại diện cho khóa toàn cầu.

The number that tracks the number of times the transaction record cleanup process has run on the

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

11 collection.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

12 Độ dài (tính bằng mili giây) của việc dọn dẹp hồ sơ giao dịch cuối cùng.

The length (in milliseconds) of the last transaction record cleanup.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

13 Thời gian của việc dọn dẹp hồ sơ giao dịch cuối cùng.

The time of the last transaction record cleanup.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

14 Số lượng mục trong bộ sưu tập

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

11 đã bị xóa trong lần dọn dẹp hồ sơ giao dịch cuối cùng.

The number of entries in the

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

11 collection that were deleted during the last transaction record cleanup.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

16 cho một ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1, kích thước của bộ đệm trong bộ nhớ của các mục

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

11. Điều này tương ứng với các bản ghi hoặc giao dịch có thể thử lại mà các phiên không hết hạn trong

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

19
  • For a

    db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

    1 instance,The size of its in-memory cache of the

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    11 entries. This corresponds to retryable writes or transactions whose sessions have not expired within the

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    19
  • Đối với một ví dụ

    db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

    9, số lượng bộ đệm trong bộ nhớ của các phiên đã có giao dịch trong khoảng thời gian

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    19 gần đây nhất.

Mới trong phiên bản 4.2.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

3

Tài liệu

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

22A báo cáo về kiến ​​trúc hệ thống của

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 và sử dụng bộ nhớ hiện tại.

A document that reports on the system architecture of the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 and current memory use.

Số

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

24A,

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

25 hoặc

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

26, cho biết liệu thể hiện MongoDB có được biên dịch cho kiến ​​trúc 64 bit hay 32 bit hay không.

A number, either

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

25 or

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

26, that indicates whether the MongoDB instance is compiled for 64-bit or 32-bit architecture.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

27 Giá trị của

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

27 gần tương đương với lượng RAM, trong MebiByte (MIB), hiện đang được sử dụng bởi quy trình cơ sở dữ liệu. Trong quá trình sử dụng bình thường, giá trị này có xu hướng phát triển. Trong các máy chủ cơ sở dữ liệu chuyên dụng, con số này có xu hướng tiếp cận tổng số lượng bộ nhớ hệ thống.

The value of

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

27 is roughly equivalent to the amount of RAM, in mebibyte (MiB), currently used by the database process. During normal use, this value tends to grow. In dedicated database servers, this number tends to approach the total amount of system memory.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

29

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

29 hiển thị số lượng, trong MebiByte (MIB), của bộ nhớ ảo được sử dụng bởi quy trình

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

29 displays the quantity, in mebibyte (MiB), of virtual memory used by the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 process.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

32A Boolean cho biết liệu hệ thống cơ bản có hỗ trợ thông tin bộ nhớ mở rộng hay không. Nếu giá trị này là sai và hệ thống không hỗ trợ thông tin bộ nhớ mở rộng, thì các giá trị

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

22 khác có thể không thể truy cập được vào máy chủ cơ sở dữ liệu.

A boolean that indicates whether the underlying system supports extended memory information. If this value is false and the system does not support extended memory information, then other

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

22 values may not be accessible to the database server.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

34 Trường

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

34 xuất hiện nếu

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

32 là sai.

The field

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

34 appears if

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

32
is false.

Trường

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

34 chứa văn bản:

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

38.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

34
field contains the text:

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

38.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

4

Tài liệu

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

7A trả về các số liệu thống kê khác nhau phản ánh việc sử dụng hiện tại và trạng thái của một thể hiện

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 đang chạy.

A document that returns various statistics that reflect the current use and state of a running

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance.

Tài liệu

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

41A báo cáo về việc sử dụng các giai đoạn đường ống tổng hợp. Các trường trong

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

41 là tên của các giai đoạn đường ống tổng hợp. Đối với mỗi giai đoạn đường ống,
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7 báo cáo số lần giai đoạn đã được thực hiện.

A document that reports on the use of aggregation pipeline stages. The fields in

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

41 are the names of aggregation pipeline stages. For each pipeline stage,
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7
reports the number of times that stage has been executed.

Mới trong phiên bản 4.4 (4.2.6 và 4.0.19). Cập nhật trong phiên bản 5.2 (và 5.0.6).

Tài liệu

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

44A với các ứng dụng khách và phiên bản API ổn định mà chúng được cấu hình. Hãy xem xét những điều sau đây khi xem

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

44:

A document with client applications and the version of Stable API which they are configured with. Consider the following when viewing

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

44:

  • Các giá trị trả về duy nhất có thể có cho mỗi

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    46 là

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    47 hoặc
    {
    "arrayFilters" : NumberLong(0),
    "failed" : NumberLong(0),
    "pipeline" : NumberLong(0),
    "total" : NumberLong(1)
    }
    9.

  • Số liệu phiên bản API được giữ lại trong 24 giờ. Nếu không có lệnh nào được phát hành với phiên bản API cụ thể từ một ứng dụng trong 24 giờ qua, thì phiên bản

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    46 và API sẽ bị xóa khỏi số liệu. Điều này cũng áp dụng cho số liệu phiên bản API

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    47.

  • Đặt

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    46 khi kết nối với thể hiện MongoDB bằng cách chỉ định

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    46 trong URI kết nối.

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    53 đặt

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    46 thành

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    55.

  • Trình điều khiển truy cập API ổn định có thể đặt

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    46 mặc định.

  • Nếu không có

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    46 được cấu hình, giá trị mặc định sẽ được tự động điền dựa trên sản phẩm. Ví dụ, đối với kết nối la bàn MongoDB không có

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    46 trong URI, số liệu trả về số liệu:

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    59.MongoDB Compass connection with no

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    46 in the URI, the metric returns:

    db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

    59.

Mới trong phiên bản 5.0.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

60A Tài liệu báo cáo về việc sử dụng các nhà khai thác và biểu thức đường ống tổng hợp.

A document that reports on the use of aggregation pipeline operators and expressions.

Tài liệu

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

61A với một số cho biết tần suất các toán tử biểu thức chạy.

A document with a number that indicates how often Expression Operators ran.

Để có được số liệu cho một toán tử cụ thể, chẳng hạn như toán tử lớn hơn (

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

62), hãy nối toán tử vào lệnh:

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

5

Mới trong phiên bản 5.0.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

60A Tài liệu báo cáo về việc sử dụng các nhà khai thác và biểu thức đường ống tổng hợp.

A document with a number that indicates how often match expressions ran.

Tài liệu

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

61A với một số cho biết tần suất các toán tử biểu thức chạy.

Để có được số liệu cho một toán tử cụ thể, chẳng hạn như toán tử lớn hơn (

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

62), hãy nối toán tử vào lệnh:

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

6

Tài liệu

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

63A với một số cho biết tần suất khớp các biểu thức được chạy.

Các toán tử biểu thức phù hợp cũng tăng lên như một phần của giai đoạn đường ống tổng hợp

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

64. Nếu giai đoạn

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

64 sử dụng toán tử

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

66, bộ đếm cho tăng

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

66, nhưng các bộ đếm thành phần không tăng.

Xem xét các truy vấn sau:

A document that reports on the use of database commands. The fields in

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

70 are the names of database commands. For each command, the
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7
reports the total number of executions and the number of failed executions.

Bộ đếm cho tăng

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

66 khi truy vấn chạy. Bộ đếm cho

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

62 không.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

70
include

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

74 (i.e. the

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

75 command with

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

76) as well as the overall

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

75. In earlier versions, the command reported only overall

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

75 metrics.

Mới trong phiên bản 5.1.

The number of times

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

80 failed on this

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1

Tài liệu

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

70A báo cáo về việc sử dụng các lệnh cơ sở dữ liệu. Các trường trong

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

70 là tên của các lệnh cơ sở dữ liệu. Đối với mỗi lệnh,
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7 báo cáo tổng số lần thực thi và số lần thực hiện thất bại.

The number of times

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

80 executed on this

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1

Bắt đầu từ MongoDB 4.0.13 và 4.2.1,

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

70 bao gồm

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

74 (tức là lệnh

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

75 với

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

76) cũng như tổng thể

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

75. Trong các phiên bản trước, lệnh chỉ báo cáo tổng thể

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

75 số liệu.

The number of times an aggregation pipeline was used to update documents on this

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1. Subtract this value from the total number of updates to get the number of updates made with document syntax.

Bộ đếm

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

87 chỉ có sẵn cho các hoạt động

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

88 và

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

89.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

90 Số lần

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

91 đã được sử dụng trong một đường ống tổng hợp để cập nhật các tài liệu trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này

The number of times

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

91 was used in an aggregation pipeline to update documents on this

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1

Bộ đếm

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

87 chỉ có sẵn cho các hoạt động

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

88 và

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

89.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

96 Số lần một arrayfilter đã được sử dụng để cập nhật các tài liệu trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này

The number of times an arrayFilter was used to update documents on this

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1

Bộ đếm

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

98 chỉ có sẵn cho các hoạt động

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

88 và

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

89.

db.runCommand( { serverStatus: 1, repl: 1 } )

01 Số lần một arrayfilter đã được sử dụng với

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

91 để cập nhật tài liệu trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này

The number of times an arrayFilter was used with

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

91 to update documents on this

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1

Bộ đếm

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

98 chỉ có sẵn cho các hoạt động

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

88 và

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

89.

db.runCommand( { serverStatus: 1, repl: 1 } )

01 Số lần một arrayfilter đã được sử dụng với

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

91 để cập nhật tài liệu trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này

A document that reflects document access and modification patterns. Compare these values to the data in the

db.runCommand( { serverStatus: 1, repl: 1 } )

08 document, which track total number of operations.

Tài liệu

db.runCommand( { serverStatus: 1, repl: 1 } )

07A phản ánh các mẫu truy cập và sửa đổi tài liệu. So sánh các giá trị này với dữ liệu trong tài liệu

db.runCommand( { serverStatus: 1, repl: 1 } )

08, theo dõi tổng số hoạt động.

The total number of documents deleted.

db.runCommand( { serverStatus: 1, repl: 1 } )

09 Tổng số tài liệu bị xóa.

The total number of documents inserted.

db.runCommand( { serverStatus: 1, repl: 1 } )

10 Tổng số tài liệu được chèn.

The total number of documents returned by queries.

db.runCommand( { serverStatus: 1, repl: 1 } )

11 Tổng số tài liệu được trả lại bởi các truy vấn.

The total number of documents updated.

db.runCommand( { serverStatus: 1, repl: 1 } )

12 Tổng số tài liệu được cập nhật.

A document with a number that indicates how often insert or update operations ran using a dollar (

db.runCommand( { serverStatus: 1, repl: 1 } )

14) prefixed name. The value does not report the exact number of operations.

Tài liệu

db.runCommand( { serverStatus: 1, repl: 1 } )

13A với một số cho biết tần suất chèn hoặc cập nhật các hoạt động được chạy bằng tên tiền tố đồng đô la (

db.runCommand( { serverStatus: 1, repl: 1 } )

14). Giá trị không báo cáo số lượng hoạt động chính xác.

Khi một hoạt động UPSERT tạo ra một tài liệu mới, nó được coi là một

db.runCommand( { serverStatus: 1, repl: 1 } )

15 chứ không phải là

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

88.

Mới trong phiên bản 5.0.

A document that reports on various statistics for the replication executor.

db.runCommand( { serverStatus: 1, repl: 1 } )

17A Tài liệu báo cáo về các số liệu thống kê khác nhau cho người thực thi sao chép.

A document that reports on write concern use.

db.runCommand( { serverStatus: 1, repl: 1 } )

18A Tài liệu báo cáo về việc sử dụng liên quan.

A document that reports write concern operation counts with a

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 argument greater than
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
9.

db.runCommand( { serverStatus: 1, repl: 1 } )

19A Tài liệu báo cáo ghi số hoạt động quan tâm với một đối số

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 lớn hơn
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
9.

The total number of operations with a specified write concern (i.e.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89) that wait for one or more members of a replica set to acknowledge the write operation (i.e. a

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 value greater than
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
9.)

db.runCommand( { serverStatus: 1, repl: 1 } )

22 Tổng số hoạt động với mối quan tâm ghi được chỉ định (tức là

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89) chờ đợi một hoặc nhiều thành viên của bản sao được đặt để xác nhận hoạt động ghi (nghĩa là giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 lớn hơn
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
9.)

The total amount of time in milliseconds that the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 has spent performing write concern operations with a write concern (i.e.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89) that waits for one or more members of a replica set to acknowledge the write operation (i.e. a

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 value greater than
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
9.)

db.runCommand( { serverStatus: 1, repl: 1 } )

26 Tổng thời gian tính bằng mili giây mà

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 đã dành để thực hiện các hoạt động viết mối quan tâm với mối quan tâm ghi (tức là

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89) chờ đợi một hoặc nhiều thành viên của bản sao được đặt để thừa nhận hoạt động ghi (tức là giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 lớn hơn ____.)

The number of times that write concern operations have timed out as a result of the

db.runCommand( { serverStatus: 1, repl: 1 } )

32 threshold. This number increments for both default and non-default write concern specifications.

db.runCommand( { serverStatus: 1, repl: 1 } )

31 Số lần ghi các hoạt động quan tâm đã hết thời gian do ngưỡng

db.runCommand( { serverStatus: 1, repl: 1 } )

32. Số này tăng lên cho cả thông số kỹ thuật ghi lại mặc định và không mặc định.

A document that reports on when a default write concern was used (meaning, a non-

db.runCommand( { serverStatus: 1, repl: 1 } )

34 write concern). The possible origins of a default write concern are:

  • db.runCommand( { serverStatus: 1, repl: 1 } )

    35

  • db.runCommand( { serverStatus: 1, repl: 1 } )

    36

  • db.runCommand( { serverStatus: 1, repl: 1 } )

    37

Tài liệu

db.runCommand( { serverStatus: 1, repl: 1 } )

33A báo cáo khi nào một mối quan tâm ghi mặc định được sử dụng (có nghĩa là một mối quan tâm không phải là không-____ 434). Nguồn gốc có thể có của mối quan tâm ghi mặc định là:

Tham khảo bảng sau đây để biết thông tin về từng nguồn gốc viết có thể, hoặc

db.runCommand( { serverStatus: 1, repl: 1 } )

38:

Nguồn gốc

db.runCommand( { serverStatus: 1, repl: 1 } )

34

Sự mô tả

db.runCommand( { serverStatus: 1, repl: 1 } )

36

Mối quan tâm ghi được chỉ định trong ứng dụng.

db.runCommand( { serverStatus: 1, repl: 1 } )

37

Mối quan tâm ghi có nguồn gốc từ một giá trị mặc định được xác định tùy chỉnh. Xem

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
33

db.runCommand( { serverStatus: 1, repl: 1 } )

35

Mối quan tâm ghi có nguồn gốc từ trường

db.runCommand( { serverStatus: 1, repl: 1 } )

43 của bộ bản sao.

Mối quan tâm ghi có nguồn gốc từ máy chủ không có tất cả các thông số kỹ thuật viết khác.

Number of times that a non-

db.runCommand( { serverStatus: 1, repl: 1 } )

34 write concern returned the

db.runCommand( { serverStatus: 1, repl: 1 } )

47 error code.

db.runCommand( { serverStatus: 1, repl: 1 } )

45Number của thời gian rằng một mối quan tâm không phải là không phải là một mã lỗi

db.runCommand( { serverStatus: 1, repl: 1 } )

47.

Number of times a non-

db.runCommand( { serverStatus: 1, repl: 1 } )

34 write concern timed out.

db.runCommand( { serverStatus: 1, repl: 1 } )

48Number của thời gian không phải là -____ 434 Viết mối quan tâm hết thời gian.

A document that contains metrics about

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

Tài liệu

db.runCommand( { serverStatus: 1, repl: 1 } )

50A có chứa số liệu về

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

A document that contains metrics for cursors used by

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

Tài liệu

db.runCommand( { serverStatus: 1, repl: 1 } )

52A có chứa số liệu cho con trỏ được sử dụng bởi

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

The total number of cursors that have returned more than one batch since

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 started. Additional batches are retrieved using the

db.runCommand( { serverStatus: 1, repl: 1 } )

56 command.

Khi một hoạt động UPSERT tạo ra một tài liệu mới, nó được coi là một

db.runCommand( { serverStatus: 1, repl: 1 } )

15 chứ không phải là

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

88.

Mới trong phiên bản 5.0.

The total number of cursors that have been opened since

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 started, including cursors currently open. Differs from

db.runCommand( { serverStatus: 1, repl: 1 } )

59
, which is the number of currently open cursors only.

Khi một hoạt động UPSERT tạo ra một tài liệu mới, nó được coi là một

db.runCommand( { serverStatus: 1, repl: 1 } )

15 chứ không phải là

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

88.

Mới trong phiên bản 5.0.

A document that holds counters for several types of update and query operations that MongoDB handles using special operation types.

db.runCommand( { serverStatus: 1, repl: 1 } )

17A Tài liệu báo cáo về các số liệu thống kê khác nhau cho người thực thi sao chép.

The total number of queries that return sorted numbers that cannot perform the sort operation using an index.

db.runCommand( { serverStatus: 1, repl: 1 } )

18A Tài liệu báo cáo về việc sử dụng liên quan.

The total number of queries that encountered write conflicts.

db.runCommand( { serverStatus: 1, repl: 1 } )

19A Tài liệu báo cáo ghi số hoạt động quan tâm với một đối số

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 lớn hơn
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
9.

Provides detailed query planning data for the slot-based query execution engine and the classic query engine. For more information on the slot-based query execution engine see: Slot-Based Query Execution Engine Pipeline Optimizations.

db.runCommand( { serverStatus: 1, repl: 1 } )

22 Tổng số hoạt động với mối quan tâm ghi được chỉ định (tức là

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89) chờ đợi một hoặc nhiều thành viên của bản sao được đặt để xác nhận hoạt động ghi (nghĩa là giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 lớn hơn
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
9.)

db.runCommand( { serverStatus: 1, repl: 1 } )

26 Tổng thời gian tính bằng mili giây mà

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 đã dành để thực hiện các hoạt động viết mối quan tâm với mối quan tâm ghi (tức là

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89) chờ đợi một hoặc nhiều thành viên của bản sao được đặt để thừa nhận hoạt động ghi (tức là giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 lớn hơn ____.)

db.runCommand( { serverStatus: 1, repl: 1 } )

31 Số lần ghi các hoạt động quan tâm đã hết thời gian do ngưỡng

db.runCommand( { serverStatus: 1, repl: 1 } )

32. Số này tăng lên cho cả thông số kỹ thuật ghi lại mặc định và không mặc định.

Aggregates the total number of microseconds spent in the classic multiplanner.

db.runCommand( { serverStatus: 1, repl: 1 } )

65Ag tổng hợp tổng số "tác phẩm" được thực hiện trong Multiplanner cổ điển.

Aggregates the total number of "works" performed in the classic multiplanner.

db.runCommand( { serverStatus: 1, repl: 1 } )

66 trong tổng số các lời mời của Multiplanner cổ điển.

Aggregates the total number of invocations of the classic multiplanner.

Aggregates the total number of microseconds spent in the slot-based engine multiplanner.

db.runCommand( { serverStatus: 1, repl: 1 } )

68 trong tổng số số lần đọc được thực hiện trong Multiplanner động cơ dựa trên khe.

Aggregates the total number of reads done in the slot-based engine multiplanner.

db.runCommand( { serverStatus: 1, repl: 1 } )

69 TÍNH TOÁN Tổng số lời mời của Multiplanner động cơ dựa trên khe.

Aggregates the total number of invocations of the slot-based engine multiplanner.

Biểu đồ

db.runCommand( { serverStatus: 1, repl: 1 } )

70A đo số lượng micro giây được sử dụng trong một lời cầu khẩn của Multiplanner cổ điển.

A histogram measuring the number of microseconds spent in an invocation of the classic multiplanner.

Biểu đồ

db.runCommand( { serverStatus: 1, repl: 1 } )

71A Đo số lượng "tác phẩm" được thực hiện trong quá trình gọi Multiplanner cổ điển.

A histogram measuring the number of "works" performed during an invocation of the classic multiplanner.

db.runCommand( { serverStatus: 1, repl: 1 } )

72A Biểu đồ đo số lượng kế hoạch trong ứng cử viên được đặt trong quá trình gọi Multiplanner cổ điển.

A histogram measuring the number of plans in the candidate set during an invocation of the classic multiplanner.

Biểu đồ

db.runCommand( { serverStatus: 1, repl: 1 } )

73A đo số lượng micro giây được sử dụng trong một lời cầu khẩn của phần lớn động cơ dựa trên khe cắm.

A histogram measuring the number of microseconds spent in an invocation of the slot-based engine multiplanner.

Biểu đồ

db.runCommand( { serverStatus: 1, repl: 1 } )

74A Đo số lượng lần đọc trong quá trình gọi phần lớn động cơ dựa trên khe.

A histogram measuring the number of reads during an invocation of the slot-based engine multiplanner.

Biểu đồ

db.runCommand( { serverStatus: 1, repl: 1 } )

75A Đo số lượng các kế hoạch trong tập hợp ứng viên được đặt trong quá trình gọi phần lớn động cơ dựa trên khe cắm.

A histogram measuring the number of plans in the candidate set during an invocation of the slot-based engine multiplanner.

Tài liệu

db.runCommand( { serverStatus: 1, repl: 1 } )

76A báo cáo dữ liệu từ hệ thống thực thi truy vấn.

A document that reports data from the query execution system.

db.runCommand( { serverStatus: 1, repl: 1 } )

77 Tổng số mục chỉ mục được quét trong quá trình truy vấn và đánh giá kế hoạch truy vấn. Bộ đếm này giống như

db.runCommand( { serverStatus: 1, repl: 1 } )

78 trong đầu ra của

db.runCommand( { serverStatus: 1, repl: 1 } )

79

The total number of index items scanned during queries and query-plan evaluation. This counter is the same as

db.runCommand( { serverStatus: 1, repl: 1 } )

78 in the output of

db.runCommand( { serverStatus: 1, repl: 1 } )

79

db.runCommand( { serverStatus: 1, repl: 1 } )

80 Tổng số tài liệu được quét trong các truy vấn và đánh giá kế hoạch truy vấn. Bộ đếm này giống như

db.runCommand( { serverStatus: 1, repl: 1 } )

81 trong đầu ra của

db.runCommand( { serverStatus: 1, repl: 1 } )

79

The total number of documents scanned during queries and query-plan evaluation. This counter is the same as

db.runCommand( { serverStatus: 1, repl: 1 } )

81 in the output of

db.runCommand( { serverStatus: 1, repl: 1 } )

79

Tài liệu

db.runCommand( { serverStatus: 1, repl: 1 } )

83A báo cáo về số lượng truy vấn thực hiện quét thu thập.

A document that reports on the number of queries that performed a collection scan.

Mới trong phiên bản 4.4.

db.runCommand( { serverStatus: 1, repl: 1 } )

84 Số truy vấn thực hiện quét bộ sưu tập không sử dụng con trỏ có thể đuôi.

The number of queries that performed a collection scan that did not use a tailable cursor.

Mới trong phiên bản 4.4.

db.runCommand( { serverStatus: 1, repl: 1 } )

84 Số truy vấn thực hiện quét bộ sưu tập không sử dụng con trỏ có thể đuôi.

The total number queries that performed a collection scan. The total consists of queries that did and did not use a tailable cursor.

Mới trong phiên bản 4.4.

db.runCommand( { serverStatus: 1, repl: 1 } )

84 Số truy vấn thực hiện quét bộ sưu tập không sử dụng con trỏ có thể đuôi.

A document that reports on data related to record allocation in the on-disk memory files.

db.runCommand( { serverStatus: 1, repl: 1 } )

85 Tổng số truy vấn số thực hiện quét thu thập. Tổng số bao gồm các truy vấn đã làm và không sử dụng con trỏ có thể đuôi.

A document that reports metrics related to the replication process.

db.runCommand( { serverStatus: 1, repl: 1 } )

87 document appears on all

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instances, even those that aren't members of replica sets.

Tài liệu

db.runCommand( { serverStatus: 1, repl: 1 } )

86A báo cáo về dữ liệu liên quan đến việc ghi lại phân bổ trong các tệp bộ nhớ trên đĩa.

A document that reports on the application of operations from the replication oplog.

Tài liệu

db.runCommand( { serverStatus: 1, repl: 1 } )

87A báo cáo các số liệu liên quan đến quá trình sao chép. Tài liệu

db.runCommand( { serverStatus: 1, repl: 1 } )

87 xuất hiện trên tất cả các trường hợp

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1, ngay cả những trường hợp không phải là thành viên của bộ bản sao.

New in version 4.0.6: (Also available in 3.6.11+)

Tài liệu

db.runCommand( { serverStatus: 1, repl: 1 } )

90A báo cáo về việc áp dụng các hoạt động từ oplog sao chép.

db.runCommand( { serverStatus: 1, repl: 1 } )

91
is incremented with the number of operations in a batch at the batch boundaries instead of being incremented by one after each operation.

db.runCommand( { serverStatus: 1, repl: 1 } )

91New trong phiên bản 4.0.6: (cũng có sẵn trong 3.6.11+)

db.runCommand( { serverStatus: 1, repl: 1 } )

93

Tổng số hoạt động oplog được áp dụng.

db.runCommand( { serverStatus: 1, repl: 1 } )

91 được tăng lên với số lượng hoạt động trong một lô tại các ranh giới hàng loạt thay vì được tăng lên bởi một hoạt động sau mỗi lần hoạt động.

db.runCommand( { serverStatus: 1, repl: 1 } )

94 reports on the oplog application process on secondaries members of replica sets. See Multithreaded Replication for more information on the oplog application processes.

Để biết độ chi tiết mịn hơn, xem

db.runCommand( { serverStatus: 1, repl: 1 } )

93

The total number of batches applied across all databases.

db.runCommand( { serverStatus: 1, repl: 1 } )

94

db.runCommand( { serverStatus: 1, repl: 1 } )

94 Báo cáo về quy trình ứng dụng OPLOG trên các thành viên thứ hai của các bộ bản sao. Xem sao chép đa luồng để biết thêm thông tin về các quy trình ứng dụng Oplog.

The total amount of time in milliseconds the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 has spent applying operations from the oplog.

db.runCommand( { serverStatus: 1, repl: 1 } )

96 Tổng số lô được áp dụng trên tất cả các cơ sở dữ liệu.

The total number of oplog operations applied.

db.runCommand( { serverStatus: 1, repl: 1 } )

93 is incremented after each operation.

db.runCommand( { serverStatus: 1, repl: 1 } )97 Tổng thời gian tính bằng mili giây, db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )1 đã dành để áp dụng các hoạt động từ oplog.

db.runCommand( { serverStatus: 1, repl: 1 } )93 Tổng số hoạt động oplog được áp dụng. db.runCommand( { serverStatus: 1, repl: 1 } )93 được tăng lên sau mỗi hoạt động.

Mẹo

MongoDB buffers oplog operations from the replication sync source buffer before applying oplog entries in a batch.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
01 provides a way to track the oplog buffer. See Multithreaded Replication for more information on the oplog application process.

Xem thêm:

The current number of operations in the oplog buffer.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
01MongODB Các hoạt động Oplog từ bộ đệm nguồn đồng bộ hóa sao chép trước khi áp dụng các mục oplog trong một lô.
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
01 cung cấp một cách để theo dõi bộ đệm oplog. Xem sao chép đa luồng để biết thêm thông tin về quy trình ứng dụng Oplog.

The maximum size of the buffer. This value is a constant setting in the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1, and is not configurable.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
03 Số lượng hoạt động hiện tại trong bộ đệm oplog.

The current size of the contents of the oplog buffer.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
04 Kích thước tối đa của bộ đệm. Giá trị này là một cài đặt hằng số trong

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 và không có thể định cấu hình.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
07 reports network use by the replication process.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
06 Kích thước hiện tại của nội dung của bộ đệm oplog.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
09 reports the total amount of data read from the replication sync source.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
07
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
07 Báo cáo sử dụng mạng theo quy trình sao chép.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
11 reports on the
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
13 operations, which are requests for additional results from the oplog cursor as part of the oplog replication process.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
09
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
09 báo cáo tổng lượng dữ liệu được đọc từ nguồn đồng bộ hóa sao chép.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
14 reports the total number of
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
13 operations, which are operations that request an additional set of operations from the replication sync source.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
11
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
11 Báo cáo về các hoạt động
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
13, là yêu cầu kết quả bổ sung từ con trỏ oplog như là một phần của quy trình sao chép oplog.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
17 reports the total amount of time required to collect data from
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
13 operations.

{ "arrayFilters" : NumberLong(0), "failed" : NumberLong(0), "pipeline" : NumberLong(0), "total" : NumberLong(1)}14{ "arrayFilters" : NumberLong(0), "failed" : NumberLong(0), "pipeline" : NumberLong(0), "total" : NumberLong(1)}14 báo cáo tổng số hoạt động { "arrayFilters" : NumberLong(0), "failed" : NumberLong(0), "pipeline" : NumberLong(0), "total" : NumberLong(1)}13, là các hoạt động yêu cầu một bộ hoạt động bổ sung từ nguồn đồng bộ hóa sao chép.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
17
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
17 báo cáo tổng thời gian cần thiết để thu thập dữ liệu từ các hoạt động
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
13.

Ghi chú

The number of empty

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

84 batches a secondary receives from its sync source. A secondary receives an empty batch if it is fully synced with its source and either:

  • {
    "arrayFilters" : NumberLong(0),
    "failed" : NumberLong(0),
    "pipeline" : NumberLong(0),
    "total" : NumberLong(1)
    }
    13 lần chờ đợi thêm dữ liệu hoặc

  • Điểm cam kết đa số của Sync Source đã tiến lên kể từ lần cuối cùng được gửi đến thứ cấp này.

Đối với một chính, nếu trường hợp trước đây là thứ cấp, số báo cáo về các lô trống nhận được khi nó là thứ yếu. Mặt khác, đối với một chính, con số này là

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
6.

Mới trong phiên bản 4.4.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
25 Số lượng các hoạt động ghi di sản (
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) chưa được biết (xem opcodes) không thành công vì hiện tại

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 không ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28.

The number of unacknowledged (

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) legacy write operations (see Opcodes) that failed because the current

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 is not in
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28 state.

Mới trong phiên bản 4.2.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
29 Số lượng các hoạt động ghi không bị cản trở (
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) không bị hỏng vì

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hiện tại không ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28.

The number of unacknowledged (

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) write operations that failed because the current

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 is not in
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28 state.

Mới trong phiên bản 4.2.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
29 Số lượng các hoạt động ghi không bị cản trở (
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) không bị hỏng vì

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hiện tại không ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28.

A document that reports the number of

db.runCommand( { serverStatus: 1, repl: 1 } )

56 commands to fetch the oplog that a node processed as a sync source.

Mới trong phiên bản 4.4.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
35

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
25 Số lượng các hoạt động ghi di sản (
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) chưa được biết (xem opcodes) không thành công vì hiện tại

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 không ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28.

Mới trong phiên bản 4.4.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
25 Số lượng các hoạt động ghi di sản (
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) chưa được biết (xem opcodes) không thành công vì hiện tại

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 không ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28.

The time, in milliseconds, that a node spent processing the

db.runCommand( { serverStatus: 1, repl: 1 } )

56 commands counted in
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
35

Mới trong phiên bản 4.4.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
25 Số lượng các hoạt động ghi di sản (
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) chưa được biết (xem opcodes) không thành công vì hiện tại

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 không ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28.

The total number of operations read from the replication source.

Mới trong phiên bản 4.2.

The total number of oplog query processes created. MongoDB will create a new oplog query any time an error occurs in the connection, including a timeout, or a network operation. Furthermore,

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
41 will increment every time MongoDB selects a new source for replication.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
29 Số lượng các hoạt động ghi không bị cản trở (
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) không bị hỏng vì

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hiện tại không ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28.

A document that reports the number of

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
44 commands a node sent to its sync source.

Mới trong phiên bản 4.4.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
25 Số lượng các hoạt động ghi di sản (
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) chưa được biết (xem opcodes) không thành công vì hiện tại

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 không ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28.

The number of

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
44 commands a node sent to its sync source.
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
44 commands are internal replication commands that communicate replication progress from nodes to their sync sources.

Mới trong phiên bản 4.4.

{ "arrayFilters" : NumberLong(0), "failed" : NumberLong(0), "pipeline" : NumberLong(0), "total" : NumberLong(1)}25 Số lượng các hoạt động ghi di sản ({ "arrayFilters" : NumberLong(0), "failed" : NumberLong(0), "pipeline" : NumberLong(0), "total" : NumberLong(1)}26) chưa được biết (xem opcodes) không thành công vì hiện tại db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )1 không ở trạng thái { "arrayFilters" : NumberLong(0), "failed" : NumberLong(0), "pipeline" : NumberLong(0), "total" : NumberLong(1)}28.

Mới trong phiên bản 4.2.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
29 Số lượng các hoạt động ghi không bị cản trở (
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) không bị hỏng vì

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hiện tại không ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28.

A document containing the number of times that member

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
51 fields were automatically removed by the primary. When a member is first added to the replica set, the member's
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
51 field is set to
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
97.

Tài liệu

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
33A báo cáo số lượng lệnh

db.runCommand( { serverStatus: 1, repl: 1 } )

56 để tìm nạp oplog mà một nút được xử lý như một nguồn đồng bộ hóa.

Số lượng các lệnh

db.runCommand( { serverStatus: 1, repl: 1 } )

56 để tìm nạp oplog mà một nút được xử lý dưới dạng nguồn đồng bộ hóa.

The number of times that

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
51 member fields were automatically removed by the primary. When a member is first added to the replica set, the member's
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
51 field is set to
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
97. After the primary receives the member's heartbeat response indicating the member state is
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
58,
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
59, or
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
60, the primary automatically removes the member's
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
51 field. The
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
51 fields are stored in the
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
63 collection.

Tài liệu

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
33A báo cáo số lượng lệnh

db.runCommand( { serverStatus: 1, repl: 1 } )

56 để tìm nạp oplog mà một nút được xử lý như một nguồn đồng bộ hóa.

Số lượng các lệnh

db.runCommand( { serverStatus: 1, repl: 1 } )

56 để tìm nạp oplog mà một nút được xử lý dưới dạng nguồn đồng bộ hóa.

Information on user operations that were running when the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 stepped down.

Mới trong phiên bản 4.2.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
29 Số lượng các hoạt động ghi không bị cản trở (
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) không bị hỏng vì

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hiện tại không ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28.

The number of user operations killed when the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 stepped down.

Mới trong phiên bản 4.2.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
29 Số lượng các hoạt động ghi không bị cản trở (
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) không bị hỏng vì

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hiện tại không ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28.

The number of user operations that remained running when the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 stepped down.

Mới trong phiên bản 4.2.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
29 Số lượng các hoạt động ghi không bị cản trở (
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
26) không bị hỏng vì

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hiện tại không ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
28.

Information on a replica set node's sync source selection process.

Mới trong phiên bản 4.4.

Tài liệu
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
33A báo cáo số lượng lệnh

db.runCommand( { serverStatus: 1, repl: 1 } )

56 để tìm nạp oplog mà một nút được xử lý như một nguồn đồng bộ hóa.

Number of times a node attempted to choose a node to sync from among the available sync source options. A node attempts to choose a node to sync from if, for example, the sync source is re-evaluated or the node receives an error from its current sync source.

Mới trong phiên bản 4.4.

Số lượng các lệnh

db.runCommand( { serverStatus: 1, repl: 1 } )

56 để tìm nạp oplog mà một nút được xử lý dưới dạng nguồn đồng bộ hóa.

Number of times a node kept its original sync source after re-evaluating if its current sync source was optimal.

Mới trong phiên bản 4.4.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
37 Thời gian, trong mili giây, một nút đã chi tiêu xử lý các lệnh

db.runCommand( { serverStatus: 1, repl: 1 } )

56 được tính trong
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
35

Number of times a node chose a new sync source after re-evaluating if its current sync source was optimal.

Mới trong phiên bản 4.4.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
40 Tổng số hoạt động được đọc từ nguồn sao chép.

Number of times a node could not find an available sync source when attempting to choose a node to sync from.

Mới trong phiên bản 4.4.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
41 Tổng số các quy trình truy vấn oplog được tạo. MongoDB sẽ tạo một truy vấn oplog mới bất cứ khi nào xảy ra lỗi trong kết nối, bao gồm thời gian chờ hoặc hoạt động mạng. Hơn nữa,
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
41 sẽ tăng mỗi khi MongoDB chọn một nguồn mới để sao chép.

The number of times that

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 has examined the free list without finding a large record allocation.

Tài liệu
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
43A báo cáo số lượng
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
44 lệnh một nút được gửi đến nguồn đồng bộ hóa của nó.

The number of times

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 has searched for available record allocations.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
45 Số
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
44 lệnh một nút được gửi đến nguồn đồng bộ hóa của nó. Các lệnh
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
44 là các lệnh sao chép nội bộ truyền đạt tiến trình sao chép từ các nút đến các nguồn đồng bộ hóa của chúng.

The number of available record allocations

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 has searched.

Ghi chú

A document that reports on the operation of the resource use of the ttl index process.

Bản sao đặt các thành viên ở trạng thái
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
48 không gửi lệnh
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
44 đến nguồn đồng bộ hóa của họ.

The total number of documents deleted from collections with a ttl index.

Tài liệu
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
50A chứa số lần thành viên
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
51 trường đã được tự động xóa bởi chính. Khi một thành viên lần đầu tiên được thêm vào bộ bản sao, trường
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
51 của thành viên được đặt thành
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
97.

The number of times the background process removes documents from collections with a ttl index.

Mới trong phiên bản 5.0.

A document that contains data regarding cursor state and use.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
54 Số lần mà các trường thành viên
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
51 đã tự động bị xóa bởi chính. Khi một thành viên lần đầu tiên được thêm vào bộ bản sao, trường
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
51 của thành viên được đặt thành
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
97. Sau khi chính nhận được phản ứng nhịp tim của thành viên cho biết quốc gia thành viên là
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
58,
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
59 hoặc
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
60, chính sẽ tự động xóa trường
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
51 của thành viên. Các trường
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
51 được lưu trữ trong bộ sưu tập
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
63.

The total number of cursors that have returned more than one batch since the server process started. Additional batches are retrieved using the

db.runCommand( { serverStatus: 1, repl: 1 } )

56 command.

Mới trong phiên bản 5.0.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
87 Tổng số con trỏ đã hết thời gian kể từ khi quá trình máy chủ bắt đầu. Nếu con số này lớn hoặc phát triển với tốc độ thường xuyên, điều này có thể cho thấy lỗi ứng dụng.

The total number of cursors that have timed out since the server process started. If this number is large or growing at a regular rate, this may indicate an application error.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
88 Tổng số con trỏ đã được mở kể từ khi quá trình máy chủ bắt đầu, bao gồm cả con trỏ hiện đang mở. Khác với

db.runCommand( { serverStatus: 1, repl: 1 } )

59, là số lượng con trỏ hiện đang mở.

The total number of cursors that have been opened since the server process started, including cursors currently open. Differs from

db.runCommand( { serverStatus: 1, repl: 1 } )

59, which is the number of currently open cursors only.

Mới trong phiên bản 5.0.

Tài liệu
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
90A báo cáo số lượng con trỏ có tuổi thọ trong khoảng thời gian quy định. Tuổi thọ của con trỏ là khoảng thời gian kể từ khi con trỏ được tạo ra khi con trỏ bị giết bằng lệnh
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
91 hoặc con trỏ không có đối tượng còn lại trong lô.

A document that reports the number of cursors that have lifespans within specified time periods. The cursor lifespan is the time period from when the cursor is created to when the cursor is killed using the

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
91 command or the cursor has no remaining objects in the batch.

Khoảng thời gian tuổi thọ là:

  • < 1 second

  • > = 1 giây đến <5 giây

  • > = 5 giây đến <15 giây

  • > = 15 giây đến <30 giây

  • > = 30 giây đến <1 phút

  • > = 1 phút đến <10 phút

  • > = 10 phút

Mới trong phiên bản 5.0.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
92 Số lượng con trỏ với tuổi thọ> = 10 phút.

The number of cursors with a lifespan >= 10 minutes.

Mới trong phiên bản 5.0.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
93 Số lượng con trỏ với tuổi thọ> = 1 phút đến <10 phút.

The number of cursors with a lifespan >= 1 minute to < 10 minutes.

Mới trong phiên bản 5.0.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
94 Số lượng con trỏ với tuổi thọ> = 5 giây đến <15 giây.

The number of cursors with a lifespan >= 5 seconds to < 15 seconds.

Mới trong phiên bản 5.0.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
95 Số lượng con trỏ với tuổi thọ> = 30 giây đến <1 phút.

The number of cursors with a lifespan >= 30 seconds to < 1 minute.

Mới trong phiên bản 5.0.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
96 Số lượng con trỏ với tuổi thọ <1 giây.

The number of cursors with a lifespan < 1 second.

Mới trong phiên bản 5.0.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
97 Số lượng con trỏ với tuổi thọ> = 15 giây đến <30 giây.

The number of cursors with a lifespan >= 15 seconds to < 30 seconds.

Mới trong phiên bản 5.0.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
98 Số lượng con trỏ với tuổi thọ> = 1 giây đến <5 giây.

The number of cursors with a lifespan >= 1 second to < 5 seconds.

Mới trong phiên bản 5.0.

Tài liệu
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
99A có chứa dữ liệu liên quan đến con trỏ mở.

A document that contains data regarding open cursors.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

00 Số lượng con trỏ mở với tùy chọn

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

01 được đặt để ngăn chặn thời gian chờ sau một thời gian không hoạt động.

The number of open cursors with the option

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

01 set to prevent timeout after a period of inactivity.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

02 Số lượng con trỏ mở "ghim".

The number of "pinned" open cursors.

db.runCommand( { serverStatus: 1, repl: 1 } )

59 Số lượng con trỏ mà MongoDB đang duy trì cho khách hàng. Bởi vì MongoDB làm cạn kiệt con trỏ không sử dụng, thường là giá trị này nhỏ hoặc không. Tuy nhiên, nếu có hàng đợi, hoặc con trỏ có thể cũ, hoặc một số lượng lớn các hoạt động, giá trị này có thể tăng lên.

The number of cursors that MongoDB is maintaining for clients. Because MongoDB exhausts unused cursors, typically this value small or zero. However, if there is a queue, or stale tailable cursors, or a large number of operations this value may increase.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

04 Tổng số con trỏ chỉ nhắm vào một mảnh vỡ. Chỉ các phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 Báo cáo giá trị

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

04.

The total number of cursors that only target a single shard. Only

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instances report

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

04
values.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

07 Tổng số con trỏ chỉ nhắm mục tiêu nhiều hơn một mảnh vỡ. Chỉ các phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 Báo cáo giá trị

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

07.

The total number of cursors that only target more than one shard. Only

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instances report

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

07
values.

Chỉ có sẵn trên Mongod.

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

7

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
5Available trên Mongod.

Available on mongod only.

Một tài liệu báo cáo về đọc được nhân đôi. Để trả về thông tin

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
5, bạn phải chỉ định rõ ràng sự bao gồm:
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
5
information, you must explicitly specify the inclusion:

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

12New trong phiên bản 4.4.

New in version 4.4.

Số lượng hoạt động hỗ trợ phản chiếu nhận được bởi thành viên này.

Mẹo

Xem thêm:

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

13New trong phiên bản 4.4.

New in version 4.4.

Số lượng đọc được nhân đôi được gửi bởi thành viên này khi chính. Ví dụ: nếu một lần đọc được nhân đôi và được gửi đến hai thứ hai, số lượng đọc được nhân đôi là

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

14.

Mẹo

Xem thêm:

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

9

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

13New trong phiên bản 4.4.

A document that reports data on MongoDB's network use. These statistics measure ingress connections only, specifically the traffic seen by the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 or

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 over network connections initiated by clients or other

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 or

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instances. Traffic from network connections initiated by this

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 or

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instance (specifically, egress connections) is not measured in these statistics.

Số lượng đọc được nhân đôi được gửi bởi thành viên này khi chính. Ví dụ: nếu một lần đọc được nhân đôi và được gửi đến hai thứ hai, số lượng đọc được nhân đôi là

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

14.

The total number of bytes that the server has received over network connections initiated by clients or other

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 or

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instances.

Tài liệu

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

15A báo cáo dữ liệu về việc sử dụng mạng của MongoDB. Các số liệu thống kê này chỉ đo các kết nối xâm nhập, cụ thể là lưu lượng truy cập được nhìn thấy bởi

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 trên các kết nối mạng được khởi tạo bởi các khách hàng hoặc các trường hợp

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 khác. Lưu lượng truy cập từ các kết nối mạng được khởi tạo bởi ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 này (cụ thể, các kết nối ra) không được đo trong các số liệu thống kê này.

The total number of bytes that the server has sent over network connections initiated by clients or other

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 or

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instances.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

22 Tổng số byte mà máy chủ đã nhận được qua các kết nối mạng do khách hàng hoặc các phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 khởi tạo khác.

New in version 4.4.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

25 Tổng số byte mà máy chủ đã gửi qua các kết nối mạng do khách hàng hoặc các phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 khác khởi xướng.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

28New trong phiên bản 4.4.

New in version 4.4.

Tổng số hoạt động độ phân giải DNS mất nhiều thời gian hơn 1 giây.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

29New trong phiên bản 4.4.

The total number of distinct requests that the server has received. Use this value to provide context for the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

22 and

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

25
values to ensure that MongoDB's network utilization is consistent with expectations and application use.

Tổng số hoạt động bắt tay SSL mất nhiều thời gian hơn 1 giây.

New in version 4.4.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

30 Tổng số yêu cầu riêng biệt mà máy chủ đã nhận được. Sử dụng giá trị này để cung cấp bối cảnh cho các giá trị

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

22 và

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

25 để đảm bảo rằng việc sử dụng mạng của MongoDB phù hợp với kỳ vọng và sử dụng ứng dụng.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

33New trong phiên bản 4.4.

New in version 4.4.

Một tài liệu báo cáo dữ liệu về hỗ trợ và sử dụng các kết nối TCP Fast Open (TFO) của MongoDB.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

34New trong phiên bản 4.4.

  • Chỉ Linux

  • Trả về giá trị của

    db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

    35:

  • "asserts" : {
    "regular" : <num>,
    "warning" : <num>,
    "msg" : <num>,
    "user" : <num>,
    "rollovers" : <num>
    },
    6 - TCP Fast Open bị vô hiệu hóa trên hệ thống.

  • {
    "arrayFilters" : NumberLong(0),
    "failed" : NumberLong(0),
    "pipeline" : NumberLong(0),
    "total" : NumberLong(1)
    }
    9 - TCP Fast Open được bật cho các kết nối đi.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

40new trong phiên bản 4.4.

New in version 4.4.

  • Trả về

    db.runCommand({ serverStatus: 1}).metrics
    db.runCommand({ serverStatus: 1}).metrics.commands
    db.runCommand({ serverStatus: 1}).metrics.commands.update
    97 Nếu hệ điều hành máy chủ hỗ trợ kết nối TCP Fast (TFO) trong nước.

  • Trả về

    db.runCommand({ serverStatus: 1}).metrics
    db.runCommand({ serverStatus: 1}).metrics.commands
    db.runCommand({ serverStatus: 1}).metrics.commands.update
    98 Nếu hệ điều hành máy chủ không hỗ trợ các kết nối mở nhanh (TFO) của TCP.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

43New trong phiên bản 4.4.

New in version 4.4.

  • Trả về

    db.runCommand({ serverStatus: 1}).metrics
    db.runCommand({ serverStatus: 1}).metrics.commands
    db.runCommand({ serverStatus: 1}).metrics.commands.update
    97 Nếu hệ điều hành máy chủ hỗ trợ kết nối TCP Fast (TFO) của TCP.

  • Trả về

    db.runCommand({ serverStatus: 1}).metrics
    db.runCommand({ serverStatus: 1}).metrics.commands
    db.runCommand({ serverStatus: 1}).metrics.commands.update
    98 Nếu hệ điều hành máy chủ không hỗ trợ kết nối TCP Fast Open (TFO) bên ngoài.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

46New trong phiên bản 4.4.

New in version 4.4.

Tổng số kết nối TCP mở (TFO) được chấp nhận (TFO) đến

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 kể từ lần bắt đầu

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

51New trong phiên bản 5.0.

New in version 5.0.

Một tài liệu báo cáo dữ liệu về người thực hiện dịch vụ, chạy các hoạt động cho các yêu cầu của khách hàng.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

52New trong phiên bản 5.0.

New in version 5.0.

Một tài liệu báo cáo dữ liệu về các luồng và máy khách cho người thực hiện dịch vụ

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

53. Trình thực hiện dịch vụ

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

53 tạo một luồng mới cho mỗi máy khách và phá hủy luồng sau khi máy khách kết thúc.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

55New trong phiên bản 5.0.

New in version 5.0.

Số lượng chủ đề đang chạy trong

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

53 Executor.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

57New trong phiên bản 5.0.

New in version 5.0.

Tổng số khách hàng được phân bổ cho người thực hiện dịch vụ

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

53. Một khách hàng có thể được phân bổ cho người thực hiện dịch vụ

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

53 và hiện không chạy các yêu cầu.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

60new trong phiên bản 5.0.

New in version 5.0.

Số lượng khách hàng hiện đang sử dụng Trình thực hiện dịch vụ

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

53 để chạy các yêu cầu.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

62New trong phiên bản 5.0.

New in version 5.0.

Số lượng khách hàng sử dụng Trình thực hiện dịch vụ

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

53 đang chờ dữ liệu đến từ mạng.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

64New trong phiên bản 5.0.

New in version 5.0.

Một tài liệu báo cáo dữ liệu về các luồng và máy khách cho người thực hiện dịch vụ

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

65. Người thực hiện dịch vụ

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

65 có số lượng chủ đề cố định. Một luồng được gán tạm thời cho máy khách và luồng được bảo quản sau khi máy khách kết thúc.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

67New trong phiên bản 5.0.

New in version 5.0.

Số lượng chủ đề đang chạy trong

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

65 Executor.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

69New trong phiên bản 5.0.

New in version 5.0.

Tổng số khách hàng được phân bổ cho người thực hiện dịch vụ

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

65. Một khách hàng có thể được phân bổ cho người thực hiện dịch vụ

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

65 và hiện không chạy các yêu cầu.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

72New trong phiên bản 5.0.

New in version 5.0.

Số lượng khách hàng hiện đang sử dụng Trình thực hiện dịch vụ

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

65 để chạy các yêu cầu.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

74New trong phiên bản 5.0.

New in version 5.0.

Số lượng khách hàng sử dụng Trình thực hiện dịch vụ

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

65 đang chờ dữ liệu đến từ mạng.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

76New trong phiên bản 6.1.

New in version 6.1.

Một tài liệu báo cáo tổng thời gian Trình nghe cơ sở dữ liệu dành cho việc phân bổ các yêu cầu kết nối cơ sở dữ liệu đến cho các luồng chuyên dụng.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

77New trong phiên bản 6.1.

New in version 6.1.

Tổng thời gian tính bằng micro giây Người nghe cơ sở dữ liệu dành cho việc phân bổ các yêu cầu kết nối cơ sở dữ liệu đến cho các luồng chuyên dụng thực hiện các hoạt động cơ sở dữ liệu.

Chỉ dành cho `` Mongod``

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

0

Tài liệu

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

78A chứa độ trễ hoạt động cho toàn bộ trường hợp. Xem tài liệu

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

79 để biết mô tả về tài liệu này.

A document containing operation latencies for the instance as a whole. See

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

79 Document for an description of this document.

Chỉ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 Báo cáo trường hợp

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

78

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

78

Thống kê

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

82Latency cho các yêu cầu đọc.

Latency statistics for read requests.

Thống kê

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

83Latency cho các hoạt động ghi.

Latency statistics for write operations.

Thống kê

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

844Latency cho các lệnh cơ sở dữ liệu.

Latency statistics for database commands.

Cảnh báo

Loại bỏ

Chỉ cho các trường hợp Mongod

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

1

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

85REMED trong phiên bản 5.0. Được thay thế bởi

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

86

Removed in version 5.0. Replaced by

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

86

Một tài liệu báo cáo về mức độ quan tâm đọc được chỉ định bởi các hoạt động truy vấn theo phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 kể từ lần cuối cùng bắt đầu.

Được chỉ định

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89

Sự mô tả

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

89

Số lượng hoạt động truy vấn được chỉ định đọc Mức độ liên quan

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

89

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

91

Số lượng hoạt động truy vấn được chỉ định đọc Mức độ liên quan

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

91

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

93

Số lượng hoạt động truy vấn được chỉ định đọc Mức độ liên quan

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

93

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

95

Số lượng hoạt động truy vấn được chỉ định đọc Mức độ liên quan

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

95

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97

Số lượng hoạt động truy vấn được chỉ định đọc Mức độ liên quan

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

99

Số lượng các hoạt động truy vấn không chỉ định mức độ quan tâm đọc và thay vào đó sử dụng mức độ quan tâm đọc mặc định.

Tổng của

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

85 bằng

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

01

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

85
equals

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

01

Mới trong phiên bản 4.0.6.

Chỉ cho các trường hợp Mongod

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

2

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

85REMED trong phiên bản 5.0. Được thay thế bởi

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

86

A document that reports on the write concerns specified by write operations to the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance since it last started.

Một tài liệu báo cáo về mức độ quan tâm đọc được chỉ định bởi các hoạt động truy vấn theo phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 kể từ lần cuối cùng bắt đầu.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

02
reports on the w: specified by the write operations. The journal flag option (

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

05) and the timeout option (

db.runCommand( { serverStatus: 1, repl: 1 } )

32) of the write concerns does not affect the count. The count is incremented even if the operation times out.

Được chỉ định db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )89

Sự mô tả

New in version 4.0.6.

Số lượng hoạt động truy vấn được chỉ định đọc Mức độ liên quan

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

89

Ghi chú

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

3

Được chỉ định

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89

Sự mô tả

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

10

Số lượng hoạt động chèn được chỉ định

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

11

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

12

Số lượng hoạt động chèn chỉ định

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

13. Các số lượng được nhóm lại bởi'```.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

14

Số lượng hoạt động chèn chỉ định

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

15. Các số được nhóm theo

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

16 cụ thể.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

99

Số lượng hoạt động chèn không chỉ định giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89. Các hoạt động này sử dụng giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 mặc định của "đa số".

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

20

Số lượng các hoạt động truy vấn không chuyển đổi sử dụng các mối quan tâm ghi mặc định. Các số liệu theo dõi việc sử dụng

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

21 (mối quan tâm ghi mặc định toàn cầu) và mối quan tâm viết hàng hóa ẩn.

Tổng của các giá trị trong

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

22 phải bằng giá trị của

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

23.

Tổng của

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

07 bằng

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

25

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

07
equals

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

25

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

26New trong phiên bản 4.0.6.

New in version 4.0.6.

Một tài liệu báo cáo về W: Được chỉ định bởi các hoạt động cập nhật theo phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 kể từ lần cuối nó bắt đầu:

Ghi chú

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

4

Được chỉ định

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89

Sự mô tả

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

10

Số lượng hoạt động chèn được chỉ định

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

11

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

12

Số lượng hoạt động chèn chỉ định

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

13. Các số lượng được nhóm lại bởi'```.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

14

Số lượng hoạt động chèn chỉ định

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

15. Các số được nhóm theo

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

16 cụ thể.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

99

Số lượng hoạt động chèn không chỉ định giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89. Các hoạt động này sử dụng giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 mặc định của "đa số".

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

20

Số lượng các hoạt động truy vấn không chuyển đổi sử dụng các mối quan tâm ghi mặc định. Các số liệu theo dõi việc sử dụng

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

21 (mối quan tâm ghi mặc định toàn cầu) và mối quan tâm viết hàng hóa ẩn.

Tổng của các giá trị trong

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

22 phải bằng giá trị của

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

23.

Tổng của

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

07 bằng

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

25

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

26
equals

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

46

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

26New trong phiên bản 4.0.6.

New in version 4.0.6.

Một tài liệu báo cáo về W: Được chỉ định bởi các hoạt động cập nhật theo phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 kể từ lần cuối nó bắt đầu:

Ghi chú

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

5

Được chỉ định

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89

Sự mô tả

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

10

Số lượng hoạt động chèn được chỉ định

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

11

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

12

Số lượng hoạt động chèn chỉ định

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

13. Các số lượng được nhóm lại bởi'```.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

14

Số lượng hoạt động chèn chỉ định

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

15. Các số được nhóm theo

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

16 cụ thể.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

99

Số lượng hoạt động chèn không chỉ định giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89. Các hoạt động này sử dụng giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 mặc định của "đa số".

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

20

Số lượng các hoạt động truy vấn không chuyển đổi sử dụng các mối quan tâm ghi mặc định. Các số liệu theo dõi việc sử dụng

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

21 (mối quan tâm ghi mặc định toàn cầu) và mối quan tâm viết hàng hóa ẩn.

Tổng của các giá trị trong

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

22 phải bằng giá trị của

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

23.

Tổng của

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

07 bằng

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

25

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

47
equals

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

67

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

26New trong phiên bản 4.0.6.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

6

Một tài liệu báo cáo về W: Được chỉ định bởi các hoạt động cập nhật theo phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 kể từ lần cuối nó bắt đầu:

A document that reports on database operations by type since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started.

Số lượng hoạt động cập nhật đã chỉ định

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

11

Ghi chú

Số lượng hoạt động cập nhật đã chỉ định

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

13. Các số được nhóm theo

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

33 cụ thể.

db.runCommand( { serverStatus: 1, repl: 1 } )

08
treats operations that affect multiple documents, such as bulk insert or multi-update operations, as a single operation. See

db.runCommand( { serverStatus: 1, repl: 1 } )

07
for more granular document-level operation tracking.

Số lượng hoạt động cập nhật đã chỉ định

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

15. Các số được nhóm theo

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

16 cụ thể.

Số lượng hoạt động cập nhật không chỉ định giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89. Các hoạt động này sử dụng giá trị

db.runCommand( { serverStatus: 1, repl: 0, metrics: 0, locks: 0 } )

89 mặc định là
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
9.

The total number of insert operations received since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

26New trong phiên bản 4.0.6.

Một tài liệu báo cáo về W: Được chỉ định bởi các hoạt động cập nhật theo phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 kể từ lần cuối nó bắt đầu:

The total number of queries received since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

26New trong phiên bản 4.0.6.

Một tài liệu báo cáo về W: Được chỉ định bởi các hoạt động cập nhật theo phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 kể từ lần cuối nó bắt đầu:

The total number of update operations received since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

26New trong phiên bản 4.0.6.

Một tài liệu báo cáo về W: Được chỉ định bởi các hoạt động cập nhật theo phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 kể từ lần cuối nó bắt đầu:

The total number of delete operations since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

26New trong phiên bản 4.0.6.

Một tài liệu báo cáo về W: Được chỉ định bởi các hoạt động cập nhật theo phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 kể từ lần cuối nó bắt đầu:

The total number of

db.runCommand( { serverStatus: 1, repl: 1 } )

56 operations since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started. This counter can be high even if the query count is low. Secondary nodes send

db.runCommand( { serverStatus: 1, repl: 1 } )

56 operations as part of the replication process.

Bắt đầu từ MongoDB 4.2, các opcounters được trả lại.* Các giá trị là loại numberLong. Trong các phiên bản trước, các giá trị là loại số.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

84 Tổng số lệnh được cấp cho cơ sở dữ liệu kể từ khi thể hiện

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối.

The total number of commands issued to the database since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

84 Đếm tất cả các lệnh ngoại trừ các lệnh ghi:

db.runCommand( { serverStatus: 1, repl: 1 } )

15,

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

88 và

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

89 counts all commands except the write commands:

db.runCommand( { serverStatus: 1, repl: 1 } )

15,

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

88, and

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

89

Bắt đầu từ MongoDB 4.2, các opcounters được trả lại.* Các giá trị là loại numberLong. Trong các phiên bản trước, các giá trị là loại số.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

90 Phần này chỉ xuất hiện trong đầu ra

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

0 khi một trong những điều sau đây, các opcode không dùng nữa đã được sử dụng:

This section only appears in the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

0 output when one of the following, deprecated opcodes has been used:

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

7

Các opcode này đã được không dùng nữa trong MongoDB 5.0 và hỗ trợ cho các opcode này được loại bỏ trong MongoDB 5.1. Bắt đầu từ MongoDB 5.1,

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 từ chối các yêu cầu sử dụng opcode không dùng nữa và tăng bộ đếm tương ứng.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

93 là một ngoại lệ cho quy tắc chung.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 tiếp tục hỗ trợ
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
09 và
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
07 Các yêu cầu sử dụng

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

93.

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 từ chối bất kỳ yêu cầu

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

93 nào khác.

Các quầy được đặt lại khi

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu.

Bắt đầu từ MongoDB 4.2, các giá trị OpCountersRepl được trả lại.* Là loại số. Trong các phiên bản trước, các giá trị là loại số.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

8

Tài liệu
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
01A báo cáo về các hoạt động sao chép cơ sở dữ liệu theo loại kể từ khi thể hiện

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối.

A document that reports on database replication operations by type since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started.

Các giá trị này chỉ xuất hiện khi máy chủ hiện tại là thành viên của bộ bản sao.

Các giá trị này sẽ khác với các giá trị

db.runCommand( { serverStatus: 1, repl: 1 } )

08 vì cách mongDB tuần tự hóa các hoạt động trong quá trình sao chép. Xem sao chép để biết thêm thông tin về sao chép.

db.runCommand( { serverStatus: 1, repl: 1 } )

08
values because of how MongoDB serializes operations during replication. See Replication for more information on replication.

Những con số này sẽ phát triển theo thời gian để đáp ứng với việc sử dụng cơ sở dữ liệu cho đến khi khởi động lại tiếp theo. Phân tích các giá trị này theo thời gian để theo dõi việc sử dụng cơ sở dữ liệu.

Bắt đầu từ MongoDB 4.2, các giá trị OpCountersRepl được trả lại.* Là loại số. Trong các phiên bản trước, các giá trị là loại số.

Tài liệu
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
01A báo cáo về các hoạt động sao chép cơ sở dữ liệu theo loại kể từ khi thể hiện

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối.

The total number of replicated insert operations since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started.

Bắt đầu từ MongoDB 4.2, các giá trị OpCountersRepl được trả lại.* Là loại số. Trong các phiên bản trước, các giá trị là loại số.

Tài liệu
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
01A báo cáo về các hoạt động sao chép cơ sở dữ liệu theo loại kể từ khi thể hiện

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối.

The total number of replicated queries since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started.

Bắt đầu từ MongoDB 4.2, các giá trị OpCountersRepl được trả lại.* Là loại số. Trong các phiên bản trước, các giá trị là loại số.

Tài liệu
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
01A báo cáo về các hoạt động sao chép cơ sở dữ liệu theo loại kể từ khi thể hiện

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối.

The total number of replicated update operations since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started.

Bắt đầu từ MongoDB 4.2, các giá trị OpCountersRepl được trả lại.* Là loại số. Trong các phiên bản trước, các giá trị là loại số.

Tài liệu
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
01A báo cáo về các hoạt động sao chép cơ sở dữ liệu theo loại kể từ khi thể hiện

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối.

The total number of replicated delete operations since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started.

Bắt đầu từ MongoDB 4.2, các giá trị OpCountersRepl được trả lại.* Là loại số. Trong các phiên bản trước, các giá trị là loại số.

Tài liệu
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
01A báo cáo về các hoạt động sao chép cơ sở dữ liệu theo loại kể từ khi thể hiện

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối.

The total number of

db.runCommand( { serverStatus: 1, repl: 1 } )

56 operations since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started. This counter can be high even if the query count is low. Secondary nodes send

db.runCommand( { serverStatus: 1, repl: 1 } )

56 operations as part of the replication process.

Bắt đầu từ MongoDB 4.2, các giá trị OpCountersRepl được trả lại.* Là loại số. Trong các phiên bản trước, các giá trị là loại số.

Tài liệu
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
01A báo cáo về các hoạt động sao chép cơ sở dữ liệu theo loại kể từ khi thể hiện

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối.

The total number of replicated commands issued to the database since the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance last started.

Bắt đầu từ MongoDB 4.2, các giá trị OpCountersRepl được trả lại.* Là loại số. Trong các phiên bản trước, các giá trị là loại số.

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

9

Tài liệu
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
01A báo cáo về các hoạt động sao chép cơ sở dữ liệu theo loại kể từ khi thể hiện

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối.

A document that reports on oplog truncations.

Các giá trị này chỉ xuất hiện khi máy chủ hiện tại là thành viên của bộ bản sao.

Các giá trị này sẽ khác với các giá trị

db.runCommand( { serverStatus: 1, repl: 1 } )

08 vì cách mongDB tuần tự hóa các hoạt động trong quá trình sao chép. Xem sao chép để biết thêm thông tin về sao chép.

The total time taken, in microseconds, to scan or sample the oplog to determine the oplog truncation points.

Những con số này sẽ phát triển theo thời gian để đáp ứng với việc sử dụng cơ sở dữ liệu cho đến khi khởi động lại tiếp theo. Phân tích các giá trị này theo thời gian để theo dõi việc sử dụng cơ sở dữ liệu. is only meaningful if the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance started on existing data files (i.e. not meaningful for In-Memory Storage Engine).

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
04 Tổng số hoạt động chèn được sao chép kể từ phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối.
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
22

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
06 Tổng số truy vấn được sao chép kể từ phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối.

The method used at start up to determine the oplog truncation points. The value can be either

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
24 or
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
25.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
08 Tổng số hoạt động cập nhật được sao chép kể từ phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối. is only meaningful if the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance started on existing data files (i.e. not meaningful for In-Memory Storage Engine).

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
10 Tổng số hoạt động xóa được sao chép kể từ phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối.

New in version 4.4: The minimum retention period for the oplog in hours. If the oplog has exceeded the oplog size, the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 only truncates oplog entries older than the configured retention value.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
12 Tổng số hoạt động

db.runCommand( { serverStatus: 1, repl: 1 } )

56 kể từ phiên bản

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 bắt đầu lần cuối. Bộ đếm này có thể cao ngay cả khi số lượng truy vấn thấp. Các nút thứ cấp gửi các hoạt động

db.runCommand( { serverStatus: 1, repl: 1 } )

56 như một phần của quá trình sao chép.

  • "asserts" : {
    "regular" : <num>,
    "warning" : <num>,
    "msg" : <num>,
    "user" : <num>,
    "rollovers" : <num>
    },
    16 Tổng số các lệnh được sao chép được cấp cho cơ sở dữ liệu kể từ khi thể hiện

    db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

    1 bắt đầu lần cuối.

    hoặc

  • Thời gian lưu tối thiểu được cấu hình sau khi khởi động bằng cách sử dụng

    "asserts" : {
    "regular" : <num>,
    "warning" : <num>,
    "msg" : <num>,
    "user" : <num>,
    "rollovers" : <num>
    },
    34

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
35 Thời gian tích lũy dành, trong các micro giây, thực hiện các cắt cụt oplog.

The cumulative time spent, in microseconds, performing oplog truncations.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
36 Số lượng tích lũy của các lần cắt oplog.

The cumulative number of oplog truncations.

Mới trong phiên bản 5.0.

db.runCommand( { serverStatus: 1, repl: 1 } )

0

Tài liệu

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

86A báo cáo về mức độ liên quan đọc được chỉ định bởi các hoạt động truy vấn. Tài liệu này chứa tài liệu
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
38 và
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
39.

A document that reports on the read concern level specified by query operations. This document contains the

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
38 and
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
39
documents.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
38

Một tài liệu báo cáo về mức độ quan tâm đọc được chỉ định bởi các hoạt động truy vấn không chuyển nhượng được thực hiện sau khi máy chủ cơ sở dữ liệu bắt đầu lần cuối.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
41Number của các hoạt động truy vấn không chuyển giao không chỉ định mức độ quan tâm đọc và thay vào đó được sử dụng:

Number of non-transaction query operations that did not specify a read concern level and instead used either:

  • mức độ quan tâm đọc mặc định, hoặc

  • Cấu hình mối quan tâm đọc mặc định toàn cầu nếu nó được đặt bởi lệnh

    db.runCommand({ serverStatus: 1}).metrics
    db.runCommand({ serverStatus: 1}).metrics.commands
    db.runCommand({ serverStatus: 1}).metrics.commands.update
    33.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
43 Số lượng các hoạt động truy vấn không chuyển đổi sử dụng mối quan tâm đọc mặc định toàn cầu và mối quan tâm đọc hàng hóa ngầm.

The number of non-transaction query operations that use the global default read concern and an implicit-default read concern.

Tổng của các giá trị trong

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
43 phải bằng giá trị của
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
41.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
46Number của các hoạt động truy vấn không chuyển đổi đã chỉ định mức độ quan tâm đọc

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

93.

Number of non-transaction query operations that specified the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

93 read concern level.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
48Number của các hoạt động truy vấn không chuyển đổi đã chỉ định mức độ quan tâm đọc

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

89.

Number of non-transaction query operations that specified the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

89 read concern level.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
50Number của các hoạt động truy vấn không chuyển đổi đã chỉ định mức độ quan tâm đọc

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

95.

Number of non-transaction query operations that specified the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

95 read concern level.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
52Document chứa các hoạt động truy vấn không chuyển đổi đã chỉ định mức độ quan tâm đọc

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97.

Document containing non-transaction query operations that specified the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97 read concern level.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
54

Số lượng các hoạt động truy vấn không chuyển đổi đã chỉ định mức độ quan tâm của

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97 đọc và thời gian cụm, quy định một thời điểm.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
56Number của các hoạt động truy vấn không chuyển giao đã chỉ định mức độ quan tâm đọc

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97 mà không có thời gian cụm, điều đó có nghĩa là một thời điểm đã bị bỏ qua và máy chủ sẽ đọc ảnh chụp nhanh gần đây nhất có sẵn cho nút.

Number of non-transaction query operations that specified the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97 read concern level without the cluster time, which means a point in time was omitted and the server will read the most recently committed snapshot available to the node.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
58Number của các hoạt động truy vấn không chuyển đổi đã chỉ định mức độ quan tâm đọc

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

91.

Number of non-transaction query operations that specified the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

91 read concern level.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
39

Một tài liệu báo cáo về mức độ quan tâm đọc được chỉ định bởi các hoạt động truy vấn giao dịch được thực hiện sau khi máy chủ cơ sở dữ liệu bắt đầu lần cuối.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
61Number của các hoạt động truy vấn giao dịch không chỉ định mức độ quan tâm đọc và thay vào đó sử dụng mức độ quan tâm đọc mặc định hoặc cấu hình liên quan đọc hoặc ghi mặc định toàn cầu được thêm vào lệnh
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
33.

Number of transaction query operations that did not specify a read concern level and instead used the default read concern level or the global default read or write concern configuration added with the

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
33 command.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
63 Thông tin về mối quan tâm đọc mặc định toàn cầu và liên quan đến hàng hóa ẩn được sử dụng bởi các hoạt động truy vấn giao dịch.

Information about the global default read concern and implicit-default read concern used by transaction query operations.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
64Number của các hoạt động truy vấn giao dịch đã chỉ định mức độ quan tâm của

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

93.

Number of transaction query operations that specified the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

93 read concern level.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
66Number của các hoạt động truy vấn giao dịch đã chỉ định mức độ quan tâm đọc

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

89.

Number of transaction query operations that specified the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

89 read concern level.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
68Number của các hoạt động truy vấn giao dịch đã chỉ định mức độ quan tâm đọc

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

95.

Number of transaction query operations that specified the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

95 read concern level.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
70Document chứa các hoạt động truy vấn giao dịch đã chỉ định mức độ quan tâm đọc

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97.

Document containing transaction query operations that specified the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97 read concern level.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
72Number của các hoạt động truy vấn giao dịch đã chỉ định mức độ quan tâm đọc

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97 và thời gian cụm, quy định một thời điểm.

Number of transaction query operations that specified the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97 read concern level and the cluster time, which specified a point in time.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
74Number của các hoạt động truy vấn giao dịch đã chỉ định mức độ quan tâm của

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97 mà không có thời gian cụm, điều đó có nghĩa là một thời điểm đã bị bỏ qua và máy chủ sẽ đọc ảnh chụp nhanh gần đây nhất có sẵn cho nút.

Number of transaction query operations that specified the

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

97 read concern level without the cluster time, which means a point in time was omitted and the server will read the most recently committed snapshot available to the node.

db.runCommand( { serverStatus: 1, repl: 1 } )

1

Tài liệu

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

6A báo cáo về cấu hình bộ bản sao.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

6 chỉ xuất hiện khi máy chủ hiện tại là một bộ bản sao. Xem sao chép để biết thêm thông tin về sao chép.

A document that reports on the replica set configuration.

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

6 only appear when the current host is a replica set. See Replication for more information on replication.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
78an mảng của bản sao hiện tại đặt tên máy chủ và thông tin cổng của các thành viên (
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
79).

An array of the current replica set members' hostname and port information (

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
79).

Chuỗi
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
80A với tên của bộ bản sao hiện tại. Giá trị này phản ánh đối số dòng lệnh
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
81 hoặc giá trị
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
82 trong tệp cấu hình.

A string with the name of the current replica set. This value reflects the

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
81 command line argument, or
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
82 value in the configuration file.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
83A Boolean cho biết liệu nút hiện tại có phải là bản chính của bộ bản sao hay không.

A boolean that indicates whether the current node is the primary of the replica set.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
84A Boolean cho biết liệu nút hiện tại có phải là thành viên thứ cấp của bộ bản sao hay không.

A boolean that indicates whether the current node is a secondary member of the replica set.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
85 Thông tin về tên máy chủ và cổng (
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
79) của thành viên chính hiện tại của bộ bản sao.

The hostname and port information (

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
79) of the current primary member of the replica set.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
87 Thông tin về tên máy chủ và cổng (
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
79) cho thành viên hiện tại của bộ bản sao.

The hostname and port information (

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
79) for the current member of the replica set.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
89Document chứa số lượng và trạng thái của các phiên bản của mỗi dịch vụ chính hoạt động trên máy chủ. Các dịch vụ chính chỉ có thể bắt đầu khi một máy chủ là chính nhưng có thể tiếp tục chạy để hoàn thành sau khi máy chủ thay đổi trạng thái.

Document that contains the number and status of instances of each primary service active on the server. Primary services can only start when a server is primary but can continue running to completion after the server changes state.

Mới trong phiên bản 5.0.

Tài liệu

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

86A báo cáo về mức độ liên quan đọc được chỉ định bởi các hoạt động truy vấn. Tài liệu này chứa tài liệu
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
38 và
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
39.

Document that contains the state and number of instances of the

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
91.

Một tài liệu báo cáo về mức độ quan tâm đọc được chỉ định bởi các hoạt động truy vấn không chuyển nhượng được thực hiện sau khi máy chủ cơ sở dữ liệu bắt đầu lần cuối.shard key and zones.

Điều phối viên sắp xếp lại hướng dẫn từng nhà tài trợ và người nhận sơ cấp, để đổi tên bộ sưu tập Sharded tạm thời. Bộ sưu tập tạm thời trở thành bộ sưu tập mới được sắp xếp lại.

Mới trong phiên bản 5.0.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
92Document chứa trạng thái và số lượng các trường hợp của
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
93.

Document that contains the state and number of instances of the

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
93.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
93 đảm bảo rằng, sau khi Shard nhận được yêu cầu đổi mới, Shard có thể tiếp tục đổi tên địa phương trong trường hợp lỗi hệ thống.renameCollection request, the shard is able to resume the local rename in case of system failure.

Mới trong phiên bản 5.0.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
92Document chứa trạng thái và số lượng các trường hợp của
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
93.

Document that contains the state and number of instances of the

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
96.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
93 đảm bảo rằng, sau khi Shard nhận được yêu cầu đổi mới, Shard có thể tiếp tục đổi tên địa phương trong trường hợp lỗi hệ thống.primary databases such as: create database, drop database, renameCollection.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
95Document chứa trạng thái và số lượng các trường hợp của
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
96.

Mới trong phiên bản 5.0.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
92Document chứa trạng thái và số lượng các trường hợp của
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
93.

Document that contains the state and number of instances of the

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
00.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
93 đảm bảo rằng, sau khi Shard nhận được yêu cầu đổi mới, Shard có thể tiếp tục đổi tên địa phương trong trường hợp lỗi hệ thống.

Điều phối viên sắp xếp lại hướng dẫn từng nhà tài trợ và người nhận sơ cấp, để đổi tên bộ sưu tập Sharded tạm thời. Bộ sưu tập tạm thời trở thành bộ sưu tập mới được sắp xếp lại.

Mới trong phiên bản 5.0.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
92Document chứa trạng thái và số lượng các trường hợp của
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
93.

Rollback identifier. Used to determine if a rollback has happened for this

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 instance.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
93 đảm bảo rằng, sau khi Shard nhận được yêu cầu đổi mới, Shard có thể tiếp tục đổi tên địa phương trong trường hợp lỗi hệ thống.

An array with one document for each member of the replica set that reports replication process to this member. Typically this is the primary, or secondaries if using chained replication.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
95Document chứa trạng thái và số lượng các trường hợp của
"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
96.
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
7
, as in the following:

db.runCommand( { serverStatus: 1, repl: 1 } )

2

Dịch vụ

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
96 quản lý các hoạt động DDL cho các cơ sở dữ liệu chính như: Tạo cơ sở dữ liệu, cơ sở dữ liệu thả, đổi mới.
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
03
section depends on the source of each member's replication. This section supports internal operation and is for internal and diagnostic use only.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
96 đảm bảo rằng một hoạt động DDL cho mỗi cơ sở dữ liệu có thể xảy ra tại bất kỳ một thời điểm cụ thể nào trong một cụm bị chia cắt.

An ObjectId used as an ID for the members of the replica set. For internal use only.

"asserts" : {
"regular" : <num>,
"warning" : <num>,
"msg" : <num>,
"user" : <num>,
"rollovers" : <num>
},
99Document chứa trạng thái và số lượng các trường hợp của
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
00.

Information regarding the last operation from the oplog that the member applied, as reported from this member.

Các nhà tài trợ là những mảnh vỡ sở hữu các khối của bộ sưu tập Sharded trước khi hoạt động đổi tên hoàn thành.

The name of the host in

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
10 format for the member of the replica set.

Định danh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
01Rollback. Được sử dụng để xác định xem một cuộc quay ngược đã xảy ra cho ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 này.

The integer identifier for this member of the replica set.

db.runCommand( { serverStatus: 1, repl: 1 } )

3

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
03AN Mảng với một tài liệu cho mỗi thành viên của bộ bản sao báo cáo quy trình sao chép cho thành viên này. Thông thường đây là chính, hoặc thứ hai nếu sử dụng sao chép chuỗi.

A document that reports on:

  • Để bao gồm đầu ra này, bạn phải chuyển tùy chọn

    db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

    6 cho
    {
    "arrayFilters" : NumberLong(0),
    "failed" : NumberLong(0),
    "pipeline" : NumberLong(0),
    "total" : NumberLong(1)
    }
    7, như sau:

  • Nội dung của phần

    "bucketCatalog" : {
    "numBuckets" : <num>,
    "numOpenBuckets" : <num>,
    "numIdleBuckets" : <num>,
    "memoryUsage" : <num>
    }
    03 phụ thuộc vào nguồn sao chép của mỗi thành viên. Phần này hỗ trợ hoạt động nội bộ và chỉ sử dụng nội bộ và chẩn đoán.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
07An ObjectID được sử dụng làm ID cho các thành viên của bộ bản sao. Chỉ sử dụng nội bộ.

New in version 5.0.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
08 Thông tin liên quan đến hoạt động cuối cùng từ oplog mà thành viên đã áp dụng, như đã báo cáo từ thành viên này.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
09 Tên của máy chủ ở định dạng
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
10 cho thành viên của bộ bản sao.

A document that reports on the number of times a given authentication mechanism has been used to authenticate against the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 or

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instance. The values in the document distinguish standard authentication and speculative authentication. [1]

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
11 Định danh số nguyên cho thành viên này của bộ bản sao.

"bucketCatalog" : { "numBuckets" : <num>, "numOpenBuckets" : <num>, "numIdleBuckets" : <num>, "memoryUsage" : <num> }12A Tài liệu báo cáo về:

Số lần một cơ chế xác thực nhất định đã được sử dụng để xác thực theo ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9. (Mới trong MongoDB 4.4)

Chứng chỉ TLS/SSL của phiên bản (Chỉ xuất hiện cho ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 với sự hỗ trợ cho TLS)

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
19New trong phiên bản 5.0.

A document that reports on the number of times x.509 has been used to authenticate against the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 or

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instance.

Số lần yêu cầu

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
09 bao gồm trường
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
21 hợp lệ.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
11 Định danh số nguyên cho thành viên này của bộ bản sao.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
12A Tài liệu báo cáo về:

Number of speculative authentication attempts received using x.509. Includes both successful and failed speculative authentication attempts. [1]

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
11 Định danh số nguyên cho thành viên này của bộ bản sao.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
12A Tài liệu báo cáo về:

Number of successful speculative authentication attempts received using x.509. [1]

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
11 Định danh số nguyên cho thành viên này của bộ bản sao.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
12A Tài liệu báo cáo về:

Number of successful and failed authentication attempts received using x.509. This value includes speculative authentication attempts received using x.509.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
11 Định danh số nguyên cho thành viên này của bộ bản sao.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
12A Tài liệu báo cáo về:

Number of successful authentication attempts received using x.509. This value includes successful speculative authentication attempts which used x.509.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
11 Định danh số nguyên cho thành viên này của bộ bản sao.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
12A Tài liệu báo cáo về:

The subject name associated with the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instance's TLS/SSL certificate.

Số lần một cơ chế xác thực nhất định đã được sử dụng để xác thực theo ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9. (Mới trong MongoDB 4.4)

A boolean that is:

  • Chứng chỉ TLS/SSL của phiên bản (Chỉ xuất hiện cho ví dụ

    db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

    1 hoặc

    db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

    9 với sự hỗ trợ cho TLS)

  • "bucketCatalog" : {
    "numBuckets" : <num>,
    "numOpenBuckets" : <num>,
    "numIdleBuckets" : <num>,
    "memoryUsage" : <num>
    }
    19New trong phiên bản 5.0.

Số lần yêu cầu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
09 bao gồm trường
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
21 hợp lệ.

The expiration date and time of the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instance's TLS/SSL certificate.

Khi chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9, lệnh trả về thông tin thu hẹp.

Thay đổi trong phiên bản 3.6: Bắt đầu từ MongoDB 3.6, các thành viên Shard trả lại thông tin Sharding.

db.runCommand( { serverStatus: 1, repl: 1 } )

4

Tài liệu
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
51A với dữ liệu liên quan đến cụm bị che khuất.
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
52 chỉ có mặt cho

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 hoặc thành viên Shard, không phải cho máy chủ cấu hình.

A document with data regarding the sharded cluster. The

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
52 is present only for a

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 or a shard member, not for a config server.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
54 Chuỗi kết nối cho các máy chủ cấu hình.

The connection string for the config servers.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
55 Optime mới nhất của chính CSRS mà

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 hoặc thành viên Shard đã thấy. Tài liệu Optime bao gồm:

The latest optime of the CSRS primary that the

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 or the shard member has seen. The optime document includes:

  • "bucketCatalog" : {
    "numBuckets" : <num>,
    "numOpenBuckets" : <num>,
    "numIdleBuckets" : <num>,
    "memoryUsage" : <num>
    }
    57, dấu thời gian của hoạt động.

  • "bucketCatalog" : {
    "numBuckets" : <num>,
    "numOpenBuckets" : <num>,
    "numIdleBuckets" : <num>,
    "memoryUsage" : <num>
    }
    58,
    "bucketCatalog" : {
    "numBuckets" : <num>,
    "numOpenBuckets" : <num>,
    "numIdleBuckets" : <num>,
    "memoryUsage" : <num>
    }
    59 trong đó hoạt động ban đầu được tạo ra trên chính.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
52 chỉ có mặt nếu cụm Sharded sử dụng CSR.
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
52
is present only if the sharded cluster uses CSRS.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
61 Giới hạn kích thước tối đa cho một khối. Nếu kích thước chunk đã được cập nhật gần đây trên máy chủ cấu hình,
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
62 có thể không phản ánh giá trị gần đây nhất.

The maximum size limit for a chunk. If the chunk size has been updated recently on the config server, the

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
62 may not reflect the most recent value.

Mới trong phiên bản 4.0.

Tài liệu
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
63A có chứa các số liệu trên siêu dữ liệu làm mới trên các cụm mảnh vỡ.

A document which contains metrics on metadata refresh on sharded clusters.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
64 Tổng số lần các chủ đề tấn công ngoại lệ cấu hình stale. Do ngoại lệ cấu hình cũ kích hoạt sự làm mới siêu dữ liệu, số này gần như tỷ lệ thuận với số lượng siêu dữ liệu làm mới.

The total number of times that threads hit stale config exception. Since a stale config exception triggers a refresh of the metadata, this number is roughly proportional to the number of metadata refreshes.

Chỉ có mặt khi chạy trên một mảnh vỡ.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
65 Tổng số lần mà lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 hoặc
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 đã bắt đầu trên Shard, trong đó nút này là thành viên, như một phần của quá trình di chuyển chunk. Số lượng ngày càng tăng này không xem xét liệu các cuộc di cư chunk có thành công hay không.

The total number of times that the

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 command or
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 have started on the shard, of which this node is a member, as part of a chunk migration process. This increasing number does not consider whether the chunk migrations succeed or not.

Chỉ có mặt khi chạy trên một mảnh vỡ.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
65 Tổng số lần mà lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 hoặc
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 đã bắt đầu trên Shard, trong đó nút này là thành viên, như một phần của quá trình di chuyển chunk. Số lượng ngày càng tăng này không xem xét liệu các cuộc di cư chunk có thành công hay không.

The cumulative time, in milliseconds, taken by the clone phase of the chunk migrations from this shard, of which this node is a member. Specifically, for each migration from this shard, the tracked time starts with the

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 and
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 commands and ends before the destination shard enters a
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
71 phase to apply changes that occurred during the chunk migrations.

Chỉ có mặt khi chạy trên một mảnh vỡ.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
65 Tổng số lần mà lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 hoặc
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 đã bắt đầu trên Shard, trong đó nút này là thành viên, như một phần của quá trình di chuyển chunk. Số lượng ngày càng tăng này không xem xét liệu các cuộc di cư chunk có thành công hay không.

The cumulative time, in milliseconds, taken by the update metadata phase of the chunk migrations from this shard, of which this node is a member. During the update metadata phase, all operations on the collection are blocked.

Chỉ có mặt khi chạy trên một mảnh vỡ.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
65 Tổng số lần mà lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 hoặc
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 đã bắt đầu trên Shard, trong đó nút này là thành viên, như một phần của quá trình di chuyển chunk. Số lượng ngày càng tăng này không xem xét liệu các cuộc di cư chunk có thành công hay không.

The cumulative time, in milliseconds, taken by the catch-up phase and the update metadata phase of the chunk migrations from this shard, of which this node is a member.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
68 Thời gian tích lũy, tính theo mili giây, được thực hiện bởi giai đoạn nhân bản của các di chuyển khối từ mảnh vỡ này, trong đó nút này là một thành viên. Cụ thể, đối với mỗi lần di chuyển từ mảnh vỡ này, thời gian được theo dõi bắt đầu bằng các lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 và
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 và kết thúc trước khi Shard đích đi vào giai đoạn
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
71 để áp dụng các thay đổi xảy ra trong quá trình di chuyển khối.
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
74
from
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
75

db.runCommand( { serverStatus: 1, repl: 1 } )

5

Chỉ có mặt khi chạy trên một mảnh vỡ.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
65 Tổng số lần mà lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 hoặc
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 đã bắt đầu trên Shard, trong đó nút này là thành viên, như một phần của quá trình di chuyển chunk. Số lượng ngày càng tăng này không xem xét liệu các cuộc di cư chunk có thành công hay không.

Cumulative, always-increasing count of documents that have been cloned on this member where it acted as the primary of the recipient shard.

Chỉ có mặt khi chạy trên một mảnh vỡ.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
65 Tổng số lần mà lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 hoặc
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 đã bắt đầu trên Shard, trong đó nút này là thành viên, như một phần của quá trình di chuyển chunk. Số lượng ngày càng tăng này không xem xét liệu các cuộc di cư chunk có thành công hay không.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
68 Thời gian tích lũy, tính theo mili giây, được thực hiện bởi giai đoạn nhân bản của các di chuyển khối từ mảnh vỡ này, trong đó nút này là một thành viên. Cụ thể, đối với mỗi lần di chuyển từ mảnh vỡ này, thời gian được theo dõi bắt đầu bằng các lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 và
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 và kết thúc trước khi Shard đích đi vào giai đoạn
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
71 để áp dụng các thay đổi xảy ra trong quá trình di chuyển khối.

Cumulative, always-increasing count of documents that haves been cloned on this member where it acted as the primary of the donor shard.

Chỉ có mặt khi chạy trên một mảnh vỡ.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
65 Tổng số lần mà lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 hoặc
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 đã bắt đầu trên Shard, trong đó nút này là thành viên, như một phần của quá trình di chuyển chunk. Số lượng ngày càng tăng này không xem xét liệu các cuộc di cư chunk có thành công hay không.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
68 Thời gian tích lũy, tính theo mili giây, được thực hiện bởi giai đoạn nhân bản của các di chuyển khối từ mảnh vỡ này, trong đó nút này là một thành viên. Cụ thể, đối với mỗi lần di chuyển từ mảnh vỡ này, thời gian được theo dõi bắt đầu bằng các lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 và
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 và kết thúc trước khi Shard đích đi vào giai đoạn
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
71 để áp dụng các thay đổi xảy ra trong quá trình di chuyển khối.

Cumulative, always-increasing count of chunks this member, acting as the primary of the recipient shard, has started to receive (whether the move has succeeded or not).

Chỉ có mặt khi chạy trên một mảnh vỡ.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
65 Tổng số lần mà lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 hoặc
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 đã bắt đầu trên Shard, trong đó nút này là thành viên, như một phần của quá trình di chuyển chunk. Số lượng ngày càng tăng này không xem xét liệu các cuộc di cư chunk có thành công hay không.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
68 Thời gian tích lũy, tính theo mili giây, được thực hiện bởi giai đoạn nhân bản của các di chuyển khối từ mảnh vỡ này, trong đó nút này là một thành viên. Cụ thể, đối với mỗi lần di chuyển từ mảnh vỡ này, thời gian được theo dõi bắt đầu bằng các lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 và
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 và kết thúc trước khi Shard đích đi vào giai đoạn
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
71 để áp dụng các thay đổi xảy ra trong quá trình di chuyển khối.

Cumulative, always-increasing count of documents that have been deleted on this member during chunk migration where the member acted as the primary of the donor shard.

Chỉ có mặt khi chạy trên một mảnh vỡ.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
65 Tổng số lần mà lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 hoặc
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 đã bắt đầu trên Shard, trong đó nút này là thành viên, như một phần của quá trình di chuyển chunk. Số lượng ngày càng tăng này không xem xét liệu các cuộc di cư chunk có thành công hay không.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
68 Thời gian tích lũy, tính theo mili giây, được thực hiện bởi giai đoạn nhân bản của các di chuyển khối từ mảnh vỡ này, trong đó nút này là một thành viên. Cụ thể, đối với mỗi lần di chuyển từ mảnh vỡ này, thời gian được theo dõi bắt đầu bằng các lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 và
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 và kết thúc trước khi Shard đích đi vào giai đoạn
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
71 để áp dụng các thay đổi xảy ra trong quá trình di chuyển khối.

Cumulative, always-increasing count of chunk migrations that were aborted due to lock acquisition timeouts, where the member acted as the primary of the donor shard.

Chỉ có mặt khi chạy trên một mảnh vỡ.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
65 Tổng số lần mà lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 hoặc
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 đã bắt đầu trên Shard, trong đó nút này là thành viên, như một phần của quá trình di chuyển chunk. Số lượng ngày càng tăng này không xem xét liệu các cuộc di cư chunk có thành công hay không.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
68 Thời gian tích lũy, tính theo mili giây, được thực hiện bởi giai đoạn nhân bản của các di chuyển khối từ mảnh vỡ này, trong đó nút này là một thành viên. Cụ thể, đối với mỗi lần di chuyển từ mảnh vỡ này, thời gian được theo dõi bắt đầu bằng các lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 và
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 và kết thúc trước khi Shard đích đi vào giai đoạn
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
71 để áp dụng các thay đổi xảy ra trong quá trình di chuyển khối.

The number of unfinished migrations left by the previous primary after an election. This value is only updated after the newly-elected

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 completes the transition to primary.

Chỉ có mặt khi chạy trên một mảnh vỡ.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
65 Tổng số lần mà lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 hoặc
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 đã bắt đầu trên Shard, trong đó nút này là thành viên, như một phần của quá trình di chuyển chunk. Số lượng ngày càng tăng này không xem xét liệu các cuộc di cư chunk có thành công hay không.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
68 Thời gian tích lũy, tính theo mili giây, được thực hiện bởi giai đoạn nhân bản của các di chuyển khối từ mảnh vỡ này, trong đó nút này là một thành viên. Cụ thể, đối với mỗi lần di chuyển từ mảnh vỡ này, thời gian được theo dõi bắt đầu bằng các lệnh
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
67 và
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
66 và kết thúc trước khi Shard đích đi vào giai đoạn
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
71 để áp dụng các thay đổi xảy ra trong quá trình di chuyển khối.

A document with statistics about the cluster's routing information cache.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
72 Thời gian tích lũy, tính theo mili giây, được thực hiện bởi giai đoạn siêu dữ liệu cập nhật của các di chuyển khối từ mảnh vỡ này, trong đó nút này là một thành viên. Trong giai đoạn siêu dữ liệu cập nhật, tất cả các hoạt động trên bộ sưu tập đều bị chặn.

The total number of database entries that are currently in the catalog cache.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
73 Thời gian tích lũy, tính theo mili giây, được thực hiện bởi giai đoạn bắt kịp và giai đoạn siêu dữ liệu cập nhật của các di chuyển khối từ mảnh vỡ này, trong đó nút này là một thành viên.

The total number of collection entries (across all databases) that are currently in the catalog cache.

Để tính thời lượng của giai đoạn bắt kịp, trừ
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
74 từ
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
75

The total number of times that threads hit stale config exception. A stale config exception triggers a refresh of the metadata.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
76Cumulative, luôn luôn tăng số lượng tài liệu đã được nhân bản trên thành viên này, nơi nó đóng vai trò là chính của Shard người nhận.

The cumulative time, in microseconds, that threads had to wait for a refresh of the metadata.

Mới trong phiên bản 4.2.

The number of incremental catalog cache refreshes that are currently waiting to complete.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
77Cumulative, luôn luôn tăng cường các tài liệu mà các tài liệu đã được nhân bản trên thành viên này, nơi nó đóng vai trò là chính của Shard nhà tài trợ.

The cumulative number of incremental refreshes that have started.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
90 Số lượng làm mới bộ đệm danh mục đầy đủ hiện đang chờ hoàn thành.

The number of full catalog cache refreshes that are currently waiting to complete.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
91 Số lượng làm mới đầy đủ đã bắt đầu.

The cumulative number of full refreshes that have started.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
92 Số lượng làm mới đầy đủ hoặc gia tăng đã thất bại.

The cumulative number of full or incremental refreshes that have failed.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
93 Tổng số các nhiệm vụ xóa phạm vi chunk hàng đợi đã sẵn sàng để chạy hoặc đang chạy như một phần của quy trình di chuyển chunk.

The current total of the queued chunk range deletion tasks that are ready to run or are running as part of the chunk migration process.

Kiểm tra các tài liệu trong bộ sưu tập

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
94 để biết thông tin về các phạm vi chunk đang chờ xóa từ một mảnh vỡ sau khi di chuyển chunk.

Chỉ có mặt khi chạy trên một thành viên Shard.

Mới trong phiên bản 4.4.

Tài liệu
"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
95A với số liệu thống kê về các hoạt động bị chặn bởi hoạt động làm mới bộ đệm danh mục trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

A document with statistics about operations blocked by catalog cache refresh activity on a

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

Chỉ có mặt khi chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

Mới trong phiên bản 4.2.7.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
98 Số lượng tích lũy của tất cả các hoạt động chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục. Bộ đếm này là tổng hợp của tất cả các số liệu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
000 khác được theo dõi dưới đây.

The cumulative number of all operations ran on a

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 that were blocked at any point in their lifetime by a refresh of the catalog cache. This counter is the aggregate sum of all other
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
000 metrics tracked below.

Chỉ có mặt khi chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

Mới trong phiên bản 4.2.7.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
98 Số lượng tích lũy của tất cả các hoạt động chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục. Bộ đếm này là tổng hợp của tất cả các số liệu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
000 khác được theo dõi dưới đây.

The cumulative number of insert operations ran on a

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 that were blocked at any point in their lifetime by a refresh of the catalog cache.

Chỉ có mặt khi chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

Mới trong phiên bản 4.2.7.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
98 Số lượng tích lũy của tất cả các hoạt động chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục. Bộ đếm này là tổng hợp của tất cả các số liệu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
000 khác được theo dõi dưới đây.

The cumulative number of query operations ran on a

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 that were blocked at any point in their lifetime by a refresh of the catalog cache.

Chỉ có mặt khi chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

Mới trong phiên bản 4.2.7.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
98 Số lượng tích lũy của tất cả các hoạt động chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục. Bộ đếm này là tổng hợp của tất cả các số liệu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
000 khác được theo dõi dưới đây.

The cumulative number of update operations ran on a

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 that were blocked at any point in their lifetime by a refresh of the catalog cache.

Chỉ có mặt khi chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

Mới trong phiên bản 4.2.7.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
011

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
98 Số lượng tích lũy của tất cả các hoạt động chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục. Bộ đếm này là tổng hợp của tất cả các số liệu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
000 khác được theo dõi dưới đây.

Chỉ có mặt khi chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

Mới trong phiên bản 4.2.7.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
98 Số lượng tích lũy của tất cả các hoạt động chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục. Bộ đếm này là tổng hợp của tất cả các số liệu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
000 khác được theo dõi dưới đây.

The cumulative number of command operations ran on a

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 that were blocked at any point in their lifetime by a refresh of the catalog cache.

Chỉ có mặt khi chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9

Mới trong phiên bản 4.2.7.

"bucketCatalog" : {
"numBuckets" : <num>,
"numOpenBuckets" : <num>,
"numIdleBuckets" : <num>,
"memoryUsage" : <num>
}
98 Số lượng tích lũy của tất cả các hoạt động chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục. Bộ đếm này là tổng hợp của tất cả các số liệu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
000 khác được theo dõi dưới đây.

A document with statistics about resharding operations.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
002 Số hoạt động chèn tích lũy được chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
005 Số lượng hoạt động truy vấn tích lũy đã chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
008 Số lượng hoạt động cập nhật tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Số lượng hoạt động xóa tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ thời điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

The sum of

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
019,
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
020
, and
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
021
. The sum is further incremented by
{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
9 if a resharding operation has started but has not yet completed. Sum is set to 0 when

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 is started or restarted.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
005 Số lượng hoạt động truy vấn tích lũy đã chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
008 Số lượng hoạt động cập nhật tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Số lượng hoạt động xóa tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ thời điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Number of successful resharding operations. Number is set to 0 when

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 is started or restarted.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
005 Số lượng hoạt động truy vấn tích lũy đã chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
008 Số lượng hoạt động cập nhật tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Số lượng hoạt động xóa tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ thời điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Number of failed resharding operations. Number is set to 0 when

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 is started or restarted.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
005 Số lượng hoạt động truy vấn tích lũy đã chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
008 Số lượng hoạt động cập nhật tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Số lượng hoạt động xóa tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ thời điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Number of canceled resharding operations. Number is set to 0 when

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 is started or restarted.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
005 Số lượng hoạt động truy vấn tích lũy đã chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
008 Số lượng hoạt động cập nhật tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Số lượng hoạt động xóa tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ thời điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Total elapsed time, in milliseconds, for the current resharding operation. Time is set to 0 when a new resharding operation starts.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
014 Số hoạt động lệnh tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
008 Số lượng hoạt động cập nhật tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Số lượng hoạt động xóa tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ thời điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Estimated remaining time, in milliseconds, for the current resharding operation. Time is set to 0 when a new resharding operation starts.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
014 Số hoạt động lệnh tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
008 Số lượng hoạt động cập nhật tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Số lượng hoạt động xóa tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ thời điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Approximate number of documents to copy from donor shards to recipient shards for the current resharding operation. Number is an estimate that is set when the resharding operation starts and the number is not updated as the operation progresses. Number is set to 0 when a new resharding operation starts.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
014 Số hoạt động lệnh tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
008 Số lượng hoạt động cập nhật tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Số lượng hoạt động xóa tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ thời điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Number of documents copied from donor shards to recipient shards for the current resharding operation. Number is set to 0 when a new resharding operation starts.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
014 Số hoạt động lệnh tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
008 Số lượng hoạt động cập nhật tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Số lượng hoạt động xóa tích lũy chạy trên

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 đã bị chặn tại bất kỳ thời điểm nào trong cuộc đời của họ bằng cách làm mới bộ đệm danh mục.

Approximate number of bytes to copy from donor shards to recipient shards for the current resharding operation. Number is an estimate that is set when the resharding operation starts and the number is not updated as the operation progresses. Number is set to 0 when a new resharding operation starts.

Chỉ có mặt khi chạy trên máy chủ Shard hoặc Config. Trả về 0 trên một máy chủ cấu hình.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
035Number của các byte được sao chép từ mảnh vỡ của nhà tài trợ đến mảnh vỡ người nhận cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

Number of bytes copied from donor shards to recipient shards for the current resharding operation. Number is set to 0 when a new resharding operation starts.

Chỉ có mặt khi chạy trên máy chủ Shard hoặc Config. Trả về 0 trên một máy chủ cấu hình.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
035Number của các byte được sao chép từ mảnh vỡ của nhà tài trợ đến mảnh vỡ người nhận cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

Total elapsed time, in milliseconds, for ongoing data copy tasks from donor shards to recipient shards for the current resharding operation. Time is set to 0 when a new resharding operation starts.

Chỉ có mặt khi chạy trên máy chủ Shard hoặc Config. Trả về 0 trên một máy chủ cấu hình.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
035Number của các byte được sao chép từ mảnh vỡ của nhà tài trợ đến mảnh vỡ người nhận cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

Number of entries fetched from the oplog for the current resharding operation. Number is set to 0 when a new resharding operation starts.

Chỉ có mặt khi chạy trên máy chủ Shard hoặc Config. Trả về 0 trên một máy chủ cấu hình.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
036Total đã trôi qua thời gian, trong mili giây, cho các tác vụ sao chép dữ liệu liên tục từ mảnh vỡ của nhà tài trợ đến mảnh vỡ của người nhận cho hoạt động sắp xếp lại hiện tại. Thời gian được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

Number of entries applied to the oplog for the current resharding operation. Number is set to 0 when a new resharding operation starts.

Chỉ có mặt khi chạy trên máy chủ Shard hoặc Config. Trả về 0 trên một máy chủ cấu hình.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
035Number của các byte được sao chép từ mảnh vỡ của nhà tài trợ đến mảnh vỡ người nhận cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

Total elapsed time, in milliseconds, for the apply step of the current resharding operation. In the apply step, recipient shards modify their data based on new incoming writes from donor shards. Time is set to 0 when a new resharding operation starts.

Chỉ có mặt khi chạy trên máy chủ Shard hoặc Config. Trả về 0 trên một máy chủ cấu hình.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
035Number của các byte được sao chép từ mảnh vỡ của nhà tài trợ đến mảnh vỡ người nhận cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

Number of writes perfomed in the critical section for the current resharding operation. The critical section prevents new incoming writes to the collection currently being resharded. Number is set to 0 when a new resharding operation starts.

Chỉ có mặt khi chạy trên máy chủ Shard hoặc Config. Trả về 0 trên một máy chủ cấu hình.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
035Number của các byte được sao chép từ mảnh vỡ của nhà tài trợ đến mảnh vỡ người nhận cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

Total elapsed time, in milliseconds, for the critical section of the current resharding operation. The critical section prevents new incoming writes to the collection currently being resharded. Time is set to 0 when a new resharding operation starts.

Chỉ có mặt khi chạy trên máy chủ Shard hoặc Config. Trả về 0 trên một máy chủ cấu hình.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
035Number của các byte được sao chép từ mảnh vỡ của nhà tài trợ đến mảnh vỡ người nhận cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

State of the donor shard for the current resharding operation. Number is set to 0 when a new resharding operation starts.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
036Total đã trôi qua thời gian, trong mili giây, cho các tác vụ sao chép dữ liệu liên tục từ mảnh vỡ của nhà tài trợ đến mảnh vỡ của người nhận cho hoạt động sắp xếp lại hiện tại. Thời gian được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
037Number của các mục được lấy từ oplog cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
038Number của các mục được áp dụng cho oplog cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

0

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
043

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
039Total đã trôi qua thời gian, trong mili giây, cho bước áp dụng của hoạt động sắp xếp lại hiện tại. Trong bước áp dụng, Shards người nhận sửa đổi dữ liệu của họ dựa trên các chữ viết mới đến từ các mảnh vỡ của nhà tài trợ. Thời gian được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

1

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
044

‘ Phần quan trọng ngăn chặn mới viết vào bộ sưu tập hiện đang được sắp xếp lại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

2

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
045

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
041Total đã trôi qua thời gian, trong mili giây, cho phần quan trọng của hoạt động sắp xếp lại hiện tại. Phần quan trọng ngăn chặn mới viết vào bộ sưu tập hiện đang được sắp xếp lại. Thời gian được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

3

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
046

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
042STATE của Shard nhà tài trợ cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

4

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
047

Số được trả về

5

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
048

Nghĩa

6

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
049

Sự mô tả

7

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
050

Shard không phải là một nhà tài trợ trong hoạt động sắp xếp lại hiện tại.

Chỉ có mặt khi chạy trên máy chủ Shard hoặc Config. Trả về 0 trên một máy chủ cấu hình.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
035Number của các byte được sao chép từ mảnh vỡ của nhà tài trợ đến mảnh vỡ người nhận cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

State of the recipient shard for the current resharding operation. Number is set to 0 when a new resharding operation starts.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
036Total đã trôi qua thời gian, trong mili giây, cho các tác vụ sao chép dữ liệu liên tục từ mảnh vỡ của nhà tài trợ đến mảnh vỡ của người nhận cho hoạt động sắp xếp lại hiện tại. Thời gian được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
037Number của các mục được lấy từ oplog cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
038Number của các mục được áp dụng cho oplog cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

0

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
043

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
039Total đã trôi qua thời gian, trong mili giây, cho bước áp dụng của hoạt động sắp xếp lại hiện tại. Trong bước áp dụng, Shards người nhận sửa đổi dữ liệu của họ dựa trên các chữ viết mới đến từ các mảnh vỡ của nhà tài trợ. Thời gian được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

1

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
053

‘ Phần quan trọng ngăn chặn mới viết vào bộ sưu tập hiện đang được sắp xếp lại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

2

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
054

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
041Total đã trôi qua thời gian, trong mili giây, cho phần quan trọng của hoạt động sắp xếp lại hiện tại. Phần quan trọng ngăn chặn mới viết vào bộ sưu tập hiện đang được sắp xếp lại. Thời gian được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

3

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
055

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
042STATE của Shard nhà tài trợ cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

4

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
056

Số được trả về

5

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
048

Nghĩa

6

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
058

Sự mô tả

7

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
050

Shard không phải là một nhà tài trợ trong hoạt động sắp xếp lại hiện tại.

Chỉ có mặt khi chạy trên máy chủ Shard hoặc Config. Trả về 0 trên một máy chủ cấu hình.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
035Number của các byte được sao chép từ mảnh vỡ của nhà tài trợ đến mảnh vỡ người nhận cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

Indicates the number of shards targeted for

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
061 operations and aggregation commands. When a
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
061 operation or aggregation command is run, the following metrics will be incremented.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
036Total đã trôi qua thời gian, trong mili giây, cho các tác vụ sao chép dữ liệu liên tục từ mảnh vỡ của nhà tài trợ đến mảnh vỡ của người nhận cho hoạt động sắp xếp lại hiện tại. Thời gian được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
038Number của các mục được áp dụng cho oplog cho hoạt động sắp xếp lại hiện tại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
063

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
039Total đã trôi qua thời gian, trong mili giây, cho bước áp dụng của hoạt động sắp xếp lại hiện tại. Trong bước áp dụng, Shards người nhận sửa đổi dữ liệu của họ dựa trên các chữ viết mới đến từ các mảnh vỡ của nhà tài trợ. Thời gian được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
064

‘ Phần quan trọng ngăn chặn mới viết vào bộ sưu tập hiện đang được sắp xếp lại. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
065

Một lệnh nhắm mục tiêu một mảnh vỡ

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
066

Một lệnh đã được chạy trên một bộ sưu tập không có vỏ

Ghi chú

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
067state của điều phối viên sắp xếp lại cho hoạt động sắp xếp lại hiện tại. Điều phối viên sắp xếp lại là một luồng chạy trên chính cấu hình máy chủ. Số được đặt thành 0 khi một hoạt động sắp xếp lại mới bắt đầu.

State of the resharding coordinator for the current resharding operation. The resharding coordinator is a thread that runs on the config server primary. Number is set to 0 when a new resharding operation starts.

Số được trả về

Nghĩa

Sự mô tả

0

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
043

Shard không phải là điều phối viên trong hoạt động sắp xếp lại hiện tại.

1

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
069

Điều phối viên sắp xếp lại đã chèn tài liệu điều phối viên vào

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
070 và đã thêm
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
071 vào mục
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
072 cho bộ sưu tập gốc.

2

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
044

Điều phối viên sắp xếp lại

  • đã tạo một mục

    db.runCommand({ serverStatus: 1}).metrics
    db.runCommand({ serverStatus: 1}).metrics.commands
    db.runCommand({ serverStatus: 1}).metrics.commands.update
    072 cho bộ sưu tập sắp xếp lại tạm thời.

  • đã chèn các mục vào

    db.runCommand({ serverStatus: 1}).metrics
    db.runCommand({ serverStatus: 1}).metrics.commands
    db.runCommand({ serverStatus: 1}).metrics.commands.update
    075 cho các phạm vi dựa trên khóa Shard mới.

  • đã chèn các mục vào

    db.runCommand({ serverStatus: 1}).metrics
    db.runCommand({ serverStatus: 1}).metrics.commands
    db.runCommand({ serverStatus: 1}).metrics.commands.update
    076 cho bất kỳ khu vực nào được liên kết với khóa Shard mới.

Điều phối viên thông báo cho các mảnh vỡ của người tham gia để bắt đầu hoạt động sắp xếp lại. Điều phối viên sau đó chờ đợi cho đến khi tất cả các mảnh vỡ của nhà tài trợ đã chọn

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
077 và sẵn sàng quyên góp.

3

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
055

Điều phối viên sắp xếp lại thông báo cho các mảnh vỡ của nhà tài trợ để quyên góp dữ liệu cho các mảnh vỡ của người nhận. Điều phối viên chờ tất cả người nhận hoàn thành nhân bản dữ liệu từ nhà tài trợ.

4

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
056

Điều phối viên sắp xếp lại thông báo cho các mảnh vỡ của người nhận để sửa đổi các bản sao dữ liệu của họ dựa trên các chữ viết mới đến từ các mảnh vỡ của nhà tài trợ. Điều phối viên chờ tất cả người nhận hoàn thành việc áp dụng các mục oplog.

5

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
049

Điều phối viên sắp xếp lại thông báo cho các mảnh vỡ của nhà tài trợ để ngăn chặn các hoạt động viết mới đến cho bộ sưu tập được sắp xếp lại. Điều phối viên sau đó chờ tất cả người nhận có tất cả các thay đổi dữ liệu.

6

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
081

Một lỗi không thể khám phá đã xảy ra trong quá trình hoạt động sắp xếp lại hoặc lệnh

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
082 (hoặc phương pháp
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
083) đã được chạy.

6

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
084

Điều phối viên sắp xếp lại loại bỏ mục

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
072 cho bộ sưu tập sắp xếp lại tạm thời. Điều phối viên sau đó thêm
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
086 vào mục nhập của bộ sưu tập nguồn.

Chỉ có mặt khi chạy trên máy chủ Shard hoặc Config.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
087Status cho hoạt động sắp xếp lại hiện tại.

Status for the current resharding operation.

Số được trả về

Sự mô tả

-1

Shard không phải là điều phối viên trong hoạt động sắp xếp lại hiện tại.

0

Điều phối viên sắp xếp lại đã chèn tài liệu điều phối viên vào

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
070 và đã thêm
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
071 vào mục
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
072 cho bộ sưu tập gốc.

1

Điều phối viên sắp xếp lại

2

đã tạo một mục

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
072 cho bộ sưu tập sắp xếp lại tạm thời.

Chỉ có mặt khi chạy trên máy chủ Shard hoặc Config.

Mới trong phiên bản 5.0.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
087Status cho hoạt động sắp xếp lại hiện tại.

This field contains the highest numeric difference for (

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
089) among all zones for the collection that was processed by the most recent resharding operation.

Tái cấu trúc hoạt động không trong tiến trình.

Hoạt động sắp xếp lại thành công.

Mới trong phiên bản 5.0.

db.runCommand( { serverStatus: 1, repl: 1 } )

6

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
087Status cho hoạt động sắp xếp lại hiện tại.

Available only on config server instances.

Tái cấu trúc hoạt động không trong tiến trình.

Hoạt động sắp xếp lại thành công.

Hoạt động sắp xếp lại không thành công.

Hoạt động sắp xếp lại bị hủy bỏ.

Available only on config server instances.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
088 Trường này chứa chênh lệch số cao nhất (
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
089) trong số tất cả các khu vực cho bộ sưu tập được xử lý bởi hoạt động sắp xếp lại gần đây nhất.

Xem kích thước chunk.

Hoạt động sắp xếp lại thành công.

Hoạt động sắp xếp lại không thành công.

db.runCommand( { serverStatus: 1, repl: 1 } )

7

Hoạt động sắp xếp lại bị hủy bỏ.

A document with data about the current storage engine.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
088 Trường này chứa chênh lệch số cao nhất (
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
089) trong số tất cả các khu vực cho bộ sưu tập được xử lý bởi hoạt động sắp xếp lại gần đây nhất.

The name of the current storage engine.

Xem kích thước chunk.

A boolean that indicates whether the storage engine supports

db.runCommand( { serverStatus: 1, mirroredReads: 1 } )

95read concern.

Chỉ cập nhật trên máy chủ cấu hình.

A boolean that indicates whether the storage engine does or does not persist data to disk.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
090Available chỉ trên các phiên bản máy chủ config.

Available on mongod in 3.6.3+ and on mongos in 4.2+.

Một tài liệu trả về kết quả kiểm tra tính nhất quán của chỉ số cho các bộ sưu tập bị che khuất.

Các số liệu được trả về chỉ có ý nghĩa khi chạy trên bản sao chính của bản sao máy chủ config cho cụm Sharded phiên bản 4.4+ (và 4.2.6+).

Mới trong phiên bản 4.4. (và 4.2.6)

Available on mongod only.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
091Available chỉ trên các phiên bản máy chủ config.

Ghi chú

MongoDB không thực hiện lại các bài viết cam kết.

Tổng số là trên tất cả các phiên.

Tổng số không bao gồm bất kỳ văn bản có thể thử lại nào có thể xảy ra trong nội bộ như là một phần của di chuyển chunk.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
102Available trên Mongod.

Available on mongod only.

Tổng số câu lệnh ghi được liên kết với các lệnh đã lấy lại trong

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
100
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
100

Ghi chú

MongoDB không thực hiện lại các bài viết cam kết.

Tổng số không bao gồm bất kỳ văn bản có thể thử lại nào có thể xảy ra trong nội bộ như là một phần của di chuyển chunk.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
102Available trên Mongod.

Available on mongod only.

Tổng số câu lệnh ghi được liên kết với các lệnh đã lấy lại trong

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
100

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
104Available trên Mongod.

Tổng số lần ghi vào bộ sưu tập

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

11, được kích hoạt khi một câu lệnh ghi mới có thể thử lại mới được thực hiện.

Để cập nhật và xóa các lệnh, vì chỉ có các hoạt động tài liệu duy nhất có thể thử lại, có một lần ghi cho mỗi câu lệnh.

Đối với các hoạt động chèn, có một lần ghi cho mỗi lô tài liệu được chèn, ngoại trừ khi lỗi dẫn đến mỗi tài liệu được chèn riêng.

Available on mongod in 4.0.2+ and mongos in 4.2.1+

Tổng số bao gồm ghi vào bộ sưu tập

db.runCommand( { serverStatus: 1, metrics: { query: { multiPlanner: { histograms: false } } } } )

11 của máy chủ xảy ra như một phần của việc di chuyển.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
107Avail có sẵn trên MongoD trong 4.0.2+ và Mongo trong 4.2.1+

Available on mongod in 4.0.2+ and mongos in 4.2.1+

Tổng số giao dịch mở hiện đang thực hiện một lệnh.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
108Available trên MongoD trong 4.0.2+ và Mongo trong 4.2.1+

Available on mongod in 4.0.2+ and mongos in 4.2.1+

Tổng số giao dịch mở hiện không thực thi lệnh.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
109Available trên MongoD trong 4.0.2+ và Mongo trong 4.2.1+

Available on mongod in 4.0.2+ and mongos in 4.2+.

Tổng số giao dịch mở. Một giao dịch được mở khi lệnh đầu tiên được chạy như một phần của giao dịch đó và vẫn mở cho đến khi giao dịch thực hiện hoặc hủy bỏ.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
110Available trên MongoD trong 4.0.2+ và Mongo trong 4.2+.

Đối với

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1, tổng số giao dịch bị hủy bỏ trong trường hợp này kể từ khi khởi động cuối cùng.

Available on mongod in 4.0.2+ and mongos in 4.2+.

Đối với

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9, tổng số giao dịch bị hủy bỏ thông qua trường hợp này kể từ khi khởi động cuối cùng.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
113Available trên MongoD trong 4.0.2+ và Mongo trong 4.2+.

Đối với

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1, tổng số giao dịch được thực hiện trong trường hợp kể từ khi khởi động cuối cùng.

Available on mongod in 4.0.2+ and mongos in 4.2+.

Đối với ____ 79, tổng số giao dịch được thực hiện thông qua trường hợp này kể từ khi khởi động cuối cùng.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
116Available trên MongoD trong 4.0.2+ và Mongo trong 4.2+.

Đối với

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1, tổng số giao dịch bắt đầu trên trường hợp này kể từ lần khởi động cuối cùng.

Available on mongos only.

Đối với

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9, tổng số giao dịch bắt đầu trên trường hợp này kể từ lần khởi động cuối cùng.
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
110
by cause. If a client issues an explicit
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
121, the cause is listed as
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
122.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
119Available trên Mongos.

db.runCommand( { serverStatus: 1, repl: 1 } )

8

Sự cố của

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
110 bởi nguyên nhân. Nếu một khách hàng phát hành một
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
121 rõ ràng, nguyên nhân được liệt kê là
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
122.

Ví dụ:

Available on mongos only.

Mới trong phiên bản 4.2.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
123Available trên Mongos.

Sự cố của

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
110 bởi nguyên nhân. Nếu một khách hàng phát hành một
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
121 rõ ràng, nguyên nhân được liệt kê là
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
122.

Ví dụ:

Available on mongos only.

Mới trong phiên bản 4.2.

Sự cố của

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
110 bởi nguyên nhân. Nếu một khách hàng phát hành một
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
121 rõ ràng, nguyên nhân được liệt kê là
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
122.

Ví dụ:

Available on mongos only.

Mới trong phiên bản 4.2.

Sự cố của

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
110 bởi nguyên nhân. Nếu một khách hàng phát hành một
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
121 rõ ràng, nguyên nhân được liệt kê là
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
122.

Ví dụ:

Available on mongos only.

Mới trong phiên bản 4.2.

db.runCommand( { serverStatus: 1, repl: 1 } )

9

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
123Available trên Mongos.

Tổng số mảnh vỡ được liên hệ cho tất cả các giao dịch bắt đầu thông qua

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 này kể từ khi khởi động cuối cùng.

Số lượng mảnh vỡ được liên hệ trong các quy trình giao dịch có thể bao gồm những mảnh vỡ có thể không được đưa vào như một phần của cam kết.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
130

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
125Available trên Mongos.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
131

Tổng số mảnh vỡ liên quan đến cam kết cho tất cả các giao dịch bắt đầu thông qua

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 này kể từ khi khởi động cuối cùng.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
132

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
127Avail có sẵn trên Mongos.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
133

Tổng số yêu cầu mạng được nhắm mục tiêu bởi

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 như là một phần của các giao dịch của nó.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
134

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
129Available trên Mongos.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
135

Sự cố của các cam kết theo loại. Ví dụ:

Các loại cam kết là:

Loại hình

Số lượng mảnh vỡ được liên hệ trong các quy trình giao dịch có thể bao gồm những mảnh vỡ có thể không được đưa vào như một phần của cam kết.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
136

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
125Available trên Mongos.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
137

Tổng số mảnh vỡ liên quan đến cam kết cho tất cả các giao dịch bắt đầu thông qua

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 này kể từ khi khởi động cuối cùng.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
138

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
127Avail có sẵn trên Mongos.

Sự cố của

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
110 bởi nguyên nhân. Nếu một khách hàng phát hành một
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
121 rõ ràng, nguyên nhân được liệt kê là
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
122.

Ví dụ:

Available on mongod only.

Mới trong phiên bản 4.2.

Sự cố của

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
110 bởi nguyên nhân. Nếu một khách hàng phát hành một
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
121 rõ ràng, nguyên nhân được liệt kê là
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
122.

Ví dụ:

Available on mongod only.

Mới trong phiên bản 4.2.

Sự cố của

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
110 bởi nguyên nhân. Nếu một khách hàng phát hành một
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
121 rõ ràng, nguyên nhân được liệt kê là
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
122.

Ví dụ:

Available on mongod only.

Tổng số giao dịch đã được chuẩn bị và hủy bỏ trên máy chủ này kể từ khi khởi động cuối cùng của quy trình

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1.

Mới trong phiên bản 4.2.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
145Available trên Mongod.

Available on mongod only.

Số lượng giao dịch hiện tại ở trạng thái đã chuẩn bị trên máy chủ này.

Mới trong phiên bản 4.2.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
145Available trên Mongod.

Available on mongod only.

Số lượng giao dịch hiện tại ở trạng thái đã chuẩn bị trên máy chủ này.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
146Available trên Mongod.
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
148
returns the details of the last transaction committed when that secondary was a primary.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
0

Các chi tiết của giao dịch cuối cùng được thực hiện khi

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 là chính.

Khi được trả lại từ một thứ cấp,

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
148 trả về các chi tiết của giao dịch cuối cùng được thực hiện khi thứ cấp đó là chính.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
149

Số liệu

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
150

Sự mô tả

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
151

Số lượng hoạt động ghi trong giao dịch.

Kích thước của mục nhập oplog tương ứng hoặc các mục cho giao dịch. [2]

Mối quan tâm viết được sử dụng cho giao dịch.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
1

Mới trong phiên bản 4.2.2: (cũng có sẵn trong 4.0.9)

New in version 4.0.2: (Also available in 3.6.7+ and 3.4.17+)

Mới trong phiên bản 4.0.2: (cũng có sẵn trong 3.6.7+ và 3.4.17+)

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
2

db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update152New trong phiên bản 4.0.2: (cũng có sẵn trong 3.6.7+ và 3.4.17+)

Số lượng kết nối TLS tích lũy đã được thực hiện theo ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 này. Giá trị được đặt lại khi khởi động lại.

A document reporting the status of the Storage Node Watchdog.

Ghi chú

The number of times the directories have been checked since startup. Directories are checked multiple times every

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
157.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
155A Tài liệu báo cáo trạng thái của Watchdog nút lưu trữ.

The number of times the status of all filesystems used by

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 has been examined. This is incremented once every
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
157.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
156 Số lần các thư mục đã được kiểm tra kể từ khi khởi động. Các thư mục được kiểm tra nhiều lần mỗi
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
157.

The value set by

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
162. This is the period between status checks.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
158 Số lần trạng thái của tất cả các hệ thống tập tin được sử dụng bởi

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 đã được kiểm tra. Điều này được tăng lên mỗi lần
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
157.

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
3

db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update152New trong phiên bản 4.0.2: (cũng có sẵn trong 3.6.7+ và 3.4.17+)

Số lượng kết nối TLS tích lũy đã được thực hiện theo ví dụ

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 hoặc

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 này. Giá trị được đặt lại khi khởi động lại.

Ghi chú

A string. For internal use by MongoDB.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
155A Tài liệu báo cáo trạng thái của Watchdog nút lưu trữ.

A document that returns statistics related to the asynchronous operations API. This is unused by MongoDB.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
156 Số lần các thư mục đã được kiểm tra kể từ khi khởi động. Các thư mục được kiểm tra nhiều lần mỗi
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
157.

A document that returns statistics on the block manager operations.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
158 Số lần trạng thái của tất cả các hệ thống tập tin được sử dụng bởi

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

1 đã được kiểm tra. Điều này được tăng lên mỗi lần
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
157.

A document that returns statistics on the cache and page evictions from the cache.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
161 Giá trị được đặt bởi
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
162. Đây là khoảng thời gian giữa kiểm tra trạng thái.
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
167
statistics:

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
163 Thông tin chỉ xuất hiện nếu sử dụng công cụ lưu trữ Wiredtiger. Một số số liệu thống kê cuộn lên cho máy chủ.

Maximum cache size.

Sau đây không phải là một danh sách đầy đủ.

Size in byte of the data currently in cache. This value should not be greater than the

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
171 value.

Chuỗi
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
164A. Để sử dụng nội bộ bởi MongoDB.

Main statistics for page eviction.

Tài liệu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
165A trả về các số liệu thống kê liên quan đến API hoạt động không đồng bộ. Điều này không được sử dụng bởi MongoDB.

Size in bytes of the dirty data in the cache. This value should be less than the

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
174 value.

Tài liệu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
166A trả về số liệu thống kê về các hoạt động của Trình quản lý khối.

Number of pages read into the cache.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
175 with the
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
177
can provide an overview of the I/O activity.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
167A Tài liệu trả về số liệu thống kê trên bộ đệm và các vụ trục xuất trang từ bộ đệm.

Number of pages written from the cache.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
177 with the
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
175
can provide an overview of the I/O activity.

Sau đây mô tả một số thống kê chính

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
167:

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
169Maximum Kích thước bộ nhớ cache.

A document that returns statistics related to WiredTiger connections.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
170size trong byte của dữ liệu hiện đang có trong bộ đệm. Giá trị này không nên lớn hơn giá trị
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
171.

A document that returns statistics on WiredTiger cursor.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
172Main Thống kê để trục xuất trang.

A document that returns statistics on the data handles and sweeps.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
173Size trong byte của dữ liệu bẩn trong bộ đệm. Giá trị này nên nhỏ hơn giá trị
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
174.

A document that returns statistics on WiredTiger's write ahead log (i.e. the journal).

db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update175Number của các trang đọc vào bộ đệm. db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update175 với db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update177 có thể cung cấp một cái nhìn tổng quan về hoạt động I/O.

db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update177Number của các trang được viết từ bộ đệm. db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update177 với db.runCommand({ serverStatus: 1}).metricsdb.runCommand({ serverStatus: 1}).metrics.commandsdb.runCommand({ serverStatus: 1}).metrics.commands.update175 có thể cung cấp một cái nhìn tổng quan về hoạt động I/O.

Để điều chỉnh kích thước của bộ đệm nội bộ Wiredtiger, xem
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
181 và
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
182. Tránh tăng kích thước bộ đệm bên trong WiredTiger trên giá trị mặc định của nó.

A document that returns statistics on the reconciliation process.

Tài liệu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
183A trả về số liệu thống kê liên quan đến kết nối WiredTiger.

A document that returns the open cursor count and open session count for the session.

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
184A Tài liệu trả về số liệu thống kê trên con trỏ Wiredtiger.

A document that returns statistics on yields during page acquisitions.

Tài liệu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
185A trả về số liệu thống kê trên tay cầm và quét dữ liệu.

A document that returns statistics on transaction checkpoints and operations.

Tài liệu
db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
186A trả về số liệu thống kê về nhật ký viết trước của Wiredtiger (tức là tạp chí).

Amount of time, in milliseconds, to create the most recent checkpoint. An increase in this value under stead write load may indicate saturation on the I/O subsystem.

Mẹo

A document that returns information on the number of concurrent of read and write transactions allowed into the WiredTiger storage engine. These settings are MongoDB-specific.

Xem thêm:

{
"arrayFilters" : NumberLong(0),
"failed" : NumberLong(0),
"pipeline" : NumberLong(0),
"total" : NumberLong(1)
}
4

db.runCommand({ serverStatus: 1}).metrics
db.runCommand({ serverStatus: 1}).metrics.commands
db.runCommand({ serverStatus: 1}).metrics.commands.update
187A Tài liệu trả về số liệu thống kê về quy trình đối chiếu.

A boolean that indicates whether there are operations from a

db.runCommand( { serverStatus: 1, latchAnalysis: 1 } )

9 instance queued for retrying. Typically, this value is false. See also writeBacks.