Query time 0.00221
JSON explain
{
"query_block": {
"select_id": 1,
"temporary_table": {
"table": {
"table_name": "war_sum_amount",
"access_type": "system",
"possible_keys": ["PRIMARY"],
"rows": 0,
"filtered": 0,
"const_row_not_found": true
},
"table": {
"table_name": "warehouses_destination_products_amount",
"access_type": "system",
"possible_keys": ["PRIMARY", "idx_storefront_id"],
"rows": 0,
"filtered": 0,
"const_row_not_found": true
},
"table": {
"table_name": "cscart_categories",
"access_type": "ALL",
"possible_keys": ["PRIMARY", "c_status", "p_category_id"],
"rows": 99,
"filtered": 100,
"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` in ('A','H') and cscart_categories.storefront_id in (0,2)"
},
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": ["PRIMARY", "pt"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["cscart_purchase_fl_com.cscart_categories.category_id"],
"rows": 1,
"filtered": 100,
"using_index": true
},
"table": {
"table_name": "variation_group_products",
"access_type": "ref",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["cscart_purchase_fl_com.products_categories.product_id"],
"rows": 1,
"filtered": 29.36507988,
"attached_condition": "variation_group_products.group_id in (32,57,20,44,21,37,26,34,39,47)",
"using_index": true
},
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "status"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["cscart_purchase_fl_com.products_categories.product_id"],
"rows": 1,
"filtered": 99.34210205,
"attached_condition": "(case products.is_stock_split_by_warehouses when 'Y' then NULL else products.amount end > 0 or products.tracking = 'D') and (products.usergroup_ids = '' or find_in_set(0,products.usergroup_ids) or find_in_set(1,products.usergroup_ids)) and products.`status` = 'A'"
},
"table": {
"table_name": "shared_descr",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "product_id", "company_id"],
"key": "PRIMARY",
"key_length": "13",
"used_key_parts": ["product_id", "lang_code", "company_id"],
"ref": [
"cscart_purchase_fl_com.products_categories.product_id",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(shared_descr.lang_code = 'en')"
},
"table": {
"table_name": "descr1",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["product_id", "lang_code"],
"ref": ["cscart_purchase_fl_com.products_categories.product_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(descr1.lang_code = 'en')"
},
"block-nl-join": {
"table": {
"table_name": "companies",
"access_type": "ALL",
"possible_keys": ["PRIMARY"],
"rows": 3,
"filtered": 100,
"attached_condition": "companies.`status` = 'A'"
},
"buffer_type": "flat",
"buffer_size": "256Kb",
"join_type": "BNL",
"attached_condition": "companies.company_id = products.company_id"
}
}
}
}
Result
product_id |
amount |
product |
company_name |
variation_group_id |
product_type |
parent_product_id |
146 |
2 |
お父さん…HI,KIDS DADDY Tシャツ |
World Design Connect 公式ECサイト |
21 |
P |
0 |
149 |
2 |
まあ頑張ってるよ!「i'm not the best,but i'm trying my best.」Tシャツ |
World Design Connect 公式ECサイト |
20 |
P |
0 |
150 |
1 |
馬の描き方って知ってる?「HOW TO DRAW A HORSE」(馬の描き方) Tシャツ |
World Design Connect 公式ECサイト |
57 |
P |
0 |
181 |
1 |
まあ頑張ってるよ!「i'm not the best,but i'm trying my best.」Tシャツ |
World Design Connect 公式ECサイト |
20 |
V |
149 |
182 |
2 |
まあ頑張ってるよ!「i'm not the best,but i'm trying my best.」Tシャツ |
World Design Connect 公式ECサイト |
20 |
V |
149 |
183 |
2 |
お父さん…HI,KIDS DADDY Tシャツ |
World Design Connect 公式ECサイト |
21 |
V |
146 |
184 |
2 |
お父さん…HI,KIDS DADDY Tシャツ |
World Design Connect 公式ECサイト |
21 |
V |
146 |
193 |
1 |
シンプル・イズ・ベスト グレーのボーダー柄 Tシャツ |
World Design Connect 公式ECサイト |
26 |
P |
0 |
258 |
1 |
だって人類だもの「the HUMAN BEINGS」Tシャツ |
World Design Connect 公式ECサイト |
44 |
P |
0 |
259 |
1 |
だって人類だもの「the HUMAN BEINGS」Tシャツ |
World Design Connect 公式ECサイト |
44 |
V |
258 |
111 |
1 |
山奥の谷間で横笛を吹くパンダ「横笛パンダ」Tシャツ |
World Design Connect 公式ECサイト |
32 |
P |
0 |
129 |
2 |
レオナルド・ダ・ヴィンチの人体の調和?「パンダウィトルウィウス」Tシャツ |
World Design Connect 公式ECサイト |
39 |
P |
0 |
131 |
2 |
勇気を出さないとシロクマはパンダになれない?「パンダカラー」Tシャツ |
World Design Connect 公式ECサイト |
47 |
P |
0 |
211 |
1 |
山奥の谷間で横笛を吹くパンダ「横笛パンダ」Tシャツ |
World Design Connect 公式ECサイト |
32 |
V |
111 |
213 |
1 |
山奥の谷間で横笛を吹くパンダ「横笛パンダ」Tシャツ |
World Design Connect 公式ECサイト |
32 |
P |
0 |
216 |
1 |
山奥の谷間で横笛を吹くパンダ「横笛パンダ」Tシャツ |
World Design Connect 公式ECサイト |
32 |
P |
0 |
225 |
1 |
パンダの微笑みも魅惑的?「パナ・リザ」Tシャツ |
World Design Connect 公式ECサイト |
34 |
P |
0 |
233 |
1 |
KISSのようなコープス・ペイントをしたパンダが可愛い!「YOU ROCKパンダ」Tシャツ |
World Design Connect 公式ECサイト |
37 |
P |
0 |
237 |
1 |
レオナルド・ダ・ヴィンチの人体の調和?「パンダウィトルウィウス」Tシャツ |
World Design Connect 公式ECサイト |
39 |
V |
129 |
273 |
1 |
勇気を出さないとシロクマはパンダになれない?「パンダカラー」Tシャツ |
World Design Connect 公式ECサイト |
47 |
V |
131 |
274 |
1 |
勇気を出さないとシロクマはパンダになれない?「パンダカラー」Tシャツ |
World Design Connect 公式ECサイト |
47 |
V |
131 |