Hello, Angela!
I'm faced with the same problem, which UlfB describes, and unfortunately, I was't able to find the suitable answer in Your reply.
As I understand it, incremental updates or updating in-place are the ways to add new data to existing cube, not to replace it.
Actually, I need to replace (or completely delete) only some portion of cube data without rebuilding the whole cube or creating a new generation of cube.
There is a way to do this?
To keep things simple, I refresh our cube data each month.
By refresh I mean (a) perform a physical cube data file delete, then (b) do an upload step, all using PROC OLAP.
Maybe you can explain why you need to keep the existing data while adding new data, instead of doing a full refresh?
We extract fresh datasets each month, so it's easier just to load that dataset than perform incremental updates.
Hello, boschy!
Our cube is also supplemented by new data on monthly basis.
Each monthly dataset consumes about 80 GB of disk space and it's uploading with PROC OLAP ADD_DATA UPDATE_INPLACE statement takes 3 to 4 hours. So if we will try to make a reload data for a full year, it will take more than a day, and we need much more free space on disks to store the necessary data.
In my opinion this is not a good solution if we need to replace data only for the one month.
OK, that makes sense.
Just curious...How does your 80GB dataset cube perform? I suppose it should be fine if you have the common aggregations defined.
Maybe you could benefit from using a ROLAP strategy for storing the Cube data, which will let you do updates using standard data management tools (SQL, data step etc).
SAS(R) 9.3 OLAP Server: User's Guide
Hi there!
Thanks to all for replies.
I also came to conclusion that a ROLAP aggregations would be the better solution in this case.
But all the same, is there a way to delete a portion of MOLAP cube data without full cube rebuilding?
In accordance with SAS(R) 9.3 OLAP Server: User's Guide: "SAS MOLAP aggregation storage maintains the cube data in the same table format as the format that is used by the SAS Scalable Performance Data (SPD) Engine."
May be it is possible to assign a folder which contains cube data as a library through SASSPDS Engine and then update it directly?
I haven't tested, but I doubt it would work. And if you should succeed to do so anyway, I'm pretty sure that wouldn't be supported by the Institute.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.