以下是'SHOW ENGINE INNODB STATUS'的幾行迴應。在SHOW引擎INNODB狀態中事務未啓動是什麼意思?
TRANSACTIONS
------------
Trx id counter 58EC54C6
Purge done for trx's n:o < 58EC54C3 undo n:o < 0
History list length 2420
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 58EC51E6, not started
MySQL thread id 520131, OS thread handle 0x7f0db930e700, query id 24011015 108.89.56.87 xyz
---TRANSACTION 58EC527E, not started
MySQL thread id 520061, OS thread handle 0x7f0dbb596700, query id 24011370 108.89.56.87 xyz
---TRANSACTION 58EC53AC, not started
MySQL thread id 520065, OS thread handle 0x7f0dbb28a700, query id 24012094 108.89.56.87 xyz
---TRANSACTION 58EC50CE, not started
MySQL thread id 520109, OS thread handle 0x7f0dbba69700, query id 24010431 108.89.56.87 xyz ---TRANSACTION 58EC51E8, not started
MySQL thread id 520123, OS thread handle 0x7f0dbb4d3700, query id 24011016 108.89.56.87 xyz ---TRANSACTION 58EC51D0, not started
MySQL thread id 520072, OS thread handle 0x7f0db865c700, query id 24010944 108.89.56.87 xyz
---TRANSACTION 58EC5184, not started
MySQL thread id 520058, OS thread handle 0x7f0db8c74700, query id 24010807 108.89.56.87 xyz
我想知道這是什麼 '交易TRANSID,沒有開始' 的意思?任何查詢執行失敗嗎?
我正在使用innodb。我也不是手動啓動交易。它正在考慮自動事務,因爲我正在發佈具有批量數據的表上的更新查詢。並且你會在5-10分鐘內在這個單獨的表上獲取mysql更新查詢的內容。
請讓我知道'交易未開始'是什麼意思?它顯示失敗的查詢還是隻是一個正常的日誌?
在此先感謝!