You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does does indeed allow the query to run. Requires that ORA_OCI_NO_OPTIMIZED_FETCH = 1 is set prior to loading the oracle client Thanks Anthony.
As ORA_OCI_NO_OPTIMIZED_FETCH = 1 will be set for the entire run time of the app, what does it actually do? It may be there but I didn't find any reference to it in the OCI docs.
It disables "optimised" fetch. This is a mode that allows repeated values to be replaced by a simple bit vector -- so a simple compression approach. For data that is sent across a wide area network the difference can be substantial, but for data sent over a fast local network the difference is neglibile. There is a known bug that causes repeated rowid values to crash the client. If you can avoid fetching repeated rowids this environment variable is not needed. Hope that explains things adequately!
Node process simply ends when selecting ROWID if query has joins.
Pre-requisite
Failing query. Node process just ends -- no error messages, no catchable exceptions, nada!
Note that the above query works in sqlplus.
Successfu query. Don't select a ROWID.
Oracle version: Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
process.platform: win32
process.version: v18.12.1
process.arch: x64
require('oracledb').versionString: 5.5.0
require('oracledb').oracleClientVersionString: 12.2.0.1.0
The text was updated successfully, but these errors were encountered: