Query time 0.00086
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": 20,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64191,64194,65136,65161)"
}
}
},
"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 |
| 29059 |
64191 |
product |
0 |
41279 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29098 |
64194 |
product |
0 |
41318 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29099 |
64194 |
product |
0 |
41319 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29100 |
64194 |
product |
0 |
41320 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29101 |
64194 |
product |
0 |
41321 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29102 |
64194 |
product |
0 |
41322 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 29103 |
64194 |
product |
0 |
41323 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 53627 |
64194 |
product |
0 |
65860 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 53629 |
64194 |
product |
0 |
65862 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 55638 |
65136 |
product |
0 |
67871 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55934 |
65161 |
product |
0 |
68167 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 69115 |
65136 |
product |
0 |
81348 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 69116 |
65136 |
product |
0 |
81349 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 69117 |
65136 |
product |
0 |
81350 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 29060 |
64191 |
product |
0 |
41280 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 29061 |
64191 |
product |
0 |
41281 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 29062 |
64191 |
product |
0 |
41282 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 29063 |
64191 |
product |
0 |
41283 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 62346 |
64191 |
product |
0 |
74579 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|
| 62347 |
64191 |
product |
0 |
74580 |
A |
8 |
C |
0 |
0 |
|
|
|
|
|