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 my_table_idx_client_obj_id_obj_id ON my_table (client,obj_type_id,obj_id);
CREATE INDEX my_table_idx_obj_id_mod_date ON my_table (obj_id,mod_date);
SELECT
MAX(trunc(my_table.mod_date,
'dd')) AS last_modified_date,
my_table.obj_id
FROM
my_table
WHERE
my_table.client = 'client_name'
AND my_table.obj_type_id = 12
GROUP BY
my_table.obj_id