Query time 0.00086
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "94.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "20.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": 20,
"rows_produced_per_join": 20,
"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 (69679,69673,69680,69681,69682,69683,69684,69690,69696,69695,69694,69691,69692,69685,69686,69697,69701,69700,69698,69699)))",
"cost_info": {
"read_cost": "35.85",
"eval_cost": "2.00",
"prefix_cost": "37.85",
"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": 20,
"filtered": "100.00",
"cost_info": {
"read_cost": "16.96",
"eval_cost": "2.00",
"prefix_cost": "56.81",
"data_read_per_join": "15K"
},
"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": 20,
"filtered": "100.00",
"cost_info": {
"read_cost": "16.00",
"eval_cost": "2.00",
"prefix_cost": "74.81",
"data_read_per_join": "11K"
},
"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 |
GLFN070_1.png |
1500 |
1500 |
N |
211367 |
69673 |
product |
212642 |
M |
0 |
|
212642 |
| 0 |
GLFN0200_newvari_1_1.png |
1500 |
1500 |
N |
211403 |
69679 |
product |
212678 |
M |
0 |
|
212678 |
| 0 |
GLFN0200_newvari_2_1.jpg |
1000 |
1000 |
N |
211409 |
69680 |
product |
212684 |
M |
0 |
|
212684 |
| 0 |
GLFN0200_newvari_3_1.jpg |
1000 |
1000 |
N |
211415 |
69681 |
product |
212690 |
M |
0 |
|
212690 |
| 0 |
GLFN0200_newvari_4_1.jpg |
1000 |
1000 |
N |
211421 |
69682 |
product |
212696 |
M |
0 |
|
212696 |
| 0 |
GLFN0200_newvari_5_1.jpg |
1000 |
1000 |
N |
211427 |
69683 |
product |
212702 |
M |
0 |
|
212702 |
| 0 |
GLFN0200_newvari_6_1.jpg |
1000 |
1000 |
N |
211433 |
69684 |
product |
212708 |
M |
0 |
|
212708 |
| 0 |
GLUTA_SK_LIG_75gm_2_1.jpg |
1000 |
1000 |
N |
211439 |
69685 |
product |
212714 |
M |
0 |
|
212714 |
| 0 |
GLUTA_SK_LIG_75_newvari_3_1.jpg |
1000 |
1000 |
N |
211445 |
69686 |
product |
212720 |
M |
0 |
|
212720 |
| 0 |
ACMF070_1.png |
1500 |
1500 |
N |
211469 |
69690 |
product |
212744 |
M |
0 |
|
212744 |
| 0 |
ACMF070_2_1.jpg |
1000 |
1000 |
N |
211475 |
69691 |
product |
212750 |
M |
0 |
|
212750 |
| 0 |
ACMF070_3_1.jpg |
1000 |
1000 |
N |
211481 |
69692 |
product |
212756 |
M |
0 |
|
212756 |
| 0 |
ACMF070_5_1.jpg |
1000 |
1000 |
N |
211493 |
69694 |
product |
212768 |
M |
0 |
|
212768 |
| 0 |
ACMF070_6_1.jpg |
1000 |
1000 |
N |
211499 |
69695 |
product |
212774 |
M |
0 |
|
212774 |
| 0 |
ACMF0200_newvari_1_1.png |
1500 |
1500 |
N |
211505 |
69696 |
product |
212780 |
M |
0 |
|
212780 |
| 0 |
ACMF0200_newvari_2_1.jpg |
1000 |
1000 |
N |
211511 |
69697 |
product |
212786 |
M |
0 |
|
212786 |
| 0 |
ACMF0200_newvari_3_1.jpg |
1000 |
1000 |
N |
211517 |
69698 |
product |
212792 |
M |
0 |
|
212792 |
| 0 |
ACMF0200_newvari_4_1.jpg |
1000 |
1000 |
N |
211523 |
69699 |
product |
212798 |
M |
0 |
|
212798 |
| 0 |
ACMF0200_newvari_5_1.jpg |
1000 |
1000 |
N |
211529 |
69700 |
product |
212804 |
M |
0 |
|
212804 |
| 0 |
ACMF0200_newvari_6_1.jpg |
1000 |
1000 |
N |
211535 |
69701 |
product |
212810 |
M |
0 |
|
212810 |