CARVIEW |
Select Language
HTTP/2 200
date: Wed, 08 Oct 2025 23:59:06 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
cf-cache-status: DYNAMIC
link: ; rel=preload; as=style; nopush,; rel=preload; as=script; nopush,; rel=preload; as=style; nopush,; rel=preload; as=script; nopush,; rel=preload; as=script; nopush
nel: {"report_to":"heroku-nel","response_headers":["Via"],"max_age":3600,"success_fraction":0.01,"failure_fraction":0.1}
referrer-policy: strict-origin-when-cross-origin
report-to: {"group":"heroku-nel","endpoints":[{"url":"https://nel.heroku.com/reports?s=Hl1UgSXcduit5noWLm0qD0Jpm3NFMQghvYHi9mEabGc%3D\u0026sid=e11707d5-02a7-43ef-b45e-2cf4d2036f7d\u0026ts=1759967946"}],"max_age":3600}
reporting-endpoints: heroku-nel="https://nel.heroku.com/reports?s=Hl1UgSXcduit5noWLm0qD0Jpm3NFMQghvYHi9mEabGc%3D&sid=e11707d5-02a7-43ef-b45e-2cf4d2036f7d&ts=1759967946"
server: cloudflare
strict-transport-security: max-age=0; includeSubDomains
vary: Accept,Accept-Encoding
via: 2.0 heroku-router
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
x-request-id: e3646d8c-0129-0971-0809-a89bbdc20204
x-runtime: 0.136612
x-xss-protection: 0
content-encoding: gzip
set-cookie: _secure_speakerd_session=ceHpEUcLwBari5qYkyqqMfv1Oqj5LhICkzxw9m0OtaaCQ0FIboTYbkVRX0zsTYlZTsHyMZu8q%2BcP3Gg0rad6k3okuuV2idDF3chd0pKqrsKUygcKfAUQPV1FlN45358oZd%2FkMRD%2Bns2%2F36MRizPzq0ARkJgUcbppNQj6DvN6kYVCcbzeqTfYnuswfs2iG1PL1tNjWYqBmpIM366wLDHLHnWlDEWCju8jm%2BO8ay0TK6C7s9IUVD6oA%2Bh3Ideet346VSqSuaWdaFIP3lOlmAVqfIW3jsrQdXABtv%2BXlJwnmLbdhKnIHOwMUaNweZ6CSwyysp3Lzejt3Bpq%2FJZ%2B7uZybjKvzITXeh8ygEdwwrhM7Pf%2B2rblrYQ2cBoUVVJG5Da%2FbvyYyjF3xp3vAisZNAe5FNdT--lOMRY7PZ%2FXyCdr3S--lsH8AllZwfNi8KcYjYDoIQ%3D%3D; HttpOnly; SameSite=Lax; Secure; Path=/; Expires=Wed, 22 Oct 2025 23:59:06 GMT
cf-ray: 98b9970b393f741b-BLR
MySQL運用とらぶるすとーり〜^2 / MySQL-Troubleshooting-Story - Speaker Deck
More Decks by ichirin2501
Other Decks in Technology
Featured
Transcript
-
mysql> show table status like 'relword' \G *************************** 1. row
*************************** Name: relword Type: MyISAM Row_format: Fixed Rows: 4294967295 Avg_row_length: 9 Data_length: 38654705655 Max_data_length: 38654705663 Index_length: 106203639808 Data_free: 0 ..................... ݏͳ༧ײɺߦʂʁ -
MySQL 4.0 -> 5.1 • (ඇޓ)char,varcharͷ͞ఆ͕ٛ όΠτ͔Βจࣈมߋ(4.1 ~ • (ඇޓ)timestamp(n)ഇࢭ(4.1
~ "20160830133257" -> "2016-08-30 13:32:57" ԼهͷΑ͏ʹจࣈྻͷ··ΞϓϦଆͰѻ͍ͬͯΔͱࢮ ྫ: https://anond.hatelabo.jp/20160830133257 ͭΒ͍ɺ͕ΜΖ͏ -
5.0 4.0 5.1 Slave Slave VIP Standby Standby Master Master
client ߋ৽ܥ ࢀরܥ -
5.0 4.0 5.1 Slave Slave VIP Standby Standby Master Master
client ߋ৽ܥ ࢀরܥ -
5.0 4.0 5.1 Slave Slave VIP Master Master Standby Standby
client ߋ৽ܥ ࢀরܥ -
Error reading packet from server: log event entry exceeded max_allowed_packet;
Increase max_allowed_packet on master (server_errno=1236) max_allowed_packet ??? Τϥʔϩά ͓લԿΛݴ͍ͬͯΔΜͩ -
binlog͕։͚ͳ͍ $ mysqlbinlog --no-defaults antennadb08-bin.4406 > dump.bin mysqlbinlog: Error reading
file 'antennadb08-bin.4406' (Errcode: 22 - Invalid argument) ERROR: Error in Log_event::read_log_event(): 'read error', data_len: 2964698656, event_type: -51 ERROR: Could not read entry at offset 549168893: Error in log format or read error. ERROR: Could not read entry at offset 549168893: Error in log format or read error. શεϨʔϒ549168893ͷϙδγϣϯͰఀࢭ DiskFullͰbinlogഁଛ -
पลͷ bc 56 ͷσʔλྻΛ୳͢ 20bba7d5 = 549169109 ʹ timestamp master_log_file
= "antennadb08-bin.4406" master_log_pos = 549169109 ΤϥʔͰϨϓϦఀࢭͯͨ͠backupDB͕͋ͬͨͷͰ CHANGE MASTER TO͢Εಈ͖ͦ͏