Query time 0.07421
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "304.57"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "62.00"
},
"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_examined_per_scan": 62,
"rows_produced_per_join": 62,
"filtered": "100.00",
"index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'product') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'A') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (480519,524885,697773,866373,1118377,697683,612103,880671,1434961,694679,822677,614913,301401,822659,613219,613221,1025388,822679,1025367,1025365,1230911,1338749,1731846,1732251,359020,1153153,1153155,1338924,1231165,1731742,1732158,1231166,1732357,1153734,1732013,1663556)))",
"cost_info": {
"read_cost": "100.63",
"eval_cost": "6.20",
"prefix_cost": "106.83",
"data_read_per_join": "5K"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "3",
"ref": [
"maniamall_cscart.cscart_images_links.image_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 62,
"filtered": "100.00",
"cost_info": {
"read_cost": "61.84",
"eval_cost": "6.20",
"prefix_cost": "174.87",
"data_read_per_join": "47K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y"
],
"attached_condition": "<if>(is_not_null_compl(cscart_images), (`maniamall_cscart`.`cscart_images_links`.`image_id` = `maniamall_cscart`.`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": [
"maniamall_cscart.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 62,
"filtered": "100.00",
"cost_info": {
"read_cost": "61.51",
"eval_cost": "6.20",
"prefix_cost": "242.58",
"data_read_per_join": "36K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`maniamall_cscart`.`cscart_common_descriptions`.`object_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
Result
| pair_id |
object_id |
object_type |
image_id |
detailed_id |
type |
position |
image_path |
alt |
image_x |
image_y |
images_image_id |
| 460271 |
301401 |
product |
0 |
460508 |
A |
0 |
|
|
|
|
|
| 460272 |
301401 |
product |
0 |
460509 |
A |
0 |
|
|
|
|
|
| 460273 |
301401 |
product |
0 |
460510 |
A |
0 |
|
|
|
|
|
| 559118 |
359020 |
product |
0 |
559355 |
A |
0 |
|
|
|
|
|
| 769392 |
480519 |
product |
0 |
769629 |
A |
0 |
|
|
|
|
|
| 769393 |
480519 |
product |
0 |
769630 |
A |
0 |
|
|
|
|
|
| 769394 |
480519 |
product |
0 |
769631 |
A |
0 |
|
|
|
|
|
| 769395 |
480519 |
product |
0 |
769632 |
A |
0 |
|
|
|
|
|
| 769396 |
480519 |
product |
0 |
769633 |
A |
0 |
|
|
|
|
|
| 769397 |
480519 |
product |
0 |
769634 |
A |
0 |
|
|
|
|
|
| 769398 |
480519 |
product |
0 |
769635 |
A |
0 |
|
|
|
|
|
| 957537 |
612103 |
product |
0 |
957774 |
A |
0 |
|
|
|
|
|
| 959301 |
613219 |
product |
0 |
959538 |
A |
0 |
|
|
|
|
|
| 959305 |
613221 |
product |
0 |
959542 |
A |
0 |
|
|
|
|
|
| 1095761 |
697683 |
product |
0 |
1095998 |
A |
0 |
|
|
|
|
|
| 1095886 |
697773 |
product |
0 |
1096123 |
A |
0 |
|
|
|
|
|
| 1262218 |
822677 |
product |
0 |
1262455 |
A |
0 |
|
|
|
|
|
| 1337474 |
866373 |
product |
0 |
1337711 |
A |
0 |
|
|
|
|
|
| 1337475 |
866373 |
product |
0 |
1337712 |
A |
0 |
|
|
|
|
|
| 1764723 |
1118377 |
product |
0 |
1764962 |
A |
0 |
|
|
|
|
|
| 1764724 |
1118377 |
product |
0 |
1764963 |
A |
0 |
|
|
|
|
|
| 1764725 |
1118377 |
product |
0 |
1764964 |
A |
0 |
|
|
|
|
|
| 1764726 |
1118377 |
product |
0 |
1764965 |
A |
0 |
|
|
|
|
|
| 1764727 |
1118377 |
product |
0 |
1764966 |
A |
0 |
|
|
|
|
|
| 1764728 |
1118377 |
product |
0 |
1764967 |
A |
0 |
|
|
|
|
|
| 1859516 |
1153734 |
product |
0 |
1859768 |
A |
0 |
|
|
|
|
|
| 1859517 |
1153734 |
product |
0 |
1859769 |
A |
0 |
|
|
|
|
|
| 1859518 |
1153734 |
product |
0 |
1859770 |
A |
0 |
|
|
|
|
|
| 1859519 |
1153734 |
product |
0 |
1859771 |
A |
0 |
|
|
|
|
|
| 1859520 |
1153734 |
product |
0 |
1859772 |
A |
0 |
|
|
|
|
|
| 1859521 |
1153734 |
product |
0 |
1859773 |
A |
0 |
|
|
|
|
|
| 1990242 |
1230911 |
product |
0 |
1990494 |
A |
0 |
|
|
|
|
|
| 1990243 |
1230911 |
product |
0 |
1990495 |
A |
0 |
|
|
|
|
|
| 1990244 |
1230911 |
product |
0 |
1990496 |
A |
0 |
|
|
|
|
|
| 1990245 |
1230911 |
product |
0 |
1990497 |
A |
0 |
|
|
|
|
|
| 1990246 |
1230911 |
product |
0 |
1990498 |
A |
0 |
|
|
|
|
|
| 2251913 |
1338749 |
product |
0 |
2252165 |
A |
0 |
|
|
|
|
|
| 2252185 |
1338924 |
product |
0 |
2252437 |
A |
0 |
|
|
|
|
|
| 2581018 |
1434961 |
product |
0 |
2581271 |
A |
0 |
|
|
|
|
|
| 2581019 |
1434961 |
product |
0 |
2581272 |
A |
0 |
|
|
|
|
|
| 2581020 |
1434961 |
product |
0 |
2581273 |
A |
0 |
|
|
|
|
|
| 2581021 |
1434961 |
product |
0 |
2581274 |
A |
0 |
|
|
|
|
|
| 3946879 |
1731846 |
product |
0 |
3947132 |
A |
0 |
|
|
|
|
|
| 3947350 |
1732158 |
product |
0 |
3947603 |
A |
0 |
|
|
|
|
|