Allow listening to query execution and execution times

Description

When analyzing performance issues it is helpful to know which SQL queries have been executed and how log they took. The current mechanisms offered by Hibernate are inadequate for building custom tools.

In our specific case we would like the generate a JFR event recording the query and its execution time. This can then be combined with other JFR events to find you which queries for executed for processing a single request, how often they were executed and how long their execution took.

Activity

Show:

Christian Beikov April 5, 2024 at 3:47 PM

ORM 6.4 introduced a JFR module which reports exactly that information slightly smiling face

Out of Date

Details

Assignee

Reporter

Components

Priority

Created April 5, 2020 at 11:51 AM
Updated April 5, 2024 at 3:47 PM
Resolved April 5, 2024 at 3:47 PM