Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-process custom date ranges when users have selected them as their default date range #6672

Closed
MichalTomczak opened this issue Nov 14, 2014 · 2 comments
Assignees
Labels
c: Performance For when we could improve the performance / speed of Matomo. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@MichalTomczak
Copy link

For bigger instances it’s very slow to process custom ranges on the fly. However, Piwik gives possibility to choose some custom ranges as default dates after logging in (i.e. last7, previous7 etc). It would be a nice feature to allow pre-processing for those specific ranges during daily archiving. Also it would be nice to be able to define other custom periods to be pre-processed, so having knowledge what they are user can use them smoothly even on big instance.

@mattab mattab added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Nov 14, 2014
@mattab mattab added this to the Piwik 2.10.0 milestone Nov 14, 2014
@mattab
Copy link
Member

mattab commented Nov 14, 2014

Thanks for the suggestion. Because this is a core feature to select 7 days, etc. it will be widely used. While we also recommend all users to setup the cron http://piwik.org/docs/setup-auto-archiving/ they will expect that this built-in period feature will work fast. I would!

@mattab
Copy link
Member

mattab commented Dec 15, 2014

It's more complicated than I thought...

  1. we can pre-process the default date range selected for the default website -> Should be OK
  2. we could also pre-process the default date range selected for all websites that the user has access to

I'm thinking of implementing 1. only for now. Not sure...

refs #4768

mattab added a commit that referenced this issue Dec 16, 2014
…ected in preferences, and pre-process for ALL websites this user has access to, in case he selects "All websites" dashboard
@mattab mattab changed the title Add possibility to pre-process a custom date range. Pre-process custom date ranges when users have selected them as their default date range Dec 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Performance For when we could improve the performance / speed of Matomo. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants