-
Notifications
You must be signed in to change notification settings - Fork 362
Description
We noticed a performance problem when using CLOB columns versus LONG columns. This problem does not occur with JDBC drivers.
Test scenario:
- table with one CLOB column
- 8192 rows with one column containing
'abc' - querying with cx_Oracle: 31186 ms
- querying with OJDBC: 359 ms
I already wrote a StackOverFlow question where you can find the exact code I used:
-
What is your version of Python? Is it 32-bit or 64-bit?
Python 3.6.2 (default, Jul 31 2017, 10:36:59) on Linux -
What is your version of cx_Oracle?
cx_Oracle-5.3 -
What is your version of the Oracle client (e.g. Instant Client)? How was it installed? Where is it installed?
Oracle client Release 11.2.0.4.0 -
What is your version of the Oracle Database?
Oracle Database 12c Enterprise Edition 12.1.0.2.0 64bit -
What is your OS and version?
Linux - SLES11 -
What compiler version did you use? For example, with GCC, run
gcc --version.
gcc 4.3.4 -
What environment variables did you set? How exactly did you set them?
-
What exact command caused the problem (e.g. what command did you try to
install with)? Who were you logged in as?
normal user (not root) -
What error(s) you are seeing?
very slow query performance with big datasets containing column "CLOB"