I'm using a workbench to launch a SQL query on a Oracle Database with many JOIN.
I use SQLExecutor to do it.
When I query a specific record, the result is very fast.
But when I need to extract all the data from my query (more than 5000000 records)
My computor goes slow and FME failed to execut it.
I receive this : Insufficient memory available -- error code was 2
I need to extract all the point from my table ROL_UNITE_P and join 5 tables to add data.
Should I use more than one SQL Executor?
Should I use something else?
Thanks!
Francis
This is my SQL query :
SELECT rol.ID_PROVINC, rol.CODE_MUN, rol.RL0102A, rol.MAT18, adr.RL0101A, adr.RL0101B, adr.RL0101C, adr.RL0101D, adr.RL0101E, adr.RL0101F, adr.RL0101G, adr.RL0101H, adr.RL0101I, lot.RL0103A, prp.NOM_PROP, prp.PRN_PROP, prp.NO_COPROP, prp.ADR_POST, prp.MUN, prp.ADR_POST_COMPL_C, prp.ADR_POST_COMPL_P, prp.COD_POST, prp.DAT_INSC_ROLE, cd_gen.DESC_ AS CODE_GEN, cd_lien.DESC_ AS CODE_LIEN FROM rgora1a_res.ROL_UNITE_P rol LEFT JOIN rgora1a_res.B05V_ADR_UNITE_EVALN adr ON rol.ID_PROVINC=adr.ID_PROVINC LEFT JOIN rgora1a_res.B05PRP prp ON rol.ID_PROVINC=prp.ID_PROVINC LEFT JOIN rgora1a_res.B05V_LOT_CADST lot ON rol.ID_PROVINC=lot.ID_PROVINC LEFT JOIN rgora1a_res.SIGAT_CODE_GENERIQUE_ADRESSE cd_gen ON adr.RL0101E=cd_gen.CODE LEFT JOIN rgora1a_res.SIGAT_CODE_LIEN_ADRESSE cd_lien ON adr.RL0101F=cd_lien.CODE