I have been tasked with optimizing a few complex queries and would like to gauge my over all effectivness of doing so. AMPCPUTIME seems to be the most logical measure of this but can this measurement be affected simply due to the current state of the database?
IE: If I run a query when the system is healthy will that give me a lower AMPCPUTIME then when the system is in a critical state?
↧