Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Done
-
None
-
- New query param which causes any query to return EXPLAIN ANALYZE output
- Tests which check that this param works across a handful of the query endpoints
- Documentation explaining the new query param
-
Ghost
-
3
-
ghost-24.03.2021, ghost-7.04.2021, ghost-21.04.2021
-
Needs Assessment
-
New Feature
-
-
Needs Assessment
Description
We want to expose the EXPLAIN ANALYZE option added to the TK PuppetDBServer query method in PDB-5042 externally via a query param.
To add the query param we could follow the example in the initial drop-joins pr. This pr added a optimize_drop_unused_joins=true query parameter to allow clients to opt-in to drop-joins. Following a similar pattern should allow us to pass down a flag which should eventually hit the same path used in PDB-5042 which will return the JSON of an EXPLAIN ANALYZE for a given query.
Attachments
Issue Links
- relates to
-
PDB-5042 Add option to execute queries with EXPLAIN ANALYZE to PuppetDBServer TK query method
-
- Resolved
-