BookmarkSubscribeRSS Feed
Opa4ki
Calcite | Level 5
Hi.

Will be there or not any difference in perfomance in following situation.

I have two tables.
Table A has three columns and 10G in size. I need data from two columns 'a' and 'b'.

Table B has 50 columns and 100G(or more) in size. It has the same 'a' and 'b' columns and same data in them.

If i'll use code like this

data SOMETHING;
set A(keep=a b);
something;

data SOMETHING;
set B(keep=a b);
something;

Would it be any difference in performance?
Or it doesn't matter which table I'll read - Big or Small. Message was edited by: Opa4ki
2 REPLIES 2
milts
Pyrite | Level 9
Hi,

You might want to test it yourself by adding the fullstimer option. Then try to compare the results.

Best Regards,
Milton
Patrick
Opal | Level 21
I would expect that reading table A performes better as there should be less i/o.
As mentioned already fullstimer would give you some real values.

There was lately a interesting discussion in the SAS newsgroup which also might give you some insight:
http://groups.google.com.au/group/comp.soft-sys.sas/browse_thread/thread/7cc579c99df3badc?hl=en

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 766 views
  • 0 likes
  • 3 in conversation