Query time 0.00080
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": 12,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (64294,64193,61070,62436,61072,62840,64052,64149,62670,63806,64295,64778)"
}
}
},
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["image_id"],
"ref": ["cscart_migrate.cscart_images_links.image_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_images_links.image_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": ["cscart_migrate.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_type |
show_gallery |
gallery_category_id |
image_path |
alt |
image_x |
image_y |
images_image_id |
| 14301 |
61072 |
product |
0 |
25104 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 21765 |
62436 |
product |
0 |
33647 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 22712 |
62670 |
product |
0 |
34610 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 23023 |
62840 |
product |
0 |
34934 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 27417 |
63806 |
product |
0 |
39594 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 28437 |
64052 |
product |
0 |
40630 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 28644 |
64149 |
product |
0 |
40843 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29085 |
64193 |
product |
0 |
41305 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29531 |
64294 |
product |
0 |
41751 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29538 |
64295 |
product |
0 |
41758 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 39571 |
64778 |
product |
0 |
51804 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 39618 |
61070 |
product |
0 |
51851 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|