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