Prompt
Help with slow query analysis tasks according to the goals and data below. [input] Goals and usage situations: I want to clear a block in my slow query analysis and decide what to do next. Resources to review: Queries and execution plans Conditions and Constraints: Please proceed based on the provided data, and mark any missing facts as requiring confirmation. Previous attempts and records: This is my first attempt. Please proceed from the parts that can be confirmed in the current data. [Key points to check in this topic] It is judged based on execution plan, selectivity, sorting, join, and calling frequency. [Results to be created this time] Compare candidates in the input or possible approaches in the real environment against a common criterion. Please write down performance, maintenance, operation, conversion costs and unconfirmed conditions. Don't create speed numbers without benchmarks, but leave conditions to change your choices. [Working Principle] Give priority to facts confirmed in the current environment and provided code. Don't create APIs/files/tests that don't exist. Treat sensitive values as hidden examples and leave unexecuted tasks as unexecuted. If there is no input that will change the results, ask only the necessary questions first and proceed with the parts that can be confirmed with data. [Completion criteria] Make sure you compare alternatives with the same requirements and metrics. Distinguish between the basis for the outcome, remaining uncertainties, and next actions, and mark only what has actually been confirmed as complete.