Могу ли я запустить explain analyze
по запросу в JOOQ? как:
explain analyse select some, columns from some_table
но сделать это с помощью JOOQ в базе данных PostgreSQL?
Я нашел интерфейс org.jooq.Explain
с методом DSLContext.explain(Query query)
, но, кажется, просто использую EXPLAIN
в запросе:
@Support({AURORA_MYSQL,AURORA_POSTGRES,H2,HSQLDB,MARIADB,MEMSQL,MYSQL,ORACLE,POSTGRES,SQLITE})
Explain explain(Query query)
Run an EXPLAIN statement in the database to estimate the cardinality of the query.
Есть ли разумный способ запустить EXPLAIN ANALYZE
в базе данных со стороны кода?