09-13-2015 02:28 AM
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.
09-13-2015 04:17 AM - edited 09-13-2015 04:48 AM
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: