In case you have your own slow SQL query, you can optimize it automatically here.
For the query above, the following recommendations will be helpful as part of the SQL tuning process.
You'll find 3 sections below:
ALTER TABLE `data_accountbalance` ADD INDEX `data_accountbalanc_idx_product_id` (`product_id`);
ALTER TABLE `data_issuer` ADD INDEX `data_issuer_idx_id` (`id`);
SELECT
SQL_NO_CACHE *
FROM
data_product
INNER JOIN
`data_issuer`
ON (
`data_issuer`.`id` = `data_product`.`issuer_id`
)
INNER JOIN
`data_accountbalance`
ON (
`data_accountbalance`.`product_id` = `data_product`.`id`
) LIMIT 100000000