PDF rausgenommen
This commit is contained in:
276
msd2/tracking/piwik/plugins/DBStats/API.php
Normal file
276
msd2/tracking/piwik/plugins/DBStats/API.php
Normal file
@ -0,0 +1,276 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats;
|
||||
|
||||
use Piwik\Common;
|
||||
use Piwik\DataTable;
|
||||
use Piwik\Piwik;
|
||||
|
||||
/**
|
||||
* DBStats API is used to request the overall status of the Mysql tables in use by Matomo.
|
||||
* @hideExceptForSuperUser
|
||||
* @method static \Piwik\Plugins\DBStats\API getInstance()
|
||||
*/
|
||||
class API extends \Piwik\Plugin\API
|
||||
{
|
||||
/**
|
||||
* The MySQLMetadataProvider instance that fetches table/db status information.
|
||||
*/
|
||||
private $metadataProvider;
|
||||
|
||||
public function __construct(MySQLMetadataProvider $metadataProvider)
|
||||
{
|
||||
$this->metadataProvider = $metadataProvider;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets some general information about this Matomo installation, including the count of
|
||||
* websites tracked, the count of users and the total space used by the database.
|
||||
*
|
||||
*
|
||||
* @return array Contains the website count, user count and total space used by the database.
|
||||
*/
|
||||
public function getGeneralInformation()
|
||||
{
|
||||
Piwik::checkUserHasSuperUserAccess();
|
||||
// calculate total size
|
||||
$totalSpaceUsed = 0;
|
||||
foreach ($this->metadataProvider->getAllTablesStatus() as $status) {
|
||||
$totalSpaceUsed += $status['Data_length'] + $status['Index_length'];
|
||||
}
|
||||
|
||||
$siteTableStatus = $this->metadataProvider->getTableStatus('site');
|
||||
$userTableStatus = $this->metadataProvider->getTableStatus('user');
|
||||
|
||||
$siteCount = $siteTableStatus['Rows'];
|
||||
$userCount = $userTableStatus['Rows'];
|
||||
|
||||
return array($siteCount, $userCount, $totalSpaceUsed);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets general database info that is not specific to any table.
|
||||
*
|
||||
* @return array See http://dev.mysql.com/doc/refman/5.1/en/show-status.html .
|
||||
*/
|
||||
public function getDBStatus()
|
||||
{
|
||||
Piwik::checkUserHasSuperUserAccess();
|
||||
return $this->metadataProvider->getDBStatus();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a datatable summarizing how data is distributed among Matomo tables.
|
||||
*
|
||||
* This function will group tracker tables, numeric archive tables, blob archive tables
|
||||
* and other tables together so only four rows are shown.
|
||||
*
|
||||
* @return DataTable A datatable with three columns: 'data_size', 'index_size', 'row_count'.
|
||||
*/
|
||||
public function getDatabaseUsageSummary()
|
||||
{
|
||||
Piwik::checkUserHasSuperUserAccess();
|
||||
|
||||
$emptyRow = array('data_size' => 0, 'index_size' => 0, 'row_count' => 0);
|
||||
$rows = array(
|
||||
'tracker_data' => $emptyRow,
|
||||
'metric_data' => $emptyRow,
|
||||
'report_data' => $emptyRow,
|
||||
'other_data' => $emptyRow
|
||||
);
|
||||
|
||||
foreach ($this->metadataProvider->getAllTablesStatus() as $status) {
|
||||
if ($this->isNumericArchiveTable($status['Name'])) {
|
||||
$rowToAddTo = & $rows['metric_data'];
|
||||
} else if ($this->isBlobArchiveTable($status['Name'])) {
|
||||
$rowToAddTo = & $rows['report_data'];
|
||||
} else if ($this->isTrackerTable($status['Name'])) {
|
||||
$rowToAddTo = & $rows['tracker_data'];
|
||||
} else {
|
||||
$rowToAddTo = & $rows['other_data'];
|
||||
}
|
||||
|
||||
$rowToAddTo['data_size'] += $status['Data_length'];
|
||||
$rowToAddTo['index_size'] += $status['Index_length'];
|
||||
$rowToAddTo['row_count'] += $status['Rows'];
|
||||
}
|
||||
|
||||
return DataTable::makeFromIndexedArray($rows);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a datatable describing how much space is taken up by each log table.
|
||||
*
|
||||
* @return DataTable A datatable with three columns: 'data_size', 'index_size', 'row_count'.
|
||||
*/
|
||||
public function getTrackerDataSummary()
|
||||
{
|
||||
Piwik::checkUserHasSuperUserAccess();
|
||||
return $this->getTablesSummary($this->metadataProvider->getAllLogTableStatus());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a datatable describing how much space is taken up by each numeric
|
||||
* archive table.
|
||||
*
|
||||
* @return DataTable A datatable with three columns: 'data_size', 'index_size', 'row_count'.
|
||||
*/
|
||||
public function getMetricDataSummary()
|
||||
{
|
||||
Piwik::checkUserHasSuperUserAccess();
|
||||
return $this->getTablesSummary($this->metadataProvider->getAllNumericArchiveStatus());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a datatable describing how much space is taken up by each numeric
|
||||
* archive table, grouped by year.
|
||||
*
|
||||
* @return DataTable A datatable with three columns: 'data_size', 'index_size', 'row_count'.
|
||||
*/
|
||||
public function getMetricDataSummaryByYear()
|
||||
{
|
||||
Piwik::checkUserHasSuperUserAccess();
|
||||
|
||||
$dataTable = $this->getMetricDataSummary();
|
||||
|
||||
$dataTable->filter('GroupBy', array('label', __NAMESPACE__ . '\API::getArchiveTableYear'));
|
||||
|
||||
return $dataTable;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a datatable describing how much space is taken up by each blob
|
||||
* archive table.
|
||||
*
|
||||
* @return DataTable A datatable with three columns: 'data_size', 'index_size', 'row_count'.
|
||||
*/
|
||||
public function getReportDataSummary()
|
||||
{
|
||||
Piwik::checkUserHasSuperUserAccess();
|
||||
return $this->getTablesSummary($this->metadataProvider->getAllBlobArchiveStatus());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a datatable describing how much space is taken up by each blob
|
||||
* archive table, grouped by year.
|
||||
*
|
||||
* @return DataTable A datatable with three columns: 'data_size', 'index_size', 'row_count'.
|
||||
*/
|
||||
public function getReportDataSummaryByYear()
|
||||
{
|
||||
Piwik::checkUserHasSuperUserAccess();
|
||||
|
||||
$dataTable = $this->getReportDataSummary();
|
||||
|
||||
$dataTable->filter('GroupBy', array('label', __NAMESPACE__ . '\API::getArchiveTableYear'));
|
||||
|
||||
return $dataTable;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a datatable describing how much space is taken up by 'admin' tables.
|
||||
*
|
||||
* An 'admin' table is a table that is not central to analytics functionality.
|
||||
* So any table that isn't an archive table or a log table is an 'admin' table.
|
||||
*
|
||||
* @return DataTable A datatable with three columns: 'data_size', 'index_size', 'row_count'.
|
||||
*/
|
||||
public function getAdminDataSummary()
|
||||
{
|
||||
Piwik::checkUserHasSuperUserAccess();
|
||||
return $this->getTablesSummary($this->metadataProvider->getAllAdminTableStatus());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a datatable describing how much total space is taken up by each
|
||||
* individual report type.
|
||||
*
|
||||
* Goal reports and reports of the format .*_[0-9]+ are grouped together.
|
||||
*
|
||||
* @param bool $forceCache false to use the cached result, true to run the queries again and
|
||||
* cache the result.
|
||||
* @return DataTable A datatable with three columns: 'data_size', 'index_size', 'row_count'.
|
||||
*/
|
||||
public function getIndividualReportsSummary($forceCache = false)
|
||||
{
|
||||
Piwik::checkUserHasSuperUserAccess();
|
||||
return $this->metadataProvider->getRowCountsAndSizeByBlobName($forceCache);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a datatable describing how much total space is taken up by each
|
||||
* individual metric type.
|
||||
*
|
||||
* Goal metrics, metrics of the format .*_[0-9]+ and 'done...' metrics are grouped together.
|
||||
*
|
||||
* @param bool $forceCache false to use the cached result, true to run the queries again and
|
||||
* cache the result.
|
||||
* @return DataTable A datatable with three columns: 'data_size', 'index_size', 'row_count'.
|
||||
*/
|
||||
public function getIndividualMetricsSummary($forceCache = false)
|
||||
{
|
||||
Piwik::checkUserHasSuperUserAccess();
|
||||
return $this->metadataProvider->getRowCountsAndSizeByMetricName($forceCache);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a datatable representation of a set of table statuses.
|
||||
*
|
||||
* @param array $statuses The table statuses to summarize.
|
||||
* @return DataTable
|
||||
*/
|
||||
private function getTablesSummary($statuses)
|
||||
{
|
||||
$dataTable = new DataTable();
|
||||
foreach ($statuses as $status) {
|
||||
$dataTable->addRowFromSimpleArray(array(
|
||||
'label' => $status['Name'],
|
||||
'data_size' => $status['Data_length'],
|
||||
'index_size' => $status['Index_length'],
|
||||
'row_count' => $status['Rows']
|
||||
));
|
||||
}
|
||||
return $dataTable;
|
||||
}
|
||||
|
||||
/** Returns true if $name is the name of a numeric archive table, false if otherwise. */
|
||||
private function isNumericArchiveTable($name)
|
||||
{
|
||||
return strpos($name, Common::prefixTable('archive_numeric_')) === 0;
|
||||
}
|
||||
|
||||
/** Returns true if $name is the name of a blob archive table, false if otherwise. */
|
||||
private function isBlobArchiveTable($name)
|
||||
{
|
||||
return strpos($name, Common::prefixTable('archive_blob_')) === 0;
|
||||
}
|
||||
|
||||
/** Returns true if $name is the name of a log table, false if otherwise. */
|
||||
private function isTrackerTable($name)
|
||||
{
|
||||
return strpos($name, Common::prefixTable('log_')) === 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the year of an archive table from its name.
|
||||
*
|
||||
* @param string $tableName
|
||||
*
|
||||
* @return string the year
|
||||
* @ignore
|
||||
*/
|
||||
public static function getArchiveTableYear($tableName)
|
||||
{
|
||||
if (preg_match("/archive_(?:numeric|blob)_([0-9]+)_/", $tableName, $matches) === 0) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return $matches[1];
|
||||
}
|
||||
}
|
49
msd2/tracking/piwik/plugins/DBStats/Controller.php
Normal file
49
msd2/tracking/piwik/plugins/DBStats/Controller.php
Normal file
@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats;
|
||||
|
||||
use Piwik\Metrics\Formatter;
|
||||
use Piwik\Piwik;
|
||||
use Piwik\View;
|
||||
|
||||
/**
|
||||
*/
|
||||
class Controller extends \Piwik\Plugin\ControllerAdmin
|
||||
{
|
||||
/**
|
||||
* Returns the index for this plugin. Shows every other report defined by this plugin,
|
||||
* except the '...ByYear' reports. These can be loaded as related reports.
|
||||
*
|
||||
* Also, the 'getIndividual...Summary' reports are loaded by AJAX, as they can take
|
||||
* a significant amount of time to load on setups w/ lots of websites.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
Piwik::checkUserHasSuperUserAccess();
|
||||
$view = new View('@DBStats/index');
|
||||
$this->setBasicVariablesView($view);
|
||||
|
||||
$_GET['showtitle'] = '1';
|
||||
|
||||
$view->databaseUsageSummary = $this->renderReport('getDatabaseUsageSummary');
|
||||
$view->trackerDataSummary = $this->renderReport('getTrackerDataSummary');
|
||||
$view->metricDataSummary = $this->renderReport('getMetricDataSummary');
|
||||
$view->reportDataSummary = $this->renderReport('getReportDataSummary');
|
||||
$view->adminDataSummary = $this->renderReport('getAdminDataSummary');
|
||||
|
||||
list($siteCount, $userCount, $totalSpaceUsed) = API::getInstance()->getGeneralInformation();
|
||||
|
||||
$formatter = new Formatter();
|
||||
$view->siteCount = $formatter->getPrettyNumber($siteCount);
|
||||
$view->userCount = $formatter->getPrettyNumber($userCount);
|
||||
$view->totalSpaceUsed = $formatter->getPrettySizeFromBytes($totalSpaceUsed);
|
||||
|
||||
return $view->render();
|
||||
}
|
||||
}
|
36
msd2/tracking/piwik/plugins/DBStats/DBStats.php
Normal file
36
msd2/tracking/piwik/plugins/DBStats/DBStats.php
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats;
|
||||
|
||||
use Piwik\Piwik;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\Graph;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable;
|
||||
use Piwik\Plugins\DBStats\tests\Mocks\MockDataAccess;
|
||||
|
||||
class DBStats extends \Piwik\Plugin
|
||||
{
|
||||
const TIME_OF_LAST_TASK_RUN_OPTION = 'dbstats_time_of_last_cache_task_run';
|
||||
|
||||
/**
|
||||
* @see Piwik\Plugin::registerEvents
|
||||
*/
|
||||
public function registerEvents()
|
||||
{
|
||||
return array(
|
||||
"TestingEnvironment.addHooks" => 'setupTestEnvironment'
|
||||
);
|
||||
}
|
||||
|
||||
public function setupTestEnvironment($environment)
|
||||
{
|
||||
Piwik::addAction("MySQLMetadataProvider.createDao", function (&$dao) {
|
||||
$dao = new MockDataAccess();
|
||||
});
|
||||
}
|
||||
}
|
26
msd2/tracking/piwik/plugins/DBStats/Menu.php
Normal file
26
msd2/tracking/piwik/plugins/DBStats/Menu.php
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats;
|
||||
|
||||
use Piwik\Menu\MenuAdmin;
|
||||
use Piwik\Piwik;
|
||||
|
||||
/**
|
||||
*/
|
||||
class Menu extends \Piwik\Plugin\Menu
|
||||
{
|
||||
public function configureAdminMenu(MenuAdmin $menu)
|
||||
{
|
||||
if (Piwik::hasUserSuperUserAccess()) {
|
||||
$menu->addDiagnosticItem('DBStats_DatabaseUsage',
|
||||
$this->urlForAction('index'),
|
||||
$order = 6);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats;
|
||||
|
||||
use Exception;
|
||||
use Piwik\Config;
|
||||
use Piwik\Db;
|
||||
|
||||
/**
|
||||
* Data Access Object that serves MySQL stats.
|
||||
*/
|
||||
class MySQLMetadataDataAccess
|
||||
{
|
||||
public function getDBStatus()
|
||||
{
|
||||
if (function_exists('mysql_connect')) {
|
||||
$configDb = Config::getInstance()->database;
|
||||
$link = mysql_connect($configDb['host'], $configDb['username'], $configDb['password']);
|
||||
$status = mysql_stat($link);
|
||||
mysql_close($link);
|
||||
$status = explode(" ", $status);
|
||||
} else {
|
||||
$fullStatus = Db::fetchAssoc('SHOW STATUS');
|
||||
if (empty($fullStatus)) {
|
||||
throw new Exception('Error, SHOW STATUS failed');
|
||||
}
|
||||
|
||||
$status = array(
|
||||
'Uptime' => $fullStatus['Uptime']['Value'],
|
||||
'Threads' => $fullStatus['Threads_running']['Value'],
|
||||
'Questions' => $fullStatus['Questions']['Value'],
|
||||
'Slow queries' => $fullStatus['Slow_queries']['Value'],
|
||||
'Flush tables' => $fullStatus['Flush_commands']['Value'],
|
||||
'Open tables' => $fullStatus['Open_tables']['Value'],
|
||||
'Opens' => 'unavailable', // not available via SHOW STATUS
|
||||
'Queries per second avg' => 'unavailable' // not available via SHOW STATUS
|
||||
);
|
||||
}
|
||||
|
||||
return $status;
|
||||
}
|
||||
|
||||
public function getTableStatus($tableName)
|
||||
{
|
||||
return Db::fetchRow("SHOW TABLE STATUS LIKE ?", array($tableName));
|
||||
}
|
||||
|
||||
public function getAllTablesStatus()
|
||||
{
|
||||
return Db::fetchAll("SHOW TABLE STATUS");
|
||||
}
|
||||
|
||||
public function getRowCountsByArchiveName($tableName, $extraCols)
|
||||
{
|
||||
// otherwise, create data table & cache it
|
||||
$sql = "SELECT name as 'label', COUNT(*) as 'row_count'$extraCols FROM $tableName GROUP BY name";
|
||||
return Db::fetchAll($sql);
|
||||
}
|
||||
|
||||
public function getColumnsFromTable($tableName)
|
||||
{
|
||||
return Db::fetchAll("SHOW COLUMNS FROM " . $tableName);
|
||||
}
|
||||
}
|
350
msd2/tracking/piwik/plugins/DBStats/MySQLMetadataProvider.php
Normal file
350
msd2/tracking/piwik/plugins/DBStats/MySQLMetadataProvider.php
Normal file
@ -0,0 +1,350 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats;
|
||||
|
||||
use Exception;
|
||||
use Piwik\Common;
|
||||
use Piwik\DataTable;
|
||||
use Piwik\Db;
|
||||
use Piwik\DbHelper;
|
||||
use Piwik\Option;
|
||||
|
||||
/**
|
||||
* Utility class that provides general information about databases, including the size of
|
||||
* the entire database, the size and row count of each table and the size and row count
|
||||
* of each metric/report type currently stored.
|
||||
*
|
||||
* This class will cache the table information it retrieves from the database. In order to
|
||||
* issue a new query instead of using this cache, you must create a new instance of this type.
|
||||
*/
|
||||
class MySQLMetadataProvider
|
||||
{
|
||||
/**
|
||||
* Cached MySQL table statuses. So we won't needlessly re-issue SHOW TABLE STATUS queries.
|
||||
*/
|
||||
private $tableStatuses = null;
|
||||
|
||||
/**
|
||||
* Data access object.
|
||||
*/
|
||||
public $dataAccess = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public function __construct(MySQLMetadataDataAccess $dataAccess)
|
||||
{
|
||||
$this->dataAccess = $dataAccess;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets general database info that is not specific to any table.
|
||||
*
|
||||
* @throws Exception
|
||||
* @return array See http://dev.mysql.com/doc/refman/5.1/en/show-status.html .
|
||||
*/
|
||||
public function getDBStatus()
|
||||
{
|
||||
return $this->dataAccess->getDBStatus();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the MySQL table status of the requested Piwik table.
|
||||
*
|
||||
* @param string $table The name of the table. Should not be prefixed (ie, 'log_visit' is
|
||||
* correct, 'matomo_log_visit' is not).
|
||||
* @return array See http://dev.mysql.com/doc/refman/5.1/en/show-table-status.html .
|
||||
*/
|
||||
public function getTableStatus($table)
|
||||
{
|
||||
$prefixed = Common::prefixTable($table);
|
||||
|
||||
// if we've already gotten every table status, don't issue an un-needed query
|
||||
if (!is_null($this->tableStatuses) && isset($this->tableStatuses[$prefixed])) {
|
||||
return $this->tableStatuses[$prefixed];
|
||||
} else {
|
||||
return $this->dataAccess->getTableStatus($prefixed);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the result of a SHOW TABLE STATUS query for every Piwik table in the DB.
|
||||
* Non-piwik tables are ignored.
|
||||
*
|
||||
* @param string $matchingRegex Regex used to filter out tables whose name doesn't
|
||||
* match it.
|
||||
* @return array The table information. See http://dev.mysql.com/doc/refman/5.5/en/show-table-status.html
|
||||
* for specifics.
|
||||
*/
|
||||
public function getAllTablesStatus($matchingRegex = null)
|
||||
{
|
||||
if (is_null($this->tableStatuses)) {
|
||||
$tablesPiwik = DbHelper::getTablesInstalled();
|
||||
|
||||
$this->tableStatuses = array();
|
||||
foreach ($this->dataAccess->getAllTablesStatus() as $t) {
|
||||
if (in_array($t['Name'], $tablesPiwik)) {
|
||||
$this->tableStatuses[$t['Name']] = $t;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (is_null($matchingRegex)) {
|
||||
return $this->tableStatuses;
|
||||
}
|
||||
|
||||
$result = array();
|
||||
foreach ($this->tableStatuses as $status) {
|
||||
if (preg_match($matchingRegex, $status['Name'])) {
|
||||
$result[] = $status;
|
||||
}
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns table statuses for every log table.
|
||||
*
|
||||
* @return array An array of status arrays. See http://dev.mysql.com/doc/refman/5.5/en/show-table-status.html.
|
||||
*/
|
||||
public function getAllLogTableStatus()
|
||||
{
|
||||
$regex = "/^" . Common::prefixTable('log_') . "(?!profiling)/";
|
||||
return $this->getAllTablesStatus($regex);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns table statuses for every numeric archive table.
|
||||
*
|
||||
* @return array An array of status arrays. See http://dev.mysql.com/doc/refman/5.5/en/show-table-status.html.
|
||||
*/
|
||||
public function getAllNumericArchiveStatus()
|
||||
{
|
||||
$regex = "/^" . Common::prefixTable('archive_numeric') . "_/";
|
||||
return $this->getAllTablesStatus($regex);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns table statuses for every blob archive table.
|
||||
*
|
||||
* @return array An array of status arrays. See http://dev.mysql.com/doc/refman/5.5/en/show-table-status.html.
|
||||
*/
|
||||
public function getAllBlobArchiveStatus()
|
||||
{
|
||||
$regex = "/^" . Common::prefixTable('archive_blob') . "_/";
|
||||
return $this->getAllTablesStatus($regex);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retruns table statuses for every admin table.
|
||||
*
|
||||
* @return array An array of status arrays. See http://dev.mysql.com/doc/refman/5.5/en/show-table-status.html.
|
||||
*/
|
||||
public function getAllAdminTableStatus()
|
||||
{
|
||||
$regex = "/^" . Common::prefixTable('') . "(?!archive_|(?:log_(?!profiling)))/";
|
||||
return $this->getAllTablesStatus($regex);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a DataTable that lists the number of rows and the estimated amount of space
|
||||
* each blob archive type takes up in the database.
|
||||
*
|
||||
* Blob types are differentiated by name.
|
||||
*
|
||||
* @param bool $forceCache false to use the cached result, true to run the queries again and
|
||||
* cache the result.
|
||||
* @return DataTable
|
||||
*/
|
||||
public function getRowCountsAndSizeByBlobName($forceCache = false)
|
||||
{
|
||||
$extraSelects = array("SUM(OCTET_LENGTH(value)) AS 'blob_size'", "SUM(LENGTH(name)) AS 'name_size'");
|
||||
$extraCols = array('blob_size', 'name_size');
|
||||
return $this->getRowCountsByArchiveName(
|
||||
$this->getAllBlobArchiveStatus(), 'getEstimatedBlobArchiveRowSize', $forceCache, $extraSelects,
|
||||
$extraCols);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a DataTable that lists the number of rows and the estimated amount of space
|
||||
* each metric archive type takes up in the database.
|
||||
*
|
||||
* Metric types are differentiated by name.
|
||||
*
|
||||
* @param bool $forceCache false to use the cached result, true to run the queries again and
|
||||
* cache the result.
|
||||
* @return DataTable
|
||||
*/
|
||||
public function getRowCountsAndSizeByMetricName($forceCache = false)
|
||||
{
|
||||
return $this->getRowCountsByArchiveName(
|
||||
$this->getAllNumericArchiveStatus(), 'getEstimatedRowsSize', $forceCache);
|
||||
}
|
||||
|
||||
/**
|
||||
* Utility function. Gets row count of a set of tables grouped by the 'name' column.
|
||||
* This is the implementation of the getRowCountsAndSizeBy... functions.
|
||||
*/
|
||||
private function getRowCountsByArchiveName($statuses, $getRowSizeMethod, $forceCache = false,
|
||||
$otherSelects = array(), $otherDataTableColumns = array())
|
||||
{
|
||||
$extraCols = '';
|
||||
if (!empty($otherSelects)) {
|
||||
$extraCols = ', ' . implode(', ', $otherSelects);
|
||||
}
|
||||
|
||||
$cols = array_merge(array('row_count'), $otherDataTableColumns);
|
||||
|
||||
$dataTable = new DataTable();
|
||||
foreach ($statuses as $status) {
|
||||
$dataTableOptionName = $this->getCachedOptionName($status['Name'], 'byArchiveName');
|
||||
|
||||
// if option exists && !$forceCache, use the cached data, otherwise create the
|
||||
$cachedData = Option::get($dataTableOptionName);
|
||||
if ($cachedData !== false && !$forceCache) {
|
||||
$table = DataTable::fromSerializedArray($cachedData);
|
||||
} else {
|
||||
$table = new DataTable();
|
||||
$table->addRowsFromSimpleArray($this->dataAccess->getRowCountsByArchiveName($status['Name'], $extraCols));
|
||||
|
||||
$reduceArchiveRowName = array($this, 'reduceArchiveRowName');
|
||||
$table->filter('GroupBy', array('label', $reduceArchiveRowName));
|
||||
|
||||
$serializedTables = $table->getSerialized();
|
||||
$serializedTable = reset($serializedTables);
|
||||
Option::set($dataTableOptionName, $serializedTable);
|
||||
}
|
||||
|
||||
// add estimated_size column
|
||||
$getEstimatedSize = array($this, $getRowSizeMethod);
|
||||
$table->filter('ColumnCallbackAddColumn',
|
||||
array($cols, 'estimated_size', $getEstimatedSize, array($status)));
|
||||
|
||||
$dataTable->addDataTable($table);
|
||||
}
|
||||
return $dataTable;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the estimated database size a count of rows takes in a table.
|
||||
*/
|
||||
public function getEstimatedRowsSize($row_count, $status)
|
||||
{
|
||||
if ($status['Rows'] == 0) {
|
||||
return 0;
|
||||
}
|
||||
$avgRowSize = ($status['Data_length'] + $status['Index_length']) / $status['Rows'];
|
||||
return $avgRowSize * $row_count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the estimated database size a count of rows in a blob_archive table. Depends on
|
||||
* the data table row to contain the size of all blobs & name strings in the row set it
|
||||
* represents.
|
||||
*/
|
||||
public function getEstimatedBlobArchiveRowSize($row_count, $blob_size, $name_size, $status)
|
||||
{
|
||||
// calculate the size of each fixed size column in a blob archive table
|
||||
static $fixedSizeColumnLength = null;
|
||||
if (is_null($fixedSizeColumnLength)) {
|
||||
$fixedSizeColumnLength = 0;
|
||||
foreach ($this->dataAccess->getColumnsFromTable($status['Name']) as $column) {
|
||||
$columnType = $column['Type'];
|
||||
|
||||
if (($paren = strpos($columnType, '(')) !== false) {
|
||||
$columnType = substr($columnType, 0, $paren);
|
||||
}
|
||||
|
||||
$fixedSizeColumnLength += $this->getSizeOfDatabaseType($columnType);
|
||||
}
|
||||
}
|
||||
// calculate the average row size
|
||||
if ($status['Rows'] == 0) {
|
||||
$avgRowSize = 0;
|
||||
} else {
|
||||
$avgRowSize = $status['Index_length'] / $status['Rows'] + $fixedSizeColumnLength;
|
||||
}
|
||||
|
||||
// calculate the row set's size
|
||||
return $avgRowSize * $row_count + $blob_size + $name_size;
|
||||
}
|
||||
|
||||
/** Returns the size in bytes of a fixed size MySQL data type. Returns 0 for unsupported data type. */
|
||||
private function getSizeOfDatabaseType($columnType)
|
||||
{
|
||||
switch (strtolower($columnType)) {
|
||||
case "tinyint":
|
||||
case "year":
|
||||
return 1;
|
||||
case "smallint":
|
||||
return 2;
|
||||
case "mediumint":
|
||||
case "date":
|
||||
case "time":
|
||||
return 3;
|
||||
case "int":
|
||||
case "float": // assumes precision isn't used
|
||||
case "timestamp":
|
||||
return 4;
|
||||
case "bigint":
|
||||
case "double":
|
||||
case "real":
|
||||
case "datetime":
|
||||
return 8;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the option name used to cache the result of an intensive query.
|
||||
*/
|
||||
private function getCachedOptionName($tableName, $suffix)
|
||||
{
|
||||
return 'dbstats_cached_' . $tableName . '_' . $suffix;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reduces the given metric name. Used to simplify certain reports.
|
||||
*
|
||||
* Some metrics, like goal metrics, can have different string names. For goal metrics,
|
||||
* there's one name per goal ID. Grouping metrics and reports like these together
|
||||
* simplifies the tables that display them.
|
||||
*
|
||||
* This function makes goal names, 'done...' names and names of the format .*_[0-9]+
|
||||
* equivalent.
|
||||
*/
|
||||
public function reduceArchiveRowName($name)
|
||||
{
|
||||
// all 'done...' fields are considered the same
|
||||
if (strpos($name, 'done') === 0) {
|
||||
return 'done';
|
||||
}
|
||||
|
||||
// check for goal id, if present (Goals_... reports should not be reduced here, just Goal_... ones)
|
||||
if (preg_match("/^Goal_(?:-?[0-9]+_)?(.*)/", $name, $matches)) {
|
||||
$name = "Goal_*_" . $matches[1];
|
||||
}
|
||||
|
||||
// remove subtable id suffix, if present
|
||||
if (preg_match("/^(.*)_[0-9]+$/", $name, $matches)) {
|
||||
$name = $matches[1] . "_*";
|
||||
}
|
||||
|
||||
return $name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears the internal cache that stores TABLE STATUS results.
|
||||
*/
|
||||
public function clearStatusCache()
|
||||
{
|
||||
$this->tableStatuses = null;
|
||||
}
|
||||
}
|
160
msd2/tracking/piwik/plugins/DBStats/Reports/Base.php
Normal file
160
msd2/tracking/piwik/plugins/DBStats/Reports/Base.php
Normal file
@ -0,0 +1,160 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats\Reports;
|
||||
|
||||
use Piwik\Metrics\Formatter;
|
||||
use Piwik\Option;
|
||||
use Piwik\Piwik;
|
||||
use Piwik\Plugin\ViewDataTable;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\Graph;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable;
|
||||
use Piwik\Plugins\DBStats\DBStats;
|
||||
|
||||
abstract class Base extends \Piwik\Plugin\Report
|
||||
{
|
||||
public function isEnabled()
|
||||
{
|
||||
return Piwik::hasUserSuperUserAccess();
|
||||
}
|
||||
|
||||
public function configureReportMetadata(&$availableReports, $info)
|
||||
{
|
||||
// DBStats is not supposed to appear in report metadata
|
||||
}
|
||||
|
||||
protected function addBaseDisplayProperties(ViewDataTable $view)
|
||||
{
|
||||
$view->requestConfig->filter_sort_column = 'label';
|
||||
$view->requestConfig->filter_sort_order = 'desc';
|
||||
$view->requestConfig->filter_limit = 25;
|
||||
|
||||
$view->config->show_exclude_low_population = false;
|
||||
$view->config->show_table_all_columns = false;
|
||||
$view->config->show_tag_cloud = false;
|
||||
$view->config->show_search = false;
|
||||
|
||||
if ($view->isViewDataTableId(HtmlTable::ID)) {
|
||||
$view->config->keep_summary_row = true;
|
||||
$view->config->disable_row_evolution = true;
|
||||
$view->config->highlight_summary_row = true;
|
||||
}
|
||||
|
||||
if ($view->isViewDataTableId(Graph::ID)) {
|
||||
$view->config->show_series_picker = false;
|
||||
}
|
||||
|
||||
$view->config->addTranslations(array(
|
||||
'label' => Piwik::translate('DBStats_Table'),
|
||||
'year' => Piwik::translate('Intl_PeriodYear'),
|
||||
'data_size' => Piwik::translate('DBStats_DataSize'),
|
||||
'index_size' => Piwik::translate('DBStats_IndexSize'),
|
||||
'total_size' => Piwik::translate('DBStats_TotalSize'),
|
||||
'row_count' => Piwik::translate('DBStats_RowCount'),
|
||||
'percent_total' => '% ' . Piwik::translate('DBStats_DBSize'),
|
||||
'estimated_size' => Piwik::translate('DBStats_EstimatedSize')
|
||||
));
|
||||
}
|
||||
|
||||
protected function addPresentationFilters(ViewDataTable $view, $addTotalSizeColumn = true, $addPercentColumn = false,
|
||||
$sizeColumns = array('data_size', 'index_size'))
|
||||
{
|
||||
// add total_size column
|
||||
if ($addTotalSizeColumn) {
|
||||
$getTotalTableSize = function ($dataSize, $indexSize) {
|
||||
return $dataSize + $indexSize;
|
||||
};
|
||||
|
||||
$view->config->filters[] = array('ColumnCallbackAddColumn',
|
||||
array(array('data_size', 'index_size'), 'total_size', $getTotalTableSize), $isPriority = true);
|
||||
|
||||
$sizeColumns[] = 'total_size';
|
||||
}
|
||||
|
||||
$runPrettySizeFilterBeforeGeneric = false;
|
||||
|
||||
if ($view->isViewDataTableId(HtmlTable::ID)) {
|
||||
|
||||
// add summary row only if displaying a table
|
||||
$view->config->filters[] = array('AddSummaryRow', Piwik::translate('General_Total'));
|
||||
|
||||
// add percentage column if desired
|
||||
if ($addPercentColumn
|
||||
&& $addTotalSizeColumn
|
||||
) {
|
||||
$view->config->filters[] = array(
|
||||
'ColumnCallbackAddColumnPercentage',
|
||||
array('percent_total', 'total_size', 'total_size', $quotientPrecision = 0,
|
||||
$shouldSkipRows = false, $getDivisorFromSummaryRow = true),
|
||||
$isPriority = false
|
||||
);
|
||||
|
||||
$view->requestConfig->filter_sort_column = 'percent_total';
|
||||
}
|
||||
|
||||
} else if ($view->isViewDataTableId(Graph::ID)) {
|
||||
if ($addTotalSizeColumn) {
|
||||
$view->config->columns_to_display = array('label', 'total_size');
|
||||
|
||||
// when displaying a graph, we force sizes to be shown as the same unit so axis labels
|
||||
// will be readable. NOTE: The unit should depend on the smallest value of the data table,
|
||||
// however there's no way to know this information, short of creating a custom filter. For
|
||||
// now, just assume KB.
|
||||
$fixedMemoryUnit = 'K';
|
||||
$view->config->y_axis_unit = ' K';
|
||||
$view->requestConfig->filter_sort_column = 'total_size';
|
||||
$view->requestConfig->filter_sort_order = 'desc';
|
||||
} else {
|
||||
$view->config->columns_to_display = array('label', 'row_count');
|
||||
$view->config->y_axis_unit = ' ' . Piwik::translate('General_Rows');
|
||||
|
||||
$view->requestConfig->filter_sort_column = 'row_count';
|
||||
$view->requestConfig->filter_sort_order = 'desc';
|
||||
}
|
||||
$view->config->selectable_rows = array();
|
||||
}
|
||||
|
||||
$formatter = new Formatter();
|
||||
|
||||
$getPrettySize = array($formatter, 'getPrettySizeFromBytes');
|
||||
$params = !isset($fixedMemoryUnit) ? array() : array($fixedMemoryUnit);
|
||||
|
||||
$view->config->filters[] = function ($dataTable) use ($sizeColumns, $getPrettySize, $params) {
|
||||
$dataTable->filter('ColumnCallbackReplace', array($sizeColumns, $getPrettySize, $params));
|
||||
};
|
||||
|
||||
// jqPlot will display as, well, ' ', so don't replace the spaces when rendering as a graph
|
||||
if ($view->isViewDataTableId(HtmlTable::ID)) {
|
||||
$replaceSpaces = function ($value) {
|
||||
return str_replace(' ', ' ', $value);
|
||||
};
|
||||
|
||||
$view->config->filters[] = array('ColumnCallbackReplace', array($sizeColumns, $replaceSpaces));
|
||||
}
|
||||
|
||||
$getPrettyNumber = array($formatter, 'getPrettyNumber');
|
||||
$view->config->filters[] = array('ColumnCallbackReplace', array('row_count', $getPrettyNumber));
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the footer message for the Individual...Summary reports.
|
||||
*/
|
||||
protected function setIndividualSummaryFooterMessage(ViewDataTable $view)
|
||||
{
|
||||
$lastGenerated = self::getDateOfLastCachingRun();
|
||||
if ($lastGenerated !== false) {
|
||||
$view->config->show_footer_message = Piwik::translate('Mobile_LastUpdated', $lastGenerated);
|
||||
}
|
||||
}
|
||||
|
||||
/** Returns the date when the cacheDataByArchiveNameReports was last run. */
|
||||
private static function getDateOfLastCachingRun()
|
||||
{
|
||||
return Option::get(DBStats::TIME_OF_LAST_TASK_RUN_OPTION);
|
||||
}
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats\Reports;
|
||||
|
||||
use Piwik\Piwik;
|
||||
use Piwik\Plugin\ViewDataTable;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\Graph;
|
||||
|
||||
/**
|
||||
* Shows a datatable that displays the amount of space each 'admin' table takes
|
||||
* up in the MySQL database.
|
||||
*
|
||||
* An 'admin' table is a table that is not central to analytics functionality.
|
||||
* So any table that isn't an archive table or a log table is an 'admin' table.
|
||||
*/
|
||||
class GetAdminDataSummary extends Base
|
||||
{
|
||||
|
||||
protected function init()
|
||||
{
|
||||
$this->name = Piwik::translate('DBStats_OtherTables');
|
||||
}
|
||||
|
||||
public function configureView(ViewDataTable $view)
|
||||
{
|
||||
$this->addBaseDisplayProperties($view);
|
||||
$this->addPresentationFilters($view);
|
||||
|
||||
$view->requestConfig->filter_sort_order = 'asc';
|
||||
$view->config->show_offset_information = false;
|
||||
$view->config->show_pagination_control = false;
|
||||
}
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats\Reports;
|
||||
|
||||
use Piwik\Piwik;
|
||||
use Piwik\Plugin\ViewDataTable;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\Graph;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\JqplotGraph\Pie;
|
||||
|
||||
/**
|
||||
* Shows a datatable that displays how much space the tracker tables, numeric
|
||||
* archive tables, report tables and other tables take up in the MySQL database.
|
||||
*/
|
||||
class GetDatabaseUsageSummary extends Base
|
||||
{
|
||||
|
||||
protected function init()
|
||||
{
|
||||
$this->name = Piwik::translate('General_Overview');
|
||||
}
|
||||
|
||||
public function getDefaultTypeViewDataTable()
|
||||
{
|
||||
return Pie::ID;
|
||||
}
|
||||
|
||||
public function configureView(ViewDataTable $view)
|
||||
{
|
||||
$this->addBaseDisplayProperties($view);
|
||||
$this->addPresentationFilters($view, $addTotalSizeColumn = true, $addPercentColumn = true);
|
||||
|
||||
$view->config->show_offset_information = false;
|
||||
$view->config->show_pagination_control = false;
|
||||
|
||||
if ($view->isViewDataTableId(Graph::ID)) {
|
||||
$view->config->show_all_ticks = true;
|
||||
}
|
||||
|
||||
// translate the labels themselves
|
||||
$valueToTranslationStr = array(
|
||||
'tracker_data' => 'DBStats_TrackerTables',
|
||||
'report_data' => 'DBStats_ReportTables',
|
||||
'metric_data' => 'DBStats_MetricTables',
|
||||
'other_data' => 'DBStats_OtherTables'
|
||||
);
|
||||
|
||||
$translateSummaryLabel = function ($value) use ($valueToTranslationStr) {
|
||||
return isset($valueToTranslationStr[$value])
|
||||
? Piwik::translate($valueToTranslationStr[$value])
|
||||
: $value;
|
||||
};
|
||||
|
||||
$view->config->filters[] = array('ColumnCallbackReplace', array('label', $translateSummaryLabel), $isPriority = true);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats\Reports;
|
||||
|
||||
use Piwik\Piwik;
|
||||
use Piwik\Plugin\ViewDataTable;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\Graph;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable;
|
||||
|
||||
/**
|
||||
* Shows a datatable that displays how many occurrences there are of each individual
|
||||
* metric type stored in the MySQL database.
|
||||
*
|
||||
* Goal metrics, metrics of the format .*_[0-9]+ and 'done...' metrics are grouped together.
|
||||
*/
|
||||
class GetIndividualMetricsSummary extends Base
|
||||
{
|
||||
|
||||
protected function init()
|
||||
{
|
||||
$this->name = Piwik::translate('General_Metrics');
|
||||
}
|
||||
|
||||
public function configureView(ViewDataTable $view)
|
||||
{
|
||||
$this->addBaseDisplayProperties($view);
|
||||
$this->addPresentationFilters($view, $addTotalSizeColumn = false, $addPercentColumn = false,
|
||||
$sizeColumns = array('estimated_size'));
|
||||
|
||||
$view->requestConfig->filter_sort_order = 'asc';
|
||||
$view->config->addTranslation('label', Piwik::translate('General_Metric'));
|
||||
|
||||
$this->setIndividualSummaryFooterMessage($view);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats\Reports;
|
||||
|
||||
use Piwik\Piwik;
|
||||
use Piwik\Plugin\ViewDataTable;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\Graph;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable;
|
||||
|
||||
/**
|
||||
* Shows a datatable that displays how many occurrences there are of each individual
|
||||
* report type stored in the MySQL database.
|
||||
*
|
||||
* Goal reports and reports of the format: .*_[0-9]+ are grouped together.
|
||||
*/
|
||||
class GetIndividualReportsSummary extends Base
|
||||
{
|
||||
|
||||
protected function init()
|
||||
{
|
||||
$this->name = Piwik::translate('General_Reports');
|
||||
}
|
||||
|
||||
public function configureView(ViewDataTable $view)
|
||||
{
|
||||
$this->addBaseDisplayProperties($view);
|
||||
$this->addPresentationFilters($view, $addTotalSizeColumn = false, $addPercentColumn = false,
|
||||
$sizeColumns = array('estimated_size'));
|
||||
|
||||
$view->requestConfig->filter_sort_order = 'asc';
|
||||
$view->config->addTranslation('label', Piwik::translate('General_Report'));
|
||||
|
||||
// this report table has some extra columns that shouldn't be shown
|
||||
if ($view->isViewDataTableId(HtmlTable::ID)) {
|
||||
$view->config->columns_to_display = array('label', 'row_count', 'estimated_size');
|
||||
}
|
||||
|
||||
$this->setIndividualSummaryFooterMessage($view);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats\Reports;
|
||||
|
||||
use Piwik\Piwik;
|
||||
use Piwik\Plugin\ViewDataTable;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\Graph;
|
||||
use Piwik\Plugin\ReportsProvider;
|
||||
|
||||
/**
|
||||
* Shows a datatable that displays the amount of space each numeric archive table
|
||||
* takes up in the MySQL database.
|
||||
*/
|
||||
class GetMetricDataSummary extends Base
|
||||
{
|
||||
protected function init()
|
||||
{
|
||||
$this->name = Piwik::translate('DBStats_MetricTables');
|
||||
}
|
||||
|
||||
public function configureView(ViewDataTable $view)
|
||||
{
|
||||
$this->addBaseDisplayProperties($view);
|
||||
$this->addPresentationFilters($view);
|
||||
|
||||
$view->config->title = $this->name;
|
||||
}
|
||||
|
||||
public function getRelatedReports()
|
||||
{
|
||||
return array(
|
||||
ReportsProvider::factory('DBStats', 'getMetricDataSummaryByYear'),
|
||||
);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats\Reports;
|
||||
|
||||
use Piwik\Piwik;
|
||||
use Piwik\Plugin\ViewDataTable;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\Graph;
|
||||
use Piwik\Plugin\ReportsProvider;
|
||||
|
||||
/**
|
||||
* Shows a datatable that displays the amount of space each numeric archive table
|
||||
* takes up in the MySQL database, for each year of numeric data.
|
||||
*/
|
||||
class GetMetricDataSummaryByYear extends Base
|
||||
{
|
||||
protected function init()
|
||||
{
|
||||
$this->name = Piwik::translate('DBStats_MetricDataByYear');
|
||||
}
|
||||
|
||||
public function configureView(ViewDataTable $view)
|
||||
{
|
||||
$this->addBaseDisplayProperties($view);
|
||||
$this->addPresentationFilters($view);
|
||||
|
||||
$view->config->title = $this->name;
|
||||
$view->config->addTranslation('label', Piwik::translate('Intl_PeriodYear'));
|
||||
}
|
||||
|
||||
public function getRelatedReports()
|
||||
{
|
||||
return array(
|
||||
ReportsProvider::factory('DBStats', 'getMetricDataSummary'),
|
||||
);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats\Reports;
|
||||
|
||||
use Piwik\Piwik;
|
||||
use Piwik\Plugin\ViewDataTable;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\Graph;
|
||||
use Piwik\Plugin\ReportsProvider;
|
||||
|
||||
/**
|
||||
* Shows a datatable that displays the amount of space each blob archive table
|
||||
* takes up in the MySQL database.
|
||||
*/
|
||||
class GetReportDataSummary extends Base
|
||||
{
|
||||
protected function init()
|
||||
{
|
||||
$this->name = Piwik::translate('DBStats_ReportTables');
|
||||
}
|
||||
|
||||
public function configureView(ViewDataTable $view)
|
||||
{
|
||||
$this->addBaseDisplayProperties($view);
|
||||
$this->addPresentationFilters($view);
|
||||
|
||||
$view->config->title = $this->name;
|
||||
}
|
||||
|
||||
public function getRelatedReports()
|
||||
{
|
||||
return array(
|
||||
ReportsProvider::factory('DBStats', 'getReportDataSummaryByYear'),
|
||||
);
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats\Reports;
|
||||
|
||||
use Piwik\Piwik;
|
||||
use Piwik\Plugin\ViewDataTable;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\Graph;
|
||||
use Piwik\Plugin\ReportsProvider;
|
||||
|
||||
/**
|
||||
* Shows a datatable that displays the amount of space each blob archive table
|
||||
* takes up in the MySQL database, for each year of blob data.
|
||||
*/
|
||||
class GetReportDataSummaryByYear extends Base
|
||||
{
|
||||
protected function init()
|
||||
{
|
||||
$this->name = Piwik::translate('DBStats_ReportDataByYear');
|
||||
}
|
||||
|
||||
public function configureView(ViewDataTable $view)
|
||||
{
|
||||
$this->addBaseDisplayProperties($view);
|
||||
$this->addPresentationFilters($view);
|
||||
|
||||
$view->config->title = $this->name;
|
||||
$view->config->addTranslation('label', Piwik::translate('Intl_PeriodYear'));
|
||||
}
|
||||
|
||||
public function getRelatedReports()
|
||||
{
|
||||
return array(
|
||||
ReportsProvider::factory('DBStats', 'getReportDataSummary'),
|
||||
);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats\Reports;
|
||||
|
||||
use Piwik\Piwik;
|
||||
use Piwik\Plugin\ViewDataTable;
|
||||
use Piwik\Plugins\CoreVisualizations\Visualizations\Graph;
|
||||
|
||||
/**
|
||||
* Shows a datatable that displays the amount of space each individual log table
|
||||
* takes up in the MySQL database.
|
||||
*/
|
||||
class GetTrackerDataSummary extends Base
|
||||
{
|
||||
protected function init()
|
||||
{
|
||||
$this->name = Piwik::translate('DBStats_TrackerTables');
|
||||
}
|
||||
|
||||
public function configureView(ViewDataTable $view)
|
||||
{
|
||||
$this->addBaseDisplayProperties($view);
|
||||
$this->addPresentationFilters($view);
|
||||
|
||||
$view->requestConfig->filter_sort_order = 'asc';
|
||||
$view->config->show_offset_information = false;
|
||||
$view->config->show_pagination_control = false;
|
||||
}
|
||||
|
||||
}
|
34
msd2/tracking/piwik/plugins/DBStats/Tasks.php
Normal file
34
msd2/tracking/piwik/plugins/DBStats/Tasks.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\DBStats;
|
||||
|
||||
use Piwik\Date;
|
||||
use Piwik\Option;
|
||||
|
||||
class Tasks extends \Piwik\Plugin\Tasks
|
||||
{
|
||||
public function schedule()
|
||||
{
|
||||
$this->weekly('cacheDataByArchiveNameReports', null, self::LOWEST_PRIORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Caches the intermediate DataTables used in the getIndividualReportsSummary and
|
||||
* getIndividualMetricsSummary reports in the option table.
|
||||
*/
|
||||
public function cacheDataByArchiveNameReports()
|
||||
{
|
||||
$api = API::getInstance();
|
||||
$api->getIndividualReportsSummary(true);
|
||||
$api->getIndividualMetricsSummary(true);
|
||||
|
||||
$now = Date::now()->getLocalized(Date::DATE_FORMAT_SHORT);
|
||||
Option::set(DBStats::TIME_OF_LAST_TASK_RUN_OPTION, $now);
|
||||
}
|
||||
}
|
7
msd2/tracking/piwik/plugins/DBStats/config/test.php
Normal file
7
msd2/tracking/piwik/plugins/DBStats/config/test.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
|
||||
'Piwik\Plugins\DBStats\MySQLMetadataDataAccess' => \DI\object('Piwik\Plugins\DBStats\tests\Mocks\MockDataAccess'),
|
||||
|
||||
);
|
10
msd2/tracking/piwik/plugins/DBStats/lang/am.json
Normal file
10
msd2/tracking/piwik/plugins/DBStats/lang/am.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "የውሂብ ጎታ አጠቃቀም",
|
||||
"DataSize": "የውሂብ መጠን",
|
||||
"IndexSize": "የመረጃ ጠቋሚ መጠን",
|
||||
"MainDescription": "ፒዊክ የድር ምዘናዎቹን ውሂብ በመይ ኤስ ኪው ኤል ይውሂብ ጎታ ውስጥ በማከማቸት ላይ ነው። በአሁን ወቅት የፒዊክ ሰንጠረዦች እየተጠቀሙ ያሉት %s።",
|
||||
"Table": "ሰንጠረዥ",
|
||||
"TotalSize": "አጠቃላይ መጠን"
|
||||
}
|
||||
}
|
16
msd2/tracking/piwik/plugins/DBStats/lang/ar.json
Normal file
16
msd2/tracking/piwik/plugins/DBStats/lang/ar.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "استهلاك قاعدة البيانات",
|
||||
"DataSize": "حجم البيانات",
|
||||
"EstimatedSize": "الحجم التقريبي",
|
||||
"IndexSize": "حجم السجل",
|
||||
"LearnMore": "للإطلاع على المزيد حول كيفية معالجة Matomo للبيانات وكيفية ضبطه ليعمل على المواقع المتوسطة والكبيرة، انظر مستندات الدعم %s.",
|
||||
"MainDescription": "يقوم Matomo بتخزين كافة بيانات تحليلات ويب في قاعدة بيانات MySQL. حالياً، استهلك Matomo %s.",
|
||||
"MetricTables": "جداول المعيار",
|
||||
"ReportDataByYear": "جداول التقرير بالسنة",
|
||||
"RowCount": "عدد السطور",
|
||||
"Table": "الجدول",
|
||||
"TotalSize": "الحجم الإجمالي",
|
||||
"TrackerTables": "جداول المتتبع"
|
||||
}
|
||||
}
|
12
msd2/tracking/piwik/plugins/DBStats/lang/be.json
Normal file
12
msd2/tracking/piwik/plugins/DBStats/lang/be.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Выкарыстанне БД",
|
||||
"DataSize": "Памер дадзеных",
|
||||
"IndexSize": "Памер індэксу",
|
||||
"LearnMore": "Каб даведацца больш аб тым, як Matomo апрацоўвае дадзеныя і як налдзцца больш аб тым, як Matomo апрацоўвае дадзеныя і як налдзиціць Matomo для добрага працавання на сайтах з сярэднімі і высокім трафікам, праверце дакументацыю %s.",
|
||||
"MainDescription": "Matomo захоўвае ўсю Вашу web статыстыку ў базе MySQL. Выкарыстанне Matomo табліц на дадзены момант %s.",
|
||||
"RowCount": "Колькасць радкоў",
|
||||
"Table": "Табліца",
|
||||
"TotalSize": "Агульны памер"
|
||||
}
|
||||
}
|
20
msd2/tracking/piwik/plugins/DBStats/lang/bg.json
Normal file
20
msd2/tracking/piwik/plugins/DBStats/lang/bg.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Натоварване на БД",
|
||||
"DataSize": "Данни (размер)",
|
||||
"DBSize": "Размер на БД",
|
||||
"EstimatedSize": "Ориентировъчен размер",
|
||||
"IndexSize": "Индекс (размер)",
|
||||
"LearnMore": "За да научите повече за това как Matomo обработва данни и колко добре работи за среден и висок трафик на уеб сайтове, проверете документацията %s.",
|
||||
"MainDescription": "Matomo съхранява цялата информация в MySQL база от данни (БД). В момента Matomo таблиците използват %s.",
|
||||
"MetricDataByYear": "Метрични таблици за година",
|
||||
"MetricTables": "Метрични таблици",
|
||||
"OtherTables": "Други таблици",
|
||||
"ReportDataByYear": "Годишен доклад на таблици",
|
||||
"ReportTables": "Докладни таблици",
|
||||
"RowCount": "Брой редове",
|
||||
"Table": "Таблици",
|
||||
"TotalSize": "Общ размер",
|
||||
"TrackerTables": "Таблици на тракера"
|
||||
}
|
||||
}
|
5
msd2/tracking/piwik/plugins/DBStats/lang/bn.json
Normal file
5
msd2/tracking/piwik/plugins/DBStats/lang/bn.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"Table": "সারণি"
|
||||
}
|
||||
}
|
8
msd2/tracking/piwik/plugins/DBStats/lang/bs.json
Normal file
8
msd2/tracking/piwik/plugins/DBStats/lang/bs.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DataSize": "Veličina podataka",
|
||||
"DBSize": "Veličina baze podataka",
|
||||
"Table": "Tabla",
|
||||
"TotalSize": "Ukupna velična"
|
||||
}
|
||||
}
|
20
msd2/tracking/piwik/plugins/DBStats/lang/ca.json
Normal file
20
msd2/tracking/piwik/plugins/DBStats/lang/ca.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Ús de la base de dades",
|
||||
"DataSize": "Grandària de les dades",
|
||||
"DBSize": "Mida de la BD",
|
||||
"EstimatedSize": "Mida estimada",
|
||||
"IndexSize": "Grandària del l'índex",
|
||||
"LearnMore": "Per obtenir més informació sobre com el Matomo procesa la informació i com fer que el Matomo funcioni correctament en llocs amb un tràfic mitja o elevat, consulteu la següent documentació: %s.",
|
||||
"MainDescription": "El Matomo desa totes les anàlisis web la base de dades MySQL. Ara per ara, les taules del Matomo fan servir %s.",
|
||||
"MetricDataByYear": "Taules de mètriques per any.",
|
||||
"MetricTables": "Taules de mètriques",
|
||||
"OtherTables": "Altres taules",
|
||||
"ReportDataByYear": "Taules d'informes per any",
|
||||
"ReportTables": "Taules d'informes",
|
||||
"RowCount": "Nombre de files",
|
||||
"Table": "Taula",
|
||||
"TotalSize": "Grandària total",
|
||||
"TrackerTables": "Taules de rastreig"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/cs.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/cs.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Využití databáze",
|
||||
"DataSize": "Velikost dat",
|
||||
"DBSize": "Velikost databáze",
|
||||
"EstimatedSize": "Odhadovaná velikost",
|
||||
"IndexSize": "Velikost indexu",
|
||||
"LearnMore": "Abyste lépe zjistili, jak Matomo zpracovává data a jak jej nastavit pro weby se středním a velkým provozem, podívejte se do dokumentace %s.",
|
||||
"MainDescription": "Matomo ukládá všechna vaše data webové analýzy v MySQL databázi. Nyní tabulky Matomou využívají %s.",
|
||||
"MetricDataByYear": "Tabulky měření za rok",
|
||||
"MetricTables": "Tabulky měření",
|
||||
"OtherTables": "Ostatní tabulky",
|
||||
"PluginDescription": "Poskytuje detailní hlášení o využití Mysql databáze. Dostupné pro super-uživatele pod diagnostikou.",
|
||||
"ReportDataByYear": "Hlášení tabulek za rok",
|
||||
"ReportTables": "Tabulky hlášení",
|
||||
"RowCount": "Počet řádků",
|
||||
"Table": "Tabulka",
|
||||
"TotalSize": "Celková velikost",
|
||||
"TrackerTables": "Sledovací tabulky"
|
||||
}
|
||||
}
|
5
msd2/tracking/piwik/plugins/DBStats/lang/cy.json
Normal file
5
msd2/tracking/piwik/plugins/DBStats/lang/cy.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"Table": "Tabl"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/da.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/da.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Databasebrug",
|
||||
"DataSize": "Data",
|
||||
"DBSize": "DB-størrelse",
|
||||
"EstimatedSize": "Anslået størrelse",
|
||||
"IndexSize": "Indeks",
|
||||
"LearnMore": "Hvis du vil vide mere om, hvordan Matomo behandler data, og hvordan man kan få Matomo til arbejde godt på mellem til stærkt trafikerede hjemmesider, se dokumentationen på %s.",
|
||||
"MainDescription": "Matomo gemmer al statistik i MySQL-databasen. Lige nu bruger Matomo-tabellerne %s.",
|
||||
"MetricDataByYear": "Målingstabeller fordelt på år",
|
||||
"MetricTables": "Målingstabeller",
|
||||
"OtherTables": "Andre tabeller",
|
||||
"PluginDescription": "Giver detaljerede MySQL-databasebrugsrapporter. Tilgængelig for superbrugere under Diagnostik.",
|
||||
"ReportDataByYear": "Rapport tabeller fordelt på år",
|
||||
"ReportTables": "Rapport tabeller",
|
||||
"RowCount": "Antal rækker",
|
||||
"Table": "Tabel",
|
||||
"TotalSize": "Samlet størrelse",
|
||||
"TrackerTables": "Sporings tabeller"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/de.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/de.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Datenbanknutzung",
|
||||
"DataSize": "Datenmenge",
|
||||
"DBSize": "Datenbankgröße",
|
||||
"EstimatedSize": "Erwartete Größe",
|
||||
"IndexSize": "Indexgröße",
|
||||
"LearnMore": "Um mehr darüber zu erfahren, wie Matomo Daten verarbeitet und wie Sie Matomo auf stark besuchten Websites einsetzen können, lesen Sie die Dokumentation unter %s.",
|
||||
"MainDescription": "Matomo speichert sämtliche Webanalyse-Daten in der MySQL-Datenbank. Aktuell belegter Speicherplatz %s.",
|
||||
"MetricDataByYear": "Metriktabellen pro Jahr",
|
||||
"MetricTables": "Metriktabellen",
|
||||
"OtherTables": "Andere Tabellen",
|
||||
"PluginDescription": "Stellt detaillierte MySQL Datenbank Auslastungsberichte zur Verfügung. Verfügbar für Hauptadministratoren unter Diagnose.",
|
||||
"ReportDataByYear": "Berichtstabellen pro Jahr",
|
||||
"ReportTables": "Berichtstabellen",
|
||||
"RowCount": "Zeilenanzahl",
|
||||
"Table": "Tabelle",
|
||||
"TotalSize": "Gesamtgröße",
|
||||
"TrackerTables": "Trackertabellen"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/el.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/el.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Χρήση βάσης δεδομένων",
|
||||
"DataSize": "Μέγεθος δεδομένων",
|
||||
"DBSize": "Μέγεθος Βάσης Δεδομένων",
|
||||
"EstimatedSize": "Εκτιμόμενο μέγεθος",
|
||||
"IndexSize": "Μέγεθος ευρετηρίου",
|
||||
"LearnMore": "Για να μάθετε περισσότερα για τη διαχείριση δεδομένων του Matomo και πως να κάνετε το Matomo να λειτουργεί καλά για ιστοσελίδες μέσης και υψηλής επισκεψιμότητας, δείτε την τεκμηρίωση %s.",
|
||||
"MainDescription": "Το Matomo αποθηκεύει όλα τα δεδομένα των αναλυτικών σε βάση δεδομένων της MySQL. Αυτή τη στιγμή, οι πίνακες του Matomo καταλαμβάνουν χώρο %s.",
|
||||
"MetricDataByYear": "Πίνακες Μετρήσεων Κατά Έτος",
|
||||
"MetricTables": "Πίνακες Μετρήσεων",
|
||||
"OtherTables": "Άλλοι Πίνακες",
|
||||
"PluginDescription": "Παρέχει λεπτομερείς αναφορές χρήσης για τη βάση δεδομένων MySQL. Διαθέσιμη για Υπερ-Χρήστες κάτω από τα Διαγνωστικά.",
|
||||
"ReportDataByYear": "Πίνακες αναφοράς Κατά Έτος",
|
||||
"ReportTables": "Πίνακες Αναφοράς",
|
||||
"RowCount": "Αριθμός σειρών",
|
||||
"Table": "Πίνακας",
|
||||
"TotalSize": "Συνολικό μέγεθος",
|
||||
"TrackerTables": "Πίνακες Καταγραφής"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/en.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/en.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Database usage",
|
||||
"DataSize": "Data size",
|
||||
"DBSize": "DB size",
|
||||
"EstimatedSize": "Estimated size",
|
||||
"IndexSize": "Index size",
|
||||
"LearnMore": "To learn more about how Matomo processes data and how to make Matomo work well with medium and high traffic websites, see this documentation: %s.",
|
||||
"MainDescription": "Matomo stores all your web analytics data in a MySQL database. Currently, Matomo tables take up %s of space.",
|
||||
"MetricDataByYear": "Metric Tables By Year",
|
||||
"MetricTables": "Metric Tables",
|
||||
"OtherTables": "Other Tables",
|
||||
"PluginDescription": "Provides detailed MySQL database usage reports. Available for Super Users under Diagnostics. ",
|
||||
"ReportDataByYear": "Report Tables By Year",
|
||||
"ReportTables": "Report Tables",
|
||||
"RowCount": "Row count",
|
||||
"Table": "Table",
|
||||
"TotalSize": "Total size",
|
||||
"TrackerTables": "Tracker Tables"
|
||||
}
|
||||
}
|
5
msd2/tracking/piwik/plugins/DBStats/lang/eo.json
Normal file
5
msd2/tracking/piwik/plugins/DBStats/lang/eo.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"Table": "Tabelo"
|
||||
}
|
||||
}
|
5
msd2/tracking/piwik/plugins/DBStats/lang/es-ar.json
Normal file
5
msd2/tracking/piwik/plugins/DBStats/lang/es-ar.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"Table": "Tabla"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/es.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/es.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Uso de la base de datos",
|
||||
"DataSize": "Tamaño de los datos",
|
||||
"DBSize": "Tamaño BD",
|
||||
"EstimatedSize": "Tamaño estimado",
|
||||
"IndexSize": "Tamaño del índice",
|
||||
"LearnMore": "Para aprender más sobre cómo Matomo procesa los datos y cómo hacer que Matomo funcione bien en sitios web de tráfico mediano y alto, eche un vistazo a la documentación %s.",
|
||||
"MainDescription": "Matomo está almacenando todos sus datos de análisis de internet en la base de datos MySQL. Actualmente, las tablas de Matomo están usando %s de espacio.",
|
||||
"MetricDataByYear": "Tablas de medición anuales",
|
||||
"MetricTables": "Tablas de medición",
|
||||
"OtherTables": "Otras tablas",
|
||||
"PluginDescription": "Suministra informes detallados de usos de la base de datos MySQL. Disponible para Super Usuarios bajo la función Diagnósticos.",
|
||||
"ReportDataByYear": "Informe de Tablas por año",
|
||||
"ReportTables": "Tablas de informes",
|
||||
"RowCount": "Cantidad de filas",
|
||||
"Table": "Tabla",
|
||||
"TotalSize": "Tamaño total",
|
||||
"TrackerTables": "Tablas de rastreadores"
|
||||
}
|
||||
}
|
20
msd2/tracking/piwik/plugins/DBStats/lang/et.json
Normal file
20
msd2/tracking/piwik/plugins/DBStats/lang/et.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Andmebaasi kasutus",
|
||||
"DataSize": "Andmemaht",
|
||||
"DBSize": "Andmebaasi suurus",
|
||||
"EstimatedSize": "Ennustatud maht",
|
||||
"IndexSize": "Indeksi maht",
|
||||
"LearnMore": "Et saada rohkem infot, kuidas Matomo töötleb andmeid ja kuidas optimeerida Matomout tööks keskmise ja kõrge külastatavusega veebilehtedele, vaata seda dokumentatsiooni: %s.",
|
||||
"MainDescription": "Matomo salvestab kõik veebianalüütika andmed MySQL andmebaasi. Matomou tabelid kasutavad hetkel %s.",
|
||||
"MetricDataByYear": "Mõõttabelid aasta järgi",
|
||||
"MetricTables": "Mõõttabelid",
|
||||
"OtherTables": "Muud tabelid",
|
||||
"ReportDataByYear": "Raporti tabelid aasta järgi",
|
||||
"ReportTables": "Raporti tabelid",
|
||||
"RowCount": "Ridade arv",
|
||||
"Table": "Tabel",
|
||||
"TotalSize": "Kogusuurus",
|
||||
"TrackerTables": "Jälitustabelid"
|
||||
}
|
||||
}
|
12
msd2/tracking/piwik/plugins/DBStats/lang/eu.json
Normal file
12
msd2/tracking/piwik/plugins/DBStats/lang/eu.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Datu-basearen erabilera",
|
||||
"DataSize": "Datuen tamaina",
|
||||
"IndexSize": "Indizearen tamaina",
|
||||
"LearnMore": "Matomo datuak nola prozesatzen dituen eta Matomo trafiko ertain eta handikjo webguneetarako nola moldatu jakiteko, emaiozu begirada dokumentazioari: %s.",
|
||||
"MainDescription": "Zure web analitiken datu guztiak MySQL datu-basean biltegiratzen ari da Matomo. Une honetan Matomo-en taulek tamaina hau hartzen dute: %s.",
|
||||
"RowCount": "Errenkada kopurua",
|
||||
"Table": "Taula",
|
||||
"TotalSize": "Tamaina osoa"
|
||||
}
|
||||
}
|
20
msd2/tracking/piwik/plugins/DBStats/lang/fa.json
Normal file
20
msd2/tracking/piwik/plugins/DBStats/lang/fa.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "پایگاه داده مورد استفاده",
|
||||
"DataSize": "اندازه داده ها",
|
||||
"DBSize": "اندازه پایگاه داده",
|
||||
"EstimatedSize": "اندازه تخمین زده شده",
|
||||
"IndexSize": "اندازه شاخص(ایندکس)",
|
||||
"LearnMore": "برای درک بیشتر درباره ی پردازش داده ها توسط پیویک و چگونگی تنظیم پیویک برای عملکرد عالی برای وبسایت های با ترافیک متوسط و بالا , این مستندات را ببینید: %s.",
|
||||
"MainDescription": "پیویک تمام داده های آماری وب شما را در یک پایگاه داده ی MySQL نگهداری می کند. هم اکنون جدول های پیویک %s از فضا را اشغال کرده اند.",
|
||||
"MetricDataByYear": "جدول های معیار سالیانه",
|
||||
"MetricTables": "جدول های معیار",
|
||||
"OtherTables": "سایر جدول ها",
|
||||
"ReportDataByYear": "جدول گزارش بر اساس سال",
|
||||
"ReportTables": "گزارش جدول ها",
|
||||
"RowCount": "تعداد سطر",
|
||||
"Table": "جدول",
|
||||
"TotalSize": "سایز کل",
|
||||
"TrackerTables": "جدول های ردیاب"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/fi.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/fi.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Tietokannan käyttö",
|
||||
"DataSize": "Tietojen koko",
|
||||
"DBSize": "Tietokannan koko",
|
||||
"EstimatedSize": "Arvioitu koko",
|
||||
"IndexSize": "Indeksien koko",
|
||||
"LearnMore": "Jos haluat tietää enemmän Matomon tietojen käsittelystä ja Matomon optimoinnista isoille verkkosivuille, lue lisää aiheesta osoitteesta %s.",
|
||||
"MainDescription": "Matomo tallentaa kaikki tiedot MySQL-tietokantaan. Matomon taulut käyttävät tilaa %s.",
|
||||
"MetricDataByYear": "Metriikat vuosittain",
|
||||
"MetricTables": "Metriikkataulut",
|
||||
"OtherTables": "Muut taulut",
|
||||
"PluginDescription": "Tarjoaa tietoa MySQL-tietokannan käytöstä. Saatavilla pääkäyttäjille Diagnostiikka-sivun alla.",
|
||||
"ReportDataByYear": "Raporttitaulut vuosittain",
|
||||
"ReportTables": "Raporttitaulut",
|
||||
"RowCount": "Rivien määrä",
|
||||
"Table": "Taulukko",
|
||||
"TotalSize": "Koko yhteensä",
|
||||
"TrackerTables": "Seurantataulut"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/fr.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/fr.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Utilisation de la base de données",
|
||||
"DataSize": "Taille des données",
|
||||
"DBSize": "Taille de la BDD",
|
||||
"EstimatedSize": "Taille estimée",
|
||||
"IndexSize": "Taille de l'index",
|
||||
"LearnMore": "Pour en apprendre plus à propos de la manière dont Matomo traite les données et sur comment faire fonctionner Matomo correctement pour les sites à moyen et fort trafic, consultez la documentation %s.",
|
||||
"MainDescription": "Matomo stocke toutes vos donnés de statistiques web dans la base de données MySQL. En ce moment les tables de Matomo utilisent %s.",
|
||||
"MetricDataByYear": "Tables de métriques par année",
|
||||
"MetricTables": "Tables de métriques",
|
||||
"OtherTables": "Autres tables",
|
||||
"PluginDescription": "Fournit des rapports détaillés sur l'utilisation de la base de données MySQL. Disponibles pour les super utilisateurs sous Diagnostiques.",
|
||||
"ReportDataByYear": "Tables de rapports par année",
|
||||
"ReportTables": "Tables de rapport",
|
||||
"RowCount": "Nombre de lignes",
|
||||
"Table": "Tableau",
|
||||
"TotalSize": "Taille totale",
|
||||
"TrackerTables": "Tables de suivi"
|
||||
}
|
||||
}
|
5
msd2/tracking/piwik/plugins/DBStats/lang/gl.json
Normal file
5
msd2/tracking/piwik/plugins/DBStats/lang/gl.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"Table": "Táboa"
|
||||
}
|
||||
}
|
12
msd2/tracking/piwik/plugins/DBStats/lang/he.json
Normal file
12
msd2/tracking/piwik/plugins/DBStats/lang/he.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "צריכת מסד נתונים",
|
||||
"DataSize": "משקל מידע",
|
||||
"IndexSize": "משקל מפתח (index)",
|
||||
"LearnMore": "בכדי ללמוד עוד אודות כיצד Matomo מעבדת מידע וכיצד לשפר את ביצועיה של Matomo עבור אתרים בעלי תעבורה בינונית עד גבוהה, מומלץ להציץ במדריך %s.",
|
||||
"MainDescription": "Matomo מאכסנת את כל המידע אודות ניתוח פעילות הרשת במסד נתונים. כרגע, טבלאות Matomo צורכות %s.",
|
||||
"RowCount": "מספר שורות",
|
||||
"Table": "טבלה",
|
||||
"TotalSize": "משקל כולל"
|
||||
}
|
||||
}
|
20
msd2/tracking/piwik/plugins/DBStats/lang/hi.json
Normal file
20
msd2/tracking/piwik/plugins/DBStats/lang/hi.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "डेटाबेस के उपयोग",
|
||||
"DataSize": "डाटा आकार",
|
||||
"DBSize": "डीबी आकार",
|
||||
"EstimatedSize": "अनुमानित आकार",
|
||||
"IndexSize": "सूचकांक के आकार",
|
||||
"LearnMore": "Matomo प्रक्रियाओं डेटा और कैसे मध्यम और उच्च यातायात वेबसाइटों के साथ अच्छी तरह से Matomo काम करता है दस्तावेज़ देखें कैसे के इस बारे में अधिक जानने के लिए:%s",
|
||||
"MainDescription": "Matomo MYSQL डाटाबेस में सभी अपने वेब विश्लेषण डेटा स्टोर करता है. वर्तमान में, Matomo तालिकाओं %s की जगह ले।",
|
||||
"MetricDataByYear": "वर्ष द्वारा मीट्रिक तालिकाएँ",
|
||||
"MetricTables": "मीट्रिक तालिकाएँ",
|
||||
"OtherTables": "अन्य तालिकाएँ",
|
||||
"ReportDataByYear": "वर्ष के द्वारा रिपोर्ट तालिकाएँ",
|
||||
"ReportTables": "रिपोर्ट तालिकाएँ",
|
||||
"RowCount": "गिनती पंक्ति के",
|
||||
"Table": "तालिका",
|
||||
"TotalSize": "कुल आकार",
|
||||
"TrackerTables": "खोज तालिकाएँ"
|
||||
}
|
||||
}
|
5
msd2/tracking/piwik/plugins/DBStats/lang/hr.json
Normal file
5
msd2/tracking/piwik/plugins/DBStats/lang/hr.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"Table": "Tablica"
|
||||
}
|
||||
}
|
12
msd2/tracking/piwik/plugins/DBStats/lang/hu.json
Normal file
12
msd2/tracking/piwik/plugins/DBStats/lang/hu.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Adatbázis-használat",
|
||||
"DataSize": "Adatméret",
|
||||
"IndexSize": "Indexméret",
|
||||
"LearnMore": "Ha többet szeretnél megtudni arról, hogyan dolgozza fel a Matomo az adatokat, és hogyan lehet mindezt hatékonyan megoldani közepes és nagyobb forgalommal rendelkező weboldalak esetén is, olvasd el a vonatkozó dokumentációt: %s",
|
||||
"MainDescription": "A Matomo egy MySQL adatbázisban tárolja a webanalitikai adatokat. Jelenleg a Matomo táblák a következőket használják: %s.",
|
||||
"RowCount": "Sorok száma",
|
||||
"Table": "Táblázat",
|
||||
"TotalSize": "Teljes méret"
|
||||
}
|
||||
}
|
20
msd2/tracking/piwik/plugins/DBStats/lang/id.json
Normal file
20
msd2/tracking/piwik/plugins/DBStats/lang/id.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Penggunaan Basisdata",
|
||||
"DataSize": "Ukuran Data",
|
||||
"DBSize": "Ukuran Basisdat",
|
||||
"EstimatedSize": "Perkiraan ukuran",
|
||||
"IndexSize": "Ukuran Index",
|
||||
"LearnMore": "Pelajari selengkapnya tentang bagaimana Matomo mengolah data dan bagaimana Matomo bekerja baik dalam kunjungan situs menengah dan tinggi, lihat dokumentasi %s.",
|
||||
"MainDescription": "Matomo menyimpan seluruh data analisis ramatraya Anda di basisdata MySQL. Sekarang, tabel Matomo menggunakan %s.",
|
||||
"MetricDataByYear": "Tabel Metrik berdasarkan Tahun",
|
||||
"MetricTables": "Tabel Metrik",
|
||||
"OtherTables": "Tabel Lain",
|
||||
"ReportDataByYear": "Tabel Laporan berdasarkan Tahun",
|
||||
"ReportTables": "Tabel Laporan",
|
||||
"RowCount": "Jumlah Baris",
|
||||
"Table": "Tabel",
|
||||
"TotalSize": "Ukuran Total",
|
||||
"TrackerTables": "Tabel pelacak"
|
||||
}
|
||||
}
|
11
msd2/tracking/piwik/plugins/DBStats/lang/is.json
Normal file
11
msd2/tracking/piwik/plugins/DBStats/lang/is.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Notkun gagnagrunns",
|
||||
"DataSize": "Gagnastærð",
|
||||
"IndexSize": "stærð vísitöflu",
|
||||
"MainDescription": "Matomo vistar öll vefgreiningagögn inn í MySQL gagnagrunn. Núna eru Matomo töflurnar að nota %s.",
|
||||
"RowCount": "Fjöldi raða",
|
||||
"Table": "Tafla",
|
||||
"TotalSize": "Heildarstærð"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/it.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/it.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Uso del Database",
|
||||
"DataSize": "Dimensione dei dati",
|
||||
"DBSize": "Dimensione del database",
|
||||
"EstimatedSize": "Dimensione stimata",
|
||||
"IndexSize": "Dimensione degli indici",
|
||||
"LearnMore": "Per apprendere i dettagli su come Matomo elabora i dati e su come farlo funzionare bene per siti a medio e alto traffico, dai un'occhiata a questa documentazione: %s.",
|
||||
"MainDescription": "Matomo sta salvando tutti i dati statistici nel Database MySQL. Attualmente, le tabelle di Matomo stanno usando %s di spazio.",
|
||||
"MetricDataByYear": "Tabelle metriche per anno",
|
||||
"MetricTables": "Tabelle metriche",
|
||||
"OtherTables": "Altre Tabelle",
|
||||
"PluginDescription": "Restituisce dei report dettagliati sull'uso del database MySQL. Disponibile in Diagnostica per i Super Users.",
|
||||
"ReportDataByYear": "Report Tabelle per Anno",
|
||||
"ReportTables": "Report Tabelle",
|
||||
"RowCount": "Conteggio delle righe",
|
||||
"Table": "Tabella",
|
||||
"TotalSize": "Dimensione totale",
|
||||
"TrackerTables": "Tracker Tabelle"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/ja.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/ja.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "データベースの使用量",
|
||||
"DataSize": "データサイズ",
|
||||
"DBSize": "DB サイズ",
|
||||
"EstimatedSize": "推定サイズ",
|
||||
"IndexSize": "インデックスサイズ",
|
||||
"LearnMore": "Matomo のデータ処理方法やトラフィックの比較的高いウェブサイトで Matomo をうまく機能させる方法についての詳細は、ドキュメント %s を参照してください。",
|
||||
"MainDescription": "Matomo はすべてのウェブ解析データを Mysql データベースに保存します。 現在のところ、Matomo テーブルは %s を使用しています。",
|
||||
"MetricDataByYear": "年次のメトリック表",
|
||||
"MetricTables": "メトリック表",
|
||||
"OtherTables": "その他の表",
|
||||
"PluginDescription": "詳細な MySQL データベースの利用状況のレポートを提供します。診断中のスーパー ユーザーに対して使用できます。",
|
||||
"ReportDataByYear": "年次のリポートテーブル",
|
||||
"ReportTables": "リポートテーブル",
|
||||
"RowCount": "行数",
|
||||
"Table": "テーブル",
|
||||
"TotalSize": "総サイズ",
|
||||
"TrackerTables": "トラッカーテーブル"
|
||||
}
|
||||
}
|
12
msd2/tracking/piwik/plugins/DBStats/lang/ka.json
Normal file
12
msd2/tracking/piwik/plugins/DBStats/lang/ka.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "მონაცემთა ბაზის გამოყენება",
|
||||
"DataSize": "მონაცემთა ზომა",
|
||||
"IndexSize": "ინდექსის ზომა",
|
||||
"LearnMore": "დამატებითი ინფორმაციის მისაღებად Matomo–ის მიერ მონაცემთა დამუშავების შესახებ და როგორ ამუშავოთ Matomo საშუალო და მაღალი ტრაფიკის ვებსაიტებზე უკეთესის შედეგის მისაღებად, გაეცანით დოკუმენტაციას %s.",
|
||||
"MainDescription": "Matomo ინახავს ვებ ანალიზის ყველა მონაცემს MySQL მონაცემთა ბაზაში. ამჟამად, Matomo ცხრილები იყენებენ %s.",
|
||||
"RowCount": "სტრიქონების რაოდენობა",
|
||||
"Table": "ცხრილი",
|
||||
"TotalSize": "მთლიანი ზომა"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/ko.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/ko.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "데이터베이스 사용량",
|
||||
"DataSize": "데이터 용량",
|
||||
"DBSize": "DB 용량",
|
||||
"EstimatedSize": "예상 용량",
|
||||
"IndexSize": "인덱스 용량",
|
||||
"LearnMore": "트래픽이 비교적 높은 웹 사이트에서 Matomo 데이터를 처리 방법이나 Matomo을 작동시키는 방법에 대한 자세한 내용은 %s 문서를 참조하세요.",
|
||||
"MainDescription": "Matomo은 모든 웹 분석 데이터를 MySQL 데이터베이스에 저장하고 있습니다. 현재, Matomo 테이블은 %s 를 사용하고 있습니다.",
|
||||
"MetricDataByYear": "연별 통계 표",
|
||||
"MetricTables": "통계표",
|
||||
"OtherTables": "기타 표",
|
||||
"PluginDescription": "자세한 MySQL 데이터베이스 사용 보고서를 제공합니다. 진단 상황에서 슈퍼 유저만이 사용할 수 있습니다.",
|
||||
"ReportDataByYear": "연별 보고표",
|
||||
"ReportTables": "보고표",
|
||||
"RowCount": "행 수",
|
||||
"Table": "테이블",
|
||||
"TotalSize": "전체 용량",
|
||||
"TrackerTables": "추적기 표"
|
||||
}
|
||||
}
|
12
msd2/tracking/piwik/plugins/DBStats/lang/lt.json
Normal file
12
msd2/tracking/piwik/plugins/DBStats/lang/lt.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Duombazės naudojimas",
|
||||
"DataSize": "Informacijos kiekis",
|
||||
"IndexSize": "Indekso dydis",
|
||||
"LearnMore": "Norint geriau susipažinti su Matomo duomenų apdorojimu bei kaip priversti Matomo veikti geriau vidutinės ir didelės apkrovos svetainėse, siūlome pastudijuoti dokumentaciją %s.",
|
||||
"MainDescription": "Matomo saugo visus Jūsų duomenis MySQL duombazėje. Šiuo metu Matomo lentelės naudoja %s.",
|
||||
"RowCount": "Eilučių kiekis",
|
||||
"Table": "Lentelė",
|
||||
"TotalSize": "Bendras dydis"
|
||||
}
|
||||
}
|
12
msd2/tracking/piwik/plugins/DBStats/lang/lv.json
Normal file
12
msd2/tracking/piwik/plugins/DBStats/lang/lv.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Datubāzes lietojums",
|
||||
"DataSize": "Datu izmērs",
|
||||
"IndexSize": "Indeksa izmērs",
|
||||
"LearnMore": "Lai uzzinātu vairāk par to, kā Matomo apstrādā datus un kā Matomo tiek galā ar vidēja un augsta apmeklējuma vietnēm, apskatiet dokumentāciju %s.",
|
||||
"MainDescription": "Matomo glabā visus Jūsu tīkla analīzes datus MySQL datubāzē. Pašlaik Matomo tabulas lieto %s.",
|
||||
"RowCount": "Rindu skaits",
|
||||
"Table": "Tabula",
|
||||
"TotalSize": "Kopējais izmērs"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/nb.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/nb.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Databasebruk",
|
||||
"DataSize": "Datastørrelse",
|
||||
"DBSize": "DB-størrelse",
|
||||
"EstimatedSize": "Estimert størrelse",
|
||||
"IndexSize": "Indeksstørrelse",
|
||||
"LearnMore": "For å lære mer om hvordan Matomo behandler data og hvordan få Matomo til å virke bra for nettsteder med medium og høy trafikk, les dokumentasjonen %s.",
|
||||
"MainDescription": "Matomo lagrer all din statistikk i MySQL-databasen. Akkurat nå bruker Matomo-tabellene %s.",
|
||||
"MetricDataByYear": "Måledatatabeller etter år",
|
||||
"MetricTables": "Måletdatatabeller",
|
||||
"OtherTables": "Andre tabeller",
|
||||
"PluginDescription": "Gir deg detaljerte rapporter om MySQL-databasebruk. Tilgjengelig for superbrukere under Diagnostikk.",
|
||||
"ReportDataByYear": "Rapporttabeller etter år",
|
||||
"ReportTables": "Rapporttabeller",
|
||||
"RowCount": "Antall rader",
|
||||
"Table": "Tabell",
|
||||
"TotalSize": "Total størrelse",
|
||||
"TrackerTables": "Sporingstabeller"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/nl.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/nl.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Database gebruik",
|
||||
"DataSize": "Data omvang",
|
||||
"DBSize": "DB grootte",
|
||||
"EstimatedSize": "Geschatte grootte",
|
||||
"IndexSize": "Index grootte",
|
||||
"LearnMore": "Voor meer informatie over de manier waarop Matomo de data verwerkt en over de werking van Matomo in combinatie met middelgrote en grote website's, zie de documentatie %s.",
|
||||
"MainDescription": "Matomo slaat alle analysedata op in een MySQL database. Momenteel is de omvang van deze database %s.",
|
||||
"MetricDataByYear": "Metric tabellen per jaar",
|
||||
"MetricTables": "Metric tabellen",
|
||||
"OtherTables": "Andere tabellen",
|
||||
"PluginDescription": "Toont gedetailleerde rapporten over MySQL database gebruik. Deze zijn beschikbaar voor Super Users onder Diagnose.",
|
||||
"ReportDataByYear": "Rapport tabellen per jaar",
|
||||
"ReportTables": "Rapport tabellen",
|
||||
"RowCount": "Aantal rijen",
|
||||
"Table": "Tabel",
|
||||
"TotalSize": "Totale grootte",
|
||||
"TrackerTables": "Tracker tabellen"
|
||||
}
|
||||
}
|
20
msd2/tracking/piwik/plugins/DBStats/lang/nn.json
Normal file
20
msd2/tracking/piwik/plugins/DBStats/lang/nn.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Databasebruk",
|
||||
"DataSize": "Datastorleik",
|
||||
"DBSize": "DB-storleik",
|
||||
"EstimatedSize": "Omlag storleik",
|
||||
"IndexSize": "Indeksstorleik",
|
||||
"LearnMore": "For å læra meir om korleis Matomo prosesserer data, og korleis gjera at Matomo fungerer bra for nettstader med middels og høg trafikk, sjå dokumentasjonen %s.",
|
||||
"MainDescription": "Matomo lagrar alle dine nettstatistikkdata i MySQL-databasen. Nett no nyttar tabellane til Matomo %s.",
|
||||
"MetricDataByYear": "Verdi-tabellar etter år",
|
||||
"MetricTables": "Verdi-tabellar",
|
||||
"OtherTables": "Andre tabellar",
|
||||
"ReportDataByYear": "Rapport-tabellar etter år",
|
||||
"ReportTables": "Rapport-tabellar",
|
||||
"RowCount": "Rad",
|
||||
"Table": "Tabell",
|
||||
"TotalSize": "Samla storleik",
|
||||
"TrackerTables": "Sporings-tabellar"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/pl.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/pl.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Stopień wykorzystania bazy danych",
|
||||
"DataSize": "Rozmiar danych",
|
||||
"DBSize": "rozmiar bazy",
|
||||
"EstimatedSize": "szacunkowa wielkość",
|
||||
"IndexSize": "Rozmiar indeksu",
|
||||
"LearnMore": "Aby dowiedzieć się więcej o tym, jak Matomo przetwarza dane i jak konfigurować go do pracy z serwisami o średnim i wysokim ruchu na stronach, sprawdź dokumentację %s.",
|
||||
"MainDescription": "Matomo przechowuje wszystkie dane analityki statystycznej stron w bazie danych MySQL serwera. Obecnie jego tabele zajmują %s.",
|
||||
"MetricDataByYear": "Metryka Tabele wg Roku",
|
||||
"MetricTables": "Metryka Tabele",
|
||||
"OtherTables": "Inne Tabele",
|
||||
"PluginDescription": "Dostarcza szczegółowych raportów dotyczących wykorzystania bazy MySQL. Dostępne dla Super Użytkownika w sekcji Diagnostyka",
|
||||
"ReportDataByYear": "Raport Tabele według roku",
|
||||
"ReportTables": "Raport Tabele",
|
||||
"RowCount": "Liczba wierszy",
|
||||
"Table": "Tabela",
|
||||
"TotalSize": "Całkowity rozmiar",
|
||||
"TrackerTables": "Tabele trakera"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/pt-br.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/pt-br.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Uso do banco de dados",
|
||||
"DataSize": "Tamanho dos dados",
|
||||
"DBSize": "tamanho DB",
|
||||
"EstimatedSize": "Tamanho estimado",
|
||||
"IndexSize": "Tamanho do índice",
|
||||
"LearnMore": "Apara aprender mais sobre como o Matomo processa os dados e como fazer o Matomo trabalhar bem para sites de médio e alto tráfego, confira a documentação %s.",
|
||||
"MainDescription": "O Matomo está armazenando todos os dados de análise de tráfego no banco de dados MySQL. Atualmente, as tabelas do Matomo estão usando %s.",
|
||||
"MetricDataByYear": "Tabelas métricas Por Ano",
|
||||
"MetricTables": "Tabelas métricas",
|
||||
"OtherTables": "Outras tabelas",
|
||||
"PluginDescription": "Fornece relatórios detalhados de uso do banco de dados MySQL. Disponível para Super Usuários sob Diagnosticos.",
|
||||
"ReportDataByYear": "Relatório Quadros por Ano",
|
||||
"ReportTables": "Tabelas de relatórios",
|
||||
"RowCount": "Contagem de linhas",
|
||||
"Table": "Tabela",
|
||||
"TotalSize": "Tamanho total",
|
||||
"TrackerTables": "Tabelas do Rastreador"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/pt.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/pt.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Utilização da base de dados",
|
||||
"DataSize": "Tamanho dos dados",
|
||||
"DBSize": "Tamanho da base de dados",
|
||||
"EstimatedSize": "Tamanho estimado",
|
||||
"IndexSize": "Tamanho do índice",
|
||||
"LearnMore": "Para saber mais sobre como o Matomo processa dados e como otimizar o Matomo para sites de tráfego médio ou elevado, consulte esta documentação %s.",
|
||||
"MainDescription": "O Matomo está a armazenar todos os seus dados de análise numa base de dados MySQL. Atualmente, as tabelas do Matomo estão a utilizar %s de espaço.",
|
||||
"MetricDataByYear": "Tabelas de métricas por ano",
|
||||
"MetricTables": "Tabelas de métricas",
|
||||
"OtherTables": "Outras tabelas",
|
||||
"PluginDescription": "Fornece relatórios detalhados sobre a utilização da base de dados MySQL. Disponível para super-utilizadores sob Diagnósticos.",
|
||||
"ReportDataByYear": "Tabelas de relatórios por ano",
|
||||
"ReportTables": "Tabelas de relatórios",
|
||||
"RowCount": "Número de linhas",
|
||||
"Table": "Tabela",
|
||||
"TotalSize": "Tamanho total",
|
||||
"TrackerTables": "Tabelas de acompanhamento"
|
||||
}
|
||||
}
|
20
msd2/tracking/piwik/plugins/DBStats/lang/ro.json
Normal file
20
msd2/tracking/piwik/plugins/DBStats/lang/ro.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Utilizare baza date",
|
||||
"DataSize": "Marime date",
|
||||
"DBSize": "Mărimea bazei de date",
|
||||
"EstimatedSize": "Mărimea anticipată",
|
||||
"IndexSize": "Marime index",
|
||||
"LearnMore": "Pentru a invata mai multe despre cum proceseaza datele Matomo si cum sa faceti ca Matomo sa functioneze bine cu siteurile care au trafic mediu si mare, vedeti documentatia: %s.",
|
||||
"MainDescription": "Matomo stocheaza toate datele statistice in baza de date Mysql . Curent, tabela Matomo utilizeaza %s.",
|
||||
"MetricDataByYear": "Tabelele cu Parametri dupa An",
|
||||
"MetricTables": "Tabele Metrici",
|
||||
"OtherTables": "Alte tablete",
|
||||
"ReportDataByYear": "Tabele din raport pentru anul",
|
||||
"ReportTables": "Tabele din raport",
|
||||
"RowCount": "Numărul de înregistrări",
|
||||
"Table": "Tabela",
|
||||
"TotalSize": "Marime totala",
|
||||
"TrackerTables": "Mese Tracker"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/ru.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/ru.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Использование БД",
|
||||
"DataSize": "Размер данных",
|
||||
"DBSize": "Размер базы данных",
|
||||
"EstimatedSize": "Ожидаемый размер",
|
||||
"IndexSize": "Размер индекса",
|
||||
"LearnMore": "Чтобы узнать больше о том, как Веб-аналитика обрабатывает данные и как его оптимизировать для сайтов со средней и высокой нагрузкой, смотрите документацию %s.",
|
||||
"MainDescription": "Веб-аналитику хранит всю вашу статистику в базе данных MySQL. Размер таблиц на данный момент составляет %s.",
|
||||
"MetricDataByYear": "Таблицы показателей за год",
|
||||
"MetricTables": "Таблицы показателей",
|
||||
"OtherTables": "Другие таблицы",
|
||||
"PluginDescription": "Предоставляет подробные отчеты об использовании базы данных MySQL. Доступно для супер-пользователей в целях диагностики.",
|
||||
"ReportDataByYear": "Таблицы отчетов за год",
|
||||
"ReportTables": "Таблицы отчетов",
|
||||
"RowCount": "Количество записей",
|
||||
"Table": "Таблица",
|
||||
"TotalSize": "Общий размер",
|
||||
"TrackerTables": "Таблицы трекера"
|
||||
}
|
||||
}
|
13
msd2/tracking/piwik/plugins/DBStats/lang/sk.json
Normal file
13
msd2/tracking/piwik/plugins/DBStats/lang/sk.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Využitie databázy",
|
||||
"DataSize": "Veľkosť dát",
|
||||
"DBSize": "Veľkosť databázy",
|
||||
"EstimatedSize": "Odhadovaná veľkosť",
|
||||
"IndexSize": "Veľkosť indexu",
|
||||
"MainDescription": "Matomo ukladá všetky vaše web analýzy do Mysql databázy. Aktuálne Matomo tabuľky používajú %s.",
|
||||
"RowCount": "Počet riadkov",
|
||||
"Table": "Tabuľka",
|
||||
"TotalSize": "Celková veľkosť"
|
||||
}
|
||||
}
|
13
msd2/tracking/piwik/plugins/DBStats/lang/sl.json
Normal file
13
msd2/tracking/piwik/plugins/DBStats/lang/sl.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Uporaba podatkovne baze",
|
||||
"DataSize": "Velikost podatkov",
|
||||
"DBSize": "Velikost podatkovne baze",
|
||||
"EstimatedSize": "Ocenjena velikost",
|
||||
"IndexSize": "Velikost indeksa",
|
||||
"MainDescription": "Matomo shranjuje vse vaše podatke v MySQL bazo podatkov. Trenutna poraba podatkovne baze je %s.",
|
||||
"RowCount": "Število vrst",
|
||||
"Table": "Tabela",
|
||||
"TotalSize": "Skupna velikost"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/sq.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/sq.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Përdorim baze të dhënash",
|
||||
"DataSize": "Madhësi të dhënash",
|
||||
"DBSize": "Madhësia e DB-së",
|
||||
"EstimatedSize": "Madhësi e vlerësuar",
|
||||
"IndexSize": "Madhësi treguesi",
|
||||
"LearnMore": "Për të mësuar më tepër rreth se si i përpunon të dhënat Matomo-ja dhe se si ta bëni Matomo-n të punojë mirë me sajte me trafik mesatar ose të madh, kontrolloni dokumentimin %s.",
|
||||
"MainDescription": "Matomo po i depoziton krejt të dhënat tuaja për analiza web te baza e të dhënave MySQL. Tani për tani, tabelat e Matomo-s po përdorin %s.",
|
||||
"MetricDataByYear": "Tabela Vlerash Sipas Vitesh",
|
||||
"MetricTables": "Tabela Vlerash",
|
||||
"OtherTables": "Tabela të Tjera",
|
||||
"PluginDescription": "Furnizon raporte të hollësishëm përdorimi baze të dhënash MySQL. Gjendet nën Diagnostikimet, për Superpërdoruesit.",
|
||||
"ReportDataByYear": "Tabela Raportesh Sipas Vitit",
|
||||
"ReportTables": "Tabela Raportesh",
|
||||
"RowCount": "Numërim rreshtash",
|
||||
"Table": "Tabelë",
|
||||
"TotalSize": "Madhësi gjithsej",
|
||||
"TrackerTables": "Tabela Ndjekësi"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/sr.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/sr.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Iskorišćenost baze",
|
||||
"DataSize": "Veličina podatka",
|
||||
"DBSize": "Veličina baze",
|
||||
"EstimatedSize": "Procenjena veličina",
|
||||
"IndexSize": "Veličina indeksa",
|
||||
"LearnMore": "Ukoliko želite da naučite više o tome kako Matomo procesira podatke i kako da ga naterate da dobro radi sa srednjim i velikim sajtovima, proučite dokumentaciju %s.",
|
||||
"MainDescription": "Matomo smešta sve vaše analitičke podatke u MySQL bazu. Trenutno Matomo tabele zauzimaju %s.",
|
||||
"MetricDataByYear": "Metrika po godinama",
|
||||
"MetricTables": "Metrika",
|
||||
"OtherTables": "Ostalo",
|
||||
"PluginDescription": "Omogućuje detaljne izveštaje oko iskorišćenosti MySQL baze podataka. Dostupno superkorisnicima pod Dijagnostikom.",
|
||||
"ReportDataByYear": "Izveštaji po godinama",
|
||||
"ReportTables": "Izveštaji",
|
||||
"RowCount": "Broj redova",
|
||||
"Table": "Tabela",
|
||||
"TotalSize": "Ukupna veličina",
|
||||
"TrackerTables": "Trekeri"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/sv.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/sv.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Databasanvändning",
|
||||
"DataSize": "Datastorlek",
|
||||
"DBSize": "Databasstorlek",
|
||||
"EstimatedSize": "Uppskattad storlek",
|
||||
"IndexSize": "Indexstorlek",
|
||||
"LearnMore": "Om du vill veta mer om hur Matomo behandlar uppgifter och hur man gör för att Matomo ska fungera bra för medelhög och hög trafik webbplatser, kolla dokumentationen %s.",
|
||||
"MainDescription": "Matomo sparar all webbanalys data i MySQL databasen. För tillfället använder Matomo's tabeller %s.",
|
||||
"MetricDataByYear": "Variabler per år",
|
||||
"MetricTables": "Variabeltabeller",
|
||||
"OtherTables": "Övriga tabeller",
|
||||
"PluginDescription": "Ger detaljerade rapporter över användning av MySQL databasen. Finns tillgängligt för Administratörer under Diagnostik.",
|
||||
"ReportDataByYear": "Raporttabeller per år",
|
||||
"ReportTables": "Rapporttabeller",
|
||||
"RowCount": "Radantal",
|
||||
"Table": "Tabell",
|
||||
"TotalSize": "Total storlek",
|
||||
"TrackerTables": "Spårningstabeller"
|
||||
}
|
||||
}
|
14
msd2/tracking/piwik/plugins/DBStats/lang/ta.json
Normal file
14
msd2/tracking/piwik/plugins/DBStats/lang/ta.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "தரவுத்தளத்தின் பயன்பாடு",
|
||||
"DataSize": "தரவின் அளவு",
|
||||
"DBSize": "தரவுத்தளத்தின் அளவு",
|
||||
"EstimatedSize": "மதிப்பிட்டு அளவு",
|
||||
"IndexSize": "குறியீட்டு அளவு",
|
||||
"MetricDataByYear": "ஆண்டு அடிப்படையில் பதின்மான அட்டவணைகள்",
|
||||
"MetricTables": "அளவியல் அட்டவணைகள்",
|
||||
"ReportTables": "அட்டவணை அறிக்கை",
|
||||
"Table": "அட்டவணை",
|
||||
"TotalSize": "மொத்த அளவு"
|
||||
}
|
||||
}
|
6
msd2/tracking/piwik/plugins/DBStats/lang/te.json
Normal file
6
msd2/tracking/piwik/plugins/DBStats/lang/te.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"OtherTables": "ఇతర పట్టికలు",
|
||||
"Table": "పట్టిక"
|
||||
}
|
||||
}
|
13
msd2/tracking/piwik/plugins/DBStats/lang/th.json
Normal file
13
msd2/tracking/piwik/plugins/DBStats/lang/th.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "การใช้ฐานข้อมูล",
|
||||
"DataSize": "ขนาดข้อมูล",
|
||||
"DBSize": "ขนาด DB",
|
||||
"IndexSize": "ขนาดของดรรชนี",
|
||||
"LearnMore": "เมื่อต้องการเรียนรู้เพิ่มเติมเกี่ยวกับวิธีการประมวลผลข้อมูลของ Matomo และวิธีการทำให้ Matomo ทำงานดีสำหรับเว็บไซต์ขนาดกลาง และจราจรจำนวนสูง อ่านเอกสารการใช้งานได้ที่ %s",
|
||||
"MainDescription": "Matomo ได้ทำการเก็บข้อมูลการวิเคราะห์เว็บไซต์ของคุณในฐานข้อมูล MySQL ขณะนี้ตารางฐานข้อมูลของ Matomo มีขนาดทั้งหมด %s",
|
||||
"RowCount": "จำนวนระเบียน",
|
||||
"Table": "ตาราง",
|
||||
"TotalSize": "ขนาดรวม"
|
||||
}
|
||||
}
|
20
msd2/tracking/piwik/plugins/DBStats/lang/tl.json
Normal file
20
msd2/tracking/piwik/plugins/DBStats/lang/tl.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Paggamit ng Database",
|
||||
"DataSize": "Laki ng datos",
|
||||
"DBSize": "laki ng DB",
|
||||
"EstimatedSize": "Tinantyang laki",
|
||||
"IndexSize": "Laki ng index",
|
||||
"LearnMore": "Upang malaman kung paano pina-process ng Matomo ang data at kung papano paganahin ang Matomo ng may katam-taman at mataas na website traffic tignan ang dokumentasyon na ito: %s.",
|
||||
"MainDescription": "Nilalagay ng Matomo ang lahat ng iyong web analytics sa MySQL database. Sa kasalukuyan Matomo tables ay mayroong %s na espasyo.",
|
||||
"MetricDataByYear": "Talaan ng sukatan ayon sa taon",
|
||||
"MetricTables": "Table ng sukatan",
|
||||
"OtherTables": "Iba pang mga table",
|
||||
"ReportDataByYear": "Ulat talahaan ayon sa taon",
|
||||
"ReportTables": "Talaan ng mga table",
|
||||
"RowCount": "Bilang ng row",
|
||||
"Table": "Talahanayan",
|
||||
"TotalSize": "Kabuuang laki",
|
||||
"TrackerTables": "Tracker Tables"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/tr.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/tr.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Veritabanı kullanımı",
|
||||
"DataSize": "Veri boyutu",
|
||||
"DBSize": "Veritabanı boyutu",
|
||||
"EstimatedSize": "Öngörülen boyut",
|
||||
"IndexSize": "Dizin boyutu",
|
||||
"LearnMore": "Verilerin Matomo tarafından nasıl işlendiğini ile orta ve yüksek trafiğe sahip sitelerde nasıl iyi çalışacağını öğrenmek için şu belgeye bakın: %s.",
|
||||
"MainDescription": "Matomo tüm web istatistiklerinizi MySQL veritabanında saklar. Şu anda Matomo tabloları %s alan kullanıyor.",
|
||||
"MetricDataByYear": "Yıla Göre Ölçün Tabloları",
|
||||
"MetricTables": "Ölçüm Tabloları",
|
||||
"OtherTables": "Diğer Tablolar",
|
||||
"PluginDescription": "Ayrıntılı MySQL veritabanı kullanım raporu oluşturur. Süper Kullanıcılar Tanılama bölümünün altından ulaşabilir.",
|
||||
"ReportDataByYear": "Yıla Göre Rapor Tabloları",
|
||||
"ReportTables": "Rapor Tabloları",
|
||||
"RowCount": "Satır sayısı",
|
||||
"Table": "Tablo",
|
||||
"TotalSize": "Toplam boyut",
|
||||
"TrackerTables": "İzleyici Tabloları"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/uk.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/uk.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Використання БД",
|
||||
"DataSize": "Розмір даних",
|
||||
"DBSize": "Розмір бази даних",
|
||||
"EstimatedSize": "Очікуваний розмір",
|
||||
"IndexSize": "Розмір індексу",
|
||||
"LearnMore": "Щоб дізнатися більше про те, як веб-аналітика обробляє дані і як їх оптимізувати для сайтів з середнім і високим навантаженням, дивіться документацію %s.",
|
||||
"MainDescription": "Веб-аналітику зберігає всю вашу статистику в базі даних MySQL. Розмір таблиць на даний момент становить %s.",
|
||||
"MetricDataByYear": "Таблиці показників за рік",
|
||||
"MetricTables": "Таблиці показників",
|
||||
"OtherTables": "Інші таблиці",
|
||||
"PluginDescription": "Надає докладні звіти про використання бази даних MySQL. Доступно для супер-користувачів з метою діагностики.",
|
||||
"ReportDataByYear": "Таблиці звітів за рік",
|
||||
"ReportTables": "Таблиці звітів",
|
||||
"RowCount": "Кількість записів",
|
||||
"Table": "Таблиця",
|
||||
"TotalSize": "Загальний розмір",
|
||||
"TrackerTables": "Таблиці трекеру"
|
||||
}
|
||||
}
|
20
msd2/tracking/piwik/plugins/DBStats/lang/vi.json
Normal file
20
msd2/tracking/piwik/plugins/DBStats/lang/vi.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "Cơ sở dữ liệu đang sử dụng",
|
||||
"DataSize": "kích thước dữ liệu",
|
||||
"DBSize": "Kích thước cơ sở dữ liệu",
|
||||
"EstimatedSize": "kích thước đã ước tính",
|
||||
"IndexSize": "kích thước chỉ mục",
|
||||
"LearnMore": "Để tìm hiểu thêm về cách Matomo xử lý dữ liệu và cách làm cho Matomo làm việc tốt với các trang web có lượng truy cập trung bình và cao, hãy xem tài liệu này: %s.",
|
||||
"MainDescription": "Matomo lưu trữ tất cả dữ liệu phân tích web của bạn trong một cơ sở dữ liệu MySQL. Hiện nay, bảng Matomo chiếm %s không gian.",
|
||||
"MetricDataByYear": "Bảng thông số theo năm",
|
||||
"MetricTables": "Bảng tính",
|
||||
"OtherTables": "Bảng khác",
|
||||
"ReportDataByYear": "Bảng báo cáo bởi năm",
|
||||
"ReportTables": "Bảng báo cáo",
|
||||
"RowCount": "Hàng đếm",
|
||||
"Table": "Bảng",
|
||||
"TotalSize": "Tổng kích thước",
|
||||
"TrackerTables": "Bộ theo dõi bảng"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/zh-cn.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/zh-cn.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "数据库使用状况",
|
||||
"DataSize": "占用空间",
|
||||
"DBSize": "数据库大小",
|
||||
"EstimatedSize": "估计大小",
|
||||
"IndexSize": "索引空间大小",
|
||||
"LearnMore": "了解更多关于 Matomo 如何处理数据以及使 Matomo 在中高流量的网站上运作事宜,请查阅说明文件 %s。",
|
||||
"MainDescription": "Matomo 在MySQL中保存您的所有网站分析数据。 目前, Matomo 数据表已经使用了 %s!",
|
||||
"MetricDataByYear": "按年的指标表",
|
||||
"MetricTables": "指标表",
|
||||
"OtherTables": "其它表",
|
||||
"PluginDescription": "提供了详细的MySQL数据库使用情况报告。可用于超级用户下诊断。",
|
||||
"ReportDataByYear": "年度报表",
|
||||
"ReportTables": "报表",
|
||||
"RowCount": "行计算",
|
||||
"Table": "表格",
|
||||
"TotalSize": "总容量",
|
||||
"TrackerTables": "跟踪表"
|
||||
}
|
||||
}
|
21
msd2/tracking/piwik/plugins/DBStats/lang/zh-tw.json
Normal file
21
msd2/tracking/piwik/plugins/DBStats/lang/zh-tw.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"DBStats": {
|
||||
"DatabaseUsage": "資料庫使用狀況",
|
||||
"DataSize": "資料大小",
|
||||
"DBSize": "資料庫大小",
|
||||
"EstimatedSize": "預估大小",
|
||||
"IndexSize": "索引大小",
|
||||
"LearnMore": "要了解更多關於 Matomo 如何處理數據以及使 Matomo 在中高流量的網站上運作得宜,請查看說明文件 %s。",
|
||||
"MainDescription": "Matomo 將你所有你的網站分析資料儲存於 MySQL 資料庫中。目前, Matomo 資料表已經使用了 %s。",
|
||||
"MetricDataByYear": "年度數據資料表",
|
||||
"MetricTables": "數據資料表",
|
||||
"OtherTables": "其他資料表",
|
||||
"PluginDescription": "提供 MySQL 資料庫詳細的使用情況報表。超級使用者可於診斷功能中查看。",
|
||||
"ReportDataByYear": "年度報表資料表",
|
||||
"ReportTables": "報表資料表",
|
||||
"RowCount": "資料列計數",
|
||||
"Table": "資料表",
|
||||
"TotalSize": "總大小",
|
||||
"TrackerTables": "追蹤資料表"
|
||||
}
|
||||
}
|
98
msd2/tracking/piwik/plugins/DBStats/templates/index.twig
Normal file
98
msd2/tracking/piwik/plugins/DBStats/templates/index.twig
Normal file
@ -0,0 +1,98 @@
|
||||
{% extends 'admin.twig' %}
|
||||
|
||||
{% set title %}{{ 'DBStats_DatabaseUsage'|translate }}{% endset %}
|
||||
|
||||
{% block content %}
|
||||
<div piwik-content-intro>
|
||||
<h2 piwik-enriched-headline>
|
||||
{{ title }}
|
||||
</h2>
|
||||
<p>
|
||||
{{ 'DBStats_MainDescription'|translate(totalSpaceUsed) }}<br/>
|
||||
{{ 'DBStats_LearnMore'|translate("<a target='_blank' rel='noreferrer noopener' href='https://matomo.org/docs/setup-auto-archiving/'>Matomo Auto Archiving</a>")|raw }}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col s12 m6">
|
||||
{{ databaseUsageSummary|raw }}
|
||||
|
||||
{{ trackerDataSummary|raw }}
|
||||
</div>
|
||||
<div class="col s12 m6">
|
||||
<div piwik-content-block content-title="{{ 'General_GeneralInformation'|translate|e('html_attr') }}">
|
||||
<p style="font-size:1.4em;padding-left:21px;line-height:1.8em;">
|
||||
<strong>{{ userCount }}</strong> {% if userCount == 1 %}{{ 'UsersManager_User'|translate }}{% else %}{{ 'UsersManager_MenuUsers'|translate }}{% endif %}
|
||||
<br/>
|
||||
<strong>{{ siteCount }}</strong> {% if siteCount == 1 %}{{ 'General_Website'|translate }}{% else %}{{ 'Referrers_Websites'|translate }}{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
<div piwik-content-block content-title="{{ 'PrivacyManager_DeleteDataSettings'|translate|e('html_attr') }}">
|
||||
{% set clickDeleteLogSettings %}{{ 'PrivacyManager_DeleteDataSettings'|translate }}{% endset %}
|
||||
<p>
|
||||
{{ 'PrivacyManager_DeleteDataDescription'|translate }}
|
||||
<br/>
|
||||
<a href='{{ linkTo({'module':"PrivacyManager",'action':"privacySettings"}) }}#deleteLogsAnchor'>
|
||||
{{ 'PrivacyManager_ClickHereSettings'|translate("'"~clickDeleteLogSettings~"'") }}
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col s12 m6">
|
||||
{{ reportDataSummary|raw }}
|
||||
</div>
|
||||
<div class="col s12 m6">
|
||||
<div class="ajaxLoad" action="getIndividualReportsSummary">
|
||||
<span class="loadingPiwik"><img src="plugins/Morpheus/images/loading-blue.gif"/>{{ 'General_LoadingData'|translate }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col s12 m6">
|
||||
{{ metricDataSummary|raw }}
|
||||
</div>
|
||||
<div class="col s12 m6">
|
||||
<div class="ajaxLoad" action="getIndividualMetricsSummary">
|
||||
<span class="loadingPiwik"><img src="plugins/Morpheus/images/loading-blue.gif"/>{{ 'General_LoadingData'|translate }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col s12 m6">
|
||||
{{ adminDataSummary|raw }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
(function ($) {
|
||||
$(document).ready(function () {
|
||||
$('.ajaxLoad').each(function () {
|
||||
var self = this;
|
||||
var action = $(this).attr('action');
|
||||
|
||||
// build & execute AJAX request
|
||||
var ajaxRequest = new ajaxHelper();
|
||||
ajaxRequest.addParams({
|
||||
module: 'DBStats',
|
||||
action: action,
|
||||
viewDataTable: 'table',
|
||||
showtitle: '1'
|
||||
}, 'get');
|
||||
ajaxRequest.setCallback(function (data) {
|
||||
$('.loadingPiwik', self).remove();
|
||||
$(self).html(data);
|
||||
piwikHelper.compileAngularComponents(self);
|
||||
});
|
||||
ajaxRequest.setFormat('html');
|
||||
ajaxRequest.send();
|
||||
});
|
||||
});
|
||||
})(jQuery);
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user