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