Questions tagged [galera]

MariaDB Galera Cluster is a synchronous multi-master cluster.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Analyzing Percona XtraDB cluster degradation

Yesterday our Percona XtraDB cluster encountered a degradation while I was doing some maintenance on a node but I could find what exactly happened to the cluster. We have a cluster with 3 database ...
0
votes
1answer
20 views

MaxScale login as root or other users

I installed MaxScale 2.4.4 with Galera Cluster. I can access to galera with maxscale user but I can't login with other users to maxscale. I created a user in galera and another user with same username ...
0
votes
0answers
28 views

Lost data in bulk Insert on Galera Cluster

I have a 2-node fresh Galera Cluster in 2 DCs. I Import a 3GB dump into one node and the other starts to sync. After importing dump, I check the size and rows on both nodes and they are not equal. ...
0
votes
0answers
28 views

Galera node not accepting root password after restart

I have a Mariadb galera cluster running in Kubernetes with 2 Nodes. Recently, as part of a process of redeploying the mariadb chart, one of them (mariadb-1), was restarted. Trying to perform the ...
0
votes
0answers
88 views

single node stuck in WSREP has not yet prepared node for application use

I have a four node galera mariadb cluster based on mariadb 10.3 that has been running for about a year. For unknown reasons a particular node tends to fall out of the cluster and is unable to rejoin ...
0
votes
0answers
30 views

Galera cluster problem after full crash with mariadb

I have a galera cluster with 2 mariadb nodes running. I know that this isn't best practise but I hadn't a chance to do it in another way. I had a crash and needed to reinitiate the cluster on one ...
0
votes
0answers
21 views

MariaDB Galera: the node, that needs to be joined to others, starts as “wsrep-new-cluster”

We have 4 node Galera Cluster (10.1.14-MariaDB, wsrep_sst_method=xtrabackup-v2). The 1st node successfully started with "/usr/bin/galera_new_cluster" command. The 2-nd and the 3-rd nodes are ...
0
votes
1answer
23 views

Mysql binary logs are not deleted after expiration

I have 3 Mysql 5.6 nodes in one galera cluster in the first DC and 3 MariaDB 10.3 nodes in another galera cluster in the DR site. One node on the 1st DC is the master for one slave node on the DR site....
0
votes
1answer
167 views

mariabackup from remote mariadb10.3 galera | '/var/lib/mysql/' (Errcode: 2 “No such file or directory”)

The following setup applies: 3 node galera cluster in docker backup container that should run mariabackup to get the data out of the galera cluster network is fine. backup container can ping galera ...
0
votes
1answer
15 views

Can I setup several mariadb clusters, each for a schema

I'm planning to use MariaDB Cluster, as a way to sync several databases from different peripherals (raspberry pis). The peripherals don't share data, but all data should be shared with the main ...
1
vote
1answer
31 views

MariaDB Parallel Replication Drifting at random times

I have recently been thrown in the deep-end to manage our Database servers since our DBA left. The current set-up is Mariadb (mariadb Ver 15.1 Distrib 10.1.38-MariaDB, for debian-linux-gnu), InnoDB (...
0
votes
0answers
16 views

gcache.page_sizes and gcache.size are set at the same time. When will gcache.pagebe used?

After the power failure and restart, the slave node creates a large number of gcache.page, which occupies the disk. I would like to know if there is already gcache.cache, when will gcache.page be ...
0
votes
0answers
99 views

Cannot write to Galera Cluster (Lock wait timeout)

My Galera cluster has gone down / locked up, I can read from all databases, but I cannot write to any table in any database, it just locks / waits forever. I can fix it by shutting down all 3 mariadb ...
0
votes
0answers
14 views

Galera Mariadb: copy a database to different name

I have a Galera 3 node DB cluster server with a schema name largeDB with lots of triggers and tables. I would like to create another schema largeDB2 which is a mere copy of largeDB at that point. So ...
0
votes
1answer
59 views

which node will execute events in master-master setup

Am newbie in this database replication. Right now on server master-master setup with Galera setup. If I have events running in the database. It means from which master its running. If one master down ...
0
votes
1answer
43 views

MySql Galera Multi site high availability

We have a datacenter with 3 percona glera nodes We have a store that wants to be in sync with our datacenter(multi master) our store's internet connection is not reliable ( may be down for 30 min), ...
1
vote
0answers
73 views

Galera throws “WSREP has not yet prepared …” error but nodes are working

Yesterday we moved from 2 node Galera to 4 node Galera with a brand new infrastructure. But after we move the database, Galera started throwing "WSREP has not yet prepared node for application use" ...
0
votes
1answer
274 views

can't join a freshley started mariadb galera cluster

I'm at my very first clustering experience. I need to create a MariaDB Cluster. Currenlty I have two servers but I planned to add 1 more in the future. Now, I have: maz-pihole (a debian 9 based OS ...
0
votes
0answers
77 views

MariaDB Cluster node crashes after upgrade

I have a 3 node MariaDB galera cluster running. It was running fine until I updated one node from MariaDB 10.3.14 to 10.3.16 (the other nodes are still on 10.3.14). Since then, this one node regularly ...
1
vote
0answers
21 views

queries to active live test health of a galera cluster

What queries could be used to foresee or better fine tune alerts to check the health status of a Galera (MariaDB) cluster? The problem I am facing is that randomly the cluster gest stalled because of ...
0
votes
0answers
44 views

MariaDB Galera + Replication (GTID error)

Using MariaDB 10.2.25 + Galera with 3 masters All Masters have binlogs active Want to switch the Master_Host of an external salve (also running MariaDB 10.2.25) to a different Master. Replication is ...
0
votes
2answers
35 views

Took a full backup of a running mariadb server and restored, but none of the databases are visible

I'm setting up a mariadb galera cluster to ultimately switch production to. However, I don't have the ability to stop the production instance so I'm trying to set this up using various workarounds I'...
2
votes
1answer
55 views

How can I specify which MariaDB instance to launch in a Galera Cluster

I have several MariaDB servers, each with multiple instances running. I'm trying to figure out how would I bootstrap a Galera cluster but specify which instance I want to launch i.e: node1, 2, and 3 ...
0
votes
1answer
95 views

How to cache inserted data with ProxySQL to avoid delays

we are using MariaDB 10.2 with Galera plugin. Cluster consists of 4 nodes - 3 are busy service complex queries and 1 is more for a backup. Recently we came across ProxySQL and this sounds very ...
0
votes
0answers
16 views

RUN DDLs in Galera Cluster

I have 3 node Production Mariadb Galera Cluster with many schemas. I need to run ALTERs quite often and since its a Galera , cluster wide locking is happening and currently wsrep_OSU_method=TOI. I am ...
0
votes
1answer
136 views

galera cluster how to run an ALTER without using RSU/TOI

I need to run an alter statement but would like to prevent locking/stall the cluster. The Galera docs advised using: SET wsrep_OSU_method='RSU'; Then Run the ALTER statement, once finich: SET ...
1
vote
1answer
80 views

how wsrep_local_index is defined or could be changed?

I have a cluster of 3 nodes using Galera with MariaDB, every time I want to backup I check the node with the highest wsrep_local_index and then do: SET GLOBAL wsrep_desync = ON; Take the backup, ...
0
votes
1answer
195 views

Is it possible to setup MySQL replication through ProxySQL?

We currently have replication working through haproxy so that if a node goes down replication continues with one of the other nodes. We're trying to completely replace haproxy with proxysql. Due to ...
1
vote
0answers
48 views

MariaDB Galera slave thinks it's replicating, but it isn't

I have a MariaDB 10.3 Galera slave node with general logging turned on. It's consuming binlogs generated by a MySQL 5.5 NDB cluster. The binlog format is row-based in both databases. SHOW ALL ...
0
votes
1answer
249 views

how to remove/deal with locks in a MariaDB Galera cluster

I have a cluster of 3 nodes running MariaDB Galera cluster, cluster works as expected, I can reboot a single node at a time and in the best case, IST will be used or SST(using rsync) to sync back the ...
0
votes
2answers
311 views

Percona Xtradb cluster 56 node 2 rejoin cluster failed

I have following DB cluster: Node 1: Percona-XtraDB-Cluster-56-5.6.39-26.25.1 Node 2: Percona-XtraDB-Cluster-56-5.6.39-26.25.1 Node 3: Percona-XtraDB-Cluster-56-5.6.41-28.28.1 I start in order ...
0
votes
0answers
90 views

MariaDB Galera journalctl

I've noticed something weird. I have 3 nodes galera cluster, installed using mariadb. I'm pretty sure that I did all three nodes installations exactly the same. All three nodes display their --...
0
votes
1answer
101 views

MariaDB 10.2.22 Galera Cluster Using Bad Indexes After Analyze

I'm using Drupal on a MariaDB Galera 10.2.22 3 node cluster and I'm having some problems with one query. I have a table (InnoDB) called field_data_field_department which has a bunch of indexes. If I ...
0
votes
1answer
127 views

Galera Arbitrator system requirements compared with the actual Galera MariaDB node requirements

Right now our setup is CloudFlare > 1x HAProxy (Dallas,TX), 3x App servers (Dallas,TX), 3x MariaDB nodes in a Galera multi-master cluster (Dallas,TX). The App servers auto-scale horizontally to handle ...
0
votes
0answers
354 views

“Resource deadlock avoided during COMMIT” when a node leaves the group

I believe it's a bug in MariaDB Galera (10.3) but wanted to confirm. I have 3 nodes in the cluster (A, B, C) and a sysbench running the OLTP write-only test connecting only to node "A". When the node "...
0
votes
0answers
1k views

Newly built Mysql galera cluster does not start up in centos 7

I am setting up a 3 node mysql galera cluster lab environment. All 3 nodes are centos 7 and followed the steps in below blog to setup mysql-wsrep-5.7 https://www.dreamvps.com/tutorials/install-...
0
votes
1answer
126 views

help understanding galera consistency (certification-based replication)

Galera uses a certification-based replication to achieve strong consistency. While doing a transaction after doing a COMMIT the other nodes will certify it and if is ok it will be successfully ...
1
vote
2answers
29 views

Replicated MySQL write performance query

Whilst I've worked with MySQL for years, I've never had to created a replicated database, and after researching the topic I have a query about performance. I'm thinking of an architecture based on 5 ...
0
votes
0answers
36 views

There are some inserted records on galera cluster that does not exist!

We are using a galera cluster with 3 node and 2 database on it which they are related to each other by some applications. The problem is, some records are inserted into table and galera generate id ...
0
votes
1answer
188 views

Galera cluster node fails with error. Brand new cluster + master / node. Access denied or can't connect

I am having issue. Previous cluster fatally crashed, so I've created a new one with pretty much same settings (changed cluster name only). Here is a galera.cnf for a node: [mysqld] binlog_format=...
0
votes
1answer
30 views

Xtrabackup corrupt incremental backup

I have 3 nodes PXC 5.6 cluster. Xtrabackup 2.3.10. Centos 7.6 Percona-XtraDB-Cluster-56-5.6.41-28.28.1.el7.x86_64 I am using only single Node-1 for both read and write. And I use to take backup ...
1
vote
5answers
2k views

Managing mariadb database performance with very large tables

I have a joomla-3.9 and apache-2.4.34 system on fedora29 with mariadb-10.2.19 and the tables that contain the search content are very large. Several are larger than 1.2GB and one is larger than 5.5GB. ...
0
votes
1answer
399 views

MariaDB Galera Cluster - first node won't reconnect after restart… Ever

Firewalls disabled, replication worked fine, IP's accessible.. All config copied from here: https://www.digitalocean.com/community/tutorials/how-to-configure-a-galera-cluster-with-mysql-5-6-on-ubuntu-...
0
votes
2answers
160 views

Safe backup of PXC / Galera cluster

I have 3 nodes 'master master' cluster and using PXC 5.6 But I am only using a single node for both read and write. Before using pxc, i was using standalone Mariadb 5.5 and I was taking backup using ...
0
votes
1answer
37 views

Convert MyISAM to InnoDB in PXC master master

I have 3 nodes PXC 5.6 master master cluster. I have few tables that are using MyISAM. Total MyISAM table = 120 Total MyISAM table size = 80MB I have also read few recommendations where it suggests ...
1
vote
2answers
70 views

Do VIEWS need a primary key in Galera?

We have a MariaDB Galera Setup, so do we require primary keys in a MySQL view? It contains a complex select query with joins of tables and the values get updated. so do they replicate in a Galera DB ...
0
votes
1answer
22 views

Character set warning in PXC logs

I am using PXC 5.6 (Percona-XtraDB-Cluster-56-5.6.41-28.28.1.el7.x86_64) and my log file is flooded with this warning: [Warning] Client failed to provide its character set. 'latin1' will be used ...
-1
votes
1answer
114 views

Auto increment gap in percona xtradb cluster master master setup

I was using mariadb 5.5 before but now I have upgraded it and using percona xtradb cluster 5.6 I have 3 nodes cluster. I am only using single node for read and write. I saw some increment gaps in ...
2
votes
0answers
106 views

Percona Xtradb Cluster not accepting options on command line

I am using Percona Xtradb Cluster 5.6 and trying to start my cluster through a donor node via command line and I am getting this error: CentOS 7: systemctl start mysql --wsrep-sst-donor=srv1 ...
2
votes
1answer
628 views

Galera - single database backup & restore

I have a MariaDB Galera cluster. One of its nodes is dedicated for the backups (pc.weight=0 and the MaxScale SQL proxy doesn't know it exists). I'm using mariabackup --backup --galera-info --target-...