Query time 0.00380
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "0.58"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_tags",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"tag"
],
"key": "tag",
"used_key_parts": [
"tag"
],
"key_length": "767",
"ref": [
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "11.11",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.01",
"prefix_cost": "0.35",
"data_read_per_join": "87"
},
"used_columns": [
"tag_id",
"tag",
"timestamp",
"status"
],
"attached_condition": "(`s2cart`.`cscart_tags`.`status` = 'A')"
}
},
{
"table": {
"table_name": "cscart_tag_links",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"tag_id",
"ids"
],
"key": "PRIMARY",
"used_key_parts": [
"object_type"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "13.33",
"using_index": true,
"cost_info": {
"read_cost": "0.03",
"eval_cost": "0.00",
"prefix_cost": "0.39",
"data_read_per_join": "0"
},
"used_columns": [
"tag_id",
"object_type",
"object_id"
],
"attached_condition": "(`s2cart`.`cscart_tag_links`.`tag_id` = `s2cart`.`cscart_tags`.`tag_id`)"
}
},
{
"table": {
"table_name": "cscart_pages",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"page_id"
],
"key_length": "3",
"ref": [
"s2cart.cscart_tag_links.object_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "5.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.00",
"prefix_cost": "0.39",
"data_read_per_join": "1"
},
"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",
"staff_notes",
"abt__ut2_microdata_schema_type"
],
"attached_condition": "((`s2cart`.`cscart_pages`.`status` = 'A') and (`s2cart`.`cscart_pages`.`page_type` in ('T','L','B','F','P')) and ((`s2cart`.`cscart_pages`.`usergroup_ids` = '') or (0 <> find_in_set(0,`s2cart`.`cscart_pages`.`usergroup_ids`)) or (0 <> find_in_set(1,`s2cart`.`cscart_pages`.`usergroup_ids`))) and ((`s2cart`.`cscart_pages`.`use_avail_period` = 'N') or ((`s2cart`.`cscart_pages`.`use_avail_period` = 'Y') and (`s2cart`.`cscart_pages`.`avail_from_timestamp` <= 1732204289) and ((`s2cart`.`cscart_pages`.`avail_till_timestamp` >= 1732204289) or (`s2cart`.`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": [
"s2cart.cscart_tag_links.object_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.00",
"prefix_cost": "0.39",
"data_read_per_join": "5"
},
"used_columns": [
"page_id",
"lang_code",
"page",
"page_sitemap"
]
}
},
{
"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": [
"s2cart.cscart_tag_links.object_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 696,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.14",
"eval_cost": "0.05",
"prefix_cost": "0.58",
"data_read_per_join": "895"
},
"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 |
staff_notes |
abt__ut2_microdata_schema_type |
page |
tag_id |
object_type |
object_id |
tag |
seo_name |
seo_path |
page_sitemap |
69 |
0 |
0 |
69 |
A |
T |
0 |
1721843315 |
0 |
|
0 |
N |
0 |
0 |
activity |
|
|
Home - AquaWagon |
14 |
A |
69 |
Koi Fishes |
home-aquawagon |
|
|