Hi
We are experiencing very slow data writes from SQL into SAS.
Platform:
SQL Server 2016 in Azure (IAAS)
SAS Environment on RHEL 7
SAS 9.4
Access SQL Server using ODBC
I have put a table in SQL that has 2.1million rows~ with 537 columns
So i assing the 2 Librarys in EG one that is on SQL server once on NFS Shared storage and run the following:
options FULLSTIMER;
data PERFDTA2.BS1_SQL2DATA2_1DAYDATA2_4;
set SQLTEST.BS1_1DayData_PERFTEST (obs=100000);
run;
This writes 100k rows in 21seconds
If i run the same command without the obs:
options FULLSTIMER;
data PERFDTA2.BS1_SQL2DATA2_1DAYDATA2_4;
set ALPSNDBX.BS1_1DayData_PERFTEST;
run;
So it selects the entire table in SQL 2.1Million rows~ it then takes 1hr 45minutes.
Can anyone advise why the scale up?
I even killed the job earlier inadvertantly and it had written 400k in 4 minutes. I don't understnad why when the voilume goes up so much the time is insanely long.
Any additionaly information required please let me know.