Replies: 2 comments 2 replies
-
You should do your own benchmarking (and let us know what you find). The numbers we see for the Thin mode are great - see the release announcement for some data. But there are different implementations of functionality compared with the Oracle Client libraries, and there is a different interplay with Python's GIL, so you might seen somethings better, and others different. If you don't want Thick features, there are no particular drawbacks to only using Thin mode. The name change was overdue. The mix of snake & camel-cases was a pain. Although unique, it didn't reflect what the driver did. The use of 'cx' in Oracle-land leads you to https://www.oracle.com/cx/ (which has nothing to do with cx_Oracle). The new name also aligns with the Node.js node-oracledb driver. |
Beta Was this translation helpful? Give feedback.
-
Hi, @mkmoisen, Chris beat me to it. :-) As Chris mentioned, it very much depends on what data you are fetching/inserting/updating in your scenarios. One of the significant benefits of the thin driver is the reduced memory and CPU usage -- mostly due to the fact that the thin driver has direct access to the network buffers, thereby eliminating a copy and conversion step that the thick driver has to take. This frequently translates to a noticeable difference in performance. Please do let us know what you find! |
Beta Was this translation helpful? Give feedback.
-
Hi @anthony-tuininga
Is there any performance implications by using the thin style instead of the thick style?
Assuming there is no performance implications, and I don't use any of the features that require the thick style, are there any other draw backs to converting my application to the thin style?
Most importantly, why did you change the name from cx_Oracle? I've been using it a long time, it will be an adjustment to remember to import
oracledb
going forward :).Beta Was this translation helpful? Give feedback.
All reactions