PgHero

Live Queries

6 queries

Pid Duration State
3720765 00:05:56 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
3721985 00:03:09 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
3721753 00:01:48 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
3719760 29.7 s active
odoo
DELETE FROM mrp_product_produce WHERE id IN (9964819, 9964820, 9964821, 9964822, 9964823, 9964824, 9964825, 9964826, 9964827, 9964828, 9964829, 9964830, 9964831, 9964832, 9964833, 9964834, 9964835, 9964836, 9964837, 9964838, 9964839, 9964840, 9964841, 9964842, 9964843, 9964844, 9964845, 9964846, 9964847, 9964848, 9964849, 9964850, 9964851, 9964852, 9964853, 9964854, 9964855, 9964856, 9964857, 9964858, 9964859, 9964860, 9964861, 9964862, 9964863, 9964864, 9964865, 9964866, 9964867, 9964868, 9964869, 9964870, 9964871, 9964872, 9964873, 9964874, 9964875, 9964876, 9964877, 9964878, 9964879, 9964880, 9964881, 9964882, 9964883, 9964884, 9964885, 9964886, 9964887, 9964888, 9964889, 9964890, 9964891, 9964892, 9964893, 9964894, 9964895, 9964896, 9964897, 9964898, 9964899, 9964900, 9964901, 9964902, 9964906, 9964907, 9964908, 9964903, 9964904, 9964905, 9964909, 9964910, 9964911, 9964912, 9964913, 9964914, 9964915, 9964916, 9964917, 9964918, 9964919, 9964920, 9964921, 9964922, 9964923, 9964924, 9964925, 9964926, 996492
3721992 0.3 s idle in transaction
odoo
SELECT "stock_scrap"."id" as "id","stock_scrap"."product_uom_id" as "product_uom_id","stock_scrap"."kitchen_ticket" as "kitchen_ticket","stock_scrap"."value_food" as "value_food","stock_scrap"."location_id" as "location_id","stock_scrap"."write_uid" as "write_uid","stock_scrap"."scrap_qty" as "scrap_qty","stock_scrap"."create_date" as "create_date","stock_scrap"."scrap_ticket_id" as "scrap_ticket_id","stock_scrap"."lot_id" as "lot_id","stock_scrap"."value_nonfood" as "value_nonfood","stock_scrap"."scrap_location_id" as "scrap_location_id","stock_scrap"."write_date" as "write_date","stock_scrap"."state" as "state","stock_scrap"."date_expected" as "date_expected","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"."is_swk_scrap" as "is_swk_scrap","stock_scrap"."initial_quantity" as "initial_quantity","stock_scrap"."owner_id" as "owner_id","stock_scrap"."currency_id" as "currency_id","
3721750 0.2 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 (233182443, 233182482, 233182488, 233182490, 233182577, 233182651, 233182652, 233182658, 233531902, 233599282, 233599290, 233599291, 233599358, 233599359, 233599360, 233599396, 233599445, 233599485, 233599487, 233615225, 233615231, 233674995, 233674996, 233674998, 233674999, 233675003, 233675004, 233675008, 233675009, 233675013, 233675014, 233675018, 233675019, 233675026, 233675028, 233675033, 233675034, 233675035, 233675036, 233675042, 233675043, 233675046, 233675047, 233675056, 233675057, 233675061, 233675062, 233675066, 233675067, 233675070, 233675071, 233675075, 233675077, 233675083, 233675084, 233675087, 233675088, 233675089, 233675094, 233675095, 233675099, 233675100, 233675104, 233675106, 233675111, 233675112, 233675115, 233675116, 233675120, 233675122, 233675123, 233675127, 233675128, 233675132, 233675133, 2

You may need to restart your app servers afterwards.