PgHero

Live Queries

6 queries

Pid Duration State
3895304 00:09:23 idle in transaction
odoo
SELECT *
                                       FROM ir_cron
                                       WHERE numbercall != 0
                                          AND active
                                          AND nextcall <= (now() at time zone 'UTC')
                                          AND id=1
                                       FOR UPDATE NOWAIT
3896806 00:01:03 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
3895150 13.3 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
3898520 2.3 s idle in transaction
odoo
SELECT *
                                       FROM ir_cron
                                       WHERE numbercall != 0
                                          AND active
                                          AND nextcall <= (now() at time zone 'UTC')
                                          AND id=11
                                       FOR UPDATE NOWAIT
3896805 0.1 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 (235151435, 235151436, 235151472, 235151473, 235151476, 235151477, 235151485, 235151486, 235151497, 235151499, 235151506, 235151518, 235151558, 235151559, 235151560, 235151561, 235151562, 235151563, 235151582, 235151681, 235151682, 235151688, 235151689, 235151690, 235151692, 235151695, 235151696, 235151700, 235151708, 235151709, 235151710, 235151711, 235151725, 235151749, 235151750, 235151756, 235151770, 235151771, 235151772, 235151778, 235151782, 235151794, 235151796, 235151797, 235151801, 235151802, 235151818, 235151819, 235151820, 235151821, 235151864, 235151865, 235151896, 235151900, 235151904, 235151935, 235151936, 235151942, 235151943, 235151944, 235151945, 235151946, 235151947, 235151953, 235151965, 235151966, 235151968, 235151969, 235151970, 235151980, 235151981, 235152010, 235152011, 235152017, 235152018, 2
3898521 0.0 s idle in transaction
odoo
SELECT "stock_quant"."id" as "id","stock_quant"."commissary_quantity" as "commissary_quantity","stock_quant"."location_id" as "location_id","stock_quant"."commissary_reserved" as "commissary_reserved","stock_quant"."write_date" as "write_date","stock_quant"."reserved_quantity" as "reserved_quantity","stock_quant"."owner_id" as "owner_id","stock_quant"."removal_date" as "removal_date","stock_quant"."create_date" as "create_date","stock_quant"."product_id" as "product_id","stock_quant"."package_id" as "package_id","stock_quant"."lot_id" as "lot_id","stock_quant"."quantity" as "quantity","stock_quant"."create_uid" as "create_uid","stock_quant"."write_uid" as "write_uid","stock_quant"."in_date" as "in_date","stock_quant"."company_id" as "company_id" FROM "stock_quant" WHERE "stock_quant".id IN (9823088, 10459648, 10477056, 10483718, 10478604, 10534412, 10529809, 10277396, 10459668, 9929750, 9929752, 9924121, 9929754, 10463263, 10467360, 10572835, 9853989, 9932326, 10095653, 10257957, 10032169, 10401829, 10333739

You may need to restart your app servers afterwards.