Skip to main content
April 11, 2026
Solved

Data retention and deletion

  • April 11, 2026
  • 2 replies
  • 2 views

As shocking as it may seem, someone has decided that we actually should delete data from OneStream. In this case, we've been instructed to retain a maximum of five years of data. Everything older than that must be expunged.

Manual, painful, detailed steps aside: is there a good way to clear all old data that I just have never learned about because I have never actually worked with an org who was willing to let go of even one byte of information?

I can manually delete the cube data with enough work (clear rules, consols, the odd custom rule or update to a member formula.) I can delete stage source data with even less work, though its still a bit tedious to click through a bunch of workflows. I haven't yet looked into how to delete stage target data; I'm hoping to find an easy solution but I'm also hoping someone will just tell me so I don't have to learn the hard way. What other data have I not even thought of yet? How do I get rid of it?

Going forward, after we finish our year-end close, I suspect the next step for we admins will be to clear the oldest year. Ultimately, I'll have to write this into a guide that those who come after can follow but there's still lot I don't know that I don't know.

Best answer by KH1


We set up "Reset Scenario" Jobs by S# by Yr.

 

2 replies

April 11, 2026

We use OS for FP&A with regular corp reorgs. Hence, we need to regularly "wipe clean" some of our datasets.
1. We have been using "Reset Scenario" DM Jobs to "wipe clean" selected datasets as linked below.
- DM Jobs - "Reset Scenario"
- Clear Stage Data and Cube Data
2. As a back-up, I suggest making a copy of the current app if enough storage in your non-Production environments.
- Application Copy: Service Catalog - OneStream Customer Portal

photonAuthor
April 11, 2026

I don't think a scenario reset will work for us as we definitely want to keep most of our Actual data, just for one example. We want to selectively purge one year of data across every scenario, not purge one scenario absolutely.

I did consider making a "storage" scenario that would hold a backup of a scenario so I could reset the original scenario, then import all but the oldest year of data from the copy, then reset the copy itself. However, that loses a lot of other audit data, drillback info, stage data, etc. that we'd rather keep for those years that are still recent enough to retain.

KH1Answer
April 11, 2026


We set up "Reset Scenario" Jobs by S# by Yr.

 

photonAuthor
April 13, 2026

Looking around a little more, I still see millions of rows in stage. A reset didn't clear those. Is there an existing way to clear old years of those?

April 13, 2026

I suggest setting up additional "Reset Scenario" DM Jobs using a range of Yrs by S#.
- Stage tables are critical to the "Data Integrity" in OS apps.
- The best option is to use new RS Jobs to safely "wipe clean" your apps' many Stage tables in OS.

photonAuthor
April 14, 2026

I'm thinking I may have just misread my own stage tables. I had manually cleared a few years of stage from the most common scenarios before I started using the Reset. As I ran the Reset for more and more scenarios, I expected to see the total rows shrinking. However, I was apparently more thorough in my manual deletes than I realized as there's no data in stage prior to the years I want to keep. (What I suppose this means is I know my data and cleared exactly what needed to be cleared. I just wouldn't have needed to do it if I'd used the Reset first.)