| BULK INSERT PERFORMANCE [message #575791] |
Sun, 27 January 2013 23:50  |
 |
mvrkr44
Messages: 11 Registered: December 2012
|
Junior Member |
|
|
I HAVE CREATED ONE TABLE AND ALSO I HAVE CREATED ONE INDEX ON IT.
CREATE TABLE TEST (EMP NUMBER);
CREATE INDEX EMPID ON TABLE(EMP);
NOW I HAVE CREATED ONE PL SQL BLOCK WITH BULK INSERT ON TEST TABKLE TO INSERT LAKHS OF RECORDS...
WHETHER THE PERFORAMCE WILL DEGRADE OR NOT WHEN COMPARED WITH NORMAL INSERT?
AND ALSO EXPLAIN THE MAIN DIFFERENCE BEWTWEEN INSERT & BULK INSERT.
[EDITED by LF: fixed topic title typo; was "BUULK"]
[Updated on: Mon, 28 January 2013 11:21] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
|
| Re: BUULK INSERT PERFORMANCE [message #575806 is a reply to message #575794] |
Mon, 28 January 2013 01:36  |
 |
Michel Cadot
Messages: 54142 Registered: March 2007 Location: Nanterre, France, http://...
|
Senior Member Account Moderator |
|
|
Single INSERT is always faster than any PL/SQL.
But for bulk insert (insert many rows), it is better to create the index AFTER (or to make it unusable before and rebuild it after).
Regards
Michel
|
|
|
|