Query time 0.00143
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "178.49"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "48.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": 48,
"rows_produced_per_join": 48,
"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 (70149,69350,69997,65553,65832,65096,67762,68110,67730,68008,68009,68052,68065,65122,68039,68071,68085,68086,68101,64976,67769,68057,68058,69972,19741,19744,19748,27363,27368,27370,68038,68089,68099,69999,19742,19743,19745,19746,19747,19749,19750,19751,19752,19753,19754,19755,27337,27339)))",
"cost_info": {
"read_cost": "65.68",
"eval_cost": "4.80",
"prefix_cost": "70.48",
"data_read_per_join": "4K"
},
"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.image_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 48,
"filtered": "100.00",
"cost_info": {
"read_cost": "26.97",
"eval_cost": "4.80",
"prefix_cost": "102.24",
"data_read_per_join": "36K"
},
"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": 48,
"filtered": "100.00",
"cost_info": {
"read_cost": "23.45",
"eval_cost": "4.80",
"prefix_cost": "130.49",
"data_read_per_join": "28K"
},
"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 |
|
|
|
|
76447 |
19741 |
product |
77799 |
M |
0 |
|
|
| 0 |
|
|
|
|
76455 |
19742 |
product |
77807 |
M |
0 |
|
|
| 0 |
|
|
|
|
76463 |
19743 |
product |
77815 |
M |
0 |
|
|
| 0 |
|
|
|
|
76471 |
19744 |
product |
77823 |
M |
0 |
|
|
| 0 |
|
|
|
|
76479 |
19745 |
product |
77831 |
M |
0 |
|
|
| 0 |
|
|
|
|
76487 |
19746 |
product |
77839 |
M |
0 |
|
|
| 0 |
|
|
|
|
76488 |
19747 |
product |
77840 |
M |
0 |
|
|
| 0 |
|
|
|
|
76503 |
19748 |
product |
77855 |
M |
0 |
|
|
| 0 |
|
|
|
|
76511 |
19749 |
product |
77863 |
M |
0 |
|
|
| 0 |
|
|
|
|
76519 |
19750 |
product |
77871 |
M |
0 |
|
|
| 0 |
|
|
|
|
76527 |
19751 |
product |
77879 |
M |
0 |
|
|
| 0 |
|
|
|
|
76535 |
19752 |
product |
77887 |
M |
0 |
|
|
| 0 |
|
|
|
|
76543 |
19753 |
product |
77895 |
M |
0 |
|
|
| 0 |
|
|
|
|
76551 |
19754 |
product |
77903 |
M |
0 |
|
|
| 0 |
|
|
|
|
76559 |
19755 |
product |
77911 |
M |
0 |
|
|
| 0 |
|
|
|
|
119645 |
27363 |
product |
120997 |
M |
0 |
|
|
| 0 |
|
|
|
|
119685 |
27368 |
product |
121037 |
M |
0 |
|
|
| 0 |
|
|
|
|
138656 |
27337 |
product |
140008 |
M |
0 |
|
|
| 0 |
|
|
|
|
138671 |
27339 |
product |
140023 |
M |
0 |
|
|
| 0 |
|
|
|
|
138713 |
27370 |
product |
140065 |
M |
0 |
|
|
| 0 |
|
|
|
|
174780 |
64976 |
product |
176126 |
M |
0 |
|
|
| 0 |
|
|
|
|
175052 |
65096 |
product |
176398 |
M |
0 |
|
|
| 0 |
|
|
|
|
175170 |
65122 |
product |
176516 |
M |
0 |
|
|
| 0 |
|
|
|
|
178198 |
65553 |
product |
179544 |
M |
0 |
|
|
| 0 |
|
|
|
|
179070 |
65832 |
product |
180416 |
M |
0 |
|
|
| 0 |
|
|
|
|
190997 |
67730 |
product |
192335 |
M |
0 |
|
|
| 0 |
|
|
|
|
191230 |
67762 |
product |
192568 |
M |
0 |
|
|
| 0 |
|
|
|
|
191279 |
67769 |
product |
192617 |
M |
0 |
|
|
| 0 |
|
|
|
|
192953 |
68008 |
product |
194291 |
M |
0 |
|
|
| 0 |
|
|
|
|
192959 |
68009 |
product |
194297 |
M |
0 |
|
|
| 0 |
|
|
|
|
193357 |
68038 |
product |
194695 |
M |
0 |
|
|
| 0 |
|
|
|
|
193363 |
68039 |
product |
194701 |
M |
0 |
|
|
| 0 |
|
|
|
|
193465 |
68052 |
product |
194803 |
M |
0 |
|
|
| 0 |
|
|
|
|
193505 |
68057 |
product |
194843 |
M |
0 |
|
|
| 0 |
|
|
|
|
193515 |
68058 |
product |
194853 |
M |
0 |
|
|
| 0 |
|
|
|
|
193564 |
68065 |
product |
194902 |
M |
0 |
|
|
| 0 |
|
|
|
|
193614 |
68071 |
product |
194952 |
M |
0 |
|
|
| 0 |
|
|
|
|
193716 |
68085 |
product |
195054 |
M |
0 |
|
|
| 0 |
|
|
|
|
193724 |
68086 |
product |
195062 |
M |
0 |
|
|
| 0 |
|
|
|
|
193749 |
68089 |
product |
195087 |
M |
0 |
|
|
| 0 |
|
|
|
|
193823 |
68099 |
product |
195161 |
M |
0 |
|
|
| 0 |
|
|
|
|
193834 |
68101 |
product |
195172 |
M |
0 |
|
|
| 0 |
|
|
|
|
193902 |
68110 |
product |
195240 |
M |
0 |
|
|
| 0 |
|
|
|
|
205824 |
69350 |
product |
207108 |
M |
0 |
|
|
| 0 |
|
|
|
|
212278 |
69972 |
product |
213553 |
M |
0 |
|
|
| 0 |
|
|
|
|
212582 |
69997 |
product |
213857 |
M |
0 |
|
|
| 0 |
|
|
|
|
212595 |
69999 |
product |
213870 |
M |
0 |
|
|
| 0 |
|
|
|
|
214202 |
70149 |
product |
215477 |
M |
0 |
|
|