Query time 0.00131
JSON explain
{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "vi_pages.`timestamp` desc",
"table": {
"table_name": "vi_pages",
"access_type": "ref",
"possible_keys": ["PRIMARY", "parent_id"],
"key": "parent_id",
"key_length": "3",
"used_key_parts": ["parent_id"],
"ref": ["const"],
"rows": 8,
"filtered": 100,
"attached_condition": "vi_pages.parent_id <=> 7 and vi_pages.`status` = 'A' and vi_pages.page_type = 'B' and (vi_pages.usergroup_ids = '' or find_in_set(0,vi_pages.usergroup_ids) or find_in_set(1,vi_pages.usergroup_ids)) and (vi_pages.use_avail_period = 'N' or vi_pages.use_avail_period = 'Y' and vi_pages.avail_from_timestamp <= 1776414423 and (vi_pages.avail_till_timestamp >= 1776414423 or vi_pages.avail_till_timestamp = 0))"
}
}
}
},
{
"table": {
"table_name": "vi_page_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["page_id", "lang_code"],
"ref": ["devvipiriscom.vi_pages.page_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(vi_page_descriptions.lang_code = 'en')"
}
},
{
"table": {
"table_name": "vi_ult_objects_sharing",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "159",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"ref": ["devvipiriscom.vi_pages.page_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "vi_ult_objects_sharing.share_object_id = vi_pages.page_id and vi_ult_objects_sharing.share_object_type = 'pages'",
"using_index": true
}
},
{
"table": {
"table_name": "vi_seo_names",
"access_type": "ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "206",
"used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
"ref": ["devvipiriscom.vi_pages.page_id", "const", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(vi_seo_names.`type` = 'a' and vi_seo_names.dispatch = '' and vi_seo_names.lang_code = 'en')"
}
}
]
}
}
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_code |
page |
seo_name |
seo_path |
| 41 |
1 |
7 |
7/41 |
A |
B |
100 |
1773421943 |
0 |
|
0 |
N |
0 |
0 |
activity |
|
|
For those who love sound quality we have awesome Pioneer speakers! (Демо) |
for-those-who-love-sound-quality-we-have-awesome-pioneer-speakers-demo |
7 |
| 42 |
1 |
7 |
7/42 |
A |
B |
200 |
1773421943 |
0 |
|
0 |
N |
0 |
0 |
activity |
|
|
New arrivals of Nintendo Wii games! (Демо) |
new-arrivals-of-nintendo-wii-games-demo |
7 |
| 43 |
1 |
7 |
7/43 |
A |
B |
300 |
1773421943 |
0 |
|
0 |
N |
0 |
0 |
activity |
|
|
Only in our store! Famous American WeatherMaster tents! (Демо) |
only-in-our-store-famous-american-weathermaster-tents-demo |
7 |