gpt4 book ai didi

mongodb - Mongodb 探查器输出 : what is the "command" operation?

转载 作者:可可西里 更新时间:2023-11-01 10:41:07 26 4
gpt4 key购买 nike

我们有一个 mongo 分析器生成操作类型为“命令”的文档,例如

command db.collection [time]

(这是 graylog mongo 插件的截断输出)

“命令”类型代表什么?对应什么样的mongo内部操作?


reference manual 中似乎没有任何具体内容除了:

system.profile.command

The command operation. If the command document exceeds 50 kilobytes, the value is a string summary of the object. If the string summary exceeds 50 kilobytes, the string summary is truncated, denoted with an ellipsis (...) at the end of the string.

我认为这是为了描述原始命令本身,而不是操作类型。

最佳答案

以下 MongoDB 操作在 profiler::中被视为命令

 count     
findAndModify
aggregate

`

关于mongodb - Mongodb 探查器输出 : what is the "command" operation?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42615792/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com