Query time 0.00104
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "78.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "14.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 14,
"rows_produced_per_join": 14,
"filtered": "100.00",
"index_condition": "((`eshopuga_upgr_4122`.`cscart_images_links`.`object_type` = 'product') and (`eshopuga_upgr_4122`.`cscart_images_links`.`type` = 'M') and (`eshopuga_upgr_4122`.`cscart_images_links`.`object_id` in (645,655,675,676,846,1056,1068,1131,1590,1715,1822)))",
"cost_info": {
"read_cost": "27.81",
"eval_cost": "2.80",
"prefix_cost": "30.61",
"data_read_per_join": "1K"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"eshopuga_upgr_4122.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.00",
"eval_cost": "2.80",
"prefix_cost": "47.41",
"data_read_per_join": "10K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
],
"attached_condition": "<if>(is_not_null_compl(cscart_images), (`eshopuga_upgr_4122`.`cscart_images_links`.`detailed_id` = `eshopuga_upgr_4122`.`cscart_images`.`image_id`), true)"
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "107",
"ref": [
"eshopuga_upgr_4122.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.00",
"eval_cost": "2.80",
"prefix_cost": "64.21",
"data_read_per_join": "8K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`eshopuga_upgr_4122`.`cscart_common_descriptions`.`object_id` = `eshopuga_upgr_4122`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
Result
image_id |
image_path |
image_x |
image_y |
is_high_res |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
0 |
Mukwano_Laundry_Bar_Soap_1KG.jpg |
211 |
150 |
N |
1968 |
645 |
product |
2086 |
M |
0 |
|
2086 |
0 |
Colgate_Herbal_12_pcs_75g.JPG |
300 |
289 |
N |
1978 |
655 |
product |
2096 |
M |
0 |
|
2096 |
0 |
Brookside_milk_1_litre.jpg |
500 |
500 |
N |
1998 |
675 |
product |
2116 |
M |
0 |
|
2116 |
0 |
Brookside_milk_250_Ml.jpg |
550 |
650 |
N |
1999 |
676 |
product |
2117 |
M |
0 |
|
2117 |
0 |
Basmati_Rice_1_kg.jpg |
480 |
501 |
N |
2183 |
846 |
product |
2301 |
M |
0 |
|
2301 |
0 |
RYCO_Mchuzi_Mix_Beef_Flavour_4_x_500g_Pack.jpg |
850 |
850 |
N |
2410 |
1056 |
product |
2528 |
M |
0 |
RYCO Mchuzi Mix Beef Flavour 4 x 500g Pack |
2528 |
0 |
Ufuta_Cooking_Oil_5Litre.jpg |
850 |
850 |
N |
2422 |
1068 |
product |
2540 |
M |
0 |
Ufuta Cooking Oil 5Litre |
2540 |
0 |
Dettol_Anti_Bacteria_Original_Bath_Soap_Half_Dozen.jpg |
800 |
800 |
N |
2484 |
1131 |
product |
2602 |
M |
0 |
Dettol Anti-Bacteria Original Bath Soap -Half Dozen |
2602 |
0 |
Blue_band_original_margarine_1kg.jpg |
500 |
430 |
N |
2990 |
1590 |
product |
3108 |
M |
0 |
Blue band original margarine 1kg |
3108 |
0 |
_6pcs_Tropical_Heat_Ginger.jpg |
350 |
350 |
N |
3128 |
1715 |
product |
3246 |
M |
0 |
(6pcs) Tropical Heat Ginger |
3246 |
0 |
Palmolive_Aromatherapy_Shower_Gel_Anti_Stress_500ml.jpg |
150 |
392 |
N |
3235 |
1822 |
product |
3353 |
M |
0 |
Palmolive Aromatherapy Shower Gel Anti - Stress 500ml |
3353 |