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