Query time 0.00066
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.08395904,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_pages.`timestamp` desc",
"table": {
"table_name": "cscart_pages",
"access_type": "ALL",
"loops": 1,
"rows": 24,
"cost": 0.0147668,
"filtered": 100,
"attached_condition": "cscart_pages.`status` = 'A' and cscart_pages.page_type = 'B' 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 <= 1777374830 and (cscart_pages.avail_till_timestamp >= 1777374830 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": ["u985510652_ecartify.cscart_pages.page_id", "const"],
"loops": 24,
"rows": 1,
"cost": 0.02638176,
"filtered": 100,
"attached_condition": "trigcond(cscart_page_descriptions.lang_code = 'en')"
}
},
{
"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": [
"u985510652_ecartify.cscart_pages.page_id",
"const",
"const",
"const"
],
"loops": 24,
"rows": 1,
"cost": 0.04281048,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'a' and cscart_seo_names.dispatch = '' and cscart_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 |
page |
seo_name |
seo_path |
| 41 |
0 |
7 |
7/41 |
A |
B |
0 |
1774809000 |
0 |
|
0 |
N |
0 |
0 |
activity |
Best Selling Products |
best-selling-products |
7 |
| 42 |
0 |
7 |
7/42 |
A |
B |
0 |
1774809000 |
0 |
|
0 |
N |
0 |
0 |
activity |
Most Popular Categories |
most-popular-categories |
7 |
| 43 |
0 |
7 |
7/43 |
A |
B |
0 |
1774809000 |
0 |
|
0 |
N |
0 |
0 |
activity |
How to Choose the Right |
how-to-choose-the-right |
7 |
| 10 |
0 |
7 |
7/10 |
A |
B |
0 |
1415736000 |
0 |
|
0 |
N |
0 |
0 |
|
How to Distribute Money between Vendors |
how-to-distribute-money-between-vendors |
7 |
| 9 |
0 |
7 |
7/9 |
A |
B |
0 |
1415526000 |
0 |
|
0 |
N |
0 |
0 |
|
Why You Need a Subscription Model for Your Vendors |
why-you-need-a-subscription-model-for-your-vendors |
7 |
| 7 |
0 |
0 |
7 |
A |
B |
0 |
1415336000 |
0 |
|
0 |
N |
0 |
0 |
|
Blog |
blog |
|
| 8 |
0 |
7 |
7/8 |
A |
B |
0 |
1415298600 |
0 |
|
0 |
N |
0 |
0 |
activity |
Check out CS-Cart Marketplace |
check-out-cs-cart-marketplace |
7 |