Query time 0.00055
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": 4,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (65448,65450,65451,65452)"
}
}
},
"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.detailed_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_images_links.detailed_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 |
| 63566 |
65448 |
product |
0 |
75799 |
M |
0 |
D |
0 |
0 |
dominion-flush-mount-16in-995-raw-copper-100-black-TGG-RIB_xt9g-7y.jpg |
16" Dominion Nautical LED, 995-Natural Raw Copper, TGG-Heavy Duty Cast Guard, 100-Black, RIB-Ribbed Glass, Mounting in 100-Black |
1000 |
1000 |
75799 |
| 64013 |
65451 |
product |
0 |
76246 |
M |
0 |
D |
0 |
0 |
marathon-flush-mount-16in-700-Royal-Blue-975-Galvanized-CGG.jpg |
16" Marathon Nautical LED, 700-Royal Blue, CGG-Standard Cast Guard, 975-Galvanized, RIB-Ribbed Glass, Mounting in 975-Galvanized |
1000 |
1000 |
76246 |
| 64182 |
65452 |
product |
0 |
76415 |
M |
0 |
D |
0 |
0 |
aero-flush-mount-16in-200-white-TGG-100-Black-FST.jpg |
16" Aero Nautical LED, 200-White, TGG-Heavy Duty Cast Guard, 100-Black, FST-Frosted Glass, Mounting in 100-Black |
1000 |
1000 |
76415 |
| 64437 |
65450 |
product |
0 |
76670 |
M |
0 |
D |
0 |
0 |
sterling-flush-mount-14in-765-delphite-100-black-CGG-FST.jpg |
14" Sterling Nautical LED, 765-Porcelain Delphite, CGG-Standard Cast Guard, 150-Black, FST-Frosted Glass |
1000 |
1000 |
76670 |