Mysql – Need an explanation about a slow query with MariaDB
I have a "simple" query how takes 0.7678 seconds or more to be executed with MariaDB. Here is the query: select `referenceNumber` from `invoice` where `groupId` = 3550 and `referenceNumber` >= 301 order by `referenceNumber` desc limit 1; These columns…