MySQL InnoDB Cluster Setup on Windows Platform
This is a sample tutorial to have a setup of MySQL Servers
running on Windows to form a 3 Nodes InnoDB Cluster.
This tutorial includes :
- Configuring MySQL Instance
- Installing MySQL as Windows Service
- Using MySQL Shell to Configure Remote Admin User
- Using MySQL Shell to Create the InnoDB Cluster
- Bootstrapping MySQL Router Configuration
- Running MySQL Router with PowerShell
- Installing MySQL Router as Service
- Finally testing the Router Connection to RW and RO Nodes
The video is posted on : https://youtu.be/uvGur_-HhkY
Environment
Windows Platform
MySQL Version : 8.0.16 : MySQL Server, MySQL Shell and
MySQL Router
Program Installation Path
C:\Program Files\MySQL\MySQL …
At the end of the month, some engineers of the MySQL Team will be present in Austin, TX !
We will attend the first edition of Percona Live USA in Texas.
During that show, you will have the chance to meet key engineers, product managers, as well as Dave and myself.
Let me present you the Team that will be present during the conference:
The week will start with the MySQL InnoDB Cluster full day tutorial by Kenny and myself. This tutorial is a full hands-on tutorial where we will start by migrating a classical asynchronous master-replicas topology to a new MySQL InnoDB Cluster. We will then experience …
[Read more]Overview The Skinny
From time to time we are asked how to check whether or not there are data discrepancies between Master/Slave nodes within a MySQL (or MariaDB) cluster that’s managed with Tungsten Clustering. This is always a challenging task, not least because we hope and believe that our replication mechanism would avoid such occurrences, that said there can be factors outside of our control that can appear to “corrupt” data – such as inadvertent execution of DML against a slave using a root level user account.
Tungsten Replicator, the core replication component in our Tungsten Clustering solution for MySQL (& MariaDB), is just that, a replicator – it takes transactions from the binary logs and replicates them around. The replicator isn’t a data synchronisation tool in that respect, the …
[Read more]Percona is glad to announce the release of Percona XtraBackup 8.0.6 on May 9, 2019. You can download it from our download site and apt and yum repositories.
Percona XtraBackup enables MySQL backups without blocking user queries, making it ideal for companies with large data sets and mission-critical applications that cannot tolerate long periods of downtime. Offered free as an open source solution, it …
[Read more]In my previous post Running MySQL/Percona Server in Kubernetes with a Custom Config I’ve looked at how to set up MySQL in Kubernetes to utilize system resources fully. Today I want to measure if there is any performance overhead of running MySQL in Kubernetes, and show what challenges I faced trying to measure it.
I will use a very simple CPU bound benchmark to measure MySQL performance in OLTP read-only workload:
sysbench oltp_read_only --report-interval=1 --time=1800 --threads=56 --tables=10 --table-size=10000000 --mysql-user=sbtest --mysql-password=sbtest --mysql-socket=/var/lib/mysql/mysql.sock run
The hardware is as follows:
Supermicro server
- Intel(R) Xeon(R) CPU E5-2683 v3 @ 2.00GHz
- 2 sockets / 28 cores / 56 threads
- Memory: 256GB of …
Many products use OpenSSL, but for the most part, without choosing to incorporate the OpenSSL FIPS (US Federal Information Processing Standards) module. However it may be that running OpenSSL and using FIPs mode is something you should seriously consider and implement.…
Facebook Twitter LinkedIn
GTID Replication (Skip Transaction using empty transaction)
To skip SQL thread's error in GTID
replication setup, Insert empty transaction. PROBLEM :
db-test (none)> show slave status\G
*************************** 1. row
***************************
Slave_IO_State: Waiting for master to send event
Master_Host: xxxxx
Master_User: rep_user
Master_Port: 3306
…
After a short hiatus, we hope to meet and see you at Percona Live
Austin 2019 (28-30 May 2019), as we have
sponsored the event and have a booth in the expo hall, in
addition to conducting some talks.
Our CEO and Co-Founder, Seppo Jaakola will make a presentation
entitled, Galera Cluster New Features, in the Texas 5
room, on Wednesday from 11.55 a.m. to 12.45 p.m. It will be a
very interesting talk as Galera Cluster 4 features have made
there way into MariaDB Server 10.4. You will also hear a little
about when Codership, the engineers and makers of Galera Cluster,
will provide a MySQL version.
If you happen to sign up for tutorials, don’t miss …
[Read more]Percona Live Open Source Database Conference 2019 – Austin, Texas is on 28-30 May 2019, This is no longer a MySQL only conference and it is a must attend conference for every open source database systems geek who is passionate about building an web-scale database infrastructure operations which is optimal, scalable, highly reliable and secured. This conference provides great opportunity to network, learn and share knowledge with passionate technology professionals from across the globe. I personally track this conference for several years and it is among those few very organized Technology Ops. conferences, This year Percona Live is personally more special to me because I had an opportunity to be on the Percona Live conference committee ( https://www.percona.com/live/19/conference-committee ) and really enjoyed the entire process from kick-off call to …
[Read more]It’s not essential to understand how MySQL® and Percona Server for MySQL build indexes. However, if you have an understanding of the processing, it could help when you want to reserve an appropriate amount of space for data inserts. From MySQL 5.7, developers changed the way they built secondary indexes for InnoDB, applying a bottom-up rather than the top-down approach used in earlier releases. In this post, I’ll walk through an example to show how an InnoDB index is built. At the end, I’ll explain how you can use this understanding to set an appropriate value for innodb_fill_factor.
Index building process
To build an index on a table with existing data, there are the following phases in InnoDB
- Read phase (read from clustered index and build secondary index entries)
- Merge sort phase …