I am using Oracle 12c.
I am trying to delete about 6mil records from a table that has about 18mil records.
Below is the query I am using. I cancel the process after 2hrs. I have let the process go over night and still nothing.
DELETE FROM EI.CASESTATUS
WHERE CASEID NOT IN (SELECT CASEID FROM DO.STG_CASEHEADER);
Is there a faster way of doing this?
Thanks for your help,
Kevin