Query time 0.00064
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "54.60"
},
"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": 4,
"rows_produced_per_join": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.40",
"prefix_cost": "1.40",
"data_read_per_join": "416"
},
"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": 76,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.00",
"eval_cost": "7.60",
"prefix_cost": "28.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": 76,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.00",
"eval_cost": "7.60",
"prefix_cost": "54.60",
"data_read_per_join": "58K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
group_id |
| 553 |
10985 |
1324 |
458 |
| 553 |
10986 |
1324 |
458 |
| 553 |
10987 |
1324 |
458 |
| 553 |
10988 |
1324 |
458 |
| 553 |
10989 |
1324 |
458 |
| 553 |
10990 |
1324 |
458 |
| 553 |
10991 |
1324 |
458 |
| 553 |
10992 |
1324 |
458 |
| 553 |
10993 |
1324 |
458 |
| 553 |
10994 |
1324 |
458 |
| 553 |
10995 |
2197 |
458 |
| 553 |
10996 |
2197 |
458 |
| 553 |
10997 |
2197 |
458 |
| 553 |
10998 |
2197 |
458 |
| 553 |
10999 |
2197 |
458 |
| 553 |
11000 |
2197 |
458 |
| 553 |
11001 |
2197 |
458 |
| 553 |
11002 |
2197 |
458 |
| 553 |
11003 |
2197 |
458 |
| 553 |
11004 |
2197 |
458 |
| 624 |
10985 |
1705 |
458 |
| 624 |
10986 |
1705 |
458 |
| 624 |
10987 |
1705 |
458 |
| 624 |
10988 |
1705 |
458 |
| 624 |
10989 |
1705 |
458 |
| 624 |
10990 |
1705 |
458 |
| 624 |
10991 |
1705 |
458 |
| 624 |
10992 |
1705 |
458 |
| 624 |
10993 |
1705 |
458 |
| 624 |
10994 |
1705 |
458 |
| 624 |
10995 |
1705 |
458 |
| 624 |
10996 |
1705 |
458 |
| 624 |
10997 |
1705 |
458 |
| 624 |
10998 |
1705 |
458 |
| 624 |
10999 |
1705 |
458 |
| 624 |
11000 |
1705 |
458 |
| 624 |
11001 |
1705 |
458 |
| 624 |
11002 |
1705 |
458 |
| 624 |
11003 |
1705 |
458 |
| 624 |
11004 |
1705 |
458 |
| 623 |
10985 |
1983 |
458 |
| 623 |
10986 |
2095 |
458 |
| 623 |
10987 |
2096 |
458 |
| 623 |
10988 |
2097 |
458 |
| 623 |
10989 |
2085 |
458 |
| 623 |
10990 |
2086 |
458 |
| 623 |
10991 |
2087 |
458 |
| 623 |
10992 |
2088 |
458 |
| 623 |
10993 |
2089 |
458 |
| 623 |
10994 |
2090 |
458 |
| 623 |
10995 |
1983 |
458 |
| 623 |
10996 |
2095 |
458 |
| 623 |
10997 |
2096 |
458 |
| 623 |
10998 |
2097 |
458 |
| 623 |
10999 |
2085 |
458 |
| 623 |
11000 |
2086 |
458 |
| 623 |
11001 |
2087 |
458 |
| 623 |
11002 |
2088 |
458 |
| 623 |
11003 |
2089 |
458 |
| 623 |
11004 |
2090 |
458 |