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