Performance of View Zero Out

Post Reply
Emixam
Regular Participant
Posts: 156
Joined: Tue May 21, 2019 3:33 pm
OLAP Product: TM1
Version: PA 2.0.x
Excel Version: 2016
Location: The Internet

Performance of View Zero Out

Post by Emixam »

Hello,
I started a project and one of the requirement was to be able to ViewZeroOut a very large data set (100,000,000+ cells). I never had to ViewZeroOut such a large data set and I noticed it takes around 10min.

I was wondering if there is a rule of thumb in term of number of cell per seconds that are VZO (ex: 50,000 cells per seconds) and what impacts the performance of ViewZeroOut. Any idea how to make it faster ?

I created a view using one of our generic TI with only level 0 and I skipped conso, rule and zeroes in the view creation.

Code: Select all

ViewZeroOut('Cube Test', 'ViewName');
The cube have no rule.

Thanks and have a good day
Wim Gielis
MVP
Posts: 3230
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Performance of View Zero Out

Post by Wim Gielis »

You should always create a view with only level 0 and skipped consolidations, rules, zeroes.

The process }bedrock.cube.data.clear supports parallel clears:
https://github.com/cubewise-code/bedroc ... .clear.pro

That would be my next attempt.
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
John Hammond
Community Contributor
Posts: 300
Joined: Mon Mar 23, 2009 10:50 am
OLAP Product: PAW/PAX 2.0.72 Perspectives
Version: TM1 Server 11.8.003
Excel Version: 365 and 2016
Location: South London

Re: Performance of View Zero Out

Post by John Hammond »

Could be cube logging is on.

Also Much quicker to delete view via supporting dimension element deletion and re-insertion but this is not always possible.

Otherwise Mr Geilis and the bedrock libraries is your best bet.
Post Reply