Query time 0.00048
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": 7,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A'",
"attached_condition": "cscart_images_links.object_id <=> 65102 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 |
| 62223 |
65102 |
product |
0 |
74456 |
A |
0 |
D |
0 |
0 |
sinclair-28in-400-barn-red-stem-alt.jpg |
28" Sinclair Stem Mount, 400-Barn Red |
1000 |
1000 |
74456 |
| 62220 |
65102 |
product |
0 |
74453 |
A |
1 |
D |
0 |
0 |
sinclair-28in-615-oil-rubbed-bronze-stem-alt.jpg |
28" Sinclair Stem Mount, 615-Oil-Rubbed Bronze |
1000 |
1000 |
74453 |
| 62221 |
65102 |
product |
0 |
74454 |
A |
2 |
D |
0 |
0 |
sinclair-28in-975-galvanized-stem-alt.jpg |
28" Sinclair Stem Mount, 975-Galvanized, Shown with Noma LED Tala Lamp |
1000 |
1000 |
74454 |
| 68775 |
65102 |
product |
0 |
81008 |
A |
3 |
D |
0 |
0 |
sinclair-28in-995-raw-copper-100-black-stem-alt.jpg |
28" Sinclair Stem Mount, 995-Natural Raw Copper, Mounting in 100-Black, Shown with Voronoi I LED Tala Lamp |
1000 |
1000 |
81008 |
| 62222 |
65102 |
product |
0 |
74455 |
A |
4 |
D |
0 |
0 |
sinclair-28in-100-black-stem-alt.jpg |
28" Sinclair Stem Mount, 100-Black |
1000 |
1000 |
74455 |
| 68774 |
65102 |
product |
0 |
81007 |
A |
5 |
D |
0 |
0 |
sinclair-28in-490-magenta-100-black-stem-alt.jpg |
28" Sinclair Stem Mount, 490-Magenta, Mounting in 100-Black |
1000 |
1000 |
81007 |
| 62224 |
65102 |
product |
0 |
74457 |
A |
6 |
D |
0 |
0 |
sinclair-28in-705-navy-stem-alt.jpg |
28" Sinclair Stem Mount, 705-Navy |
1000 |
1000 |
74457 |