Closed
Bug 981496
Opened 11 years ago
Closed 11 years ago
alter the engine type for bugzilla's bugs_fulltext table from myisam to innodb
Categories
(Data & BI Services Team :: DB: MySQL, task)
Data & BI Services Team
DB: MySQL
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: glob, Assigned: scabral)
References
Details
cyborgshadow has identified bugs_fulltext's myisam engine as a major contributing factor to the database replication lag we've been experiencing. there's some details on bug 981487.
after discussing the issue with him, it appears that we should be able to switch to innodb without downtime:
> remove it from pool, run the alter, replace into pool
looking at bugzilla's code, this shouldn't cause any issues while we're running, however there's a few minor changes that should be made (mostly moving bugs_fulltext updating code within transaction blocks).
Assignee | ||
Comment 1•11 years ago
|
||
Done on bugzilla4, 5 and 6, though there are data inconsistences that have to be addressed (tomorrow, when we're fresh, at the latest).
Doing on bugzilla2 now:
mysql> select @@hostname; set sql_log_bin=0; alter table bugs.bugs_fulltext engine=innodb;
+-------------------------------+
| @@hostname |
+-------------------------------+
| bugzilla2.db.scl3.mozilla.com |
+-------------------------------+
1 row in set (0.00 sec)
Query OK, 0 rows affected (0.00 sec)
Assignee | ||
Comment 2•11 years ago
|
||
the table crashed on the master, so we had to failover. bugzilla3 is the current master, bugzilla1 is undergoing a repair and then an alter table now.
Assignee | ||
Comment 3•11 years ago
|
||
bugzilla1 repair and alter complete.
bugzilla3 is the only remaining holdout and it's the current master.
Assignee | ||
Comment 4•11 years ago
|
||
bugzilla1 repair and alter complete.
bugzilla3 is the only remaining holdout and it's the current master.
Assignee | ||
Comment 5•11 years ago
|
||
had to fail back, as bugzilla3's bugs_fulltext table was having problems. Altering bugzilla3 and all the phx servers and backups to be innodb now.
Assignee | ||
Comment 6•11 years ago
|
||
bugzilla3 and phx are done, just waiting for backups to complete.
Comment 7•11 years ago
|
||
This is finished. Closing out.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Assignee: server-ops-database → scabral
Updated•10 years ago
|
Product: mozilla.org → Data & BI Services Team
You need to log in
before you can comment on or make changes to this bug.
Description
•