Re: Very slow query when too many joins
Posted by:
As Os
Date: June 05, 2016 10:48AM
It 's user created fields.
Table 'field' holds the id, the name of the field and it's options.
Table 'fields_values' holds the the values of the fields.
They're joined with: id->field_id
Table 'ads' holds it's id and the fields' ids.
If one row of 'ads' has 27 fields it has to make 27 JOINS to take the values from 'fields_values' table.
Subject
Views
Written By
Posted
4677
June 05, 2016 09:17AM
1768
June 05, 2016 09:27AM
1560
June 05, 2016 10:14AM
Re: Very slow query when too many joins
1391
June 05, 2016 10:48AM
1392
June 05, 2016 10:56AM
1448
June 05, 2016 03:33PM
1215
June 05, 2016 03:41PM
1293
June 05, 2016 05:36PM
1219
June 06, 2016 02:23AM
1182
June 06, 2016 03:33AM
1047
June 06, 2016 08:36AM
1172
June 06, 2016 08:52AM
1242
June 06, 2016 09:02AM
1201
June 06, 2016 11:16AM
1301
June 06, 2016 08:29AM
1124
June 06, 2016 11:30AM
1197
June 06, 2016 12:08PM
1151
June 06, 2016 02:11PM
1175
June 07, 2016 03:40PM
1252
July 20, 2016 05:34AM
1215
July 20, 2016 09:37AM
1384
July 21, 2016 04:43AM
1104
July 22, 2016 10:59PM
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.