Query time 0.00063
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "9.46"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "ref",
"possible_keys": [
"c_status",
"parent"
],
"key": "parent",
"used_key_parts": [
"parent_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 26,
"rows_produced_per_join": 0,
"filtered": "2.00",
"cost_info": {
"read_cost": "6.50",
"eval_cost": "0.05",
"prefix_cost": "9.10",
"data_read_per_join": "2K"
},
"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.13",
"eval_cost": "0.05",
"prefix_cost": "9.28",
"data_read_per_join": "1K"
},
"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.13",
"eval_cost": "0.05",
"prefix_cost": "9.46",
"data_read_per_join": "902"
},
"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 |
| 276 |
0 |
276 |
Neujahrs Angebote |
5 |
A |
1 |
1 |
bundles |
|
| 66 |
0 |
66 |
Tournament & Event Registration |
8 |
A |
1 |
1 |
tournament-registration |
|
| 7 |
0 |
7 |
Zubehör |
10 |
A |
1 |
1 |
zubehoer |
|
| 597 |
0 |
597 |
Sport Sammelkarten |
12 |
A |
1 |
1 |
sport-cards |
|
| 1 |
0 |
1 |
Magic: the Gathering |
15 |
A |
1 |
1 |
mtg |
|
| 36 |
0 |
36 |
Pokémon TCG |
20 |
A |
1 |
1 |
pokemon |
|
| 226 |
0 |
226 |
One Piece |
25 |
A |
1 |
1 |
one-piece |
|
| 325 |
0 |
325 |
Disney Lorcana |
30 |
A |
1 |
1 |
lorcana |
|
| 400 |
0 |
400 |
Star Wars: Unlimited |
35 |
A |
1 |
1 |
star-wars-unlimited |
|
| 29 |
0 |
29 |
Dragon Ball Super |
40 |
A |
1 |
1 |
dbs |
|
| 41 |
0 |
41 |
Yu-Gi-Oh! |
45 |
A |
1 |
1 |
yu-gi-oh |
|
| 59 |
0 |
59 |
Flesh & Blood TCG |
50 |
A |
1 |
1 |
flesh-and-blood-tcg |
|
| 614 |
0 |
614 |
Riftbound: League of Legends TCG |
54 |
A |
1 |
1 |
riftbound-league-of-legends-tcg |
|
| 58 |
0 |
58 |
Weiss / Schwarz |
55 |
A |
1 |
1 |
weiss-schwarz |
|
| 57 |
0 |
57 |
Weitere TCGs |
65 |
A |
1 |
1 |
weitere-sammelkartenspiele |
|
| 151 |
0 |
151 |
Dungeons & Dragons RPG |
125 |
A |
1 |
1 |
dungeons-and-dragons |
|
| 257 |
0 |
257 |
Gutschein |
130 |
A |
1 |
1 |
gutschein |
|
| 170 |
0 |
170 |
Spiele |
140 |
A |
1 |
1 |
games |
|
| 181 |
0 |
181 |
Sammelobjekte |
145 |
A |
1 |
1 |
merchandise |
|
| 436 |
0 |
436 |
Einzelkarten |
240 |
A |
1 |
1 |
einzelkarten-de |
|
| 639 |
0 |
639 |
force |
260 |
A |
1 |
1 |
force |
|
| 660 |
0 |
660 |
BAG |
270 |
A |
1 |
1 |
bag |
|
| 666 |
0 |
666 |
Doom of Dimensions |
280 |
A |
1 |
1 |
doom-of-dimensions |
|