Query time 0.00078
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "5.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "0.14"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_pages",
"access_type": "range",
"possible_keys": [
"id_path"
],
"key": "id_path",
"used_key_parts": [
"id_path"
],
"key_length": "767",
"rows_examined_per_scan": 3,
"rows_produced_per_join": 0,
"filtered": "4.76",
"index_condition": "(`satishecarter_dec_setup_001`.`cscart_pages`.`id_path` like '7/%')",
"cost_info": {
"read_cost": "5.18",
"eval_cost": "0.03",
"prefix_cost": "5.21",
"data_read_per_join": "362"
},
"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": "((`satishecarter_dec_setup_001`.`cscart_pages`.`status` = 'A') and (`satishecarter_dec_setup_001`.`cscart_pages`.`page_type` = 'B') and ((`satishecarter_dec_setup_001`.`cscart_pages`.`usergroup_ids` = '') or find_in_set(0,`satishecarter_dec_setup_001`.`cscart_pages`.`usergroup_ids`) or find_in_set(1,`satishecarter_dec_setup_001`.`cscart_pages`.`usergroup_ids`)) and ((`satishecarter_dec_setup_001`.`cscart_pages`.`use_avail_period` = 'N') or ((`satishecarter_dec_setup_001`.`cscart_pages`.`use_avail_period` = 'Y') and (`satishecarter_dec_setup_001`.`cscart_pages`.`avail_from_timestamp` <= 1737165949) and ((`satishecarter_dec_setup_001`.`cscart_pages`.`avail_till_timestamp` >= 1737165949) or (`satishecarter_dec_setup_001`.`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": [
"satishecarter_dec_setup_001.cscart_pages.page_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.14",
"eval_cost": "0.03",
"prefix_cost": "5.38",
"data_read_per_join": "552"
},
"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": [
"satishecarter_dec_setup_001.cscart_pages.page_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.26",
"eval_cost": "0.03",
"prefix_cost": "5.67",
"data_read_per_join": "248"
},
"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 |
page |
seo_name |
seo_path |
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 |
8 |
0 |
7 |
7/8 |
A |
B |
0 |
1415316000 |
0 |
|
0 |
N |
0 |
0 |
|
Check out CS-Cart Marketplace |
check-out-cs-cart-marketplace |
7 |