python - cx_Oracle Statement getting Stuck -
while using cx_oracle(python), code goes waiting when the following statement executed:
some_connection.execute(some_sql)
what reason?
without seeing actual sql in question hard know sure. possible answers include:
1) sql takes long time execute (and have patient)
2) sql blocked transaction (and transaction needs committed or rolled first)
you can find out examining contents of dba_locks, looking @ blocking_others column. can attempt issue same sql in sql*plus , see if exhibits same behaviour.
Comments
Post a Comment