Query time 0.00074
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "45.03"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "ref",
"possible_keys": [
"object_id",
"idx_object_type_type_position"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"ref": [
"const",
"const",
"const"
],
"rows_examined_per_scan": 16,
"rows_produced_per_join": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "13.49",
"eval_cost": "1.60",
"prefix_cost": "15.09",
"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": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "13.72",
"eval_cost": "1.60",
"prefix_cost": "30.42",
"data_read_per_join": "12K"
},
"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": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "13.02",
"eval_cost": "1.60",
"prefix_cost": "45.03",
"data_read_per_join": "9K"
},
"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 |
uc_wbbg-d8.jpg |
2250 |
2250 |
N |
202967 |
19109 |
product |
204251 |
A |
10 |
|
204251 |
| 0 |
Retinol_Amazon-02.jpg |
1080 |
1080 |
N |
74243 |
19109 |
product |
75595 |
A |
12 |
|
75595 |
| 0 |
Retinol_Amazon-04.jpg |
1080 |
1080 |
N |
74244 |
19109 |
product |
75596 |
A |
13 |
|
75596 |
| 0 |
Retinol_Amazon-05.jpg |
1080 |
1080 |
N |
74245 |
19109 |
product |
75597 |
A |
14 |
|
75597 |
| 0 |
Retinol_Amazon-06.jpg |
1080 |
1080 |
N |
74246 |
19109 |
product |
75598 |
A |
15 |
|
75598 |
| 0 |
Retinol_Amazon-07.jpg |
1080 |
1080 |
N |
74247 |
19109 |
product |
75599 |
A |
16 |
|
75599 |
| 0 |
Retinol_Amazon-08.jpg |
1080 |
1080 |
N |
74248 |
19109 |
product |
75600 |
A |
17 |
|
75600 |
| 0 |
Retinol_Amazon-09.jpg |
1080 |
1080 |
N |
74249 |
19109 |
product |
75601 |
A |
18 |
|
75601 |
| 0 |
Retinol_Amazon-10.jpg |
1080 |
1080 |
N |
74250 |
19109 |
product |
75602 |
A |
19 |
|
75602 |
| 0 |
Retinol_Amazon-11.jpg |
1920 |
1080 |
N |
74251 |
19109 |
product |
75603 |
A |
20 |
|
75603 |
| 0 |
uc_y967-4z.jpg |
2250 |
2250 |
N |
202968 |
19109 |
product |
204252 |
A |
20 |
|
204252 |
| 0 |
uc_fm9b-hx.jpg |
2250 |
2250 |
N |
202969 |
19109 |
product |
204253 |
A |
30 |
|
204253 |
| 0 |
uc_xk7r-d2.jpg |
2250 |
2250 |
N |
202970 |
19109 |
product |
204254 |
A |
40 |
|
204254 |
| 0 |
uc_appx-nu.jpg |
2250 |
2250 |
N |
202971 |
19109 |
product |
204255 |
A |
50 |
|
204255 |
| 0 |
uc_e0ty-kn.jpg |
2250 |
2250 |
N |
202972 |
19109 |
product |
204256 |
A |
60 |
|
204256 |
| 0 |
uc_2k48-1p.jpg |
2250 |
2250 |
N |
202973 |
19109 |
product |
204257 |
A |
70 |
|
204257 |