<span id="mktg5"></span>

<i id="mktg5"><meter id="mktg5"></meter></i>

        <label id="mktg5"><meter id="mktg5"></meter></label>
        最新文章專題視頻專題問答1問答10問答100問答1000問答2000關(guān)鍵字專題1關(guān)鍵字專題50關(guān)鍵字專題500關(guān)鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關(guān)鍵字專題關(guān)鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
        問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
        當(dāng)前位置: 首頁 - 科技 - 知識百科 - 正文

        mysql的XA事務(wù)恢復(fù)_MySQL

        來源:懂視網(wǎng) 責(zé)編:小采 時間:2020-11-09 18:23:52
        文檔

        mysql的XA事務(wù)恢復(fù)_MySQL

        mysql的XA事務(wù)恢復(fù)_MySQL:bitsCN.com mysql的XA事務(wù)恢復(fù) mysql數(shù)據(jù)庫開機(jī)報(bào)錯: InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 100224 12:24:20 Inno
        推薦度:
        導(dǎo)讀mysql的XA事務(wù)恢復(fù)_MySQL:bitsCN.com mysql的XA事務(wù)恢復(fù) mysql數(shù)據(jù)庫開機(jī)報(bào)錯: InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 100224 12:24:20 Inno

        bitsCN.com


        mysql的XA事務(wù)恢復(fù)

        mysql數(shù)據(jù)庫開機(jī)報(bào)錯:

        InnoDB: The log sequence number in ibdata files does not match

        InnoDB: the log sequence number in the ib_logfiles!

        100224 12:24:20 InnoDB: Database was not shut down normally!

        InnoDB: Starting crash recovery.

        InnoDB: Reading tablespace information from the .ibd files...

        InnoDB: Restoring possible half-written data pages from the doublewrite

        InnoDB: buffer...

        InnoDB: Transaction 0 4497755 was in the XA prepared state.

        InnoDB: Transaction 0 4468551 was in the XA prepared state.

        InnoDB: Transaction 0 4468140 was in the XA prepared state.

        InnoDB: 3 transaction(s) which must be rolled back or cleaned up

        InnoDB: in total 0 row operations to undo

        InnoDB: Trx id counter is 0 5312768

        InnoDB: Starting in background the rollback of uncommitted transactions

        100224 12:24:20 InnoDB: Rollback of non-prepared transactions completed

        100224 12:24:20 InnoDB: Started; log sequence number 0 3805002509

        100224 12:24:20 InnoDB: Starting recovery for XA transactions...

        100224 12:24:20 InnoDB: Transaction 0 4497755 in prepared state after recovery

        100224 12:24:20 InnoDB: Transaction contains changes to 8 rows

        100224 12:24:20 InnoDB: Transaction 0 4468551 in prepared state after recovery

        100224 12:24:20 InnoDB: Transaction contains changes to 1 rows

        100224 12:24:20 InnoDB: Transaction 0 4468140 in prepared state after recovery

        100224 12:24:20 InnoDB: Transaction contains changes to 1 rows

        100224 12:24:20 InnoDB: 3 transactions in prepared state after recovery

        100224 12:24:20 [Note] Found 3 prepared transaction(s) in InnoDB

        100224 12:24:20 [Warning] Found 3 prepared XA transactions

        100224 12:24:20 [Note] Event Scheduler: Loaded 0 events

        100224 12:24:20 [Note] /opt/mysql/bin/mysqld: ready for connections.

        Version: '5.1.39' socket: '/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL)

        意味著有三個XA的事務(wù)沒有提交或回滾。

        登錄到mysql

        mysql> xa recover;

        +----------+--------------+--------------+------------------------------------------------------------+

        | formatID | gtrid_length | bqual_length | data |

        +----------+--------------+--------------+------------------------------------------------------------+

        | 131075 | 30 | 28 | 1-7f000001:bae5:4b6928eb:f06397f000001:bae5:4b6928eb:f0650 |

        | 131075 | 30 | 28 | 1-7f000001:bae5:4b6928eb:fb5c37f000001:bae5:4b6928eb:fb5cd |

        | 131075 | 30 | 28 | 1-7f000001:bae5:4b6928eb:f03ea7f000001:bae5:4b6928eb:f0400 |

        +----------+--------------+--------------+------------------------------------------------------------+

        數(shù)據(jù)表示信息如下:

        formatIDis the formatIDpart of the transaction xid

        gtrid_lengthis the length in bytes of the gtridpart of the xid

        bqual_lengthis the length in bytes of the bqualpart of the xid

        datais the concatenation of the gtridand bqualparts of the xid

        這是三個XA事務(wù)的信息,準(zhǔn)備直接回滾。

        mysql> xa rollback '1-7f000001:bae5:4b6928eb:fb5c3','7f000001:bae5:4b6928eb:fb5cd',131075;

        Query OK, 0 rows affected (0.41 sec)

        再啟動就正常了。

        bitsCN.com

        聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

        文檔

        mysql的XA事務(wù)恢復(fù)_MySQL

        mysql的XA事務(wù)恢復(fù)_MySQL:bitsCN.com mysql的XA事務(wù)恢復(fù) mysql數(shù)據(jù)庫開機(jī)報(bào)錯: InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 100224 12:24:20 Inno
        推薦度:
        標(biāo)簽: 數(shù)據(jù)庫 xa mysql
        • 熱門焦點(diǎn)

        最新推薦

        猜你喜歡

        熱門推薦

        專題
        Top
        主站蜘蛛池模板: 亚洲一区二区三区国产精华液| 国产AV无码专区亚洲AV蜜芽| 午夜老司机免费视频| 免费一区二区无码视频在线播放| 久久久久亚洲精品成人网小说| 91成人免费在线视频| 曰批免费视频播放免费| 亚洲国产成人久久综合一| 国产自产拍精品视频免费看| 日韩精品无码免费专区网站 | 国产成人无码综合亚洲日韩| 成人免费在线看片| 特色特黄a毛片高清免费观看| 亚洲伦另类中文字幕| 国产gav成人免费播放视频| 最近免费中文字幕大全免费| 理论秋霞在线看免费| 亚洲影视一区二区| 伊人久久大香线蕉亚洲五月天| 99久久免费国产精品特黄| 中文字幕不卡免费高清视频| 亚洲免费综合色在线视频| 亚洲av综合av一区| 亚洲国产午夜福利在线播放| 国产成人精品免费视频网页大全 | 国产亚洲成av人片在线观看| 免费看少妇作爱视频| 中文字幕视频免费| 韩国免费a级作爱片无码| 亚洲精品GV天堂无码男同| 亚洲经典在线观看| 亚洲av网址在线观看| 中文亚洲AV片在线观看不卡| 四虎免费影院4hu永久免费| 欧洲乱码伦视频免费| 每天更新的免费av片在线观看 | 在线永久看片免费的视频| 成全高清在线观看免费| 国产免费AV片在线观看播放| 国产精品亚洲va在线观看| 四虎必出精品亚洲高清|