Czas zapytania: 61.73 ms Po ostatnim zapytaniu: 3.17 ms Pamięć zapytania: 0.025 MB Pamięć przed zapytaniem: 11.320 MB Zwróconych wierszy: 4
SELECT SUM(orderitem_quantity) as ordered, product_id
FROM ecenu_k2store_orderitems
WHERE product_id IN (16410, 16021, 16323, 16082, 16404, 15909, 15544, 16248, 15445, 15410, 15945, 15462, 16108, 15999, 15610, 16306, 15840, 16267, 15749, 16004, 15467, 16420, 16181, 15657, 15598, 15701, 15801, 15875, 16417, 15551, 16355, 15488, 16208, 16210, 15724, 16230, 15643, 15524, 16336, 15613, 16434, 15733, 15499, 16034, 15500, 16182, 16162, 16432, 15539, 15570, 16250, 16363, 15498, 15605, 16114, 15534, 15857, 15891, 15995, 15731, 15423, 15532, 15674, 15479, 15541, 15514, 16026, 15880, 15700, 15830, 16394, 16111, 16318, 15831, 16332, 16222, 15751, 15713, 15475, 16073, 16167, 15592, 15646, 16409, 15944, 16297, 15431, 16406, 15620, 15784, 16029, 15871, 15791, 15829, 15806, 15501, 16196, 16102, 15518, 15649, 16279, 16305, 16015, 15704, 15979, 15835, 15621, 16099, 16389, 16396, 15412, 15619, 16141, 15752, 16239, 15836, 15779, 16287, 15419, 16413, 15922, 15387, 16374, 15472, 15451, 15443, 15636, 15936, 15484, 15644, 15781, 16220, 15879, 15828, 15441, 16233, 15825, 15834, 15591, 15943, 15754, 15672, 16431, 15782, 15439, 16113, 15576, 16319, 15931, 15526, 15757, 15819, 16229, 15447, 15727, 16166, 15788, 15918, 15607, 15832, 16322, 16382, 15659, 15730, 15937, 15560, 15883, 15430, 16060, 16393, 15575, 16110, 16121, 16077, 16183, 16379, 15559, 16380, 15394, 16299, 15463, 15963, 15994, 15435, 16058, 15770, 15522, 15827, 15597, 16206, 15453, 15398, 15961, 16096, 16340, 15735, 16265, 15586, 15739, 15512, 15905, 15876, 16253, 15571, 16338, 15590, 15386, 16331, 16164, 15958, 15686, 15519, 15577, 16291, 15954, 15758, 15664, 15821, 16373, 16371, 16238, 15609, 16259, 15853, 15555, 15740, 16178, 16227, 15485, 16020, 16116, 15885, 15407, 16378, 15748, 15574, 15773, 15528, 16427, 16090, 15894, 16405, 16159, 15708, 15765, 15629, 15411, 15429, 15729, 15738, 15383, 16130, 15837, 15476, 15760, 15792, 15628, 16224, 16341, 16155, 16109, 15966, 16039, 15952, 16335, 16085, 15540, 15684, 15639, 16036, 15427, 15787, 15469, 15622, 15525, 15579, 15652, 16046, 15382, 15968, 16100, 15804, 15855, 16051, 15847, 16295, 15992, 15886, 15861, 16119, 15561, 15817, 16107, 16403, 16203, 15584, 15409, 16035, 15385, 16354, 15455, 15721, 15983, 16014, 15564, 16256, 15400, 15691, 16298, 15928, 16262, 15930, 15503, 16047, 16243, 16260, 16388, 15436, 15612, 16276, 15753, 15890, 16024, 16273, 16223, 16042, 15911, 16093, 15673, 16038, 15456, 16385, 15458, 16052, 16237, 16126, 15669, 15783, 16095, 15692, 15870, 15720, 16377, 16070, 16212, 15440, 16329, 15873, 15573, 16225, 16001, 15405, 16033, 16384, 15523, 15502, 15529, 16398, 16040, 16423, 16131, 16293, 15694, 15614, 16105, 15603, 15513, 15808, 15608, 16381, 15582, 15927, 16290, 16241, 15766, 15728, 15535, 16050, 15566, 15985, 16356, 16277, 15962, 16092, 15696, 16370, 15769, 15778, 15650, 16019, 15450, 15810, 15515, 16081, 15642, 16349, 15747, 16135, 15811, 15454, 16288, 15867, 15989, 15844, 16063, 15786, 16301, 16127, 15916, 16275, 16125, 16137, 15404, 15648, 16296, 15490, 16350, 15858, 16078, 16022, 15474, 15903, 16104, 16138, 16310, 16190, 15480, 16421, 15920, 15908, 15915, 15384, 15393, 15790, 15585, 15679, 15938, 15556, 16037, 16416, 15689, 15866, 15852, 16254, 16079, 15426, 15719, 15892, 16149, 16098, 16249, 15631, 15710, 15630, 16062, 15709, 16122, 15557, 15895, 15913, 15537, 15424, 16186, 15750, 16209, 15929, 15706, 16245, 15406, 16117, 16068, 15981, 15675, 16365, 16376, 16089, 16094, 15397, 15663, 15616, 16008, 16303, 15688, 16056, 16353, 15974, 16106, 16187, 15465, 15896, 16189, 15726, 16337, 15468, 15651, 16179, 16214, 16408, 15606, 15722, 16320, 15998, 15809, 16049, 15611, 16163, 15904, 16176, 15433, 15823, 15655, 15444, 16345, 15863, 15683, 15761, 15618, 16425, 15494, 15969, 15506, 15615, 15902, 16289, 15536, 16284, 15723, 16304, 15848, 16133, 15656, 15645, 16136, 15780, 15741, 16312, 15860, 15504, 15941, 15756, 16235, 16360, 15774, 16199, 15452, 16255, 16369, 15717, 16156, 16006, 15906, 16012, 15839, 16327, 16270, 16266, 15878, 16118, 15668, 15872, 15833, 15403, 15924, 15434, 16364, 15746, 16160, 15942, 16177, 15785, 15956, 15898, 15772, 16002, 16103, 16158, 15802, 16386, 15965, 15990, 15914, 16268, 15800, 16316, 16430, 15471, 15973, 15841, 16247, 16165, 15677, 16401, 15496, 15449, 16339, 15815, 15580, 15531, 16228, 15509, 16202, 16064, 16343, 15865, 16154, 15399, 16169, 15552, 15888, 15516, 15459, 16419, 15759, 16246, 15578, 15813, 15923, 16146, 16152, 16258, 15803, 16392, 15939, 15389, 15991, 15805, 16234, 16191, 16357, 16061, 15680, 15703, 15868, 16362, 16150, 15563, 16054, 15718, 15698, 16324, 15542, 15505, 15948, 15993, 16011, 16028, 15599, 15967, 15764, 16366, 15589, 15420, 15392, 15604, 15687, 16282, 15882, 16129, 15482, 16361, 15975, 15654, 16330, 15661, 16359, 15955, 16269, 16123, 15422, 16075, 15507, 15714, 16143, 16197, 15984, 15395, 15565, 15797, 15970, 15446, 15457, 15637, 16219, 15743, 16390, 16030, 15940, 15693, 15658, 16294, 15418, 15716, 15849, 15533, 15917, 15548, 16016, 15627, 15814, 16313, 16205, 15583, 16342, 15921, 16045, 15842, 15734, 15695, 15662, 16151, 15538, 16048, 15602, 15601, 15396, 15843, 15665, 16000, 15762, 15887, 15626, 15901, 16215, 16184, 15776, 16044, 16435, 16271, 16232, 16180, 15795, 15959, 15569, 15520, 16065, 15933, 15508, 16221, 15421, 16218, 15681, 15486, 16204, 16053, 15415, 15489, 15587, 15442, 16057, 15690, 16192, 15417, 15510, 16367, 15682, 15899, 16086, 15553, 15725, 15401, 15807, 16334, 16003, 15697, 16281, 15820, 16286, 16368, 15859, 15812, 15640, 15971, 16426, 16059, 15402, 15744, 15976, 15796, 16317, 15497, 16174, 16407, 16067, 15705, 15745, 15980, 15972, 16383, 15666, 15957, 15667, 15543, 16071, 15517, 15481, 16236, 16231, 15567, 15988, 15617, 16013, 16066, 15986, 16134, 15549, 15919, 15699, 15997, 15545, 16074, 15594, 15572, 15854, 16144, 16387, 15755, 15850, 16411, 16402, 15816, 16307, 15953, 16399, 15408, 15685, 15438, 15926, 16333, 16025, 16314, 15671, 16142, 15464, 15996, 15483, 16007, 16120, 15568, 15491, 15448, 16264, 15864, 15889, 16348, 16193, 15493, 16091, 15951, 15845, 15678, 15964, 15946, 15771, 16076, 15935, 15869, 15987, 16157, 15877, 15822, 16139, 15660, 16010, 15932, 15487, 15742, 16278, 16087, 16351, 15977, 16226, 16148, 15632, 15547, 16009, 16261, 15546, 15413, 16344, 15638, 16084, 16201, 16032, 15775, 16252, 15711, 16285, 16433, 15492, 15414, 16055, 15838, 15732, 15960, 15521, 16041, 16018, 16124, 16274, 16429, 15768, 15595, 15862, 16153, 16242, 15470, 16244, 16346, 16326, 15511, 15912, 16395, 16283, 15910, 15550, 16414, 16194, 16272, 15925, 16200, 15554, 16112, 16072, 16308, 16358, 15391, 15466, 16347, 16213, 15653, 15777, 16115, 15562, 16198, 16211, 15799, 16257, 15633, 15558, 16424, 16023, 16132, 15794, 15600, 16412, 16185, 15893, 15530, 16422, 16391, 15625, 15707, 16428, 15736, 15715, 16321, 16147, 15824, 16302, 15641, 16140, 16043, 16005, 15826, 16207, 15982, 15978, 15712, 16080, 15390, 16069, 15793, 16173, 16161, 15647, 15763, 16397, 15950, 15527, 16325, 15634, 16170, 15437, 16263, 16240, 16311, 15460, 15702, 16418, 16217, 15884, 15670, 15846, 15477, 15425, 16195, 15623, 15588, 16175, 15949, 16128, 15432, 15624, 15473, 16171, 15596, 15851, 16031, 16172, 16375, 15798, 16027, 15416, 16372, 16168, 16188, 16017, 15900, 15461, 15881, 15789, 15856, 16328, 15676, 15767, 16083, 16101, 16300, 15934, 15478, 15897, 16145, 15635, 16400, 16315, 15388, 16292, 16088, 15907, 16352, 15818, 16097, 15737, 15874, 16216, 15428, 15581, 15495, 16251, 16309, 16415, 15593, 16280, 15947)
GROUP BY product_id
ORDER BY ordered DESC
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|
| 1 | PRIMARY | ecenu_k2store_orderitems | ALL | NULL | Nie można korzystać z żadnych kluczy indeksowych. | NULL | NULL | 121033 | Using temporary; Uruchomiono metodę filesort |
| 1 | PRIMARY | <subquery2> | eq_ref | distinct_key | distinct_key | 4 | func | 1 | |
| 2 | MATERIALIZED | <derived3> | ALL | NULL | Nie można korzystać z żadnych kluczy indeksowych. | NULL | NULL | 1054 | |
| 3 | DERIVED | NULL | NULL | NULL | Nie można korzystać z żadnych kluczy indeksowych. | NULL | NULL | NULL | No tables used |
| Status | Duration |
|---|
| Starting | 0.38 ms |
| Checking permissions | 0.01 ms |
| Opening tables | 0.02 ms |
| After opening tables | 0.01 ms |
| System lock | 0.01 ms |
| Table lock | 0.01 ms |
| Init | 0.22 ms |
| Optimizing | 0.25 ms |
| Statistics | 0.03 ms |
| Preparing | 0.03 ms |
| Creating tmp table | 0.02 ms |
| Sorting result | 0.02 ms |
| Executing | 0.01 ms |
| Sending data | 0.19 ms |
| Removing tmp table | 0.01 ms |
| Sending data | 59.86 ms |
| Creating sort index | 0.05 ms |
| Removing tmp table | 0.01 ms |
| Creating sort index | 0.01 ms |
| End of update loop | 0.01 ms |
| Removing tmp table | 0.01 ms |
| End of update loop | 0.01 ms |
| Query end | 0.01 ms |
| Commit | 0.01 ms |
| Closing tables | 0.01 ms |
| Removing tmp table | 0.01 ms |
| Closing tables | 0.01 ms |
| Unlocking tables | 0.01 ms |
| Closing tables | 0.01 ms |
| Starting cleanup | 0.01 ms |
| Freeing items | 0.06 ms |
| Updating status | 0.03 ms |
| Reset for next command | 0.01 ms |
| # | Wywołujący | Plik i numer linii |
|---|
| 20 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 |
| 19 | JDatabaseDriver->loadObjectList() | JROOT/modules/mod_rrrk2_content/helper.php:569 |
| 18 | modrrrK2ContentHelper::getItemsOrderedInfo() | JROOT/modules/mod_rrrk2_content/helper.php:256 |
| 17 | modrrrK2ContentHelper::getItems() | JROOT/modules/mod_rrrk2_content/mod_rrrk2_content.php:64 |
| 16 | include JROOT/modules/mod_rrrk2_content/mod_rrrk2_content.php | JROOT/libraries/src/Helper/ModuleHelper.php:200 |
| 15 | Joomla\CMS\Helper\ModuleHelper::renderModule() | JROOT/templates/stacjabiuro2023/html/com_k2/templates/stacja-biuro/item.php:866 |
| 14 | include JROOT/templates/stacjabiuro2023/html/com_k2/templates/stacja-biuro/item.php | JROOT/libraries/src/MVC/View/HtmlView.php:701 |
| 13 | Joomla\CMS\MVC\View\HtmlView->loadTemplate() | JROOT/libraries/src/MVC/View/HtmlView.php:230 |
| 12 | Joomla\CMS\MVC\View\HtmlView->display() | JROOT/components/com_k2/views/item/view.html.php:521 |
| 11 | K2ViewItem->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:664 |
| 10 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_k2/controllers/controller.php:19 |
| 9 | K2Controller->display() | JROOT/components/com_k2/controllers/item.php:74 |
| 8 | K2ControllerItem->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:702 |
| 7 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/components/com_k2/k2.php:64 |
| 6 | require_once JROOT/components/com_k2/k2.php | JROOT/libraries/src/Component/ComponentHelper.php:402 |
| 5 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT/libraries/src/Component/ComponentHelper.php:377 |
| 4 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:194 |
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 |
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 |
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:53 |