trellix-enterprise / mysql-audit

AUDIT Plugin for MySQL. See wiki and readme for description. If you find the plugin useful, please star us on GitHub. We love stars and it's a great way to show your feedback.
Other
239 stars 57 forks source link

Recording query duration? #134

Closed blalor closed 8 years ago

blalor commented 8 years ago

Would it be possible to add how long a query/command took to execute, at least for some commands like select?

aharonrobbins commented 8 years ago

Hi. The audit plugin is intended for auditing - tracking what occurred. There are other logging facilities in MySQL that should let you get this information. Therefore we don't plan to add such a feature, but if you or anyone else wishes to contribute a patch to do this, we will be glad to review it for inclusion. Thanks.