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