InnoDB: Converting old atomic code to C++11 (no replies)
https://mysqlserverteam.com/innodb-converting-old-atomic-code-to-c11/
View ArticleTable Engine Innodb, but mysqldump add option --single-transaction always...
Please Help, 【Table Engine Innodb, but mysqldump add option --single-transaction always lock table it ?】 By MYSQL Version is mysql Ver 14.14 Distrib 5.7.33 ; By MYSQLDUMP is MySQL dump 10.13 Distrib...
View ArticleHow to get all configuration parameters of InnoDB? (1 reply)
I want to know all the configuration parameters of InnoDB in MySQL 8.0, and explain the meaning and value of relevant configuration parameters
View ArticleData too long for column 'vdisuser' at row 1 (1 reply)
All Everything was running along smoothly, then I started to get an odd error message 'Data too long for column 'vdisuser' at row 1' Table Structure is CREATE TABLE `vdisuser` ( `id` int NOT NULL...
View ArticleMySQL dump & load InnoDB Buffer Pool (no replies)
MySQL dump & load InnoDB Buffer Pool https://lefred.be/content/mysql-dump-load-innodb-buffer-pool/
View Articlecreating index on READ database (no replies)
Hi, I am having Read and Write database MySQL innodb_version 5.7.17. data is inserting data directly into Write database and afterwords, data is replica to READ database for each 2 sec using AWS cloud...
View ArticleMYSQL5.7 In the case of Read-Commit,Deadlocks caused by concurrent...
We have a table like this: -----------DDL----------------- CREATE TABLE `dep_emp` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `department_number` varchar(100) NOT NULL DEFAULT '',...
View ArticleNeed help for understanding why the MySQL allow to gap lock conflicting...
Hi, I'm a developer engineering multiple servers. Multiples servers try the next queries simultaneously. "SELECT * FROM xxx WHERE txid = 3" FOR UPDATE; (If it doesn't have any records, try the next)...
View ArticleRegarding "[Warning] InnoDB: Cannot add field" (1 reply)
Hi, I'm looking into the following warnings. It is the same kind of warning while one is regarding a regular table and the other is a tmp table. Can someone please help me understand them? My...
View ArticleError: MySQL shutdown unexpectedly. (1 reply)
10:45:51 [mysql] Status change detected: stopped 10:45:51 [mysql] Error: MySQL shutdown unexpectedly. 10:45:51 [mysql] This may be due to a blocked port, missing dependencies, 10:45:51 [mysql]...
View ArticleOS Error 1217 on startup (5 replies)
When starting MySQL server it crashes, there is full log: 2021-08-16T11:49:20.983309Z 0 [System] [MY-010116] [Server] c:\openserver\modules\database\MySQL-8.0-Win10\bin\mysqld.exe (mysqld 8.0.24)...
View ArticleCan database corruption be caused by a Windows Virtual Memory Resize? (1 reply)
Is it a known issue that allowing Windows to perform automatic resizing of the page file can cause Innodb corruption? We had a stable production database crash to an unrecoverable state over the...
View ArticleResolving errors generated when attempting to restore using a mysqldump file...
I have a problem restoring some databases. The original server was running 5.6. The new server is running 8.0. Both servers were setup with INNODB. I do NOT have the original ibdata1 or iblogfiles....
View Articleinnochecksum doesn't rewrite checksums (1 reply)
I run innochecksum to rewrite the crc32 checksums but it doesn't work. ---- innochecksum --log=/tmp/log.txt ./test.ibd Fail: page 879 invalid Exceeded the maximum allowed checksum mismatch count::0...
View ArticleMVCC - The atomicity problem of consistent reads (2 replies)
Reading and writing to the same tuple at the same time may cause read logic exceptions because of the non-atomic action of writing to the override of the tuple. For MVCC in MySql, Conceptually,...
View ArticleHow does Innodb cleverly avoid read-write conflicts when implementing mvcc?...
Insert into tableA(age,num) values(1,1) Assume that there is a piece of data in the database. At this time, under the read commit, two of the following transactions run concurrently at the same time:...
View ArticleRun ANALYZE TABLE — Do Not Rely on InnoDB's Automatic Recalculation of...
http://oysteing.blogspot.com/2021/09/run-analyze-table-do-not-rely-on.html https://mysql.wisborg.dk/2021/08/22/automatic-update-of-innodb-persistent-statistics-never-triggers/
View ArticleEase My Pain: InnoDB in a Memory-Constrained Environment (5 replies)
We have a physical server with 48 cores, 1TB RAM, and 14TB of usable NVME storage. Here is the challenge: we need to run 125 separate instances of MySQL on it. Each instance will handle a separate...
View ArticleMySQL dump & load InnoDB Buffer Pool (no replies)
https://lefred.be/content/mysql-dump-load-innodb-buffer-pool/
View ArticleRedo buffer flushing in MySQL (no replies)
Hi, I was wondering if anyone could please explain how the following parameters relate to each other: > innodb_flush_log_at_trx_commit > innodb_flush_log_at_timeout The MySQL docs state that if...
View Article