Query time 0.00076
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "26.16"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "11.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": 11,
"rows_produced_per_join": 11,
"filtered": "100.00",
"index_condition": "((`test_uchur_k`.`cscart_images_links`.`object_type` = 'blog') and (`test_uchur_k`.`cscart_images_links`.`type` = 'M') and (`test_uchur_k`.`cscart_images_links`.`object_id` in (53,54,55,56,57,58,59,60,61,62)))",
"cost_info": {
"read_cost": "6.36",
"eval_cost": "1.10",
"prefix_cost": "7.46",
"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": [
"test_uchur_k.cscart_images_links.image_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.75",
"eval_cost": "1.10",
"prefix_cost": "11.31",
"data_read_per_join": "8K"
},
"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": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.75",
"eval_cost": "1.10",
"prefix_cost": "15.16",
"data_read_per_join": "6K"
},
"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 |
| 9782 |
0_qg87-v8.webp |
1920 |
1280 |
N |
N |
1184 |
53 |
blog |
0 |
M |
0 |
|
9782 |
| 9783 |
0_etpu-8h.webp |
1918 |
1280 |
N |
N |
1185 |
54 |
blog |
0 |
M |
0 |
|
9783 |
| 9784 |
0_7npl-0f.webp |
1920 |
1280 |
N |
N |
1186 |
55 |
blog |
0 |
M |
0 |
|
9784 |
| 9785 |
0_moi0-3z.webp |
1942 |
1295 |
N |
N |
1187 |
56 |
blog |
0 |
M |
0 |
|
9785 |
| 9786 |
0_dnhj-da.webp |
1920 |
1280 |
N |
N |
1188 |
57 |
blog |
0 |
M |
0 |
|
9786 |
| 9787 |
0_pjoy-2e.webp |
1024 |
681 |
N |
N |
1189 |
58 |
blog |
0 |
M |
0 |
|
9787 |
| 9788 |
0_10kt-nq.jpg |
1024 |
681 |
N |
N |
1190 |
59 |
blog |
0 |
M |
0 |
|
9788 |
| 9789 |
0_89py-te.webp |
1024 |
683 |
N |
N |
1191 |
60 |
blog |
0 |
M |
0 |
|
9789 |
| 9790 |
0_n4h1-5k.jpg |
1020 |
460 |
N |
N |
1192 |
61 |
blog |
0 |
M |
0 |
|
9790 |
| 9791 |
0_94el-ez.jpg |
510 |
283 |
N |
N |
1193 |
62 |
blog |
0 |
M |
0 |
|
9791 |