BookmarkSubscribeRSS Feed
Ganeshk
Obsidian | Level 7

Hi All,

 

I assigned library name for SQL DB as shown below:

 

Libname SQLDB ORACLE user=ABCD pass=1234 Path="SCHEMA_123" insertbuff=50000 dbcommit=50000 schema=1234

 

If i run any SQL part of code to create table in that library, connectivity is getting diconnected. so abnormal termination happens with limited observation.

 

so i removed insertbuff=50000 and processed,

 

Libname SQLDB ORACLE user=ABCD pass=1234 Path="SCHEMA_123" dbcommit=50000 schema=1234

 

now connectivity is good but computation time is more than a day its taking to create table.

 

Please suggest to compute efficiently. 

 

Thanks,

Ganesh K

2 REPLIES 2
Patrick
Opal | Level 21

May be try a lower value for insertbuff to figure out the optimal value for your site.

 

From the documentation:

Capture.PNG

http://support.sas.com/documentation/cdl/en/acreldb/69039/HTML/default/viewer.htm#p06u7eb5ienq5in1wq...

 

 

SASKiwi
PROC Star

Please post the SQL code you are using to create the Oracle table and tell us how many rows of data you are loading. If your row count is large then you may want to consider bulk loading:

 

http://support.sas.com/documentation/cdl/en/acreldb/69039/HTML/default/viewer.htm#p0ewb0agff5a1vn1mq...

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 986 views
  • 0 likes
  • 3 in conversation