MySQL Forums
Forum List  »  Performance

Re: Very slow query when too many joins
Posted by: As Os
Date: June 06, 2016 02:23AM

My db engine is InnoDB, the default in mysql, I haven't changed it.
So, in table 'fields_values' I should replace the primary key (the 'id') with a composite key which will be created from the addition of ads_id and field_id?

Options: ReplyQuote


Subject
Views
Written By
Posted
4702
June 05, 2016 09:17AM
1779
June 05, 2016 09:27AM
1405
June 05, 2016 10:48AM
1481
June 05, 2016 03:33PM
Re: Very slow query when too many joins
1229
June 06, 2016 02:23AM
1194
June 06, 2016 03:33AM
1058
June 06, 2016 08:36AM
1258
June 06, 2016 09:02AM
1133
June 06, 2016 11:30AM
1158
June 06, 2016 02:11PM


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.