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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 644 views
  • 0 likes
  • 3 in conversation