Comments (4)
No, oracle_fdw has no support for an "are you still there?" query. I don't see the benefit of such a query: if the test query hangs and runs into a timeout, are you any better off than if your actual query hangs?
Issue #603 is somewhat similar. Perhaps the remedies that Phil suggested there can help.
Another thing you can do is to change the TCP keepalive settings on the machine where PostgreSQL is running. Very often, that is enough to combat a broken network setup like yours. On what operating system is the PostgreSQL server running?
from oracle_fdw.
Hi,
Yes, just configure sqlnet.expire_time to 5 (=> in fact a value strictly inferior than that of your firewall timeout) in $ORACLE_HOME/network/admin/sqlnet.ora server side and that's all. It is an Oracle recommendation. Problem is that the default value of this parameter is not the recommended one for historical reasons. I solved many "strange" network issues simply with that parameter.
You can have some issues since Oracle switched from an internal feature in 11g to the OS TCP keepalive feature in 12c+ and it was bugged. But if your system is patched with latest release updates it should be OK.
Best regards,
Phil
from oracle_fdw.
Many thanks !
I have a solution. You should set kernel parameters on both the PG Server and the Oracle Server. If I only set the parameters on PG server, this problem happens again.
Example:
vi /etc/sysctl.con
net.ipv4.tcp_keepalive_time = 60 ###lower than firewall timeout
net.ipv4.tcp_keepalive_intvl = 10
net.ipv4.tcp_keepalive_probes = 6
from oracle_fdw.
Thanks for the feedback!
from oracle_fdw.
Related Issues (20)
- LIMIT is not pushed down in JOIN query HOT 8
- Import foreign schema limit to is not passing table names to Oracle query HOT 4
- A questions about the development of Postgres Extension Development. (No related to this project.) HOT 2
- Internal oracle_fdw error: encountered unknown node type 164. HOT 3
- oracle_fdw error when upgrading postgres 11 to postgres 15 on almalinux8 HOT 11
- oracle_fdw-ORACLE_FDW_2_5_0 not able to make HOT 7
- Issue with Installing on Postgres16.1 on same server as Postgres15.5 HOT 4
- Does oracle_fdw support LOAD_BALANCE or FAILOVER HOT 7
- in windows, trying to build oracle_fdw but all header files are "No such file or directory" HOT 2
- Cannot connect to foreign Oracle server HOT 6
- oracle_fdw cannnot load clobs larger than 21kbytes HOT 66
- cannot make oracle_fdw HOT 12
- Could not open extension control file HOT 7
- Encountered make issue related to missing oci.h file HOT 5
- Speed issue HOT 5
- make command raise error while installing oracle_fdw HOT 24
- Unable to compile oracle_fdw HOT 3
- create extension HOT 8
- Oracle client library (oci.dll) not found - Oracle Fdw HOT 29
- Crash fetching CLOB columns with Oracle Client 21 HOT 9
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 oracle_fdw.