Query time 0.00122
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "24.01"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "10.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 10,
"rows_produced_per_join": 10,
"filtered": "100.00",
"index_condition": "((`test_uchur_k`.`cscart_images_links`.`object_type` = 'product') and (`test_uchur_k`.`cscart_images_links`.`type` = 'M') and (`test_uchur_k`.`cscart_images_links`.`object_id` in (126,115,11,81,56,82,116,51295,117,63)))",
"cost_info": {
"read_cost": "6.01",
"eval_cost": "1.00",
"prefix_cost": "7.01",
"data_read_per_join": "960"
},
"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": [
"test_uchur_k.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.50",
"eval_cost": "1.00",
"prefix_cost": "10.51",
"data_read_per_join": "7K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res",
"transparent"
]
}
},
{
"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": "108",
"ref": [
"test_uchur_k.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.50",
"eval_cost": "1.00",
"prefix_cost": "14.01",
"data_read_per_join": "5K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
]
}
}
]
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
transparent |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
shapka_bulchut_dvuhstoronnyaya_tk_polar_fleece_cv_haki_oranzhevyy_995_shapkabulchutdvuhstoronnyayatkpolarfleececvhakioranzhevyy.png |
1000 |
1400 |
N |
N |
995 |
63 |
product |
9593 |
M |
0 |
|
9593 |
| 0 |
shapka_uchur_beanie_cv_black_1005_shapkauchurbeaniecvblack.png |
1000 |
1400 |
N |
N |
1005 |
11 |
product |
9603 |
M |
0 |
|
9603 |
| 0 |
shapka_uchur_hunter_cv_saas_1012_shapkauchurhuntercvsaas.png |
1000 |
1400 |
N |
N |
1012 |
82 |
product |
9610 |
M |
0 |
|
9610 |
| 0 |
shapka_uchur_hunter_cv_taas_1019_shapkauchurhuntercvtaas.png |
1000 |
1400 |
N |
N |
1019 |
81 |
product |
9617 |
M |
0 |
|
9617 |
| 0 |
shapka_uchur_icon_wool_cv_bezhevyy_1027_shapkauchuriconwoolcvbezhevyy.png |
1000 |
1400 |
N |
N |
1027 |
115 |
product |
9625 |
M |
0 |
|
9625 |
| 0 |
shapka_uchur_icon_wool_cv_seryy_1032_shapkauchuriconwoolcvseryy.png |
1000 |
1400 |
N |
N |
1032 |
116 |
product |
9630 |
M |
0 |
|
9630 |
| 0 |
shapka_uchur_icon_wool_cv_chernyy_1037_shapkauchuriconwoolcvchernyy.png |
1000 |
1400 |
N |
N |
1037 |
117 |
product |
9635 |
M |
0 |
|
9635 |
| 0 |
shapka_uchur_ski_cv_chernyy_1041_shapkauchurskicvchernyy.png |
1000 |
1400 |
N |
N |
1041 |
126 |
product |
9639 |
M |
0 |
|
9639 |
| 0 |
shapka_uchur_traveler_cv_black_1048_shapkauchurtravelercvblack.png |
1000 |
1400 |
N |
N |
1048 |
56 |
product |
9646 |
M |
0 |
|
9646 |
| 0 |
shapka_uchur_icon_wool_cv_chernyy_1037_shapkauchuriconwoolcvchernyy.png |
1000 |
1400 |
N |
N |
7770 |
51295 |
product |
9635 |
M |
0 |
|
9635 |