Andrew Kyle Purtell created PHOENIX-7967:
--------------------------------------------

             Summary: Contain explain diagnostic recording
                 Key: PHOENIX-7967
                 URL: https://issues.apache.org/jira/browse/PHOENIX-7967
             Project: Phoenix
          Issue Type: Sub-task
    Affects Versions: PHOENIX-7876-feature
            Reporter: Andrew Kyle Purtell
            Assignee: Andrew Kyle Purtell


Detailed breadcrumb collection should be enabled only when the statement being 
compiled is an EXPLAIN. Non-EXPLAIN debug/query loggers and opt-in 
CONNECTION_EXPLAIN_PLAN_LOGGING_ENABLED will keep producing plan debug output, 
but with thinner labels (no index-rejection reasons, no origin tags, no 
functional-match line).

This is a deliberate performance cost reduction for the normal query execution 
flow that trades off some diagnostic capability in DEBUG logging. (Note that 
before this feature that diagnostic capability did not exist anyway.)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to