Pb Taille BD : Différence entre versions

De WikiOpenTruc
Aller à : navigation, rechercher
m (Page créée avec « Souci sur uplib, complètement coincé, alors je bosse ici. * https://www.mediawiki.org/wiki/Category:MediaWiki_database_tables * https://www.mediawiki.org/wiki/Manual:Tex... »)
 
m
Ligne 1 : Ligne 1 :
 +
Souci sur uplib, complètement coincé, alors je bosse ici.
  
Souci sur uplib, complètement coincé, alors je bosse ici.
+
A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
 +
Query: REPLACE INTO `mwi_objectcache` (keyname,value,exptime) VALUES ('340976-6-mwi_:messages:fr:lock','˴2��\0','20140726151038')
 +
Function: SqlBagOStuff::set
 +
Error: 1142 INSERT command denied to user '340976-6'@'10.0.115.20' for table 'mwi_objectcache' (sql43.modules)
 +
 
 +
La BD fait 225Mo au lieu de 200Mo autorisés. OVH a bloqué l'écriture.
  
  
Ligne 9 : Ligne 15 :
 
Le phpMyAdmin d'ovh est plus récent que le mien propre. Et un peu plus commode.
 
Le phpMyAdmin d'ovh est plus récent que le mien propre. Et un peu plus commode.
 
J'essaie de trouver quoi effacer dans la BD sans tout casser.
 
J'essaie de trouver quoi effacer dans la BD sans tout casser.
 +
Sachant que faut quand même virer qqs Mos.
 +
 +
Les plus grosses tables
 +
 +
Table Action Lignes Type Interclassement Taille Décroissant Perte
 +
mwi_objectcache ~17 405 InnoDB utf8_general_ci 105,4 Mio -
 +
mwi_text ~4 645 InnoDB utf8_general_ci 100,5 Mio -
 +
mwi_l10n_cache  ~11 617 InnoDB utf8_general_ci 4,2 Mio -
 +
mwi_searchindex 495 MyISAM latin1_swedish_ci 3,5 Mio -
 +
mwi_logging ~6 291 InnoDB utf8_general_ci 3,3 Mio -
 +
mwi_externallinks~4 025 InnoDB utf8_general_ci 2,5 Mio -
 +
mwi_revision ~6 175 InnoDB utf8_general_ci 2,5 Mio -
 +
mwi_recentchanges~1 938 InnoDB utf8_general_ci 976 Kio -
 +
  
  

Version du 26 juillet 2014 à 17:11

Souci sur uplib, complètement coincé, alors je bosse ici.

A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script Query: REPLACE INTO `mwi_objectcache` (keyname,value,exptime) VALUES ('340976-6-mwi_:messages:fr:lock','˴2��\0','20140726151038') Function: SqlBagOStuff::set Error: 1142 INSERT command denied to user '340976-6'@'10.0.115.20' for table 'mwi_objectcache' (sql43.modules)

La BD fait 225Mo au lieu de 200Mo autorisés. OVH a bloqué l'écriture.


Le phpMyAdmin d'ovh est plus récent que le mien propre. Et un peu plus commode. J'essaie de trouver quoi effacer dans la BD sans tout casser. Sachant que faut quand même virer qqs Mos.

Les plus grosses tables

Table Action Lignes Type Interclassement Taille Décroissant Perte mwi_objectcache ~17 405 InnoDB utf8_general_ci 105,4 Mio - mwi_text ~4 645 InnoDB utf8_general_ci 100,5 Mio - mwi_l10n_cache ~11 617 InnoDB utf8_general_ci 4,2 Mio - mwi_searchindex 495 MyISAM latin1_swedish_ci 3,5 Mio - mwi_logging ~6 291 InnoDB utf8_general_ci 3,3 Mio - mwi_externallinks~4 025 InnoDB utf8_general_ci 2,5 Mio - mwi_revision ~6 175 InnoDB utf8_general_ci 2,5 Mio - mwi_recentchanges~1 938 InnoDB utf8_general_ci 976 Kio -



The l10n_cache table. Its content can be deleted and excluded from backups as it will be regenerated when needed. LocalisationCache.php's LCStore_DB class's public function get() looks up the lc_value by the lc_lang and lc_key.