Re: N-to-N Model: Table Size vs Complexity
Hi dudes
I always wonder for such N-to_N tables what is the better engine to use i.e.:
if we have a table
CREATE TABLE `friends` (
`userID` MEDIUMINT NOT NULL ,
`friendID` MEDIUMINT NOT NULL ,
PRIMARY KEY ( `userID` , `friendID` )
)
and we must join this table with table `users` to search users for example.
Which is better MyIsam or InnoDB
I know that InnoDB uese clustered index and it is fastter when search by PK, but in this case if the table is MyIsam is it using only the index data which may be cached also, without lookup for data in friends.MYI
Subject
Written By
Posted
September 02, 2008 03:18PM
September 03, 2008 08:04AM
September 03, 2008 01:04PM
September 03, 2008 01:29PM
Re: N-to-N Model: Table Size vs Complexity
May 18, 2009 04:50AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.