Outils pour utilisateurs

Outils du site


informatique:sgbd:mysql

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
informatique:sgbd:mysql [21/03/2021 11:32] – [Replication] cyrilleinformatique:sgbd:mysql [31/10/2022 18:37] (Version actuelle) – [Regular expression] il faut 2 anti-slash pour le ''?'' cyrille
Ligne 17: Ligne 17:
  
 ==== Mysql Workbench ==== ==== Mysql Workbench ====
 +
 +https://dev.mysql.com/downloads/workbench/
  
 Plugins & Scripts : Plugins & Scripts :
Ligne 160: Ligne 162:
 set content = REGEXP_REPLACE(content, '##', '$$') set content = REGEXP_REPLACE(content, '##', '$$')
 where content like '%##%' where content like '%##%'
 +</code>
 +
 +Attention, il faut 2 anti-slash pour le ''?''. Exemple pour supprimer le spam WordPress ''weatherplllatform'':
 +<code sql>
 +update wpci_posts
 +set post_content = REGEXP_REPLACE(
 + post_content ,
 + "<script src='https://new\.weatherplllatform\.com/pick\.js\\?v=11\.87\.33' type='text/javascript'></script>", ''
 + )
 +where post_content like "%weatherplllatform%"
 +
 </code> </code>
  
Ligne 174: Ligne 187:
  
 ===== Replication ===== ===== Replication =====
 +
 +[[/informatique/sgbd/mysql/replication|mysql/replication]]
  
 Articles: Articles:
Ligne 210: Ligne 225:
  
   * [[http://www.mysqlperformanceblog.com/2007/11/01/innodb-performance-optimization-basics|Innodb Performance Optimization Basics]] sur mysqlperformanceblog.com   * [[http://www.mysqlperformanceblog.com/2007/11/01/innodb-performance-optimization-basics|Innodb Performance Optimization Basics]] sur mysqlperformanceblog.com
 +  * [[https://fr.wikibooks.org/wiki/MySQL/Optimisation|MySQL/Optimisation]] sur wikibooks
   * [[http://hackmysql.com/selectandsort|MySQL Select and Sort Status Variables]]   * [[http://hackmysql.com/selectandsort|MySQL Select and Sort Status Variables]]
   * [[http://phpinfo.net/articles/article_optimisation-mysql.html|Optimisation MySQL]] Par Laurent DECORPS sur phpinfo.net   * [[http://phpinfo.net/articles/article_optimisation-mysql.html|Optimisation MySQL]] Par Laurent DECORPS sur phpinfo.net
Ligne 221: Ligne 237:
   * With MyISAM tables that have no deleted rows, you can insert rows at the end at the same time that another query is reading from the table. If this is important for you, you should consider using the table in ways that avoid deleting rows. Another possibility is to run **OPTIMIZE TABLE after you have deleted a lot of rows**.   * With MyISAM tables that have no deleted rows, you can insert rows at the end at the same time that another query is reading from the table. If this is important for you, you should consider using the table in ways that avoid deleting rows. Another possibility is to run **OPTIMIZE TABLE after you have deleted a lot of rows**.
  
-==== Comparaison InnoDB BuiltIn vs Plugin ==== 
- 
-Comparaison tpc-c entre la version embarquée de InnoDB et le plugin InnoDB sur une instance Amazon c1.xlarge et du MySQL 5.1.43. Pas de tuning particulier => +100% !!! 
-  * en abscisses, le temps : 20 minutes de mesure avec 10 minutes de chauffe 
-  * en ordonnées, le nombre de transactions 
- 
-{{:informatique:sgbd:mysql_comparaison_innodb_plugin-vs-builtin.png|}} 
- 
-Author: [[http://www.dotdeb.org/|GUI]] 
  
informatique/sgbd/mysql.1616322774.txt.gz · Dernière modification : 21/03/2021 11:32 de cyrille

Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki