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