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