Datenbankmigration stockt bei riesigem Wert eines "calendar-details"-Elements in der Tabelle "post_custom_fields"

Ha. Ist das überhaupt noch zumutbar?

DB.query_single('SELECT name, length(value) FROM "post_custom_fields" WHERE post_id=20')
=> ["calendar-details", 83361791, "post_detected_lang", 2]

Die Spalte value dieses spezifischen calendar-details-Eintrags enthält also Daten im Umfang von etwa 80 MB. Ich glaube, wir sind auf der richtigen Spur.

Offenbar ist dies der einzige Eintrag, der in seinem calendar-details-Wert eine so große Nutzlast trägt.

print(DB.query("SELECT post_id, length(value) FROM post_custom_fields WHERE name='calendar-details' ORDER BY post_id").map { |r| r.post_id.to_s + ": " + r.length.to_s }.join("\n"))
20: 83361791
84: 113
133: 113
177: 58
223: 2
263: 113
379: 112
385: 130
439: 112
456: 112
457: 58
495: 117
552: 2