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