Simple 9 ways to minimize the I/O operations and improving SAS performance :
As we all know that the factor that usually slows down the performance of SAS programs is Input/output (I/O). The execution of the programs will speed up by reducing I/O and ultimately reducing the costs.
So there are 9 ways to minimize the I/O and saving ultimately improving the performance of SAS program. They are listed below:
- Try maximum to use the LENGTH statements wherever possible in order to minimize the variable length
- Try to use CLASS statement rather than BY statement wherever possible as it might require a SORT
- To minimize the observation length, one should use DROP and KEEP statement
- There is no need to use SORT unnecessary. Use SORT only when it is required
- Try to create multiple data sets within on DATA step whenever it is possible
- Use WHERE statements with procedures. This is to be done in order to avoid the subsetting in a DATA step followed by a procedure
- When you don’t want to create a data set, use the _NULL_DATA_step. This usually arises when you tend to simple calculations or might want to create an external file or to produce a report
- One should compress some of the large SAS data sets. But at this very moment, should be aware that compression can use more space in some cases as a result it may affect the SAS programming efficiency ultimately increasing the I/O
- When you develop any program or test the program, always perform the task on a small subset of data
Note:
Keep in mind that this list is wide-ranging and complete. These are few
attempts to provide ideas to reduce I/O. All of the points may not
reduce I/O time always.
Epoch Research Insitute Links:
Email us: info@epoch.co.in
SAS Training & Placement
Programs with Internship: Epoch Research Institute India Largest and Oldest
#SASTraining Institute (#epochsastraining)
EPOCH RESEARCH INSTITUTE OFFERS:
Authorized SAS TRAINING | SAS
CERTIFICATION | SOFTWARE PURCHASE | BUINESS CONSULTING | TECHNICAL SUPPORT ON
SAS || SAS STAFFING SOLUTION
Label:
#SASELEARNING,#SASELEARNING,#SASONLINETRAINING,
#SASONLINETRAININGFORBEGINNERS,#LEARNSASPROGRAMMINGONLINE,
#SASCLINICALONLINETRAINING,#SASBASEONLINETRAINING
#BIGDATASASTRAININGEPOCH,#SASBIGDATATRAINING
#EPOCHRESEARCHINSTITUTE, #SASTRAINING, EPOCH SAS FEEDBACK,
No comments:
Post a Comment