Query time 0.00161
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "76.31"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "32.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": 32,
"rows_produced_per_join": 32,
"filtered": "100.00",
"index_condition": "((`test2_gaseus`.`cscart_images_links`.`object_type` = 'product') and (`test2_gaseus`.`cscart_images_links`.`type` = 'M') and (`test2_gaseus`.`cscart_images_links`.`object_id` in (12925,12924,12923,12922,12921,12885,12889,12890,12891,12892,12894,12895,12876,12877,12878,12882,12883,12884,12896,12899,12897,12908,12907,12906,12905,12900,12901,12902,12903,12904)))",
"cost_info": {
"read_cost": "18.71",
"eval_cost": "3.20",
"prefix_cost": "21.91",
"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": "4",
"ref": [
"test2_gaseus.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.00",
"eval_cost": "3.20",
"prefix_cost": "33.11",
"data_read_per_join": "24K"
},
"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": [
"test2_gaseus.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.00",
"eval_cost": "3.20",
"prefix_cost": "44.31",
"data_read_per_join": "19K"
},
"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 |
1328891146-26301-1_600x600.jpg |
284 |
580 |
N |
18589 |
12876 |
product |
22070 |
M |
0 |
|
22070 |
| 0 |
1328891164-26984-1_600x600.jpg |
284 |
580 |
N |
18590 |
12877 |
product |
22071 |
M |
0 |
|
22071 |
| 0 |
1328891180-27665-1_600x600.jpg |
284 |
580 |
N |
18591 |
12878 |
product |
22072 |
M |
0 |
|
22072 |
| 0 |
1328891195-28253-1_600x600.jpg |
284 |
580 |
N |
18595 |
12882 |
product |
22076 |
M |
0 |
|
22076 |
| 0 |
1328890972-18802-1_600x600.jpg |
284 |
580 |
N |
18596 |
12883 |
product |
22077 |
M |
0 |
|
22077 |
| 0 |
1328891008-20352-1_600x600.jpg |
284 |
580 |
N |
18597 |
12884 |
product |
22078 |
M |
0 |
|
22078 |
| 0 |
1330067479-16855_600x600.jpg |
284 |
580 |
N |
18598 |
12885 |
product |
22079 |
M |
0 |
|
22079 |
| 0 |
1328891131-25737-1_600x600.jpg |
284 |
580 |
N |
18602 |
12889 |
product |
22083 |
M |
0 |
|
22083 |
| 0 |
1328890990-19554-1_600x600.jpg |
284 |
580 |
N |
18603 |
12890 |
product |
22084 |
M |
0 |
|
22084 |
| 0 |
Entnahmestelle-Vulkan-E10_600x600.jpg |
284 |
580 |
N |
18604 |
12891 |
product |
22085 |
M |
0 |
|
22085 |
| 0 |
1328891084-23715-1_600x600.jpg |
284 |
580 |
N |
18605 |
12892 |
product |
22086 |
M |
0 |
|
22086 |
| 0 |
1328891101-24324-1_600x600.jpg |
284 |
580 |
N |
18607 |
12894 |
product |
22088 |
M |
0 |
|
22088 |
| 0 |
1328891116-25037-1_600x600.jpg |
284 |
580 |
N |
18608 |
12895 |
product |
22089 |
M |
0 |
|
22089 |
| 0 |
108913-E10F-Flowmeter-Seite-29bCrCerCmwQ5oh_600x600.jpg |
474 |
600 |
N |
18609 |
12896 |
product |
22090 |
M |
0 |
|
22090 |
| 0 |
108913-E10F-Flowmeter-Seite-29_600x600.jpg |
474 |
600 |
N |
18610 |
12897 |
product |
22091 |
M |
0 |
|
22091 |
| 0 |
108913-E10F-Flowmeter-Seite-29913jUQoLkmMN0_600x600.jpg |
474 |
600 |
N |
18612 |
12899 |
product |
22093 |
M |
0 |
|
22093 |
| 0 |
1328890813-12945-1_600x600.jpg |
261 |
580 |
N |
18613 |
12900 |
product |
22094 |
M |
0 |
|
22094 |
| 0 |
1328890826-13491-1_600x600.jpg |
261 |
580 |
N |
18614 |
12901 |
product |
22095 |
M |
0 |
|
22095 |
| 0 |
1328890775-11397-1_600x600.jpg |
261 |
580 |
N |
18615 |
12902 |
product |
22096 |
M |
0 |
|
22096 |
| 0 |
1328890787-11884-1_600x600.jpg |
261 |
580 |
N |
18616 |
12903 |
product |
22097 |
M |
0 |
|
22097 |
| 0 |
Entnahmestelle-Vulkan-E20_600x600.jpg |
261 |
580 |
N |
18617 |
12904 |
product |
22098 |
M |
0 |
|
22098 |
| 0 |
1328890747-10227-1_600x600.jpg |
261 |
580 |
N |
18618 |
12905 |
product |
22099 |
M |
0 |
|
22099 |
| 0 |
1328890760-10901-1_600x600.jpg |
261 |
580 |
N |
18619 |
12906 |
product |
22100 |
M |
0 |
|
22100 |
| 0 |
1328890799-12448-1_600x600.jpg |
261 |
580 |
N |
18620 |
12907 |
product |
22101 |
M |
0 |
|
22101 |
| 0 |
1383636190-10120_600x600.jpg |
261 |
580 |
N |
18621 |
12908 |
product |
22102 |
M |
0 |
|
22102 |
| 0 |
Entnahmestelle-Vulkan-ER40_600x600.jpg |
255 |
580 |
N |
18634 |
12921 |
product |
22115 |
M |
0 |
|
22115 |
| 0 |
1329465880-29040_600x600.jpg |
255 |
580 |
N |
18635 |
12922 |
product |
22116 |
M |
0 |
|
22116 |
| 0 |
1329475083-15155_600x600.jpg |
255 |
580 |
N |
18636 |
12923 |
product |
22117 |
M |
0 |
|
22117 |
| 0 |
1329466275-10296_600x600.jpg |
255 |
580 |
N |
18637 |
12924 |
product |
22118 |
M |
0 |
|
22118 |
| 0 |
1329466420-15029_600x600.jpg |
255 |
580 |
N |
18638 |
12925 |
product |
22119 |
M |
0 |
|
22119 |