mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 07:30:02 +00:00
PMM-1905: fix "NToReturn value must be non-negative" issue.
This commit is contained in:
@@ -63,9 +63,9 @@ func TestExplain(t *testing.T) {
|
||||
versions := []string{
|
||||
"2.6.12",
|
||||
"3.0.15",
|
||||
"3.2.16",
|
||||
"3.4.7",
|
||||
"3.5.11",
|
||||
"3.2.19",
|
||||
"3.4.12",
|
||||
"3.6.2",
|
||||
}
|
||||
|
||||
samples := map[string]string{
|
||||
|
@@ -78,109 +78,12 @@ func TestFingerprints(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
dir := vars.RootPath + samples + "/doc/out/"
|
||||
dirExpect := vars.RootPath + samples + "/expect/fingerprints/"
|
||||
files, err := ioutil.ReadDir(dir)
|
||||
if err != nil {
|
||||
t.Fatalf("cannot list samples: %s", err)
|
||||
}
|
||||
|
||||
expects := map[string]string{
|
||||
"aggregate_2.6.12": "AGGREGATE coll a",
|
||||
"aggregate_3.0.15": "AGGREGATE coll a",
|
||||
"aggregate_3.2.16": "AGGREGATE coll a",
|
||||
"aggregate_3.4.7": "AGGREGATE coll a",
|
||||
"aggregate_3.5.11": "AGGREGATE coll a",
|
||||
"count_2.6.12": "COUNT coll",
|
||||
"count_3.0.15": "COUNT coll",
|
||||
"count_3.2.16": "COUNT coll",
|
||||
"count_3.4.7": "COUNT coll",
|
||||
"count_3.5.11": "COUNT coll",
|
||||
"count_with_query_2.6.12": "COUNT coll a",
|
||||
"count_with_query_3.0.15": "COUNT coll a",
|
||||
"count_with_query_3.2.16": "COUNT coll a",
|
||||
"count_with_query_3.4.7": "COUNT coll a",
|
||||
"count_with_query_3.5.11": "COUNT coll a",
|
||||
"delete_2.6.12": "REMOVE coll a,b",
|
||||
"delete_3.0.15": "REMOVE coll a,b",
|
||||
"delete_3.2.16": "REMOVE coll a,b",
|
||||
"delete_3.4.7": "REMOVE coll a,b",
|
||||
"delete_3.5.11": "REMOVE coll a,b",
|
||||
"delete_all_2.6.12": "REMOVE coll a,b",
|
||||
"delete_all_3.0.15": "REMOVE coll a,b",
|
||||
"delete_all_3.2.16": "REMOVE coll a,b",
|
||||
"delete_all_3.4.7": "REMOVE coll a,b",
|
||||
"delete_all_3.5.11": "REMOVE coll a,b",
|
||||
"distinct_2.6.12": "DISTINCT coll a,b",
|
||||
"distinct_3.0.15": "DISTINCT coll a,b",
|
||||
"distinct_3.2.16": "DISTINCT coll a,b",
|
||||
"distinct_3.4.7": "DISTINCT coll a,b",
|
||||
"distinct_3.5.11": "DISTINCT coll a,b",
|
||||
"explain_2.6.12": "EXPLAIN",
|
||||
"explain_3.0.15": "EXPLAIN",
|
||||
"explain_3.2.16": "EXPLAIN",
|
||||
"explain_3.4.7": "EXPLAIN",
|
||||
"explain_3.5.11": "EXPLAIN",
|
||||
"eval_2.6.12": "EVAL",
|
||||
"eval_3.0.15": "EVAL",
|
||||
"eval_3.2.16": "EVAL",
|
||||
"eval_3.4.7": "EVAL",
|
||||
"eval_3.5.11": "EVAL",
|
||||
"find_empty_2.6.12": "FIND coll",
|
||||
"find_empty_3.0.15": "FIND coll",
|
||||
"find_empty_3.2.16": "FIND coll",
|
||||
"find_empty_3.4.7": "FIND coll",
|
||||
"find_empty_3.5.11": "FIND coll",
|
||||
"find_2.6.12": "FIND coll k",
|
||||
"find_3.0.15": "FIND coll k",
|
||||
"find_3.2.16": "FIND coll k",
|
||||
"find_3.4.7": "FIND coll k",
|
||||
"find_3.5.11": "FIND coll k",
|
||||
"find_andrii_2.6.12": "FIND coll c,k,pad",
|
||||
"find_andrii_3.0.15": "FIND coll c,k,pad",
|
||||
"find_andrii_3.2.16": "FIND coll c,k,pad",
|
||||
"find_andrii_3.4.7": "FIND coll c,k,pad",
|
||||
"find_andrii_3.5.11": "FIND coll c,k,pad",
|
||||
"find_with_sort_2.6.12": "FIND coll b,c",
|
||||
"find_with_sort_3.0.15": "FIND coll b,c",
|
||||
"find_with_sort_3.2.16": "FIND coll b,c",
|
||||
"find_with_sort_3.4.7": "FIND coll b,c",
|
||||
"find_with_sort_3.5.11": "FIND coll b,c",
|
||||
"findandmodify_2.6.12": "FINDANDMODIFY coll a",
|
||||
"findandmodify_3.0.15": "FINDANDMODIFY coll a",
|
||||
"findandmodify_3.2.16": "FINDANDMODIFY coll a",
|
||||
"findandmodify_3.4.7": "FINDANDMODIFY coll a",
|
||||
"findandmodify_3.5.11": "FINDANDMODIFY coll a",
|
||||
"geonear_2.6.12": "GEONEAR coll",
|
||||
"geonear_3.0.15": "GEONEAR coll",
|
||||
"geonear_3.2.16": "GEONEAR coll",
|
||||
"geonear_3.4.7": "GEONEAR coll",
|
||||
"geonear_3.5.11": "GEONEAR coll",
|
||||
"getmore_2.6.12": "GETMORE coll",
|
||||
"getmore_3.0.15": "GETMORE coll",
|
||||
"getmore_3.2.16": "GETMORE coll",
|
||||
"getmore_3.4.7": "GETMORE coll",
|
||||
"getmore_3.5.11": "GETMORE coll",
|
||||
"group_2.6.12": "GROUP coll a,b",
|
||||
"group_3.0.15": "GROUP coll a,b",
|
||||
"group_3.2.16": "GROUP coll a,b",
|
||||
"group_3.4.7": "GROUP coll a,b",
|
||||
"group_3.5.11": "GROUP coll a,b",
|
||||
"insert_2.6.12": "INSERT coll",
|
||||
"insert_3.0.15": "INSERT coll",
|
||||
"insert_3.2.16": "INSERT coll",
|
||||
"insert_3.4.7": "INSERT coll",
|
||||
"insert_3.5.11": "INSERT coll",
|
||||
"mapreduce_2.6.12": "MAPREDUCE coll a",
|
||||
"mapreduce_3.0.15": "MAPREDUCE coll a",
|
||||
"mapreduce_3.2.16": "MAPREDUCE coll a",
|
||||
"mapreduce_3.4.7": "MAPREDUCE coll a",
|
||||
"mapreduce_3.5.11": "MAPREDUCE coll a",
|
||||
"update_2.6.12": "UPDATE coll a",
|
||||
"update_3.0.15": "UPDATE coll a",
|
||||
"update_3.2.16": "UPDATE coll a",
|
||||
"update_3.4.7": "UPDATE coll a",
|
||||
"update_3.5.11": "UPDATE coll a",
|
||||
}
|
||||
|
||||
for _, file := range files {
|
||||
t.Run(file.Name(), func(t *testing.T) {
|
||||
doc := proto.SystemProfile{}
|
||||
@@ -193,9 +96,21 @@ func TestFingerprints(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Errorf("cannot create fingerprint: %s", err)
|
||||
}
|
||||
expect := expects[file.Name()]
|
||||
if !reflect.DeepEqual(got.Fingerprint, expect) {
|
||||
t.Errorf("fp.Fingerprint(doc) = %s, want %s", got.Fingerprint, expect)
|
||||
fExpect := dirExpect + file.Name()
|
||||
if tutil.ShouldUpdateSamples() {
|
||||
err := tutil.WriteJson(fExpect, got)
|
||||
if err != nil {
|
||||
fmt.Printf("cannot update samples: %s", err.Error())
|
||||
}
|
||||
}
|
||||
var expect Fingerprint
|
||||
err = tutil.LoadJson(fExpect, &expect)
|
||||
if err != nil {
|
||||
t.Fatalf("cannot load expected data %s: %s", fExpect, err)
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(got, expect) {
|
||||
t.Errorf("fp.Fingerprint(doc) = %s, want %s", got, expect)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
@@ -118,6 +118,7 @@ func (self ExampleQuery) Db() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
// ExplainCmd returns bson.D ready to use in https://godoc.org/labix.org/v2/mgo#Database.Run
|
||||
func (self ExampleQuery) ExplainCmd() bson.D {
|
||||
cmd := self.Command
|
||||
|
||||
@@ -162,8 +163,16 @@ func (self ExampleQuery) ExplainCmd() bson.D {
|
||||
}
|
||||
} else {
|
||||
for i := range cmd {
|
||||
// drop $db param as it is not supported in MongoDB 3.0
|
||||
if cmd[i].Name == "$db" {
|
||||
switch cmd[i].Name {
|
||||
// PMM-1905: Drop "ntoreturn" if it's negative.
|
||||
case "ntoreturn":
|
||||
// If it's non-negative, then we are fine, continue to next param.
|
||||
if cmd[i].Value.(int64) >= 0 {
|
||||
continue
|
||||
}
|
||||
fallthrough
|
||||
// Drop $db as it is not supported in MongoDB 3.0.
|
||||
case "$db":
|
||||
if len(cmd)-1 == i {
|
||||
cmd = cmd[:i]
|
||||
} else {
|
||||
|
@@ -275,9 +275,9 @@ func TestAvailableMetrics(t *testing.T) {
|
||||
versions := []string{
|
||||
"2.6.12",
|
||||
"3.0.15",
|
||||
"3.2.16",
|
||||
"3.4.7",
|
||||
"3.5.11",
|
||||
"3.2.19",
|
||||
"3.4.12",
|
||||
"3.6.2",
|
||||
}
|
||||
|
||||
samples := []string{
|
||||
@@ -345,7 +345,6 @@ func TestAvailableMetrics(t *testing.T) {
|
||||
if !reflect.DeepEqual(got, expect) {
|
||||
t.Errorf("s.Queries() = %#v, want %#v", got, expect)
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
t.Run("cmd_metric", func(t *testing.T) {
|
||||
|
@@ -20,20 +20,20 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(222),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(15),
|
||||
"w" : NumberLong(6)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"responseLength" : 385,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:08.661Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -42,11 +42,11 @@
|
||||
}
|
||||
},
|
||||
"responseLength" : 385,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:18.509Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -38,11 +38,11 @@
|
||||
},
|
||||
"responseLength" : 388,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:31.293Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -40,9 +40,9 @@
|
||||
"nreturned" : 8,
|
||||
"responseLength" : 370,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { a: 1 }",
|
||||
"ts" : ISODate("2017-10-15T01:54:41.948Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -24,26 +24,26 @@
|
||||
"locks" : {
|
||||
"Global" : {
|
||||
"acquireCount" : {
|
||||
"r" : NumberLong(6)
|
||||
"r" : NumberLong(4)
|
||||
}
|
||||
},
|
||||
"Database" : {
|
||||
"acquireCount" : {
|
||||
"r" : NumberLong(3)
|
||||
"r" : NumberLong(2)
|
||||
}
|
||||
},
|
||||
"Collection" : {
|
||||
"acquireCount" : {
|
||||
"r" : NumberLong(3)
|
||||
"r" : NumberLong(2)
|
||||
}
|
||||
}
|
||||
},
|
||||
"nreturned" : 8,
|
||||
"responseLength" : 370,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 2,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { a: 1 }",
|
||||
"ts" : ISODate("2017-10-15T01:54:52.564Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -14,20 +14,20 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(33),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(3),
|
||||
"w" : NumberLong(5)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"responseLength" : 48,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:08.889Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -36,11 +36,11 @@
|
||||
}
|
||||
},
|
||||
"responseLength" : 44,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:18.673Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -32,11 +32,11 @@
|
||||
},
|
||||
"responseLength" : 47,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:31.529Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -32,7 +32,7 @@
|
||||
},
|
||||
"responseLength" : 29,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "COUNT",
|
||||
"execStats" : {
|
||||
"stage" : "COUNT",
|
||||
@@ -49,7 +49,7 @@
|
||||
"nCounted" : 10,
|
||||
"nSkipped" : 0
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:42.157Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -33,7 +33,7 @@
|
||||
},
|
||||
"responseLength" : 29,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "COUNT",
|
||||
"execStats" : {
|
||||
"stage" : "COUNT",
|
||||
@@ -50,7 +50,7 @@
|
||||
"nCounted" : 10,
|
||||
"nSkipped" : 0
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:52.844Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -16,20 +16,20 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(75),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(6),
|
||||
"w" : NumberLong(6)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"responseLength" : 48,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:09.039Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -38,11 +38,11 @@
|
||||
}
|
||||
},
|
||||
"responseLength" : 44,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:18.838Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -34,11 +34,11 @@
|
||||
},
|
||||
"responseLength" : 47,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:31.756Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -34,7 +34,7 @@
|
||||
},
|
||||
"responseLength" : 29,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "COLLSCAN",
|
||||
"execStats" : {
|
||||
"stage" : "COUNT",
|
||||
@@ -71,7 +71,7 @@
|
||||
"docsExamined" : 10
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:42.350Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -35,7 +35,7 @@
|
||||
},
|
||||
"responseLength" : 29,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "COLLSCAN",
|
||||
"execStats" : {
|
||||
"stage" : "COUNT",
|
||||
@@ -72,7 +72,7 @@
|
||||
"docsExamined" : 10
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:53.078Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -14,19 +14,19 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(0),
|
||||
"w" : NumberLong(144)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(0),
|
||||
"w" : NumberLong(11)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:09.246Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -36,11 +36,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:19.034Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -31,11 +31,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 1,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:32.020Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -32,7 +32,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { a: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "DELETE",
|
||||
@@ -105,7 +105,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:42.612Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -35,7 +35,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 1,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { a: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "DELETE",
|
||||
@@ -108,7 +108,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:53.333Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -14,19 +14,19 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(0),
|
||||
"w" : NumberLong(396)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(0),
|
||||
"w" : NumberLong(12)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:09.463Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -36,11 +36,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:19.206Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -31,11 +31,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 1,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:32.281Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -32,7 +32,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 1,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { a: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "DELETE",
|
||||
@@ -105,7 +105,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:42.820Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -35,12 +35,12 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 1,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { a: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "DELETE",
|
||||
"nReturned" : 0,
|
||||
"executionTimeMillisEstimate" : 10,
|
||||
"executionTimeMillisEstimate" : 0,
|
||||
"works" : 9,
|
||||
"advanced" : 0,
|
||||
"needTime" : 8,
|
||||
@@ -108,7 +108,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:53.615Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -14,20 +14,20 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(362),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(6),
|
||||
"w" : NumberLong(9341)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"responseLength" : 199,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:09.687Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -36,11 +36,11 @@
|
||||
}
|
||||
},
|
||||
"responseLength" : 206,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:19.380Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -32,11 +32,11 @@
|
||||
},
|
||||
"responseLength" : 209,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:32.523Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -32,7 +32,7 @@
|
||||
},
|
||||
"responseLength" : 90,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { b: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "FETCH",
|
||||
@@ -85,7 +85,7 @@
|
||||
"seenInvalidated" : 0
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:43.048Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -33,7 +33,7 @@
|
||||
},
|
||||
"responseLength" : 90,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { b: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "FETCH",
|
||||
@@ -86,7 +86,7 @@
|
||||
"seenInvalidated" : 0
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:53.874Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -8,22 +8,22 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"R" : NumberLong(0),
|
||||
"W" : NumberLong(42972)
|
||||
"R" : NumberLong(1234),
|
||||
"W" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"R" : NumberLong(0),
|
||||
"W" : NumberLong(8),
|
||||
"r" : NumberLong(0),
|
||||
"w" : NumberLong(6)
|
||||
"R" : NumberLong(9876),
|
||||
"W" : NumberLong(6789),
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"responseLength" : 53,
|
||||
"millis" : 43,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:09.890Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -31,11 +31,11 @@
|
||||
}
|
||||
},
|
||||
"responseLength" : 53,
|
||||
"millis" : 37,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:19.572Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -27,11 +27,11 @@
|
||||
},
|
||||
"responseLength" : 38,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 56,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:32.759Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -25,8 +25,8 @@
|
||||
},
|
||||
"responseLength" : 38,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 48,
|
||||
"ts" : ISODate("2017-10-15T01:54:43.273Z"),
|
||||
"millis" : 42,
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -26,8 +26,8 @@
|
||||
},
|
||||
"responseLength" : 38,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 40,
|
||||
"ts" : ISODate("2017-10-15T01:54:54.085Z"),
|
||||
"millis" : 42,
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -15,17 +15,17 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(101),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(6),
|
||||
"w" : NumberLong(11)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"nreturned" : 1,
|
||||
"responseLength" : 583,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
"type" : "COLLSCAN",
|
||||
"works" : 12,
|
||||
@@ -39,7 +39,7 @@
|
||||
"docsTested" : 10,
|
||||
"children" : [ ]
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:10.058Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -39,11 +39,11 @@
|
||||
}
|
||||
},
|
||||
"responseLength" : 379,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:19.722Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -32,11 +32,11 @@
|
||||
},
|
||||
"responseLength" : 364,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:32.931Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -28,10 +28,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"responseLength" : 328,
|
||||
"responseLength" : 329,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"ts" : ISODate("2017-10-15T01:54:43.427Z"),
|
||||
"millis" : 42,
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -29,10 +29,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"responseLength" : 329,
|
||||
"responseLength" : 328,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 0,
|
||||
"ts" : ISODate("2017-10-15T01:54:54.257Z"),
|
||||
"millis" : 42,
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -12,17 +12,17 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(213),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(38),
|
||||
"w" : NumberLong(3)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"nreturned" : 2,
|
||||
"responseLength" : 86,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
"type" : "FETCH",
|
||||
"works" : 3,
|
||||
@@ -60,7 +60,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:10.277Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -35,7 +35,7 @@
|
||||
},
|
||||
"nreturned" : 2,
|
||||
"responseLength" : 86,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
"stage" : "FETCH",
|
||||
"nReturned" : 2,
|
||||
@@ -80,7 +80,7 @@
|
||||
"matchTested" : 0
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:19.953Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -33,7 +33,7 @@
|
||||
"nreturned" : 2,
|
||||
"responseLength" : 172,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 1,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
"stage" : "FETCH",
|
||||
"nReturned" : 2,
|
||||
@@ -81,7 +81,7 @@
|
||||
"seenInvalidated" : 0
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:33.179Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -31,7 +31,7 @@
|
||||
"nreturned" : 2,
|
||||
"responseLength" : 154,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { k: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "FETCH",
|
||||
@@ -84,7 +84,7 @@
|
||||
"seenInvalidated" : 0
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:43.713Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -32,7 +32,7 @@
|
||||
"nreturned" : 2,
|
||||
"responseLength" : 154,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { k: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "FETCH",
|
||||
@@ -85,7 +85,7 @@
|
||||
"seenInvalidated" : 0
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:54.507Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -52,21 +52,21 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(298),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(5),
|
||||
"w" : NumberLong(50)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 20,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:10.474Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -75,7 +75,7 @@
|
||||
},
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 20,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
"stage" : "EOF",
|
||||
"nReturned" : 0,
|
||||
@@ -89,7 +89,7 @@
|
||||
"isEOF" : 1,
|
||||
"invalidates" : 0
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:20.111Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -73,7 +73,7 @@
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 100,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
"stage" : "EOF",
|
||||
"nReturned" : 0,
|
||||
@@ -87,7 +87,7 @@
|
||||
"isEOF" : 1,
|
||||
"invalidates" : 0
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:33.358Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -71,7 +71,7 @@
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 82,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "EOF",
|
||||
"execStats" : {
|
||||
"stage" : "EOF",
|
||||
@@ -86,7 +86,7 @@
|
||||
"isEOF" : 1,
|
||||
"invalidates" : 0
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:43.922Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -72,7 +72,7 @@
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 82,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "EOF",
|
||||
"execStats" : {
|
||||
"stage" : "EOF",
|
||||
@@ -87,7 +87,7 @@
|
||||
"isEOF" : 1,
|
||||
"invalidates" : 0
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:54.693Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -12,21 +12,21 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(189),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(14),
|
||||
"w" : NumberLong(9)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 20,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:10.630Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -35,7 +35,7 @@
|
||||
},
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 20,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
"stage" : "EOF",
|
||||
"nReturned" : 0,
|
||||
@@ -49,7 +49,7 @@
|
||||
"isEOF" : 1,
|
||||
"invalidates" : 0
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:20.246Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -33,7 +33,7 @@
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 100,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
"stage" : "EOF",
|
||||
"nReturned" : 0,
|
||||
@@ -47,7 +47,7 @@
|
||||
"isEOF" : 1,
|
||||
"invalidates" : 0
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:33.530Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -31,7 +31,7 @@
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 82,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "EOF",
|
||||
"execStats" : {
|
||||
"stage" : "EOF",
|
||||
@@ -46,7 +46,7 @@
|
||||
"isEOF" : 1,
|
||||
"invalidates" : 0
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:44.129Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -32,7 +32,7 @@
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 82,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "EOF",
|
||||
"execStats" : {
|
||||
"stage" : "EOF",
|
||||
@@ -47,7 +47,7 @@
|
||||
"isEOF" : 1,
|
||||
"invalidates" : 0
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:54.870Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -18,17 +18,17 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(508),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(19),
|
||||
"w" : NumberLong(38)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"nreturned" : 2,
|
||||
"responseLength" : 108,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
"type" : "SORT",
|
||||
"works" : 7,
|
||||
@@ -95,7 +95,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:10.817Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -41,7 +41,7 @@
|
||||
},
|
||||
"nreturned" : 2,
|
||||
"responseLength" : 108,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
"stage" : "SORT",
|
||||
"nReturned" : 2,
|
||||
@@ -117,7 +117,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:20.410Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -37,7 +37,7 @@
|
||||
"nreturned" : 2,
|
||||
"responseLength" : 194,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
"stage" : "SORT",
|
||||
"nReturned" : 2,
|
||||
@@ -116,7 +116,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:33.762Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -35,7 +35,7 @@
|
||||
"nreturned" : 2,
|
||||
"responseLength" : 176,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { c: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "SORT",
|
||||
@@ -119,7 +119,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:44.423Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -36,7 +36,7 @@
|
||||
"nreturned" : 2,
|
||||
"responseLength" : 176,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { c: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "SORT",
|
||||
@@ -120,7 +120,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:55.111Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -25,20 +25,20 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(0),
|
||||
"w" : NumberLong(465)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(0),
|
||||
"w" : NumberLong(18)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"responseLength" : 131,
|
||||
"millis" : 6,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:11.011Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -48,11 +48,11 @@
|
||||
}
|
||||
},
|
||||
"responseLength" : 131,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:20.581Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -44,11 +44,11 @@
|
||||
},
|
||||
"responseLength" : 116,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 1,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:34.011Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -44,7 +44,7 @@
|
||||
},
|
||||
"responseLength" : 116,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 1,
|
||||
"millis" : 42,
|
||||
"planSummary" : "COLLSCAN",
|
||||
"execStats" : {
|
||||
"stage" : "UPDATE",
|
||||
@@ -84,7 +84,7 @@
|
||||
"docsExamined" : 3
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:44.656Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -40,7 +40,7 @@
|
||||
},
|
||||
"responseLength" : 116,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 1,
|
||||
"millis" : 42,
|
||||
"planSummary" : "COLLSCAN",
|
||||
"execStats" : {
|
||||
"stage" : "UPDATE",
|
||||
@@ -80,7 +80,7 @@
|
||||
"docsExamined" : 3
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:55.391Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -16,20 +16,20 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(1945),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(10),
|
||||
"w" : NumberLong(10)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"responseLength" : 1406,
|
||||
"millis" : 1,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:11.181Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -38,11 +38,11 @@
|
||||
}
|
||||
},
|
||||
"responseLength" : 1398,
|
||||
"millis" : 2,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:20.751Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -34,11 +34,11 @@
|
||||
},
|
||||
"responseLength" : 1401,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 10,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:34.270Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -34,7 +34,7 @@
|
||||
},
|
||||
"responseLength" : 1383,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 13,
|
||||
"millis" : 42,
|
||||
"planSummary" : "GEO_NEAR_2DSPHERE { loc: \"2dsphere\" }",
|
||||
"execStats" : {
|
||||
"stage" : "LIMIT",
|
||||
@@ -2088,7 +2088,7 @@
|
||||
{
|
||||
"stage" : "FETCH",
|
||||
"nReturned" : 0,
|
||||
"executionTimeMillisEstimate" : 0,
|
||||
"executionTimeMillisEstimate" : 10,
|
||||
"works" : 5,
|
||||
"advanced" : 0,
|
||||
"needTime" : 4,
|
||||
@@ -2102,7 +2102,7 @@
|
||||
"inputStage" : {
|
||||
"stage" : "IXSCAN",
|
||||
"nReturned" : 0,
|
||||
"executionTimeMillisEstimate" : 0,
|
||||
"executionTimeMillisEstimate" : 10,
|
||||
"works" : 5,
|
||||
"advanced" : 0,
|
||||
"needTime" : 4,
|
||||
@@ -3557,7 +3557,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:44.873Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -35,12 +35,12 @@
|
||||
},
|
||||
"responseLength" : 1383,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 11,
|
||||
"millis" : 42,
|
||||
"planSummary" : "GEO_NEAR_2DSPHERE { loc: \"2dsphere\" }",
|
||||
"execStats" : {
|
||||
"stage" : "LIMIT",
|
||||
"nReturned" : 10,
|
||||
"executionTimeMillisEstimate" : 10,
|
||||
"executionTimeMillisEstimate" : 0,
|
||||
"works" : 139,
|
||||
"advanced" : 10,
|
||||
"needTime" : 128,
|
||||
@@ -53,7 +53,7 @@
|
||||
"inputStage" : {
|
||||
"stage" : "PROJECTION",
|
||||
"nReturned" : 10,
|
||||
"executionTimeMillisEstimate" : 10,
|
||||
"executionTimeMillisEstimate" : 0,
|
||||
"works" : 139,
|
||||
"advanced" : 10,
|
||||
"needTime" : 128,
|
||||
@@ -3558,7 +3558,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:55.701Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -6,27 +6,27 @@
|
||||
"$gt" : 0
|
||||
}
|
||||
},
|
||||
"cursorid" : 73529665157,
|
||||
"cursorid" : 74634673672,
|
||||
"ntoreturn" : 2,
|
||||
"keyUpdates" : 0,
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(29),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(5),
|
||||
"w" : NumberLong(4)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"nreturned" : 2,
|
||||
"responseLength" : 86,
|
||||
"millis" : 0,
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 20,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:11.360Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -6,7 +6,7 @@
|
||||
"$gt" : 0
|
||||
}
|
||||
},
|
||||
"cursorid" : 77879406118,
|
||||
"cursorid" : 77823806376,
|
||||
"ntoreturn" : 2,
|
||||
"keyUpdates" : 0,
|
||||
"writeConflicts" : 0,
|
||||
@@ -35,11 +35,11 @@
|
||||
},
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 20,
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:20.995Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -2,11 +2,11 @@
|
||||
"op" : "getmore",
|
||||
"ns" : "test.coll",
|
||||
"query" : {
|
||||
"getMore" : NumberLong("62137702161"),
|
||||
"getMore" : NumberLong("62858772934"),
|
||||
"collection" : "coll",
|
||||
"batchSize" : 2
|
||||
},
|
||||
"cursorid" : 62137702161,
|
||||
"cursorid" : 62858772934,
|
||||
"keysExamined" : 0,
|
||||
"docsExamined" : 0,
|
||||
"cursorExhausted" : true,
|
||||
@@ -33,11 +33,11 @@
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 81,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:34.569Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -2,7 +2,7 @@
|
||||
"op" : "getmore",
|
||||
"ns" : "test.coll",
|
||||
"query" : {
|
||||
"getMore" : NumberLong("66029137874"),
|
||||
"getMore" : NumberLong("67665905999"),
|
||||
"collection" : "coll",
|
||||
"batchSize" : 2
|
||||
},
|
||||
@@ -18,9 +18,10 @@
|
||||
"a" : 1
|
||||
}
|
||||
},
|
||||
"cursorid" : 66029137874,
|
||||
"keysExamined" : 2,
|
||||
"docsExamined" : 2,
|
||||
"cursorid" : 67665905999,
|
||||
"keysExamined" : 0,
|
||||
"docsExamined" : 0,
|
||||
"cursorExhausted" : true,
|
||||
"numYield" : 0,
|
||||
"locks" : {
|
||||
"Global" : {
|
||||
@@ -39,22 +40,22 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"nreturned" : 2,
|
||||
"responseLength" : 153,
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 81,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { a: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "FETCH",
|
||||
"nReturned" : 8,
|
||||
"executionTimeMillisEstimate" : 0,
|
||||
"works" : 8,
|
||||
"works" : 9,
|
||||
"advanced" : 8,
|
||||
"needTime" : 0,
|
||||
"needYield" : 0,
|
||||
"saveState" : 3,
|
||||
"restoreState" : 3,
|
||||
"isEOF" : 0,
|
||||
"saveState" : 4,
|
||||
"restoreState" : 4,
|
||||
"isEOF" : 1,
|
||||
"invalidates" : 0,
|
||||
"docsExamined" : 8,
|
||||
"alreadyHasObj" : 0,
|
||||
@@ -62,13 +63,13 @@
|
||||
"stage" : "IXSCAN",
|
||||
"nReturned" : 8,
|
||||
"executionTimeMillisEstimate" : 0,
|
||||
"works" : 8,
|
||||
"works" : 9,
|
||||
"advanced" : 8,
|
||||
"needTime" : 0,
|
||||
"needYield" : 0,
|
||||
"saveState" : 3,
|
||||
"restoreState" : 3,
|
||||
"isEOF" : 0,
|
||||
"saveState" : 4,
|
||||
"restoreState" : 4,
|
||||
"isEOF" : 1,
|
||||
"invalidates" : 0,
|
||||
"keyPattern" : {
|
||||
"a" : 1
|
||||
@@ -95,7 +96,7 @@
|
||||
"seenInvalidated" : 0
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:45.251Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -2,7 +2,7 @@
|
||||
"op" : "getmore",
|
||||
"ns" : "test.coll",
|
||||
"command" : {
|
||||
"getMore" : NumberLong("62495713089"),
|
||||
"getMore" : NumberLong("62414596685"),
|
||||
"collection" : "coll",
|
||||
"batchSize" : 2,
|
||||
"$db" : "test"
|
||||
@@ -20,7 +20,7 @@
|
||||
},
|
||||
"$db" : "test"
|
||||
},
|
||||
"cursorid" : 62495713089,
|
||||
"cursorid" : 62414596685,
|
||||
"keysExamined" : 0,
|
||||
"docsExamined" : 0,
|
||||
"cursorExhausted" : true,
|
||||
@@ -45,7 +45,7 @@
|
||||
"nreturned" : 0,
|
||||
"responseLength" : 81,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { a: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "FETCH",
|
||||
@@ -98,7 +98,7 @@
|
||||
"seenInvalidated" : 0
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:56.186Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -21,20 +21,20 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(36629),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(6),
|
||||
"w" : NumberLong(6)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"responseLength" : 135,
|
||||
"millis" : 36,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:11.599Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -43,11 +43,11 @@
|
||||
}
|
||||
},
|
||||
"responseLength" : 139,
|
||||
"millis" : 26,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:21.188Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -39,11 +39,11 @@
|
||||
},
|
||||
"responseLength" : 142,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 31,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:34.867Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -41,12 +41,12 @@
|
||||
},
|
||||
"responseLength" : 124,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 31,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { b: -1 }",
|
||||
"execStats" : {
|
||||
"stage" : "GROUP",
|
||||
"nReturned" : 1,
|
||||
"executionTimeMillisEstimate" : 31,
|
||||
"executionTimeMillisEstimate" : 33,
|
||||
"works" : 4,
|
||||
"advanced" : 1,
|
||||
"needTime" : 3,
|
||||
@@ -108,7 +108,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:45.500Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -42,12 +42,12 @@
|
||||
},
|
||||
"responseLength" : 124,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 24,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { b: -1 }",
|
||||
"execStats" : {
|
||||
"stage" : "GROUP",
|
||||
"nReturned" : 1,
|
||||
"executionTimeMillisEstimate" : 25,
|
||||
"executionTimeMillisEstimate" : 41,
|
||||
"works" : 4,
|
||||
"advanced" : 1,
|
||||
"needTime" : 3,
|
||||
@@ -109,7 +109,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:56.478Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -9,19 +9,19 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(0),
|
||||
"w" : NumberLong(362)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(0),
|
||||
"w" : NumberLong(11)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:11.737Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -37,11 +37,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 4,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:21.346Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -36,11 +36,11 @@
|
||||
},
|
||||
"responseLength" : 25,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 11,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:35.088Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -34,8 +34,8 @@
|
||||
},
|
||||
"responseLength" : 29,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 11,
|
||||
"ts" : ISODate("2017-10-15T01:54:45.681Z"),
|
||||
"millis" : 42,
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -30,8 +30,8 @@
|
||||
},
|
||||
"responseLength" : 29,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 11,
|
||||
"ts" : ISODate("2017-10-15T01:54:56.693Z"),
|
||||
"millis" : 42,
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -22,20 +22,20 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(650),
|
||||
"w" : NumberLong(0)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(17),
|
||||
"w" : NumberLong(15)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"responseLength" : 233,
|
||||
"millis" : 29,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:11.959Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -49,11 +49,11 @@
|
||||
}
|
||||
},
|
||||
"responseLength" : 233,
|
||||
"millis" : 21,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:21.559Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -49,11 +49,11 @@
|
||||
},
|
||||
"responseLength" : 218,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 41,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:35.348Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -20,11 +20,11 @@
|
||||
},
|
||||
"keysExamined" : 3,
|
||||
"docsExamined" : 3,
|
||||
"numYield" : 1,
|
||||
"numYield" : 0,
|
||||
"locks" : {
|
||||
"Global" : {
|
||||
"acquireCount" : {
|
||||
"r" : NumberLong(13),
|
||||
"r" : NumberLong(11),
|
||||
"w" : NumberLong(1)
|
||||
}
|
||||
},
|
||||
@@ -32,7 +32,7 @@
|
||||
"acquireCount" : {
|
||||
"r" : NumberLong(3),
|
||||
"w" : NumberLong(1),
|
||||
"R" : NumberLong(3)
|
||||
"R" : NumberLong(2)
|
||||
}
|
||||
},
|
||||
"Collection" : {
|
||||
@@ -49,18 +49,18 @@
|
||||
},
|
||||
"responseLength" : 218,
|
||||
"protocol" : "op_command",
|
||||
"millis" : 21,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { a: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "FETCH",
|
||||
"nReturned" : 3,
|
||||
"executionTimeMillisEstimate" : 11,
|
||||
"executionTimeMillisEstimate" : 0,
|
||||
"works" : 4,
|
||||
"advanced" : 3,
|
||||
"needTime" : 0,
|
||||
"needYield" : 0,
|
||||
"saveState" : 1,
|
||||
"restoreState" : 1,
|
||||
"saveState" : 0,
|
||||
"restoreState" : 0,
|
||||
"isEOF" : 1,
|
||||
"invalidates" : 0,
|
||||
"docsExamined" : 3,
|
||||
@@ -68,13 +68,13 @@
|
||||
"inputStage" : {
|
||||
"stage" : "IXSCAN",
|
||||
"nReturned" : 3,
|
||||
"executionTimeMillisEstimate" : 11,
|
||||
"executionTimeMillisEstimate" : 0,
|
||||
"works" : 4,
|
||||
"advanced" : 3,
|
||||
"needTime" : 0,
|
||||
"needYield" : 0,
|
||||
"saveState" : 1,
|
||||
"restoreState" : 1,
|
||||
"saveState" : 0,
|
||||
"restoreState" : 0,
|
||||
"isEOF" : 1,
|
||||
"invalidates" : 0,
|
||||
"keyPattern" : {
|
||||
@@ -102,7 +102,7 @@
|
||||
"seenInvalidated" : 0
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:45.925Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -50,7 +50,7 @@
|
||||
},
|
||||
"responseLength" : 218,
|
||||
"protocol" : "op_msg",
|
||||
"millis" : 26,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { a: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "FETCH",
|
||||
@@ -103,7 +103,7 @@
|
||||
"seenInvalidated" : 0
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:56.951Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -22,19 +22,19 @@
|
||||
"numYield" : 0,
|
||||
"lockStats" : {
|
||||
"timeLockedMicros" : {
|
||||
"r" : NumberLong(0),
|
||||
"w" : NumberLong(241)
|
||||
"r" : NumberLong(1234),
|
||||
"w" : NumberLong(4321)
|
||||
},
|
||||
"timeAcquiringMicros" : {
|
||||
"r" : NumberLong(0),
|
||||
"w" : NumberLong(16)
|
||||
"r" : NumberLong(9876),
|
||||
"w" : NumberLong(6789)
|
||||
}
|
||||
},
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:12.161Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -44,11 +44,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:21.803Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
||||
|
@@ -39,11 +39,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 2,
|
||||
"millis" : 42,
|
||||
"execStats" : {
|
||||
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:35.583Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"allUsers" : [ ],
|
||||
"user" : ""
|
@@ -39,7 +39,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { a: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "UPDATE",
|
||||
@@ -110,7 +110,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:46.168Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -43,7 +43,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"millis" : 0,
|
||||
"millis" : 42,
|
||||
"planSummary" : "IXSCAN { a: 1 }",
|
||||
"execStats" : {
|
||||
"stage" : "UPDATE",
|
||||
@@ -114,7 +114,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ts" : ISODate("2017-10-15T01:54:57.231Z"),
|
||||
"ts" : ISODate("2020-01-01T00:00:00Z"),
|
||||
"client" : "127.0.0.1",
|
||||
"appName" : "MongoDB Shell",
|
||||
"allUsers" : [ ],
|
@@ -3,20 +3,23 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
## declare an array of images
|
||||
## Declare an array of images.
|
||||
declare -a images=(
|
||||
"mongo:2.6"
|
||||
"mongo:3.0"
|
||||
"mongo:3.2"
|
||||
"mongo:3.4"
|
||||
"mongo:3.5"
|
||||
"mongo:2.6.12"
|
||||
"mongo:3.0.15"
|
||||
"mongo:3.2.19"
|
||||
"mongo:3.4.12"
|
||||
"mongo:3.6.2"
|
||||
)
|
||||
|
||||
## now loop through the above array of images
|
||||
## Run docker-compose from the location of the script.
|
||||
cd $(dirname $0)
|
||||
|
||||
## Now loop through the above array of images.
|
||||
for image in "${images[@]}"
|
||||
do
|
||||
export MONGO_IMAGE=$image
|
||||
# clean up old instance if it got left running e.g. after ctrl+c
|
||||
export MONGO_IMAGE=${image}
|
||||
# Clean up old instance if it got left running e.g. after ctrl+c.
|
||||
docker-compose down -v
|
||||
docker-compose up -d
|
||||
docker-compose exec mongo sh /script/main.sh
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user