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