Query time 0.00077
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "0.78"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_pages",
"access_type": "ref",
"possible_keys": [
"parent_id"
],
"key": "parent_id",
"used_key_parts": [
"parent_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 2,
"rows_produced_per_join": 0,
"filtered": "5.56",
"cost_info": {
"read_cost": "0.50",
"eval_cost": "0.01",
"prefix_cost": "0.70",
"data_read_per_join": "281"
},
"used_columns": [
"page_id",
"company_id",
"parent_id",
"id_path",
"status",
"page_type",
"position",
"timestamp",
"usergroup_ids",
"localization",
"new_window",
"use_avail_period",
"avail_from_timestamp",
"avail_till_timestamp",
"facebook_obj_type"
],
"attached_condition": "((`nuie_scalesta_net`.`cscart_pages`.`status` = 'A') and (`nuie_scalesta_net`.`cscart_pages`.`company_id` in (0,2,8,9,10)) and (`nuie_scalesta_net`.`cscart_pages`.`page_type` = 'B') and ((`nuie_scalesta_net`.`cscart_pages`.`usergroup_ids` = '') or (0 <> find_in_set(0,`nuie_scalesta_net`.`cscart_pages`.`usergroup_ids`)) or (0 <> find_in_set(1,`nuie_scalesta_net`.`cscart_pages`.`usergroup_ids`))) and ((`nuie_scalesta_net`.`cscart_pages`.`use_avail_period` = 'N') or ((`nuie_scalesta_net`.`cscart_pages`.`use_avail_period` = 'Y') and (`nuie_scalesta_net`.`cscart_pages`.`avail_from_timestamp` <= 1771813445) and ((`nuie_scalesta_net`.`cscart_pages`.`avail_till_timestamp` >= 1771813445) or (`nuie_scalesta_net`.`cscart_pages`.`avail_till_timestamp` = 0)))))"
}
},
{
"table": {
"table_name": "cscart_page_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"page_id",
"lang_code"
],
"key_length": "9",
"ref": [
"nuie_scalesta_net.cscart_pages.page_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.03",
"eval_cost": "0.01",
"prefix_cost": "0.74",
"data_read_per_join": "429"
},
"used_columns": [
"page_id",
"lang_code",
"page"
]
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"dispatch"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code"
],
"key_length": "206",
"ref": [
"nuie_scalesta_net.cscart_pages.page_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.03",
"eval_cost": "0.01",
"prefix_cost": "0.78",
"data_read_per_join": "192"
},
"used_columns": [
"name",
"object_id",
"company_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
Result
| page_id |
company_id |
parent_id |
id_path |
status |
page_type |
position |
timestamp |
usergroup_ids |
localization |
new_window |
use_avail_period |
avail_from_timestamp |
avail_till_timestamp |
facebook_obj_type |
page |
seo_name |
seo_path |
| 30 |
2 |
27 |
27/30 |
A |
B |
0 |
1659654000 |
0 |
|
0 |
N |
0 |
0 |
activity |
The Right Tap For You |
the-right-tap-for-you |
27 |
| 29 |
2 |
27 |
27/29 |
A |
B |
0 |
1657148400 |
0 |
|
0 |
N |
0 |
0 |
activity |
Squeeze More Storage out of Your Bathroom |
squeeze-more-storage-out-of-your-bathroom |
27 |