Comments (7)
too bad.
i wrote down an item for myself to check and see if i can do something about the performance, because I believe there is some solution there.
from simple-oracledb.
Ya the performance should be not as good since i have to use getRow one at a time. However not sure about your numbers, will run some tests as well when i have time.
The stream is meant to save on memory, not time. So the decision on what to use is case by case basis.
from simple-oracledb.
by the way if you don't have LOBs in your query, check the connection.queryStream in the original oracledb library.
I wrote it as well, but there I don't convert LOBs to string/buffer so it should be a bit faster and give you same functionality.
from simple-oracledb.
@sagiegurari thank to your notation
no i have not any LOBs type column
is that you mean time mybe decrease and stream be faster than non stream query ?
from simple-oracledb.
if no LOBs, try using connection.queryStream and see if it improves your overall performance instead of connection.query.
from simple-oracledb.
@sagiegurari ok i check it
from simple-oracledb.
no sensible effect :)
thank you
from simple-oracledb.
Related Issues (20)
- increase select query performance HOT 5
- is there any possiblity to add stream result on "connection.transaction" ? HOT 4
- is there any possibility to quickly gets row id that inserted newly to table ? HOT 1
- take clue from pg-promise for promise support HOT 7
- query function returns columns with value null as undefined HOT 3
- change object streams into text stream HOT 1
- Examples HOT 4
- TypeScript Definition Files HOT 3
- delay in fetching data issues HOT 10
- When executing batchInsert, DB errors are not available in the callback err param HOT 3
- ResultSet HOT 2
- investigate performance improvement by using new executemany HOT 10
- investigate performance improvement by using new ping instead of select from dual HOT 1
- Error: Callback not provided HOT 5
- Problem with getConnection() if server doesn't respond to validationSQL HOT 9
- bound param of value null causes error HOT 12
- DPI-1040: LOB was already closed HOT 19
- query command return only first 100 row HOT 1
- is simple oracledb or oracledb delete null column result ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-oracledb.