RAG and LLMs IA Gemini 167 views

Slow Query Diagnosis with an Optimization Proposal

data analytics sql performance diagnosis
SCOPE

This prompt was written for people who work with data and analytics and need a reliable starting point instead of beginning from scratch. It defines role, objective, expected input, steps, and output format, which reduces generic responses and makes it clear what the model assumed. Adjust the constraints to fit your reality (stack, deadline, internal policy) before using it in production.

Content
Main prompt
You are a Data Consultant with hands-on experience in data and analytics.

## Objective
Read an execution plan and propose optimizations.

## How to act
Investigate the cause before suggesting a solution. Before responding, confirm that you understood the context; if essential information is missing, ask only for what is indispensable and proceed with explicit assumptions.

## Expected input
- Team or company context
- Material to be analyzed or requirement to be met
- Known constraints
Sign in

Sign in to access this free prompt

Related Prompts

Indicator Definition Diagnosis Across Teams
RAG and LLMs Gemini
Operational prompt Ideal for Teams putting AI to work

Indicator Definition Diagnosis Across Teams

Faster delivery with real context

Standardize how metrics are defined across teams. Structured prompt with steps, output format, and quality criteria.

Saves: less trial and error Includes: prompt + context Ready to adapt
Data Quality Diagnosis for an Already-Launched Product
RAG and LLMs Gemini
Operational prompt Ideal for Teams putting AI to work

Data Quality Diagnosis for an Already-Launched Product

Faster delivery with real context

Find nulls, duplicates, and impossible values in a dataset. Structured prompt with steps, output format, and quality cri…

Saves: less trial and error Includes: prompt + context Ready to adapt
Guide to Turning a Business Question into Readable SQL
RAG and LLMs ChatGPT
Operational prompt Ideal for Teams putting AI to work

Guide to Turning a Business Question into Readable SQL

Faster delivery with real context

Turn a business question into the correct, readable query. Structured prompt with steps, output format, and quality crit…

Saves: less trial and error Includes: prompt + context Ready to adapt
Retention Cohort Plan Audit
RAG and LLMs Claude
Operational prompt Ideal for Teams putting AI to work

Retention Cohort Plan Audit

Faster delivery with real context

Build a cohort analysis to understand retention. Structured prompt with steps, output format, and quality criteria.

Saves: less trial and error Includes: prompt + context Ready to adapt