Query time 0.00532
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "41.86"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "companies",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 10,
"rows_produced_per_join": 1,
"filtered": "10.00",
"cost_info": {
"read_cost": "1.46",
"eval_cost": "0.10",
"prefix_cost": "1.56",
"data_read_per_join": "6K"
},
"used_columns": [
"company_id",
"status",
"company"
],
"attached_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`companies`.`status` = 'A')"
}
},
{
"table": {
"table_name": "c_var",
"access_type": "ref",
"possible_keys": [
"variant_id",
"lang_code",
"product_id",
"idx_product_feature_variant_id"
],
"key": "variant_id",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 80,
"rows_produced_per_join": 26,
"filtered": "32.51",
"cost_info": {
"read_cost": "20.00",
"eval_cost": "2.60",
"prefix_cost": "29.56",
"data_read_per_join": "20K"
},
"used_columns": [
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`c_var`.`lang_code` = 'ar')"
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status",
"idx_parent_product_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.c_var.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "5.00",
"cost_info": {
"read_cost": "6.50",
"eval_cost": "0.13",
"prefix_cost": "38.67",
"data_read_per_join": "5K"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"amount",
"usergroup_ids",
"tracking",
"parent_product_id"
],
"attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`products`.`company_id` = `softwarepirmam_hewadelivard_cscart_4`.`companies`.`company_id`) and (`softwarepirmam_hewadelivard_cscart_4`.`products`.`parent_product_id` = 0) and ((`softwarepirmam_hewadelivard_cscart_4`.`products`.`amount` > 0) or (`softwarepirmam_hewadelivard_cscart_4`.`products`.`tracking` = 'D')) and ((`softwarepirmam_hewadelivard_cscart_4`.`products`.`usergroup_ids` = '') or (0 <> find_in_set(0,`softwarepirmam_hewadelivard_cscart_4`.`products`.`usergroup_ids`)) or (0 <> find_in_set(1,`softwarepirmam_hewadelivard_cscart_4`.`products`.`usergroup_ids`))) and (`softwarepirmam_hewadelivard_cscart_4`.`products`.`status` = 'A') and (`softwarepirmam_hewadelivard_cscart_4`.`products`.`product_type` <> 'D'))"
}
},
{
"table": {
"table_name": "prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "product_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.c_var.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "99.93",
"cost_info": {
"read_cost": "0.33",
"eval_cost": "0.13",
"prefix_cost": "39.12",
"data_read_per_join": "31"
},
"used_columns": [
"product_id",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`prices`.`lower_limit` = 1) and (`softwarepirmam_hewadelivard_cscart_4`.`prices`.`usergroup_id` in (0,0,1)))"
}
},
{
"table": {
"table_name": "popularity",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"total"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.c_var.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.32",
"eval_cost": "0.13",
"prefix_cost": "39.58",
"data_read_per_join": "41"
},
"used_columns": [
"product_id",
"total"
]
}
},
{
"table": {
"table_name": "descr1",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"product_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id",
"lang_code"
],
"key_length": "9",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.c_var.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.33",
"eval_cost": "0.13",
"prefix_cost": "40.04",
"data_read_per_join": "5K"
},
"used_columns": [
"product_id",
"lang_code",
"product"
]
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"pt"
],
"key": "pt",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.c_var.product_id"
],
"rows_examined_per_scan": 2,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.65",
"eval_cost": "0.26",
"prefix_cost": "40.95",
"data_read_per_join": "41"
},
"used_columns": [
"product_id",
"category_id"
]
}
},
{
"table": {
"table_name": "cscart_categories",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.products_categories.category_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "5.00",
"cost_info": {
"read_cost": "0.65",
"eval_cost": "0.01",
"prefix_cost": "41.86",
"data_read_per_join": "416"
},
"used_columns": [
"category_id",
"storefront_id",
"usergroup_ids",
"status"
],
"attached_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`usergroup_ids`))) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`status` in ('A','H')) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`storefront_id` in (0,1)))"
}
}
]
}
}
}
}
Result
| product_id |
product |
company_name |
product_type |
parent_product_id |
| 3998 |
ديل DELL لابتوب XPS 14 9440 بشاشة 14.5" FHD+، مع معالج Core Ultra 7 155H، وذاكرة 16 جيجابايت DDR5 رام، وتخزين 512 جيجابايت SSD، مع رسومات مشتركة، ونظام تشغيل Win 11. |
Delivard Store |
P |
0 |
| 4573 |
Dell 19.5-Inch - E2020H-Series - شاشة مسطحة - 60Hz - استجابة 5ms - FHD |
Delivard Store |
P |
0 |
| 2117 |
ديل فوسترو 3530 بشاشة 15.6 بوصة، بمعالج i5-1334U، وذاكرة عشوائية 8 جيجابايت، وقرص صلب SSD بسعة 512 جيجابايت. |
Delivard Store |
P |
0 |
| 2115 |
ديل فوسترو 3520 بشاشة 15.6 بوصة، بمعالج i5-1235U، وذاكرة عشوائية 8 جيجابايت، وقرص صلب SSD بسعة 512 جيجابايت. |
Delivard Store |
P |
0 |
| 4041 |
ديل فيسترو 3530 لابتوب 15.6" FHD 120Hz - كور i5-1334U - 8GB DDR4 رام - 512GB SSD - مشترك - ويندوز 11 برو K |
Delivard Store |
P |
0 |
| 4644 |
Dell 27 بوصة - SE2722H-Series - شاشة مسطحة - 75Hz - وقت استجابة 5ms - Full HD |
Delivard Store |
P |
0 |
| 4030 |
ديل إنسبايرون 14 7440 لابتوب 2 في 1 قابل للتحويل بشاشة 14 بوصة FHD+ - إنتل كور 5 120U - رام 8 جيجابايت - SSD سعة 512 جيجابايت - كرت مشترك - ويندوز 11 هوم |
Delivard Store |
P |
0 |
| 2118 |
ديل فوسترو 3530 بشاشة 15.6 بوصة، بمعالج i7-1355U، وذاكرة عشوائية DDR4 بسعة 8 جيجابايت، وقرص صلب SSD بسعة 512 جيجابايت. |
Delivard Store |
P |
0 |
| 4641 |
Dell 19 بوصة سلسلة E1916HV - شاشة مسطحة - 60 هرتز - زمن استجابة 5 مللي ثانية - دقة عالية (HD) |
Delivard Store |
P |
0 |
| 2116 |
ديل فوسترو 3520 بشاشة 15.6 بوصة، بمعالج i7-1255U، وذاكرة عشوائية 16 جيجابايت، وقرص صلب SSD بسعة 512 جيجابايت. |
Delivard Store |
P |
0 |
| 4642 |
Dell 21.5 بوصة E2222H Series - شاشة مسطحة - 60 هرتز - زمن استجابة 5 مللي ثانية - FHD |
Delivard Store |
P |
0 |
| 4643 |
Dell 24 بوصة E2425H - شاشة مسطحة - 75 هرتز - زمن استجابة 5 مللي ثانية - دقة كاملة |
Delivard Store |
P |
0 |
| 4053 |
ديل لابتوب إنسبايرون 3520 15.6" شاشة لمس FHD - كور i5-1235U - 8GB رام - 512GB SSD - مشترك - ويندوز 10 برو K |
Delivard Store |
P |
0 |
| 3994 |
ديل DELL لابتوب XPS 16 9640 بشاشة FHD+ قياس 16.3 بوصة، مع معالج Core Ultra 7 155H، وذاكرة رام 16 جيجابايت، وتخزين SSD بسعة 1 تيرابايت، وبطاقة رسومات GeForce RTX 4050 بسعة 6 جيجابايت، يعمل بنظام ويندوز 11. |
Delivard Store |
P |
0 |
| 4042 |
ديل لابتوب فيسترو 3530 15.6" - كور i7-1355U - 8GB رام - 512GB SSD - مشترك - ويندوز مع مفتاح |
Delivard Store |
P |
0 |
| 4574 |
Dell 21.5-Inch - SE2222H-Series - شاشة مسطحة - 60Hz - زمن استجابة 5ms - FHD |
Delivard Store |
P |
0 |
| 4065 |
ديل فوسترو 3520 لابتوب 15.6" - كور i7-1255U - إس إس دي 512 جيجابايت - رام 16 جيجابايت - مشترك - ويندوز 10 برو K |
Delivard Store |
P |
0 |
| 4646 |
Dell 23.8 بوصة Series E2423H - شاشة مسطحة - 60Hz - 5ms زمن استجابة - FHD |
Delivard Store |
P |
0 |
| 4645 |
Dell 18.5-Inch E1920H Series - شاشة مسطحة - 60Hz - وقت استجابة 5 مللي ثانية - HD |
Delivard Store |
P |
0 |