Query time 0.00153
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_pages.position, cscart_page_descriptions.`page`",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "cscart_tags",
"access_type": "ref",
"possible_keys": ["PRIMARY", "tag"],
"key": "tag",
"key_length": "767",
"used_key_parts": ["tag"],
"ref": ["const"],
"rows": 1,
"filtered": 100,
"index_condition": "cscart_tags.tag = 'Sustainbility'",
"attached_condition": "cscart_tags.`status` = 'A'"
}
},
{
"table": {
"table_name": "cscart_tag_links",
"access_type": "ref",
"possible_keys": ["PRIMARY", "tag_id", "ids"],
"key": "ids",
"key_length": "6",
"used_key_parts": ["tag_id", "object_type"],
"ref": ["live_clonned.cscart_tags.tag_id", "const"],
"rows": 2,
"filtered": 100,
"attached_condition": "cscart_tag_links.object_type = 'A'",
"using_index": true
}
},
{
"table": {
"table_name": "cscart_pages",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["page_id"],
"ref": ["live_clonned.cscart_tag_links.object_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_pages.`status` = 'A' and cscart_pages.company_id in (0,1,27) and cscart_pages.page_type in ('T','L','B','F') and (cscart_pages.usergroup_ids = '' or find_in_set(0,cscart_pages.usergroup_ids) or find_in_set(1,cscart_pages.usergroup_ids)) and (cscart_pages.use_avail_period = 'N' or cscart_pages.use_avail_period = 'Y' and cscart_pages.avail_from_timestamp <= 1783379043 and (cscart_pages.avail_till_timestamp >= 1783379043 or cscart_pages.avail_till_timestamp = 0))"
}
},
{
"table": {
"table_name": "cscart_page_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["page_id", "lang_code"],
"ref": ["live_clonned.cscart_tag_links.object_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_page_descriptions.lang_code = 'es')"
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "206",
"used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
"ref": [
"live_clonned.cscart_tag_links.object_id",
"const",
"const",
"const"
],
"rows": 3,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'a' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'es')"
}
}
]
}
}
}
}
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 |
tag_id |
object_type |
object_id |
tag |
seo_name |
seo_path |
| 94 |
0 |
0 |
94 |
A |
T |
0 |
1631949902 |
0 |
|
0 |
N |
0 |
0 |
activity |
Green Impact Positive Impact Page |
9 |
A |
94 |
Sustainbility |
green-impact-positive-impact-page-es |
|
| 86 |
0 |
7 |
7/86 |
A |
B |
0 |
1631949902 |
0 |
|
0 |
N |
0 |
0 |
activity |
Ximena Corcuera’s Textile Storytelling |
9 |
A |
86 |
Sustainbility |
ximena-corcueras-textile-storytelling-es |
7 |