Игорь Олемской — практические заметки по системному администрированию Linux CentOS

Архив тега ‘mysql’

Fix mysql memory table error: The table xtable is full (перепечатка)

Комментариев нет

Replication just stopped in one Slave server with error: The table xtable is full which means no more records are permitted to insert in this table by MySQL and hence this has broken the replication.

I checked that xtable is having storage engine as Memory. In such tables, the max. no. of records you can insert is controlled by variable max_heap_table_size. When checking the size of this variable, I found that this is having default value:

mysql> show variables like 'max_heap_table_size';
+---------------------+----------+
| Variable_name       | Value    |
+---------------------+----------+
| max_heap_table_size | 16777216 |
+---------------------+----------+
1 row in set (0.00 sec)

So we need to increase the value of this variable and then issue Alter Table command to make it effective. Also do not forget to add variable with new value in your my.cnf.

Change the variable value:

mysql> set  max_heap_table_size=268435456;
Query OK, 0 rows affected (0.00 sec)
 
mysql> show variables like 'max_heap_table_size';
+---------------------+-----------+
| Variable_name       | Value     |
+---------------------+-----------+
| max_heap_table_size | 268435456 |
+---------------------+-----------+
1 row in set (0.00 sec)

Now let’s truncate the table and issue Alter table on it to make the value effective for this table:

mysql> truncate table xtable;
Query OK, 0 rows affected (0.00 sec)
 
mysql> alter table xtable ENGINE=MEMORY;
Query OK, 88 rows affected (0.06 sec)
Records: 88  Duplicates: 0  Warnings: 0

After this fix, the issue has been resolved. Make sure that you do not run the truncate command on table which have important data. I have issued truncate because it contains temporary/transactional data so we are fine with removing all records here.

php-pecl-mysqlnd-ms-1.2.2 (перепечатка)

Комментариев нет

RPM of Mysqlnd replication and load balancing plugin is available in remi repository and waiting for review for fedora >= 16 repository.

This mysqlnd extension handle load balancing betwwen master and slave servers, handled by the application, or transparently.
Pecl site: mysqlnd_ms
Documentation : Mysqlnd replication and load balancing plugin
Fedora review : Review request #742729
Installation, after the switch from php-mysql to php-mysqlnd :
yum --enablerepo=remi install... Lire php-pecl-mysqlnd-ms-1.2.2

mysql-5.5.20 (перепечатка)

Комментариев нет

RPM of MySQL Community Server 5.5.20 GA are available in remi repository for fedora and Enterpise Linux (RHEL, CentOS, ...).

To read :

Introduction to MySQL 5.5
Changes in MySQL 5.5.20
MySQL 5.5 Reference Manual

This build use a spec file close to the one from Rawhide
WARNING: before upgrading, a full backup of your databases seems mandatory (a logical dump using mysqldump for example).
 
Simple to install, via yum:
yum --enablerepo=remi update mysql-server... Lire mysql-5.5.20

mysql-workbench-5.2.37 (перепечатка)

Комментариев нет

MySQL Worbench, the modeling, development and administration graphical tool for MySQL databases is now available as 5.2.37 (GA = stable). RPM for fedora ≥ 13 and Enterprise Linux 6 are available in remi repository and will be soon in official updates for fedora ≥ 15.

Read the Changes in MySQL Workbench 5.2.37.
RPM are available in my repository for fedora 13 to 16 and Enterprise Linux 6 (RHEL, CentOS, ...)
As always :
yum --enablerepo=remi install mysql-workbench
Of course, it was build with mysql-5.5.18.
This version will be soon available in official updates for:

fedora 16
fedora 15

This build... Lire mysql-workbench-5.2.37

mysql-5.5.19 (перепечатка)

Комментариев нет

RPM of MySQL Community Server 5.5.19 GA are available in remi repository for fedora and Enterpise Linux (RHEL, CentOS, ...).

To read :

Introduction to MySQL 5.5
Changes in MySQL 5.5.19
MySQL 5.5 Reference Manual

This build use a spec file close to the one from Rawhide
WARNING: before upgrading, a full backup of your databases seems mandatory (a logical dump using mysqldump for example).
 
Simple to install, via yum:
yum --enablerepo=remi update mysql-server... Lire mysql-5.5.19

mysql-worbench-5.2.36 (перепечатка)

Комментариев нет

MySQL Worbench, the modeling, development and administration graphical tool for MySQL databases is now available as 5.2.36 (GA = stable). RPM for fedora ≥ 13 and Enterprise Linux 6 are available in remi repository and will be soon in official updates for fedora ≥ 15.

Read the Changes in MySQL Workbench 5.2.36.
RPM are available in my repository for fedora 13 to 16 and Enterprise Linux 6 (RHEL, CentOS, ...)
As always :
yum --enablerepo=remi install mysql-workbench
Of course, it was build with mysql-5.5.18.
This version will be soon available in official updates for:

fedora 16
fedora 15

This build... Lire mysql-worbench-5.2.36

mysql-5.5.18 (перепечатка)

Комментариев нет

RPM of MySQL Community Server 5.5.18 GA are available in remi repository for fedora and Enterpise Linux (RHEL, CentOS, ...).

To read :

Introduction to MySQL 5.5
Changes in MySQL 5.5.18
MySQL 5.5 Reference Manual

This build use a spec file close to the one from Rawhide
WARNING: before upgrading, a full backup of your databases seems mandatory (a logical dump using mysqldump for example).
 
Simple to install, via yum:
yum --enablerepo=remi update mysql-server... Lire mysql-5.5.18

mysql-5.5.17 (перепечатка)

Комментариев нет

RPM of MySQL Community Server 5.5.17 GA are available in remi repository for fedora and Enterpise Linux (RHEL, CentOS, ...).

To read :

Introduction to MySQL 5.5
Changes in MySQL 5.5.17
MySQL 5.5 Reference Manual

This build use a spec file close to the one from Rawhide
WARNING: before upgrading, a full backup of your databases seems mandatory (a logical dump using mysqldump for example).
 
Simple to install, via yum:
yum --enablerepo=remi update mysql-server... Lire mysql-5.5.17

php-pecl-mysqlnd-ms-1.1.0 (перепечатка)

Комментариев нет

RPM of Mysqlnd replication and load balancing plugin is available in remi repository and waiting for review for fedora >= 16 repository.

This mysqlnd extension handle load balancing betwwen master and slave servers, handled by the application, or transparently.
Pecl site: mysqlnd_ms
Documentation : Mysqlnd replication and load balancing plugin
Fedora review : Review request #742729
Installation, after the switch from php-mysql to php-mysqlnd :
yum --enablerepo=remi install... Lire php-pecl-mysqlnd-ms-1.1.0

mysql-worbench-5.2.35 (перепечатка)

Комментариев нет

MySQL Worbench, the modeling, development and administration graphical tool for MySQL databases is now available as 5.2.35 (GA = stable). RPM for fedora ≥ 12 are available in remi repository and will be soon in official updates for fedora ≥ 14.

Read the Releases Page for changes history, or Changes in MySQL Workbench 5.2.35.
RPM are available in my repository for fedora 12 to 14.
As always :
yum --enablerepo=remi install mysql-workbench
Of course, it was build with mysql-5.5.16.
This version will be soon available in official updates for:

fedora 16
fedora 15
fedora 14 (build... Lire mysql-worbench-5.2.35