Coder Social home page Coder Social logo

find a better way to manage cache about saiku HOT 11 CLOSED

osbi avatar osbi commented on July 19, 2024
find a better way to manage cache

from saiku.

Comments (11)

buggtb avatar buggtb commented on July 19, 2024

Same for updating the schema itself as well.

--Dan

from saiku.

pstoellberger avatar pstoellberger commented on July 19, 2024

implemented

http://localhost:8080/saiku/rest/saiku/admin/discover/refresh
will reload the datasources and clear the cache
eventuall this should go into an admin console separately i guess

from saiku.

cwarden avatar cwarden commented on July 19, 2024

Awesome!

A refresh button within the main interface for users with appropriate permissions (in addition to or instead of an admin console) would be nice.

from saiku.

pstoellberger avatar pstoellberger commented on July 19, 2024

there is a button now. just download the latest build. we dont do permissions in the ui yet, but we will get there! let me know what you think

from saiku.

mansopony avatar mansopony commented on July 19, 2024

Hi everyone,

I implemented the plugin on Pentaho Bi Sever 4.5 and I need to find the way to "auto refresh" the saiku schema cache, I already did it with the mondrian cache executing the xaction, but I still didn't find the way to do the same that saiku UI does.

Could somebody tell me which is the command that the refresh button from saiku execute?

Thanks a lot!

from saiku.

pstoellberger avatar pstoellberger commented on July 19, 2024

you can check the url thats called when you hit the refresh button.... something like /discover/refresh i think

then you can use that anywhere to refresh the cache

from saiku.

mansopony avatar mansopony commented on July 19, 2024

Thanks for your reply, but i did it and didn't work.

I call the url called by the button: http://localhost:8080/pentaho/content/saiku-ui/index.html?biplugin=true#refresh_cubes

I need to find a walk around to this, I'll aprreciate any idea.

Thanks!

from saiku.

pstoellberger avatar pstoellberger commented on July 19, 2024

its not that url, its a backend URL and will look like that:

http://dev.analytical-labs.com/saiku/rest/saiku/admin/discover/refresh
you could use a simple unix command like this to do it:

curl --user "admin:admin" http://dev.analytical-labs.com/saiku/rest/saiku/admin/discover/refresh
in your case (plugin) its probably something like:

curl --user "joe:password" http://localhost:8080/pentaho/content/saiku/rest/saiku/admin/discover/refresh

from saiku.

mansopony avatar mansopony commented on July 19, 2024

Hi Paul, thank for your quick response!

I tried the url you told me but i got an error HTTP 404 - Not Found

Sorry that I bother you, but can you tell me how do I must look for that content? To know if i going through the right URL.

Thanks again.

from saiku.

pstoellberger avatar pstoellberger commented on July 19, 2024

ah sorry thats a typo:

curl --user "joe:password" http://localhost:8080/pentaho/content/saiku/admin/discover/refresh

from saiku.

mansopony avatar mansopony commented on July 19, 2024

Great, that works!

Thanks a lot Paul!

from saiku.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.