Query time 0.00098
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": 12,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (60747,62254,60730,65704,62260,65523,60740,61387,60742,65662,61171,64941)"
}
}
},
"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 |
| 12293 |
60730 |
product |
0 |
21546 |
M |
0 |
D |
0 |
0 |
G2_Gooseneck_Arm_-_Barn_Light_Electric.png |
G2 Gooseneck Arm |
3334 |
3334 |
21546 |
| 12303 |
60740 |
product |
0 |
21566 |
M |
0 |
D |
0 |
0 |
G12_Gooseneck_Arm_-_Barn_Light_Electric.png |
G12 Gooseneck Arm |
3334 |
3334 |
21566 |
| 12305 |
60742 |
product |
0 |
21570 |
M |
0 |
D |
0 |
0 |
G14_Gooseneck_Arm_-_Barn_Light_Electric.png |
G14 Gooseneck Arm |
3334 |
3334 |
21570 |
| 12328 |
60747 |
product |
0 |
21616 |
M |
0 |
D |
0 |
0 |
G17_Gooseneck_Arm_-_Barn_Light_Electric.png |
G17 Gooseneck Arm |
3334 |
3334 |
21616 |
| 15885 |
61387 |
product |
0 |
27384 |
M |
0 |
D |
0 |
0 |
G40_Gooseneck_Arm_-_Barn_Light_Electric.png |
G40 Gooseneck Arm |
3334 |
3334 |
27384 |
| 21028 |
62254 |
product |
0 |
32869 |
M |
0 |
D |
0 |
0 |
jelly-glass-ribbed.jpg |
Ribbed Jelly Jar Glass |
1000 |
1000 |
32869 |
| 48357 |
64941 |
product |
0 |
60590 |
M |
0 |
D |
0 |
0 |
acorn-glass-clear.jpg |
Acorn Schoolhouse Glass, Clear |
1000 |
1000 |
60590 |
| 49319 |
61171 |
product |
0 |
61552 |
M |
0 |
D |
0 |
0 |
G32_Gooseneck_Arm_-_Barn_Light_Electric.png |
G32 Gooseneck Arm |
3334 |
3334 |
61552 |
| 53864 |
62260 |
product |
0 |
66097 |
M |
0 |
D |
0 |
0 |
Standard-Guard-Teal.jpg |
Standard Cast Guard, 390-Teal |
1000 |
1000 |
66097 |
| 63865 |
65523 |
product |
0 |
76098 |
M |
0 |
D |
0 |
0 |
dbw24-100-black-csbp.jpg |
24" Wilcox, 100-Black, CSBP-Black & Pink Cloth Cord |
1000 |
1000 |
76098 |
| 66026 |
65662 |
product |
0 |
78259 |
M |
0 |
D |
0 |
0 |
LED-Manhattan-10in-380-Chartreuse-ASH-CSBW.jpg |
10" Manhattan LED, 380-Chartreuse, Ash Wood, CSBW-Black & White Cloth Cord |
1000 |
1000 |
78259 |
| 67284 |
65704 |
product |
0 |
79517 |
M |
0 |
D |
0 |
0 |
Barn-Light-Basics-Bomber-13in-605-Rust-12in-stem.jpg |
13" Bomber, 605-Rust, 12" Stem |
1000 |
1000 |
79517 |