Methods
- E
- F
- I
- S
Constants
EXPLAINED_SQLS | = | /\A\s*(\/\*.*\*\/)?\s*(with|select|update|delete|insert)\b/i |
IGNORED_PAYLOADS | = | %w(SCHEMA EXPLAIN) |
SCHEMA queries cannot be EXPLAINed, also we do not want to run EXPLAIN on our own EXPLAINs no matter how loopingly beautiful that would be. On the other hand, we want to monitor the performance of our real database queries, not the performance of the access to the query cache. |
||
MUTEX | = | Mutex.new |