Query time 0.00073
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "116.54"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "24.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id",
"idx_object_type_type_position"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 24,
"rows_produced_per_join": 24,
"filtered": "100.00",
"index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'M') and (`cscart_db`.`cscart_images_links`.`object_id` in (65448,65449,65450,65451,65452,65454,65455,65456,65460,65462,65465,65476,65484,65486,65487,65488,65489,66133,66134,66142,66144,66145,66149,66151)))",
"cost_info": {
"read_cost": "44.15",
"eval_cost": "2.40",
"prefix_cost": "46.55",
"data_read_per_join": "2K"
},
"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": "4",
"ref": [
"cscart_db.cscart_images_links.image_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 24,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.20",
"eval_cost": "2.40",
"prefix_cost": "70.16",
"data_read_per_join": "18K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
]
}
},
{
"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": [
"cscart_db.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 24,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.98",
"eval_cost": "2.40",
"prefix_cost": "92.54",
"data_read_per_join": "14K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
|
|
|
|
177561 |
65448 |
product |
178907 |
M |
0 |
|
|
| 0 |
|
|
|
|
177562 |
65449 |
product |
178908 |
M |
0 |
|
|
| 0 |
|
|
|
|
177563 |
65450 |
product |
178909 |
M |
0 |
|
|
| 0 |
|
|
|
|
177564 |
65451 |
product |
178910 |
M |
0 |
|
|
| 0 |
|
|
|
|
177565 |
65452 |
product |
178911 |
M |
0 |
|
|
| 0 |
|
|
|
|
177567 |
65455 |
product |
178913 |
M |
0 |
|
|
| 0 |
|
|
|
|
177568 |
65456 |
product |
178914 |
M |
0 |
|
|
| 0 |
|
|
|
|
177572 |
65462 |
product |
178918 |
M |
0 |
|
|
| 0 |
|
|
|
|
177575 |
65465 |
product |
178921 |
M |
0 |
|
|
| 0 |
|
|
|
|
177584 |
65484 |
product |
178930 |
M |
0 |
|
|
| 0 |
|
|
|
|
177586 |
65486 |
product |
178932 |
M |
0 |
|
|
| 0 |
|
|
|
|
177587 |
65487 |
product |
178933 |
M |
0 |
|
|
| 0 |
|
|
|
|
177588 |
65488 |
product |
178934 |
M |
0 |
|
|
| 0 |
|
|
|
|
177589 |
65489 |
product |
178935 |
M |
0 |
|
|
| 0 |
|
|
|
|
177715 |
65460 |
product |
179061 |
M |
0 |
|
|
| 0 |
|
|
|
|
177723 |
65454 |
product |
179069 |
M |
0 |
|
|
| 0 |
|
|
|
|
177737 |
65476 |
product |
179083 |
M |
0 |
|
|
| 0 |
|
|
|
|
180659 |
66133 |
product |
182005 |
M |
0 |
|
|
| 0 |
|
|
|
|
180660 |
66134 |
product |
182006 |
M |
0 |
|
|
| 0 |
|
|
|
|
181459 |
66142 |
product |
182805 |
M |
0 |
|
|
| 0 |
|
|
|
|
181461 |
66144 |
product |
182807 |
M |
0 |
|
|
| 0 |
|
|
|
|
181462 |
66145 |
product |
182808 |
M |
0 |
|
|
| 0 |
|
|
|
|
181466 |
66149 |
product |
182812 |
M |
0 |
|
|
| 0 |
|
|
|
|
181468 |
66151 |
product |
182814 |
M |
0 |
|
|