Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The display of the Threads is implemented as a SELECT - query against the embedded database. The initial query is simply,as follows:

Code Block
themeConfluence
SELECT * 
FROM processlist 
ORDER BY time DESC;

The ORDER BY clause, here, will display the slowest queries at the top (which is convenient for further investigation). You can define your own sort and filter criteria by editing this query using the WHERE, ORDER BY, and even GROUP BY clauses and AGGREGATES as you prefer. To change the query simply click on the 'Settings' icon.

An For example of a user query is ,as follows:

Code Block
themeConfluence
SELECT user, count(user) as no_of_queries, max(time) as running_longest
FROM [processlist]
WHERE ((user <> 'Monyog_user') and (command <> 'Sleep'))
GROUP BY user;

...

Notice that implementing support for the SHOW FULL PROCESSLIST command using a SELECT statement gives you much more flexibility over the output than the command does by itself!.

...



This feature is available in Monyog Professional, Enterprise and Ultimate.

Scroll pdf ignore
Newtabfooter
aliasIDERA
urlhttp://www.idera.com
Newtabfooter
aliasProducts
urlhttps://www.idera.com/productssolutions/sqlserver
Newtabfooter
aliasPurchase
urlhttps://www.idera.com/buynow/onlinestore
|
Newtabfooter
aliasSupport
urlhttps://idera.secure.force.com/
|
Newtabfooter
aliasCommunity
urlhttp://community.idera.com
|
Newtabfooter
aliasResources
urlhttp://www.idera.com/resourcecentral
|
Newtabfooter
aliasAbout Us
urlhttp://www.idera.com/about/aboutus
|
Newtabfooter
aliasLegal
urlhttps://www.idera.com/legal/termsofuse
IDERA Website | Products | Buy | Support | Community | About Us | Resources | Legal