Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
6.5.0
-
Untriaged
-
Unknown
Description
I noticed that "N1QL request rate" graph in UI shows incorrect data when I was creating indexes using cbq utility.
Graph shows I have roughly 0.4 req per sec but actually I execute about 1 request per 10 sec (since execution of 1 command takes ~10 sec).
In the beginning of the process when I was creating 1 index every 3 sec, the graph showed me from 1 to 3 query requests per second.
Please see graph on screenshot attached.
Command that I use for index creation is the following:
$ for i in {201..300}; do time ./cbq -u Administrator -p asdasd -engine=http://127.0.0.1:9000/ -script "create index index${i} on \`test1\`(address)"; done
|
|
...
|
|
Connected to : http://127.0.0.1:9000/. Type Ctrl-D or \QUIT to exit.
|
|
Path to history file for the shell : /Users/timofeybarmin/.cbq_history
|
|
create index index288 on `test1`(address)
|
{
|
"requestID": "adb17bd2-fd99-4a06-b49c-e25315becd53",
|
"signature": null,
|
"results": [
|
],
|
"status": "success",
|
"metrics": {
|
"elapsedTime": "10.381078442s",
|
"executionTime": "10.381003414s",
|
"resultCount": 0,
|
"resultSize": 0
|
}
|
}
|
|
real 0m10.491s
|
user 0m0.016s
|
sys 0m0.078s
|
...
|
Assigning to query for initial investigation.