DATA Step, Macro, Functions and more

data load FTP or Database pro cons

Reply
Contributor
Posts: 55

data load FTP or Database pro cons

Hi ,

 

We have a lot of tables and can choose to load them directly from the different source databases or exportet data to FTPs site. Sometimes it is small dataset but also 6 mio records.

 

What do you recommend to use if possible? pro and cons? eg. in relation to performance and security and other??

 

Thanks in advance.

Super User
Posts: 6,928

Re: data load FTP or Database pro cons

From experience, unloading into a flatfile and reading that poses the least problems and has several advantages:

- the unload can be performed in the database under control of the DB when load is low, making DB admins happy

- no SAS license for ACCESS to RDBMS is needed

- no DB client needs to be installed and maintained on the SAS server

 

For optimum performance, I would do the unload (inlcuding storing the flatfile) on the DB server, and retrieve the file with filename FTP from there; this necessitates only one network transfer, which is usually the bottleneck. Using a third (FTP) host moves the data over the network twice.

 

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Ask a Question
Discussion stats
  • 1 reply
  • 83 views
  • 0 likes
  • 2 in conversation