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