Query time 0.00116
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 (86,85,84,83,82,81,77,76,75,32)))",
"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 |
| 9730 |
itrina-min.png |
1020 |
680 |
N |
N |
1132 |
32 |
blog |
0 |
M |
0 |
|
9730 |
| 10606 |
1.webp |
1200 |
840 |
N |
N |
5418 |
75 |
blog |
0 |
M |
0 |
|
10606 |
| 10986 |
0-1.webp |
1200 |
840 |
N |
N |
9931 |
76 |
blog |
0 |
M |
0 |
|
10986 |
| 11139 |
6.webp |
802 |
568 |
N |
N |
10084 |
77 |
blog |
0 |
M |
0 |
|
11139 |
| 11245 |
0.webp |
1200 |
675 |
N |
N |
10258 |
81 |
blog |
0 |
M |
0 |
|
11245 |
| 11528 |
0_ypf8-60.webp |
878 |
657 |
N |
N |
10554 |
82 |
blog |
0 |
M |
0 |
|
11528 |
| 11651 |
1.webp |
1200 |
800 |
N |
N |
10685 |
83 |
blog |
0 |
M |
0 |
|
11651 |
| 11706 |
0.png |
1200 |
677 |
N |
N |
10740 |
84 |
blog |
0 |
M |
0 |
|
11706 |
| 11712 |
6_ew2t-56.webp |
1200 |
563 |
N |
N |
10747 |
85 |
blog |
0 |
M |
0 |
|
11712 |
| 11720 |
0_cnv0-ja.webp |
1200 |
660 |
N |
N |
10757 |
86 |
blog |
0 |
M |
0 |
|
11720 |