Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

insert - select = bulk collect

Tricampeon_1981Nov 12 2019 — edited Nov 13 2019

Good morning friends, I can gladly make an inquiry

I need to extract information from a table that has millions of records so I am using an insert - select but it is very slow, I am trying to implement bulk collect and could you tell me what you think about this extraction?

--orogonal

INSERT INTO TTRB_TF_MOV_CTA_CMP

      (mov_cmp.cor_mov)

    SELECT mov.cor_mov

      FROM house;

--improvements

  SELECT A.num_fac                      

        BULK COLLECT INTO TTRB_TF_MOV_CTA_CMP

     FROM house

Could you give me some idea of a faster way to extract the information and load it into another table with greater speed?

This post has been answered by L. Fernigrini on Nov 12 2019
Jump to Answer
Comments
Post Details
Added on Nov 12 2019
20 comments
5,155 views