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