Deadlock and Lock Analysis
Diagnose and resolve lock contention and deadlocks in this database. Database: {{database}} Application pattern: {{pattern}} (OLTP, batch processing, mixed) Lock issue: {{issue_...
3 Database Engineer prompts in Query Optimization. Copy ready-to-use templates and run them in your AI workflow. Covers intermediate → advanced levels and 3 single prompts.
Diagnose and resolve lock contention and deadlocks in this database. Database: {{database}} Application pattern: {{pattern}} (OLTP, batch processing, mixed) Lock issue: {{issue_...
Analyze this query's execution plan and identify optimization opportunities. Database: {{database}} Query: {{query}} Table sizes: {{table_sizes}} Current runtime: {{runtime}} 1....
Identify and fix slow queries in this database. Database: {{database}} Monitoring tool: {{tool}} (pg_stat_statements, slow query log, pgBadger, DataDog) Problem symptoms: {{symp...
Start with a focused prompt in Query Optimization so you establish the first reliable signal before doing broader work.
Jump to this promptReview the output and identify what needs follow-up, cleanup, explanation, or deeper analysis.
Jump to this promptContinue with the next prompt in the category to turn the result into a more complete workflow.
Jump to this promptQuery Optimization is a practical workflow area inside the Database Engineer prompt library. It groups prompts that solve closely related tasks instead of leaving users to search through one flat list.
Start with the most general prompt in the list, then move toward the more specific or advanced prompts once you have initial output.
A single prompt gives you one instruction and one output. A chain is a multi-step sequence designed to build on earlier results and produce a more complete workflow.
Yes. They work in other AI tools too. MLJAR Studio is still the best fit when you want local execution, visible code, and notebook-based reproducibility.
Good next stops are Migration and Upgrades, Schema Design, Performance Tuning depending on what the current output reveals.