Query time 0.00066
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "0.70"
},
"ordering_operation": {
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "b",
"access_type": "const",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"block_id"
],
"key_length": "4",
"ref": [
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.10",
"prefix_cost": "0.00",
"data_read_per_join": "224"
},
"used_columns": [
"block_id",
"type",
"properties",
"company_id",
"storefront_id"
]
}
},
{
"table": {
"table_name": "d",
"access_type": "const",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"block_id",
"lang_code"
],
"key_length": "10",
"ref": [
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.10",
"prefix_cost": "0.00",
"data_read_per_join": "208"
},
"used_columns": [
"block_id",
"lang_code",
"name"
]
}
},
{
"table": {
"table_name": "c",
"access_type": "ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"block_id"
],
"key_length": "4",
"ref": [
"const"
],
"rows_examined_per_scan": 2,
"rows_produced_per_join": 0,
"filtered": "2.50",
"backward_index_scan": true,
"cost_info": {
"read_cost": "0.50",
"eval_cost": "0.01",
"prefix_cost": "0.70",
"data_read_per_join": "11"
},
"used_columns": [
"snapping_id",
"object_id",
"object_type",
"block_id",
"lang_code",
"content"
],
"attached_condition": "((`s2cart`.`c`.`lang_code` = 'en') and (((`s2cart`.`c`.`object_id` = 276460) and (`s2cart`.`c`.`object_type` like 'products')) or ((`s2cart`.`c`.`object_id` = 0) and (`s2cart`.`c`.`object_type` like ''))))"
}
}
]
}
}
}
Result
block_id |
type |
properties |
company_id |
storefront_id |
lang_code |
name |
snapping_id |
object_id |
object_type |
content |
342 |
availability_in_stores |
a:1:{s:8:"template";s:51:"addons/warehouses/blocks/availability_in_stores.tpl";} |
0 |
1 |
en |
Availability in stores |
0 |
0 |
|
|