Comments (2)
All queries with LIMIT I have ever executed returned very fast. I am not able to reproduce this issue with the given description of the problem. However, there two undefined variables in the code example. One is query
the other is values
. I also do not understand why you use prepared statement without any parameters. You also do not describe which columns your table contains ... How should I help if you do not describe in details what are you doing and provide all the information to reproduce the issue.
What is the result if you do not prepare?
console.time('no prepare');
client.exec("select * from TABLE where A=5 order by B limit 200", function(err, rows) {
console.timeEnd('no prepare');
});
What is the result if you only select A?
console.time('select A');
client.exec("select A from TABLE where A=5 order by B limit 200", function(err, rows) {
console.timeEnd('select A');
});
What is the result if you do not auto fetch complete rows?
console.time('no autoFetch');
client.execute("select * from TABLE where A=5 order by B limit 200", function(err, rs) {
console.timeEnd('no autoFetch');
});
from node-hdb.
Hello Holger,
I should've closed this issue earlier and apologies for providing incomplete information. I should've mentioned that one of the columns in the table was of type NCLOB and I was auto-fetching all rows, instead of using a resultSet. Using a result set and some streaming logic, the fetch times are manageable now.
I am closing this. Thank you for your help and apologies once again.
Best Regards, Abhi
from node-hdb.
Related Issues (20)
- [rl-reuse_tool-1] Violation against OSS Rules of Play
- [rl-reuse_tool-3] Violation against OSS Rules of Play HOT 1
- [rl-reuse_tool-4] Violation against OSS Rules of Play HOT 1
- typescript definitions HOT 2
- SSL support? HOT 3
- TSL handling HOT 1
- README: broken link in product page
- Connection parameters? HOT 2
- Installation issue with npm install -g @sap/hana-client HOT 6
- Invalid parameter: 'parameter (5)' contains different types.
- hdb and hana-client comparison wrt CAP HOT 2
- Data corruption for NCLOB fields
- IpAddress instead of Hostname
- SAP/hana-client architecture issue HOT 4
- Decimal number like .8 cannot be accepted
- Support timestamp seconds precisions with more than 3 fractional digits HOT 1
- Apache License terms contains placeholder names
- Crashes with LOBs with Duplicated Alias
- Server says client version is not compatible
- Insert of blob field from stream.Readable hangs
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 node-hdb.