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