OasisChurch
Technical User
- Mar 28, 2002
- 20
Hi all:
Been awhile since I posted here.
I am trying to execute a simple query, however, after 4 hours it still was not complete. Is there better way to write this or it it just the nature of what i'm trying to do?
Query:
INSERT INTO table1(field)
SELECT field FROM table2 WHERE field NOT IN(SELECT field FROM table1);
Specifics:
Tab 1 has 192359 rows
Tab 2 has 85404 rows.
source and target fields are indexed.
I am executing this locally on my Oracle 10g box. My box is a dual core and has 4G of RAM.
let me know if you need anymore specifics.
NOTE: hopefully I did not double-post. If so, sorry.
thanks!
--scotta
Been awhile since I posted here.
I am trying to execute a simple query, however, after 4 hours it still was not complete. Is there better way to write this or it it just the nature of what i'm trying to do?
Query:
INSERT INTO table1(field)
SELECT field FROM table2 WHERE field NOT IN(SELECT field FROM table1);
Specifics:
Tab 1 has 192359 rows
Tab 2 has 85404 rows.
source and target fields are indexed.
I am executing this locally on my Oracle 10g box. My box is a dual core and has 4G of RAM.
let me know if you need anymore specifics.
NOTE: hopefully I did not double-post. If so, sorry.
thanks!
--scotta