BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Patrick
Opal | Level 21

When re-creating the table make sure to use "options compress=yes;"

Network throughput and Disk I/O are very often the bottleneck and I've seen it more than once that using character compression for a table can speed up things quite a bit - especially if there are a lot of character variables with "empty space".

Peter_C
Rhodochrosite | Level 12

Augusto

as you know, you are in a difficult position. You cannot increase the width for new values in $30 column, without rewriting the whole table, except....

If you "close" the old table and start writing new rows to a new table of the same structure, which has that column defined as $50.

When analysing, read both "old" and "new" through a view (just make sure that the wider definition is found first on the concatenation.

PROC SQL might provide the most "transparent" join of the tables (as it would allow an sql query optimiser to reach through an sql view, to any indexes defined for "old" and "new". This is not possible through a data step view).

hope this is useful

peterC    

Augusto
Obsidian | Level 7

Hi Peter. I hadn't thought about that. You are sure I still have a way out. This was very useful indeed.

Thanks all.

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!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 17 replies
  • 16070 views
  • 7 likes
  • 9 in conversation