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

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -