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