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
Wrong amount of Users / Websites in Diagnostic > Database Usage > General Information #18189
Comments
Hi @65Q2M89mBVP53sCK |
the whole thing is a little confusing - how can the values differ?
|
The matomo/plugins/DBStats/API.php Lines 48 to 52 in 1155273
Should be quite easy to change. Other possibility would be to display some information that for InnoDb those values are inaccurate. ping @tsteur |
Thanks for reporting this @65Q2M89mBVP53sCK As a workaround you should be able to see the correct number of users and websites on the "Admin home" page in the top left widget. @sgiehl sounds good to change this eventually for those two tables to do a count instead. Not too important though for now |
My Workaround - it seems to help
Only in System Summary the display of users irritates me: This is identical on all our (test) environments (same number of users / sites in the tables). Is the anonymous user not counted? |
Yes, we don't count the anonymous user so far. |
After upgrading from 3* to 4*, the wrong number of users and websites is displayed in Diagnostics > Database Usage > General Information.
Displayed information
General Information
Real information
General Information
Table statistics.piwik_user:
SELECT COUNT(*) FROM statistics.piwik_user = 39
Table statistics.piwik_site
SELECT COUNT(*) FROM statistics.piwik_site = 53
Any advices how to correct this?
Thanx.
The text was updated successfully, but these errors were encountered: