Query time 0.00056
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": 19,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (60978,60975,60981,61621)"
}
}
},
"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 |
| 13539 |
60981 |
product |
0 |
23989 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 18084 |
60975 |
product |
0 |
29713 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 18085 |
60975 |
product |
0 |
29714 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 18087 |
60978 |
product |
0 |
29716 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 18088 |
60978 |
product |
0 |
29717 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 18090 |
60981 |
product |
0 |
29719 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 53588 |
60981 |
product |
0 |
65821 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 53589 |
60981 |
product |
0 |
65822 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 61372 |
60981 |
product |
0 |
73605 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 63918 |
61621 |
product |
0 |
76151 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 63921 |
61621 |
product |
0 |
76154 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 26248 |
60975 |
product |
0 |
38411 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 63919 |
61621 |
product |
0 |
76152 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 23152 |
61621 |
product |
0 |
35063 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 23151 |
61621 |
product |
0 |
35062 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 26247 |
60975 |
product |
0 |
38410 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 63920 |
61621 |
product |
0 |
76153 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 63917 |
61621 |
product |
0 |
76150 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 60295 |
61621 |
product |
0 |
72528 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|