Query time 0.00073
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "49.85"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "13.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id",
"idx_object_type_type_position"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 13,
"rows_produced_per_join": 13,
"filtered": "100.00",
"index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'A') and (`cscart_db`.`cscart_images_links`.`object_id` in (8010,7998,8022,8026,7991,7987,7995,7996)))",
"cost_info": {
"read_cost": "14.94",
"eval_cost": "1.30",
"prefix_cost": "16.24",
"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": [
"cscart_db.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 13,
"filtered": "100.00",
"cost_info": {
"read_cost": "9.73",
"eval_cost": "1.30",
"prefix_cost": "27.27",
"data_read_per_join": "9K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
]
}
},
{
"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": [
"cscart_db.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 13,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.27",
"eval_cost": "1.30",
"prefix_cost": "36.85",
"data_read_per_join": "7K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`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 |
Sunkissed_Mineral_sunscreen_PA____2_.jpg |
5760 |
3840 |
N |
40703 |
8010 |
product |
42055 |
A |
4 |
|
42055 |
| 0 |
HO2A1385_copy.jpg |
5760 |
3840 |
N |
40736 |
8022 |
product |
42088 |
A |
4 |
|
42088 |
| 0 |
Fortifying_Hair_Serum__2_.jpg |
5254 |
3435 |
N |
40783 |
7995 |
product |
42135 |
A |
4 |
|
42135 |
| 0 |
HO2A137vv0.jpg |
5124 |
3416 |
N |
40745 |
8026 |
product |
42097 |
A |
5 |
|
42097 |
| 0 |
HO2A1396_copy.jpg |
5760 |
3840 |
N |
40762 |
7987 |
product |
42114 |
A |
5 |
|
42114 |
| 0 |
Good_Hair_Day_Conditioner__2_.jpg |
5760 |
3840 |
N |
40774 |
7991 |
product |
42126 |
A |
5 |
|
42126 |
| 0 |
HO2A1459_copy.jpg |
5760 |
3840 |
N |
40746 |
8026 |
product |
42098 |
A |
6 |
|
42098 |
| 0 |
HO2A1396_ffcopy.jpg |
5760 |
3840 |
N |
40763 |
7987 |
product |
42115 |
A |
6 |
|
42115 |
| 0 |
HO2A1874.jpg |
4931 |
3288 |
N |
40737 |
8022 |
product |
42089 |
A |
7 |
|
42089 |
| 0 |
HO2A2031.jpg |
5760 |
3840 |
N |
40747 |
8026 |
product |
42099 |
A |
7 |
|
42099 |
| 0 |
Mastercard_shoot_Equipment_list___een6-95.jpg |
5211 |
3474 |
N |
40764 |
7987 |
product |
42116 |
A |
7 |
|
42116 |