Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2020-03-09 23:33:41

jopejimx
Member
Registered: 2020-03-09

Problems with cache after load new datae

Hi everyone, I have a question I hope you can help me.
This is my problem, I have some saiku reports pointed to a MySQL database. So I have a ETL process that load data twice at day, if I execute my cube after load new data this isn’t refreshed, all reports show old data, once I enter to datasource section and when I press clear cache button data is loaded correctly.
So, my question is, there are some way to clear cache automatically each certain period or exists slime command to clear it after each load process?

Regards
JP

Offline

#2 2020-03-10 08:14:28

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Problems with cache after load new datae

Hi jopelimx,

At the moment, you can only clear the cache using the corresponding button in the DataSources section. What you could do is create a script that cleans the cache in the same way as the button (using the same services), and you could schedule this script to run every day for example. Information about programming scripts here: https://reportserver.net/en/guides/scri… g-Scripts /

E.g.: scheduleScript execute myScript.groovy "" every day at 15:23

It would clear the cache every day at 15:23.

To use scripting, the Enterprise (or Enterprise Evaluation) version of ReportServer is required. If you want to try this, you can use the Enterprise Evaluation version for 45 days.

We have a ticket: RS-3473 to implement this directly in ReportServer. I will write here when I have more information about it. At the moment, the only solution is scripting.

Regards,
Eduardo

Offline

#3 2020-03-10 21:09:08

jopejimx
Member
Registered: 2020-03-09

Re: Problems with cache after load new datae

Thanks Eduardo.

Offline

Board footer

Powered by FluxBB