I know we use tm1 views to viewzero out data or clear data in the cube based on the view.
What is the advanatage of having views, is it temporary storage? and how does it work in relation to view zero out. Does it ensure data validation by zeroing out and adding back specific data.
Thanks,
Use of Tm1 Views
-
- Site Admin
- Posts: 1458
- Joined: Wed May 28, 2008 9:09 am
Re: Use of Tm1 Views
How would you propose to clear the cube area without defining a view?I know we use tm1 views to viewzero out data or clear data in the cube based on the view.
What is the advanatage of having views, is it temporary storage? and how does it work in relation to view zero out. Does it ensure data validation by zeroing out and adding back specific data.
What makes you think that viewzeroout 'adds back specific data'? It clears the area of the cube defined by a view.
-
- MVP
- Posts: 3240
- 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: Use of Tm1 Views
Having large views for doing zeroouts manually (on the cube itself) is not a good practice.
Chances are that a user opens up such views and consumes a lot of memory.
Better would be to script certain zeroouts in Turbo Integrator, building up temporary views and subsets, doing a zeroout, and then destroying the views and subsets again.
If you do not use the views, they do not take up memory. Don't have them sitting around in the TM1 database.
Chances are that a user opens up such views and consumes a lot of memory.
Better would be to script certain zeroouts in Turbo Integrator, building up temporary views and subsets, doing a zeroout, and then destroying the views and subsets again.
If you do not use the views, they do not take up memory. Don't have them sitting around in the TM1 database.
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
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
-
- Community Contributor
- Posts: 219
- Joined: Mon Jul 23, 2012 8:31 am
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2010
Re: Use of Tm1 Views
Hi Wim,
Does that mean that when you've restarted TM1 Service, that TM1 will trawl through all of your Views and load them into Memory?
Or does the view only go into memory once a user/process calls the view?
If so, might explain some of our growing Cube issues...
Does that mean that when you've restarted TM1 Service, that TM1 will trawl through all of your Views and load them into Memory?
Or does the view only go into memory once a user/process calls the view?
If so, might explain some of our growing Cube issues...
-
- Site Admin
- Posts: 1458
- Joined: Wed May 28, 2008 9:09 am
Re: Use of Tm1 Views
Views are not automatically loaded into memory on startup. If you want this to happen (and it will help performance for users) you should specify a startup chore to include a set of ViewConstruct commands.
-
- MVP
- Posts: 3240
- 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: Use of Tm1 Views
As David pointed out, this cannot be the reason of growing cube sizes. That has got to be something different.RJ! wrote:Hi Wim,
Does that mean that when you've restarted TM1 Service, that TM1 will trawl through all of your Views and load them into Memory?
Or does the view only go into memory once a user/process calls the view?
If so, might explain some of our growing Cube issues...
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
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
-
- Community Contributor
- Posts: 219
- Joined: Mon Jul 23, 2012 8:31 am
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2010
Re: Use of Tm1 Views
Thanks guys, that was my thinking as well, just wanted to check!