cx oracle - Python - Usefulness of threads with cx_oracle -


based on following context:

  • open connection oracle database
  • execute 1 select query
  • close connection

is useful use threads handle database connection , query execution? library cx_oracle manage enough trust execution?

for example, in case of database being on loaded (by other connections), keep connection open undefinetly? other scenario case: query has conditions, limit number of rows. if number of rows increase drastically, query take more time execute. useful thread query execution, following post.

i have seen cx_oracle can combine threads multiple insertions, or more complex software. in simpler case, wonder...

thanks lot.


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -