Query time 0.00083
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "196.72"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "49.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": 49,
"rows_produced_per_join": 49,
"filtered": "100.00",
"index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'A') and (`cscart_db`.`cscart_images_links`.`object_id` in (69312,33697,33698,33706,69315,36289,33717,36290)))",
"cost_info": {
"read_cost": "52.51",
"eval_cost": "4.90",
"prefix_cost": "57.41",
"data_read_per_join": "4K"
},
"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": 49,
"filtered": "100.00",
"cost_info": {
"read_cost": "41.78",
"eval_cost": "4.90",
"prefix_cost": "104.09",
"data_read_per_join": "37K"
},
"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": 49,
"filtered": "100.00",
"cost_info": {
"read_cost": "38.73",
"eval_cost": "4.90",
"prefix_cost": "147.72",
"data_read_per_join": "29K"
},
"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 |
|
|
|
|
133507 |
33697 |
product |
134859 |
A |
1 |
|
|
| 0 |
|
|
|
|
133695 |
33717 |
product |
135047 |
A |
1 |
|
|
| 0 |
|
|
|
|
173362 |
36289 |
product |
174708 |
A |
1 |
|
|
| 0 |
|
|
|
|
205476 |
69312 |
product |
206760 |
A |
1 |
|
|
| 0 |
|
|
|
|
205499 |
69315 |
product |
206783 |
A |
1 |
|
|
| 0 |
|
|
|
|
208653 |
33698 |
product |
209928 |
A |
1 |
|
|
| 0 |
|
|
|
|
133508 |
33697 |
product |
134860 |
A |
2 |
|
|
| 0 |
|
|
|
|
133591 |
33706 |
product |
134943 |
A |
2 |
|
|
| 0 |
|
|
|
|
133696 |
33717 |
product |
135048 |
A |
2 |
|
|
| 0 |
|
|
|
|
205477 |
69312 |
product |
206761 |
A |
2 |
|
|
| 0 |
|
|
|
|
205500 |
69315 |
product |
206784 |
A |
2 |
|
|
| 0 |
|
|
|
|
208654 |
33698 |
product |
209929 |
A |
2 |
|
|
| 0 |
|
|
|
|
133509 |
33697 |
product |
134861 |
A |
3 |
|
|
| 0 |
|
|
|
|
133592 |
33706 |
product |
134944 |
A |
3 |
|
|
| 0 |
|
|
|
|
133697 |
33717 |
product |
135049 |
A |
3 |
|
|
| 0 |
|
|
|
|
205478 |
69312 |
product |
206762 |
A |
3 |
|
|
| 0 |
|
|
|
|
205504 |
69315 |
product |
206788 |
A |
3 |
|
|
| 0 |
|
|
|
|
208655 |
33698 |
product |
209930 |
A |
3 |
|
|
| 0 |
|
|
|
|
133510 |
33697 |
product |
134862 |
A |
4 |
|
|
| 0 |
|
|
|
|
133593 |
33706 |
product |
134945 |
A |
4 |
|
|
| 0 |
|
|
|
|
133698 |
33717 |
product |
135050 |
A |
4 |
|
|
| 0 |
|
|
|
|
205479 |
69312 |
product |
206763 |
A |
4 |
|
|
| 0 |
|
|
|
|
205501 |
69315 |
product |
206785 |
A |
4 |
|
|
| 0 |
|
|
|
|
208656 |
33698 |
product |
209931 |
A |
4 |
|
|
| 0 |
|
|
|
|
133511 |
33697 |
product |
134863 |
A |
5 |
|
|
| 0 |
|
|
|
|
133594 |
33706 |
product |
134946 |
A |
5 |
|
|
| 0 |
|
|
|
|
133699 |
33717 |
product |
135051 |
A |
5 |
|
|
| 0 |
|
|
|
|
205480 |
69312 |
product |
206764 |
A |
5 |
|
|
| 0 |
|
|
|
|
205502 |
69315 |
product |
206786 |
A |
5 |
|
|
| 0 |
|
|
|
|
208657 |
33698 |
product |
209932 |
A |
5 |
|
|
| 0 |
|
|
|
|
133512 |
33697 |
product |
134864 |
A |
6 |
|
|
| 0 |
|
|
|
|
133595 |
33706 |
product |
134947 |
A |
6 |
|
|
| 0 |
|
|
|
|
133700 |
33717 |
product |
135052 |
A |
6 |
|
|
| 0 |
|
|
|
|
205481 |
69312 |
product |
206765 |
A |
6 |
|
|
| 0 |
|
|
|
|
205503 |
69315 |
product |
206787 |
A |
6 |
|
|
| 0 |
|
|
|
|
208658 |
33698 |
product |
209933 |
A |
6 |
|
|
| 0 |
|
|
|
|
133513 |
33697 |
product |
134865 |
A |
7 |
|
|
| 0 |
|
|
|
|
133596 |
33706 |
product |
134948 |
A |
7 |
|
|
| 0 |
|
|
|
|
173353 |
33717 |
product |
174699 |
A |
7 |
|
|
| 0 |
|
|
|
|
205482 |
69312 |
product |
206766 |
A |
7 |
|
|
| 0 |
|
|
|
|
205505 |
69315 |
product |
206789 |
A |
7 |
|
|
| 0 |
|
|
|
|
208659 |
33698 |
product |
209934 |
A |
7 |
|
|
| 0 |
|
|
|
|
133514 |
33697 |
product |
134866 |
A |
8 |
|
|
| 0 |
|
|
|
|
133597 |
33706 |
product |
134949 |
A |
8 |
|
|
| 0 |
|
|
|
|
205507 |
69315 |
product |
206791 |
A |
8 |
|
|
| 0 |
|
|
|
|
133598 |
33706 |
product |
134950 |
A |
9 |
|
|
| 0 |
|
|
|
|
173337 |
33697 |
product |
174683 |
A |
9 |
|
|
| 0 |
|
|
|
|
173345 |
33706 |
product |
174691 |
A |
10 |
|
|
| 0 |
|
|
|
|
173363 |
36290 |
product |
174709 |
A |
10 |
|
|