Peter Zaitsev of Percona posted a Tweet about an interactive
book Select Star SQL which 'aims to be the best place
on the internet for learning SQL'. This interactive book
uses a data set that can be downloaded or you could work the
queries online. I showed the website to a neighbor who was
asking 'what is the best way to learn SQL'. The
neighbor wanted their own copy of the data and asked how do you
turn a raw CSV file into a table.
Well, that can get complicated.
CSV
CSV files use commas to designate each field in the file.
This is a great idea until someone plants a comma in the middle
of a field but it is sort of a least common denominator way of
passing data between systems.
But a CSV file does not directly fit into a relational
table. You could …
Percona Monitoring and Management (PMM) is a free and open-source platform for managing and monitoring MySQL® and MongoDB® performance. You can run PMM in your own environment for maximum security and reliability. It provides thorough time-based analysis for MySQL® and MongoDB® servers to ensure that your data works as efficiently as possible.
We’ve included a plethora of visual improvements in this release, including:
- PostgreSQL Metrics Collection – Visualize PostgreSQL performance!
- Identify New Queries in Query Analytics
- New Dashboard: Compare System Parameters
- New Dashboard: PERFORMANCE_SCHEMA Wait Events Analysis
- Dashboard Updates – Advanced Data Exploration, MyRocks, TokuDB, InnoDB Metrics …
Codership is pleased to announce the release of Galera
Replication library 3.24, implementing wsrep API version
25. The new release includes improved deadlock
error management with foreign keys and security fixes.
As always, Galera Cluster is now available as targeted packages
and package repositories for a number of Linux distributions,
including Ubuntu, Red Hat, Debian, CentOS, OpenSUSE and SLES, as
well as FreeBSD. Obtaining packages using a package repository
removes the need to download individual files and facilitates the
easy deployment and upgrade of Galera Cluster
nodes.
This release incorporates all changes up to MySQL 5.7.23, MySQL 5.6.41 and MySQL 5.5.61.
Galera Replication Library 3.24
New features and notable fixes in Galera replication since last
binary release by Codership (3.23)
* A support for new …
[Read more]Do you need to modify the metrics collected from Linux by Percona Monitoring and Management (PMM)? In this blog post we will see how to enable, disable, and update collected metrics on PMM’s linux:metrics exporter.
We will assume that the PMM client packages are installed, and they are configured already.
Using a custom list of metrics
Let’s now suppose we are not yet collecting any metrics on our desired client server, and we want to enable only the following: diskstats, meminfo, netdev and vmstat. We can use the following …
[Read more]Please join Percona’s Chief Technology Officer, Vadim Tkachenko, as he presents Running MySQL in Kubernetes on Thursday, September 6th, 2018, at 11:00 AM PDT (UTC-7) / 2:00 PM EDT (UTC-4).
Without question, Kubernetes is the most popular container orchestration platform. But can it handle databases? I think so, and in this webinar, I will show you how it does it. This talk presents a quick overview of the persistent storage options (the most critical part of data storage) and then what it takes to run highly available MySQL …
[Read more]
A month ago, I wrote a blog on how you can configure the MySQL Shell prompt to suit your
needs. One thing I did not go into details with are the
prompt templates prompt_256pl.json
and
prompt_256pl+aw.json
. Common for both of these
templates is that they require custom fonts to work.
In the two file names, pl stands for the PowerLine fonts and aw for the Awesome font. These fonts add symbols that are useful to create rich prompts, not only for MySQL Shell, but also for Bash, zsh, vim, etc. The symbols include an angle separator, a lock (that in MySQL Shell is used to symbolize an TLS/SSL connection), and so on.
…
[Read more]In his excellent blog post, Pavel Trukhanov showed the value of S.M.A.R.T. metric collections, so I wondered how hard would it be to enable their collection in Percona Monitoring and Management (PMM)
A quick search led me to the text_collector plugin SmartMon, which can be easily integrated with any Prometheus Installation
For PMM, Vadim Yalovets recently showed how to do …
[Read more]Dear MySQL users,
MySQL Connector/Python 2.1.8 GA is a sixth GA version of 2.1
release
series of the pure Python database driver for MySQL. It can be
used for
production environments.
MySQL Connector/Python version 2.1.8 GA is compatible with MySQL
Server
versions 5.5 and greater. Python 2.6 and greater as well as
Python 3.4
and greater are supported. Python 2.4, 2.5, and 3.1, 3.2, 3.3 are
not
supported.
MySQL Connector/Python 2.1.8 is available for download from:
http://dev.mysql.com/downloads/connector/python/#downloads
MySQL Connector/Python 2.1.8 (Commercial) will be available for
download
on the My Oracle Support (MOS) website. This release will be
available
on eDelivery (OSDC) in next month’s upload cycle.
The ChangeLog file included in the …
[Read more]In my previous blog post about millions of table in MySQL 8, I was able to create one million tables and test the performance of it. My next challenge is to create 40 million tables in MySQL 8 using shared tablespaces (one tablespace per schema). In this blog post I’m showing how to do it and what challenges we can expect.
Background
Once again – why do we need so many tables in MySQL, what is the use case? The main reason is: customer isolation. With the new focus on security and privacy (take GDPR for example) it is much easier and more beneficial to create a separate schema (or “database” in MySQL terms) for each customer. That creates a new set of challenges that we will need to solve. Here is the summary:
- …
Hi,
First of all, thanks very much for sharing this. What I am
unclear about and you can hopefully help me with is why are you
creating the backup user only on ic2? (SET sql_log_bin = OFF;
..create user.. SET sql_log_bin = ON;).
Would you not want to have that backup user across all the
cluster members in the event that ic2 is not the master (auto
switch due to ic2 reboot etc)? Also, what is your take on running
the mysqlbackup against the router address on the R/W port rather
than on a fixed R/W node that could very well not be R/W at any
point in the future?
Thanks again and cheers!
Alex
LikeLike