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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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