cx_Oracle has a setting that might speed these up. http://cx-oracle.readthedocs.io/en/latest/cursor.html?highlight=bindarraysize#Cursor.arraysize