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