Query time 0.00074
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "1.69"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_ab__is_attributes",
"access_type": "ref",
"possible_keys": [
"storefront_id"
],
"key": "storefront_id",
"used_key_parts": [
"storefront_id"
],
"key_length": "4",
"ref": [
"const"
],
"rows_examined_per_scan": 7,
"rows_produced_per_join": 2,
"filtered": "30.00",
"using_index": true,
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.21",
"prefix_cost": "0.95",
"data_read_per_join": "33"
},
"used_columns": [
"is_id",
"storefront_id",
"attribute_type",
"object_type"
],
"attached_condition": "(`s2cart`.`cscart_ab__is_attributes`.`object_type` in ('C','P','F'))"
}
},
{
"table": {
"table_name": "is_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"is_id",
"lang_code"
],
"key_length": "9",
"ref": [
"s2cart.cscart_ab__is_attributes.is_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.53",
"eval_cost": "0.21",
"prefix_cost": "1.69",
"data_read_per_join": "4K"
},
"used_columns": [
"is_id",
"lang_code",
"prefix",
"text",
"suffix"
]
}
}
]
}
}
Result
is_id |
storefront_id |
attribute_type |
object_type |
lang_code |
prefix |
text |
suffix |
value |
5 |
1 |
A |
C |
en |
|
[text] |
|
[text] |
9 |
1 |
A |
F |
en |
|
[text] |
|
[text] |
1 |
1 |
A |
P |
en |
|
[text], image [image_num] |
|
[text], image [image_num] |
13 |
1 |
N |
P |
en |
|
, [n] image |
|
, [n] image |
7 |
1 |
T |
C |
en |
|
[text] |
|
[text] |
11 |
1 |
T |
F |
en |
|
[text] |
|
[text] |
3 |
1 |
T |
P |
en |
|
[text], image [image_num] |
|
[text], image [image_num] |