Query time 0.00074
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 (65136,65139,65146,65155)"
}
}
},
"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 |
| 55638 |
65136 |
product |
0 |
67871 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55652 |
65139 |
product |
0 |
67885 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55653 |
65139 |
product |
0 |
67886 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55654 |
65139 |
product |
0 |
67887 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55655 |
65139 |
product |
0 |
67888 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55657 |
65139 |
product |
0 |
67890 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55708 |
65146 |
product |
0 |
67941 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55709 |
65146 |
product |
0 |
67942 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55710 |
65146 |
product |
0 |
67943 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55774 |
65155 |
product |
0 |
68007 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55776 |
65155 |
product |
0 |
68009 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55777 |
65155 |
product |
0 |
68010 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 55779 |
65155 |
product |
0 |
68012 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 60284 |
65146 |
product |
0 |
72517 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 66039 |
65146 |
product |
0 |
78272 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 66041 |
65146 |
product |
0 |
78274 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 66493 |
65146 |
product |
0 |
78726 |
A |
0 |
C |
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 |
|
|
|
|
|