Query time 0.00067
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "68.25"
},
"nested_loop": [
{
"table": {
"table_name": "gpf",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"idx_group_id"
],
"key": "idx_group_id",
"used_key_parts": [
"group_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 5,
"rows_produced_per_join": 5,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.25",
"eval_cost": "0.50",
"prefix_cost": "1.75",
"data_read_per_join": "520"
},
"used_columns": [
"feature_id",
"group_id"
]
}
},
{
"table": {
"table_name": "gp",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"idx_group_id"
],
"key": "idx_group_id",
"used_key_parts": [
"group_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 19,
"rows_produced_per_join": 95,
"filtered": "100.00",
"cost_info": {
"read_cost": "23.75",
"eval_cost": "9.50",
"prefix_cost": "35.00",
"data_read_per_join": "1K"
},
"used_columns": [
"product_id",
"group_id"
]
}
},
{
"table": {
"table_name": "pfv",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "fpl",
"used_key_parts": [
"feature_id",
"product_id",
"lang_code"
],
"key_length": "12",
"ref": [
"gaseus.gpf.feature_id",
"gaseus.gp.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 95,
"filtered": "100.00",
"cost_info": {
"read_cost": "23.75",
"eval_cost": "9.50",
"prefix_cost": "68.25",
"data_read_per_join": "73K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
group_id |
| 553 |
11027 |
1324 |
460 |
| 553 |
11028 |
1324 |
460 |
| 553 |
11029 |
1324 |
460 |
| 553 |
11030 |
1324 |
460 |
| 553 |
11031 |
1324 |
460 |
| 553 |
11032 |
1324 |
460 |
| 553 |
11033 |
1324 |
460 |
| 553 |
11034 |
1324 |
460 |
| 553 |
11035 |
1324 |
460 |
| 553 |
11036 |
1324 |
460 |
| 553 |
11037 |
2197 |
460 |
| 553 |
11038 |
2197 |
460 |
| 553 |
11039 |
2197 |
460 |
| 553 |
11040 |
2197 |
460 |
| 553 |
11041 |
2197 |
460 |
| 553 |
11042 |
2197 |
460 |
| 553 |
11043 |
2197 |
460 |
| 553 |
11044 |
2197 |
460 |
| 553 |
11045 |
2197 |
460 |
| 553 |
11046 |
2197 |
460 |
| 624 |
11027 |
1705 |
460 |
| 624 |
11028 |
1705 |
460 |
| 624 |
11029 |
1705 |
460 |
| 624 |
11030 |
1705 |
460 |
| 624 |
11031 |
1705 |
460 |
| 624 |
11032 |
1705 |
460 |
| 624 |
11033 |
1705 |
460 |
| 624 |
11034 |
1705 |
460 |
| 624 |
11035 |
1705 |
460 |
| 624 |
11036 |
1705 |
460 |
| 624 |
11037 |
1705 |
460 |
| 624 |
11038 |
1705 |
460 |
| 624 |
11039 |
1705 |
460 |
| 624 |
11040 |
1705 |
460 |
| 624 |
11041 |
1705 |
460 |
| 624 |
11042 |
1705 |
460 |
| 624 |
11043 |
1705 |
460 |
| 624 |
11044 |
1705 |
460 |
| 624 |
11045 |
1705 |
460 |
| 624 |
11046 |
1705 |
460 |
| 623 |
11027 |
1983 |
460 |
| 623 |
11028 |
2095 |
460 |
| 623 |
11029 |
2096 |
460 |
| 623 |
11030 |
2097 |
460 |
| 623 |
11031 |
2085 |
460 |
| 623 |
11032 |
2086 |
460 |
| 623 |
11033 |
2087 |
460 |
| 623 |
11034 |
2088 |
460 |
| 623 |
11035 |
2089 |
460 |
| 623 |
11036 |
2090 |
460 |
| 623 |
11037 |
1983 |
460 |
| 623 |
11038 |
2095 |
460 |
| 623 |
11039 |
2096 |
460 |
| 623 |
11040 |
2097 |
460 |
| 623 |
11041 |
2085 |
460 |
| 623 |
11042 |
2086 |
460 |
| 623 |
11043 |
2087 |
460 |
| 623 |
11044 |
2088 |
460 |
| 623 |
11045 |
2089 |
460 |
| 623 |
11046 |
2090 |
460 |