PgHero

Live Queries

5 queries

Pid Duration State
3803013 00:02:41 idle in transaction
odoo
SELECT *
                                       FROM ir_cron
                                       WHERE numbercall != 0
                                          AND active
                                          AND nextcall <= (now() at time zone 'UTC')
                                          AND id=17
                                       FOR UPDATE NOWAIT
3801650 32.9 s active
odoo
DELETE FROM mrp_product_produce WHERE id IN (9972782, 9972783, 9972784, 9972785, 9972786, 9972787, 9972788, 9972789, 9974704, 9974705, 9975573, 9975574, 9975575, 9975576, 9975577, 9975578, 9975579, 9975580, 9975581, 9975582, 9975583, 9975584, 9975585, 9975586, 9975587, 9975588, 9975589, 9975590, 9975591, 9975592, 9975593, 9975594, 9975595, 9975596, 9975597, 9975598, 9975599, 9975600, 9975601, 9975602, 9975603, 9975604, 9975605, 9975606, 9975607, 9975608, 9975609, 9975610, 9975611, 9975612, 9975613, 9975614, 9975615, 9975616, 9975617, 9975618, 9975619, 9975620, 9975621, 9975622, 9975623, 9975624, 9975625, 9975626, 9975627, 9975628, 9975629, 9975630, 9975631, 9975632, 9975633, 9975634, 9975635, 9975636, 9975637, 9975638, 9975639, 9975640, 9975641, 9975642, 9975643, 9975644, 9975645, 9975646, 9975647, 9975648, 9975649, 9975650, 9975651, 9975652, 9975653, 9975654, 9975655, 9975656, 9975657, 9972790, 9972791, 9972792, 9974706, 9974707, 9974708, 9974709, 9974710, 9974711, 9974712, 9974713, 9974714, 9974715, 997471
3804217 22.1 s idle in transaction
odoo
SELECT *
                                       FROM ir_cron
                                       WHERE numbercall != 0
                                          AND active
                                          AND nextcall <= (now() at time zone 'UTC')
                                          AND id=7
                                       FOR UPDATE NOWAIT
3803008 0.2 s idle in transaction
odoo
SELECT "stock_scrap"."id" as "id","stock_scrap"."lot_id" as "lot_id","stock_scrap"."state" as "state","stock_scrap"."date_expected" as "date_expected","stock_scrap"."scrap_ticket_id" as "scrap_ticket_id","stock_scrap"."scrap_location_id" as "scrap_location_id","stock_scrap"."initial_quantity" as "initial_quantity","stock_scrap"."is_swk_scrap" as "is_swk_scrap","stock_scrap"."package_id" as "package_id","stock_scrap"."company_id" as "company_id","stock_scrap"."name" as "name","stock_scrap"."production_id" as "production_id","stock_scrap"."date" as "date","stock_scrap"."variation" as "variation","stock_scrap"."origin" as "origin","stock_scrap"."write_uid" as "write_uid","stock_scrap"."owner_id" as "owner_id","stock_scrap"."currency_id" as "currency_id","stock_scrap"."product_id" as "product_id","stock_scrap"."workorder_id" as "workorder_id","stock_scrap"."value" as "value","stock_scrap"."move_id" as "move_id","stock_scrap"."warehouse_id" as "warehouse_id","stock_scrap"."create_date" as "create_date","stock_scr
3804202 0.0 s idle in transaction
odoo
 SELECT message_attachment_rel.message_id, message_attachment_rel.attachment_id FROM message_attachment_rel, "ir_attachment"
                    WHERE 1=1 AND message_attachment_rel.message_id IN (234925722, 234925729, 234925730, 234925731, 234925732, 234925734, 234925735, 234925741, 234925744, 234925745, 234925749, 234925750, 234925751, 234925755, 234925756, 234925757, 234925761, 234925775, 234925776, 234925779, 234925782, 234925795, 234925800, 234925801, 234925802, 234925805, 234925806, 234925807, 234925808, 234925809, 234925820, 234925821, 234925830, 234925831, 234925835, 234925836, 234925850, 234925851, 234925852, 234925853, 234925854, 234925855, 234925856, 234925857, 234925858, 234925859, 234925863, 234925864, 234925868, 234925869, 234925876, 234925877, 234925878, 234925879, 234925884, 234925885, 234925886, 234925887, 234925890, 234925891, 234925892, 234925896, 234925900, 234925901, 234925904, 234925905, 234925916, 234925918, 234925919, 234925921, 234925927, 234925928, 234925931, 234925932, 234925934, 2

You may need to restart your app servers afterwards.