MySQL Forums
Forum List  »  Performance

Re: Very slow query when too many joins
Posted by: Rick James
Date: June 07, 2016 03:40PM

If all (or most) rows need the same 'attributes', then they should be columns. If you have different attributes for different rows, then JSON is better. Example: A shopping site with cameras, dresses, tools, etc, all in the same table.

More on the evils of EAV: http://mysql.rjweb.org/doc.php/eav .

Joomla can get away with whatever it says because it does not plan on implementers having more than a few hundred items in their tables.

Options: ReplyQuote


Subject
Views
Written By
Posted
4515
June 05, 2016 09:17AM
1704
June 05, 2016 09:27AM
1325
June 05, 2016 10:48AM
1323
June 05, 2016 03:33PM
1166
June 06, 2016 02:23AM
1138
June 06, 2016 03:33AM
1003
June 06, 2016 08:36AM
1175
June 06, 2016 09:02AM
1077
June 06, 2016 11:30AM
1105
June 06, 2016 02:11PM
Re: Very slow query when too many joins
1126
June 07, 2016 03:40PM


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.