Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: forced caching?

  1. #1
    Join Date
    Sep 2003
    Posts
    5

    Default forced caching?

    is there anyway to for mondrian to cache all data
    entirely in memory (assuming there's enough memory..throw exception is there's not)
    so that mondrian never has to go to the database once the cubes have been loaded the first time?
    also..how do i tell mondrian to refresh a cube (if i know the database has been updated)

  2. #2
    Join Date
    Nov 1999
    Posts
    1,618

    Default RE: forced caching?

    In mondrian.properties, set mondrian.rolap.CachePool.costLimit to a very high value (say 2^31 - 1 = 2147483647). That should do the trick.
    To clear the cache after modifying a cube, call mondrian.rolap.CachePool.instance().flush(). There is currently no way to flush just one cube.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.