Query time 0.00524
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "382.39"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"rows_examined_per_scan": 147,
"rows_produced_per_join": 147,
"filtered": "100.00",
"cost_info": {
"read_cost": "176.59",
"eval_cost": "29.40",
"prefix_cost": "205.99",
"data_read_per_join": "167K"
},
"used_columns": [
"variant_id",
"color",
"position"
],
"attached_condition": "(`webmarco`.`cscart_product_feature_variants`.`variant_id` in (59755,59704,59916,38299,59741,59742,59743,59744,59745,59746,59747,59748,59749,59750,59751,59752,59753,59754,59756,59757,59758,59759,59760,59763,59777,59778,59779,59780,59832,59833,59834,59835,59836,59837,59838,59842,59843,59844,59845,59846,59847,59848,59849,59850,59851,59852,59853,59854,59855,59856,59857,59858,59859,59860,59861,59862,59863,59864,59865,59866,59867,59868,59869,59870,59871,59872,59873,59874,59875,59876,59877,59878,59879,59880,59881,59882,59883,59884,59885,59886,59887,59888,59889,59890,59891,59892,59893,59894,59895,59896,59897,59898,59899,59900,59901,59902,59903,59904,59905,59906,59907,59908,59909,59910,59911,59912,59913,59914,59915,59917,59918,59919,59920,59921,59922,59923,59924,59925,59926,59927,59928,59929,59930,59931,61614,59932,59933,59934,59935,59936,59937,59938,59939,59940,59941,62744,59737,60119,0,63634,38218,63631,64046,59712,64077,67803,67813))"
}
},
{
"table": {
"table_name": "cscart_product_feature_variant_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"webmarco.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 147,
"filtered": "100.00",
"cost_info": {
"read_cost": "147.00",
"eval_cost": "29.40",
"prefix_cost": "382.39",
"data_read_per_join": "663K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
variant_id |
position |
color |
variant |
59737 |
0 |
#ffffff |
Albania |
64046 |
0 |
|
Arad |
63631 |
0 |
|
Bareggio |
64077 |
0 |
|
Blue |
63634 |
0 |
|
Car Rental |
59777 |
0 |
#ffffff |
Chieti (CH) |
67803 |
0 |
#ffffff |
Diesel |
67813 |
0 |
#ffffff |
Duplex |
60119 |
0 |
#ffffff |
Himare |
62744 |
0 |
|
Himarë |
59704 |
0 |
#ffffff |
Italy |
59778 |
0 |
#ffffff |
L'AQUILA (AQ) |
38218 |
0 |
#ffffff |
Milano |
59779 |
0 |
#ffffff |
Pescara (PE) |
59712 |
0 |
#ffffff |
Romania |
59780 |
0 |
#ffffff |
Teramo (TE) |
61614 |
0 |
|
Veneto |
59741 |
1 |
#ffffff |
Abruzzo |
59911 |
1 |
#ffffff |
Agrigento |
59890 |
1 |
#ffffff |
Alessandria |
59882 |
1 |
#ffffff |
Ancona |
59898 |
1 |
#ffffff |
Andria |
59934 |
1 |
#ffffff |
Aosta |
59922 |
1 |
#ffffff |
Arezzo |
59842 |
1 |
#ffffff |
Avellino |
59935 |
1 |
#ffffff |
Belluno |
59870 |
1 |
#ffffff |
Bergamo |
59847 |
1 |
#ffffff |
Bologna |
59920 |
1 |
#ffffff |
Bolzano |
59906 |
1 |
#ffffff |
Cagliari |
59888 |
1 |
#ffffff |
Campobasso |
59834 |
1 |
#ffffff |
Catanzaro |
59861 |
1 |
#ffffff |
Frosinone |
59866 |
1 |
#ffffff |
Genova |
59857 |
1 |
#ffffff |
Gorizia |
59832 |
1 |
#ffffff |
Matera |
59932 |
1 |
#ffffff |
Perugia |
59883 |
2 |
#ffffff |
Ascoli Piceno |
59891 |
2 |
#ffffff |
Asti |
59899 |
2 |
#ffffff |
BARI |
59742 |
2 |
#ffffff |
Basilicata |
59843 |
2 |
#ffffff |
Benevento |
59871 |
2 |
#ffffff |
Brescia |
59912 |
2 |
#ffffff |
Caltanissetta |
59907 |
2 |
#ffffff |
Carbonia |
59848 |
2 |
#ffffff |
Cesena |
59835 |
2 |
#ffffff |
Cosenza |
59923 |
2 |
#ffffff |
Firenze |
59867 |
2 |
#ffffff |
Imperia |
59889 |
2 |
#ffffff |
Isernia |
59862 |
2 |
#ffffff |
Latina |
59936 |
2 |
#ffffff |
Padova |
59858 |
2 |
#ffffff |
Pordenone |
59833 |
2 |
#ffffff |
Potenza |
59933 |
2 |
#ffffff |
Terni |
59921 |
2 |
#ffffff |
Trento |
59900 |
3 |
#ffffff |
Barletta |
59892 |
3 |
#ffffff |
Biella |
59743 |
3 |
#ffffff |
Calabria |
59844 |
3 |
#ffffff |
Caserta |
59913 |
3 |
#ffffff |
Catania |
59872 |
3 |
#ffffff |
Como |
59836 |
3 |
#ffffff |
Crotone |
59884 |
3 |
#ffffff |
Fermo |
59849 |
3 |
#ffffff |
Ferrara |
59924 |
3 |
#ffffff |
Grosseto |
59868 |
3 |
#ffffff |
La Spezia |
59908 |
3 |
#ffffff |
Nuoro |
59863 |
3 |
#ffffff |
Rieti |
59937 |
3 |
#ffffff |
Rovigo |
59859 |
3 |
#ffffff |
Trieste |
59901 |
4 |
#ffffff |
Brindisi |
59744 |
4 |
#ffffff |
Campania |
59873 |
4 |
#ffffff |
Cremona |
59893 |
4 |
#ffffff |
Cuneo |
59914 |
4 |
#ffffff |
Enna |
59850 |
4 |
#ffffff |
Forlì |
59925 |
4 |
#ffffff |
Livorno |
59885 |
4 |
#ffffff |
Macerata |
59845 |
4 |
#ffffff |
Napoli |
59909 |
4 |
#ffffff |
Oristano |
59837 |
4 |
#ffffff |
Reggio Calabria |
59864 |
4 |
#ffffff |
ROMA |
59869 |
4 |
#ffffff |
Savona |
59938 |
4 |
#ffffff |
Treviso |
59860 |
4 |
#ffffff |
Udine |
59745 |
5 |
#ffffff |
Emilia-Romagna |
59902 |
5 |
#ffffff |
Foggia |
59874 |
5 |
#ffffff |
Lecco |
59926 |
5 |
#ffffff |
Lucca |
59915 |
5 |
#ffffff |
Messina |
59851 |
5 |
#ffffff |
Modena |
59894 |
5 |
#ffffff |
Novara |
59886 |
5 |
#ffffff |
Pesaro |
59846 |
5 |
#ffffff |
Salerno |
59910 |
5 |
#ffffff |
Sassari |
59838 |
5 |
#ffffff |
Vibo Valentia |
59865 |
5 |
#ffffff |
Viterbo |
59746 |
6 |
#ffffff |
Friuli Venezia Giulia |
59903 |
6 |
#ffffff |
Lecce |
59875 |
6 |
#ffffff |
Lodi |
59927 |
6 |
#ffffff |
Massa |
59916 |
6 |
#ffffff |
Palermo |
59852 |
6 |
#ffffff |
Parma |
59895 |
6 |
#ffffff |
Torino |
59887 |
6 |
#ffffff |
Urbino |
59939 |
6 |
#ffffff |
Venezia |
59747 |
7 |
#ffffff |
Lazio |
59876 |
7 |
#ffffff |
Mantova |
59853 |
7 |
#ffffff |
Piacenza |
59928 |
7 |
#ffffff |
Pisa |
59917 |
7 |
#ffffff |
Ragusa |
59904 |
7 |
#ffffff |
Taranto |
59896 |
7 |
#ffffff |
Verbania |
59940 |
7 |
#ffffff |
Verona |
59748 |
8 |
#ffffff |
Liguria |
59877 |
8 |
#ffffff |
MILANO |
59929 |
8 |
#ffffff |
Pistoia |
59854 |
8 |
#ffffff |
Ravenna |
59918 |
8 |
#ffffff |
Siracusa |
59905 |
8 |
#ffffff |
Trani |
59897 |
8 |
#ffffff |
Vercelli |
59941 |
8 |
#ffffff |
Vicenza |
59749 |
9 |
#ffffff |
Lombardia |
59878 |
9 |
#ffffff |
Monza |
59930 |
9 |
#ffffff |
Prato |
59855 |
9 |
#ffffff |
Reggio Emilia |
59919 |
9 |
#ffffff |
Trapani |
59750 |
10 |
#ffffff |
Marche |
59879 |
10 |
#ffffff |
Pavia |
59856 |
10 |
#ffffff |
Rimini |
59931 |
10 |
#ffffff |
Siena |
59751 |
11 |
#ffffff |
Molise |
59880 |
11 |
#ffffff |
Sondrio |
59752 |
12 |
#ffffff |
Piemonte |
59881 |
12 |
#ffffff |
Varese |
59753 |
13 |
#ffffff |
Puglia |
59754 |
14 |
#ffffff |
Sardegna |
59755 |
15 |
#ffffff |
Sicilia |
59756 |
16 |
#ffffff |
Toscana |
59757 |
17 |
#ffffff |
Trentino-Alto Adige |
59758 |
18 |
#ffffff |
Umbria |
59759 |
19 |
#ffffff |
Valle d'Aosta |
59760 |
20 |
#ffffff |
Veneto |
59763 |
21 |
#ffffff |
Roma |
38299 |
420 |
#ffffff |
Car Rental |