-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Recently upgraded to 6 from 5.5 and had an issue with SELECT processing for a query that returns 1,500 rows. Query has approx 30 columns in select and no joins - columns just contain NUMBER and VARCHAR2 types. The query does have an IN clause and 3 (where/and) conditions. Query returns in 1.5 seconds in TOAD client. Inside app, query would just hang - eventually web server thread would drop and call would terminate. I read some other posts about issues with 6 and tried setting fetchArraySize. Initially, that param was not set. I set it to 5, restarted node and re-ran the query in app - result came back in sub-second. Concerned about the impact of this and all downstream effects, I removed the param and rolled back to 5.5.0 and everything was functioning normal again. Before rolling back, I also played with memory allocated on nodejs server and that did not have an impact. I work on a very large - mission critical app - and the DB/Oracle layer plays a major part in every aspect. I don't have the cycles to disect what's going on with this. I would think this would be enough info for you all to figure this out. I have been using this driver for a long time and never had any issues.
oracledb: Upgraded to 6.0.0 from 5.5.0
Oracle: 19.14.0.0.0
Node: 17.4.0
OS: Windows