Query time 0.00136
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "7.56"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_pages",
"access_type": "ALL",
"rows_examined_per_scan": 21,
"rows_produced_per_join": 1,
"filtered": "4.76",
"cost_info": {
"read_cost": "6.16",
"eval_cost": "0.20",
"prefix_cost": "6.36",
"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"
],
"attached_condition": "((`pankajecarter_hunters`.`cscart_pages`.`status` = 'A') and (`pankajecarter_hunters`.`cscart_pages`.`page_type` in ('T','B','F')) and ((`pankajecarter_hunters`.`cscart_pages`.`usergroup_ids` = '') or find_in_set(0,`pankajecarter_hunters`.`cscart_pages`.`usergroup_ids`) or find_in_set(1,`pankajecarter_hunters`.`cscart_pages`.`usergroup_ids`)) and ((`pankajecarter_hunters`.`cscart_pages`.`use_avail_period` = 'N') or ((`pankajecarter_hunters`.`cscart_pages`.`use_avail_period` = 'Y') and (`pankajecarter_hunters`.`cscart_pages`.`avail_from_timestamp` <= 1765568789) and ((`pankajecarter_hunters`.`cscart_pages`.`avail_till_timestamp` >= 1765568789) or (`pankajecarter_hunters`.`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": [
"pankajecarter_hunters.cscart_pages.page_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.20",
"prefix_cost": "7.56",
"data_read_per_join": "3K"
},
"used_columns": [
"page_id",
"lang_code",
"page"
]
}
}
]
}
}
}
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 |
| 2 |
0 |
0 |
2 |
A |
T |
0 |
1208808000 |
0 |
|
0 |
N |
0 |
0 |
|
About our company |
| 25 |
1 |
0 |
25 |
A |
T |
0 |
1485205200 |
0 |
|
0 |
N |
0 |
0 |
|
Acme Corporation: Join our loyalty program to get special prices |
| 27 |
0 |
0 |
27 |
A |
T |
0 |
1485205200 |
0 |
|
0 |
N |
0 |
0 |
|
Become our vendor with no transaction fee |
| 7 |
2 |
0 |
7 |
A |
B |
0 |
1415260800 |
0 |
|
0 |
N |
0 |
0 |
activity |
Blog |
| 30 |
0 |
0 |
30 |
A |
F |
0 |
1208808000 |
0 |
|
0 |
N |
0 |
0 |
|
Contact us |
| 20 |
0 |
0 |
20 |
A |
T |
0 |
1208808000 |
0 |
|
0 |
N |
0 |
0 |
|
Contacts |
| 4 |
0 |
0 |
4 |
A |
T |
0 |
1208808000 |
0 |
|
0 |
N |
0 |
0 |
|
Free Returns |
| 5 |
0 |
0 |
5 |
A |
T |
0 |
1208808000 |
0 |
|
0 |
N |
0 |
0 |
|
Free Shipping |
| 6 |
0 |
0 |
6 |
A |
T |
0 |
1208808000 |
0 |
|
0 |
N |
0 |
0 |
|
Low Price Guarantee |
| 1 |
0 |
0 |
1 |
A |
T |
0 |
1208808000 |
0 |
|
0 |
N |
0 |
0 |
|
Our team |
| 22 |
0 |
0 |
22 |
A |
T |
0 |
1208808000 |
0 |
|
0 |
N |
0 |
0 |
|
Payment and shipping |
| 3 |
0 |
0 |
3 |
A |
T |
0 |
1208808000 |
0 |
|
0 |
N |
0 |
0 |
|
Privacy policy |
| 21 |
0 |
0 |
21 |
A |
T |
0 |
1208808000 |
0 |
|
0 |
N |
0 |
0 |
|
Returns and Exchanges |
| 23 |
0 |
0 |
23 |
A |
T |
0 |
1208808000 |
0 |
|
0 |
N |
0 |
0 |
|
Reward points |
| 15 |
0 |
0 |
15 |
A |
T |
0 |
1453323600 |
0 |
|
0 |
N |
0 |
0 |
|
Vendor Terms & Conditions |
| 24 |
0 |
0 |
24 |
A |
T |
0 |
1485118800 |
0 |
|
0 |
N |
0 |
0 |
|
Welcome to Multi-Vendor demo marketplace! |
| 19 |
0 |
0 |
19 |
A |
T |
0 |
1208808000 |
0 |
|
0 |
N |
0 |
0 |
|
Why Buy Gift Certificates |
| 8 |
2 |
7 |
7/8 |
A |
B |
0 |
1415316000 |
0 |
|
0 |
N |
0 |
0 |
|
Check out CS-Cart Marketplace |
| 10 |
2 |
7 |
7/10 |
A |
B |
0 |
1415736000 |
0 |
|
0 |
N |
0 |
0 |
|
How to Distribute Money between Vendors |
| 9 |
2 |
7 |
7/9 |
A |
B |
0 |
1415526000 |
0 |
|
0 |
N |
0 |
0 |
|
Why You Need a Subscription Model for Your Vendors |