Hello,
I have a running statement running since yesterday, please see picture:
The client was setup to timeout anything greater than 75 seconds. I dont know why couchbase is still running this. I tried killing it, but does not work.
See here:
SELECT * FROM system:active_requests
[
{
“active_requests”: {
“ElapsedTime”: “13.32024476s”,
“ExecutionTime”: “13.320191917s”,
“PhaseCounts”: {
“Fetch”: 81392,
“IndexScan”: 81810
},
“PhaseOperators”: {
“Fetch”: 1,
“IndexScan”: 1
},
“RequestId”: “02c2d183-1a01-4909-a9ca-ff8d2f9a365e”,
“RequestTime”: “2016-10-25 13:31:04.921685362 +0000 UTC”,
“State”: “running”,
“Statement”: “select recipientId
,productKey
from oltp-json
where type
= “messaging_subscription” and channelName
= “jukebox.DEADBEEF””
}
},
{
“active_requests”: {
“ClientContextID”: “9b121f5c-8bf9-4c41-a697-b0903d721b94”,
“ElapsedTime”: “1.183503ms”,
“ExecutionTime”: “1.122729ms”,
“PhaseCounts”: {
“PrimaryScan”: 4
},
“PhaseOperators”: {
“Fetch”: 1,
“PrimaryScan”: 1
},
“RequestId”: “e9e18ff8-0b6d-483b-a42f-f672156fb51b”,
“RequestTime”: “2016-10-25 13:31:18.240765241 +0000 UTC”,
“State”: “running”,
“Statement”: “SELECT * FROM system:active_requests”
}
}
]
delete from system:active_requests where RequestId = “3fa7281b-d3db-4736-a26d-2497148909bd”
{
“results”: [],
“metrics”: {
“elapsedTime”: “1.189476ms”,
“executionTime”: “1.12811ms”,
“resultCount”: 0,
“resultSize”: 0
}
}
How can I kill this running statement?
Thanks,
Steeve