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