1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| SQL> set arraysize 5000
SQL> set copycommit 5000
SQL> COPY FROM sysadm/admb1@b1 -
TO sysadm/admb2@b2 -
INSERT SYSB.PAYMENT -
USING SELECT * FROM SYSA.PAYMENT where rownum <100000 ORDER BY INVOICE_NO, CR_TRANS_ID;
Array fetch/bind size is 5000. (arraysize is 5000)
Will commit after every 5000 array binds. (copycommit is 5000)
Maximum long size is 80. (long is 80)
99999 rows selected from sysadm@b1.
99999 rows inserted into SYSB.PAYMENT.
99999 rows committed into SYSB.PAYMENT at sysadm@b2.
SQL> select count(1) from SYSB.PAYMENT;
COUNT(1)
----------
0 |
Partager