BookmarkSubscribeRSS Feed
MSaber
Calcite | Level 5

Dears;

 

our customer has a growning anlytics DBase. The current size for one of its tables is almost 200,000,000 Records. my team tried to do a simple query on the table but it spent more than 30 minutes with no results.

 

can anyone suggest the best approach to access it? Partitioning? cashing?...

 

 

thank you in advance.

1 REPLY 1
SASKiwi
PROC Star

I'm assuming you are talking about a SAS table here since this is a SAS community. Please provide an example of the slow query including SAS log statistics. 200 million rows is not that large. How many columns does it have and what is the physical size of the table in gigabytes?

 

If the table has a lot of columns is it compressed or not? Often simply compressing tables can dramatically improve query performance. There are many other possibilities for speeding up processing but until you provide more information, it is difficult to offer the right advice.

 

You can analyse the performance of your table queries by following this advice:

 

http://support.sas.com/rnd/scalability/papers/solve_perf.pdf

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 1087 views
  • 1 like
  • 2 in conversation