Query time 0.00037
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.036754286,
"nested_loop": [
{
"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"],
"loops": 1,
"rows": 5,
"cost": 0.01726472,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (221,222,223,238,239)"
}
}
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["u428615623_ecartifygonje.cscart_images_links.detailed_id"],
"loops": 5,
"rows": 1,
"cost": 0.007749,
"filtered": 100
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "108",
"used_key_parts": ["object_id", "lang_code", "object_holder"],
"ref": [
"u428615623_ecartifygonje.cscart_images.image_id",
"const",
"const"
],
"loops": 5,
"rows": 1,
"cost": 0.0085682,
"filtered": 100,
"attached_condition": "trigcond(cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
}
}
]
}
}
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 |
Jollof_Beef_-_to_use.png |
479 |
383 |
N |
626 |
222 |
product |
9120 |
M |
0 |
|
9120 |
| 0 |
Jollof_Chicken_-_to_use.png |
463 |
467 |
N |
628 |
223 |
product |
9122 |
M |
0 |
|
9122 |
| 0 |
J_F_-_Edited.png |
650 |
434 |
N |
630 |
238 |
product |
9124 |
M |
0 |
|
9124 |
| 0 |
J_T_-_Edited.png |
641 |
443 |
N |
632 |
239 |
product |
9126 |
M |
0 |
|
9126 |
| 0 |
Jollof_Rice_-_to_use_-_Edited.jpg |
3024 |
2463 |
N |
625 |
221 |
product |
9119 |
M |
1 |
|
9119 |