Joseph,

I've noticed this as well. MySQL seems to do most types of queries
extremely well, but CERTAIN joins are very slow. I ended up having to
denormalize my data structures somewhat in order to maintain good
performance with MySQL. What I don't know, since I do not have access to
a Linux box, is whether the problem is OS related. In any case, I found
that I couldn't create data structures in the same way as on MSSQL.

HTH,
Dan Cumpian


-----Original Message-----
From: Joseph Dietz [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 18, 2002 1:40 PM
To: [EMAIL PROTECTED]
Subject: Severe performace problem linking tables with mysql


PLATFORM: 3.23.52-max-nt with Windows 2000 professional (default table
type)

I have discovered a performace issue when joining several tables
together. 
The performance is extremely poor when performing select queries using
the 
WHERE clause and joining the tables with the pk_media_id = fk_media_id 
etc... I guess this is what people might think about when considering
using 
mysql. With SQL 2000 Windows Server, and ACCESS, there was no loss in 
performace. 4 of my tables are cross reference tables as such:

pk=primary key, fk= foreign key

Medias            MediaAuthors                    Authors

pk_media_id ----  fk_media_id, fk_author_id  ---- pk_author_id

(Many authors for each media)


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to