Query time 0.00132
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_categories.is_trash, cscart_categories.position, cscart_category_descriptions.category",
"temporary_table": {
"table": {
"table_name": "cscart_categories",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"c_status",
"parent",
"id_path",
"p_category_id"
],
"key": "id_path",
"key_length": "767",
"used_key_parts": ["id_path"],
"rows": 17,
"filtered": 100,
"index_condition": "cscart_categories.id_path like '1203/%'",
"attached_condition": "(cscart_categories.usergroup_ids = '' or find_in_set(0,cscart_categories.usergroup_ids) or find_in_set(1,cscart_categories.usergroup_ids)) and cscart_categories.`status` = 'A' and cscart_categories.category_id <> 265 and cscart_categories.parent_id <> 265 and cscart_categories.storefront_id in (0,1)"
},
"table": {
"table_name": "cscart_category_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["category_id", "lang_code"],
"ref": ["admin_test.cscart_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'ru')"
},
"table": {
"table_name": "cscart_seo_names",
"access_type": "ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "206",
"used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
"ref": [
"admin_test.cscart_categories.category_id",
"const",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'c' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'ru')"
}
}
}
}
}
Result
category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
seo_name |
seo_path |
ab__lc_catalog_image_control |
1215 |
1214 |
1203/1214/1215 |
Hoco |
0 |
A |
0 |
0 |
hoco |
1203/1214 |
none |
1216 |
1214 |
1203/1214/1216 |
Xiaomi |
0 |
A |
0 |
0 |
xiaomi |
1203/1214 |
none |
1210 |
1209 |
1203/1209/1210 |
Бутылки |
0 |
A |
0 |
0 |
butylki |
1203/1209 |
none |
1218 |
1217 |
1203/1217/1218 |
Рюкзаки |
0 |
A |
0 |
0 |
ryukzaki |
1203/1217 |
none |
1219 |
1217 |
1203/1217/1219 |
Сумки |
0 |
A |
0 |
0 |
sumki |
1203/1217 |
none |
1211 |
1209 |
1203/1209/1211 |
Термокружки |
0 |
A |
0 |
0 |
termokruzhki |
1203/1209 |
none |
1212 |
1209 |
1203/1209/1212 |
Термосы |
0 |
A |
0 |
0 |
termosy |
1203/1209 |
none |
1223 |
1203 |
1203/1223 |
Утюги |
0 |
A |
0 |
0 |
utyugi |
1203 |
none |
1209 |
1203 |
1203/1209 |
Посуда |
10 |
A |
0 |
0 |
posuda |
1203 |
none |
1207 |
1203 |
1203/1207 |
Ночники |
20 |
A |
0 |
0 |
nochniki |
1203 |
none |
1205 |
1203 |
1203/1205 |
Вентилятор |
30 |
A |
0 |
0 |
ventilyator |
1203 |
none |
1220 |
1203 |
1203/1220 |
Светильники |
40 |
A |
0 |
0 |
svetilniki |
1203 |
none |
1208 |
1203 |
1203/1208 |
Обогреватели |
50 |
A |
0 |
0 |
obogrevateli |
1203 |
none |
1214 |
1203 |
1203/1214 |
Робот-пылесос |
60 |
A |
0 |
0 |
robot-pylesos |
1203 |
none |
1217 |
1203 |
1203/1217 |
Рюкзаки и сумки |
70 |
A |
0 |
0 |
ryukzaki-i-sumki |
1203 |
none |
1221 |
1203 |
1203/1221 |
Увлажнители воздуха |
80 |
A |
0 |
0 |
uvlazhniteli-vozduha |
1203 |
none |
1204 |
1203 |
1203/1204 |
Бытовая Техника |
90 |
A |
0 |
0 |
bytovaya-tehnika |
1203 |
none |
1206 |
1203 |
1203/1206 |
Наборы Инструментов |
100 |
A |
0 |
0 |
nabory-instrumentov |
1203 |
none |
1213 |
1203 |
1203/1213 |
Прочие товары для дома |
110 |
A |
0 |
0 |
prochie-tovary-dlya-doma |
1203 |
none |
1222 |
1203 |
1203/1222 |
Удлинители / Сетевые фильтры |
150 |
A |
0 |
0 |
udliniteli-setevye-filtry |
1203 |
none |