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