r93025 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93024‎ | r93025 | r93026 >
Date:23:11, 24 July 2011
Author:reedy
Status:deferred
Tags:
Comment:
Fix typo, flip pk
Modified paths:
  • /trunk/wikistats/analytics/analytics_create_and_load_from_csv.txt (modified) (history)

Diff [purge]

Index: trunk/wikistats/analytics/analytics_create_and_load_from_csv.txt
@@ -15,7 +15,7 @@
1616
1717
1818 -- open issues:
 19+-- only store basic data in database and calculate all aggregates on the fly or do some aggregation before hand ? (e.g. count for mobile / non-mobile / ==> total of both ? <==)
1920 -- for binaries, store one extension type per row? (future proof, more work to query), or a selected few as columns? (one row only needed per month)
2021
2122 -- Create database and two tables from scratch
@@ -41,7 +41,7 @@
4242 `region_code` varchar (2),
4343 `report_language` varchar (10),
4444 `region_name` varchar (18),
45 - PRIMARY KEY (report_language,region_code)
 45+ PRIMARY KEY (region_code,report_language)
4646 ) ;
4747
4848 CREATE TABLE `wikistats` (

Status & tagging log