getRunningQueries
Syntax
getRunningQueries()
Arguments
None
Details
Return descriptive information about the SQL queries that are being executed on the local node. To use this function, we must set perfMonitoring=1 in the configuration file to enable performance monitoring.
Examples
$ getRunningQueries();
userID |
sessionID |
jobID |
rootID |
level |
startTime |
endTime |
jobDesc |
errorMsg |
remoteIP |
---|---|---|---|---|---|---|---|---|---|
admin |
738481026 |
88e738a8-a749-4dcb-9cfe-740df2d9ce7d |
88e738a8-a749-4dcb-9cfe-740df2d9ce7d |
0 |
2019.02.07T19:02:26.809905612 |
select count(*) as count from pt |
192.168.1.106 |