Query time 0.00086
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "7.68"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "range",
"possible_keys": [
"c_status",
"id_path"
],
"key": "id_path",
"used_key_parts": [
"id_path"
],
"key_length": "767",
"rows_examined_per_scan": 16,
"rows_produced_per_join": 0,
"filtered": "2.00",
"index_condition": "(`dbggbern`.`cscart_categories`.`id_path` like '226/%')",
"cost_info": {
"read_cost": "7.43",
"eval_cost": "0.03",
"prefix_cost": "7.46",
"data_read_per_join": "1K"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"company_id",
"usergroup_ids",
"status",
"position",
"is_trash",
"storefront_id"
],
"attached_condition": "(((`dbggbern`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`dbggbern`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`dbggbern`.`cscart_categories`.`usergroup_ids`))) and (`dbggbern`.`cscart_categories`.`status` = 'A') and (`dbggbern`.`cscart_categories`.`storefront_id` in (0,1)))"
}
},
{
"table": {
"table_name": "cscart_category_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id",
"lang_code"
],
"key_length": "9",
"ref": [
"dbggbern.cscart_categories.category_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.08",
"eval_cost": "0.03",
"prefix_cost": "7.57",
"data_read_per_join": "993"
},
"used_columns": [
"category_id",
"lang_code",
"category"
]
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"dispatch"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code",
"company_id"
],
"key_length": "210",
"ref": [
"dbggbern.cscart_categories.category_id",
"const",
"const",
"const",
"dbggbern.cscart_categories.company_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.08",
"eval_cost": "0.03",
"prefix_cost": "7.68",
"data_read_per_join": "555"
},
"used_columns": [
"name",
"object_id",
"company_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
Result
| category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
seo_name |
seo_path |
| 227 |
226 |
226/227 |
Sets |
10 |
A |
1 |
1 |
sets |
226 |
| 228 |
226 |
226/228 |
Displays |
20 |
A |
1 |
1 |
displays |
226 |
| 229 |
226 |
226/229 |
Boosters |
30 |
A |
1 |
1 |
boosters |
226 |
| 230 |
226 |
226/230 |
Einsteiger Produkte |
40 |
A |
1 |
1 |
einsteiger |
226 |
| 231 |
226 |
226/231 |
Weitere Produkte |
50 |
A |
1 |
1 |
weitere-produkte |
226 |
| 435 |
226 |
226/435 |
Japanische Produkte |
60 |
A |
1 |
1 |
japanische-produkte |
226 |
| 672 |
227 |
226/227/672 |
OP15 |
80 |
A |
1 |
1 |
op15 |
226/227 |
| 638 |
227 |
226/227/638 |
Heroines Edition EB-03 |
81 |
A |
1 |
1 |
eb-03 |
226/227 |
| 625 |
227 |
226/227/625 |
The Azure Seas Seven OP14 |
82 |
A |
1 |
1 |
op14 |
226/227 |
| 620 |
227 |
226/227/620 |
Carrying on his Will OP13 |
83 |
A |
1 |
1 |
op13 |
226/227 |
| 646 |
227 |
226/227/646 |
Premium Booster Vol.2 PRB-02 |
84 |
A |
1 |
1 |
prb02-premium-booster-vol-2 |
226/227 |
| 574 |
227 |
226/227/574 |
OP12 Legacy of the Master |
85 |
A |
1 |
1 |
op12 |
226/227 |
| 552 |
227 |
226/227/552 |
A Fist of Divine Speed OP11 |
86 |
A |
1 |
1 |
op11 |
226/227 |
| 553 |
227 |
226/227/553 |
Anime 25th Collection EB-02 |
87 |
A |
1 |
1 |
eb-02 |
226/227 |
| 497 |
227 |
226/227/497 |
Royal Blood OP10 |
88 |
A |
1 |
1 |
op10 |
226/227 |
| 479 |
227 |
226/227/479 |
The Four Emperors OP09 |
89 |
A |
1 |
1 |
the-four-emperors-op09 |
226/227 |
| 457 |
227 |
226/227/457 |
Premium Booster PRB-01 |
90 |
A |
1 |
1 |
premium-booster-prb-01 |
226/227 |
| 427 |
227 |
226/227/427 |
Two Legends OP08 |
91 |
A |
1 |
1 |
op08 |
226/227 |
| 406 |
227 |
226/227/406 |
500 Years into the Future OP07 |
92 |
A |
1 |
1 |
op07 |
226/227 |
| 397 |
227 |
226/227/397 |
Memorial Collection EB-01 |
93 |
A |
1 |
1 |
memorial-collection-eb-01 |
226/227 |
| 369 |
227 |
226/227/369 |
Wings of the Captain OP06 |
94 |
A |
1 |
1 |
flanked-by-legends-op06 |
226/227 |
| 354 |
227 |
226/227/354 |
Awakening of the New Era OP05 |
95 |
A |
1 |
1 |
protagonist-of-the-new-generation-op05 |
226/227 |
| 310 |
227 |
226/227/310 |
Kingdoms of Intrigue OP04 |
96 |
A |
1 |
1 |
kingdoms-of-intrigue-op04 |
226/227 |
| 278 |
227 |
226/227/278 |
Pillars of Strength OP03 |
97 |
A |
1 |
1 |
pillars-of-strength-op03 |
226/227 |
| 253 |
227 |
226/227/253 |
Paramount War OP02 |
98 |
A |
1 |
1 |
paramount-war-op02 |
226/227 |
| 232 |
227 |
226/227/232 |
Romance Dawn OP01 |
99 |
A |
1 |
1 |
romance-dawn-op01 |
226/227 |