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