Today our Database server ran out of disk space and one of the confluence tables crashed.
Confluence seems to be using MYISAM files and not innodb, but in confluence.cfg.xml the DB storage_engine is set to innodb.
We're preparing for the next upgrade and migration to new data centre, my question is - do we need to convert DB to innodb when upgrade/migration, if yes, what's the process to do that? Is it OK just set DB connection to sessionVariables=storage_engine=InnoDB?
Currently we are using confluence 3.4.6, JIRA 4.2.2, Bamboo3.2.2, Cruicible 2.4.4
Thanks
Hi Sherry,
You don't *have* to convert to InnoDB, but it is highly recommended as you can get all sorts of data corruption issues with MYISAM as it's not a transactional storage format.
To convert tables to InnoDB you need to run SQL statements to convert the tables that have been created as MYISAM:
CONVERT TABLE <table_name> ENGINE=InnoDB;
As you've mentioned, I'd also set the DB connection to sessionVariables=storage_engine=InnoDB.
Hope that helps,
Andrew.
Thanks. Is the following statement the same as above?
ALTER TABLE <table_name> ENGINE=InnoDB;
Also is that OK to upgrade MySQL to the latest version? We're at MySQL5.1 now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great, that's really helpful, thank you very much for the information!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.