File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,14 @@ Determine Status of {+data-lake-short+} Queries
14
14
15
15
You can determine the status of a running query using
16
16
:manual:`$currentOp </reference/operator/aggregation/currentOp/>`
17
- (aggregation). To run :manual:`$currentOp
18
- </reference/operator/aggregation/currentOp/index.html#pipe._S_currentOp>`, use
19
- the :manual:`db.aggregate
17
+ (aggregation). To run ``$currentOp``, use the :manual:`db.aggregate
20
18
</reference/method/db.aggregate/#db.aggregate>` helper.
19
+
20
+ .. note::
21
+
22
+ If you are an Admin user, you can view all queries using the
23
+ :pipeline:`$currentOp` ``allUsers`` option.
24
+
21
25
:manual:`$currentOp </reference/operator/aggregation/currentOp/>` must
22
26
be run against the ``admin`` database.
23
27
Original file line number Diff line number Diff line change @@ -20,10 +20,11 @@ You can terminate long-running queries using the :manual:`killOp
20
20
</reference/bson-types/#objectid>`.
21
21
- The ``comment`` parameter is not supported.
22
22
23
- Only the user who issued the query can terminate the query. To run
24
- this command, use :manual:`db.runCommand()
25
- </reference/method/db.runCommand>`. You must run :manual:`killOp
26
- </reference/command/killOp/>` against the ``admin`` database.
23
+ If you are an Admin user, you can kill any query on a {+dl+}. The user
24
+ who issued the query can also terminate the query. To run this command,
25
+ use :manual:`db.runCommand() </reference/method/db.runCommand>`. You
26
+ must run :manual:`killOp </reference/command/killOp/>` against the
27
+ ``admin`` database.
27
28
28
29
.. _adl-killop-syntax:
29
30
You can’t perform that action at this time.
0 commit comments