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