Query time 0.00813
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "190.55"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "36.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": 36,
"rows_produced_per_join": 36,
"filtered": "100.00",
"index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'product') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'M') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (1233012,1067180,696234,591722,589214,1067678,1033163,992088,1730410,614833,600286,588439,588446,589740,697903,1067318,1025367,695078,1233020,599887,1067521,588910,612038,991897,590755,1025365,622101,1120163,697332,697155,1073044,591218,1070391,593887,697609,991976)))",
"cost_info": {
"read_cost": "71.83",
"eval_cost": "3.60",
"prefix_cost": "75.43",
"data_read_per_join": "3K"
},
"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": 36,
"filtered": "100.00",
"cost_info": {
"read_cost": "35.98",
"eval_cost": "3.60",
"prefix_cost": "115.01",
"data_read_per_join": "27K"
},
"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": 36,
"filtered": "100.00",
"cost_info": {
"read_cost": "35.94",
"eval_cost": "3.60",
"prefix_cost": "154.55",
"data_read_per_join": "21K"
},
"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 |
| 928998 |
588439 |
product |
0 |
929235 |
M |
0 |
|
|
|
|
|
| 929005 |
588446 |
product |
0 |
929242 |
M |
0 |
|
|
|
|
|
| 929506 |
588910 |
product |
0 |
929743 |
M |
0 |
|
|
|
|
|
| 929851 |
589214 |
product |
0 |
930088 |
M |
0 |
|
|
|
|
|
| 930415 |
589740 |
product |
0 |
930652 |
M |
0 |
|
|
|
|
|
| 931487 |
590755 |
product |
0 |
931724 |
M |
0 |
|
|
|
|
|
| 931965 |
591218 |
product |
0 |
932202 |
M |
0 |
|
|
|
|
|
| 932489 |
591722 |
product |
0 |
932726 |
M |
0 |
|
|
|
|
|
| 934728 |
593887 |
product |
0 |
934965 |
M |
0 |
|
|
|
|
|
| 944398 |
599887 |
product |
0 |
944635 |
M |
0 |
|
|
|
|
|
| 945292 |
600286 |
product |
0 |
945529 |
M |
0 |
|
|
|
|
|
| 957411 |
612038 |
product |
0 |
957648 |
M |
0 |
|
|
|
|
|
| 961867 |
614833 |
product |
0 |
962104 |
M |
0 |
|
|
|
|
|
| 977158 |
622101 |
product |
0 |
977395 |
M |
0 |
|
|
|
|
|
| 1092504 |
695078 |
product |
0 |
1092741 |
M |
0 |
|
|
|
|
|
| 1093476 |
696234 |
product |
0 |
1093713 |
M |
0 |
|
|
|
|
|
| 1094906 |
697155 |
product |
0 |
1095143 |
M |
0 |
|
|
|
|
|
| 1095180 |
697332 |
product |
0 |
1095417 |
M |
0 |
|
|
|
|
|
| 1095635 |
697609 |
product |
0 |
1095872 |
M |
0 |
|
|
|
|
|
| 1096105 |
697903 |
product |
0 |
1096342 |
M |
0 |
|
|
|
|
|
| 1540592 |
991897 |
product |
0 |
1540829 |
M |
0 |
|
|
|
|
|
| 1540715 |
991976 |
product |
0 |
1540952 |
M |
0 |
|
|
|
|
|
| 1540893 |
992088 |
product |
0 |
1541130 |
M |
0 |
|
|
|
|
|
| 1580386 |
1025365 |
product |
0 |
1580623 |
M |
0 |
|
|
|
|
|
| 1580388 |
1025367 |
product |
0 |
1580625 |
M |
0 |
|
|
|
|
|
| 1590406 |
1033163 |
product |
0 |
1590643 |
M |
0 |
|
|
|
|
|
| 1650167 |
1067180 |
product |
0 |
1650405 |
M |
0 |
|
|
|
|
|
| 1650431 |
1067318 |
product |
0 |
1650669 |
M |
0 |
|
|
|
|
|
| 1650831 |
1067521 |
product |
0 |
1651069 |
M |
0 |
|
|
|
|
|
| 1651083 |
1067678 |
product |
0 |
1651321 |
M |
0 |
|
|
|
|
|
| 1654978 |
1070391 |
product |
0 |
1655216 |
M |
0 |
|
|
|
|
|
| 1658093 |
1073044 |
product |
0 |
1658331 |
M |
0 |
|
|
|
|
|
| 1770565 |
1120163 |
product |
0 |
1770804 |
M |
0 |
|
|
|
|
|
| 1994233 |
1233012 |
product |
0 |
1994485 |
M |
0 |
|
|
|
|
|
| 1994242 |
1233020 |
product |
0 |
1994494 |
M |
0 |
|
|
|
|
|
| 3941946 |
1730410 |
product |
0 |
3942199 |
M |
0 |
|
|
|
|
|