Query time 0.00132
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "2.63"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_pages",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"id_path"
],
"key": "id_path",
"used_key_parts": [
"id_path"
],
"key_length": "767",
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "6.25",
"index_condition": "(`eshopuga_upgr_4122`.`cscart_pages`.`id_path` like '4/%')",
"cost_info": {
"read_cost": "2.40",
"eval_cost": "0.01",
"prefix_cost": "2.41",
"data_read_per_join": "164"
},
"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",
"abt__ut2_microdata_schema_type"
],
"attached_condition": "((`eshopuga_upgr_4122`.`cscart_pages`.`status` = 'A') and (`eshopuga_upgr_4122`.`cscart_pages`.`page_type` in ('T','L','F','P')) and ((`eshopuga_upgr_4122`.`cscart_pages`.`usergroup_ids` = '') or find_in_set(0,`eshopuga_upgr_4122`.`cscart_pages`.`usergroup_ids`) or find_in_set(1,`eshopuga_upgr_4122`.`cscart_pages`.`usergroup_ids`)) and ((`eshopuga_upgr_4122`.`cscart_pages`.`use_avail_period` = 'N') or ((`eshopuga_upgr_4122`.`cscart_pages`.`use_avail_period` = 'Y') and (`eshopuga_upgr_4122`.`cscart_pages`.`avail_from_timestamp` <= 1733951522) and ((`eshopuga_upgr_4122`.`cscart_pages`.`avail_till_timestamp` >= 1733951522) or (`eshopuga_upgr_4122`.`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": [
"eshopuga_upgr_4122.cscart_pages.page_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.06",
"eval_cost": "0.01",
"prefix_cost": "2.49",
"data_read_per_join": "241"
},
"used_columns": [
"page_id",
"lang_code",
"page",
"description",
"meta_keywords",
"meta_description",
"page_title",
"link"
]
}
},
{
"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": [
"eshopuga_upgr_4122.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.06",
"eval_cost": "0.01",
"prefix_cost": "2.56",
"data_read_per_join": "108"
},
"used_columns": [
"name",
"object_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
},
{
"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": [
"eshopuga_upgr_4122.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.06",
"eval_cost": "0.01",
"prefix_cost": "2.64",
"data_read_per_join": "10"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "(`eshopuga_upgr_4122`.`cscart_ult_objects_sharing`.`share_object_id` = `eshopuga_upgr_4122`.`cscart_pages`.`page_id`)"
}
}
]
}
}
}