Quantcast
Channel: Matomo forums - Latest topics
Viewing all articles
Browse latest Browse all 13995

Using Trigger on piwik_log_visit table

$
0
0

@Saqib_Ali wrote:

Hi ,

My question is that is it feasible to use "After Trigger" on piwik_log_visit table .
We are calculating unique new visitors within past 24 hours for every minute .
Current query have to look for every minute within past 24 hours so it is taking time in minutes while we need result in seconds .We are thinking that within trigger we will insert unique visitor into new table and then query will run on new table ,in this way new query have not to check within past 24 hours because new table already have unique new visitors .

Thanks,

Saqib

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 13995

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>