BookmarkSubscribeRSS Feed
Pyrite | Level 9


I would like to know if there is a limitation regarding the size of an OLAP cube?


SAS Employee

There is no technical limit to the size of an OLAP cube.  However, there may be environmental limits (disk space, memory, etc.) as well as practical considerations (does a cube really need 25 years of history, or is 5 years enough)?  I would also ensure that large cubes are tuned properly with all of the proper aggregations to maximize performance.

Pyrite | Level 9

Thanks for this clarification! Smiley Happy

Tourmaline | Level 20

There are very few limitations for SAS OLAP Cubes.

The only ones I come to think of is number of herarchies (128) and measures (1024).

In my opinion they are no real life limitations. I can't see an end user chsoing between thousands of measeures and hundreds of hierarchies...


Data never sleeps
Pyrite | Level 9

Thank you for your responses. But have you encountered an out of memory error when viewing reports with an OLAP data source? Which configurations can I check? Is there a limit if the environment is 32-bit versus 64-bit Windows?

Tourmaline | Level 20

Maybe you could track this to SAS support.

Some monitoring is available in the OLAP Server Monitor plug-in for SAS Management Console.

Also check the IP admin docs:

Data never sleeps
Calcite | Level 5

It happened to me once and increasing the JVM's initial memory helps. Trying increasing the -Xmx and -Xms parameters when launching the OLAP server.

Fluorite | Level 6

We recently got out-of-memory errors when opening cubes after upgrading from SAS V9.2 M1 to M3 and from Web Report Studio V4.2 to V4.3.

Turns out that we were unknowingly selecting ALL fields in the cube for display in Web Report Studio via the Select Data panel, instead of selecting say 2 or 3 dimensions and a few measures.

And so selecting all fields caused the OLAP server to generate a CROSSJOIN for all dimensions (say 25 of them) and all measures. With 250,000 rows, this blew the Java VM memory allocation every time, regardless of how much memory was allocated.

Calcite | Level 5

128 dimensions is a limit for financial services :smileycry:

  • max measures / cube = 1024
  • max dimensions / cube = 128
  • max levels / cube = 256
  • max levels / hierarchy = 19
  • max properties / level = 256
  • max members / hierarchy = 2^32
  • max unique values / cube = 16.777.215 (hotfix required)
SAS Employee

Also, see the topic "SAS OLAP Cube Size Specifications" in the SAS OLAP Server User's Guide. 

This topic discusses size specifications for dimensions, hierarchies, levels, measures and properties.



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 9 replies
  • 7 in conversation