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