Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

OLE DB provider "OraOLEDB.Oracle" for linked server "OFAP" returned message "ORA-12592: TNS:bad packet Expand / Collapse
Author
Message
Posted Tuesday, February 19, 2013 3:22 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, April 9, 2014 8:38 AM
Points: 2, Visits: 47
Please help us on the below issue
We have a linked server which fetches data from Oracle 11.2.0 (which was migrated from Oracle 10g to Oracle 11g and platform also got migrated to exadata) to SQL server(SQL Server 2005 SP2) . Using openquery when we try to fetch data we are facing the below issue

“OLE DB provider "OraOLEDB.Oracle" for linked server "OFAP" returned message "ORA-12592: TNS:bad packet".

If we run the same query by removing 2 columns containing Varchar (240), the data is coming properly within 5 secs.
Did anyone came across this error before & how to troubleshoot .We really appreciated with all your help
Post #1421508
Posted Tuesday, February 19, 2013 3:27 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, April 9, 2014 8:38 AM
Points: 2, Visits: 47
1) We have extracted the query from stored procedure and executed on SQL server where it is getting hanged after fetching 11K records (Out of 26 K records).
2) The same query when executed in Oracle server (OFAP) was giving the result in 10 sec with a record count of 26K.
3) We have removed two columns from the select list which contains the major data size (Varchar 250) and was executed on SQL server Instance which fetched 26 K records in 11 to 15 sec.
3) On further dig-up we have used Substring to limit the character from the two columns to return 12 characters, 12 K records were fetched before the session got hanged up.
4) Network packet size in SQL Server :- We have increased the packet size from 4096 to 8192.
Post #1421512
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse