Microsoft
Software
Hardware
Network
Question : SELECT statement never completes over db_link
Here's the setup.
I have a a timekeeping application written in Forms 4.5 running on Oracle 8.1.7.4 on HP-UX 11.00 (yes, it's very old).
This application validates work orders (among other things) against a work management system - two different installations of the work management systems in fact.
One site validates to an Oracle database (9.2.0.7 on HP-UX 11i v1) via a DB Link.
The other site validates to a SQL Server 2005 database via a DB Link using Oracle Heterogeneous Services as the transport.
It's been working fine for 6 months. Today, things went a little haywire.
Queries validating against tables other than the work order table work fine. As soon as we hit the work order table, it times out and stops responding - when querying against either work management system.
The common denominator is the timekeeping database so we bounced it. No change.
To throw another monkey into the works we have a clone of the timekeeper server (same configuration) that we've been using to test some other stuff. It only has a link to the SQL Server database. I can query the work order table on the SQL Server database from the clone just fine.
Even a simple SELECT COUNT(*) sits and spins forever and never returns.
Looking for any assistance or ideas as to what might be going on here. Since the clone server works, I'm thinking that there's something on the original server that's not quite right. I may even try rebooting it tomorrow. (It did do an automated reboot on Saturday night and even though the system log and the oracle alert log all show no abnormalities, I wonder if something screwed up in there somewhere...)
Answer : SELECT statement never completes over db_link
this result you get when session is hung??
if so your way seems to be the one from Finding Blockers section of Note 34579.1
Random Solutions
Setting Reporting Services data driven subscription Using Web Service
Key combination split desktop into 4
PHP printer
How to avoid zero(s) in front of number(s) disappears in array
generate a report of excel files with links
ASP - Masterpage issue with Home.asp
How To Check Packets for Urls
redirecting content from client to server
IE sometimes fails to connect, gets worse with time since reboot
Blackberry browser 400 error - socketexception Connection reset