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

database table civicrm_pivotreportcache #120

Open
mikantchap opened this issue Apr 3, 2020 · 3 comments
Open

database table civicrm_pivotreportcache #120

mikantchap opened this issue Apr 3, 2020 · 3 comments

Comments

@mikantchap
Copy link

mikantchap commented Apr 3, 2020

Hi

We recently had an issue with the database table civicrm_pivotreportcache.

It grew to about 18GB and crashed the whole server (disk full) taking down several sites.

Have you had any reports or issues regarding this table?

@jamienovick
Copy link
Contributor

@mikantchap Thats very possible. We did our best to try and optimse the library to work with larger data sets but unfortunately the way the library works is to try and load all the data to your browser in advance so you can pivot on it in the browser. The cache table tried to prepare that data so the loading was a quick as possible, but that might not be suitable for all server setups unfortunately.

Which entity are you trying to create pivot reports on?

@jitendrapurohit
Copy link

In our case, it was with log_civicrm_pivotreportcache table. Probably we should rename the main table civicrm_pivotreportcache to civicrm_pivotreport_cache so the log table isn't created by civicrm?

@jitendrapurohit
Copy link

Have raised #122 to fix the above comment after we see the log table problem on another server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants