Query time 0.00051
JSON explain
{
"query_block": {
"select_id": 1,
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_images_links.position, cscart_images_links.pair_id",
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": ["object_id"],
"key": "object_id",
"key_length": "81",
"used_key_parts": ["object_id", "object_type", "type"],
"rows": 18,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'category' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in ('2358','2292','268','270','269','2313','271','272','273','2293','209','211','210','212','3469','3470','3471','3472')"
}
}
},
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["rfswire_cart.cscart_images_links.detailed_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_images_links.detailed_id = cscart_images.image_id)"
},
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "107",
"used_key_parts": ["object_id", "lang_code", "object_holder"],
"ref": ["rfswire_cart.cscart_images.image_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_common_descriptions.object_id = cscart_images.image_id and cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
}
}
}
Result
| pair_id |
object_id |
object_type |
image_id |
detailed_id |
type |
position |
image_path |
alt |
image_x |
image_y |
images_image_id |
| 9597 |
3469 |
category |
0 |
16656 |
M |
0 |
HX380_USA_Front_6dz9-5n.jpg |
|
1068 |
4079 |
16656 |
| 9598 |
3470 |
category |
0 |
16657 |
M |
0 |
HX400_thumb_7zbd-z4.jpg |
|
107 |
320 |
16657 |
| 9599 |
3471 |
category |
0 |
16658 |
M |
0 |
HX407_Left_viq2-y3.jpg |
|
1218 |
4370 |
16658 |
| 9600 |
3472 |
category |
0 |
16659 |
M |
0 |
HX400_thumb_drhz-wr.jpg |
|
107 |
320 |
16659 |