Query time 0.00061
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "1.49"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_pages",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"parent_id"
],
"key": "parent_id",
"used_key_parts": [
"parent_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "6.67",
"index_condition": "(`satishecarter_march_003`.`cscart_pages`.`parent_id` <=> 7)",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.01",
"prefix_cost": "1.20",
"data_read_per_join": "169"
},
"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_march_003`.`cscart_pages`.`status` = 'A') and (`satishecarter_march_003`.`cscart_pages`.`page_type` = 'B') and ((`satishecarter_march_003`.`cscart_pages`.`usergroup_ids` = '') or find_in_set(0,`satishecarter_march_003`.`cscart_pages`.`usergroup_ids`) or find_in_set(1,`satishecarter_march_003`.`cscart_pages`.`usergroup_ids`)) and ((`satishecarter_march_003`.`cscart_pages`.`use_avail_period` = 'N') or ((`satishecarter_march_003`.`cscart_pages`.`use_avail_period` = 'Y') and (`satishecarter_march_003`.`cscart_pages`.`avail_from_timestamp` <= 1758351650) and ((`satishecarter_march_003`.`cscart_pages`.`avail_till_timestamp` >= 1758351650) or (`satishecarter_march_003`.`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_march_003.cscart_pages.page_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.07",
"eval_cost": "0.01",
"prefix_cost": "1.28",
"data_read_per_join": "257"
},
"used_columns": [
"page_id",
"lang_code",
"page"
]
}
},
{
"table": {
"table_name": "cscart_ult_objects_sharing",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"key_length": "159",
"ref": [
"satishecarter_march_003.cscart_pages.page_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.07",
"eval_cost": "0.01",
"prefix_cost": "1.36",
"data_read_per_join": "10"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "(`satishecarter_march_003`.`cscart_ult_objects_sharing`.`share_object_id` = `satishecarter_march_003`.`cscart_pages`.`page_id`)"
}
},
{
"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_march_003.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.12",
"eval_cost": "0.01",
"prefix_cost": "1.49",
"data_read_per_join": "115"
},
"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 |
8 |
1 |
7 |
7/8 |
A |
B |
0 |
1415316000 |
0 |
|
0 |
N |
0 |
0 |
|
Check out CS-Cart Marketplace |
check-out-cs-cart-marketplace |
7 |