BookmarkSubscribeRSS Feed
LuisLeiteBR
Obsidian | Level 7

Hi everybody!

I´m using Dataflux Data Management Studio 2.6 to connect and join 6 tables (same database) that came from an Oracle Server.
- ODBC connection using Dataflux 32 bit Oracle Wire Protocol

The job is totally functional when we limit the number of registries (about 1000) and the result is OK.

However, when we use the entire load, we´re usually receiving an Connection Dead Error like this below:

"[24:SOURCE_ODBCSQL:Lê ARQUIVO_RAIS] [08S01] [DataFlux][ODBC Oracle Wire Protocol driver][Oracle]Connection Dead. (-4)"

 
I would appreciate any information or guidance in resolving this situation.

2 REPLIES 2
RonAgresta
SAS Employee

Hi - it's hard to tell what's going on without additional information but here are some thoughts:

 

  • Have you monitored the database activity on the Oracle side when you run the job with a larger number of records? It may give you some clues about long-running queries.
  • You can potentially use a SQL node in DM Studio to execute join logic in the Oracle database rather than joining tables in DM Studio.
  • There are some options in DM Studio join nodes to load tables into memory to improve join performance. This works best when one of the tables in the join is relatively small - that one should be loaded into memory.
  • You can turn on advanced "DAC" logging that will give you detailed information about what's going on in the data access layer of DM Studio. The documentation describes how to do this.

Ron

LuisLeiteBR
Obsidian | Level 7

Thank´s Ron,

 

I´ve turned on advanced "DAC" logging (TRACE) and can´t find any explicit reason for the problem.

So, now we are mantaining contacts with our DBA for monitoring that long-running queries. 

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 940 views
  • 0 likes
  • 2 in conversation