Query time 0.00118
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "78.37"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "24.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": 24,
"rows_produced_per_join": 24,
"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 (65891,65892,65893,65894,65903,65904,65905,65906,65907,65908,65994,65996,65998,65999,66000,66002,66057,66058,68990,68991,68992,68993,68994,68995)))",
"cost_info": {
"read_cost": "24.99",
"eval_cost": "2.40",
"prefix_cost": "27.39",
"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": 24,
"filtered": "100.00",
"cost_info": {
"read_cost": "12.22",
"eval_cost": "2.40",
"prefix_cost": "42.01",
"data_read_per_join": "18K"
},
"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": 24,
"filtered": "100.00",
"cost_info": {
"read_cost": "9.97",
"eval_cost": "2.40",
"prefix_cost": "54.38",
"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 |
6941845855049_1.jpg |
1080 |
1440 |
N |
179364 |
65994 |
product |
180710 |
M |
0 |
|
180710 |
| 0 |
6941845855018_1.jpg |
1080 |
1440 |
N |
179382 |
65996 |
product |
180728 |
M |
0 |
|
180728 |
| 0 |
6974908112674_1.jpg |
1080 |
1080 |
N |
179401 |
65998 |
product |
180747 |
M |
0 |
|
180747 |
| 0 |
1_zkax-qe.jpg |
1080 |
1080 |
N |
179411 |
65999 |
product |
180757 |
M |
0 |
|
180757 |
| 0 |
6974908112711_1.jpg |
1080 |
1080 |
N |
179421 |
66000 |
product |
180767 |
M |
0 |
|
180767 |
| 0 |
6974908112698_1.jpg |
1080 |
1080 |
N |
179441 |
66002 |
product |
180787 |
M |
0 |
|
180787 |
| 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 |
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 |
6941845823932_1.jpg |
1080 |
1080 |
N |
179716 |
65908 |
product |
181062 |
M |
0 |
|
181062 |
| 0 |
5057566823616_1.jpg |
1080 |
1080 |
N |
180928 |
66057 |
product |
182274 |
M |
0 |
|
182274 |
| 0 |
1_pe9j-dp.jpg |
1080 |
1440 |
N |
180937 |
66058 |
product |
182283 |
M |
0 |
|
182283 |
| 0 |
01_PURE_VANILLA.jpg |
1000 |
1000 |
N |
213815 |
68990 |
product |
215090 |
M |
0 |
|
215090 |
| 0 |
PURE_CORAL.jpg |
1000 |
1000 |
N |
213816 |
68993 |
product |
215091 |
M |
0 |
|
215091 |
| 0 |
PURE_CHERRY.jpg |
500 |
500 |
N |
213817 |
68994 |
product |
215092 |
M |
0 |
|
215092 |
| 0 |
PURE_ROSE.jpg |
750 |
750 |
N |
213818 |
68995 |
product |
215093 |
M |
0 |
|
215093 |
| 0 |
PURE_PINK.jpg |
1200 |
1200 |
N |
213821 |
68992 |
product |
215096 |
M |
0 |
|
215096 |
| 0 |
PURE_RED.png |
225 |
225 |
N |
213822 |
68991 |
product |
215097 |
M |
0 |
|
215097 |