MySQL Forums
Forum List  »  Optimizer & Parser

Re: Joining several multi-to-multi tables
Posted by: adambrill1986
Date: June 20, 2006 01:44PM

Ok, I am just looking to select the number of phone numbers and email address associated with each user. I know there are ways to do this, but as I stated before, the problem is not selecting the data but selecting the data in such a way so as to not be a load on the server. In MySQL 5 you can use Subqueries which basically take care of the problem, but in MySQL 4 you almost literally crash the server if you try to join too many tables (as I stated above, if they have 100 phone numbers and 100 email address, that is 10,000 rows pulled rather than the 200 that are necissary. Add in another multi join table and it really gets ugly). I'm not sure there is a solution to this but I've been looking for quite some time and thought someone on here might know of one. Thanks for helping.

Options: Reply• Quote


Subject
Views
Written By
Posted
Re: Joining several multi-to-multi tables
2144
June 20, 2006 01:44PM


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.