Re: Very slow query when too many joins
Posted by:
As Os
Date: June 06, 2016 03:33AM
I 'm trying to understand what is EAV: I found this on stackexchanege:
CLASSIC TABLE STRUCTURE
one column per attribute
ID...Ht_cm...wt_kg.....Age_yr
1........190......82.........43
2........170......60.........22
3........205......90.........51
EAV
one column for all attributes
ID.....Metric....Value
1......Ht_cm......190
1......Wt_kg.......82
1......Age_yr......43
1..................
2......Ht_cm......170
2......Wt_kg.......60
2......Age_yr......22
2..................
3......Ht_cm......205
3......Wt_kg.......90
3......Age_yr......51
3..................
Is this what you mean?
you 're saying that my table 'fields_values' has EAV structure and I should change it to classic table structure?
Subject
Views
Written By
Posted
4678
June 05, 2016 09:17AM
1770
June 05, 2016 09:27AM
1561
June 05, 2016 10:14AM
1395
June 05, 2016 10:48AM
1392
June 05, 2016 10:56AM
1450
June 05, 2016 03:33PM
1216
June 05, 2016 03:41PM
1293
June 05, 2016 05:36PM
1220
June 06, 2016 02:23AM
Re: Very slow query when too many joins
1182
June 06, 2016 03:33AM
1049
June 06, 2016 08:36AM
1172
June 06, 2016 08:52AM
1243
June 06, 2016 09:02AM
1202
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
1176
June 07, 2016 03:40PM
1253
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.