PgHero

Live Queries

6 queries

Pid Duration State
19511 00:07:04 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
19819 00:02:11 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
21273 00:02:01 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
19455 2.8 s active
odoo
DELETE FROM mrp_product_produce WHERE id IN (9967781, 9967782, 9967783, 9967784, 9967785, 9967786, 9967787, 9967788, 9967789, 9967790, 9967791, 9967792, 9967793, 9967794, 9967795, 9967796, 9967797, 9967798, 9967799, 9967800, 9967801, 9967802, 9967803, 9967804, 9967805, 9967806, 9967807, 9967808, 9967809, 9967810, 9967811, 9967812, 9967813, 9967814, 9967815, 9967816, 9967817, 9967818, 9967819, 9967820, 9967821, 9967822, 9967823, 9967824, 9967825, 9967826, 9967827, 9967828, 9967829, 9967830, 9967831, 9967832, 9967833, 9967834, 9967835, 9967836, 9967837, 9967838, 9967839, 9967840, 9967841, 9967842, 9967843, 9967844, 9967845, 9967846, 9967847, 9967848, 9967849, 9967850, 9967851, 9967852, 9967853, 9967854, 9967855, 9967856, 9967857, 9967858, 9967859, 9967860, 9967861, 9967862, 9969517, 9969842, 9969843, 9969844, 9969845, 9969846, 9969847, 9969848, 9969849, 9969850, 9969851, 9969852, 9969853, 9969854, 9969855, 9969856, 9969857, 9969858, 9969859, 9969860, 9969861, 9969862, 9969863, 9969864, 9969865, 9969866, 996986
19770 0.4 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 (233543982, 235211635, 235211636, 235493155, 235493161, 235493162, 235493164, 235493177, 235493183, 235493193, 235493199, 235493200, 235493201, 235493203, 235493204, 235493205, 235493212, 235493213, 235493215, 235493228, 235493229, 235493230, 235493235, 235493236, 235493237, 235493238, 235493239, 235493243, 235493244, 235493256, 235493260, 235493261, 235493262, 235493263, 235493264, 235493265, 235493270, 235493271, 235493285, 235493286, 235493287, 235493288, 235493289, 235493293, 235493295, 235493310, 235493311, 235493312, 235493313, 235493314, 235493323, 235493324, 235493339, 235493340, 235493343, 235493344, 235493348, 235493349, 235493353, 235493354, 235493357, 235493358, 235493360, 235493363, 235493364, 235493365, 235493371, 235493372, 235493377, 235493378, 235493392, 235493398, 235493400, 235493401, 235493404, 2
21278 0.1 s idle in transaction
odoo
SELECT "swk_scrap_ticket"."id" as "id","swk_scrap_ticket"."scrap_quantity" as "scrap_quantity","swk_scrap_ticket"."initial_quantity" as "initial_quantity","swk_scrap_ticket"."date_printed" as "date_printed","swk_scrap_ticket"."trigger" as "trigger","swk_scrap_ticket"."create_uid" as "create_uid","swk_scrap_ticket"."create_date" as "create_date","swk_scrap_ticket"."source" as "source","swk_scrap_ticket"."lot_id" as "lot_id","swk_scrap_ticket"."currency_id" as "currency_id","swk_scrap_ticket"."date_closed" as "date_closed","swk_scrap_ticket"."date" as "date","swk_scrap_ticket"."value" as "value","swk_scrap_ticket"."name" as "name","swk_scrap_ticket"."write_uid" as "write_uid","swk_scrap_ticket"."warehouse_id" as "warehouse_id","swk_scrap_ticket"."product_id" as "product_id","swk_scrap_ticket"."variation" as "variation","swk_scrap_ticket"."write_date" as "write_date","swk_scrap_ticket"."state" as "state" FROM "swk_scrap_ticket" WHERE "swk_scrap_ticket".id IN (2640592, 2621440, 2621441, 2621442, 2621443, 2621444

You may need to restart your app servers afterwards.