Questions tagged [percona]
Percona : MySQL open source fork with performance improvements
335
questions
0
votes
0
answers
20
views
mysqld got signal 6 - MySQL server crashes every 2-3 minutes
MySQL server crashes every 2-3 minutes due to the issue below, how do I understand where exactly does the error occur and how to stop this from occurring? Any help with how to properly read this to ...
0
votes
1
answer
46
views
innodb_buffer_pool_size complications
I had some complications regarding innodb_buffer_pool_size. I read the official documentation, and I found out the formula innodb_buffer_pool_chunk_size * innodb_buffer_pool_instances.
so if my ...
2
votes
1
answer
50
views
how percona hot backup works / innodb crash recovery works?
I am trying to understand the process of how percona does hot backup.
from what in understand is, they use innodb crash recovery mechanism and execute the following steps.
store/remember start LSN ...
3
votes
2
answers
92
views
Different Percona XtraDB nodes use different indexes for the same query
We have three Percona XtraDB nodes arranged in a master-master replication topology.
One of our databases contains a heavily utilized table. This table has multiple indexes, as well as a few foreign ...
2
votes
0
answers
21
views
Slow database performance after mysqldump backup
we are using mysql 5.6-91 (percona) as the backend database. Everyday morning mysqldump is used to back up the entire database and upload it to s3. The database size is around 70GB. The issue we are ...
1
vote
0
answers
39
views
Why does this query cause tmp table to be stored on disk even though its size is smaller than tmp_table_size?
I have MySQL server (8.0.29-21 - Percona Server) with:
tmp_table_size=67108864
max_heap_table_size=67108864
log_slow_filter="tmp_table_on_disk"
And in the slow query log, I can see lots of:...
0
votes
1
answer
159
views
xtrabackup --prepare and --apply-log-only question
I need to run the --prepare immediately after the backup with xtrabackup to make the backup consistent, or can I perform this step only when I am restoring the database? For example, running the --...
1
vote
1
answer
49
views
Updating gcache.size on a Three Node Cluster
Is it possible to update this value on Percona 5.7 without restarting a node?
Also, do I need to bring the entire cluster down to update the setting, or can I update one node at a time?
0
votes
0
answers
252
views
MySQL 8.0 replication lag high
Since we have upgraded from 5.7 to 8.0 (8.0.30-22), the servers don’t appear to be performing as well with the replication. The will frequently show 1 second repl lag, sometimes shooting up to 30 ...
0
votes
1
answer
32
views
command: apply_migration, originalError: Error 1845: LOCK=NONE is not supported for this operation. Try LOCK=SHARED
I've got this error during app schema migration
{"timestamp":"2023-01-11 11:53:09.043 Z","level":"fatal","msg":"Failed to apply database ...
0
votes
0
answers
45
views
Permanent node removal from Percona cluster
There are instructions about temporary removal a node from Galera, for backup, upgrade or testing.
But I couldn't find a safe step-by-step procedure for permanent removal.
I have a cluster with 4 ...
2
votes
2
answers
100
views
Difference Between Full Scan and No Index Used in MySQL?
What is the difference between Full Scan and No Index Used Handler in MySQL?
1
vote
1
answer
27
views
Syntax issues when uploading backup from mysql5.7 to percona xtradb 5.7
Greetings to those readying the thread and thank you for devoting your time to answering the question.
I have encountered a problem when uploading a MySQL 5.7 backup database to a Percona xtradb 5.7 ...
1
vote
0
answers
116
views
What is the best way to migrate a multi-TB MySQL database from on-prem to gcloud Cloud SQL?
I have several multi-TB on-prem MySQL databases I need to migrate into Google Cloud's managed MySQL offering, Cloud SQL. I have migrated two of size ~1TB so far with mysqldump but this method is far ...
1
vote
1
answer
369
views
MySQL InnoDB's History Length is growing while mysqldump is in progress
I'm using a 3-node group replication cluster of Percona MySQL (8.0.25) behind ProxySQL nodes (2.3.2). The transaction-isolation param is set to READ-COMMITTED.
While I'm running mysqldump (through ...
0
votes
1
answer
249
views
pt-online-schema-change failed when creating new tablle, specified key was too long; max key length is 767 bytes issue
The version, mysql is InnoDB 5.6.10-log, pt-online-schema-change 3.1.0. table info is
`email` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`uid` varchar(255) COLLATE utf8mb4_unicode_ci ...
0
votes
0
answers
20
views
Error installing xtradb percona cluster
I have 2 nodes to join percona cluster . I installed them successfully , node 1 was able to start working . when I switched to node 2 configuration, I fixed the file my.cnf
cat >>/etc/my.cnf<&...
0
votes
1
answer
548
views
Percona MySQL 5.7 to 8.0
I wondered if anyone has successfully upgraded percona 5.7 to 8.0 with a fully populated database. All the articles I've read suggest it is possible but I've tried twice in a test environment and ...
0
votes
1
answer
92
views
MySQL insert on an empty table takes 38.91ms
This DB is running in a cluster.
Insert/Update queries are taking more than 30ms to execute. Select queries are quick with less than 5ms.
We are already following this guide: here
From Laravel Query ...
1
vote
1
answer
345
views
Remove node from percona xtradb cluster
I have a 5 node cluster. When I run backups it locks the entire cluster. I use DDL statements in a stored procedure that is used heavily. What I am trying to achieve is taking one node out of the ...
3
votes
2
answers
3k
views
How to avoid replication lag in case all writes on master and reads on replica?
I have stuck with the replication lag problem. I am trying to refactor my DB infrastructure.
The first step was read-write split. I used ProxySQL то implement it. Now I have masterDb where all INSERT ...
0
votes
1
answer
249
views
Cannot prepare backup with innobackupex
I taken full backup from a Master server with innobackupex.
Now I am restoring backup with innobackupex on a Slave server.
I prepare backup with the command:
innobackupex --defaults-file=/var/lib/...
2
votes
3
answers
503
views
Improving performance for large volume of simultaneous reads/writes on Percona 8
A general description of the environment and the use case:
Technical:
We're running a distributed application with a single server and ~25 clients; each client is running ~75 threads.
At one ...
1
vote
0
answers
304
views
PHP PDO Connect sometimes takes a long time to connect using mysql percona
I have a more or less simple application, written in php 7.4, using PDO to connect to my database. This connect usually takes under 0.0002 seconds > we are talking about 99.9% of my requests. On ...
1
vote
3
answers
8k
views
Downgrade mysql 8.0.27 to 8.0.26 ubuntu 20.04
I set up a new AWS EC2 instance with Ubuntu 20.04, php, Apache, and mySQL. I also installed N-Able (Solarwinds) server backup.
I am able to do system and file backups but the mySQL backup fails. N-...
0
votes
1
answer
302
views
Drop column with percona does not shrink table size
I have a table in Aurora MySQL 5.7. table has few partitions with 800m rows and weights 2tb.
Recently I dropped few column using percona. Surprisingly the table size did not change (looking in ...
0
votes
2
answers
479
views
Steps to remove node from percona cluster
I have to update the os on a few servers and I need to remove a db from the cluster.
wsrep_cluster_address='gcomm://192.168.2.59,192.168.2.60,192.168.2.61,192.168.2.62,192.168.2.63'
Do I remove the ...
1
vote
1
answer
448
views
MySQL8: xtrabackup Invalid stream argument: tar
I am using xtrabackup to take full backup and send it to another host as .tar file using the following backup command:
xtrabackup --backup -u root -p --no-lock --compress --stream=tar --datadir=/...
0
votes
1
answer
444
views
Install Percona Data Recovery Tool for InnoDB on Ubuntu 18
Has anyone successfully installed the Percona Data Recovery Tool for InnoDB on Ubuntu 18? I downloaded the tool here: https://launchpad.net/percona-data-recovery-tool-for-innodb/trunk/release-0.5/+...
-1
votes
1
answer
819
views
InnoDB: Assertion failure on executing select Query - MySQL 5.7.31
I am using pt-archiver for daily archiving of tables, but while selecting data from one tables I am getting following error and it restart mysql instance
2021-07-07 13:21:17 0x7fe0dffdc700 InnoDB: ...
0
votes
0
answers
766
views
Importing A Database Into MySQL Has A Cluster System
I have a big issue. I want to import a database to mysql-server in a Centos 7 system. But there is a cluster structure on the servers. I set pxc_strict_mode=ENFORCING in wsrep.conf file. I have not to ...
0
votes
1
answer
37
views
Percona MySQL: Restore incremental backup to a new server
I know it is possible to set up a new database instance on a new server, using a full backup that has been prepared. This is useful for several things, not least if your server has failed completely; ...
0
votes
2
answers
609
views
Connect two Percona XtraDB Clusters in two data centers
I have been trying to figure this out the past couple of weeks. We used to have a five-host Percona cluster at different providers. When it started acting up I read that it is a bad idea to have ...
1
vote
1
answer
3k
views
ERROR 1180 (HY000): Got error 5 during COMMIT
We're using Galera cluster and I'm running below statement to make a new table:
create table tab2 select distinct id , report from my_table ;
It runs for sometime and after that it fails/cancel ...
1
vote
1
answer
483
views
truncate table in mysql 8.0 is slower than older version
I have few hundreds of tests which use mysql. I was using Mysql 5.7 (percona) and I changed it to Mysql 8.0 . My problem is that before every test I truncate ALL my tables. This was fine with 5.7 but ...
0
votes
1
answer
2k
views
"Percona-XtraDB-Cluster prohibits use of ALTER command on a table (<example>) that resides in non-transactional storage engine"
I installed a Percona XtraDB cluster with pxc_strict_mode set to ENFORCING, and am trying to import databases from non-Galera MariaDB servers. This works fine for some databases, by dumping them via ...
1
vote
1
answer
577
views
MySQL 8.0.20 - Master Replica scheme, increasing delay between Source and Replica
We have a Source Database of about 1TB, and a Replica on another server (similar architecture).
We have setup Master Slave replication and delay between Master and Slave is always growing since.
...
1
vote
1
answer
473
views
Proxysql setup for Percona PXC Multimaster cluster
I have a clean Ubuntu lab setup for PXC Cluster and Proxysql (each a separate VM)and i'm seeing this issue (error below).
Is there a specific installation that needs to be followed for PXC cluster? I ...
0
votes
1
answer
415
views
Can't restore master/slave replication from Percona backup (slave server)
A slave is restored from a master backup created with Percona xtrabackup
On the master binlog is set to expire in 14 days and this backup is less than 24 hours old
my.cnf (master)
expire_logs_days = ...
1
vote
0
answers
930
views
MySQL undo logs not truncating
I have MySQL Percona version 5.7, with 3 undo logs, but I don't know why truncating logs is not working.
I enabled innodb_undo_log_truncate, decreased innodb_purge_rseg_truncate_frequency to 32
show ...
2
votes
3
answers
3k
views
Can I disable binlogs to save space temporarily
I am using percona mysql 8.
I do not use any type of replication, but I read that binlogs are useful for data recovery. I would like to turn of binlogging and flush them while I run pt-online-schema-...
1
vote
0
answers
353
views
MySQL 5.7 (Percona Server) PAM LDAP authentication from Workbench 8.0 on Windows
I have a server running Percona Server 5.7 and enabled PAM LDAP authentication.
I can connect with LDAP user from:
mysql client
MySQL Workbench 8.0 on Linux (Ubuntu) with dialog.so plugin copied from ...
1
vote
1
answer
205
views
mysql percona 5.7 not releasing memory
we are using percona mysql 5.7 version.
MySQL not releasing the memory after operation complete.
we are very much grateful if anyone can guide us to resolve issue.
Thanks
1
vote
0
answers
172
views
Xtrabackup 8.0 Error
I'm using Percona MySQL 8.0.20 running on Ubuntu 18.04 on an AWS ec2 m5.2xlarge instance. The Xtrabackup version being used is 8.0.14.
While testing the restore process, I'm getting the error as ...
1
vote
1
answer
215
views
mysql client auto reconnect in case of ERROR 2013
I'm searching for a way how to instruct mysql client to reconnect in case of ERROR 2013. I'm testing PXC with ProxySQL and want to keep sql statements flowing from the client in case when the writer ...
0
votes
2
answers
385
views
Monitoring slow queries on large database (Percona 5.6)
I am looking for a solution to monitor very large production database (many replicas, over 200 tables, some of tables have 10-50 GB of data) with a lot of traffic (a wide set of query complexity).
The ...
1
vote
1
answer
310
views
Need help with some recovery
So i've gone and did something terribly wrong out of haste and not thinking properly.
I have a PXC (percona cluster. I guess mysql cluster with Galera?) running with just 1 one being bootstrapped (...
0
votes
0
answers
209
views
MySQL error when trying to import tablespace
I'm following the steps described here, but the import of one of the tables is failing with the error below. It's a large table, with a ~22GB .idb file.
[ERROR] [MY-012762] [InnoDB] Page offset doesn'...
0
votes
1
answer
192
views
Innobackupex (Xtrabackup) 2.4.8 incremental backups take the same time as full backup
We have our operational as well as decision making databases both running on Percona MySQL 5.7.10. The OS is Ubuntu 16.04. On these various database instances we have been using Percona Innobackupex (...
1
vote
1
answer
1k
views
Transferring innodb table
I have a 30GB innoDB-only database that keeps having Lost connection to MySQL server during query when dumping when running mysqldump -u root -p --compress --max_allowed-packet=1G --net-buffer-...