Query time 0.00051
JSON explain
{
"query_block": {
"select_id": 1,
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows": 7,
"filtered": 100,
"index_condition": "((`_testcscart`.`cscart_images_links`.`object_type` = 'category') and (`_testcscart`.`cscart_images_links`.`type` = 'M') and (`_testcscart`.`cscart_images_links`.`object_id` in ('1','2','3','4','5','6','7')))"
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"_testcscart.cscart_images_links.detailed_id"
],
"rows": 1,
"filtered": 100,
"attached_condition": "<if>(is_not_null_compl(cscart_images), (`_testcscart`.`cscart_images_links`.`detailed_id` = `_testcscart`.`cscart_images`.`image_id`), true)"
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "107",
"ref": [
"_testcscart.cscart_images.image_id",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), ((`_testcscart`.`cscart_common_descriptions`.`object_id` = `_testcscart`.`cscart_images`.`image_id`) and (`_testcscart`.`cscart_common_descriptions`.`object_holder` = 'images') and (`_testcscart`.`cscart_common_descriptions`.`lang_code` = 'ja')), true)"
}
}
]
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
category_02.png |
506 |
440 |
46 |
2 |
category |
1329 |
M |
0 |
|
1329 |
| 0 |
category_03.png |
506 |
440 |
47 |
3 |
category |
1330 |
M |
0 |
|
1330 |
| 0 |
category_04.png |
506 |
440 |
49 |
4 |
category |
1333 |
M |
0 |
|
1333 |
| 0 |
category_05.png |
506 |
440 |
50 |
5 |
category |
1334 |
M |
0 |
|
1334 |
| 0 |
category_06.png |
506 |
440 |
54 |
6 |
category |
1338 |
M |
0 |
|
1338 |
| 0 |
category_07.png |
506 |
440 |
55 |
7 |
category |
1339 |
M |
0 |
|
1339 |
| 0 |
2568_w1rb-8g.jpg |
500 |
334 |
67 |
1 |
category |
1352 |
M |
0 |
|
1352 |