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