GithubHelp home page GithubHelp logo

Comments (4)

cjbj avatar cjbj commented on June 10, 2024

@meenmo start by checking the doc in the help URL shown in the error message: https://python-oracledb.readthedocs.io/en/latest/user_guide/troubleshooting.html#dpy-4011

from python-oracledb.

meenmo avatar meenmo commented on June 10, 2024

@cjbj Thank you for your comment!

My ultimate goal is to utilize the recently released aysnc feature.

According to this article, thick mode will not support asyncio. Changing to TLS is not an option for me, as I am not a server-side DBA.

Is there currently no way to use async?

from python-oracledb.

anthony-tuininga avatar anthony-tuininga commented on June 10, 2024

Thick mode cannot support asyncio as there is no direct access to the socket, so no way to handle events from I/O. And thin mode doesn't support NNE currently. So at the moment you cannot use asyncio with that database, unfortunately. Although you could use a thread pool to make use of asyncio manually my own experiments with that have shown that the performance is much worse than the normal synchronous approach -- so not much point in doing so!

from python-oracledb.

cjbj avatar cjbj commented on June 10, 2024

Closing as answered - we recognize the issues that are pain points.

from python-oracledb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.