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