Query time 0.00084
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": 6,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A'",
"attached_condition": "cscart_images_links.object_id <=> 61052 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 |
| 14088 |
61052 |
product |
0 |
24869 |
A |
0 |
D |
0 |
0 |
laramie-stem-8in-390-teal.jpg |
8" Laramie, 390-Teal |
1000 |
1000 |
24869 |
| 64838 |
61052 |
product |
0 |
77071 |
A |
1 |
D |
0 |
0 |
laramie-stem-16in-barn-red-100-black-Heavy-duty-canopy.jpg |
16" Laramie, 400-Barn Red, Mounting in 100-Black, Heavy Duty Canopy |
1000 |
1000 |
77071 |
| 72663 |
61052 |
product |
0 |
84896 |
A |
2 |
D |
0 |
0 |
Laramie-stem-pendant-30in-705-navy.jpg |
30" Laramie, 705-Navy |
1000 |
1000 |
84896 |
| 32522 |
61052 |
product |
0 |
44755 |
A |
3 |
D |
0 |
0 |
laramie-stem-12in-800-industrial-grey-CGG-FST.jpg |
12" Laramie, 800-Industrial Grey, CGG-Standard Cast Guard, FST-Frosted Glass |
1000 |
1000 |
44755 |
| 18205 |
61052 |
product |
0 |
29834 |
A |
4 |
C |
0 |
0 |
barn_pendant_kitchen_laramie.jpg |
Laramie, 200-White | Photo Courtesy of Customer |
586 |
465 |
29834 |
| 28313 |
61052 |
product |
0 |
40506 |
A |
5 |
C |
0 |
0 |
barn_pendant_lighting_ceiling_lights-538x768.jpg |
12" Laramie, 200-White | Photo Courtesy of Customer |
538 |
768 |
40506 |