MySQL: INSERT INTO SELECT freezes INSERTs into source table
Kandidaat
MySQL: INSERT INTO SELECT freezes INSERTs into source table
merged
CONVICTIONKANDIDAAT
—0255075100
18 signalen0 bronnen0 communities0 betaalbewijzen
Sterkste bewijs
stackoverflow
"INSERT INTO … SELECT causes freeze for normal INSERT queries on the source table on one server but not others."
stackoverflow
"One thing that worried me is the number of INSERTs/s in SHOW ENGINE INNODB STATUS: the failing server has it nearly about 6000/s average, wh…"
stackoverflow
"Since downtime longer than a minute is not acceptable due to the nature of the system, we’re doing it by copying data from the old table int…"
stackoverflow
"As soon as we run INSERT INTO `new_messages` SELECT * FROM `messages` WHERE `ID` BETWEEN @N1 AND @N2; the software that inserts live data in…"
Nog geen debat
Dit voert de verdict-zone: bull en bear argumenteren per ronde. Het debat begint na de eerste mark-cycle.
Risk15 Nov, 07:41
merged
Risk08 Nov, 07:18
merged
Risk01 Nov, 07:31
merged
Risk25 Oct, 07:23
key_inherited
Risk11 Oct, 07:46
key_inherited
Risk20 Sept, 08:08
key_inherited
Risk20 Sept, 08:08
merged
Risk23 Aug, 09:24
merged
Risk23 Aug, 09:24
merged
Risk23 Aug, 09:24
merged
Risk23 Aug, 09:24
merged
| Tijd | Bron | Signaal | Betaalbewijs |
|---|---|---|---|
| 2026-11-15T06:13:51Z | stackoverflow ↗ | "INSERT INTO … SELECT causes freeze for normal INSERT queries on the source table on one server but n…" | — |
| 2026-11-08T06:06:48Z | stackoverflow ↗ | "One thing that worried me is the number of INSERTs/s in SHOW ENGINE INNODB STATUS: the failing serve…" | — |
| 2026-11-08T06:06:48Z | stackoverflow ↗ | "The failing server has MySQL 8.0.35 while the previous ones run 8.0.20." | — |
| 2026-11-08T06:06:48Z | stackoverflow ↗ | "When the copying query finishes, it unfreezes and proceeds running normally." | — |
| 2026-11-08T06:06:48Z | stackoverflow ↗ | "Since downtime longer than a minute is not acceptable due to the nature of the system, we’re doing i…" | — |
| 2026-11-01T06:08:11Z | stackoverflow ↗ | "As soon as we run INSERT INTO `new_messages` SELECT * FROM `messages` WHERE `ID` BETWEEN @N1 AND @N2…" | — |
| 2026-10-25T06:12:32Z | stackoverflow ↗ | "TL;DR: INSERT INTO … SELECT causes freeze for normal INSERT queries on the source table on one serve…" | — |
| 2026-10-18T05:12:57Z | stackoverflow ↗ | "The software that inserts live data into the source table (through a stored procedure that does a fe…" | — |
| 2026-10-04T05:13:30Z | stackoverflow ↗ | "Using smaller chunks wouldn't really change much: if run without delays in between, that's the same…" | — |
| 2026-10-04T05:13:30Z | stackoverflow ↗ | "Dumping the whole table (hundreds of millions of records) is too long a downtime." | — |
| 2026-10-04T05:13:30Z | stackoverflow ↗ | "When I run INSERT INTO `new_messages` SELECT * FROM `messages` WHERE `ID` BETWEEN @N1 AND @N2; the s…" | — |
| 2026-09-20T05:20:28Z | stackoverflow ↗ | "as soon as we run INSERT INTO `new_messages` SELECT * FROM `messages` WHERE `ID` BETWEEN @N1 AND @N2…" | — |
| 2026-09-13T05:15:28Z | stackoverflow ↗ | "the software that inserts live data into the source table (through a stored procedure that does a fe…" | — |
| 2026-08-23T05:33:22Z | stackoverflow ↗ | "as soon as we run INSERT INTO `new_messages` SELECT * FROM `messages` WHERE `ID` BETWEEN @N1 AND @N2…" | — |
| 2026-08-16T05:16:06Z | stackoverflow ↗ | "Dumping the whole table (hundreds of millions of records) is too long a downtime. Using smaller chun…" | — |
| 2026-08-16T05:16:06Z | stackoverflow ↗ | "One thing that worried me at the very beginning is the number of INSERTs/s in SHOW ENGINE INNODB STA…" | — |
| 2026-08-16T05:16:06Z | stackoverflow ↗ | "The failing server has MySQL 8.0.35 while the previous ones run 8.0.20. I’ve manually checked system…" | — |
| 2026-08-16T05:16:06Z | stackoverflow ↗ | "We started to update our tables to the new indexes. Since downtime longer than a minute is not accep…" | — |