Query time 0.00068
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": "ref",
"possible_keys": ["object_id"],
"key": "object_id",
"key_length": "81",
"used_key_parts": ["object_id", "object_type", "type"],
"ref": ["const", "const", "const"],
"rows": 5,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A'",
"attached_condition": "cscart_images_links.object_id <=> 65027 and cscart_images_links.object_type <=> 'product' and cscart_images_links.`type` <=> 'A'"
}
}
},
"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 |
| 72928 |
65027 |
product |
0 |
85161 |
A |
0 |
D |
0 |
0 |
original-gooseneck-16in-Galvanized-975-G12-CGG.jpg |
16" The Original™, 975-Galvanized, CGG-Standard Cast Guard, RIB-Ribbed Glass, G12 Gooseneck Arm |
1000 |
1000 |
85161 |
| 72929 |
65027 |
product |
0 |
85162 |
A |
0 |
D |
0 |
0 |
original-gooseneck-16in-380-chartreuse-CGG-wire-guard-705-navy-G11.jpg |
16" The Original™, 380-Chartreuse, WGG-Wire Guard, 300-Dark Green, G11 Gooseneck Arm |
1000 |
1000 |
85162 |
| 72930 |
65027 |
product |
0 |
85163 |
A |
0 |
C |
0 |
0 |
©MikeKelley-27-residential-exterior-lighting-door-deck-Original-Nautical-LED-Gooseneck-18in-480-Blush-Pink-G15arm-CGG-975-Galvanized-Frosted-Glass.jpg |
18" The Original™ Nautical LED, 480-Blush Pink, CGG-Standard Cast Guard, 975-Galvanized, Frosted Glass, G15 Gooseneck Arm | Photo Courtesy of Mike Kelley |
2000 |
2145 |
85163 |
| 72932 |
65027 |
product |
0 |
85165 |
A |
0 |
C |
0 |
0 |
Back-residential-exterior-garage-lighting-Original_Nautical_LED_Gooseneck_Light_14in_700-Royal-Blue_G22arm_Wire-Guard_Clear-Glass.jpg |
14" The Original™ Nautical LED, 700-Royal Blue, WGG-Wire Guard, Clear Glass, G22 Gooseneck Arm |
1816 |
2949 |
85165 |
| 72933 |
65027 |
product |
0 |
85166 |
A |
0 |
C |
0 |
0 |
IMG_4145-residential-exterior-lighting-Original-Nautical_LED-Gooseneck-Light-100-Black-G3-cast-guard-frosted-glass.jpeg |
14" The Original™ Nautical LED, 100-Black, CGG-Standard Cast Guard, Frosted Glass, G3 Gooseneck Arm |
4032 |
3024 |
85166 |