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