Oracle Query Tuning
I am trying to write a query that joins multiples tables with in a database and then joins to one more table from a different database using a database link. I think I have the query written but execution time for the query appears to be in excess of 2 hours. I need to find a way to speed the query up. I'd appreciate any thoughts anyone might have on this.
Query:
INSERT INTO inddmd.tidemark_weekly_extract
(SELECT a.csm_caseno permit_no, a.case_type permit_type,
a.csm_status permit_status, a.csm_issued_date permit_issued_date,