You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While researching a solution to the problem "Let me delete Visitors from Visitor Log" (#3385) I have some questions regarding the database entries in the database table "archive_numeric_xxxx_xx".
Specifically I have questions about the column "name" and the entries "Actions_nb_pageviews" as well as "Actions_nb_uniq_pageviews".
I've already tried a lot. Deleting the entries via the visitorID is as far as possible (works), but resetting or subtracting the entries in the pageview and unique pageviews seems to be very complicated.
I have tested with two database variants. A database live. A database as backup dump from 2018-01-12 ~18:00:00. Even when querying the database entries, there are differences.
If I let the entries for 2018-01-12 show, then there are many entries in the database-backup-dump and in the database-live only one. Question: Are entries deleted retrospectively?
All entries for the 2018-01-12 in the database-backup-dump (2018-01-12 ~18:00:00):
All entries for the 2018-01-12 in the database-live (at least a day later [yet 2018-01-14]):
WHERE name='Actions_nb_pageviews' ORDER BY idsite, ts_archived, date1, date2 ASC
if filter: idsite, date1 = 2018-01-12, date2 = 2018-01-12, ts_archived = **2018-01-12**.
idsite - idarchive - name - date1 - date2 - ts_archived - value
32 - 797 - Actions_nb_pageviews - 2018-01-12 - 2018-01-12 - **2018-01-12** 11:46:13 - 121
All entries for the 2018-01-12 in the database-live (at least a day later [yet 2018-01-14]):
WHERE name='Actions_nb_pageviews' ORDER BY idsite, ts_archived, date1, date2 ASC
if filter: idsite, date1 = 2018-01-12, date2 = 2018-01-12, ts_archived = **2018-01-13**.
idsite - idarchive - name - date1 - date2 - ts_archived - value
32 - 971 - Actions_nb_pageviews - 2018-01-12 - 2018-01-12 - **2018-01-13** 11:09:30 - 210
If you want to reset the pageviews on the same day, it is not possible to find the appropriate database entries. At least one day later, there seems to be only one entry left and the others have been deleted?
In addition, there are really damn many entries in the table archive_numeric_xxxx_xx. It is very hard to look through it.
Intermediate info:
Summary for the day 2018-01-12
pageviews 210
unique pageviews 190
If I search for and change the value "210" in the database table, this also affects the total number of pageviews for one month. (and probably the total in general).
If I search for and change the value "190" in the database table (close to the 210 for the 2018-01-12), then this does not immediately affect the total number of unique pageviews for a month, but time-delayed. (and probably the total in general).
Another question is how to count the number of pageviews and unique pageviews?
If I find all the database entries through a visitorid, I do not know how many were counted for what.
The text was updated successfully, but these errors were encountered:
BTW: You don't really want to mess around with archive tables and instead invalidate archives and re-process them eventually. Everything else won't really work or be correct. https://matomo.org/faq/how-to/faq_155/
Hello Matomos,
While researching a solution to the problem "Let me delete Visitors from Visitor Log" (#3385) I have some questions regarding the database entries in the database table "archive_numeric_xxxx_xx".
Specifically I have questions about the column "name" and the entries "Actions_nb_pageviews" as well as "Actions_nb_uniq_pageviews".
I've already tried a lot. Deleting the entries via the visitorID is as far as possible (works), but resetting or subtracting the entries in the pageview and unique pageviews seems to be very complicated.
I have tested with two database variants. A database live. A database as backup dump from 2018-01-12 ~18:00:00. Even when querying the database entries, there are differences.
If I let the entries for 2018-01-12 show, then there are many entries in the database-backup-dump and in the database-live only one. Question: Are entries deleted retrospectively?
All entries for the 2018-01-12 in the database-backup-dump (2018-01-12 ~18:00:00):
All entries for the 2018-01-12 in the database-live (at least a day later [yet 2018-01-14]):
All entries for the 2018-01-12 in the database-live (at least a day later [yet 2018-01-14]):
If you want to reset the pageviews on the same day, it is not possible to find the appropriate database entries. At least one day later, there seems to be only one entry left and the others have been deleted?
In addition, there are really damn many entries in the table archive_numeric_xxxx_xx. It is very hard to look through it.
Intermediate info:
Summary for the day 2018-01-12
pageviews 210
unique pageviews 190
If I search for and change the value "210" in the database table, this also affects the total number of pageviews for one month. (and probably the total in general).
If I search for and change the value "190" in the database table (close to the 210 for the 2018-01-12), then this does not immediately affect the total number of unique pageviews for a month, but time-delayed. (and probably the total in general).
Another question is how to count the number of pageviews and unique pageviews?
If I find all the database entries through a visitorid, I do not know how many were counted for what.
The text was updated successfully, but these errors were encountered: