Query time 0.00065
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 (30238,60599,30237,60600,60598,60597,30235,64608,64197,65763,65768,62034)"
}
}
},
"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 |
| 11427 |
60598 |
product |
0 |
19814 |
M |
0 |
D |
0 |
0 |
hairpin-30W.jpg |
30W Hairpin Light Bulb |
1000 |
1000 |
19814 |
| 11428 |
60599 |
product |
0 |
19816 |
M |
0 |
D |
0 |
0 |
T14-thread-40W.jpg |
40W Thread Light Bulb |
1000 |
1000 |
19816 |
| 11429 |
60597 |
product |
0 |
19818 |
M |
0 |
D |
0 |
0 |
T14-spiral-40W.jpg |
40W Spiral Light Bulb |
1000 |
1000 |
19818 |
| 19297 |
62034 |
product |
0 |
31018 |
M |
0 |
D |
0 |
0 |
victorian-40W.jpg |
stalgic Edison-Style Victorian 25 Watt Light Bulb |
1000 |
1000 |
31018 |
| 29120 |
64197 |
product |
0 |
41340 |
M |
0 |
D |
0 |
0 |
64197_MRCLARK-MRC224DPLY40-drkplywood1.jpg |
The Mr. Clarke Clock, Small, Dark Stain Case, Fine Marker Brass Dial |
600 |
600 |
41340 |
| 31358 |
60600 |
product |
0 |
43591 |
M |
0 |
D |
0 |
0 |
G30-thread-40W.jpg |
40W G30 Bulb |
1000 |
1000 |
43591 |
| 31359 |
30235 |
product |
0 |
43592 |
M |
0 |
D |
0 |
0 |
victorian-25W.jpg |
Victorian 25W Light Bulb |
1000 |
1000 |
43592 |
| 31361 |
30237 |
product |
0 |
43594 |
M |
0 |
D |
0 |
0 |
1910-era-40W.jpg |
1910 Era 40W Light Bulb |
1000 |
1000 |
43594 |
| 31362 |
30238 |
product |
0 |
43595 |
M |
0 |
D |
0 |
0 |
1890-era-40W.jpg |
1890 Era 40W Light Bulb |
1000 |
1000 |
43595 |
| 32464 |
64608 |
product |
0 |
44697 |
M |
0 |
D |
0 |
0 |
LED0-Edison-Bulb-T14.jpg |
LED Edison T14 Bulb |
1000 |
1000 |
44697 |
| 68183 |
65763 |
product |
0 |
80416 |
M |
0 |
D |
0 |
0 |
Primary-Schoolhouse-Sconce-large-clear-glass-plugin-615-Oil-Rubbed-Bronze.jpg |
Primary Schoolhouse Sconce, 615-Oil-Rubbed Bronze, Large Clear Glass, CSGW-Gold & White Cloth Cord |
1000 |
1000 |
80416 |
| 68191 |
65768 |
product |
0 |
80424 |
M |
0 |
D |
0 |
0 |
wilcox-chain-pendant-14in-100-black-exterior-995-raw-copper-interior.jpg |
14" Wilcox, 100-Black with 997-Natural Raw Brass Interior, SBK-Standard Black Cord |
1000 |
1000 |
80424 |