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