Query time 0.00089
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "3.04"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_pages",
"access_type": "ALL",
"rows_examined_per_scan": 18,
"rows_produced_per_join": 1,
"filtered": "5.56",
"cost_info": {
"read_cost": "2.24",
"eval_cost": "0.10",
"prefix_cost": "2.34",
"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": "((`betaatif_store`.`cscart_pages`.`status` = 'A') and (`betaatif_store`.`cscart_pages`.`page_type` in ('T','F')) and ((`betaatif_store`.`cscart_pages`.`usergroup_ids` = '') or (0 <> find_in_set(0,`betaatif_store`.`cscart_pages`.`usergroup_ids`)) or (0 <> find_in_set(1,`betaatif_store`.`cscart_pages`.`usergroup_ids`))) and ((`betaatif_store`.`cscart_pages`.`use_avail_period` = 'N') or ((`betaatif_store`.`cscart_pages`.`use_avail_period` = 'Y') and (`betaatif_store`.`cscart_pages`.`avail_from_timestamp` <= 1737177080) and ((`betaatif_store`.`cscart_pages`.`avail_till_timestamp` >= 1737177080) or (`betaatif_store`.`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": [
"betaatif_store.cscart_pages.page_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "2.69",
"data_read_per_join": "3K"
},
"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": [
"betaatif_store.cscart_pages.page_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "3.04",
"data_read_per_join": "1K"
},
"used_columns": [
"name",
"object_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 |
page |
seo_name |
seo_path |
31 |
0 |
0 |
31 |
A |
T |
0 |
1667595600 |
0 |
|
0 |
N |
0 |
0 |
activity |
|
التقسيط |
en-2 |
|
33 |
0 |
0 |
33 |
A |
T |
0 |
1670533200 |
0 |
|
0 |
N |
0 |
0 |
activity |
|
بروفايل التخفيضات |
sale |
|
34 |
0 |
0 |
34 |
A |
T |
0 |
1670619600 |
0 |
|
0 |
Y |
1670619600 |
0 |
activity |
|
بروفايل سكني |
sakani-en |
|
36 |
0 |
0 |
36 |
A |
T |
0 |
1675026000 |
0 |
|
0 |
N |
0 |
0 |
activity |
|
عرض تسهيل |
page36 |
|
25 |
0 |
0 |
25 |
A |
T |
1 |
1602709200 |
0 |
|
0 |
N |
0 |
0 |
activity |
|
About Us |
about-us-en |
|
26 |
0 |
0 |
26 |
A |
F |
2 |
1602709200 |
0 |
|
0 |
N |
0 |
0 |
activity |
|
Contact Us |
contact-us-en |
|
27 |
0 |
0 |
27 |
A |
T |
3 |
1603227600 |
0 |
|
0 |
N |
0 |
0 |
activity |
|
Terms and Conditions |
terms-and-conditions-en |
|
28 |
0 |
0 |
28 |
A |
T |
4 |
1603227600 |
0 |
|
0 |
N |
0 |
0 |
activity |
|
Privacy Policy |
privacy-policy-en |
|
29 |
0 |
0 |
29 |
A |
T |
5 |
1603227600 |
0 |
|
0 |
N |
0 |
0 |
activity |
|
Replacement and Returns Policy |
replacement-and-returns-policy-en |
|