I have one workflow in Informatica Powercenter for transferring data between Informix and Oracle. Informatica needs about 20 seconds to do this work (6 tables, daily updates filtred by current date).
I tried to achieve the same in Python using JDBC... And this way it's extremely slow...
For example, the first of these tables - it's about 100000 rows/day - in Python fetching even 10000 rows takes about a minute.
Is it normal that Informatica is so much quicker? Can I somehow speed up my Python script?
example:
import jaydebeapi
conn = jaydebeapi.connect("com.informix.jdbc.IfxDriver",
"jdbc:informix-sqli://server:port/cms:INFORMIXSERVER=x;user=x;password=x",
["chancel", "chancel"],
r"C:\app\informix-jdbc-complete-4.50.4.1.jar")
curs = conn.cursor()
curs.execute("select * from table")
curs.fetchall()
Multiple factors can be a reason for 'Why Informatica is faster' -