diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-03-05 07:35:00 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-03-31 05:27:04 +0300 |
commit | 1a148fb681762d7177b7bda0fa852bb06492b79b (patch) | |
tree | 50dfb7046f5311aa945ff46df89ad4f72aa0837c /plugins/Actions/ArchivingHelper.php | |
parent | b8db68ba80550f509d8a1d2cf4e390a584f324b0 (diff) |
Faster archiving of aggregated reports, also performance imprvovements in general
* Store subtables in chunks of 100 subtables per blob. Those 100 subtables are stored
serialized as an array: array($subtableID => subtableBlob). The first 100 subtables are
stored in "chunk_0", the next 100 subtables are stored in "chunk_1", ...
* Subtable Ids are now consecutive from 1 to X
* We do no longer serialize the whole Row instance when archiving, instead we only
serialize the Row's array which contains columns, metadata and datatable. This is not
only more efficient but allows us to refactor the Row instance in the future (although
we will always have to be BC)
* Faster row implementation: Columns, Metadata and Subtables access is much faster now
Diffstat (limited to 'plugins/Actions/ArchivingHelper.php')
-rw-r--r-- | plugins/Actions/ArchivingHelper.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/Actions/ArchivingHelper.php b/plugins/Actions/ArchivingHelper.php index 16a7c5f536..4854e2b017 100644 --- a/plugins/Actions/ArchivingHelper.php +++ b/plugins/Actions/ArchivingHelper.php @@ -12,7 +12,6 @@ use PDOStatement; use Piwik\Config; use Piwik\DataTable\Row\DataTableSummaryRow; use Piwik\DataTable; -use Piwik\DataTable\Manager; use Piwik\DataTable\Row; use Piwik\Metrics as PiwikMetrics; use Piwik\Piwik; |