Rumah > pangkalan data > tutorial mysql > mysql5.6和mysql5.7分配undo回滚段的区别_MySQL

mysql5.6和mysql5.7分配undo回滚段的区别_MySQL

WBOY
Lepaskan: 2016-05-30 17:11:21
asal
1123 orang telah melayarinya

1、mysql5.7中分为2类:临时表空间回滚段和普通回滚段。

2、mysql5.6中没有区分。

As of MySQL 5.7.2, 32 undo logs are reserved for use by temporary tables and are hosted in the temporary table tablespace (ibtmp1). To allocate additional undo logs for data-modifying transactions that generate undo records,<code class="literal">innodb_undo_logs must be set to a value greater than 32 if undo logs are stored in the system tablespace only. If you have configured separate undo tablespaces, <code class="literal">innodb_undo_logs must be set to a value greater than 33 to allocate additional undo logs for data-modifying transactions. Each undo log can host up to a maximum of 1024 transactions.

<code class="literal"><code class="literal">如果undo log存储在系统表空间,innodb_undo_logs值必须大于32

<code class="literal"><code class="literal">否则独立存储的话必须大于3。

Label berkaitan:
sumber:php.cn
Kenyataan Laman Web ini
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Tutorial Popular
Lagi>
Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan