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