Query time 0.00076
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": 7,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (64728,64743,64738,65499,65498,65497,65558)"
}
}
},
"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 |
| 37564 |
64738 |
product |
0 |
49797 |
M |
0 |
D |
0 |
0 |
Aero-Sconce-16in-400-barn-red.jpg |
16" Aero Sconce, 400-Barn Red |
1000 |
1000 |
49797 |
| 37663 |
64743 |
product |
0 |
49896 |
M |
0 |
D |
0 |
0 |
Sterling-Sconces-16in-400-barn-red-WC-975-Galvanized.jpg |
16" Sterling Wall Sconce, 400-Barn Red, Wire Cage, 975-Galvanized |
1000 |
1000 |
49896 |
| 59408 |
65497 |
product |
0 |
71641 |
M |
0 |
D |
0 |
0 |
acorn-schoolhouse-sconce-Teal.jpg |
Acorn Schoolhouse Sconce, 390-Teal, Opaque Glass, Three Painted Band |
1000 |
1000 |
71641 |
| 59448 |
65498 |
product |
0 |
71681 |
M |
0 |
D |
0 |
0 |
Drum-schoolhouse-sconce-Black.jpg |
Drum Schoolhouse Sconce, 100-Black, Clear Glass, Four Painted Band |
1000 |
1000 |
71681 |
| 59470 |
65499 |
product |
0 |
71703 |
M |
0 |
D |
0 |
0 |
0-Globe-schoolhouse-sconce-alt.jpg |
Round Schoolhouse Sconce, 307-Emerald Green, Clear Glass, Four Painted Band |
1000 |
1000 |
71703 |
| 59581 |
64728 |
product |
0 |
71814 |
M |
0 |
D |
0 |
0 |
wilcox-8in-705-navy-bantam-sconce.jpg |
8" Bantam Wilcox, 705-Navy |
1000 |
1000 |
71814 |
| 62450 |
65558 |
product |
0 |
74683 |
M |
0 |
D |
0 |
0 |
Loma-Sconce-430-Soft-Clay-Raw-Brass-SBK.jpg |
Loma Adjustable Wall Sconce, 430-Soft Clay, Interior in 997-Natural Raw Brass, SBK-Standard Black Cord |
1000 |
1000 |
74683 |