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