Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve profiling framework for DB transactions #39

Open
pierre opened this issue Mar 7, 2018 · 0 comments
Open

Improve profiling framework for DB transactions #39

pierre opened this issue Mar 7, 2018 · 0 comments

Comments

@pierre
Copy link
Member

pierre commented Mar 7, 2018

DAO and DAO_DETAILS only record ResultSet execution time, which is good for checking slow queries but this doesn't give us the full DB picture. In particular, it doesn't measure the impact of the following calls:

  • GET/SET TRANSACTION ISOLATION LEVEL
  • SET AUTOCOMMIT
  • EXECUTE STATEMENT
  • DEALLOCATE PREPARE STATEMENT
  • COMMIT

We don't have to go too low level (if needed, we can always enable the jdbc.audit logger), but it would be useful to at least measure the time taken to run full transactions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant