MySQL Forums
Forum List  »  Performance

Re: Reg table design and query performances
Posted by: Øystein Grøvlen
Date: May 02, 2016 01:00AM

Rick James Wrote:
-------------------------------------------------------
> Wouldn't you want the query to start with the
> table that does the most filtering? That might be
> c and 'Seattle'.

Hi Rick,

You are absolutely right. Especially, since primary key is (user_id, name) so look-ups into the other tables would all be unique.

Øystein Grøvlen,
Senior Principal Software Engineer,
MySQL Group, Oracle,
Trondheim, Norway

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Reg table design and query performances
776
May 02, 2016 01:00AM


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.