Query time 0.00084
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "81.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "14.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": 14,
"rows_produced_per_join": 14,
"filtered": "100.00",
"index_condition": "((`cscart`.`cscart_images_links`.`object_type` = 'product') and (`cscart`.`cscart_images_links`.`type` = 'M') and (`cscart`.`cscart_images_links`.`object_id` in (806,805,804,803,802,801,800,799,798,797,810,809,808,807)))",
"cost_info": {
"read_cost": "30.81",
"eval_cost": "2.80",
"prefix_cost": "33.61",
"data_read_per_join": "1K"
},
"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.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.00",
"eval_cost": "2.80",
"prefix_cost": "50.41",
"data_read_per_join": "10K"
},
"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": "108",
"ref": [
"cscart.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.00",
"eval_cost": "2.80",
"prefix_cost": "67.21",
"data_read_per_join": "8K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
]
}
}
]
}
}
}
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 |
Render_White_Bottom_oo2h-j5.png |
1024 |
1024 |
N |
7452 |
802 |
product |
9101 |
M |
0 |
|
9101 |
| 0 |
Render_cLP01_Marbl_Bottom.png |
1024 |
1024 |
N |
7461 |
807 |
product |
9106 |
M |
0 |
|
9106 |
| 0 |
Render_White_Bottom_wo1r-cb.png |
1024 |
1024 |
N |
7447 |
797 |
product |
9096 |
M |
1 |
|
9096 |
| 0 |
Render_Aok_Kan_White_Bottom.png |
1024 |
1024 |
N |
7448 |
798 |
product |
9097 |
M |
1 |
|
9097 |
| 0 |
Render_Aok_Kan_Bottom.png |
1024 |
1024 |
N |
7449 |
799 |
product |
9098 |
M |
1 |
|
9098 |
| 0 |
Render_Aok_Vintag_Bottom.png |
1024 |
1024 |
N |
7450 |
800 |
product |
9099 |
M |
1 |
|
9099 |
| 0 |
Render_Coffee_Bottom.png |
1024 |
1024 |
N |
7451 |
801 |
product |
9100 |
M |
1 |
|
9100 |
| 0 |
Render_Aok_Kan_White_Bottom_s089-vy.png |
1024 |
1024 |
N |
7457 |
803 |
product |
9102 |
M |
1 |
|
9102 |
| 0 |
Render_Aok_Kan_Bottom_4yzo-g7.png |
1024 |
1024 |
N |
7458 |
804 |
product |
9103 |
M |
1 |
|
9103 |
| 0 |
Render_Aok_Vintag_Bottom_qcog-l7.png |
1024 |
1024 |
N |
7459 |
805 |
product |
9104 |
M |
1 |
|
9104 |
| 0 |
Render_Coffee_Bottom_k04s-yo.png |
1024 |
1024 |
N |
7460 |
806 |
product |
9105 |
M |
1 |
|
9105 |
| 0 |
Render_cLP01_Wotan_Bottom.png |
1024 |
1024 |
N |
7465 |
808 |
product |
9107 |
M |
1 |
|
9107 |
| 0 |
Render_cLP01_Birch_Bottom.png |
1024 |
1024 |
N |
7466 |
809 |
product |
9108 |
M |
1 |
|
9108 |
| 0 |
Render_cLP01_Marble_Black_Bottom.png |
1024 |
1024 |
N |
7467 |
810 |
product |
9109 |
M |
1 |
|
9109 |