Query time 0.00139
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "12.19"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "ALL",
"possible_keys": [
"PRIMARY",
"c_status",
"parent",
"p_category_id"
],
"rows_examined_per_scan": 68,
"rows_produced_per_join": 1,
"filtered": "2.00",
"cost_info": {
"read_cost": "7.77",
"eval_cost": "0.14",
"prefix_cost": "7.91",
"data_read_per_join": "4K"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"company_id",
"storefront_id",
"usergroup_ids",
"status",
"position",
"is_trash",
"ab__lc_catalog_image_control"
],
"attached_condition": "(((`cscartdevel`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`cscartdevel`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`cscartdevel`.`cscart_categories`.`usergroup_ids`))) and (`cscartdevel`.`cscart_categories`.`status` = 'A') and (`cscartdevel`.`cscart_categories`.`category_id` <> 264) and (`cscartdevel`.`cscart_categories`.`parent_id` <> 264) and (`cscartdevel`.`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": [
"cscartdevel.cscart_categories.category_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.34",
"eval_cost": "0.14",
"prefix_cost": "8.38",
"data_read_per_join": "4K"
},
"used_columns": [
"category_id",
"lang_code",
"category"
]
}
},
{
"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": [
"cscartdevel.cscart_categories.category_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 8,
"rows_produced_per_join": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.72",
"eval_cost": "1.09",
"prefix_cost": "12.19",
"data_read_per_join": "18K"
},
"used_columns": [
"name",
"object_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
Result
category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
seo_name |
seo_path |
ab__lc_catalog_image_control |
403 |
295 |
295/403 |
Do pieczenia |
0 |
A |
0 |
0 |
do-pieczenia-pl |
295 |
none |
404 |
391 |
295/391/404 |
Kasze, makarony i ryże |
0 |
A |
0 |
0 |
kasze-makarony-i-ryze |
295/391 |
none |
309 |
308 |
308/309 |
Kosmetyki |
10 |
A |
0 |
0 |
kosmetyki |
308 |
none |
315 |
314 |
314/315 |
Książki papierowe |
10 |
A |
0 |
0 |
ksiazki-o-zdrowym-stylu-zycia-i-ekologii |
314 |
none |
359 |
317 |
317/359 |
Olejki eteryczne |
10 |
A |
0 |
0 |
olejki-eteryczne |
317 |
none |
384 |
383 |
383/384 |
Poduszki do spania |
10 |
A |
0 |
0 |
poduszki-do-spania |
383 |
none |
374 |
373 |
373/374 |
Preparaty mikrobiologiczne |
10 |
A |
0 |
0 |
preparaty-mikrobiologiczne |
373 |
none |
331 |
313 |
313/331 |
Suplementy w kroplach |
10 |
A |
0 |
0 |
suplementy-w-kroplach |
313 |
none |
334 |
333 |
333/334 |
Zioła |
10 |
A |
0 |
0 |
ziola |
333 |
none |
295 |
0 |
295 |
Żywność |
10 |
A |
0 |
0 |
zywnosc |
|
none |
325 |
308 |
308/325 |
Mydła |
20 |
A |
0 |
0 |
mydla |
308 |
none |
298 |
295 |
295/298 |
Nabiał |
20 |
A |
0 |
0 |
nabial-pl |
295 |
none |
316 |
314 |
314/316 |
Warsztaty i kursy online |
20 |
A |
0 |
0 |
warsztaty-i-kursy-online |
314 |
none |
339 |
314 |
314/339 |
Ebooki |
30 |
A |
0 |
0 |
ebooki |
314 |
none |
402 |
383 |
383/402 |
Torby |
30 |
A |
0 |
0 |
torby |
383 |
none |
299 |
295 |
295/299 |
Zioła, przyprawy i buliony |
40 |
A |
0 |
0 |
ziola-i-przyprawy |
295 |
none |
300 |
295 |
295/300 |
Miód i produkty pszczele |
50 |
A |
0 |
0 |
miod-i-produkty-pszczele |
295 |
none |
301 |
295 |
295/301 |
Przetwory |
60 |
A |
0 |
0 |
przetwory-i-konfitury |
295 |
none |
303 |
295 |
295/303 |
Bakalie, nasiona i ziarna |
80 |
A |
0 |
0 |
bakalie-i-orzechy |
295 |
none |
308 |
0 |
308 |
Kosmetyki i higiena |
100 |
A |
0 |
0 |
kosmetyki-i-higiena |
|
none |
305 |
295 |
295/305 |
Oleje i tłuszcze |
100 |
A |
0 |
0 |
oleje |
295 |
none |
306 |
295 |
295/306 |
Produkty fermentowane |
110 |
A |
0 |
0 |
produkty-fermentowane |
295 |
none |
321 |
295 |
295/321 |
Soki |
130 |
A |
0 |
0 |
soki |
295 |
none |
313 |
0 |
313 |
Suplementy |
140 |
A |
0 |
0 |
suplementy |
|
none |
314 |
0 |
314 |
Książki i edukacja |
150 |
A |
0 |
0 |
ksiazki-i-edukacja |
|
none |
317 |
0 |
317 |
Relaks i wellbeing |
160 |
A |
0 |
0 |
relaks-i-wellbeing |
|
none |
324 |
295 |
295/324 |
Zdrowe słodycze, desery i przekąski |
160 |
A |
0 |
0 |
slodycze-i-przekaski |
295 |
none |
318 |
0 |
318 |
Rękodzieło |
170 |
A |
0 |
0 |
rekodzielo |
|
none |
319 |
0 |
319 |
AGD |
180 |
A |
0 |
0 |
agd |
|
none |
348 |
399 |
295/399/348 |
Pasty orzechowe |
180 |
A |
0 |
0 |
pasty |
295/399 |
none |
362 |
295 |
295/362 |
Dżemy |
190 |
A |
0 |
0 |
dzemy |
295 |
none |
363 |
295 |
295/363 |
Musy |
200 |
A |
0 |
0 |
musy |
295 |
none |
381 |
313 |
313/381 |
Prebiotyki i probiotyki |
210 |
A |
0 |
0 |
prebiotyki-i-probiotyki |
313 |
none |
386 |
391 |
295/391/386 |
Skrobia i mąki bezglutenowe |
210 |
A |
0 |
0 |
skrobia-i-maki-bezglutenowe |
295/391 |
none |
406 |
313 |
313/406 |
Suplementy w kapsułkach |
220 |
A |
0 |
0 |
suplementy-w-kapsulkach |
313 |
none |
392 |
391 |
295/391/392 |
Artykuły śniadaniowe |
230 |
A |
0 |
0 |
artykuly-sniadaniowe |
295/391 |
none |
407 |
313 |
313/407 |
Suplementy w proszku |
230 |
A |
0 |
0 |
suplementy-w-proszku |
313 |
none |
333 |
0 |
333 |
Dla zwierząt |
240 |
A |
0 |
0 |
dla-zwierzat |
|
none |
373 |
0 |
373 |
Uprawa roślin |
270 |
A |
0 |
0 |
uprawa-roslin |
|
none |
383 |
0 |
383 |
Wyposażenie domu |
280 |
A |
0 |
0 |
wyposazenie-domu |
|
none |
399 |
295 |
295/399 |
Pasty |
290 |
A |
0 |
0 |
pasty-pl |
295 |
none |
388 |
295 |
295/388 |
Rośliny strączkowe |
290 |
A |
0 |
0 |
rosliny-straczkowe-i-zboza |
295 |
none |
389 |
295 |
295/389 |
Herbaty, kawy i napoje |
300 |
A |
0 |
0 |
herbaty-i-napoje |
295 |
none |
390 |
295 |
295/390 |
Słodziki |
310 |
A |
0 |
0 |
slodziki |
295 |
none |
391 |
295 |
295/391 |
Produkty sypkie |
320 |
A |
0 |
0 |
produkty-sypkie |
295 |
none |
393 |
295 |
295/393 |
Kakao |
330 |
A |
0 |
0 |
kakao |
295 |
none |
394 |
295 |
295/394 |
Glony |
340 |
A |
0 |
0 |
glony |
295 |
none |
395 |
295 |
295/395 |
Owoce w puszce |
350 |
A |
0 |
0 |
do-pieczenia |
295 |
none |
396 |
295 |
295/396 |
Dania gotowe |
360 |
A |
0 |
0 |
dania-gotowe |
295 |
none |
397 |
295 |
295/397 |
Sosy |
370 |
A |
0 |
0 |
sosy |
295 |
none |
398 |
399 |
295/399/398 |
Pasty do kanapek |
380 |
A |
0 |
0 |
pasty-do-kanapek |
295/399 |
none |
401 |
295 |
295/401 |
Warzywa w puszce |
380 |
A |
0 |
0 |
warzywa-w-puszce |
295 |
none |
405 |
295 |
295/405 |
Grzyby suszone |
390 |
A |
0 |
0 |
grzyby-suszone |
295 |
none |
400 |
399 |
295/399/400 |
Pasty warzywne |
390 |
A |
0 |
0 |
pasty-warzywne |
295/399 |
none |