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