In the previous blog post we setup a replication
topology with one master and 2 slaves, and we installed proxysql
on a forth servers where the application should connect to.
The post was quite long, and we covered several topics, from
installation and configuration of the cluster to installation of
proxysql and creation of users and backends, from configuration
of query rules for routing and their statistics to monitoring
module and replication lag.
But ProxySQL can do more than this.
Among the most interesting features of proxysql is the ability to
hold traffic until a backend is available (within a configurable
time limit).
For instance, if a query should be send to hostgroup 0 but there
is no servers in hostgroup 0, ProxySQL will wait until a server
is available in hostgroup 0 or a timeout expires.
…
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
Percona is glad to announce the release of Percona Server 5.6.26-74.0 on September 15, 2015. Download the latest version from the Percona web site or from the Percona Software Repositories.
Based on MySQL 5.6.26, including all the bug fixes in it, Percona Server 5.6.26-74.0 is the current GA release in the Percona Server 5.6 series. Percona Server is open-source and free – …
[Read more]Hi all, keeping our steady release cycle, it is time again to do another preview release of MySQL Group Replication, the plugin that brings multi-master update everywhere to MySQL, like we described in Hello World post.
We are very proud to do the fourth preview release of MySQL Group Replication, version 0.5.0 based on MySQL Server 5.7.8, which introduces new exciting features, please enjoy the highlights!…
One of the key features of MySQL Group Replication is its distributed recovery mechanism. Whenever a new member joins a server group, making use of this plugin component, it reaches to a suitable donor and fetches the data that it misses up until the point it is declared online.…
What is headless web browsing?
It's using a web-browser like application to do automated
fetching and analysis of web pages, without a human user
present.This is different from simply fetching HTML content via
HTTP; headless web browsers typically also load images, process
Javascript code, CSS and layout the page content (albeit in an
invisible way).
The developer can then use scripting (usually Javascript) to
examine the page as it is laid out in memory, as if in a "real"
web browser, to look at the style of text, etc.
We could even use OCR to look for text within images shown in the
page. Why?
- More effectively analyse the content of pages. Lots of pages nowadays contain a huge amount of "boiler plate" uninteresting text, often in HTML elements without semantic meaning (e.g. DIV). Only by using CSS (and sometimes Javascript) are we able to have a computer see the page as a human would
- Generation …
Introduction
This document outlines best practices for loading data into MySQL very quickly. While this is not a comprehensive list of loading methods and configuration, it is a good starting point.
MySQL Configuration
Assuming you are loading into InnoDB tables (and you should probably be doing so), you will want to ensure that MySQL is properly performance tuned for loading large amounts of data. Out of the box MySQL configuration is rarely sufficient for performance with MySQL. It is essential that the InnoDB settings, in particular, be set properly.
First of all, consider the InnoDB Buffer Pool. If you are doing a one-time load, it may be a good idea to configure this as large as possible. In fact, we sometimes set this to approximately 90% of the available RAM on the system for the load. This can then be dropped to between 70 and 80% for …
[Read more]I am attending Percona Live Amsterdam 2015 on September 21-23, 2015.
I will be on stage three times:
- September 22nd at 2:10pm Pivot tables: analytics in pure SQL
- September 23rd at 2:10pm The future of replication is today: new features in practice
- September 23rd at 5:10pm as host and speaker in the Lightning talks
My first talk is a topic that has ben among my favorites for long time: I published an article about it in 2001, and several …
[Read more]In order to simplify the configuration of MySQL for standalone nodes, clusters, and replication configurations, we decided it would be easiest to maintain a common my.cnf file. We have to admit, the idea wasn’t ours; we picked the idea up from www.fromdual.com and thought it was such a great idea, we decided to implement it as well.
Below is our version of a standardized my.cnf implementing
several of our best practices. We hope it will be of
benefit to you.
######################################################################################################## # my.cnf (Configuration file for MySQL) # # Provided by Itchy Ninja Software to implement general best practices for MySQL regardless of server # type. We chose a single file instead of maintaining multiple versions of the configuration file. # Based upon http://www.fromdual.com/mysql-configuration-file-sample # # Sections are included for Percona XTRADB Cluster …[Read more]
Recently, we experimented with active/passive clustering of MySQL via Corosync and Pacemaker. While many choose to use DRBD, our requirement was to simply have storage fail over to the other node. In the real world, this would likely be a SAN. For our POC, we chose to use NFS.
This document will provide a high level overview of a redundant and highly-available clustering solution for MySQL in an active/passive clustering configuration. While there are many ways to make MySQL highly available each has its strengths and weaknesses. These will be explained herein.
Components of the Solution
This solution requires only freely available Open Source
components. Each is depicted in the diagram below:
Two server nodes (virtual servers or physical servers)
Virtual IP (VIP)
Shared Storage such as a SAN with filesystem which can be
mounted on either node
…
The Brainiac Corner is a format where we talk with some of the smartest minds in the system, database, devops, and IT world. If you have opinions on pirates, or anything else related, please don’t hesitate to contact us.
Katherine Daniels is an operations engineer at Etsy who got her start in programming with TI-80 calculators back when Geocities was still cool, and these days has opinions on things like ‘the cloud’ and ‘devops’. She lives in Brooklyn with a perfectly reasonable number of cats, and in her spare time can often be found homebrewing, rock-climbing, or hand crafting knitted server koozies for the data center.
How did you get from stork to brainiac (i.e. what do you do today and how did you get there)?
I started out playing around with computers and …
[Read more]