Question : I would appreciate an approach with this problem, I have a lottery system in mysql, this system receives […]
Tag: query-performance
How to run my query on a one-to-many relation to run efficiently
Question : I have two tables in one-to-many rel, I want to run a query efficiently returning data from the […]
Does a query with a primary key and foreign keys run faster than a query with just primary keys?
Question : SELECT something FROM table WHERE primary_key = ? vs. SELECT something FROM table WHERE primary_key = ? AND […]
speeding up a query on MySql [closed]
Question : This question is unlikely to help any future visitors; it is only relevant to a small geographic area, […]
MySQL – Simple update is very slow and causing high load average with large amount of server
Question : Simple update is very slow and causing high load average with large amount of server : table name […]
How can one identify if FK’s needed to be indexed apart from the NC indexes already residing
Question : I was going through many articles, which said indexing the FK’s is beneficial for good performance, specially for […]
Optimize a slow nested loops join
Question : I have this query running around 15 seconds on my system. The query plan is here. I believe […]
How to perform query operation on another query result
Question : How to get approved , unapproved , deleted count from the below result using sql query. SELECT approved,deleted_at,count(id)AS […]
Optimize Postgresql query
Question : I’m struggling to get the below query to perform well. It’s doing a sequential scan on the children […]
stored procedures location influence their performance?
Question : I have a procedure SP_MYPRO that updates data in MYDB1. 1) the performance of SP_MYPRO would be different […]