{"id":16834,"date":"2021-11-17T15:38:07","date_gmt":"2021-11-17T14:38:07","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/"},"modified":"2021-11-17T15:38:07","modified_gmt":"2021-11-17T14:38:07","slug":"improve-oracle-insert-performance-with-bulkcollect-and-forall","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/","title":{"rendered":"Improve Oracle Insert Performance with BULKCOLLECT and FORALL"},"content":{"rendered":"<p>As specified by Steven Feuerstein into the <a href=\"https:\/\/blogs.oracle.com\/oraclemagazine\/post\/bulk-processing-with-bulk-collect-and-forall\">Oracle Blog Website <\/a>the bulk processing features of PL\/SQL are designed specifically to reduce the number of context switches required to communicate from the PL\/SQL engine to the SQL engine.<\/p>\n<p>Using BULK COLLECT plus FORALL instead of standard Insert statement to insert data improve performance dramatically, let&#8217;s me show you :<\/p>\n<p>Here is a customer case on how using BULK COLLECT plus FORALL to improve Insert operations for very big tables (more than 1 billion of rows and more than 300Gb in size).<\/p>\n<p>First of all, create a bigfile tablespace which will contain the data:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">SQL&gt; CREATE bigfile TABLESPACE tbs1 DATAFILE '+data' SIZE 310G;<\/pre>\n<p>Tablespace created.<\/p>\n<p>Elapsed: 00:11:30.87<\/p>\n<p>Next step is to create the table (empty) and move it to the bigfile tablespace:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\nCREATE TABLE \"xxxx\".\"DBI_FK_NOPART\"\n( \"PKEY\" NUMBER(12,0) NOT NULL ENABLE,\n\"BOID\" VARCHAR2(40 CHAR) COLLATE \"USING_NLS_COMP\" NOT NULL ENABLE,\n\"METABO\" NUMBER(12,0) NOT NULL ENABLE,\n\"LASTUPDATE\" TIMESTAMP (9) NOT NULL ENABLE,\n\"PROCESSID\" VARCHAR2(40 CHAR) COLLATE \"USING_NLS_COMP\" NOT NULL ENABLE,\n\"ROWCOMMENT\" VARCHAR2(15 CHAR) COLLATE \"USING_NLS_COMP\",\n\"CREATED\" TIMESTAMP (9) NOT NULL ENABLE,\n\"CREATEDUSER\" VARCHAR2(40 CHAR) COLLATE \"USING_NLS_COMP\" NOT NULL ENABLE,\n\"REPLACED\" TIMESTAMP (9) NOT NULL ENABLE,\n\"REPLACEDUSER\" VARCHAR2(40 CHAR) COLLATE \"USING_NLS_COMP\",\n\"ARCHIVETAG\" VARCHAR2(40 CHAR) COLLATE \"USING_NLS_COMP\",\n\"MDBID\" VARCHAR2(255 CHAR) COLLATE \"USING_NLS_COMP\",\n\"ITSFORECAST\" VARCHAR2(40 CHAR) COLLATE \"USING_NLS_COMP\" NOT NULL ENABLE,\n\"BETRAG\" NUMBER(15,2) NOT NULL ENABLE,\n\"ITSOPDETHERKUNFT\" VARCHAR2(40 CHAR) COLLATE \"USING_NLS_COMP\",\n\"ITSOPDETHKERSTPRM\" VARCHAR2(40 CHAR) COLLATE \"USING_NLS_COMP\",\n\"ITSFCKOMPPREISSEQ\" VARCHAR2(40 CHAR) COLLATE \"USING_NLS_COMP\",\n\"CLSFCKOMPPREISSEQ\" NUMBER(12,0),\n\"ISSUMMANDENDPREIS\" NUMBER(12,0) NOT NULL ENABLE,\n\"PARTITIONTAG\" NUMBER(12,0) NOT NULL ENABLE,\n\"PARTITIONDOMAIN\" VARCHAR2(4 CHAR) COLLATE \"USING_NLS_COMP\" NOT NULL ENABLE,\n\"FCVPRODKOMPPKEY\" NUMBER(12,0),\n\"FCKVPRDANKOMPPKEY\" NUMBER(12,0)\n) ;\n\n--MOVE TABLE TO BIGFILE TABLESPACE\nALTER TABLE \"xxxx\".\"DBI_FK_NOPART\" MOVE ONLINE TABLESPACE tbs1;<\/pre>\n<p>Load Data with BULK COLLECT and FORALL:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">SQL&gt; declare\ntype testarray is table of varchar2(3000) index by binary_integer;\nv_PKEY testarray;\nv_BOID testarray;\nv_METABO testarray;\nv_LASTUPDATE testarray;\nv_PROCESSID testarray;\nv_ROWCOMMENT testarray;\nv_CREATED testarray;\nv_CREATEDUSER testarray;\nv_REPLACED testarray;\nv_REPLACEDUSER testarray;\nv_ARCHIVETAG testarray;\nv_MDBID testarray;\nv_ITSFORECAST testarray;\nv_BETRAG testarray;\nv_ITSOPDETHERKUNFT testarray;\nv_ITSOPDETHKERSTPRM testarray;\nv_ITSFCKOMPPREISSEQ testarray;\nv_CLSFCKOMPPREISSEQ testarray;\nv_ISSUMMANDENDPREIS testarray;\nv_PARTITIONTAG testarray;\nv_PARTITIONDOMAIN testarray;\nv_FCVPRODKOMPPKEY testarray;\nv_FCKVPRDANKOMPPKEY testarray;\n\ncursor cu_cursor is select PKEY,BOID,METABO,LASTUPDATE,PROCESSID,ROWCOMMENT,CREATED,CREATEDUSER,REPLACED,REPLACEDUSER,ARCHIVETAG,MDBID,ITSFORECAST,BETRAG,\nITSOPDETHERKUNFT,ITSOPDETHKERSTPRM,ITSFCKOMPPREISSEQ,CLSFCKOMPPREISSEQ,ISSUMMANDENDPREIS,PARTITIONTAG,PARTITIONDOMAIN,FCVPRODKOMPPKEY,FCKVPRDANKOMPPKEY\nFROM xxx.TableSource;\n\nbegin\ndbms_output.put_line('start : '||to_char(sysdate,'dd.mm.rrrr hh24:mi:ss'));\nopen cu_cursor;\n\nloop\n\nfetch cu_cursor bulk collect into v_PKEY,v_BOID,v_METABO,v_LASTUPDATE,v_PROCESSID,v_ROWCOMMENT,v_CREATED,v_CREATEDUSER,v_REPLACED,v_REPLACEDUSER ,v_ARCHIVETAG,v_MDBID,v_ITSFORECAST,v_BETRAG,v_ITSOPDETHERKUNFT,\nv_ITSOPDETHKERSTPRM ,v_ITSFCKOMPPREISSEQ ,v_CLSFCKOMPPREISSEQ,v_ISSUMMANDENDPREIS ,v_PARTITIONTAG,v_PARTITIONDOMAIN,v_FCVPRODKOMPPKEY,v_FCKVPRDANKOMPPKEY LIMIT 1000;\n\nforall i in 1 .. v_PKEY.count\n\ninsert into xxx.DBI_FK_NOPART( PKEY,BOID,METABO,LASTUPDATE,PROCESSID,ROWCOMMENT,CREATED,CREATEDUSER,REPLACED,REPLACEDUSER ,ARCHIVETAG,MDBID,ITSFORECAST,BETRAG,ITSOPDETHERKUNFT,\nITSOPDETHKERSTPRM ,ITSFCKOMPPREISSEQ ,CLSFCKOMPPREISSEQ,ISSUMMANDENDPREIS ,PARTITIONTAG,PARTITIONDOMAIN,FCVPRODKOMPPKEY,FCKVPRDANKOMPPKEY )\nvalues\n( v_PKEY(i),v_BOID(i),v_METABO(i),v_LASTUPDATE(i),v_PROCESSID(i),v_ROWCOMMENT(i),v_CREATED(i),v_CREATEDUSER(i),v_REPLACED(i),v_REPLACEDUSER(i),v_ARCHIVETAG(i),v_MDBID(i),v_ITSFORECAST(i),v_BETRAG(i),v_ITSOPDETHERKUNFT(i),\nv_ITSOPDETHKERSTPRM(i),v_ITSFCKOMPPREISSEQ(i),v_CLSFCKOMPPREISSEQ(i),v_ISSUMMANDENDPREIS(i),v_PARTITIONTAG(i),v_PARTITIONDOMAIN(i),v_FCVPRODKOMPPKEY(i),v_FCKVPRDANKOMPPKEY(i));\n\nexit when cu_cursor%notfound;\nend loop;\n\nclose cu_cursor;\ndbms_output.put_line('end : '||to_char(sysdate,'dd.mm.rrrr hh24:mi:ss'));\n\nend;\n\/\nstart : 15.11.2021 10:30:36\nend : 15.11.2021 12:50:23\n\nPL\/SQL procedure successfully completed.\n\nElapsed: 02:19:46.80<\/pre>\n<p>Gather Statistics:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">exec dbms_stats.gather_table_stats('xxx','DBI_FK_NOPART');<\/pre>\n<p>Add primary key and indexes (store it into bigfile tablespace) :<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">ALTER TABLE xxx.DBI_FK_NOPART ADD CONSTRAINT PK6951_1 PRIMARY KEY (PKEY) using index tablespace tbs1;\n\nBEGIN\nCREATE INDEX \"xxx\".\"CLSFCKOMPPREISSEQ695_1\" ON \"xxx\".\"DBI_FK_NOPART\" (\"CLSFCKOMPPREISSEQ\") TABLESPACE \"TBS1\";\nCREATE INDEX \"xxx\".\"ITSFCKOMPPREISSEQ695_1\" ON \"xxx\".\"DBI_FK_NOPART\" (\"ITSFCKOMPPREISSEQ\") TABLESPACE \"TBS1\";\nCREATE INDEX \"xxx\".\"ITSFORECAST695_1\" ON \"xxx\".\"DBI_FK_NOPART\" (\"ITSFORECAST\") TABLESPACE \"TBS1\" ;\nCREATE INDEX \"xxx\".\"IX_MDBID_xxx_1\" ON \"xxx\".\"DBI_FK_NOPART\" (\"MDBID\") TABLESPACE \"TBS1\" ;\nEND;<\/pre>\n<pre class=\"brush: sql; gutter: true; first-line: 1\"><\/pre>\n<p>Let&#8217;s check statistics of the table :<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">select owner,table_name,num_rows,blocks, last_analyzed from dba_tables where table_name = 'DBI_FK_NOPART';\nOWNER TABLE_NAME      NUM_ROWS  BLOCKS    LAST_ANALYZED\nXXX    DBI_FK_NOPART  1188403800 39871915 15.11.21<\/pre>\n<p>Conclusion :<\/p>\n<p>With BULK COLLECT plus FORALL, I inserted more than 1 billion of rows in 02h19.<\/p>\n<p>With standard Insert through a FOR LOOP statement, the Insert never finished, I stopped it after 15 hours of execution and after resizing muliple times the Undo tablespace due to &#8220;unable to extend tablespace&#8230;&#8221; error.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As specified by Steven Feuerstein into the Oracle Blog Website the bulk processing features of PL\/SQL are designed specifically to reduce the number of context switches required to communicate from the PL\/SQL engine to the SQL engine. Using BULK COLLECT plus FORALL instead of standard Insert statement to insert data improve performance dramatically, let&#8217;s me&hellip;&nbsp;<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[4133],"tags":[544,635,644],"class_list":["post-16834","post","type-post","status-publish","format-standard","category-database","tag-bulk-insert","tag-dbdoracle","tag-performance-tuning"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.9 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Improve Oracle Insert Performance with BULKCOLLECT and FORALL - dbi services Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Improve Oracle Insert Performance with BULKCOLLECT and FORALL\" \/>\n<meta property=\"og:description\" content=\"As specified by Steven Feuerstein into the Oracle Blog Website the bulk processing features of PL\/SQL are designed specifically to reduce the number of context switches required to communicate from the PL\/SQL engine to the SQL engine. Using BULK COLLECT plus FORALL instead of standard Insert statement to insert data improve performance dramatically, let&#8217;s me&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-17T14:38:07+00:00\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/improve-oracle-insert-performance-with-bulkcollect-and-forall\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/improve-oracle-insert-performance-with-bulkcollect-and-forall\\\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/bf7c7eb0bec165183207237c9d0ee1d5\"},\"headline\":\"Improve Oracle Insert Performance with BULKCOLLECT and FORALL\",\"datePublished\":\"2021-11-17T14:38:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/improve-oracle-insert-performance-with-bulkcollect-and-forall\\\/\"},\"wordCount\":204,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"keywords\":[\"bulk insert\",\"DBD::Oracle\",\"Performance Tuning\"],\"articleSection\":[\"Database\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/improve-oracle-insert-performance-with-bulkcollect-and-forall\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/improve-oracle-insert-performance-with-bulkcollect-and-forall\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/improve-oracle-insert-performance-with-bulkcollect-and-forall\\\/\",\"name\":\"Improve Oracle Insert Performance with BULKCOLLECT and FORALL - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2021-11-17T14:38:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/improve-oracle-insert-performance-with-bulkcollect-and-forall\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/improve-oracle-insert-performance-with-bulkcollect-and-forall\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/improve-oracle-insert-performance-with-bulkcollect-and-forall\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Improve Oracle Insert Performance with BULKCOLLECT and FORALL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/bf7c7eb0bec165183207237c9d0ee1d5\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/oracle-square.png\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/oracle-square.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/oracle-square.png\",\"caption\":\"Oracle Team\"},\"description\":\"Posts published under the Oracle Team account are collective contributions by the dbi services Oracle consultants. The practice covers the full Oracle Database lifecycle: architecture, migration and upgrade, high availability with RAC and Data Guard, backup and recovery, performance tuning, and engineered systems such as Oracle Database Appliance and Exadata. The team holds Oracle certifications up to Certified Master level and operates customer platforms under service level agreements.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/oracle-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Improve Oracle Insert Performance with BULKCOLLECT and FORALL - dbi services Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/","og_locale":"en_US","og_type":"article","og_title":"Improve Oracle Insert Performance with BULKCOLLECT and FORALL","og_description":"As specified by Steven Feuerstein into the Oracle Blog Website the bulk processing features of PL\/SQL are designed specifically to reduce the number of context switches required to communicate from the PL\/SQL engine to the SQL engine. Using BULK COLLECT plus FORALL instead of standard Insert statement to insert data improve performance dramatically, let&#8217;s me&hellip;&nbsp;","og_url":"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2021-11-17T14:38:07+00:00","author":"Oracle Team","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bf7c7eb0bec165183207237c9d0ee1d5"},"headline":"Improve Oracle Insert Performance with BULKCOLLECT and FORALL","datePublished":"2021-11-17T14:38:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/"},"wordCount":204,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"keywords":["bulk insert","DBD::Oracle","Performance Tuning"],"articleSection":["Database"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/","url":"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/","name":"Improve Oracle Insert Performance with BULKCOLLECT and FORALL - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2021-11-17T14:38:07+00:00","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/improve-oracle-insert-performance-with-bulkcollect-and-forall\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Improve Oracle Insert Performance with BULKCOLLECT and FORALL"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bf7c7eb0bec165183207237c9d0ee1d5","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/oracle-square.png","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/oracle-square.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/oracle-square.png","caption":"Oracle Team"},"description":"Posts published under the Oracle Team account are collective contributions by the dbi services Oracle consultants. The practice covers the full Oracle Database lifecycle: architecture, migration and upgrade, high availability with RAC and Data Guard, backup and recovery, performance tuning, and engineered systems such as Oracle Database Appliance and Exadata. The team holds Oracle certifications up to Certified Master level and operates customer platforms under service level agreements.","url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/16834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=16834"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/16834\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=16834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=16834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=16834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}