Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Now issuing the UNION query so that each subquery uses its own index, for fast and optimal performance, while also providing optimal visitor matching algorithm results. * Reverting [5889] and [5887] and the "hot fix" in [5886] PLEASE EVERYONE LISTENING would you mind testing the new "core/Tracker/Visit.php" file simply replacing your existing file? You can grab it from: http://dev.piwik.org/svn/trunk/core/Tracker/Visit.php It would be great if you could confirm what my tests show, that the code is now very fast. I don't have access to an enormous Piwik as you might have, so your test is very appreciated!! Thanks! git-svn-id: http://dev.piwik.org/svn/trunk@5892 59fd770c-687e-43c8-a1e3-f5a4ff64c105
- Loading branch information
Showing
5 changed files
with
104 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
...n/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__VisitFrequency.get_range.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<result> | ||
<nb_visits_returning>3</nb_visits_returning> | ||
<nb_actions_returning>3</nb_actions_returning> | ||
<max_actions_returning>1</max_actions_returning> | ||
<sum_visit_length_returning>0</sum_visit_length_returning> | ||
<nb_visits_returning>4</nb_visits_returning> | ||
<nb_actions_returning>5</nb_actions_returning> | ||
<max_actions_returning>2</max_actions_returning> | ||
<sum_visit_length_returning>361</sum_visit_length_returning> | ||
<bounce_count_returning>3</bounce_count_returning> | ||
<nb_visits_converted_returning>0</nb_visits_converted_returning> | ||
<bounce_rate_returning>100%</bounce_rate_returning> | ||
<nb_actions_per_visit_returning>1</nb_actions_per_visit_returning> | ||
<avg_time_on_site_returning>0</avg_time_on_site_returning> | ||
<bounce_rate_returning>75%</bounce_rate_returning> | ||
<nb_actions_per_visit_returning>1.3</nb_actions_per_visit_returning> | ||
<avg_time_on_site_returning>90</avg_time_on_site_returning> | ||
</result> |