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