+ 1

How improve performances of an SQL query ?

when tables in databases contains a millions of rows , we can get a performance issues mainly in response time.

8th Jul 2017, 10:25 AM
Mohamed NCIR
Mohamed NCIR - avatar
3 Réponses
+ 1
thank u for reply , using index can just reduce response time but it's still take many seconds.
8th Jul 2017, 10:45 AM
Mohamed NCIR
Mohamed NCIR - avatar
+ 1
Try an Index in your table. Don't use select * querys.
8th Jul 2017, 10:27 AM
Thomas Zenglein
Thomas Zenglein - avatar
0
There are several answers to this question including: only use the fields that you truly need from the tables in your query, and use indexed fields in the WHERE clause of the SQL statement. Many interfaces that allow you to build SQL queries (MySQL Workbench, IB Expert, etc) typically have built-in performance tools that help you with optimizing your query.
17th Dec 2017, 11:46 PM
Carl
Carl - avatar