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