Query time 0.00091
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "23.10"
},
"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": 2,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.50",
"eval_cost": "0.20",
"prefix_cost": "0.70",
"data_read_per_join": "208"
},
"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": 16,
"rows_produced_per_join": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.00",
"eval_cost": "3.20",
"prefix_cost": "11.90",
"data_read_per_join": "512"
},
"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": [
"softwarepirmam_hewadelivard_cscart_4.gpf.feature_id",
"softwarepirmam_hewadelivard_cscart_4.gp.product_id",
"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": "23.10",
"data_read_per_join": "24K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
group_id |
| 648 |
4406 |
1564 |
513 |
| 648 |
4401 |
1563 |
513 |
| 648 |
4400 |
1562 |
513 |
| 648 |
4399 |
1561 |
513 |
| 648 |
4398 |
1564 |
513 |
| 648 |
4397 |
1563 |
513 |
| 648 |
4396 |
1562 |
513 |
| 648 |
4395 |
1561 |
513 |
| 648 |
4394 |
1564 |
513 |
| 648 |
4405 |
1563 |
513 |
| 648 |
4404 |
1562 |
513 |
| 648 |
4403 |
1561 |
513 |
| 648 |
4402 |
1564 |
513 |
| 648 |
4393 |
1563 |
513 |
| 648 |
4392 |
1562 |
513 |
| 648 |
4384 |
1561 |
513 |
| 656 |
4406 |
1682 |
513 |
| 656 |
4401 |
1681 |
513 |
| 656 |
4400 |
1681 |
513 |
| 656 |
4399 |
1681 |
513 |
| 656 |
4398 |
1608 |
513 |
| 656 |
4397 |
1608 |
513 |
| 656 |
4396 |
1608 |
513 |
| 656 |
4395 |
1608 |
513 |
| 656 |
4394 |
1610 |
513 |
| 656 |
4405 |
1682 |
513 |
| 656 |
4404 |
1682 |
513 |
| 656 |
4403 |
1682 |
513 |
| 656 |
4402 |
1681 |
513 |
| 656 |
4393 |
1610 |
513 |
| 656 |
4392 |
1610 |
513 |
| 656 |
4384 |
1610 |
513 |