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