Connecting Tech Pros Worldwide Help | Site Map

MyISAM on master and InnoDB on slave server

Newbie
 
Join Date: Aug 2007
Posts: 1
#1: Aug 29 '07
Is this possible to have a MyISAM table on master server and change its storage engine (to InnoDB) on slave server in a replication environment?

If this is possible, what should I consider before changing MyISAM to InnoDB on slave server?

Here is the table structure
Expand|Select|Wrap|Line Numbers
  1. CREATE TABLE `messages` (
  2.   `id` int(11) NOT NULL auto_increment,
  3.   `subject` varchar(255) NOT NULL default '',
  4.   `message` text NOT NULL,
  5.   `attachment_path` varchar(255) default NULL,
  6.   `new` tinyint(4) NOT NULL default '0',
  7.   PRIMARY KEY  (`id`)
  8. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
pbmods's Avatar
Site Moderator
 
Join Date: Apr 2007
Location: Texas
Posts: 5,435
#2: Aug 31 '07

re: MyISAM on master and InnoDB on slave server


Heya, MySQLBeginner.

Is there a benefit to doing that?
mwasif's Avatar
Moderator
 
Join Date: Jul 2006
Location: Pakistan
Posts: 718
#3: Aug 31 '07

re: MyISAM on master and InnoDB on slave server


You can have different storage engines on master and slave.
Reply