<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无码专区在线观看下载 | 一个人看的www在线免费视频 | 亚洲精品视频在线| 国产精品高清视亚洲精品| 一二三区免费视频| 久久乐国产精品亚洲综合| 亚洲中文字幕无码亚洲成A人片| 永久免费无码日韩视频| 成人性生交大片免费看无遮挡 | 国产美女在线精品免费观看| 亚洲综合精品伊人久久| 日韩高清在线免费观看| 91亚洲国产在人线播放午夜| 一级毛片免费在线| 中文字幕专区在线亚洲| 你懂得的在线观看免费视频| 免费国产美女爽到喷出水来视频| 亚洲国产成AV人天堂无码| a在线观看免费视频| 亚洲精品成人区在线观看| 亚洲成在人线在线播放无码| 美女视频黄免费亚洲| 亚洲免费精彩视频在线观看| 成人浮力影院免费看| 亚洲欧洲日产国产最新| 69视频在线观看高清免费| 精品亚洲综合久久中文字幕| 中国黄色免费网站| 亚洲精品韩国美女在线| 免费国产小视频在线观看| 日本永久免费a∨在线视频| 午夜无遮挡羞羞漫画免费| 亚洲一区精品无码| 精品国产呦系列在线观看免费| 免费一级毛片在线观看 | 91精品免费在线观看| 国产亚洲精品欧洲在线观看| 午夜时刻免费入口| 国产一区二区免费视频|