measuring responsiveness of RDM
we run a mysql database for our on premises RDM.
we would like to setup a test that runs a query on the database every 5 minutes to measure how long it takes to respond.
over time we will graph the response time to get an understanding of the responsiveness of the database from the perspective of the RDM user.
does anyone have any suggestions on what query would be a reasonable measure?
and example query might be to count the number of configurations stored in the database.
it should always have an answer
this would exercise the database and
possibly give an indication of the effort needed by the database to find connection configuration details
the query should be read only.
the query should not be so big that it affects interactive performance.
RDM users will have access to the measurement history and after this has been running for a month we will set a threshold which is an indicator that performance is lower than desirable. this can be an indicator of a technical issues with the infrasturcture or resource capacity. it is better to have some measure that represents the user experience so we can address any underlying issue and it gives a measure users can relate to.
the answer we are looking for is actual sql queries or some query through an api
we dont have any issues with RDM but one of our staff was reporting resonsiveness issues working from home so a local test in our data centre would also indicate if it is running well in the data centre but the remote user has a connectivity problem they need to diagnose.
thank you in advance.