solidcodes — 2012-03-05T10:48:08-05:00 — #1
I'm not sure but I haven't done this before.
Let say I have ,
Table A (MyISAM)
Table B (InnoDB)
I want to insert a foreign key into Table B referencing Table A primary index.
Is this possible?
If not should I convert Table A to innoDB?
r937 — 2012-03-05T11:15:44-05:00 — #2
myisam is necessary if you want to use fulltext indexing (or geolocation, if i recall correctly)
or if you're tuning an app for massive read and infrequent update
otherwise, yes, make it innodb, because the FK won't work otherwise
solidcodes — 2012-03-05T11:35:51-05:00 — #3
solidcodes — 2012-03-05T12:01:21-05:00 — #4
I can't believed the InnoDB is not supported by my web hosting.
Is there an alternative for the InnoDB engine?
r937 — 2012-03-05T13:19:13-05:00 — #5
not that would do you any good
there is, however, an alternative for your web hosting
solidcodes — 2012-03-05T18:14:52-05:00 — #6
Can you name it? what engine is a good alternative for InnoDB?
thanks in advanced.
r937 — 2012-03-05T18:23:10-05:00 — #7
there are many different types of engines...
my point was, if your host doesn't support innodb, what are the chances that one of these other engines will be supported?
not very likely, would be my guess
solidcodes — 2012-03-05T18:35:18-05:00 — #8
So what do you think the reason they don't support it r937?
Because I asked them the reason but they don't let me know.
r937 — 2012-03-05T19:08:55-05:00 — #9
it would be sheer speculation on my part, and probably not very complimentary
for the time being, make both of your tables myisam
performance should be fine, the only thing you will miss is automatic enforcement of relational integrity constraints
solidcodes — 2012-03-05T19:14:27-05:00 — #10
Thanks again r937
I'll do that.
mittineague — 2014-09-23T21:57:37-04:00 — #11
This topic is now archived. It is frozen and cannot be changed in any way.