| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Martijn Tonies | Date: | May 25 2005 1:40pm |
| Subject: | Re: InnoDB to MyISAM | ||
| View as plain text | |||
> > http://dev.mysql.com/doc/mysql/en/converting-tables-to-innodb.html > > He's converting InnoDB to MyISAM. > > I would recommend something like this: > > CREATE TABLE newtable LIKE oldtable; > > ALTER TABLE newtable ENGINE=MyISAM; > > ALTER TABLE newtable DISABLE KEYS; > > INSERT INTO newtable SELECT * FROM oldtable; > > ALTER TABLE newtable ENABLE KEYS; > > >>key relationships? > > > > MyISAM can't FK's. > > Yes it can, they're just not enforced. LOL - that's just like saying that MyISAM supports transactions if you only do transactions that are a single statement... In other words: useles. With regards, Martijn Tonies Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL Server Upscene Productions http://www.upscene.com
| Thread | ||
|---|---|---|
| • InnoDB to MyISAM | Scott Purcell | 25 May |
| • Re: InnoDB to MyISAM | DBA) | 25 May |
| • Re: InnoDB to MyISAM | Rafal Kedziorski | 25 May |
| • Re: InnoDB to MyISAM | Jeremiah Gowdy | 25 May |
| • Re: InnoDB to MyISAM | Martijn Tonies | 25 May |
| • Re: InnoDB to MyISAM | Jeremiah Gowdy | 26 May |
| • Re: InnoDB to MyISAM | mfatene | 26 May |
| • Re: InnoDB to MyISAM | Martijn Tonies | 26 May |
| • Re: InnoDB to MyISAM | Jeremiah Gowdy | 26 May |
| • Re: InnoDB to MyISAM | Jeremiah Gowdy | 26 May |
| • Re: InnoDB to MyISAM | Martijn Tonies | 26 May |
| • RE: InnoDB to MyISAM | Peter Normann | 26 May |
| • Re: InnoDB to MyISAM | Jeremiah Gowdy | 27 May |
| • Re: InnoDB to MyISAM | Martijn Tonies | 26 May |
| • Re: InnoDB to MyISAM | DBA) | 26 May |
