Comments - Slow Response Time

3 weeks, 6 days ago Ian Gilfillan

There are many possible reasons. You've identified slow queries, so next you could use EXPLAIN (EXTENDED) on these queries, see what the optimizer plan is, whether they're indexed properly. Most causes of slow queries are problems with indexing.

 
3 weeks, 3 days ago Mohsin Kazmi

Hi Ian,

There are some specific queries which are performing slowly, one of them takes 37sec and return around 600 records, I have seen explain plan, it show full table scans for some of tables involved. Indexes are created on columns which are used in where clause but are not being used. Query has few joins, union, sub query, order by clause.

Regards,

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.