Original post: http://anothermysqldba.blogspot.com/2014/03/planning-mysql-downtime-and-other.html
Todos sabemos que, si bien MySQL es estable y puede funcionar
durante mucho tiempo sin que se reinicie. De vez en cuando
tenemos que reiniciar para que ajustar algunas variables o para
actualizar sin embargo. Algunos podrían suponer que durante la
noche es el mejor momento para hacer esto debido a que sus
usuarios están dormidos. Sin embargo, a menudo la noche a la
mañana también incluye copias de seguridad y otras secuencias de
comandos crontab relacionados que podrían estar haciendo
diferentes minería de datos y etc
Entonces, ¿cómo se puede obtener una guía sobre cuando se tiene
la menor actividad en el servidor? Ahora cada aplicación y la
base de datos son diferentes, por lo que deben tener en …
I still have to spend some time investigating about what is QueryScript, included on the Common_schema framework (I already wrote about it). But today, let’s dive into two interesting utilities. The utilities are two views. The first one is table_charset. It’s a view in which you can identify the characterset used in all text tables …
The post More Common_Schema utilities appeared first on Manejando datos.
Todavía tengo que investigar la parte de QueryScript que ofrece el framework Common_schema, del que ya he hablado en varias ocasiones en este blog, pero para iniciarnos, qué mejor que conocer alguna de las utilidades que incluye. Por eso, empezamos a destripar algunas de las funciones de common_schema. Hoy vamos a usar dos vistas. La …
The post Más utilidades de Common_schema appeared first on Manejando datos.
MySQL WorkBench is the open alternative from #MySQL for the DataBase Administrator, DBA, and also for the non-DBA that need to work directly with databases. A few months ago ORACLE published the 6.0 beta version of this tool, with new features and improvements (previuos version was 5.2), and right now you can download version 6.1. …
The post DBA tools: MySQL WorkBench appeared first on Manejando datos.
MySQL WorkBench es la alternativa libre de #MySQL para los administradores de bases de datos, DBA, y también para los no-DBA que necesitan trabajar directamente con las bases de datos. Hace un par de meses se publicó la versión 6.0, todavía en su versión inicial, pero que mejora en bastante a su versión anterior (la …
The post Herramientas DBA: MySQL WorkBench appeared first on Manejando datos.
Cada aplicación es un mundo y cada uno de estos mundos tiene otro mundo dentro sobre la forma que utiliza la base de datos y cómo se pueden replicar los datos entre diferentes slaves. Mediante la directiva slave-skip-errors podemos ignorar errores de replicación automáticamente (por lo tanto simplemente se salta automáticamente la query)
En la documentación de MySQL podemos encontrar un listado de errores y sus descripciones. Por ejemplo si se intenta crear una tabla que ya existe en el slave obtendríamos el siguiente error:
- Error: 1050 SQLSTATE: 42S01 (ER_TABLE_EXISTS_ERROR): Message: Table ‘%s’ already exists
Por lo que podemos añadir el código 1050 en el slave-skip-errors para ignorar …
[Lea más]After a few entrances talking about how to move from #MySQL 5.x to versión MySQL 5.6 (what I write is also valid for MySQL 5.7 although you need to know that MySQL 5.7 doesn’t work under Windows XP), I am going to tell you two reflections: The acquisition of MySQL database from ORACLE has been …
The post Moving from MySQL 5.5 to MySQL 5.6. Step 6. My first bug report appeared first on Manejando datos.
In previous steps, you could read about creating database backups, how to unistall and install a MySQL server, and how to start working with a new MySQL version, in our case, 5.6.10. Remember the step 2 On step 2 (from moving from MySQL to 5.6.10) I wrote about the important role of the file my.ini, …
The post MySQL 5.6 Config file. Step 5 appeared first on Manejando datos.
I already wrote that since a few months ago I am working with #Anaconda, a scientific Python version, because this version includes several tools for working with data. However, I ws a little bit confuse because there is no MySQL package to work with. So, if you need to connect with a MySQL database, you …
The post Anaconda and MySQL appeared first on Manejando datos.
Ya os conté que trabajo con la versión #Anaconda de Python, ya que facilita mucho el disponer de todas esas herramientas para trabajar con datos. Sin embargo, me ha extrañado un poco que no incluyan el paquete para trabajar con MySQL, ni siquiera en sus repositorios. Así que, para trabajar con MySQL hay que instalar …
The post Anaconda y MySQL appeared first on Manejando datos.