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...

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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