I moved all my data to the SPDE libraries because I had a remarkable performance improvement in everything. Everything before running proc transpose. It will take ~ 60 times longer to execute in the SPDE dataset than the same dataset that is stored in the regular v9 library. Datasets are sorted by item_id. It is read / written to the same library.
Does anyone have an idea why this is so? Am I missing something important in that SPDE and Proc Transpose do not work well together?
SPDE Libary
MPRINT(XMLIMPORT_VANTAGE): proc transpose data = smplus.links_response_mechanism out = smplus.response_mechanism (drop = _NAME_) prefix = rm_; MPRINT(XMLIMPORT_VANTAGE): by item_id; MPRINT(XMLIMPORT_VANTAGE): id lookup_code; MPRINT(XMLIMPORT_VANTAGE): var x; MPRINT(XMLIMPORT_VANTAGE): run; NOTE: There were 5866747 observations read from the data set SMPLUS.LINKS_RESPONSE_MECHANISM. NOTE: The data set SMPLUS.RESPONSE_MECHANISM has 3209353 observations and 14 variables. NOTE: Compressing data set SMPLUS.RESPONSE_MECHANISM decreased size by 37.98 percent. NOTE: PROCEDURE TRANSPOSE used (Total process time): real time 28:27.63 cpu time 28:34.64
V9 library
MPRINT(XMLIMPORT_VANTAGE): proc transpose data = mplus.links_response_mechanism out = mplus.response_mechanism (drop = _NAME_) prefix = rm_; MPRINT(XMLIMPORT_VANTAGE): by item_id; 68 The SAS System 02:00 Thursday, August 8, 2013 MPRINT(XMLIMPORT_VANTAGE): id lookup_code; MPRINT(XMLIMPORT_VANTAGE): var x; MPRINT(XMLIMPORT_VANTAGE): run; NOTE: There were 5866747 observations read from the data set MPLUS.LINKS_RESPONSE_MECHANISM. NOTE: The data set MPLUS.RESPONSE_MECHANISM has 3209353 observations and 14 variables. NOTE: Compressing data set MPLUS.RESPONSE_MECHANISM decreased size by 27.60 percent. Compressed is 32271 pages; un-compressed would require 44572 pages. NOTE: PROCEDURE TRANSPOSE used (Total process time): real time 28.76 seconds cpu time 28.79 seconds
source share