Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Cx_Oracle 8.0.1 - `DPI-1057: buffer size too large` inserting into a CLOB #480
Comments
|
Can you help us by giving more context - and a runnable example (with less data!)? Where/what is load2table? https://github.com/Fxztam/roogeos/search?q=load2table.py doesn't help, and neither does a google search. |
|
Sorry for the delay: The GeoJSON file length is 1,964,808,393 bytes (and I cannot cut it) and it means the:
The code source is from here: https://github.com/Fxztam/roogeos/blob/master/RingOfOraGeo/orageojson/load/load2table.py
so I cannot load this large GeoJSON Feature Collection into OracleATP CLOB with Cx_Oracle .. ? Thanks and regards, |
|
To insert (or read) data over 1 GB with LOB columns, you need to stream the data in chunks, see Streaming LOBs (Write). |
|
Thanks, I will try it. |
Hello,
I am trying to load GeoJSON data with Python37 & cx_Oracle 8.0.1 into my ALways Free 19c OracleATP (Frankfurt)
with module: load.load2table.py from my
Ring of Oracle GeoJSON: https://github.com/Fxztam/roogeos andget:
_$$$ Error load.load2table(insert into ldgeojson) : DPI-1057: buffer size of 1964808393 is too large (max 1073741822) Traceback (most recent call last): File "..\orageojson\load\load2table.py", line 23, in load2table values ( :clobdata )''', clobdata=geojson) cx_Oracle.DatabaseError: DPI-1057: buffer size of 1964808393 is too large (max 1073741822)_Is there a way or good tip to solve it?
Thanks and regards,
Friedhold