Query time 0.00106
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "80.72"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "25.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": 25,
"rows_produced_per_join": 25,
"filtered": "100.00",
"index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'M') and (`cscart_db`.`cscart_images_links`.`object_id` in (38872,38873,64701,65108,65109,65497,65827,65870,65878,65880,65885,65887,65890,65891,65892,65893,65894,65896,65902,65903,65904,65905,65906,65907)))",
"cost_info": {
"read_cost": "25.36",
"eval_cost": "2.50",
"prefix_cost": "27.86",
"data_read_per_join": "2K"
},
"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": 25,
"filtered": "100.00",
"cost_info": {
"read_cost": "12.57",
"eval_cost": "2.50",
"prefix_cost": "42.93",
"data_read_per_join": "19K"
},
"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": 25,
"filtered": "100.00",
"cost_info": {
"read_cost": "10.29",
"eval_cost": "2.50",
"prefix_cost": "55.72",
"data_read_per_join": "14K"
},
"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 |
18923038_a.jpg |
5000 |
5000 |
N |
169708 |
38872 |
product |
171057 |
M |
0 |
|
171057 |
| 0 |
18923039_a.jpg |
5000 |
5000 |
N |
169713 |
38873 |
product |
171062 |
M |
0 |
|
171062 |
| 0 |
lifeline.jpg |
450 |
450 |
N |
173763 |
64701 |
product |
175109 |
M |
0 |
|
175109 |
| 0 |
61kN2a8R86L._SY450_.jpg |
450 |
450 |
N |
175113 |
65108 |
product |
176459 |
M |
0 |
|
176459 |
| 0 |
616cqRqbp6L._SY450_.jpg |
450 |
450 |
N |
175117 |
65109 |
product |
176463 |
M |
0 |
|
176463 |
| 0 |
71vGYvkfgOL._SY450_.jpg |
450 |
450 |
N |
177298 |
65497 |
product |
178644 |
M |
0 |
|
178644 |
| 0 |
810149047572_1.webp |
1080 |
1080 |
N |
179290 |
65870 |
product |
180636 |
M |
0 |
|
180636 |
| 0 |
5060522584940_1.webp |
1080 |
1080 |
N |
179352 |
65890 |
product |
180698 |
M |
0 |
|
180698 |
| 0 |
6941845822249_1.jpg |
1080 |
1080 |
N |
179563 |
65891 |
product |
180909 |
M |
0 |
|
180909 |
| 0 |
6941845827169_1.jpg |
1080 |
1080 |
N |
179572 |
65892 |
product |
180918 |
M |
0 |
|
180918 |
| 0 |
6941845827138_1.jpg |
1080 |
1080 |
N |
179581 |
65893 |
product |
180927 |
M |
0 |
|
180927 |
| 0 |
6941845822256_1.jpg |
1080 |
1080 |
N |
179590 |
65894 |
product |
180936 |
M |
0 |
|
180936 |
| 0 |
6941845827534_1.jpg |
1080 |
1080 |
N |
179608 |
65896 |
product |
180954 |
M |
0 |
|
180954 |
| 0 |
FOCAL00000131_1.jpg |
1080 |
1080 |
N |
179662 |
65902 |
product |
181008 |
M |
0 |
|
181008 |
| 0 |
6941845823864_1.jpg |
1080 |
1080 |
N |
179671 |
65903 |
product |
181017 |
M |
0 |
|
181017 |
| 0 |
6941845823857_1.jpg |
1080 |
1080 |
N |
179680 |
65904 |
product |
181026 |
M |
0 |
|
181026 |
| 0 |
6941845823918_1.jpg |
1080 |
1080 |
N |
179689 |
65905 |
product |
181035 |
M |
0 |
|
181035 |
| 0 |
6941845823949_1.jpg |
1080 |
1080 |
N |
179698 |
65906 |
product |
181044 |
M |
0 |
|
181044 |
| 0 |
6941845823925_1.jpg |
1080 |
1080 |
N |
179707 |
65907 |
product |
181053 |
M |
0 |
|
181053 |
| 0 |
810134214934_10.jpg |
1080 |
1080 |
N |
184306 |
65878 |
product |
185652 |
M |
0 |
|
185652 |
| 0 |
810134214934_10_dzqs-i4.jpg |
1080 |
1080 |
N |
184328 |
65878 |
product |
185674 |
M |
0 |
|
185674 |
| 0 |
810134211988_10.jpg |
1080 |
1080 |
N |
184436 |
65880 |
product |
185782 |
M |
0 |
|
185782 |
| 0 |
810149040788_8.jpg |
1080 |
1080 |
N |
189406 |
65887 |
product |
190744 |
M |
0 |
|
190744 |
| 0 |
810149040801_8.jpg |
1080 |
1080 |
N |
189415 |
65885 |
product |
190753 |
M |
0 |
|
190753 |
| 0 |
58_fg70-5v.jpg |
1080 |
1440 |
N |
195764 |
65827 |
product |
197102 |
M |
1 |
|
197102 |