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