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