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:
CREATE INDEX numbers_idx_gvcode_zone_co_cgi_cgi_f ON NUMBERS (gvcode,ZONE_SET_CODE,cgi,cgi_f);
SELECT
t.gvcode,
t.digits
FROM
NUMBERS t
WHERE
t.gvcode = t.ZONE_SET_CODE
AND t.cgi = t.cgi_f
AND (
t.PHONE_NR LIKE t.digits
)
ORDER BY
length(t.digits) DESC