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
{{ message }}
Repository navigation
Does/will oracledb support SQL*Net compression in thin mode? #324
We're accessing an Oracle DB over the WAN. Yes, this is not ideal but it's a business requirement. To improve the performance, we would like to turn on SQL*Net compression. Is this possible with thin mode? We don't want to use thick mode because we are running this in AWS Glue.
@anthony-tuininga the motivation is the same. We want to use SQLNET.COMPRESSION. However, since we are not using the thick client, there has to be an equivalent parameter on the thin client.
Essentially, we want something equivalent to the Content-Encoding header of the HTTP protocol. I understand from the Oracle documentation that this is supported by the server as long SQLNET.COMPRESSION is set correctly on both the client and the server. When using the thick client (InstantClient), this is set in sqlnet.ora. When using the thin client, the client-side functionality has to be implemented in the Python code.
Activity
anthony-tuininga commentedon Apr 17, 2024
It is not currently supported. Is what you are requesting relevant to this post?
HayDegha0917 commentedon Apr 23, 2024
@anthony-tuininga the motivation is the same. We want to use
SQLNET.COMPRESSION. However, since we are not using the thick client, there has to be an equivalent parameter on the thin client.Essentially, we want something equivalent to the
Content-Encodingheader of the HTTP protocol. I understand from the Oracle documentation that this is supported by the server as longSQLNET.COMPRESSIONis set correctly on both the client and the server. When using the thick client (InstantClient), this is set insqlnet.ora. When using the thin client, the client-side functionality has to be implemented in the Python code.cjbj commentedon Apr 23, 2024
Noted.
The decision may be out of our hands, but we'll add the request to our list to review with the appropriate people.