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