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