Query time 0.00072
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": 27,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65109,65106,65105,65108,65107)"
}
}
},
"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 |
| 54600 |
65105 |
product |
0 |
66833 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 54697 |
65106 |
product |
0 |
66930 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 54817 |
65107 |
product |
0 |
67050 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 54824 |
65108 |
product |
0 |
67057 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 54825 |
65108 |
product |
0 |
67058 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 54827 |
65108 |
product |
0 |
67060 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 54830 |
65108 |
product |
0 |
67063 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 54831 |
65108 |
product |
0 |
67064 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 54832 |
65108 |
product |
0 |
67065 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 54835 |
65108 |
product |
0 |
67068 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55136 |
65109 |
product |
0 |
67369 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 54599 |
65105 |
product |
0 |
66832 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 54703 |
65106 |
product |
0 |
66936 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 54822 |
65107 |
product |
0 |
67055 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 55138 |
65109 |
product |
0 |
67371 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 54597 |
65105 |
product |
0 |
66830 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 54701 |
65106 |
product |
0 |
66934 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 55134 |
65109 |
product |
0 |
67367 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 67196 |
65107 |
product |
0 |
79429 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 54601 |
65105 |
product |
0 |
66834 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 54698 |
65106 |
product |
0 |
66931 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 55140 |
65109 |
product |
0 |
67373 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 67197 |
65107 |
product |
0 |
79430 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 54700 |
65106 |
product |
0 |
66933 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 67195 |
65107 |
product |
0 |
79428 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 54702 |
65106 |
product |
0 |
66935 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 54829 |
65108 |
product |
0 |
67062 |
A |
9 |
C |
0 |
0 |
|
|
|
|
|