SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
BlayLay
Obsidian | Level 7
Hi All,

Quick question: is it normal to see very slow performance when utilizing ‘export as a step’ functionality, when exporting a 4M-row 20-column dataset to a mapped network drive? I’m talking several hours…I’ve read on other posts that saving locally versus on the SAS server, although this network drive is more “local”. I’ve also seen others suggest PROC EXPORT. Is there anything I can do to improve performance, or is this simply the reality with such a large dataset?

I’m back to SAS EG 8.3 although I’m dreading the SAS Viya migration…
1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

At the moment you have two concurrent network streams competing for bandwidth: the download from your SAS server to EG, and the output from EG to the network share. If the share is also available on the SAS server, writing to it directly with PROC EXPORT (or a DATA step you write yourself) will perform better.

View solution in original post

3 REPLIES 3
ballardw
Super User

What does the log show, including the code?

 

"Normal" may depend on your network configuration and/or traffic load and possibly space available on the network drive. I would say that sounds excessive though.

I would discuss this with your IT folks to see if they know there are any issues with performance on that drive.

 

I used to make copies of shared data sets on my local drive that only had 4500 observations though a couple hundred variables because the network as configured was just plain slow and reading those for something like Proc Freq could take 15 or more minutes. Since I was using those sets literally 100's of procedure calls daily that performance was unacceptable. IT eventually upgraded the drives and network and the performance became usable.

SASKiwi
PROC Star

Are you by any chance exporting as a CSV and using the GUESSINGROWS option? This option is SLOW if done on the lot of data. Check your SAS log to confirm if this is being used. It would also be a good idea to post the log of this step in your post so we get a better idea what is happening.

 

It would also be a good idea to discuss this problem with your SAS administrator who would have a better idea of your network performance.

Kurt_Bremser
Super User

At the moment you have two concurrent network streams competing for bandwidth: the download from your SAS server to EG, and the output from EG to the network share. If the share is also available on the SAS server, writing to it directly with PROC EXPORT (or a DATA step you write yourself) will perform better.

sas-innovate-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 3 replies
  • 1093 views
  • 2 likes
  • 4 in conversation