Sysadmin tips
1.9K views | +0 today
Follow
Sysadmin tips
Tips and Tricks that we have to know and abuse every day. sysadmin, sysops and network.
Curated by stephane gault
Your new post is loading...
Scooped by stephane gault
Scoop.it!

Query Optimization with MySQL 5.7 and MariaDB 10: Even newer tricks

Tutorial delivered at Percona Live London 2014, where we explore new features and techniques for faster queries with MySQL 5.6 and 5.7 and MariaDB 10, includin…
stephane gault's insight:
Query Optimization with MySQL 5.7 and MariaDB 10
No comment yet.
Scooped by stephane gault
Scoop.it!

How small changes impact complex systems – MySQL example

How small changes impact complex systems – MySQL example | Sysadmin tips | Scoop.it
If you’ve been studying complex systems you know what minor changes might cause consequences of much greater proportions, sometimes causing some effects that are not easily explained at first.
stephane gault's insight:

Very nice analysis on what can hide changes and history list.

No comment yet.
Scooped by stephane gault
Scoop.it!

How a set of queries can be killed in MySQL using Percona Toolkit’s pt-kill

How a set of queries can be killed in MySQL using Percona Toolkit’s pt-kill | Sysadmin tips | Scoop.it
You might have encountered situations where you had to kill some specific select queries that were running for long periods and choking the database. This post will go into more detail with an example of report query offloading.
stephane gault's insight:

Very handy tool

No comment yet.
Scooped by stephane gault
Scoop.it!

Migrating to Percona XtraDB Cluster

Many organizations are interested in Percona XtraDB Cluster (PXC) as a replacement for conventional MySQL® master/slave architectures to eliminate replicatio...
stephane gault's insight:

Detailed key points to figure out if you want to go that path.

No comment yet.
Scooped by stephane gault
Scoop.it!

How to recover a PXC cluster

How to recover a PXC cluster | Sysadmin tips | Scoop.it
Galera replication for MySQL brings not only the new, great features to our ecosystem, but also introduces completely new maintenance techniques. Are you concerned about adding such new complexity to your MySQL environment?
stephane gault's insight:

Operations with a Percona Xtradb Cluster outage, how to recover and restart nodes. You'll always have a backup anyway (XtraBackup fast & secure).

No comment yet.
Scooped by stephane gault
Scoop.it!

Simple MySQL Master HA with mysqlnd_ms

Simple MySQL Master HA with mysqlnd_ms | Sysadmin tips | Scoop.it
Jervin Real shares two ways of achieving high availability with the mysqlnd_ms extension using the mysqlnd plugin, MySQL Master Slave.
stephane gault's insight:

Good way to achieve HA in an Master Slave setup.

No comment yet.
Scooped by stephane gault
Scoop.it!

How to setup a PXC cluster with GTIDs (and have async slaves replicating from it!)

How to setup a PXC cluster with GTIDs (and have async slaves replicating from it!) | Sysadmin tips | Scoop.it

This past week was marked by a series of personal findings related to the use of Global Transaction IDs (GTIDs) on Galera-based clusters such as Percona XtraDB Cluster (PXC).

stephane gault's insight:

Very complete setup guide to PXC. Clever use of Global Transaction IDs (GTIDs) on Galera-based clusters such as Percona XtraDB Cluster.

No comment yet.
Scooped by stephane gault
Scoop.it!

Faster restarts for MySQL and Percona Server 5.6.21+

Faster restarts for MySQL and Percona Server 5.6.21+ | Sysadmin tips | Scoop.it

By default in MySQL 5.6, each time MySQL is started (regular start or crash recovery), it iterates through all the binlog files when GTIDs are not enabled ...

stephane gault's insight:

MySQL 5.6 fix for faster start of Percona/MySQL server. 

No comment yet.
Scooped by stephane gault
Scoop.it!

Logical MySQL backup tool mydumper 0.6.2

Logical MySQL backup tool mydumper 0.6.2 | Sysadmin tips | Scoop.it
We are pleased to announce the third release in the 0.6 series of mydumper, a tool for performing logical MySQL backups. In this release, we focused on simplifying compiling the code and added new features for making logical backups.
stephane gault's insight:

Very useful tool

No comment yet.
Scooped by stephane gault
Scoop.it!

MySQL upgrade best practices

MySQL upgrade best practices | Sysadmin tips | Scoop.it
MySQL upgrades are necessary tasks and we field a variety of questions here at Percona Support regarding MySQL upgrade best practices. This post highlights recommended ways to upgrade MySQL in different scenarios.
stephane gault's insight:

dump, with xtrabackup is mandatory before any upgrade ! Logical AND FS backup, one for the consitency one for fast operations.

No comment yet.
Scooped by stephane gault
Scoop.it!

MySQL 101: Monitor Disk I/O with pt-diskstats

MySQL 101: Monitor Disk I/O with pt-diskstats | Sysadmin tips | Scoop.it
Here on the Percona Support team we often ask customers to retrieve disk stats to monitor disk IO and to measure block devices iops and latency. There are a number of tools available to monitor IO on Linux.
stephane gault's insight:

Very accurate way to find if your disks are the bottleneck (often the case).

Scoopit Love the percona toolkit, very powerfull to monitor and debug !

No comment yet.
Scooped by stephane gault
Scoop.it!

Home of Sysadmin & Sysops tips and tricks

Home of Sysadmin & Sysops tips and tricks | Sysadmin tips | Scoop.it

Commands, tips, network config, bigdata, performance tweaking, all you need to know.

stephane gault's insight:

MySQL, Percona, HAproxy, Nginx, Zsh, Cassandra, Hadoop, Memcached, Redis, ElasticSearch, Postfix, OpenDKIM, etc ...

No comment yet.