Query time 0.00085
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "8.15"
},
"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": 17,
"rows_produced_per_join": 0,
"filtered": "2.00",
"index_condition": "(`dbggbern`.`cscart_categories`.`id_path` like '57/%')",
"cost_info": {
"read_cost": "7.88",
"eval_cost": "0.03",
"prefix_cost": "7.91",
"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.09",
"eval_cost": "0.03",
"prefix_cost": "8.03",
"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.09",
"eval_cost": "0.03",
"prefix_cost": "8.15",
"data_read_per_join": "590"
},
"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 |
| 258 |
57 |
57/258 |
MetaZoo TCG |
0 |
A |
1 |
1 |
metazoo-tcg |
57 |
| 664 |
57 |
57/664 |
Altered TCG new |
88 |
A |
1 |
1 |
altered-tcg-new |
57 |
| 663 |
57 |
57/663 |
Digimon TCG |
89 |
A |
1 |
1 |
digimon-tcg |
57 |
| 622 |
57 |
57/622 |
Bushiroad Trading Card Game |
90 |
A |
1 |
1 |
bushiroad-trading-card-game |
57 |
| 627 |
57 |
57/627 |
Mapniverse |
91 |
A |
1 |
1 |
mapniverse |
57 |
| 613 |
57 |
57/613 |
Life TCG |
92 |
A |
1 |
1 |
life-tcg |
57 |
| 619 |
57 |
57/619 |
Godzilla TCG |
93 |
A |
1 |
1 |
godzilla-tcg |
57 |
| 572 |
57 |
57/572 |
Gundam Card Game |
94 |
A |
1 |
1 |
gundam-card-game |
57 |
| 363 |
57 |
57/363 |
Grand Archive TCG |
95 |
A |
1 |
1 |
grand-archive-tcg |
57 |
| 337 |
57 |
57/337 |
Sorcery TCG |
96 |
A |
1 |
1 |
sorcery-tcg |
57 |
| 298 |
57 |
57/298 |
Shadowverse: Evolve |
97 |
A |
1 |
1 |
shadowverse-evolve |
57 |
| 322 |
57 |
57/322 |
Final Fantasy TCG |
98 |
A |
1 |
1 |
final-fantasy-tcg |
57 |
| 505 |
57 |
57/505 |
Hololive Official Card Game |
99 |
A |
1 |
1 |
hololive-official-card-game-jp |
57 |
| 618 |
57 |
57/618 |
Love Live! Series Official Card Game |
100 |
A |
1 |
1 |
love-live-series-official-card-game |
57 |
| 562 |
57 |
57/562 |
Naruto Kayou |
111 |
A |
1 |
1 |
naruto-kayou |
57 |
| 503 |
57 |
57/503 |
The Quintessential Quintuplets Card Game - JP |
113 |
A |
1 |
1 |
the-quintessential-quintuplets-card-game-jp |
57 |
| 486 |
57 |
57/486 |
Universus CCG: Attack on Titan |
114 |
A |
1 |
1 |
universus-ccg-attack-on-titan |
57 |
| 478 |
57 |
57/478 |
Sand Land Tactical Card Battle |
115 |
A |
1 |
1 |
sand-land-tactical-card-battle |
57 |
| 291 |
57 |
57/291 |
Battle Spirits Saga |
180 |
A |
1 |
1 |
battle-spirits-saga |
57 |
| 94 |
57 |
57/94 |
Universal Fighting System |
200 |
A |
1 |
1 |
universal-fighting-system |
57 |
| 323 |
57 |
57/323 |
Marvel Mission Arena TCG |
220 |
A |
1 |
1 |
marvel-mission-arena-tcg |
57 |
| 336 |
57 |
57/336 |
Solforge Fusion |
230 |
A |
1 |
1 |
solforge-fusion |
57 |
| 371 |
57 |
57/371 |
Build Divine TCG |
260 |
A |
1 |
1 |
build-divine-tcg |
57 |
| 372 |
57 |
57/372 |
Union Arena |
270 |
A |
1 |
1 |
union-arena |
57 |
| 405 |
57 |
57/405 |
Rebirth for You |
280 |
A |
1 |
1 |
rebirth-for-you |
57 |
| 437 |
57 |
57/437 |
My Hero Academia CCG |
290 |
A |
1 |
1 |
my-hero-academia-ccg |
57 |
| 632 |
57 |
57/632 |
Minecraft |
300 |
A |
1 |
1 |
minecraft |
57 |