하. 이게 정상적인가요?
DB.query_single('SELECT name, length(value) FROM "post_custom_fields" WHERE post_id=20')
=> ["calendar-details", 83361791, "post_detected_lang", 2]
즉, 이 특정 calendar-details 항목의 value 열에는 약 80MB에 달하는 데이터가 포함되어 있습니다. 여기에서 뭔가 중요한 단서를 찾은 것 같습니다.
어떤 면에서, 이렇게 큰 페이로드를 calendar-details 값에 가진 항목은 이 항목이 유일합니다.
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