Query time 0.00154
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "68.00"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_pages",
"access_type": "ALL",
"rows_examined_per_scan": 313,
"rows_produced_per_join": 0,
"filtered": "0.32",
"cost_info": {
"read_cost": "65.40",
"eval_cost": "0.20",
"prefix_cost": "65.60",
"data_read_per_join": "2K"
},
"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",
"abt__ut2_microdata_schema_type"
],
"attached_condition": "((`webmarco`.`cscart_pages`.`company_id` = 541) and (`webmarco`.`cscart_pages`.`status` = 'A') and (`webmarco`.`cscart_pages`.`page_type` = 'V') and ((`webmarco`.`cscart_pages`.`usergroup_ids` = '') or find_in_set(0,`webmarco`.`cscart_pages`.`usergroup_ids`) or find_in_set(1,`webmarco`.`cscart_pages`.`usergroup_ids`)) and ((`webmarco`.`cscart_pages`.`use_avail_period` = 'N') or ((`webmarco`.`cscart_pages`.`use_avail_period` = 'Y') and (`webmarco`.`cscart_pages`.`avail_from_timestamp` <= 1732921478) and ((`webmarco`.`cscart_pages`.`avail_till_timestamp` >= 1732921478) or (`webmarco`.`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": [
"webmarco.cscart_pages.page_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.20",
"prefix_cost": "66.80",
"data_read_per_join": "5K"
},
"used_columns": [
"page_id",
"lang_code",
"page",
"description",
"meta_keywords",
"meta_description",
"page_title",
"link",
"ab__custom_page_h1",
"page_sitemap"
]
}
},
{
"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": [
"webmarco.cscart_pages.page_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.20",
"prefix_cost": "68.00",
"data_read_per_join": "1K"
},
"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 |
abt__ut2_microdata_schema_type |
lang_code |
page |
description |
meta_keywords |
meta_description |
page_title |
link |
ab__custom_page_h1 |
page_sitemap |
seo_name |
seo_path |
443 |
541 |
0 |
443 |
A |
V |
0 |
1706482800 |
0 |
|
0 |
N |
0 |
0 |
blog |
|
en |
test |
<p>Test Page Description</p> |
|
|
|
|
|
|
test-kids |
|