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