Query time 0.13414
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "217.30"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "companies",
"access_type": "system",
"possible_keys": [
"PRIMARY",
"status"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.10",
"prefix_cost": "0.00",
"data_read_per_join": "5K"
},
"used_columns": [
"company_id",
"status",
"company"
]
}
},
{
"table": {
"table_name": "shared_descr",
"access_type": "system",
"possible_keys": [
"PRIMARY",
"product_id",
"company_id"
],
"rows_examined_per_scan": 0,
"rows_produced_per_join": 1,
"filtered": "0.00",
"const_row_not_found": true,
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.10",
"prefix_cost": "0.00",
"data_read_per_join": "3K"
},
"used_columns": [
"product_id",
"lang_code",
"company_id",
"product"
]
}
},
{
"table": {
"table_name": "cscart_categories",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id",
"storefront_id"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"rows_examined_per_scan": 15,
"rows_produced_per_join": 2,
"filtered": "19.97",
"index_condition": "(`unicomps`.`cscart_categories`.`category_id` in (445,446,479,447,448,449,450,451,452,453,454,460,461,458,651))",
"cost_info": {
"read_cost": "10.21",
"eval_cost": "0.30",
"prefix_cost": "10.51",
"data_read_per_join": "12K"
},
"used_columns": [
"category_id",
"storefront_id",
"usergroup_ids",
"status"
],
"attached_condition": "(((`unicomps`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`unicomps`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`unicomps`.`cscart_categories`.`usergroup_ids`))) and (`unicomps`.`cscart_categories`.`status` in ('A','H')) and (`unicomps`.`cscart_categories`.`storefront_id` in (0,1)))"
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"pt"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"unicomps.cscart_categories.category_id"
],
"rows_examined_per_scan": 274,
"rows_produced_per_join": 822,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.68",
"eval_cost": "82.25",
"prefix_cost": "94.44",
"data_read_per_join": "12K"
},
"used_columns": [
"product_id",
"category_id"
]
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"age_verification",
"status",
"idx_parent_product_id",
"usergroup_ids",
"timestamp",
"company_id",
"updated_timestamp"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"unicomps.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 73,
"filtered": "8.98",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "7.38",
"prefix_cost": "176.70",
"data_read_per_join": "482K"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"usergroup_ids",
"parent_product_id"
],
"attached_condition": "((`unicomps`.`products`.`company_id` = '1') and (`unicomps`.`products`.`parent_product_id` = 0) and ((`unicomps`.`products`.`usergroup_ids` = '') or (0 <> find_in_set(0,`unicomps`.`products`.`usergroup_ids`)) or (0 <> find_in_set(1,`unicomps`.`products`.`usergroup_ids`))) and (`unicomps`.`products`.`status` = 'A'))"
}
},
{
"table": {
"table_name": "popularity",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"total"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"unicomps.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 73,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "7.38",
"prefix_cost": "184.08",
"data_read_per_join": "2K"
},
"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": [
"unicomps.products_categories.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 73,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "7.38",
"prefix_cost": "191.46",
"data_read_per_join": "336K"
},
"used_columns": [
"product_id",
"lang_code",
"product"
]
}
},
{
"table": {
"table_name": "prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "usergroup",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"unicomps.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 18,
"filtered": "25.00",
"using_index": true,
"cost_info": {
"read_cost": "18.46",
"eval_cost": "1.85",
"prefix_cost": "217.30",
"data_read_per_join": "590"
},
"used_columns": [
"product_id",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`unicomps`.`prices`.`lower_limit` = 1) and (`unicomps`.`prices`.`usergroup_id` in (0,0,1)))"
}
}
]
}
}
}
}
Result
| product_id |
product |
company_name |
product_type |
parent_product_id |
| 315875 |
Жесткий диск серверный IBM 1TB 7.2K SAS SFF HDD (81Y9875) |
unicomps |
P |
0 |
| 315905 |
Жесткий диск серверный HP 146GB SAS-3Gb/s 300Mb/s 15k 3.5-inch (481271-001) |
unicomps |
P |
0 |
| 323397 |
Кабель JPC Cable MCIO x8 74P (прямой Straight Type) -TO- 2x HD MiniSAS 4i 36P (SFF8643, прямой Straight Type) , 85 Ohm, L:100cm (P7356DN11000-1) |
unicomps |
P |
0 |
| 323401 |
Жесткий диск серверный TOSHIBA 3.5" 24TB MG Series SATA3 6Gb/s 7200RPM 512MB Buffer (MG11ACA24TE) |
unicomps |
P |
0 |
| 325134 |
Жесткий диск серверный HP 1TB (U300/7200/64Mb) SATA DP 6G SFF (625618-006) |
unicomps |
P |
0 |
| 14991 |
Процессор серверный INTEL Socket 2011-3, Xeon E5-2680 v3, 12-ядерный, 2500 МГц, Haswell-EP, Кэш L2 - 3 Мб, Кэш L3 - 30 Мб, 22 нм, 120 Вт, OEM (CM8064401439612) |
unicomps |
P |
0 |
| 85379 |
Кабель HPE xt MiniSAS HD to MiniSAS HD 2m (716197-B21) |
unicomps |
P |
0 |
| 276603 |
Кабель ACD -DA-QSFP28-QSFP28-033m QSFP28-QSFP28, 100G, DAC twinax, 1,5m (ACD-DA-QSFP28-QSFP28-033m) |
unicomps |
P |
0 |
| 279485 |
HBA-адаптер BROADCOM 9600-24i SGL PCIe v4 x8 LP, Tri-Mode SAS/SATA/NVMe 24G HBA, 24port(3*int SFF8654), SAS4024 IOC, RTL (05-50111-01) |
unicomps |
P |
0 |
| 292592 |
Процессор серверный INTEL Xeon Silver 4514Y 16 Cores, 32 Threads, 2.0/3.4GHz, 30M, DDR5-4400, 2S, 150W OEM (PK8072205499600) |
unicomps |
P |
0 |
| 299552 |
Жесткий диск серверный LENOVO Express 500GB 2.5in SFF Slim-HS 7.2K 6Gbps NL SAS HDD (49Y3726) |
unicomps |
P |
0 |
| 301669 |
Жесткий диск серверный IBM 500Gb SAS (U600/7200/16Mb) 6G SFF HDD (42D0708) |
unicomps |
P |
0 |
| 302229 |
Память серверная HP SAMSUNG 32GB 4RX4 PC3L-10600L DDR3 SDRAM ECC REG (674727-581) |
unicomps |
P |
0 |
| 304271 |
RAID-контроллер BROADCOM MegaRAID 9560-8I SGL (05-50077-01 / 03-50077-01009) PCIe 4.0 x8 LP, SAS/SATA/NVMe, RAID 0,1,5,6,10,50,60, 8port(1 * int SFF8654), 4GB Cache, 3908ROC, RTL (007479) (05-50077-01009 / 03-50077-01009) |
unicomps |
P |
0 |
| 311272 |
Блок питания серверный HP 1200W Common Slot 277VAC Hot Plug Power Supply Kit (717359-B21) |
unicomps |
P |
0 |
| 311276 |
Блок питания серверный HP - 1200 Вт 12Volt Hot Plug (643956-211) |
unicomps |
P |
0 |
| 311278 |
Блок питания серверный HP SPS-PS1U 1200W 12V HTPLG RED LTN (710708-001) |
unicomps |
P |
0 |
| 315849 |
Плата расширения HP SPS-PCA 3S 2x8 x16 PCI-E M.2 riser (877946-001) |
unicomps |
P |
0 |
| 315879 |
Жесткий диск серверный IBM 146GB 15K SAS 2.5 HDD (42D0656) |
unicomps |
P |
0 |
| 315890 |
Жесткий диск серверный HP SAS 146Gb 15K 3.5 DP Hot-Plug (375874-012) |
unicomps |
P |
0 |
| 315907 |
Жесткий диск серверный HP 146GB SAS-300Mb/s 15k 3.5 (417797-001) |
unicomps |
P |
0 |
| 315918 |
Жесткий диск серверный HP 146GB 3G SAS 15K 3.5 SP HDD (376595-001) |
unicomps |
P |
0 |
| 315940 |
Дисковая корзина HP 380/385 Gen8 8-SFF Cage/Bkpln Kit (670943-001) |
unicomps |
P |
0 |
| 315949 |
Блок питания серверный LENOVO (IBM) - 1975 Вт Power Supply (49Y7760) |
unicomps |
P |
0 |
| 316080 |
Кабель LUXSHARE Slimline SASx8 to 2x U.2 Direct, 1M (L285SL028-SD-R) |
unicomps |
P |
0 |
| 316422 |
Жесткий диск серверный HP 146GB 15K SAS 3.5 N DP HDD (417855-B21) |
unicomps |
P |
0 |
| 325341 |
SSD накопитель серверный DELL 960GB SFF 2,5" SSD Data Center Read Intensive AG Drive U2 Gen4 NVMe U.2 Hot Plug (400-BMTJ) |
unicomps |
P |
0 |
| 254793 |
Сетевой адаптер HPE E Ethernet 10Gb 2-port SFP+ 57810S Adapter, PCIe 2.0, for Gen9/10 (652503-B21) (656244-001) |
unicomps |
P |
0 |
| 299513 |
Жесткий диск серверный LENOVO 500GB 2.5in SFF Slim-HS 7.2K 6Gbps NL SAS HDD (42D0707) |
unicomps |
P |
0 |
| 301767 |
Жесткий диск серверный IBM xSeries 500Gb (U600/7200/16Mb) 6G SFF HDD (42D0711) |
unicomps |
P |
0 |
| 311268 |
Блок питания серверный DELTA 1200 Вт Common Slot Platinum Plus (DPS-1200SB) |
unicomps |
P |
0 |
| 312729 |
Жесткий диск серверный HP 1.2TB SAS HDD - 10K, 6Gb/sec, SFF (697572-B21) |
unicomps |
P |
0 |
| 315213 |
Память серверная HP 4GB (1x4GB) SDRAM DIMM (595096-001) |
unicomps |
P |
0 |
| 315858 |
Память серверная HP 16GB 2Rx4 PC3-12800R-11 Kit (672612-081) |
unicomps |
P |
0 |
| 315900 |
Жесткий диск серверный HP 600GB 10K SAS 3PAR 6G SFF (727290-005) |
unicomps |
P |
0 |
| 315917 |
Жесткий диск серверный HP 146GB 3G SAS 15K 3.5 SP HDD (392254-003) |
unicomps |
P |
0 |
| 315937 |
Жесткий диск серверный IBM HDD xSeries 146Gb (U600/15000/16Mb) DP 6G 2,5 (44W2207) |
unicomps |
P |
0 |
| 315944 |
Брекет HPE высокий для ETHERNET 10GB 2-PORT BASE-T X550-AT2 ADAPTER (BRT-817738-B21-HP) |
unicomps |
P |
0 |
| 316051 |
Процессор серверный AMD EPYC 9475F X48 SP5 OEM 400W (100-000001143) |
unicomps |
P |
0 |
| 316079 |
Кабель LUXSHARE Slimline SASx8 to 8x U.3 Direct 1M (L285SL029-SD-R) |
unicomps |
P |
0 |
| 316206 |
Блок питания серверный ACD 1200W (2R1200 V2GW) |
unicomps |
P |
0 |
| 324559 |
Заглушка SUPERMICRO IO Shield (MCP-260-00182-0B) |
unicomps |
P |
0 |
| 64640 |
Материнская плата серверная SUPERMICRO Socket 1151, Intel C232, 4 слота DDR4 DIMM, 1600-2133 МГц, Aspeed AST2400, SATA: 6 Гбит/с - 6, microATX (MBD-X11SSL-F-B) |
unicomps |
P |
0 |
| 293151 |
Блок питания серверный QDION U1A-C20500-D P/N: 1U Single Server Power 500W Efficiency 80 Plus Silver, Cable connector: C14 (99SAC20500I1170110) |
unicomps |
P |
0 |
| 296861 |
Кабель DELL BOSS S2 Cables for R750, Cust Kit (403-BCNI) |
unicomps |
P |
0 |
| 305641 |
Жесткий диск серверный LENOVO HDD Ret 500GB NL-SATA 7.2K HS 2.5`` 6Gbs (81Y9726) (81Y9844) |
unicomps |
P |
0 |
| 307613 |
RAID-контроллер BROADCOM 9361-8i(2G) SGL (LSI00462 / ) PCIe 3.0 x8 LP, SAS/SATA 12G, RAID 0,1,5,6,10,50,60, 8port (2*int SFF8643), Cache 2GB, 3108ROC, RTL (R8i) (05-25420-17004 / 03-25420-08D) |
unicomps |
P |
0 |
| 311277 |
Блок питания серверный HP Integrity 1200W Common Slot (AM470A) |
unicomps |
P |
0 |
| 314526 |
Процессор серверный INTEL Xeon Gold 5520+, 2200/52.5M S4677 OEM S RN6L (PK8072205559300) |
unicomps |
P |
0 |
| 315919 |
Жесткий диск серверный HP 146GB 3G SAS 15K 3.5 SP HDD (375872-B21) |
unicomps |
P |
0 |
| 315936 |
Жесткий диск серверный HP Hewlett-Packard 146GB SAS 3.5 15K N (432093-B21) |
unicomps |
P |
0 |
| 316049 |
Процессор серверный AMD EPYC 9575F X64 SP5 OEM 400W (100-000001554) |
unicomps |
P |
0 |
| 323291 |
Кабель IBM USB 1.5M KVM Cable (39M2899) |
unicomps |
P |
0 |
| 324558 |
Заглушка SUPERMICRO I/O Shield (MCP-260-00164-0N) |
unicomps |
P |
0 |
| 325117 |
Жесткий диск серверный HP SPS-HDD 1TB 5200RPM SATA RAW 12.7mm (603788-001) |
unicomps |
P |
0 |
| 325288 |
Процессор серверный SUPERMICRO EMR 4510 2P 12C 2.4G 30MB 150W SGX64 (1xDSA) 7yr (P4X-EMR4510-SRN60-LCC) |
unicomps |
P |
0 |
| 133629 |
Сетевой адаптер BROADCOM NetXtreme N210G SGL 2 x 10G SFP+ OCP 3.0 Generic Mezzanine Ethernet Adapter (BCM957412N4120C) |
unicomps |
P |
0 |
| 265179 |
Сетевой адаптер HPE Broadcom BCM57412 Ethernet 10Gb 2-port SFP+ OCP3 Adapter for (P26256-B21) |
unicomps |
P |
0 |
| 273025 |
Заглушка SUPERMICRO - Standard I/O Shield for X11SCZ with EMI Gasket (MCP-260-00126-0N) |
unicomps |
P |
0 |
| 298721 |
Кабель ACD -SFF8644-60M, External, SFF8644 to SFF8644, 6m (аналог LSI00341) (6705057-600) (MD-6705057-600) |
unicomps |
P |
0 |
| 306823 |
HBA-адаптер BROADCOM SAS 9502-16i SGL OCP 3.0, PCIe v4 x8, Tri-Mode SAS/SATA/NVMe 12G HBA, 16port(2*int SFF8654), 3816 IOC, SGL (05-50137-02) |
unicomps |
P |
0 |
| 307582 |
Жесткий диск серверный HP MSA 4Tb SAS 6G 7.2K LFF (719770-004) |
unicomps |
P |
0 |
| 311271 |
Блок питания серверный HP 1200W Common Slot Platinum Plus Power Supply Kit (643933-001) |
unicomps |
P |
0 |
| 315901 |
Жесткий диск серверный HP 3PAR M6710 600GB 6G SAS 10K SFF (C8R72A) |
unicomps |
P |
0 |
| 315950 |
Блок питания серверный HP 500W FS Plat Ht Plg Pwr Supply Kit (723595-501) |
unicomps |
P |
0 |
| 316050 |
Процессор серверный AMD EPYC 9535 X64 SP5 OEM 300W (100-000001147) |
unicomps |
P |
0 |
| 323287 |
Память серверная HPE 1x16GB Dual Rank x8 DDR4-3200 CAS-22-22-22 Registered Smart Memory Kit (P21673-001) |
unicomps |
P |
0 |
| 323292 |
Жесткий диск серверный IBM 7.68TB Flash Drive 2.5 (02PX543) |
unicomps |
P |
0 |
| 323649 |
Память серверная HYNIX DDR5 64GB RDIMM 4800MHz (HMCG94MEBRA112N) |
unicomps |
P |
0 |
| 200976 |
SSD накопитель серверный DELL 1x1.92Tb SATA для 14G Hot Swapp 2.5" Mixed Use (400-AZTN) |
unicomps |
P |
0 |
| 300745 |
Жесткий диск серверный HP 2TB 6G SAS 7.2K rpm LFF (3.5-inch) SC Midline (MB2000FCVBV) |
unicomps |
P |
0 |
| 307583 |
Жесткий диск серверный HP MSA 4TB 6G SAS 7.2K LFF MDL HDD (718302-001) |
unicomps |
P |
0 |
| 311269 |
Блок питания серверный HP 1200W Common Slot Platinum Plus Power Supply Kit (660185-001) |
unicomps |
P |
0 |
| 312681 |
Жесткий диск серверный HP 300GB 15K SAS 3PAR SFF (5697-1842) |
unicomps |
P |
0 |
| 312769 |
Жесткий диск серверный EMC 300GB 15K SAS 6G LFF HDD (005050926) |
unicomps |
P |
0 |
| 315946 |
Блок питания серверный LENOVO (IBM) 1975W Hot-Swap Power Supply (69Y5917) |
unicomps |
P |
0 |
| 323483 |
Кулер серверный ALSEYE SNK-P0068AP4(with BK) TDP: 205WProduct Dimensions:91L x 88W x 64.5H (mm)Product Material: AL1100+4PIPE+FANSocket: LGA3647Fan Dimensions:60x60x25mm;Fan Speed:6800RPM±10%Voltage: DC 12VCurrent: 0.5~0.55A±10%Power: 6.0~6(AS.01.07.0139) |
unicomps |
P |
0 |
| 325116 |
Жесткий диск серверный HP SPS-HDD 1TB 5400RPM SATA RAW 2.5IN (676521-005) |
unicomps |
P |
0 |
| 301456 |
Жесткий диск серверный HP MSA 800GB 12G SAS Mixed-Use 2.5 in SSD (842783-002) |
unicomps |
P |
0 |
| 311270 |
Блок питания серверный HP 1200W Common Slot Platinum Plus Power Supply Kit (643956-201) |
unicomps |
P |
0 |