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

 

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
  • 1 reply
  • 731 views
  • 1 like
  • 2 in conversation