Hello!
My database that i am trying to migrate is 6.9 GB large. I know that since i am doing a practice run before upgrading from 2.3->2.4->3.
When running the DBUpdate-to-2.4.mysql.sql the sql statement:
”ALTER TABLE article_attachment ADD content_id VARCHAR (255) NULL;”
Takes extremly long time. After letting it run for the weekend it was still running on monday when i got back i finaly pulled the plug and aborted it. I then ran
ALTER TABLE `article` DISABLE KEYS;
ALTER TABLE `article_attachment` DISABLE KEYS;
ALTER TABLE `mail_account` DISABLE KEYS;
ALTER TABLE `queue` DISABLE KEYS;
ALTER TABLE `sla` DISABLE KEYS;
ALTER TABLE `ticket` DISABLE KEYS;
ALTER TABLE `users` DISABLE KEYS;
ALTER TABLE `xmlstorage` DISABLE KEYS;
(This was due to me checking wrong file of alter tables but i atleast i got the article_attachment)
This was in order to speed it up a little making the database focus on one thing at the time.
Anyway – with my article_attachment containing 75 734 rows should it really takes hours to run the alter table?
CentOS: 6.2
Mysql: Ver 14.14 Distrib 5.1.52, for unknown-linux-gnu (x86_64) using readline 5.1
DBUpdate-to-2.4.mysql.sql takes extremely long time
Moderator: crythias
-
- Znuny newbie
- Posts: 10
- Joined: 26 Oct 2011, 11:49
- Znuny Version: 3.0.11
- Real Name: Jonas Harnesk
- Company: StaticAB
DBUpdate-to-2.4.mysql.sql takes extremely long time
Best regards
Petfrogg
CentOS 6.0
MySQL
OTRS migrating from 2.3.5 to 3.0.11
PS! Dont ticket me for misspelling my name with two "gg"s!
Petfrogg
CentOS 6.0
MySQL
OTRS migrating from 2.3.5 to 3.0.11
PS! Dont ticket me for misspelling my name with two "gg"s!
Re: DBUpdate-to-2.4.mysql.sql takes extremely long time
yes, these scripts can run some hours
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com