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