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