Skip to content

Commit 6b74acc

Browse files
authored
rename page to database-schema (#332)
1 parent a4b2744 commit 6b74acc

9 files changed

Lines changed: 10 additions & 9 deletions

File tree

app/helpers/Content/Category/ApiReferenceCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function getItems()
6060
new ApiReferenceGuide('wordpress/restapi-reference')
6161
]),
6262
new EmptySubCategory('Database', [
63-
new Guide('persistence-and-the-mysql-backend'),
63+
new Guide('database-schema'),
6464
]),
6565
];
6666
}

app/helpers/Redirects.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public static function getRedirects()
2929
'/guides/all-about-tracking' => '/guides/tracking-introduction',
3030
'/guides/getting-started-part-2' => '/guides/report',
3131
'/guides/internationalization' => '/guides/translations',
32+
'/guides/persistence-and-the-mysql-backend' => '/guides/database-schema',
3233
];
3334
}
3435
}

docs/3.x/archiving.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Log data aggregation is handled by the [`LogAggregator`](/api-reference/Piwik/Da
8686

8787
Plugins can access a [`LogAggregator`](/api-reference/Piwik/DataAccess/LogAggregator) and [`ArchiveProcessor`](/api-reference/Piwik/ArchiveProcessor) instance with [`Piwik\Plugin\Archiver`](/api-reference/Piwik/Plugin/Archiver).
8888

89-
To learn more about how aggregation is accomplished with Piwik's MySQL backend, read about the [database schema](/guides/persistence-and-the-mysql-backend).
89+
To learn more about how aggregation is accomplished with Piwik's MySQL backend, read about the [database schema](/guides/database-schema).
9090

9191
## Persisting archive data
9292

@@ -114,7 +114,7 @@ $serializedData = $dataTable->getSerialized(
114114
$archiveProcessor->insertBlobRecords('MyPlugin_myFancyReport', $serializedData);
115115
```
116116

117-
Persisted reports and metrics are indexed by the website ID, period and segment. The date and time of archiving is also attached to the data. To learn the specifics of how this is done with MySQL see the [database schema](/guides/persistence-and-the-mysql-backend).
117+
Persisted reports and metrics are indexed by the website ID, period and segment. The date and time of archiving is also attached to the data. To learn the specifics of how this is done with MySQL see the [database schema](/guides/database-schema).
118118

119119
### How reports are stored as blob records in the `archive_blob_*` tables
120120

File renamed without changes.

docs/3.x/extending-database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,4 @@ the `doUpdate` method.
149149

150150
## Learn more
151151

152-
Learn more about the Piwik Analytics database structure and tables in the [Database schema reference](/guides/persistence-and-the-mysql-backend).
152+
Learn more about the Piwik Analytics database structure and tables in the [Database schema reference](/guides/database-schema).

docs/3.x/how-piwik-works.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Log data is represented in PHP as `Piwik\Tracker\Visit` objects, and is stored i
135135

136136
Those tables are designed and optimized for fast insertions, as the tracking API needs to be as fast as possible in order to handle websites with heavy traffic.
137137

138-
The content of those tables (and their related PHP entities) is explained in more details in the ["Piwik database schema" guide](/guides/persistence-and-the-mysql-backend#log-data-persistence).
138+
The content of those tables (and their related PHP entities) is explained in more details in the ["Piwik database schema" guide](/guides/database-schema#log-data-persistence).
139139

140140
### The archiving process
141141

@@ -171,7 +171,7 @@ Because Archive data must be fast to query, it is splitted in separate tables pe
171171
- `archive_blob_2014_11`: reports for November 2014
172172
-
173173

174-
The contents of the archive tables are explained in detail in the ["Piwik database schema" guide](/guides/persistence-and-the-mysql-backend#archive-tables). The archiving process is explained in detail in the ["Archiving" guide](/guides/archiving).
174+
The contents of the archive tables are explained in detail in the ["Piwik database schema" guide](/guides/database-schema#archive-tables). The archiving process is explained in detail in the ["Archiving" guide](/guides/archiving).
175175

176176
### From Archive data to reports
177177

docs/3.x/log-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ Log data is represented in PHP as `Piwik\Tracker\Visit` objects, and is stored i
2828
- `log_conversion` contains conversions (actions that match goals) that happen during a visit
2929
- `log_conversion_item` contains e-commerce conversion items
3030

31-
The content of those tables (and their related PHP entities) is explained in more details in the [Database schema guide](/guides/persistence-and-the-mysql-backend#log-data-persistence).
31+
The content of those tables (and their related PHP entities) is explained in more details in the [Database schema guide](/guides/database-schema#log-data-persistence).

docs/3.x/piwik-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ INI configuration is explained in the [INI configuration](/guides/piwiks-ini-con
3737

3838
Some Piwik configuration settings are stored as **Options**. Options are just key value pairs persisted in the database. To learn more about options, read the documentation of the [Option](/api-reference/Piwik/Option) class.
3939

40-
*To learn about how options are persisted in the MySQL backend, read about the [Piwik database schema](/guides/persistence-and-the-mysql-backend).*
40+
*To learn about how options are persisted in the MySQL backend, read about the [Piwik database schema](/guides/database-schema).*

docs/3.x/wordpress/data-access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ global $wpdb;
3232
$all_goals_configured_in_matomo = $wpdb->get_results('select * from ' . $goal_table_name);
3333
```
3434

35-
[Learn more about Matomo database schema](/guides/persistence-and-the-mysql-backend)
35+
[Learn more about Matomo database schema](/guides/database-schema)
3636
[View a plugin example](https://github.com/matomo-org/matomo-wordpress-plugin-examples/tree/master/direct-data-access)
3737

3838
## Accessing data by bootstrapping Matomo

0 commit comments

Comments
 (0)