Query time 0.00079
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "39.61"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_product_options",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"option_id"
],
"key_length": "3",
"rows_examined_per_scan": 11,
"rows_produced_per_join": 11,
"filtered": "100.00",
"index_condition": "(`eshopuga_upgr_4122`.`cscart_product_options`.`option_id` in (2843,2844,2845,2846,2851,2849,2850,4171,2852,4170,4169))",
"cost_info": {
"read_cost": "24.21",
"eval_cost": "2.20",
"prefix_cost": "26.41",
"data_read_per_join": "25K"
},
"used_columns": [
"option_id",
"option_type"
]
}
},
{
"table": {
"table_name": "cscart_ult_objects_sharing",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"key_length": "159",
"ref": [
"eshopuga_upgr_4122.cscart_product_options.option_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "11.00",
"eval_cost": "2.20",
"prefix_cost": "39.61",
"data_read_per_join": "1K"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "(`eshopuga_upgr_4122`.`cscart_ult_objects_sharing`.`share_object_id` = `eshopuga_upgr_4122`.`cscart_product_options`.`option_id`)"
}
}
]
}
}
Result
type |
option_id |
C |
2843 |
C |
2844 |
C |
2845 |
C |
2846 |
S |
2849 |
S |
2850 |
S |
2851 |
C |
2852 |
S |
4169 |
S |
4170 |
S |
4171 |