Sometimes hint /*+ append */ makes
your insert much faster.
Recently inserting from customer table partitions to an historical table, it saved up 75% of time: 4 millions in 30 sec instead of 120 seconds.
Of course it always depends by many factors, but it helps to have an idea. Try it when you deal with massive inserts.
---10.2.0.4.0
-- the faster way
SQL>insert /*+ append */ INTO CUSTOMER_2009 (select * from CUSTOMER partition (PART_2091)) ;
SQL>
4135112 rows created.
Elapsed: 00:00:33.77
-- the slow way
SQL> insert INTO CUSTOMER_2009 (select * from CUSTOMER partition (PART_20091)) ;
4135112 rows created.
Elapsed: 00:02:04.54
Warning: include(ads/text468x15.html): failed to open stream: No such file or directory in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131
Warning: include(): Failed opening 'ads/text468x15.html' for inclusion (include_path='.;C:\php\pear') in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131
A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson
A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson
fishScript.Com is accessible by Mobile access technology
as mobile phones, Palm and Pocket PC .
Nicoleta e Marco Magnani tutorial, examples, courses, esempi, corsi, esercizi, appunti vari Dottoressa Nicoleta Dragu Formatrice Docente Insegnante Mediatrice Culturale
Dott. Marco Magnani Universita La Sapienza Roma Master Computer Science Hunter College New York , Data Base Administrator DBA oracle System architect