-
Global information
- Generated on Tue Apr 4 23:50:54 2023
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 415,593 log entries in 53s
- Log start from 2023-04-03 00:00:00 to 2023-04-03 23:59:56
-
Overview
Global Stats
- 1,082 Number of unique normalized queries
- 150,406 Number of queries
- 14h19m28s Total query duration
- 2023-04-03 00:00:00 First query
- 2023-04-03 23:59:56 Last query
- 27 queries/s at 2023-04-03 11:33:47 Query peak
- 14h19m28s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 14h19m28s Execute total duration
- 11,175 Number of events
- 16 Number of unique normalized events
- 5,816 Max number of times the same event was reported
- 0 Number of cancellation
- 0 Total number of automatic vacuums
- 0 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 0 Total number of sessions
- 0 sessions at Session peak
- 0ms Total duration of sessions
- 0ms Average duration of sessions
- 150,406 Average queries per session
- 14h19m28s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 27 queries/s Query Peak
- 2023-04-03 11:33:47 Date
SELECT Traffic
Key values
- 27 queries/s Query Peak
- 2023-04-03 10:54:18 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 11 queries/s Query Peak
- 2023-04-03 14:14:55 Date
Queries duration
Key values
- 14h19m28s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
Day Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 03 00 6,858 120ms 199ms 124ms 57s752ms 59s461ms 1m 01 6,947 120ms 1s299ms 125ms 59s18ms 1m1s 1m5s 02 6,787 120ms 1s232ms 125ms 58s115ms 59s59ms 1m 03 7,195 120ms 17s853ms 204ms 1m8s 1m33s 1m54s 04 7,115 120ms 10s95ms 149ms 59s618ms 59s899ms 1m2s 05 6,846 120ms 238ms 125ms 58s632ms 59s652ms 1m1s 06 6,908 120ms 324ms 125ms 58s903ms 59s902ms 1m2s 07 6,847 120ms 8s150ms 136ms 57s920ms 59s888ms 1m 08 6,977 120ms 11s296ms 155ms 59s112ms 1m2s 1m20s 09 7,201 120ms 44s902ms 182ms 1m4s 1m10s 1m35s 10 2,699 120ms 6s615ms 219ms 14s975ms 23s848ms 42s996ms 11 6,094 120ms 10s580ms 432ms 1m40s 2m6s 2m38s 12 7,472 120ms 50s895ms 583ms 2m21s 3m9s 4m44s 13 8,658 120ms 43s710ms 613ms 2m29s 3m7s 3m26s 14 7,402 120ms 1m3s 639ms 2m52s 3m20s 3m35s 15 6,148 120ms 22s786ms 545ms 1m42s 1m51s 1m57s 16 6,072 120ms 37s24ms 658ms 2m19s 2m46s 3m17s 17 6,470 120ms 1m28s 796ms 2m45s 3m17s 3m31s 18 6,231 120ms 40s16ms 660ms 2m14s 2m22s 3m20s 19 4,448 120ms 56s627ms 586ms 1m28s 1m42s 1m54s 20 4,419 120ms 1m2s 435ms 1m5s 1m34s 2m11s 21 2,885 120ms 6s615ms 312ms 30s374ms 46s941ms 1m4s 22 6,095 120ms 6s938ms 146ms 50s136ms 53s13ms 53s372ms 23 5,632 120ms 9s708ms 143ms 46s265ms 48s435ms 58s356ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 03 00 6,858 0 124ms 6s530ms 57s752ms 59s471ms 01 6,947 0 125ms 7s302ms 59s18ms 1m3s 02 6,787 0 125ms 8s334ms 58s115ms 59s189ms 03 6,967 0 142ms 22s732ms 59s116ms 1m8s 04 7,045 0 132ms 23s279ms 59s618ms 1m 05 6,846 0 125ms 7s549ms 58s632ms 1m 06 6,908 0 125ms 6s627ms 58s903ms 1m 07 6,834 0 133ms 36s870ms 57s920ms 1m 08 6,931 0 147ms 44s181ms 58s668ms 1m8s 09 7,005 58 156ms 52s453ms 59s405ms 1m3s 10 2,529 0 146ms 6s165ms 7s503ms 22s453ms 11 4,784 0 284ms 34s775ms 47s202ms 55s772ms 12 4,832 0 337ms 29s780ms 41s604ms 1m19s 13 4,884 0 321ms 34s344ms 40s459ms 47s928ms 14 4,432 0 283ms 29s63ms 35s90ms 1m 15 3,932 0 292ms 24s145ms 29s931ms 44s677ms 16 3,817 0 265ms 22s542ms 29s653ms 44s70ms 17 3,795 0 289ms 23s432ms 33s196ms 49s26ms 18 3,992 0 314ms 30s545ms 44s615ms 55s420ms 19 2,894 0 253ms 16s244ms 21s691ms 35s18ms 20 3,382 0 302ms 23s258ms 36s280ms 1m5s 21 2,406 0 185ms 10s209ms 13s743ms 21s64ms 22 6,011 0 137ms 23s636ms 50s136ms 53s210ms 23 5,385 0 133ms 20s368ms 46s265ms 49s651ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 03 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 100 123 2 0 2s52ms 0ms 14s388ms 45s781ms 04 28 40 1 0 1s861ms 0ms 0ms 26s247ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 2 7 0 1s618ms 0ms 0ms 1s649ms 08 0 18 26 0 1s303ms 0ms 2s30ms 6s226ms 09 1 38 93 0 1s571ms 4s68ms 5s665ms 13s222ms 10 3 39 126 0 1s320ms 4s582ms 6s582ms 9s224ms 11 197 1,052 44 0 968ms 14s944ms 33s960ms 1m15s 12 388 2,110 29 0 1s69ms 32s164ms 50s969ms 1m56s 13 405 3,131 21 0 1s37ms 54s498ms 1m9s 1m59s 14 360 2,398 15 0 1s242ms 55s982ms 1m25s 2m15s 15 198 1,769 21 0 1s93ms 32s624ms 51s578ms 1m27s 16 159 1,759 37 0 1s503ms 46s129ms 1m12s 2m17s 17 274 2,176 29 0 1s621ms 59s709ms 1m45s 2m25s 18 244 1,830 5 0 1s361ms 37s506ms 1m13s 2m13s 19 208 1,254 14 0 1s264ms 24s151ms 51s955ms 1m20s 20 87 792 12 0 990ms 11s27ms 19s739ms 46s265ms 21 52 393 0 0 1s15ms 5s450ms 12s39ms 36s27ms 22 7 71 0 0 859ms 0ms 0ms 6s875ms 23 11 234 2 0 373ms 0ms 0ms 22s616ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Apr 03 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Apr 03 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s 23 0 0.00/s Day Hour Count Average Duration Average idle time Apr 03 00 0 0ms 0ms 01 0 0ms 0ms 02 0 0ms 0ms 03 0 0ms 0ms 04 0 0ms 0ms 05 0 0ms 0ms 06 0 0ms 0ms 07 0 0ms 0ms 08 0 0ms 0ms 09 0 0ms 0ms 10 0 0ms 0ms 11 0 0ms 0ms 12 0 0ms 0ms 13 0 0ms 0ms 14 0 0ms 0ms 15 0 0ms 0ms 16 0 0ms 0ms 17 0 0ms 0ms 18 0 0ms 0ms 19 0 0ms 0ms 20 0 0ms 0ms 21 0 0ms 0ms 22 0 0ms 0ms 23 0 0ms 0ms -
Connections
Established Connections
Key values
- 0 connections Connection Peak
- Date
Connections per database
Key values
- unknown Main Database
- 0 connections Total
Connections per user
Key values
- unknown Main User
- 0 connections Total
-
Sessions
Simultaneous sessions
Key values
- 0 sessions Session Peak
- Date
Histogram of session times
Key values
- duration
Sessions per database
Key values
- unknown Main Database
- 0 sessions Total
Sessions per user
Key values
- unknown Main User
- 0 sessions Total
Sessions per host
Key values
- unknown Main Host
- 0 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 0 buffers Checkpoint Peak
- Date
- seconds Highest write time
- seconds Sync time
Checkpoint write buffers (5 minutes period)
NO DATASET
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- Date
Checkpoint Wal files usage (5 minutes period)
NO DATASET
Checkpoints distance
Key values
- 0 Mo Distance Peak
- Date
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Apr 03 00 0 0s 0s 0s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 0 0s 0s 0s 06 0 0s 0s 0s 07 0 0s 0s 0s 08 0 0s 0s 0s 09 0 0s 0s 0s 10 0 0s 0s 0s 11 0 0s 0s 0s 12 0 0s 0s 0s 13 0 0s 0s 0s 14 0 0s 0s 0s 15 0 0s 0s 0s 16 0 0s 0s 0s 17 0 0s 0s 0s 18 0 0s 0s 0s 19 0 0s 0s 0s 20 0 0s 0s 0s 21 0 0s 0s 0s 22 0 0s 0s 0s 23 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Apr 03 00 0 0 0 0 0s 0s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 0 0s 0s 06 0 0 0 0 0s 0s 07 0 0 0 0 0s 0s 08 0 0 0 0 0s 0s 09 0 0 0 0 0s 0s 10 0 0 0 0 0s 0s 11 0 0 0 0 0s 0s 12 0 0 0 0 0s 0s 13 0 0 0 0 0s 0s 14 0 0 0 0 0s 0s 15 0 0 0 0 0s 0s 16 0 0 0 0 0s 0s 17 0 0 0 0 0s 0s 18 0 0 0 0 0s 0s 19 0 0 0 0 0s 0s 20 0 0 0 0 0s 0s 21 0 0 0 0 0s 0s 22 0 0 0 0 0s 0s 23 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Apr 03 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Apr 03 00 0.00 kB 0.00 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 0.00 kB 0.00 kB 06 0.00 kB 0.00 kB 07 0.00 kB 0.00 kB 08 0.00 kB 0.00 kB 09 0.00 kB 0.00 kB 10 0.00 kB 0.00 kB 11 0.00 kB 0.00 kB 12 0.00 kB 0.00 kB 13 0.00 kB 0.00 kB 14 0.00 kB 0.00 kB 15 0.00 kB 0.00 kB 16 0.00 kB 0.00 kB 17 0.00 kB 0.00 kB 18 0.00 kB 0.00 kB 19 0.00 kB 0.00 kB 20 0.00 kB 0.00 kB 21 0.00 kB 0.00 kB 22 0.00 kB 0.00 kB 23 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
Day Hour Count Total size Average size Apr 03 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
Day Hour VACUUMs ANALYZEs Apr 03 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 2,837 locks Total
Type Object Count Total Duration Average Duration (s) AccessExclusiveLock 225 6m18s 1s683ms tuple 225 6m18s 1s683ms AccessShareLock 3 4s278ms 1s426ms relation 3 4s278ms 1s426ms ExclusiveLock 3 11s639ms 3s879ms tuple 3 11s639ms 3s879ms RowExclusiveLock 2 9s361ms 4s680ms relation 2 9s361ms 4s680ms ShareLock 2,604 1h30m34s 2s87ms relation 4 7s949ms 1s987ms transaction 2,600 1h30m26s 2s87ms Total 2,837 1h37m18s 2s58ms Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 2,751 1h26m3s 1s110ms 8s134ms 1s876ms delete from ir_attachment where id in (...);-
DELETE FROM ir_attachment WHERE id IN (2289278);
Date: 2023-04-03 07:27:23
-
DELETE FROM ir_attachment WHERE id IN (2289290);
Date: 2023-04-03 07:27:45
-
DELETE FROM ir_attachment WHERE id IN (2289282);
Date: 2023-04-03 07:27:39
2 7 2m59s 4s585ms 36s868ms 25s628ms update "sale_order_line" set "branch_id" = ?, "warehouse_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1149, "write_date" = (now() at time zone 'UTC') WHERE id IN (121435);
Date: 2023-04-03 13:14:17
-
UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1149, "write_date" = (now() at time zone 'UTC') WHERE id IN (121435);
Date: 2023-04-03 13:13:34
-
UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1149, "write_date" = (now() at time zone 'UTC') WHERE id IN (121435);
Date: 2023-04-03 13:12:51
3 34 2m52s 1s189ms 1m1s 5s72ms update account_move set write_date = write_date where id = ( select id from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) and id != ? and sequence_prefix = ( select sequence_prefix from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) and id != ? order by id desc limit ?) order by sequence_number desc limit ?) returning name;-
UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 9709 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 9709 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2023-04-03 15:15:14
4 1 1m27s 1m27s 1m27s 1m27s insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "bom_line_id", "branch_id", "byproduct_id", "company_id", "consume_unbuild_id", "core_qty", "created_production_id", "date", "date_deadline", "description_picking", "dest_warehouse_id", "group_id", "inventory_id", "location_dest_id", "location_id", "move_options", "mrp_core_move", "mrp_finish_core_move", "name", "next_serial", "next_serial_count", "note", "operation_id", "orderpoint_id", "origin", "origin_returned_move_id", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "production_id", "propagate_cancel", "purchase_line_id", "raw_material_production_id", "related_bom_line_id", "repair_id", "repair_line_id", "restrict_partner_id", "rule_id", "sale_line_id", "sequence", "src_warehouse_id", "state", "unbuild_id", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, null, ?, null, ?.?, null, ?, ?, ?, NULL, ?, NULL, ?, ?, ?, false, false, ?, null, ?, null, null, null, ?, null, null, ?, ?, ?.?, ?, ?, ?, ?, ?, null, true, ?, null, null, null, null, null, null, null, ?, null, ?, null, ?) returning id;-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "bom_line_id", "branch_id", "byproduct_id", "company_id", "consume_unbuild_id", "core_qty", "created_production_id", "date", "date_deadline", "description_picking", "dest_warehouse_id", "group_id", "inventory_id", "location_dest_id", "location_id", "move_options", "mrp_core_move", "mrp_finish_core_move", "name", "next_serial", "next_serial_count", "note", "operation_id", "orderpoint_id", "origin", "origin_returned_move_id", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "production_id", "propagate_cancel", "purchase_line_id", "raw_material_production_id", "related_bom_line_id", "repair_id", "repair_line_id", "restrict_partner_id", "rule_id", "sale_line_id", "sequence", "src_warehouse_id", "state", "unbuild_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1037, (now() at time zone 'UTC'), 1037, (now() at time zone 'UTC'), false, NULL, NULL, 50, NULL, 1, NULL, 0.0, NULL, '2023-03-28 11:58:54.258342', '2023-03-28 11:58:54.258342', '[24224] 1-1/2" GS Coolant Hose', NULL, 73998, NULL, 453, 4, 'new_product', false, false, '[24224] 1-1/2" GS Coolant Hose', NULL, 0, NULL, NULL, NULL, 'S-00248', NULL, NULL, 104451, 345, 29.45, '0', 'make_to_stock', 178553, 1, '11.00', NULL, true, 49619, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 115, NULL, 'draft', NULL, 44) RETURNING id;
Date: 2023-04-03 17:12:29
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "bom_line_id", "branch_id", "byproduct_id", "company_id", "consume_unbuild_id", "core_qty", "created_production_id", "date", "date_deadline", "description_picking", "dest_warehouse_id", "group_id", "inventory_id", "location_dest_id", "location_id", "move_options", "mrp_core_move", "mrp_finish_core_move", "name", "next_serial", "next_serial_count", "note", "operation_id", "orderpoint_id", "origin", "origin_returned_move_id", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "production_id", "propagate_cancel", "purchase_line_id", "raw_material_production_id", "related_bom_line_id", "repair_id", "repair_line_id", "restrict_partner_id", "rule_id", "sale_line_id", "sequence", "src_warehouse_id", "state", "unbuild_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1037, (now() at time zone 'UTC'), 1037, (now() at time zone 'UTC'), false, NULL, NULL, 50, NULL, 1, NULL, 0.0, NULL, '2023-03-28 11:58:54.258342', '2023-03-28 11:58:54.258342', '[24224] 1-1/2" GS Coolant Hose', NULL, 73998, NULL, 453, 4, 'new_product', false, false, '[24224] 1-1/2" GS Coolant Hose', NULL, 0, NULL, NULL, NULL, 'S-00248', NULL, NULL, 104451, 345, 29.45, '0', 'make_to_stock', 178553, 1, '11.00', NULL, true, 49619, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 115, NULL, 'draft', NULL, 44) RETURNING id;
Date: 2023-04-03 17:17:07
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "bom_line_id", "branch_id", "byproduct_id", "company_id", "consume_unbuild_id", "core_qty", "created_production_id", "date", "date_deadline", "description_picking", "dest_warehouse_id", "group_id", "inventory_id", "location_dest_id", "location_id", "move_options", "mrp_core_move", "mrp_finish_core_move", "name", "next_serial", "next_serial_count", "note", "operation_id", "orderpoint_id", "origin", "origin_returned_move_id", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "production_id", "propagate_cancel", "purchase_line_id", "raw_material_production_id", "related_bom_line_id", "repair_id", "repair_line_id", "restrict_partner_id", "rule_id", "sale_line_id", "sequence", "src_warehouse_id", "state", "unbuild_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1037, (now() at time zone 'UTC'), 1037, (now() at time zone 'UTC'), false, NULL, NULL, 50, NULL, 1, NULL, 0.0, NULL, '2023-03-28 11:58:54.258342', '2023-03-28 11:58:54.258342', '[24224] 1-1/2" GS Coolant Hose', NULL, 73998, NULL, 453, 4, 'new_product', false, false, '[24224] 1-1/2" GS Coolant Hose', NULL, 0, NULL, NULL, NULL, 'S-00248', NULL, NULL, 104451, 345, 29.45, '0', 'make_to_stock', 178553, 1, '11.00', NULL, true, 49619, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 115, NULL, 'draft', NULL, 44) RETURNING id;
Date: 2023-04-03 17:15:35
5 6 1m26s 3s519ms 38s847ms 14s449ms update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);
Date: 2023-04-03 14:50:04
-
UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);
Date: 2023-04-03 14:51:03
-
UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);
Date: 2023-04-03 14:47:36
6 13 33s394ms 1s105ms 5s107ms 2s568ms update "account_move" set "message_main_attachment_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "message_main_attachment_id" = 2310564, "write_uid" = 1043, "write_date" = (now() at time zone 'UTC') WHERE id IN (537252);
Date: 2023-04-03 16:26:56
7 1 16s968ms 16s968ms 16s968ms 16s968ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, true, ?, ?, ?, ?, ?) returning id;-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 48, 1, '2023-04-06 12:57:12.373384', 45, 77137, 461, 468, 'new_product', '13-T/INT/03303', '13-T/INT/03303', 109541, 357, '0', 'make_to_stock', 238947, 1, '4.00', true, 10, 40, 'waiting', 4517, 45) RETURNING id;
Date: 2023-04-03 12:57:14
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 38, 1, '2023-04-06 14:21:15.913977', 36, 77262, 389, 468, 'new_product', '03-C/INT/04103', '03-C/INT/04103', 109764, 285, '0', 'make_to_stock', 203223, 1, '3.00', true, 10, 42, 'waiting', 4523, 36) RETURNING id;
Date: 2023-04-03 14:21:17
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 42, 1, '2023-04-06 12:56:50.263964', 45, 77135, 468, 421, 'new_product', '07-L/INT/01456', '07-L/INT/01456', 109536, 317, '0', 'make_to_stock', 237223, 1, '16.00', true, 10, 40, 'draft', 4519, 40) RETURNING id;
Date: 2023-04-03 12:57:00
8 1 16s5ms 16s5ms 16s5ms 16s5ms update "product_warehouse_inventory" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "product_warehouse_inventory" SET "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (32836, 32837, 32838, 32839, 32840, 106053, 32868, 32869, 32870, 32871, 32872, 32873, 32874, 32875, 32876, 33903, 33904, 33905, 33906, 33907, 33908, 104563, 32891, 32892, 32893, 32894, 32895, 32896, 32897, 32898, 32899, 32900, 33936, 33937, 33426, 33427, 33428, 33429, 33430, 33431, 33432, 33938, 31898, 31899, 33940, 32950, 32951, 32952, 32953, 33978, 33979, 33980, 33469, 33470, 33981, 33982, 33471, 33472, 33473, 33474, 33475, 32957, 174283, 174284, 174285, 174286, 174287, 174288, 174289, 174290, 174291, 174292, 174293, 32983, 32985, 32986, 32987, 32988, 32503, 32504, 32505, 32506, 32507, 32508, 32515, 32516, 32517, 32518, 32519, 32520, 32521, 33939, 30984, 30983, 30982, 30985, 30986, 33066, 33067, 33068, 33069, 33070, 33071, 31064, 31065, 31066, 31067, 31068, 31069, 31070, 31071, 32622, 32624, 105850, 32637, 32639, 32642, 32643, 31113, 31114, 31115, 31116, 31117, 31118, 31119, 31641, 31642, 31643, 32954, 32955, 32956, 34228, 34229, 34230, 34231, 34232, 33720, 33468, 32723, 32724, 32725, 32726, 32728, 32730, 32731, 32732, 33265, 33268);
Date: 2023-04-03 17:10:50
-
UPDATE "product_warehouse_inventory" SET "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (32836, 32837, 32838, 32839, 32840, 106053, 32868, 32869, 32870, 32871, 32872, 32873, 32874, 32875, 32876, 33903, 33904, 33905, 33906, 33907, 33908, 104563, 32891, 32892, 32893, 32894, 32895, 32896, 32897, 32898, 32899, 32900, 33936, 33937, 33426, 33427, 33428, 33429, 33430, 33431, 33432, 33938, 31898, 31899, 33940, 32950, 32951, 32952, 32953, 33978, 33979, 33980, 33469, 33470, 33981, 33982, 33471, 33472, 33473, 33474, 33475, 32957, 174283, 174284, 174285, 174286, 174287, 174288, 174289, 174290, 174291, 174292, 174293, 32983, 32985, 32986, 32987, 32988, 32503, 32504, 32505, 32506, 32507, 32508, 32515, 32516, 32517, 32518, 32519, 32520, 32521, 33939, 30984, 30983, 30982, 30985, 30986, 33066, 33067, 33068, 33069, 33070, 33071, 31064, 31065, 31066, 31067, 31068, 31069, 31070, 31071, 32622, 32624, 105850, 32637, 32639, 32642, 32643, 31113, 31114, 31115, 31116, 31117, 31118, 31119, 31641, 31642, 31643, 32954, 32955, 32956, 34228, 34229, 34230, 34231, 34232, 33720, 33468, 32723, 32724, 32725, 32726, 32728, 32730, 32731, 32732, 33265, 33268);
Date: 2023-04-03 17:10:50
9 1 14s232ms 14s232ms 14s232ms 14s232ms update "stock_move" set "date" = ?, "delay_alert_date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move" SET "date" = '2023-04-03 18:19:07', "delay_alert_date" = NULL, "is_done" = true, "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (349762, 349797, 349798, 349800, 349770, 349802, 349772, 349776, 349784, 349785, 349756, 349758, 349791);
Date: 2023-04-03 18:19:32
-
UPDATE "stock_move" SET "date" = '2023-04-03 14:26:03', "delay_alert_date" = NULL, "is_done" = true, "state" = 'done', "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (337872, 337873, 337870, 337871);
Date: 2023-04-03 14:26:10
-
UPDATE "stock_move" SET "date" = '2023-04-03 17:36:15', "delay_alert_date" = NULL, "is_done" = true, "state" = 'done', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (349608, 349611, 349612, 349613);
Date: 2023-04-03 17:36:25
10 1 12s785ms 12s785ms 12s785ms 12s785ms update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move" SET "date" = '2023-04-03 16:37:43', "is_done" = true, "state" = 'done', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (348963, 348964, 346373, 346374, 348965, 297209, 297210, 297211);
Date: 2023-04-03 16:37:55
-
UPDATE "stock_move" SET "date" = '2023-04-03 12:42:25', "is_done" = true, "state" = 'done', "write_uid" = 1030, "write_date" = (now() at time zone 'UTC') WHERE id IN (337619, 337620, 337622, 337623, 337624);
Date: 2023-04-03 12:42:34
-
UPDATE "stock_move" SET "date" = '2023-04-03 13:04:09', "is_done" = true, "state" = 'done', "write_uid" = 994, "write_date" = (now() at time zone 'UTC') WHERE id IN (345338, 345339, 345340, 345341);
Date: 2023-04-03 13:04:16
11 1 11s100ms 11s100ms 11s100ms 11s100ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 14:42:36', '2023-04-03 14:42:36', 'Keeper Pro-Torq', 77313, 5, 429, 'new_product', '[450-4973] Keeper Pro-Torq', NULL, 'B-03069', 43543, 322, '0', 'make_to_stock', 187908, 1, '6.00', false, 362, 121780, 10, 'draft', 41) RETURNING id;
Date: 2023-04-03 14:49:14
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 11:49:36', '2023-04-03 11:49:36', 'Brake Drum 15.00 X 4.0 Bal', 77024, 5, 397, 'new_product', '[51528B] Brake Drum 15.00 X 4.0 Bal', NULL, 'V-03142', 40026, 290, '0', 'make_to_stock', 190550, 1, '2.00', false, 326, 121336, 10, 'draft', 37) RETURNING id;
Date: 2023-04-03 11:50:59
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 14:47:47', '2023-04-03 14:47:47', 'Value Drum 16.50 X 7.00 Bal', 77306, 5, 389, 'new_product', '[56864B] Value Drum 16.50 X 7.00 Bal', NULL, 'C-04691', 33920, 282, '0', 'make_to_stock', 190568, 1, '20.00', false, 317, 121801, 10, 'draft', 36) RETURNING id;
Date: 2023-04-03 14:48:15
12 2 6s32ms 2s856ms 3s176ms 3s16ms update "account_move" set "access_token" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "access_token" = '49ce6a31-5993-40ed-bf53-918329fefd91', "write_uid" = 964, "write_date" = (now() at time zone 'UTC') WHERE id IN (536101);
Date: 2023-04-03 13:51:10
13 1 5s871ms 5s871ms 5s871ms 5s871ms update "sale_order_line" set "invoice_status" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "untaxed_amount_invoiced" = ?, "untaxed_amount_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '1.10', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (116664, 116665, 116669);
Date: 2023-04-03 13:51:09
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '100.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '110.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (116664, 116665, 116669);
Date: 2023-04-03 13:53:38
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '48.51', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1022, "write_date" = (now() at time zone 'UTC') WHERE id IN (122257, 122258);
Date: 2023-04-03 19:57:28
14 1 5s293ms 5s293ms 5s293ms 5s293ms delete from account_move_line where id in (...);-
DELETE FROM account_move_line WHERE id IN (1986482, 1986483, 1986484, 1986485, 1986486, 1986487, 1986488, 1986489, 1986490, 1986491, 1986492, 1986493, 1986494, 1986495, 1986496, 1986497, 1986498, 1986499, 1986500, 1986501, 1986502, 1986503, 1986504, 1986505, 1986506, 1986507, 1986508, 1986509, 1986510, 1986511, 1986512, 1986513);
Date: 2023-04-03 09:52:52
-
DELETE FROM account_move_line WHERE id IN (1986118, 1986119, 1986120, 1986121, 1986122, 1986123, 1986124, 1986125, 1986126, 1986127, 1986128, 1986129, 1986130, 1986131, 1986132, 1986133, 1986134, 1986135, 1986136, 1986137, 1986138, 1986139, 1986140, 1986141, 1986142, 1986143, 1986144, 1986145, 1986146, 1986147, 1986148);
Date: 2023-04-03 09:02:40
-
DELETE FROM account_move_line WHERE id IN (1370900, 1370901, 1370902, 1370903, 1370904, 1370905, 1370906, 1370907, 1370908, 1370909, 1370910, 1370911, 1370912, 1370913, 1370914, 1370915, 1370916, 1370917, 1370918, 1370919, 1370920, 1370921, 1370922, 1370923, 1370924, 1370925, 1370926, 1370927, 1370928, 1370929, 1370930);
Date: 2023-04-03 09:51:38
15 2 4s267ms 1s436ms 2s830ms 2s133ms create index if not exists account_move_to_check_idx on account_move (journal_id) where to_check = true; create index if not exists account_move_payment_idx on account_move (journal_id, state, payment_state, move_type, date);-
CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move (journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move (journal_id, state, payment_state, move_type, date);
Date: 2023-04-03 07:27:26
-
CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move (journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move (journal_id, state, payment_state, move_type, date);
Date: 2023-04-03 07:27:41
-
CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move (journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move (journal_id, state, payment_state, move_type, date);
Date: 2023-04-03 07:27:26
16 3 4s78ms 1s103ms 1s491ms 1s359ms update "account_move" set "is_move_sent" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "is_move_sent" = true, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (535577);
Date: 2023-04-03 12:14:16
17 1 3s925ms 3s925ms 3s925ms 3s925ms insert into account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) values (?, ?) on conflict do nothing;-
INSERT INTO account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) VALUES (122334, 2122) ON CONFLICT DO NOTHING;
Date: 2023-04-03 23:56:05
18 2 3s758ms 1s413ms 2s344ms 1s879ms update account_move set write_date = write_date where id = ( select id from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) and sequence_prefix = ( select sequence_prefix from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) order by id desc limit ?) order by sequence_number desc limit ?) returning name;-
UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2023-04-03 15:23:00
19 2 3s682ms 1s788ms 1s893ms 1s841ms create unique index if not exists product_product_combination_unique on product_product (product_tmpl_id, combination_indices) where active is true;-
CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is true;
Date: 2023-04-03 07:27:48
-
CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is true;
Date: 2023-04-03 07:27:51
-
CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is true;
Date: 2023-04-03 07:27:48
20 2 2s452ms 1s82ms 1s370ms 1s226ms select "ir_model_fields".id from "ir_model_fields" where ("ir_model_fields"."model" = ?) order by "ir_model_fields"."name";-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name";
Date: 2023-04-03 07:27:38
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name";
Date: 2023-04-03 07:27:38
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name";
Date: 2023-04-03 07:27:38
21 1 1s825ms 1s825ms 1s825ms 1s825ms select f.name, d.json_value from ir_default d join ir_model_fields f on d.field_id = f.id where f.model = ? and (d.user_id is null or d.user_id = ?) and (d.company_id is null or d.company_id = ?) and d.condition is null order by d.user_id, d.company_id, d.id;-
SELECT f.name, d.json_value FROM ir_default d JOIN ir_model_fields f ON d.field_id = f.id WHERE f.model = 'website.visitor' AND (d.user_id IS NULL OR d.user_id = 4) AND (d.company_id IS NULL OR d.company_id = 1) AND d.condition IS NULL ORDER BY d.user_id, d.company_id, d.id;
Date: 2023-04-03 07:27:38
-
SELECT f.name, d.json_value FROM ir_default d JOIN ir_model_fields f ON d.field_id = f.id WHERE f.model = 'website.visitor' AND (d.user_id IS NULL OR d.user_id = 4) AND (d.company_id IS NULL OR d.company_id = 1) AND d.condition IS NULL ORDER BY d.user_id, d.company_id, d.id;
Date: 2023-04-03 07:27:38
22 1 1s696ms 1s696ms 1s696ms 1s696ms insert into "procurement_group" ("id", "create_uid", "create_date", "write_uid", "write_date", "move_type", "name", "partner_id", "sale_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), ?, ?, ?, ?) returning id;-
INSERT INTO "procurement_group" ("id", "create_uid", "create_date", "write_uid", "write_date", "move_type", "name", "partner_id", "sale_id") VALUES (nextval('procurement_group_id_seq'), 989, (now() at time zone 'UTC'), 989, (now() at time zone 'UTC'), 'direct', 'T-07910', 33656, 41876) RETURNING id;
Date: 2023-04-03 12:16:48
23 1 1s211ms 1s211ms 1s211ms 1s211ms update "stock_quant" set "company_id" = ?, "inventory_vendor_id" = ?, "warehouse_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_quant" SET "company_id" = 1, "inventory_vendor_id" = 3089, "warehouse_id" = 36, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (258561, 258562, 258563, 258564, 258565, 258566, 258567, 258568, 258569, 258528, 258530, 258531, 258532, 258533, 258534, 258535, 258537, 258539, 258541, 258542, 258543, 258544, 258545, 258547, 258549, 258550, 258551, 258552, 258553, 258554, 258556, 258557, 258558, 258559);
Date: 2023-04-03 14:15:01
-
UPDATE "stock_quant" SET "company_id" = 1, "inventory_vendor_id" = 3089, "warehouse_id" = 36, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (258624, 258626, 258627, 258628, 258629, 258630, 258631, 258633, 258635, 258637, 258638, 258639, 258640, 258641, 258643, 258645, 258646, 258647, 258648, 258649, 258650, 258652, 258653, 258654, 258655, 258657, 258658, 258659, 258660, 258661, 258662, 258663, 258664, 258665);
Date: 2023-04-03 14:20:20
-
UPDATE "stock_quant" SET "company_id" = 1, "inventory_vendor_id" = 3089, "warehouse_id" = 36, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (258581, 258583, 258584, 258585, 258586, 258587, 258588, 258590, 258592, 258594, 258595, 258596, 258597, 258598, 258600, 258602, 258603, 258604, 258605, 258606, 258607, 258609, 258610, 258611, 258612, 258614, 258615, 258616, 258617, 258618, 258619, 258620, 258621, 258622);
Date: 2023-04-03 14:17:37
24 1 1s74ms 1s74ms 1s74ms 1s74ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move" SET "current_warehouse_qty" = - 4.0, "date" = '2023-04-03 13:56:51', "state" = 'done', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (348850, 348851);
Date: 2023-04-03 13:57:35
-
UPDATE "stock_move" SET "current_warehouse_qty" = - 2.0, "date" = '2023-04-03 13:56:51', "state" = 'done', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (348844, 348845);
Date: 2023-04-03 13:57:31
-
UPDATE "stock_move" SET "current_warehouse_qty" = - 1.0, "date" = '2023-04-03 12:34:37', "state" = 'done', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (348401);
Date: 2023-04-03 12:34:38
Queries that waited the most
Rank Wait time Query 1 1m27s INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "bom_line_id", "branch_id", "byproduct_id", "company_id", "consume_unbuild_id", "core_qty", "created_production_id", "date", "date_deadline", "description_picking", "dest_warehouse_id", "group_id", "inventory_id", "location_dest_id", "location_id", "move_options", "mrp_core_move", "mrp_finish_core_move", "name", "next_serial", "next_serial_count", "note", "operation_id", "orderpoint_id", "origin", "origin_returned_move_id", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "production_id", "propagate_cancel", "purchase_line_id", "raw_material_production_id", "related_bom_line_id", "repair_id", "repair_line_id", "restrict_partner_id", "rule_id", "sale_line_id", "sequence", "src_warehouse_id", "state", "unbuild_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1037, (now() at time zone 'UTC'), 1037, (now() at time zone 'UTC'), false, NULL, NULL, 50, NULL, 1, NULL, 0.0, NULL, '2023-03-28 11:58:54.258342', '2023-03-28 11:58:54.258342', '[24224] 1-1/2" GS Coolant Hose', NULL, 73998, NULL, 453, 4, 'new_product', false, false, '[24224] 1-1/2" GS Coolant Hose', NULL, 0, NULL, NULL, NULL, 'S-00248', NULL, NULL, 104451, 345, 29.45, '0', 'make_to_stock', 178553, 1, '11.00', NULL, true, 49619, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 115, NULL, 'draft', NULL, 44) RETURNING id;[ Date: 2023-04-03 17:12:27 ]
2 1m1s UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 538965 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 538965 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-04-03 20:04:21 ]
3 38s847ms UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);[ Date: 2023-04-03 14:50:04 ]
4 36s868ms UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1149, "write_date" = (now() at time zone 'UTC') WHERE id IN (121435);[ Date: 2023-04-03 13:14:17 ]
5 35s345ms UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1149, "write_date" = (now() at time zone 'UTC') WHERE id IN (121435);[ Date: 2023-04-03 13:13:34 ]
6 34s344ms UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1149, "write_date" = (now() at time zone 'UTC') WHERE id IN (121435);[ Date: 2023-04-03 13:12:51 ]
7 33s774ms UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1149, "write_date" = (now() at time zone 'UTC') WHERE id IN (121435);[ Date: 2023-04-03 13:12:11 ]
8 33s421ms UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1149, "write_date" = (now() at time zone 'UTC') WHERE id IN (121435);[ Date: 2023-04-03 13:14:57 ]
9 21s414ms UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);[ Date: 2023-04-03 14:51:03 ]
10 16s968ms INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 42, 1, '2023-04-06 11:48:25.536698', 41, 77020, 468, 421, 'new_product', '07-L/INT/01449', '07-L/INT/01449', 109375, 317, '0', 'make_to_stock', 237202, 1, '12.00', true, 10, 40, 'draft', 4486, 40) RETURNING id;[ Date: 2023-04-03 11:48:54 ]
11 16s5ms UPDATE "product_warehouse_inventory" SET "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (32836, 32837, 32838, 32839, 32840, 106053, 32868, 32869, 32870, 32871, 32872, 32873, 32874, 32875, 32876, 33903, 33904, 33905, 33906, 33907, 33908, 104563, 32891, 32892, 32893, 32894, 32895, 32896, 32897, 32898, 32899, 32900, 33936, 33937, 33426, 33427, 33428, 33429, 33430, 33431, 33432, 33938, 31898, 31899, 33940, 32950, 32951, 32952, 32953, 33978, 33979, 33980, 33469, 33470, 33981, 33982, 33471, 33472, 33473, 33474, 33475, 32957, 174283, 174284, 174285, 174286, 174287, 174288, 174289, 174290, 174291, 174292, 174293, 32983, 32985, 32986, 32987, 32988, 32503, 32504, 32505, 32506, 32507, 32508, 32515, 32516, 32517, 32518, 32519, 32520, 32521, 33939, 30984, 30983, 30982, 30985, 30986, 33066, 33067, 33068, 33069, 33070, 33071, 31064, 31065, 31066, 31067, 31068, 31069, 31070, 31071, 32622, 32624, 105850, 32637, 32639, 32642, 32643, 31113, 31114, 31115, 31116, 31117, 31118, 31119, 31641, 31642, 31643, 32954, 32955, 32956, 34228, 34229, 34230, 34231, 34232, 33720, 33468, 32723, 32724, 32725, 32726, 32728, 32730, 32731, 32732, 33265, 33268);[ Date: 2023-04-03 17:10:50 ]
12 14s232ms UPDATE "stock_move" SET "date" = '2023-04-03 13:00:54', "delay_alert_date" = NULL, "is_done" = true, "state" = 'done', "write_uid" = 1228, "write_date" = (now() at time zone 'UTC') WHERE id IN (341006);[ Date: 2023-04-03 13:01:11 ]
13 12s785ms UPDATE "stock_move" SET "date" = '2023-04-03 12:57:00', "is_done" = true, "state" = 'done', "write_uid" = 1228, "write_date" = (now() at time zone 'UTC') WHERE id IN (320891);[ Date: 2023-04-03 12:57:13 ]
14 11s533ms UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);[ Date: 2023-04-03 14:47:36 ]
15 11s100ms INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 14:42:36', '2023-04-03 14:42:36', 'Keeper Pro-Torq', 77313, 5, 429, 'new_product', '[450-4973] Keeper Pro-Torq', NULL, 'B-03069', 43543, 322, '0', 'make_to_stock', 187908, 1, '6.00', false, 362, 121780, 10, 'draft', 41) RETURNING id;[ Date: 2023-04-03 14:49:13 ]
16 9s505ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 537538 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 537538 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-04-03 16:53:19 ]
17 8s134ms DELETE FROM ir_attachment WHERE id IN (2289278);[ Date: 2023-04-03 07:27:23 ]
18 7s510ms UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);[ Date: 2023-04-03 14:48:33 ]
19 7s399ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 537981 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 537981 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-04-03 17:09:06 ]
20 6s609ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 536669 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 536669 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-04-03 14:51:49 ]
-
Queries
Queries by type
Key values
- 126,203 Total read queries
- 24,203 Total write queries
Queries by database
Key values
- unknown Main database
- 150,406 Requests
- 14h19m28s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 150,810 Requests
User Request type Count Duration unknown Total 150,810 14h20m20s copy to 58 3m30s cte 1,706 5m26s ddl 4 7s950ms delete 484 11m38s insert 2,722 58m58s select 126,607 6h32m51s update 19,229 6h27m47s Duration by user
Key values
- 14h20m20s (unknown) Main time consuming user
User Request type Count Duration unknown Total 150,810 14h20m20s copy to 58 3m30s cte 1,706 5m26s ddl 4 7s950ms delete 484 11m38s insert 2,722 58m58s select 126,607 6h32m51s update 19,229 6h27m47s Queries by host
Key values
- unknown Main host
- 150,810 Requests
- 14h20m20s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 150,406 Requests
- 14h19m28s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2023-04-03 06:22:32 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 128,209 100-500ms duration
Slowest individual queries
Rank Duration Query 1 1m28s INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "bom_line_id", "branch_id", "byproduct_id", "company_id", "consume_unbuild_id", "core_qty", "created_production_id", "date", "date_deadline", "description_picking", "dest_warehouse_id", "group_id", "inventory_id", "location_dest_id", "location_id", "move_options", "mrp_core_move", "mrp_finish_core_move", "name", "next_serial", "next_serial_count", "note", "operation_id", "orderpoint_id", "origin", "origin_returned_move_id", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "production_id", "propagate_cancel", "purchase_line_id", "raw_material_production_id", "related_bom_line_id", "repair_id", "repair_line_id", "restrict_partner_id", "rule_id", "sale_line_id", "sequence", "src_warehouse_id", "state", "unbuild_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1037, (now() at time zone 'UTC'), 1037, (now() at time zone 'UTC'), false, NULL, NULL, 50, NULL, 1, NULL, 0.0, NULL, '2023-03-28 11:58:54.258342', '2023-03-28 11:58:54.258342', '[24224] 1-1/2" GS Coolant Hose', NULL, 73998, NULL, 453, 4, 'new_product', false, false, '[24224] 1-1/2" GS Coolant Hose', NULL, 0, NULL, NULL, NULL, 'S-00248', NULL, NULL, 104451, 345, 29.45, '0', 'make_to_stock', 178553, 1, '11.00', NULL, true, 49619, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 115, NULL, 'draft', NULL, 44) RETURNING id;[ Date: 2023-04-03 17:12:29 ]
2 1m3s UPDATE "stock_move" SET "is_done" = true, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343424, 343425, 343426, 343427, 343428, 343429, 343430, 343432, 343433, 343434, 343435, 343388, 343390, 343391, 343392, 343393, 343394, 343395, 343396, 343397, 343398, 343399, 343400, 343401, 343402, 343403, 343404, 343405, 343406, 343407, 343409, 343411, 343412, 343413, 343414, 343415, 343416, 343417, 343418, 343419, 343420, 343421, 343422, 343423);[ Date: 2023-04-03 14:16:05 ]
3 1m2s UPDATE "stock_move" SET "reference" = '02-G/IN/03804', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (336641, 336642, 336643, 336644, 336645, 336646, 336647, 336648, 336649, 336650, 336651, 336652, 336653, 336654, 336656, 336657, 336658, 336659, 336660, 336611, 336612, 336613, 336614, 336616, 336617, 336618, 336619, 336620, 336621, 336622, 336623, 336624, 336625, 336626, 336627, 336628, 336629, 336630, 336632, 336633, 336634, 336635, 336636, 336637, 336638, 336639);[ Date: 2023-04-03 20:04:20 ]
4 1m2s UPDATE "stock_move" SET "is_done" = true, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343424, 343425, 343426, 343427, 343428, 343429, 343430, 343432, 343433, 343434, 343435, 343388, 343390, 343391, 343392, 343393, 343394, 343395, 343396, 343397, 343398, 343399, 343400, 343401, 343402, 343403, 343404, 343405, 343406, 343407, 343409, 343411, 343412, 343413, 343414, 343415, 343416, 343417, 343418, 343419, 343420, 343421, 343422, 343423);[ Date: 2023-04-03 14:21:22 ]
5 1m UPDATE "stock_move" SET "picking_id" = 110429, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (336641, 336642, 336643, 336644, 336645, 336646, 336647, 336648, 336649, 336650, 336651, 336652, 336653, 336654, 336656, 336657, 336658, 336659, 336660, 336611, 336612, 336613, 336614, 336616, 336617, 336618, 336619, 336620, 336621, 336622, 336623, 336624, 336625, 336626, 336627, 336628, 336629, 336630, 336632, 336633, 336634, 336635, 336636, 336637, 336638, 336639);[ Date: 2023-04-03 20:03:09 ]
6 1m UPDATE "stock_move" SET "is_done" = true, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343424, 343425, 343426, 343427, 343428, 343429, 343430, 343432, 343433, 343434, 343435, 343388, 343390, 343391, 343392, 343393, 343394, 343395, 343396, 343397, 343398, 343399, 343400, 343401, 343402, 343403, 343404, 343405, 343406, 343407, 343409, 343411, 343412, 343413, 343414, 343415, 343416, 343417, 343418, 343419, 343420, 343421, 343422, 343423);[ Date: 2023-04-03 14:18:38 ]
7 59s73ms UPDATE "stock_move" SET "is_done" = true, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343424, 343425, 343426, 343427, 343428, 343429, 343430, 343432, 343433, 343434, 343435, 343388, 343390, 343391, 343392, 343393, 343394, 343395, 343396, 343397, 343398, 343399, 343400, 343401, 343402, 343403, 343404, 343405, 343406, 343407, 343409, 343411, 343412, 343413, 343414, 343415, 343416, 343417, 343418, 343419, 343420, 343421, 343422, 343423);[ Date: 2023-04-03 14:23:59 ]
8 56s627ms UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (350080, 350081, 350082, 350083, 350084, 350085, 350086, 350087, 350088, 350089, 350090, 350091, 350092, 350093, 350094, 350095, 350096, 350098, 350099, 350100, 350101, 350102, 350103, 350104, 350105, 350106, 350107, 350108, 350109, 350110, 350111, 350112, 350113, 350114, 350115, 350074, 350075, 350076, 350077, 350078, 350079);[ Date: 2023-04-03 19:56:37 ]
9 50s895ms UPDATE "stock_move" SET "picking_id" = 109537, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (340253, 340254, 340256, 340257, 340258, 340259, 340260, 340261, 340262, 340263, 340264, 340265, 340266, 340267, 340268, 340269, 340270, 340271, 340272, 340273, 340274, 340275, 340276, 340277, 340278, 340279, 340280, 340281, 340283, 340284);[ Date: 2023-04-03 12:57:43 ]
10 50s469ms UPDATE "stock_move" SET "scrapped" = false, "state" = 'confirmed', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (350080, 350081, 350082, 350083, 350084, 350085, 350086, 350087, 350088, 350089, 350090, 350091, 350092, 350093, 350094, 350095, 350096, 350098, 350099, 350100, 350101, 350102, 350103, 350104, 350105, 350106, 350107, 350108, 350109, 350110, 350111, 350112, 350074, 350075, 350076, 350077, 350078, 350079);[ Date: 2023-04-03 19:55:36 ]
11 48s553ms UPDATE "stock_move" SET "reference" = '10-I/IN/04001', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (340253, 340254, 340256, 340257, 340258, 340259, 340260, 340261, 340262, 340263, 340264, 340265, 340266, 340267, 340268, 340269, 340270, 340271, 340272, 340273, 340274, 340275, 340276, 340277, 340278, 340279, 340280, 340281, 340283, 340284);[ Date: 2023-04-03 12:58:35 ]
12 44s902ms COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, ref_id, ref) TO stdout;[ Date: 2023-04-03 09:01:23 ]
13 43s710ms UPDATE "stock_move" SET "is_done" = true, "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (348821, 348822, 348823, 348824, 348825, 348826, 348827, 348828, 348829, 348832, 348835, 348836, 348837, 348838, 348839, 348840, 348841, 348842, 348843, 348844, 348845, 348849, 348850, 348851, 348852, 348855, 348857, 348860, 348862, 348863, 348870, 348873);[ Date: 2023-04-03 13:58:49 ]
14 43s559ms UPDATE "stock_move" SET "picking_id" = 110144, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (339104, 339105, 339106, 339107, 339108, 339109, 339110, 339111, 339112, 339113, 339114, 339115, 339116, 339117, 339118, 339119, 339120, 339121, 339123, 339124, 339125, 339126, 339127, 339128, 339129);[ Date: 2023-04-03 17:09:23 ]
15 43s301ms UPDATE "stock_move" SET "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (348821, 348822, 348823, 348824, 348825, 348826, 348827, 348828, 348829, 348832, 348835, 348836, 348837, 348838, 348839, 348840, 348841, 348842, 348843, 348844, 348845, 348849, 348850, 348851, 348852, 348855, 348857, 348860, 348862, 348863, 348870, 348873);[ Date: 2023-04-03 13:56:50 ]
16 42s687ms UPDATE "stock_move" SET "picking_id" = 110139, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (339104, 339105, 339106, 339107, 339108, 339109, 339110, 339111, 339112, 339113, 339114, 339115, 339116, 339117, 339118, 339119, 339120, 339121, 339123, 339124, 339125, 339126, 339127, 339128, 339129);[ Date: 2023-04-03 17:07:56 ]
17 42s541ms UPDATE "stock_move" SET "picking_id" = 110146, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (339104, 339105, 339106, 339107, 339108, 339109, 339110, 339111, 339112, 339113, 339114, 339115, 339116, 339117, 339118, 339119, 339120, 339121, 339123, 339124, 339125, 339126, 339127, 339128, 339129);[ Date: 2023-04-03 17:10:12 ]
18 40s16ms UPDATE "stock_move" SET "date" = '2023-04-03 18:20:07', "state" = 'done', "write_uid" = 1213, "write_date" = (now() at time zone 'UTC') WHERE id IN (342917, 342918, 342919, 342920, 342921, 342923, 342924, 342925, 342926, 342927, 342929, 342931, 342933, 342935, 342937, 342938, 342939, 342940, 342941, 342942, 342943, 342944, 342945, 342946);[ Date: 2023-04-03 18:20:47 ]
19 39s86ms UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);[ Date: 2023-04-03 14:50:04 ]
20 38s649ms UPDATE "stock_move" SET "is_done" = true, "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (337995, 337996, 337997, 337998, 337999, 338000, 338001, 338002, 338003, 338004, 338005, 338006, 338008, 338009, 338010, 338011, 338012, 338013, 338014, 338015, 338016, 338017, 338018, 338019, 338020, 338021);[ Date: 2023-04-03 18:38:22 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h55m20s 53,459 120ms 374ms 129ms select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 03 00 2,444 5m2s 123ms 01 2,484 5m8s 124ms 02 2,359 4m51s 123ms 03 2,190 4m38s 126ms 04 2,402 5m2s 126ms 05 2,408 5m1s 125ms 06 2,429 5m3s 124ms 07 2,356 4m55s 125ms 08 2,392 5m 125ms 09 2,455 5m7s 125ms 10 2,219 4m34s 123ms 11 2,556 5m35s 131ms 12 2,387 5m31s 138ms 13 2,259 5m15s 139ms 14 2,289 5m14s 137ms 15 2,046 4m34s 134ms 16 1,966 4m25s 134ms 17 1,917 4m27s 139ms 18 2,083 4m47s 138ms 19 1,888 4m7s 131ms 20 2,035 4m24s 130ms 21 1,929 4m4s 126ms 22 2,151 4m33s 127ms 23 1,815 3m50s 126ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_common_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5ea4658/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-04-03 11:01:00 Duration: 374ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_frontend.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-ad3ee20/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-04-03 13:18:22 Duration: 359ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_common_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5ea4658/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-04-03 13:18:31 Duration: 347ms
2 1h48m24s 51,697 120ms 233ms 125ms select count(so.id) as total_orders from sale_order as so left join sale_order_line as sol on sol.order_id = so.id left join product_warehouse_inventory as pwi on pwi.product_id = sol.product_id left join stock_warehouse as sw on sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= ?::timestamp and so.date_order <= ?::timestamp and sol.product_id = ? and so.state in (...) and so.warehouse_id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 03 00 4,413 9m14s 125ms 01 4,462 9m21s 125ms 02 4,423 9m15s 125ms 03 4,435 9m20s 126ms 04 4,526 9m33s 126ms 05 4,431 9m18s 126ms 06 4,470 9m22s 125ms 07 4,403 9m13s 125ms 08 4,432 9m19s 126ms 09 4,461 9m22s 126ms 22 3,749 7m47s 124ms 23 3,492 7m14s 124ms -
select count(so.id) as total_orders from sale_order as so LEFT JOIN sale_order_line as sol ON sol.order_id = so.id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = sol.product_id LEFT JOIN stock_warehouse as sw ON sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= '2022-10-03T09:30:11.534043'::timestamp and so.date_order <= '2023-04-03T09:30:11.534043'::timestamp and sol.product_id = 230935 and so.state in ('done', 'sale') and so.warehouse_id = 43;
Date: 2023-04-03 09:32:42 Duration: 233ms
-
select count(so.id) as total_orders from sale_order as so LEFT JOIN sale_order_line as sol ON sol.order_id = so.id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = sol.product_id LEFT JOIN stock_warehouse as sw ON sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= '2022-10-03T03:30:07.936415'::timestamp and so.date_order <= '2023-04-03T03:30:07.936415'::timestamp and sol.product_id = 220937 and so.state in ('done', 'sale') and so.warehouse_id = 44;
Date: 2023-04-03 03:30:08 Duration: 204ms
-
select count(so.id) as total_orders from sale_order as so LEFT JOIN sale_order_line as sol ON sol.order_id = so.id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = sol.product_id LEFT JOIN stock_warehouse as sw ON sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= '2022-10-03T01:30:28.325269'::timestamp and so.date_order <= '2023-04-03T01:30:28.325269'::timestamp and sol.product_id = 215245 and so.state in ('done', 'sale') and so.warehouse_id = 35;
Date: 2023-04-03 01:30:28 Duration: 189ms
3 44m10s 860 1s236ms 56s627ms 3s81ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 03 03 4 8s584ms 2s146ms 04 1 1s432ms 1s432ms 10 3 4s22ms 1s340ms 11 47 2m8s 2s726ms 12 87 4m9s 2s869ms 13 109 6m 3s304ms 14 95 4m39s 2s943ms 15 104 3m54s 2s254ms 16 81 4m35s 3s405ms 17 110 7m47s 4s247ms 18 92 5m7s 3s342ms 19 68 3m48s 3s356ms 20 49 1m21s 1s660ms 21 8 14s360ms 1s795ms 22 1 6s938ms 6s938ms 23 1 2s580ms 2s580ms -
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (350080, 350081, 350082, 350083, 350084, 350085, 350086, 350087, 350088, 350089, 350090, 350091, 350092, 350093, 350094, 350095, 350096, 350098, 350099, 350100, 350101, 350102, 350103, 350104, 350105, 350106, 350107, 350108, 350109, 350110, 350111, 350112, 350113, 350114, 350115, 350074, 350075, 350076, 350077, 350078, 350079);
Date: 2023-04-03 19:56:37 Duration: 56s627ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (349846, 349847, 349848, 349849, 349850, 349851, 349852, 349853, 349854, 349855, 349856, 349857, 349858, 349859, 349860, 349861, 349862, 349863, 349864, 349865, 349866, 349867, 349868, 349869, 349870, 349871);
Date: 2023-04-03 18:37:52 Duration: 37s202ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (348821, 348822, 348823, 348824, 348825, 348826, 348827, 348828, 348829, 348832, 348835, 348836, 348837, 348839, 348840, 348841, 348843, 348844, 348845, 348849, 348850, 348851, 348852, 348855);
Date: 2023-04-03 13:53:39 Duration: 33s963ms
4 38m46s 4,017 515ms 1s495ms 579ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 03 10 13 7s95ms 545ms 11 325 3m4s 569ms 12 479 4m41s 587ms 13 634 6m12s 587ms 14 513 5m 586ms 15 463 4m24s 572ms 16 365 3m29s 573ms 17 409 3m59s 585ms 18 275 2m43s 593ms 19 246 2m19s 568ms 20 217 2m1s 558ms 21 74 40s362ms 545ms 22 4 2s154ms 538ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%972%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%97-2%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%97-2%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 14:26:42 Duration: 1s495ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%97%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%97-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%97-%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 14:26:41 Duration: 1s327ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%489xfahxa3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%489xfahx-a3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%489xfahx-a3%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 14:26:29 Duration: 1s217ms
5 30m53s 225 1s269ms 40s16ms 8s236ms update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 03 09 1 1s285ms 1s285ms 11 4 7s273ms 1s818ms 12 7 24s442ms 3s491ms 13 21 1m48s 5s180ms 14 28 2m23s 5s115ms 15 28 2m36s 5s580ms 16 49 8m49s 10s809ms 17 37 7m40s 12s453ms 18 28 5m4s 10s888ms 19 6 1m13s 12s315ms 20 6 13s854ms 2s309ms 21 9 26s135ms 2s903ms 22 1 2s864ms 2s864ms -
UPDATE "stock_move" SET "date" = '2023-04-03 18:20:07', "state" = 'done', "write_uid" = 1213, "write_date" = (now() at time zone 'UTC') WHERE id IN (342917, 342918, 342919, 342920, 342921, 342923, 342924, 342925, 342926, 342927, 342929, 342931, 342933, 342935, 342937, 342938, 342939, 342940, 342941, 342942, 342943, 342944, 342945, 342946);
Date: 2023-04-03 18:20:47 Duration: 40s16ms
-
UPDATE "stock_move" SET "date" = '2023-04-03 17:04:55', "state" = 'done', "write_uid" = 1019, "write_date" = (now() at time zone 'UTC') WHERE id IN (342917, 342918, 342919, 342920, 342921, 342923, 342924, 342925, 342926, 342927, 342929, 342931, 342933, 342935, 342937, 342938, 342939, 342940, 342941, 342942, 342943, 342944, 342945, 342946);
Date: 2023-04-03 17:05:33 Duration: 37s366ms
-
UPDATE "stock_move" SET "date" = '2023-04-03 18:21:39', "state" = 'done', "write_uid" = 1213, "write_date" = (now() at time zone 'UTC') WHERE id IN (342917, 342918, 342919, 342920, 342921, 342923, 342924, 342925, 342926, 342927, 342929, 342931, 342933, 342935, 342937, 342938, 342939, 342940, 342941, 342942, 342943, 342944, 342945, 342946);
Date: 2023-04-03 18:22:17 Duration: 37s292ms
6 27m48s 641 1s240ms 21s704ms 2s603ms update "stock_move" set "current_warehouse_qty" = ?.?, "is_done" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 03 11 1 1s517ms 1s517ms 12 11 16s793ms 1s526ms 13 47 1m15s 1s601ms 14 54 1m29s 1s663ms 15 71 2m28s 2s97ms 16 184 8m19s 2s716ms 17 129 7m24s 3s449ms 18 87 4m48s 3s312ms 19 35 1m10s 2s9ms 20 8 13s815ms 1s726ms 21 13 17s819ms 1s370ms 22 1 1s303ms 1s303ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1213, "write_date" = (now() at time zone 'UTC') WHERE id IN (342944, 342925, 342926, 342927, 342929, 342931, 342935, 342938, 342939, 342940, 342941, 342942, 342943);
Date: 2023-04-03 18:24:26 Duration: 21s704ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (343335, 343336, 343337, 343338, 343339, 343340, 343341, 343343, 343344, 343345, 343347, 343351, 343354);
Date: 2023-04-03 17:05:19 Duration: 20s647ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1213, "write_date" = (now() at time zone 'UTC') WHERE id IN (342944, 342925, 342926, 342927, 342929, 342931, 342935, 342938, 342939, 342940, 342941, 342942, 342943);
Date: 2023-04-03 18:21:27 Duration: 20s470ms
7 25m26s 229 1s218ms 1m 6s667ms update "stock_move" set "picking_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 03 09 1 1s323ms 1s323ms 11 3 11s681ms 3s893ms 12 4 59s41ms 14s760ms 13 23 1m48s 4s697ms 14 23 1m49s 4s751ms 15 34 2m21s 4s157ms 16 45 5m18s 7s71ms 17 34 8m12s 14s472ms 18 28 2m15s 4s853ms 19 15 37s522ms 2s501ms 20 10 1m24s 8s442ms 21 8 25s458ms 3s182ms 22 1 2s610ms 2s610ms -
UPDATE "stock_move" SET "picking_id" = 110429, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (336641, 336642, 336643, 336644, 336645, 336646, 336647, 336648, 336649, 336650, 336651, 336652, 336653, 336654, 336656, 336657, 336658, 336659, 336660, 336611, 336612, 336613, 336614, 336616, 336617, 336618, 336619, 336620, 336621, 336622, 336623, 336624, 336625, 336626, 336627, 336628, 336629, 336630, 336632, 336633, 336634, 336635, 336636, 336637, 336638, 336639);
Date: 2023-04-03 20:03:09 Duration: 1m
-
UPDATE "stock_move" SET "picking_id" = 109537, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (340253, 340254, 340256, 340257, 340258, 340259, 340260, 340261, 340262, 340263, 340264, 340265, 340266, 340267, 340268, 340269, 340270, 340271, 340272, 340273, 340274, 340275, 340276, 340277, 340278, 340279, 340280, 340281, 340283, 340284);
Date: 2023-04-03 12:57:43 Duration: 50s895ms
-
UPDATE "stock_move" SET "picking_id" = 110144, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (339104, 339105, 339106, 339107, 339108, 339109, 339110, 339111, 339112, 339113, 339114, 339115, 339116, 339117, 339118, 339119, 339120, 339121, 339123, 339124, 339125, 339126, 339127, 339128, 339129);
Date: 2023-04-03 17:09:23 Duration: 43s559ms
8 23m28s 900 1s231ms 8s92ms 1s565ms update "stock_move" set "delay_alert_date" = ?, "is_done" = false, "picking_code" = ?, "product_qty" = ?.?, "reference" = ?, "unit_factor" = ?.?, "weight" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 03 10 3 4s118ms 1s372ms 11 66 1m40s 1s519ms 12 94 2m25s 1s547ms 13 176 4m38s 1s581ms 14 145 3m45s 1s555ms 15 71 2m4s 1s748ms 16 42 1m1s 1s453ms 17 119 3m2s 1s531ms 18 79 2m3s 1s567ms 19 48 1m19s 1s647ms 20 35 51s906ms 1s483ms 21 10 15s932ms 1s593ms 22 5 6s962ms 1s392ms 23 7 9s724ms 1s389ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 1.0, "reference" = '10-I/IN/04004', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (348714, 348716, 348717, 348718, 348719, 348720);
Date: 2023-04-03 13:32:30 Duration: 8s92ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '13-T/OUT/08291', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (349218, 349220, 349221, 349224, 349225);
Date: 2023-04-03 15:13:53 Duration: 6s651ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 16.0, "reference" = '04-V/OUT/03893', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 980, "write_date" = (now() at time zone 'UTC') WHERE id IN (349296, 349297, 349298, 349299);
Date: 2023-04-03 15:45:24 Duration: 6s424ms
9 21m53s 916 1s196ms 12s454ms 1s434ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 03 10 3 3s985ms 1s328ms 11 69 1m39s 1s437ms 12 104 2m29s 1s435ms 13 187 4m28s 1s435ms 14 159 3m59s 1s504ms 15 86 2m2s 1s429ms 16 44 1m 1s371ms 17 101 2m21s 1s399ms 18 57 1m21s 1s436ms 19 43 59s625ms 1s386ms 20 36 49s858ms 1s384ms 21 11 15s885ms 1s444ms 22 5 6s875ms 1s375ms 23 11 15s123ms 1s374ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 14:42:36', '2023-04-03 14:42:36', 'Keeper Pro-Torq', 77313, 5, 429, 'new_product', '[450-4973] Keeper Pro-Torq', NULL, 'B-03069', 43543, 322, '0', 'make_to_stock', 187908, 1, '6.00', false, 362, 121780, 10, 'draft', 41) RETURNING id;
Date: 2023-04-03 14:49:14 Duration: 12s454ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 11:49:36', '2023-04-03 11:49:36', 'Brake Drum 15.00 X 4.0 Bal', 77024, 5, 397, 'new_product', '[51528B] Brake Drum 15.00 X 4.0 Bal', NULL, 'V-03142', 40026, 290, '0', 'make_to_stock', 190550, 1, '2.00', false, 326, 121336, 10, 'draft', 37) RETURNING id;
Date: 2023-04-03 11:50:59 Duration: 2s109ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 14:47:47', '2023-04-03 14:47:47', 'Value Drum 16.50 X 7.00 Bal', 77306, 5, 389, 'new_product', '[56864B] Value Drum 16.50 X 7.00 Bal', NULL, 'C-04691', 33920, 282, '0', 'make_to_stock', 190568, 1, '20.00', false, 317, 121801, 10, 'draft', 36) RETURNING id;
Date: 2023-04-03 14:48:15 Duration: 2s52ms
10 19m50s 210 1s245ms 1m2s 5s669ms update "stock_move" set "reference" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 03 09 1 1s317ms 1s317ms 11 3 12s250ms 4s83ms 12 4 56s848ms 14s212ms 13 22 1m41s 4s616ms 14 22 1m46s 4s826ms 15 33 2m22s 4s318ms 16 33 1m54s 3s468ms 17 31 6m13s 12s38ms 18 27 2m10s 4s845ms 19 15 37s549ms 2s503ms 20 10 1m25s 8s555ms 21 8 25s718ms 3s214ms 22 1 2s674ms 2s674ms -
UPDATE "stock_move" SET "reference" = '02-G/IN/03804', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (336641, 336642, 336643, 336644, 336645, 336646, 336647, 336648, 336649, 336650, 336651, 336652, 336653, 336654, 336656, 336657, 336658, 336659, 336660, 336611, 336612, 336613, 336614, 336616, 336617, 336618, 336619, 336620, 336621, 336622, 336623, 336624, 336625, 336626, 336627, 336628, 336629, 336630, 336632, 336633, 336634, 336635, 336636, 336637, 336638, 336639);
Date: 2023-04-03 20:04:20 Duration: 1m2s
-
UPDATE "stock_move" SET "reference" = '10-I/IN/04001', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (340253, 340254, 340256, 340257, 340258, 340259, 340260, 340261, 340262, 340263, 340264, 340265, 340266, 340267, 340268, 340269, 340270, 340271, 340272, 340273, 340274, 340275, 340276, 340277, 340278, 340279, 340280, 340281, 340283, 340284);
Date: 2023-04-03 12:58:35 Duration: 48s553ms
-
UPDATE "stock_move" SET "reference" = '12-S/IN/00708', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (339104, 339105, 339106, 339107, 339108, 339109, 339110, 339111, 339112, 339113, 339114, 339115, 339116, 339117, 339118, 339119, 339120, 339121, 339124, 339127, 339128);
Date: 2023-04-03 17:21:52 Duration: 35s344ms
11 19m6s 323 1s229ms 21s638ms 3s548ms update "stock_move" set "branch_id" = ?, "picking_id" = ?, "related_core_purchase_line_id" = ?, "related_core_repair_line_id" = ?, "related_core_sale_line_id" = ?, "scrapped" = false, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 03 10 3 4s43ms 1s347ms 11 22 1m24s 3s822ms 12 41 2m2s 2s986ms 13 57 4m1s 4s237ms 14 39 3m25s 5s272ms 15 34 1m44s 3s72ms 16 18 46s158ms 2s564ms 17 34 2m8s 3s778ms 18 25 1m21s 3s241ms 19 22 51s665ms 2s348ms 20 20 46s705ms 2s335ms 21 6 13s150ms 2s191ms 22 1 6s906ms 6s906ms 23 1 9s708ms 9s708ms -
UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 109779, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (349024, 349010, 349011, 349012, 349013, 349014, 349015, 349016, 349017, 349018, 349019, 349020, 349021, 349022, 349023);
Date: 2023-04-03 14:31:00 Duration: 21s638ms
-
UPDATE "stock_move" SET "branch_id" = 44, "picking_id" = 109843, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (349123, 349124, 349125, 349126, 349127, 349128, 349129, 349131, 349134, 349136, 349114);
Date: 2023-04-03 14:49:47 Duration: 17s377ms
-
UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 109405, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (348228, 348229, 348230, 348233, 348234, 348235, 348236, 348237, 348238, 348239, 348240);
Date: 2023-04-03 12:01:40 Duration: 16s760ms
12 13m14s 203 1s239ms 1m3s 3s912ms update "stock_move" set "is_done" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 03 08 1 1s344ms 1s344ms 09 1 1s317ms 1s317ms 11 4 5s752ms 1s438ms 12 18 41s159ms 2s286ms 13 28 1m44s 3s717ms 14 24 5m7s 12s807ms 15 28 42s970ms 1s534ms 16 23 1m2s 2s735ms 17 23 44s619ms 1s939ms 18 19 1m52s 5s940ms 19 14 34s542ms 2s467ms 20 12 23s321ms 1s943ms 21 8 12s14ms 1s501ms -
UPDATE "stock_move" SET "is_done" = true, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343424, 343425, 343426, 343427, 343428, 343429, 343430, 343432, 343433, 343434, 343435, 343388, 343390, 343391, 343392, 343393, 343394, 343395, 343396, 343397, 343398, 343399, 343400, 343401, 343402, 343403, 343404, 343405, 343406, 343407, 343409, 343411, 343412, 343413, 343414, 343415, 343416, 343417, 343418, 343419, 343420, 343421, 343422, 343423);
Date: 2023-04-03 14:16:05 Duration: 1m3s
-
UPDATE "stock_move" SET "is_done" = true, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343424, 343425, 343426, 343427, 343428, 343429, 343430, 343432, 343433, 343434, 343435, 343388, 343390, 343391, 343392, 343393, 343394, 343395, 343396, 343397, 343398, 343399, 343400, 343401, 343402, 343403, 343404, 343405, 343406, 343407, 343409, 343411, 343412, 343413, 343414, 343415, 343416, 343417, 343418, 343419, 343420, 343421, 343422, 343423);
Date: 2023-04-03 14:21:22 Duration: 1m2s
-
UPDATE "stock_move" SET "is_done" = true, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343424, 343425, 343426, 343427, 343428, 343429, 343430, 343432, 343433, 343434, 343435, 343388, 343390, 343391, 343392, 343393, 343394, 343395, 343396, 343397, 343398, 343399, 343400, 343401, 343402, 343403, 343404, 343405, 343406, 343407, 343409, 343411, 343412, 343413, 343414, 343415, 343416, 343417, 343418, 343419, 343420, 343421, 343422, 343423);
Date: 2023-04-03 14:18:38 Duration: 1m
13 11m28s 448 1s252ms 3s285ms 1s536ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 03 08 2 2s920ms 1s460ms 09 3 4s340ms 1s446ms 10 3 4s73ms 1s357ms 11 4 6s610ms 1s652ms 12 47 1m8s 1s463ms 13 94 2m25s 1s549ms 14 59 1m30s 1s538ms 15 41 1m2s 1s532ms 16 39 59s815ms 1s533ms 17 63 1m36s 1s532ms 18 35 57s753ms 1s650ms 19 24 38s489ms 1s603ms 20 19 26s133ms 1s375ms 21 12 18s70ms 1s505ms 22 3 5s403ms 1s801ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 6.0, "date" = '2023-04-03 13:53:19', "is_done" = true, "state" = 'done', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (348859, 348861);
Date: 2023-04-03 13:53:24 Duration: 3s285ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 3.0, "date" = '2023-04-03 13:03:15', "is_done" = true, "state" = 'done', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (348562, 348563);
Date: 2023-04-03 13:03:21 Duration: 3s229ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-04-03 15:35:22', "is_done" = true, "state" = 'done', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (349264, 349263);
Date: 2023-04-03 15:35:25 Duration: 3s172ms
14 10m42s 284 1s219ms 15s700ms 2s260ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 03 08 1 1s360ms 1s360ms 12 21 36s195ms 1s723ms 13 33 1m5s 1s992ms 14 69 4m17s 3s732ms 15 28 40s649ms 1s451ms 16 28 49s329ms 1s761ms 17 21 39s83ms 1s861ms 18 48 1m39s 2s72ms 19 16 25s416ms 1s588ms 20 15 21s645ms 1s443ms 21 4 5s602ms 1s400ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-04-03 14:19:06', "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343425, 343427, 343430, 343399, 343400, 343401, 343407, 343413, 343414, 343416, 343423);
Date: 2023-04-03 14:19:39 Duration: 15s700ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-04-03 14:16:24', "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343425, 343427, 343430, 343399, 343400, 343401, 343407, 343413, 343414, 343416, 343423);
Date: 2023-04-03 14:16:56 Duration: 15s348ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-04-03 14:21:50', "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343425, 343427, 343430, 343399, 343400, 343401, 343407, 343413, 343414, 343416, 343423);
Date: 2023-04-03 14:22:21 Duration: 14s746ms
15 10m17s 864 657ms 1s356ms 715ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 03 11 31 22s358ms 721ms 12 134 1m35s 713ms 13 120 1m27s 730ms 14 64 46s298ms 723ms 15 119 1m24s 709ms 16 72 51s761ms 718ms 17 66 48s135ms 729ms 18 68 48s805ms 717ms 19 80 56s210ms 702ms 20 73 51s163ms 700ms 21 25 17s94ms 683ms 22 12 8s335ms 694ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%ft4707%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%ft4707%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%ft4707%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%ft4707%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-04-03 11:07:22 Duration: 1s356ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%5/32 UNION%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5/32 UNION%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%5/32 UNION%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%5/32 UNION%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-04-03 13:18:23 Duration: 1s170ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%276567%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%276567%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%276567%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%276567%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-04-03 12:57:30 Duration: 1s89ms
16 9m55s 824 587ms 2s885ms 722ms select "item_list_line".id from "item_list_line" where (((("item_list_line"."active" = true) and ("item_list_line"."product_id" = ?)) and (("item_list_line"."method" not in (...)) or "item_list_line"."method" is null)) and ("item_list_line"."item_demand_plan_id" = ?)) order by "item_list_line"."id" limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 03 03 109 1m12s 663ms 04 38 25s418ms 668ms 11 192 2m12s 689ms 12 93 1m5s 709ms 13 65 57s851ms 890ms 14 39 31s863ms 817ms 17 78 1m5s 845ms 18 210 2m23s 682ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 173800)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3305)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-03 17:03:35 Duration: 2s885ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 173214)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3305)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-03 17:01:31 Duration: 1s627ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 173212)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3305)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-03 17:01:27 Duration: 1s626ms
17 9m37s 216 1s295ms 26s648ms 2s672ms update "stock_move" set "delay_alert_date" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 03 08 1 1s501ms 1s501ms 09 1 1s474ms 1s474ms 11 13 31s458ms 2s419ms 12 39 2m29s 3s827ms 13 28 59s601ms 2s128ms 14 18 55s139ms 3s63ms 15 32 58s188ms 1s818ms 16 19 38s542ms 2s28ms 17 7 18s845ms 2s692ms 18 19 1m11s 3s761ms 19 33 1m19s 2s420ms 20 6 11s818ms 1s969ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (337248, 337313, 261825, 340102, 339335, 344359, 339371, 343372, 343437, 343439, 343441, 343379, 343381, 343384, 343386, 337245, 339357, 337247);
Date: 2023-04-03 18:16:21 Duration: 26s648ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (236898, 339074, 312806, 340486, 329449, 340457, 340489, 340491, 305294, 337425, 340439);
Date: 2023-04-03 14:16:05 Duration: 17s918ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (348258, 348188, 348272, 348241, 348400, 348368, 348412, 348252);
Date: 2023-04-03 12:38:15 Duration: 11s539ms
18 8m43s 581 575ms 1s691ms 901ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 03 08 1 720ms 720ms 11 95 1m22s 863ms 12 191 3m8s 985ms 13 32 27s972ms 874ms 14 22 20s797ms 945ms 15 10 8s625ms 862ms 16 3 2s459ms 819ms 17 7 5s716ms 816ms 18 33 28s509ms 863ms 19 10 8s668ms 866ms 20 122 1m44s 854ms 22 30 25s98ms 836ms 23 25 20s916ms 836ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%36-30-102-73%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%36-30-102-73%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%36-30-102-73%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%36-30-102-73%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%36-30-102-73%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%36-30-102-73%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 10;
Date: 2023-04-03 12:32:13 Duration: 1s691ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%36-30-102-73%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%36-30-102-73%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%36-30-102-73%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%36-30-102-73%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%36-30-102-73%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%36-30-102-73%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 10;
Date: 2023-04-03 12:32:25 Duration: 1s681ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%36-30-102-%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%36-30-102-%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%36-30-102-%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%36-30-102-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%36-30-102-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%36-30-102-%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 10;
Date: 2023-04-03 12:32:24 Duration: 1s662ms
19 8m36s 892 520ms 994ms 579ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 03 09 1 525ms 525ms 11 146 1m24s 578ms 12 67 38s758ms 578ms 13 202 1m59s 590ms 14 104 1m 581ms 15 96 54s994ms 572ms 16 22 12s413ms 564ms 17 90 51s54ms 567ms 18 121 1m10s 581ms 19 43 24s225ms 563ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%nlc3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%nlc3/%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%nlc3/%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 11:53:45 Duration: 994ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%apu%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%apu%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%apu%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 13:18:47 Duration: 925ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%CRA%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%CRA%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%CRA%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 18:44:44 Duration: 882ms
20 8m27s 331 1s233ms 2s91ms 1s532ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, true, ?, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 03 03 100 2m29s 1s495ms 04 28 42s42ms 1s501ms 11 91 2m14s 1s477ms 12 92 2m28s 1s615ms 13 2 3s226ms 1s613ms 14 10 16s910ms 1s691ms 19 6 9s223ms 1s537ms 22 2 3s86ms 1s543ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 48, 1, '2023-04-06 12:57:12.373384', 45, 77137, 461, 468, 'new_product', '13-T/INT/03303', '13-T/INT/03303', 109541, 357, '0', 'make_to_stock', 238947, 1, '4.00', true, 10, 40, 'waiting', 4517, 45) RETURNING id;
Date: 2023-04-03 12:57:14 Duration: 2s91ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 38, 1, '2023-04-06 14:21:15.913977', 36, 77262, 389, 468, 'new_product', '03-C/INT/04103', '03-C/INT/04103', 109764, 285, '0', 'make_to_stock', 203223, 1, '3.00', true, 10, 42, 'waiting', 4523, 36) RETURNING id;
Date: 2023-04-03 14:21:17 Duration: 1s935ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 42, 1, '2023-04-06 12:56:50.263964', 45, 77135, 468, 421, 'new_product', '07-L/INT/01456', '07-L/INT/01456', 109536, 317, '0', 'make_to_stock', 237223, 1, '16.00', true, 10, 40, 'draft', 4519, 40) RETURNING id;
Date: 2023-04-03 12:57:00 Duration: 1s934ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 53,459 1h55m20s 120ms 374ms 129ms select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 03 00 2,444 5m2s 123ms 01 2,484 5m8s 124ms 02 2,359 4m51s 123ms 03 2,190 4m38s 126ms 04 2,402 5m2s 126ms 05 2,408 5m1s 125ms 06 2,429 5m3s 124ms 07 2,356 4m55s 125ms 08 2,392 5m 125ms 09 2,455 5m7s 125ms 10 2,219 4m34s 123ms 11 2,556 5m35s 131ms 12 2,387 5m31s 138ms 13 2,259 5m15s 139ms 14 2,289 5m14s 137ms 15 2,046 4m34s 134ms 16 1,966 4m25s 134ms 17 1,917 4m27s 139ms 18 2,083 4m47s 138ms 19 1,888 4m7s 131ms 20 2,035 4m24s 130ms 21 1,929 4m4s 126ms 22 2,151 4m33s 127ms 23 1,815 3m50s 126ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_common_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5ea4658/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-04-03 11:01:00 Duration: 374ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_frontend.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-ad3ee20/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-04-03 13:18:22 Duration: 359ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_common_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5ea4658/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-04-03 13:18:31 Duration: 347ms
2 51,697 1h48m24s 120ms 233ms 125ms select count(so.id) as total_orders from sale_order as so left join sale_order_line as sol on sol.order_id = so.id left join product_warehouse_inventory as pwi on pwi.product_id = sol.product_id left join stock_warehouse as sw on sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= ?::timestamp and so.date_order <= ?::timestamp and sol.product_id = ? and so.state in (...) and so.warehouse_id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 03 00 4,413 9m14s 125ms 01 4,462 9m21s 125ms 02 4,423 9m15s 125ms 03 4,435 9m20s 126ms 04 4,526 9m33s 126ms 05 4,431 9m18s 126ms 06 4,470 9m22s 125ms 07 4,403 9m13s 125ms 08 4,432 9m19s 126ms 09 4,461 9m22s 126ms 22 3,749 7m47s 124ms 23 3,492 7m14s 124ms -
select count(so.id) as total_orders from sale_order as so LEFT JOIN sale_order_line as sol ON sol.order_id = so.id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = sol.product_id LEFT JOIN stock_warehouse as sw ON sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= '2022-10-03T09:30:11.534043'::timestamp and so.date_order <= '2023-04-03T09:30:11.534043'::timestamp and sol.product_id = 230935 and so.state in ('done', 'sale') and so.warehouse_id = 43;
Date: 2023-04-03 09:32:42 Duration: 233ms
-
select count(so.id) as total_orders from sale_order as so LEFT JOIN sale_order_line as sol ON sol.order_id = so.id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = sol.product_id LEFT JOIN stock_warehouse as sw ON sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= '2022-10-03T03:30:07.936415'::timestamp and so.date_order <= '2023-04-03T03:30:07.936415'::timestamp and sol.product_id = 220937 and so.state in ('done', 'sale') and so.warehouse_id = 44;
Date: 2023-04-03 03:30:08 Duration: 204ms
-
select count(so.id) as total_orders from sale_order as so LEFT JOIN sale_order_line as sol ON sol.order_id = so.id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = sol.product_id LEFT JOIN stock_warehouse as sw ON sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= '2022-10-03T01:30:28.325269'::timestamp and so.date_order <= '2023-04-03T01:30:28.325269'::timestamp and sol.product_id = 215245 and so.state in ('done', 'sale') and so.warehouse_id = 35;
Date: 2023-04-03 01:30:28 Duration: 189ms
3 4,017 38m46s 515ms 1s495ms 579ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 03 10 13 7s95ms 545ms 11 325 3m4s 569ms 12 479 4m41s 587ms 13 634 6m12s 587ms 14 513 5m 586ms 15 463 4m24s 572ms 16 365 3m29s 573ms 17 409 3m59s 585ms 18 275 2m43s 593ms 19 246 2m19s 568ms 20 217 2m1s 558ms 21 74 40s362ms 545ms 22 4 2s154ms 538ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%972%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%97-2%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%97-2%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 14:26:42 Duration: 1s495ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%97%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%97-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%97-%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 14:26:41 Duration: 1s327ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%489xfahxa3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%489xfahx-a3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%489xfahx-a3%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 14:26:29 Duration: 1s217ms
4 2,113 5m55s 151ms 384ms 168ms select res_partner.id from "res_partner" where ("res_partner"."active" = true) and (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 03 08 8 1s271ms 158ms 09 36 5s656ms 157ms 10 42 6s575ms 156ms 11 54 8s743ms 161ms 12 173 29s144ms 168ms 13 256 43s849ms 171ms 14 140 24s243ms 173ms 15 240 39s674ms 165ms 16 441 1m13s 167ms 17 295 51s667ms 175ms 18 115 20s3ms 173ms 19 54 9s100ms 168ms 20 68 11s281ms 165ms 21 187 29s713ms 158ms 22 4 634ms 158ms -
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%72504%') OR unaccent (res_partner.display_name) ilike unaccent ('%72504%') OR unaccent (res_partner.ref) ilike unaccent ('%72504%') OR unaccent (res_partner.vat) ilike unaccent ('72504')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%72504%') desc, unaccent (res_partner.display_name);
Date: 2023-04-03 14:47:38 Duration: 384ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%65112%') OR unaccent (res_partner.display_name) ilike unaccent ('%65112%') OR unaccent (res_partner.ref) ilike unaccent ('%65112%') OR unaccent (res_partner.vat) ilike unaccent ('65112')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%65112%') desc, unaccent (res_partner.display_name);
Date: 2023-04-03 13:18:47 Duration: 382ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%B-00702%') OR unaccent (res_partner.display_name) ilike unaccent ('%B-00702%') OR unaccent (res_partner.ref) ilike unaccent ('%B-00702%') OR unaccent (res_partner.vat) ilike unaccent ('B-00702')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%B-00702%') desc, unaccent (res_partner.display_name);
Date: 2023-04-03 16:50:29 Duration: 372ms
5 1,496 3m22s 120ms 295ms 135ms with currency_rate as ( select r.currency_id, coalesce(r.company_id, c.id) as company_id, r.rate, r.name as date_start, ( select name from res_currency_rate r2 where r2.name > r.name and r2.currency_id = r.currency_id and (r2.company_id is null or r2.company_id = c.id) order by r2.name asc limit ?) as date_end from res_currency_rate r join res_company c on (r.company_id is null or r.company_id = c.id)) select l.product_id as product_id, sum(l.price_unit / ( case coalesce(cr.rate, ?) when ? then ?.? else cr.rate end) * l.quantity * ( case when i.move_type in (...) then ? else ? end) * ((? - l.discount) * ?.?)) / nullif (sum(l.quantity * ( case when i.move_type in (...) then ? else ? end)), ?) as avg_unit_price, sum(l.quantity * ( case when i.move_type in (...) then ? else ? end)) as num_qty, sum(abs(l.balance) * ( case when i.move_type in (...) then ? else ? end)) as total, sum(l.quantity * pt.list_price * ( case when i.move_type in (...) then ? else ? end)) as sale_expected from account_move_line l left join account_move i on (l.move_id = i.id) left join product_product product on (product.id = l.product_id) left join product_template pt on (pt.id = product.product_tmpl_id) left join currency_rate cr on (cr.currency_id = i.currency_id and cr.company_id = i.company_id and cr.date_start <= coalesce(i.invoice_date, now()) and (cr.date_end is null or cr.date_end > coalesce(i.invoice_date, now()))) where l.product_id in (...) and i.state in (...) and i.payment_state in (...) and i.move_type in (...) and i.invoice_date between ? and ? and i.company_id = ? and l.display_type is null and l.exclude_from_invoice_tab = false group by l.product_id;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 03 03 1 142ms 142ms 08 2 278ms 139ms 09 6 826ms 137ms 10 1 142ms 142ms 11 14 2s11ms 143ms 12 106 14s299ms 134ms 13 207 28s500ms 137ms 14 174 23s827ms 136ms 15 214 28s175ms 131ms 16 202 27s159ms 134ms 17 188 25s604ms 136ms 18 158 21s641ms 136ms 19 77 10s449ms 135ms 20 106 14s95ms 132ms 21 34 4s359ms 128ms 22 6 800ms 133ms -
WITH currency_rate AS ( SELECT r.currency_id, COALESCE(r.company_id, c.id) as company_id, r.rate, r.name AS date_start, ( SELECT name FROM res_currency_rate r2 WHERE r2.name > r.name AND r2.currency_id = r.currency_id AND (r2.company_id is null or r2.company_id = c.id) ORDER BY r2.name ASC LIMIT 1) AS date_end FROM res_currency_rate r JOIN res_company c ON (r.company_id is null or r.company_id = c.id)) SELECT l.product_id as product_id, SUM(l.price_unit / ( CASE COALESCE(cr.rate, 0) WHEN 0 THEN 1.0 ELSE cr.rate END) * l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END) * ((100 - l.discount) * 0.01)) / NULLIF (SUM(l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)), 0) AS avg_unit_price, SUM(l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS num_qty, SUM(ABS(l.balance) * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS total, SUM(l.quantity * pt.list_price * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS sale_expected FROM account_move_line l LEFT JOIN account_move i ON (l.move_id = i.id) LEFT JOIN product_product product ON (product.id = l.product_id) LEFT JOIN product_template pt ON (pt.id = product.product_tmpl_id) left join currency_rate cr on (cr.currency_id = i.currency_id and cr.company_id = i.company_id and cr.date_start <= COALESCE(i.invoice_date, NOW()) and (cr.date_end IS NULL OR cr.date_end > COALESCE(i.invoice_date, NOW()))) WHERE l.product_id IN (194203) AND i.state IN ('posted') AND i.payment_state IN ('not_paid', 'in_payment', 'paid') AND i.move_type IN ('out_invoice', 'out_refund') AND i.invoice_date BETWEEN '2023-01-01' AND '2023-12-31' AND i.company_id = 1 AND l.display_type IS NULL AND l.exclude_from_invoice_tab = false GROUP BY l.product_id;
Date: 2023-04-03 13:18:43 Duration: 295ms
-
WITH currency_rate AS ( SELECT r.currency_id, COALESCE(r.company_id, c.id) as company_id, r.rate, r.name AS date_start, ( SELECT name FROM res_currency_rate r2 WHERE r2.name > r.name AND r2.currency_id = r.currency_id AND (r2.company_id is null or r2.company_id = c.id) ORDER BY r2.name ASC LIMIT 1) AS date_end FROM res_currency_rate r JOIN res_company c ON (r.company_id is null or r.company_id = c.id)) SELECT l.product_id as product_id, SUM(l.price_unit / ( CASE COALESCE(cr.rate, 0) WHEN 0 THEN 1.0 ELSE cr.rate END) * l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END) * ((100 - l.discount) * 0.01)) / NULLIF (SUM(l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)), 0) AS avg_unit_price, SUM(l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS num_qty, SUM(ABS(l.balance) * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS total, SUM(l.quantity * pt.list_price * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS sale_expected FROM account_move_line l LEFT JOIN account_move i ON (l.move_id = i.id) LEFT JOIN product_product product ON (product.id = l.product_id) LEFT JOIN product_template pt ON (pt.id = product.product_tmpl_id) left join currency_rate cr on (cr.currency_id = i.currency_id and cr.company_id = i.company_id and cr.date_start <= COALESCE(i.invoice_date, NOW()) and (cr.date_end IS NULL OR cr.date_end > COALESCE(i.invoice_date, NOW()))) WHERE l.product_id IN (203681, 3) AND i.state IN ('posted') AND i.payment_state IN ('not_paid', 'in_payment', 'paid') AND i.move_type IN ('out_invoice', 'out_refund') AND i.invoice_date BETWEEN '2023-01-01' AND '2023-12-31' AND i.company_id = 1 AND l.display_type IS NULL AND l.exclude_from_invoice_tab = false GROUP BY l.product_id;
Date: 2023-04-03 15:58:24 Duration: 231ms
-
WITH currency_rate AS ( SELECT r.currency_id, COALESCE(r.company_id, c.id) as company_id, r.rate, r.name AS date_start, ( SELECT name FROM res_currency_rate r2 WHERE r2.name > r.name AND r2.currency_id = r.currency_id AND (r2.company_id is null or r2.company_id = c.id) ORDER BY r2.name ASC LIMIT 1) AS date_end FROM res_currency_rate r JOIN res_company c ON (r.company_id is null or r.company_id = c.id)) SELECT l.product_id as product_id, SUM(l.price_unit / ( CASE COALESCE(cr.rate, 0) WHEN 0 THEN 1.0 ELSE cr.rate END) * l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END) * ((100 - l.discount) * 0.01)) / NULLIF (SUM(l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)), 0) AS avg_unit_price, SUM(l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS num_qty, SUM(ABS(l.balance) * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS total, SUM(l.quantity * pt.list_price * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS sale_expected FROM account_move_line l LEFT JOIN account_move i ON (l.move_id = i.id) LEFT JOIN product_product product ON (product.id = l.product_id) LEFT JOIN product_template pt ON (pt.id = product.product_tmpl_id) left join currency_rate cr on (cr.currency_id = i.currency_id and cr.company_id = i.company_id and cr.date_start <= COALESCE(i.invoice_date, NOW()) and (cr.date_end IS NULL OR cr.date_end > COALESCE(i.invoice_date, NOW()))) WHERE l.product_id IN (205587, 205585) AND i.state IN ('posted') AND i.payment_state IN ('not_paid', 'in_payment', 'paid') AND i.move_type IN ('out_invoice', 'out_refund') AND i.invoice_date BETWEEN '2023-01-01' AND '2023-12-31' AND i.company_id = 1 AND l.display_type IS NULL AND l.exclude_from_invoice_tab = false GROUP BY l.product_id;
Date: 2023-04-03 14:26:50 Duration: 230ms
6 1,468 3m37s 131ms 243ms 148ms update "stock_quant" set "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 03 03 6 828ms 138ms 04 1 132ms 132ms 08 1 140ms 140ms 09 1 142ms 142ms 10 3 408ms 136ms 11 60 8s609ms 143ms 12 146 21s618ms 148ms 13 187 27s922ms 149ms 14 157 23s788ms 151ms 15 144 20s940ms 145ms 16 196 28s912ms 147ms 17 262 39s644ms 151ms 18 140 20s922ms 149ms 19 93 13s333ms 143ms 20 54 7s863ms 145ms 21 10 1s386ms 138ms 22 5 687ms 137ms 23 2 275ms 137ms -
UPDATE "stock_quant" SET "reserved_quantity" = 6.0, "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (143646);
Date: 2023-04-03 14:47:37 Duration: 243ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 22.0, "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (56031);
Date: 2023-04-03 13:18:22 Duration: 242ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 1.0, "write_uid" = 972, "write_date" = (now() at time zone 'UTC') WHERE id IN (49790);
Date: 2023-04-03 17:04:38 Duration: 226ms
7 1,460 6m41s 166ms 39s86ms 274ms update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 03 10 4 897ms 224ms 11 191 40s813ms 213ms 12 203 43s183ms 212ms 13 211 47s300ms 224ms 14 256 2m23s 561ms 15 101 21s337ms 211ms 16 55 11s496ms 209ms 17 146 31s161ms 213ms 18 74 15s572ms 210ms 19 55 11s290ms 205ms 20 65 13s340ms 205ms 21 18 3s628ms 201ms 22 7 1s384ms 197ms 23 74 15s865ms 214ms -
UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);
Date: 2023-04-03 14:50:04 Duration: 39s86ms
-
UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);
Date: 2023-04-03 14:51:03 Duration: 21s618ms
-
UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);
Date: 2023-04-03 14:47:36 Duration: 11s784ms
8 1,204 4m45s 195ms 594ms 237ms select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."so_line_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 03 10 4 899ms 224ms 11 86 20s601ms 239ms 12 133 31s624ms 237ms 13 207 51s101ms 246ms 14 259 1m5s 253ms 15 103 23s151ms 224ms 16 45 9s732ms 216ms 17 152 35s225ms 231ms 18 65 14s962ms 230ms 19 64 14s428ms 225ms 20 45 10s69ms 223ms 21 17 3s578ms 210ms 22 5 984ms 196ms 23 19 3s958ms 208ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (121571)) ORDER BY "sale_history_line"."id";
Date: 2023-04-03 13:18:29 Duration: 594ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (121784)) ORDER BY "sale_history_line"."id";
Date: 2023-04-03 14:47:39 Duration: 500ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (121780)) ORDER BY "sale_history_line"."id";
Date: 2023-04-03 14:47:37 Duration: 480ms
9 975 3m39s 183ms 1s75ms 225ms update "sale_order_line" set "invoice_status" = ?, "open_qty_fil" = ?.?, "qty_delivered" = ?, "qty_to_invoice" = ?, "untaxed_amount_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 03 08 3 604ms 201ms 09 6 1s193ms 198ms 10 3 718ms 239ms 11 13 3s80ms 236ms 12 117 25s995ms 222ms 13 202 45s684ms 226ms 14 154 36s395ms 236ms 15 92 20s350ms 221ms 16 69 15s908ms 230ms 17 80 17s929ms 224ms 18 81 19s391ms 239ms 19 53 11s925ms 225ms 20 50 10s267ms 205ms 21 44 8s871ms 201ms 22 8 1s625ms 203ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 2.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (116490, 116493, 116494, 116497, 116498);
Date: 2023-04-03 14:21:38 Duration: 1s75ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 2.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (116490, 116493, 116494, 116497, 116498);
Date: 2023-04-03 14:18:54 Duration: 1s7ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 2.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (116490, 116493, 116494, 116497, 116498);
Date: 2023-04-03 14:24:15 Duration: 996ms
10 916 21m53s 1s196ms 12s454ms 1s434ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 03 10 3 3s985ms 1s328ms 11 69 1m39s 1s437ms 12 104 2m29s 1s435ms 13 187 4m28s 1s435ms 14 159 3m59s 1s504ms 15 86 2m2s 1s429ms 16 44 1m 1s371ms 17 101 2m21s 1s399ms 18 57 1m21s 1s436ms 19 43 59s625ms 1s386ms 20 36 49s858ms 1s384ms 21 11 15s885ms 1s444ms 22 5 6s875ms 1s375ms 23 11 15s123ms 1s374ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 14:42:36', '2023-04-03 14:42:36', 'Keeper Pro-Torq', 77313, 5, 429, 'new_product', '[450-4973] Keeper Pro-Torq', NULL, 'B-03069', 43543, 322, '0', 'make_to_stock', 187908, 1, '6.00', false, 362, 121780, 10, 'draft', 41) RETURNING id;
Date: 2023-04-03 14:49:14 Duration: 12s454ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 11:49:36', '2023-04-03 11:49:36', 'Brake Drum 15.00 X 4.0 Bal', 77024, 5, 397, 'new_product', '[51528B] Brake Drum 15.00 X 4.0 Bal', NULL, 'V-03142', 40026, 290, '0', 'make_to_stock', 190550, 1, '2.00', false, 326, 121336, 10, 'draft', 37) RETURNING id;
Date: 2023-04-03 11:50:59 Duration: 2s109ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 14:47:47', '2023-04-03 14:47:47', 'Value Drum 16.50 X 7.00 Bal', 77306, 5, 389, 'new_product', '[56864B] Value Drum 16.50 X 7.00 Bal', NULL, 'C-04691', 33920, 282, '0', 'make_to_stock', 190568, 1, '20.00', false, 317, 121801, 10, 'draft', 36) RETURNING id;
Date: 2023-04-03 14:48:15 Duration: 2s52ms
11 900 23m28s 1s231ms 8s92ms 1s565ms update "stock_move" set "delay_alert_date" = ?, "is_done" = false, "picking_code" = ?, "product_qty" = ?.?, "reference" = ?, "unit_factor" = ?.?, "weight" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 03 10 3 4s118ms 1s372ms 11 66 1m40s 1s519ms 12 94 2m25s 1s547ms 13 176 4m38s 1s581ms 14 145 3m45s 1s555ms 15 71 2m4s 1s748ms 16 42 1m1s 1s453ms 17 119 3m2s 1s531ms 18 79 2m3s 1s567ms 19 48 1m19s 1s647ms 20 35 51s906ms 1s483ms 21 10 15s932ms 1s593ms 22 5 6s962ms 1s392ms 23 7 9s724ms 1s389ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 1.0, "reference" = '10-I/IN/04004', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (348714, 348716, 348717, 348718, 348719, 348720);
Date: 2023-04-03 13:32:30 Duration: 8s92ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '13-T/OUT/08291', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (349218, 349220, 349221, 349224, 349225);
Date: 2023-04-03 15:13:53 Duration: 6s651ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 16.0, "reference" = '04-V/OUT/03893', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 980, "write_date" = (now() at time zone 'UTC') WHERE id IN (349296, 349297, 349298, 349299);
Date: 2023-04-03 15:45:24 Duration: 6s424ms
12 892 8m36s 520ms 994ms 579ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 03 09 1 525ms 525ms 11 146 1m24s 578ms 12 67 38s758ms 578ms 13 202 1m59s 590ms 14 104 1m 581ms 15 96 54s994ms 572ms 16 22 12s413ms 564ms 17 90 51s54ms 567ms 18 121 1m10s 581ms 19 43 24s225ms 563ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%nlc3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%nlc3/%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%nlc3/%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 11:53:45 Duration: 994ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%apu%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%apu%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%apu%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 13:18:47 Duration: 925ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%CRA%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%CRA%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%CRA%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 18:44:44 Duration: 882ms
13 864 10m17s 657ms 1s356ms 715ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 03 11 31 22s358ms 721ms 12 134 1m35s 713ms 13 120 1m27s 730ms 14 64 46s298ms 723ms 15 119 1m24s 709ms 16 72 51s761ms 718ms 17 66 48s135ms 729ms 18 68 48s805ms 717ms 19 80 56s210ms 702ms 20 73 51s163ms 700ms 21 25 17s94ms 683ms 22 12 8s335ms 694ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%ft4707%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%ft4707%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%ft4707%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%ft4707%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-04-03 11:07:22 Duration: 1s356ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%5/32 UNION%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5/32 UNION%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%5/32 UNION%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%5/32 UNION%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-04-03 13:18:23 Duration: 1s170ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%276567%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%276567%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%276567%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%276567%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-04-03 12:57:30 Duration: 1s89ms
14 860 44m10s 1s236ms 56s627ms 3s81ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 03 03 4 8s584ms 2s146ms 04 1 1s432ms 1s432ms 10 3 4s22ms 1s340ms 11 47 2m8s 2s726ms 12 87 4m9s 2s869ms 13 109 6m 3s304ms 14 95 4m39s 2s943ms 15 104 3m54s 2s254ms 16 81 4m35s 3s405ms 17 110 7m47s 4s247ms 18 92 5m7s 3s342ms 19 68 3m48s 3s356ms 20 49 1m21s 1s660ms 21 8 14s360ms 1s795ms 22 1 6s938ms 6s938ms 23 1 2s580ms 2s580ms -
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (350080, 350081, 350082, 350083, 350084, 350085, 350086, 350087, 350088, 350089, 350090, 350091, 350092, 350093, 350094, 350095, 350096, 350098, 350099, 350100, 350101, 350102, 350103, 350104, 350105, 350106, 350107, 350108, 350109, 350110, 350111, 350112, 350113, 350114, 350115, 350074, 350075, 350076, 350077, 350078, 350079);
Date: 2023-04-03 19:56:37 Duration: 56s627ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (349846, 349847, 349848, 349849, 349850, 349851, 349852, 349853, 349854, 349855, 349856, 349857, 349858, 349859, 349860, 349861, 349862, 349863, 349864, 349865, 349866, 349867, 349868, 349869, 349870, 349871);
Date: 2023-04-03 18:37:52 Duration: 37s202ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (348821, 348822, 348823, 348824, 348825, 348826, 348827, 348828, 348829, 348832, 348835, 348836, 348837, 348839, 348840, 348841, 348843, 348844, 348845, 348849, 348850, 348851, 348852, 348855);
Date: 2023-04-03 13:53:39 Duration: 33s963ms
15 828 4m59s 314ms 857ms 362ms select date_part(?, invoice_date) as year, date_part(?, invoice_date) as month, date_part(?, invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = ? and item_demand_plan_id = ? group by product_id, date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date) order by date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 03 03 110 36s385ms 330ms 04 38 12s526ms 329ms 11 192 1m5s 338ms 12 94 32s571ms 346ms 13 65 28s432ms 437ms 14 39 15s873ms 407ms 17 77 32s401ms 420ms 18 213 1m16s 359ms -
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 174124 and item_demand_plan_id = 3305 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2023-04-03 17:05:28 Duration: 857ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 184331 and item_demand_plan_id = 3303 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2023-04-03 13:18:16 Duration: 749ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 184350 and item_demand_plan_id = 3303 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2023-04-03 13:18:30 Duration: 708ms
16 825 2m56s 183ms 716ms 214ms update "sale_order_line" set "invoice_status" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "untaxed_amount_invoiced" = ?, "untaxed_amount_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 03 08 3 600ms 200ms 09 6 1s198ms 199ms 10 3 629ms 209ms 11 6 1s130ms 188ms 12 83 17s575ms 211ms 13 190 43s98ms 226ms 14 142 30s714ms 216ms 15 70 14s328ms 204ms 16 52 11s343ms 218ms 17 77 15s887ms 206ms 18 57 12s655ms 222ms 19 36 7s587ms 210ms 20 44 9s89ms 206ms 21 48 9s538ms 198ms 22 8 1s567ms 195ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '1.10', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (116664, 116665, 116669);
Date: 2023-04-03 13:51:09 Duration: 716ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '100.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '110.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (116664, 116665, 116669);
Date: 2023-04-03 13:53:38 Duration: 705ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '48.51', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1022, "write_date" = (now() at time zone 'UTC') WHERE id IN (122257, 122258);
Date: 2023-04-03 19:57:28 Duration: 490ms
17 824 9m55s 587ms 2s885ms 722ms select "item_list_line".id from "item_list_line" where (((("item_list_line"."active" = true) and ("item_list_line"."product_id" = ?)) and (("item_list_line"."method" not in (...)) or "item_list_line"."method" is null)) and ("item_list_line"."item_demand_plan_id" = ?)) order by "item_list_line"."id" limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 03 03 109 1m12s 663ms 04 38 25s418ms 668ms 11 192 2m12s 689ms 12 93 1m5s 709ms 13 65 57s851ms 890ms 14 39 31s863ms 817ms 17 78 1m5s 845ms 18 210 2m23s 682ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 173800)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3305)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-03 17:03:35 Duration: 2s885ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 173214)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3305)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-03 17:01:31 Duration: 1s627ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 173212)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3305)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-03 17:01:27 Duration: 1s626ms
18 790 2m6s 130ms 964ms 159ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 03 08 1 135ms 135ms 09 4 565ms 141ms 10 3 404ms 134ms 11 19 2s953ms 155ms 12 80 12s614ms 157ms 13 186 31s350ms 168ms 14 107 17s28ms 159ms 15 79 11s782ms 149ms 16 57 9s573ms 167ms 17 71 10s926ms 153ms 18 59 9s762ms 165ms 19 52 8s56ms 154ms 20 39 5s934ms 152ms 21 29 4s594ms 158ms 22 4 683ms 170ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (252736, 257120, 252738, 257122, 258712, 258714, 252734);
Date: 2023-04-03 16:38:02 Duration: 964ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (258465, 258379, 168717, 258381, 258382, 258383);
Date: 2023-04-03 13:57:54 Duration: 906ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1030, "write_date" = (now() at time zone 'UTC') WHERE id IN (257894, 257896, 257898, 257900, 257901);
Date: 2023-04-03 12:42:36 Duration: 686ms
19 772 2m18s 131ms 5s455ms 179ms update "stock_quant" set "quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 03 08 2 274ms 137ms 09 2 369ms 184ms 11 5 734ms 146ms 12 67 10s15ms 149ms 13 80 12s374ms 154ms 14 61 10s882ms 178ms 15 54 9s47ms 167ms 16 162 28s734ms 177ms 17 116 20s674ms 178ms 18 122 23s837ms 195ms 19 69 11s249ms 163ms 20 21 8s463ms 403ms 21 10 1s401ms 140ms 22 1 138ms 138ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (57216, 57217, 57853, 251396, 57479, 57480, 57439, 54032, 54033, 57623, 57624, 55066, 55067, 56479, 56480, 252074, 55084, 55085, 58032, 58033, 56114, 56115, 58035, 58034, 58037, 58036, 58046, 58047, 56384, 56131, 56132, 58054, 58055, 56136, 56137, 56138, 56139, 58058, 58057, 56272, 56273, 56274, 56275, 57818, 57301, 57302, 54745, 54746, 57819, 57308, 56541, 56542, 57309, 57184, 57185, 54370, 54371, 56292, 56293, 57311, 57310, 57440, 56299, 56300, 56560, 56561, 160883, 56564, 56565, 160891, 160893, 57854);
Date: 2023-04-03 20:11:04 Duration: 5s455ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (62496, 62505, 176076, 214797, 61102, 61103, 61135, 61071);
Date: 2023-04-03 18:20:26 Duration: 1s343ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (258689, 258677, 258679, 258681, 258687);
Date: 2023-04-03 14:26:13 Duration: 714ms
20 733 2m38s 187ms 314ms 215ms update "sale_order_line" set "branch_id" = ?, "currency_id" = ?, "cus_date_order" = ?, "cus_part_route" = ?, "cus_user_id" = ?, "inventory_vendor_id" = ?, "is_service" = false, "margin" = ?, "margin_percent" = ?.?, "order_partner_id" = ?, "price_reduce" = ?, "price_reduce_taxexcl" = ?, "price_reduce_taxinc" = ?, "price_subtotal" = ?, "price_tax" = ?.?, "price_total" = ?, "purchase_price" = ?, "qty_delivered_method" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "salesman_id" = ?, "untaxed_amount_invoiced" = ?, "untaxed_amount_to_invoice" = ?, "warehouse_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 03 10 1 258ms 258ms 11 63 13s255ms 210ms 12 98 21s196ms 216ms 13 130 28s576ms 219ms 14 71 15s496ms 218ms 15 88 18s491ms 210ms 16 59 12s492ms 211ms 17 76 16s863ms 221ms 18 50 11s251ms 225ms 19 48 10s196ms 212ms 20 37 7s766ms 209ms 21 10 2s48ms 204ms 22 2 417ms 208ms -
UPDATE "sale_order_line" SET "branch_id" = 40, "currency_id" = 2, "cus_date_order" = '2023-04-03 18:00:16', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = 2952, "is_service" = false, "margin" = '29.44', "margin_percent" = 0.8846153846153846, "order_partner_id" = 34085, "price_reduce" = '2.08', "price_reduce_taxexcl" = '2.08', "price_reduce_taxinc" = '2.21', "price_subtotal" = '33.28', "price_tax" = 2.0, "price_total" = '35.28', "purchase_price" = '0.24', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 985, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 38, "write_uid" = 1000, "write_date" = (now() at time zone 'UTC') WHERE id IN (122129);
Date: 2023-04-03 18:02:41 Duration: 314ms
-
UPDATE "sale_order_line" SET "branch_id" = 39, "currency_id" = 2, "cus_date_order" = '2023-04-03 13:00:01', "cus_part_route" = NULL, "cus_user_id" = 980, "inventory_vendor_id" = 2992, "is_service" = false, "margin" = '31.77', "margin_percent" = 0.339967897271268, "order_partner_id" = 33933, "price_reduce" = '93.45', "price_reduce_taxexcl" = '93.45', "price_reduce_taxinc" = '93.45', "price_subtotal" = '93.45', "price_tax" = 0.0, "price_total" = '93.45', "purchase_price" = '61.68', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 980, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 37, "write_uid" = 980, "write_date" = (now() at time zone 'UTC') WHERE id IN (121548);
Date: 2023-04-03 13:08:38 Duration: 310ms
-
UPDATE "sale_order_line" SET "branch_id" = 44, "currency_id" = 2, "cus_date_order" = '2023-03-15 17:55:58', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = 2933, "is_service" = false, "margin" = '74.76', "margin_percent" = 0.3730538922155689, "order_partner_id" = 42510, "price_reduce" = '50.10', "price_reduce_taxexcl" = '50.10', "price_reduce_taxinc" = '50.10', "price_subtotal" = '200.40', "price_tax" = 0.0, "price_total" = '200.40', "purchase_price" = '31.41', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 985, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 41, "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121511);
Date: 2023-04-03 12:57:14 Duration: 309ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1s269ms 40s16ms 8s236ms 225 30m53s update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 03 09 1 1s285ms 1s285ms 11 4 7s273ms 1s818ms 12 7 24s442ms 3s491ms 13 21 1m48s 5s180ms 14 28 2m23s 5s115ms 15 28 2m36s 5s580ms 16 49 8m49s 10s809ms 17 37 7m40s 12s453ms 18 28 5m4s 10s888ms 19 6 1m13s 12s315ms 20 6 13s854ms 2s309ms 21 9 26s135ms 2s903ms 22 1 2s864ms 2s864ms -
UPDATE "stock_move" SET "date" = '2023-04-03 18:20:07', "state" = 'done', "write_uid" = 1213, "write_date" = (now() at time zone 'UTC') WHERE id IN (342917, 342918, 342919, 342920, 342921, 342923, 342924, 342925, 342926, 342927, 342929, 342931, 342933, 342935, 342937, 342938, 342939, 342940, 342941, 342942, 342943, 342944, 342945, 342946);
Date: 2023-04-03 18:20:47 Duration: 40s16ms
-
UPDATE "stock_move" SET "date" = '2023-04-03 17:04:55', "state" = 'done', "write_uid" = 1019, "write_date" = (now() at time zone 'UTC') WHERE id IN (342917, 342918, 342919, 342920, 342921, 342923, 342924, 342925, 342926, 342927, 342929, 342931, 342933, 342935, 342937, 342938, 342939, 342940, 342941, 342942, 342943, 342944, 342945, 342946);
Date: 2023-04-03 17:05:33 Duration: 37s366ms
-
UPDATE "stock_move" SET "date" = '2023-04-03 18:21:39', "state" = 'done', "write_uid" = 1213, "write_date" = (now() at time zone 'UTC') WHERE id IN (342917, 342918, 342919, 342920, 342921, 342923, 342924, 342925, 342926, 342927, 342929, 342931, 342933, 342935, 342937, 342938, 342939, 342940, 342941, 342942, 342943, 342944, 342945, 342946);
Date: 2023-04-03 18:22:17 Duration: 37s292ms
2 1s218ms 1m 6s667ms 229 25m26s update "stock_move" set "picking_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 03 09 1 1s323ms 1s323ms 11 3 11s681ms 3s893ms 12 4 59s41ms 14s760ms 13 23 1m48s 4s697ms 14 23 1m49s 4s751ms 15 34 2m21s 4s157ms 16 45 5m18s 7s71ms 17 34 8m12s 14s472ms 18 28 2m15s 4s853ms 19 15 37s522ms 2s501ms 20 10 1m24s 8s442ms 21 8 25s458ms 3s182ms 22 1 2s610ms 2s610ms -
UPDATE "stock_move" SET "picking_id" = 110429, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (336641, 336642, 336643, 336644, 336645, 336646, 336647, 336648, 336649, 336650, 336651, 336652, 336653, 336654, 336656, 336657, 336658, 336659, 336660, 336611, 336612, 336613, 336614, 336616, 336617, 336618, 336619, 336620, 336621, 336622, 336623, 336624, 336625, 336626, 336627, 336628, 336629, 336630, 336632, 336633, 336634, 336635, 336636, 336637, 336638, 336639);
Date: 2023-04-03 20:03:09 Duration: 1m
-
UPDATE "stock_move" SET "picking_id" = 109537, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (340253, 340254, 340256, 340257, 340258, 340259, 340260, 340261, 340262, 340263, 340264, 340265, 340266, 340267, 340268, 340269, 340270, 340271, 340272, 340273, 340274, 340275, 340276, 340277, 340278, 340279, 340280, 340281, 340283, 340284);
Date: 2023-04-03 12:57:43 Duration: 50s895ms
-
UPDATE "stock_move" SET "picking_id" = 110144, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (339104, 339105, 339106, 339107, 339108, 339109, 339110, 339111, 339112, 339113, 339114, 339115, 339116, 339117, 339118, 339119, 339120, 339121, 339123, 339124, 339125, 339126, 339127, 339128, 339129);
Date: 2023-04-03 17:09:23 Duration: 43s559ms
3 1s245ms 1m2s 5s669ms 210 19m50s update "stock_move" set "reference" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 03 09 1 1s317ms 1s317ms 11 3 12s250ms 4s83ms 12 4 56s848ms 14s212ms 13 22 1m41s 4s616ms 14 22 1m46s 4s826ms 15 33 2m22s 4s318ms 16 33 1m54s 3s468ms 17 31 6m13s 12s38ms 18 27 2m10s 4s845ms 19 15 37s549ms 2s503ms 20 10 1m25s 8s555ms 21 8 25s718ms 3s214ms 22 1 2s674ms 2s674ms -
UPDATE "stock_move" SET "reference" = '02-G/IN/03804', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (336641, 336642, 336643, 336644, 336645, 336646, 336647, 336648, 336649, 336650, 336651, 336652, 336653, 336654, 336656, 336657, 336658, 336659, 336660, 336611, 336612, 336613, 336614, 336616, 336617, 336618, 336619, 336620, 336621, 336622, 336623, 336624, 336625, 336626, 336627, 336628, 336629, 336630, 336632, 336633, 336634, 336635, 336636, 336637, 336638, 336639);
Date: 2023-04-03 20:04:20 Duration: 1m2s
-
UPDATE "stock_move" SET "reference" = '10-I/IN/04001', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (340253, 340254, 340256, 340257, 340258, 340259, 340260, 340261, 340262, 340263, 340264, 340265, 340266, 340267, 340268, 340269, 340270, 340271, 340272, 340273, 340274, 340275, 340276, 340277, 340278, 340279, 340280, 340281, 340283, 340284);
Date: 2023-04-03 12:58:35 Duration: 48s553ms
-
UPDATE "stock_move" SET "reference" = '12-S/IN/00708', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (339104, 339105, 339106, 339107, 339108, 339109, 339110, 339111, 339112, 339113, 339114, 339115, 339116, 339117, 339118, 339119, 339120, 339121, 339124, 339127, 339128);
Date: 2023-04-03 17:21:52 Duration: 35s344ms
4 1s239ms 1m3s 3s912ms 203 13m14s update "stock_move" set "is_done" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 03 08 1 1s344ms 1s344ms 09 1 1s317ms 1s317ms 11 4 5s752ms 1s438ms 12 18 41s159ms 2s286ms 13 28 1m44s 3s717ms 14 24 5m7s 12s807ms 15 28 42s970ms 1s534ms 16 23 1m2s 2s735ms 17 23 44s619ms 1s939ms 18 19 1m52s 5s940ms 19 14 34s542ms 2s467ms 20 12 23s321ms 1s943ms 21 8 12s14ms 1s501ms -
UPDATE "stock_move" SET "is_done" = true, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343424, 343425, 343426, 343427, 343428, 343429, 343430, 343432, 343433, 343434, 343435, 343388, 343390, 343391, 343392, 343393, 343394, 343395, 343396, 343397, 343398, 343399, 343400, 343401, 343402, 343403, 343404, 343405, 343406, 343407, 343409, 343411, 343412, 343413, 343414, 343415, 343416, 343417, 343418, 343419, 343420, 343421, 343422, 343423);
Date: 2023-04-03 14:16:05 Duration: 1m3s
-
UPDATE "stock_move" SET "is_done" = true, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343424, 343425, 343426, 343427, 343428, 343429, 343430, 343432, 343433, 343434, 343435, 343388, 343390, 343391, 343392, 343393, 343394, 343395, 343396, 343397, 343398, 343399, 343400, 343401, 343402, 343403, 343404, 343405, 343406, 343407, 343409, 343411, 343412, 343413, 343414, 343415, 343416, 343417, 343418, 343419, 343420, 343421, 343422, 343423);
Date: 2023-04-03 14:21:22 Duration: 1m2s
-
UPDATE "stock_move" SET "is_done" = true, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343424, 343425, 343426, 343427, 343428, 343429, 343430, 343432, 343433, 343434, 343435, 343388, 343390, 343391, 343392, 343393, 343394, 343395, 343396, 343397, 343398, 343399, 343400, 343401, 343402, 343403, 343404, 343405, 343406, 343407, 343409, 343411, 343412, 343413, 343414, 343415, 343416, 343417, 343418, 343419, 343420, 343421, 343422, 343423);
Date: 2023-04-03 14:18:38 Duration: 1m
5 1s229ms 21s638ms 3s548ms 323 19m6s update "stock_move" set "branch_id" = ?, "picking_id" = ?, "related_core_purchase_line_id" = ?, "related_core_repair_line_id" = ?, "related_core_sale_line_id" = ?, "scrapped" = false, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 03 10 3 4s43ms 1s347ms 11 22 1m24s 3s822ms 12 41 2m2s 2s986ms 13 57 4m1s 4s237ms 14 39 3m25s 5s272ms 15 34 1m44s 3s72ms 16 18 46s158ms 2s564ms 17 34 2m8s 3s778ms 18 25 1m21s 3s241ms 19 22 51s665ms 2s348ms 20 20 46s705ms 2s335ms 21 6 13s150ms 2s191ms 22 1 6s906ms 6s906ms 23 1 9s708ms 9s708ms -
UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 109779, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (349024, 349010, 349011, 349012, 349013, 349014, 349015, 349016, 349017, 349018, 349019, 349020, 349021, 349022, 349023);
Date: 2023-04-03 14:31:00 Duration: 21s638ms
-
UPDATE "stock_move" SET "branch_id" = 44, "picking_id" = 109843, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (349123, 349124, 349125, 349126, 349127, 349128, 349129, 349131, 349134, 349136, 349114);
Date: 2023-04-03 14:49:47 Duration: 17s377ms
-
UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 109405, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (348228, 348229, 348230, 348233, 348234, 348235, 348236, 348237, 348238, 348239, 348240);
Date: 2023-04-03 12:01:40 Duration: 16s760ms
6 1s236ms 56s627ms 3s81ms 860 44m10s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 03 03 4 8s584ms 2s146ms 04 1 1s432ms 1s432ms 10 3 4s22ms 1s340ms 11 47 2m8s 2s726ms 12 87 4m9s 2s869ms 13 109 6m 3s304ms 14 95 4m39s 2s943ms 15 104 3m54s 2s254ms 16 81 4m35s 3s405ms 17 110 7m47s 4s247ms 18 92 5m7s 3s342ms 19 68 3m48s 3s356ms 20 49 1m21s 1s660ms 21 8 14s360ms 1s795ms 22 1 6s938ms 6s938ms 23 1 2s580ms 2s580ms -
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (350080, 350081, 350082, 350083, 350084, 350085, 350086, 350087, 350088, 350089, 350090, 350091, 350092, 350093, 350094, 350095, 350096, 350098, 350099, 350100, 350101, 350102, 350103, 350104, 350105, 350106, 350107, 350108, 350109, 350110, 350111, 350112, 350113, 350114, 350115, 350074, 350075, 350076, 350077, 350078, 350079);
Date: 2023-04-03 19:56:37 Duration: 56s627ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (349846, 349847, 349848, 349849, 349850, 349851, 349852, 349853, 349854, 349855, 349856, 349857, 349858, 349859, 349860, 349861, 349862, 349863, 349864, 349865, 349866, 349867, 349868, 349869, 349870, 349871);
Date: 2023-04-03 18:37:52 Duration: 37s202ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (348821, 348822, 348823, 348824, 348825, 348826, 348827, 348828, 348829, 348832, 348835, 348836, 348837, 348839, 348840, 348841, 348843, 348844, 348845, 348849, 348850, 348851, 348852, 348855);
Date: 2023-04-03 13:53:39 Duration: 33s963ms
7 1s295ms 26s648ms 2s672ms 216 9m37s update "stock_move" set "delay_alert_date" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 03 08 1 1s501ms 1s501ms 09 1 1s474ms 1s474ms 11 13 31s458ms 2s419ms 12 39 2m29s 3s827ms 13 28 59s601ms 2s128ms 14 18 55s139ms 3s63ms 15 32 58s188ms 1s818ms 16 19 38s542ms 2s28ms 17 7 18s845ms 2s692ms 18 19 1m11s 3s761ms 19 33 1m19s 2s420ms 20 6 11s818ms 1s969ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (337248, 337313, 261825, 340102, 339335, 344359, 339371, 343372, 343437, 343439, 343441, 343379, 343381, 343384, 343386, 337245, 339357, 337247);
Date: 2023-04-03 18:16:21 Duration: 26s648ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (236898, 339074, 312806, 340486, 329449, 340457, 340489, 340491, 305294, 337425, 340439);
Date: 2023-04-03 14:16:05 Duration: 17s918ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (348258, 348188, 348272, 348241, 348400, 348368, 348412, 348252);
Date: 2023-04-03 12:38:15 Duration: 11s539ms
8 1s240ms 21s704ms 2s603ms 641 27m48s update "stock_move" set "current_warehouse_qty" = ?.?, "is_done" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 03 11 1 1s517ms 1s517ms 12 11 16s793ms 1s526ms 13 47 1m15s 1s601ms 14 54 1m29s 1s663ms 15 71 2m28s 2s97ms 16 184 8m19s 2s716ms 17 129 7m24s 3s449ms 18 87 4m48s 3s312ms 19 35 1m10s 2s9ms 20 8 13s815ms 1s726ms 21 13 17s819ms 1s370ms 22 1 1s303ms 1s303ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1213, "write_date" = (now() at time zone 'UTC') WHERE id IN (342944, 342925, 342926, 342927, 342929, 342931, 342935, 342938, 342939, 342940, 342941, 342942, 342943);
Date: 2023-04-03 18:24:26 Duration: 21s704ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (343335, 343336, 343337, 343338, 343339, 343340, 343341, 343343, 343344, 343345, 343347, 343351, 343354);
Date: 2023-04-03 17:05:19 Duration: 20s647ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1213, "write_date" = (now() at time zone 'UTC') WHERE id IN (342944, 342925, 342926, 342927, 342929, 342931, 342935, 342938, 342939, 342940, 342941, 342942, 342943);
Date: 2023-04-03 18:21:27 Duration: 20s470ms
9 1s219ms 15s700ms 2s260ms 284 10m42s update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 03 08 1 1s360ms 1s360ms 12 21 36s195ms 1s723ms 13 33 1m5s 1s992ms 14 69 4m17s 3s732ms 15 28 40s649ms 1s451ms 16 28 49s329ms 1s761ms 17 21 39s83ms 1s861ms 18 48 1m39s 2s72ms 19 16 25s416ms 1s588ms 20 15 21s645ms 1s443ms 21 4 5s602ms 1s400ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-04-03 14:19:06', "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343425, 343427, 343430, 343399, 343400, 343401, 343407, 343413, 343414, 343416, 343423);
Date: 2023-04-03 14:19:39 Duration: 15s700ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-04-03 14:16:24', "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343425, 343427, 343430, 343399, 343400, 343401, 343407, 343413, 343414, 343416, 343423);
Date: 2023-04-03 14:16:56 Duration: 15s348ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-04-03 14:21:50', "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (343425, 343427, 343430, 343399, 343400, 343401, 343407, 343413, 343414, 343416, 343423);
Date: 2023-04-03 14:22:21 Duration: 14s746ms
10 1s231ms 8s92ms 1s565ms 900 23m28s update "stock_move" set "delay_alert_date" = ?, "is_done" = false, "picking_code" = ?, "product_qty" = ?.?, "reference" = ?, "unit_factor" = ?.?, "weight" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 03 10 3 4s118ms 1s372ms 11 66 1m40s 1s519ms 12 94 2m25s 1s547ms 13 176 4m38s 1s581ms 14 145 3m45s 1s555ms 15 71 2m4s 1s748ms 16 42 1m1s 1s453ms 17 119 3m2s 1s531ms 18 79 2m3s 1s567ms 19 48 1m19s 1s647ms 20 35 51s906ms 1s483ms 21 10 15s932ms 1s593ms 22 5 6s962ms 1s392ms 23 7 9s724ms 1s389ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 1.0, "reference" = '10-I/IN/04004', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (348714, 348716, 348717, 348718, 348719, 348720);
Date: 2023-04-03 13:32:30 Duration: 8s92ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '13-T/OUT/08291', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (349218, 349220, 349221, 349224, 349225);
Date: 2023-04-03 15:13:53 Duration: 6s651ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 16.0, "reference" = '04-V/OUT/03893', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 980, "write_date" = (now() at time zone 'UTC') WHERE id IN (349296, 349297, 349298, 349299);
Date: 2023-04-03 15:45:24 Duration: 6s424ms
11 1s252ms 3s285ms 1s536ms 448 11m28s update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 03 08 2 2s920ms 1s460ms 09 3 4s340ms 1s446ms 10 3 4s73ms 1s357ms 11 4 6s610ms 1s652ms 12 47 1m8s 1s463ms 13 94 2m25s 1s549ms 14 59 1m30s 1s538ms 15 41 1m2s 1s532ms 16 39 59s815ms 1s533ms 17 63 1m36s 1s532ms 18 35 57s753ms 1s650ms 19 24 38s489ms 1s603ms 20 19 26s133ms 1s375ms 21 12 18s70ms 1s505ms 22 3 5s403ms 1s801ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 6.0, "date" = '2023-04-03 13:53:19', "is_done" = true, "state" = 'done', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (348859, 348861);
Date: 2023-04-03 13:53:24 Duration: 3s285ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 3.0, "date" = '2023-04-03 13:03:15', "is_done" = true, "state" = 'done', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (348562, 348563);
Date: 2023-04-03 13:03:21 Duration: 3s229ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-04-03 15:35:22', "is_done" = true, "state" = 'done', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (349264, 349263);
Date: 2023-04-03 15:35:25 Duration: 3s172ms
12 1s233ms 2s91ms 1s532ms 331 8m27s insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, true, ?, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 03 03 100 2m29s 1s495ms 04 28 42s42ms 1s501ms 11 91 2m14s 1s477ms 12 92 2m28s 1s615ms 13 2 3s226ms 1s613ms 14 10 16s910ms 1s691ms 19 6 9s223ms 1s537ms 22 2 3s86ms 1s543ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 48, 1, '2023-04-06 12:57:12.373384', 45, 77137, 461, 468, 'new_product', '13-T/INT/03303', '13-T/INT/03303', 109541, 357, '0', 'make_to_stock', 238947, 1, '4.00', true, 10, 40, 'waiting', 4517, 45) RETURNING id;
Date: 2023-04-03 12:57:14 Duration: 2s91ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 38, 1, '2023-04-06 14:21:15.913977', 36, 77262, 389, 468, 'new_product', '03-C/INT/04103', '03-C/INT/04103', 109764, 285, '0', 'make_to_stock', 203223, 1, '3.00', true, 10, 42, 'waiting', 4523, 36) RETURNING id;
Date: 2023-04-03 14:21:17 Duration: 1s935ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "transfer_line_id", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 42, 1, '2023-04-06 12:56:50.263964', 45, 77135, 468, 421, 'new_product', '07-L/INT/01456', '07-L/INT/01456', 109536, 317, '0', 'make_to_stock', 237223, 1, '16.00', true, 10, 40, 'draft', 4519, 40) RETURNING id;
Date: 2023-04-03 12:57:00 Duration: 1s934ms
13 1s196ms 12s454ms 1s434ms 916 21m53s insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 03 10 3 3s985ms 1s328ms 11 69 1m39s 1s437ms 12 104 2m29s 1s435ms 13 187 4m28s 1s435ms 14 159 3m59s 1s504ms 15 86 2m2s 1s429ms 16 44 1m 1s371ms 17 101 2m21s 1s399ms 18 57 1m21s 1s436ms 19 43 59s625ms 1s386ms 20 36 49s858ms 1s384ms 21 11 15s885ms 1s444ms 22 5 6s875ms 1s375ms 23 11 15s123ms 1s374ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 14:42:36', '2023-04-03 14:42:36', 'Keeper Pro-Torq', 77313, 5, 429, 'new_product', '[450-4973] Keeper Pro-Torq', NULL, 'B-03069', 43543, 322, '0', 'make_to_stock', 187908, 1, '6.00', false, 362, 121780, 10, 'draft', 41) RETURNING id;
Date: 2023-04-03 14:49:14 Duration: 12s454ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 11:49:36', '2023-04-03 11:49:36', 'Brake Drum 15.00 X 4.0 Bal', 77024, 5, 397, 'new_product', '[51528B] Brake Drum 15.00 X 4.0 Bal', NULL, 'V-03142', 40026, 290, '0', 'make_to_stock', 190550, 1, '2.00', false, 326, 121336, 10, 'draft', 37) RETURNING id;
Date: 2023-04-03 11:50:59 Duration: 2s109ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-04-03 14:47:47', '2023-04-03 14:47:47', 'Value Drum 16.50 X 7.00 Bal', 77306, 5, 389, 'new_product', '[56864B] Value Drum 16.50 X 7.00 Bal', NULL, 'C-04691', 33920, 282, '0', 'make_to_stock', 190568, 1, '20.00', false, 317, 121801, 10, 'draft', 36) RETURNING id;
Date: 2023-04-03 14:48:15 Duration: 2s52ms
14 575ms 1s691ms 901ms 581 8m43s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 03 08 1 720ms 720ms 11 95 1m22s 863ms 12 191 3m8s 985ms 13 32 27s972ms 874ms 14 22 20s797ms 945ms 15 10 8s625ms 862ms 16 3 2s459ms 819ms 17 7 5s716ms 816ms 18 33 28s509ms 863ms 19 10 8s668ms 866ms 20 122 1m44s 854ms 22 30 25s98ms 836ms 23 25 20s916ms 836ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%36-30-102-73%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%36-30-102-73%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%36-30-102-73%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%36-30-102-73%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%36-30-102-73%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%36-30-102-73%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 10;
Date: 2023-04-03 12:32:13 Duration: 1s691ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%36-30-102-73%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%36-30-102-73%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%36-30-102-73%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%36-30-102-73%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%36-30-102-73%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%36-30-102-73%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 10;
Date: 2023-04-03 12:32:25 Duration: 1s681ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%36-30-102-%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%36-30-102-%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%36-30-102-%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%36-30-102-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%36-30-102-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%36-30-102-%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 10;
Date: 2023-04-03 12:32:24 Duration: 1s662ms
15 587ms 2s885ms 722ms 824 9m55s select "item_list_line".id from "item_list_line" where (((("item_list_line"."active" = true) and ("item_list_line"."product_id" = ?)) and (("item_list_line"."method" not in (...)) or "item_list_line"."method" is null)) and ("item_list_line"."item_demand_plan_id" = ?)) order by "item_list_line"."id" limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 03 03 109 1m12s 663ms 04 38 25s418ms 668ms 11 192 2m12s 689ms 12 93 1m5s 709ms 13 65 57s851ms 890ms 14 39 31s863ms 817ms 17 78 1m5s 845ms 18 210 2m23s 682ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 173800)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3305)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-03 17:03:35 Duration: 2s885ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 173214)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3305)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-03 17:01:31 Duration: 1s627ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 173212)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3305)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-03 17:01:27 Duration: 1s626ms
16 657ms 1s356ms 715ms 864 10m17s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 03 11 31 22s358ms 721ms 12 134 1m35s 713ms 13 120 1m27s 730ms 14 64 46s298ms 723ms 15 119 1m24s 709ms 16 72 51s761ms 718ms 17 66 48s135ms 729ms 18 68 48s805ms 717ms 19 80 56s210ms 702ms 20 73 51s163ms 700ms 21 25 17s94ms 683ms 22 12 8s335ms 694ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%ft4707%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%ft4707%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%ft4707%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%ft4707%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-04-03 11:07:22 Duration: 1s356ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%5/32 UNION%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5/32 UNION%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%5/32 UNION%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%5/32 UNION%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-04-03 13:18:23 Duration: 1s170ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%276567%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%276567%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%276567%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%276567%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-04-03 12:57:30 Duration: 1s89ms
17 515ms 1s495ms 579ms 4,017 38m46s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 03 10 13 7s95ms 545ms 11 325 3m4s 569ms 12 479 4m41s 587ms 13 634 6m12s 587ms 14 513 5m 586ms 15 463 4m24s 572ms 16 365 3m29s 573ms 17 409 3m59s 585ms 18 275 2m43s 593ms 19 246 2m19s 568ms 20 217 2m1s 558ms 21 74 40s362ms 545ms 22 4 2s154ms 538ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%972%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%97-2%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%97-2%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 14:26:42 Duration: 1s495ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%97%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%97-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%97-%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 14:26:41 Duration: 1s327ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%489xfahxa3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%489xfahx-a3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%489xfahx-a3%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 14:26:29 Duration: 1s217ms
18 520ms 994ms 579ms 892 8m36s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 03 09 1 525ms 525ms 11 146 1m24s 578ms 12 67 38s758ms 578ms 13 202 1m59s 590ms 14 104 1m 581ms 15 96 54s994ms 572ms 16 22 12s413ms 564ms 17 90 51s54ms 567ms 18 121 1m10s 581ms 19 43 24s225ms 563ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%nlc3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%nlc3/%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%nlc3/%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 11:53:45 Duration: 994ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%apu%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%apu%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%apu%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 13:18:47 Duration: 925ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%CRA%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%CRA%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%CRA%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-04-03 18:44:44 Duration: 882ms
19 314ms 857ms 362ms 828 4m59s select date_part(?, invoice_date) as year, date_part(?, invoice_date) as month, date_part(?, invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = ? and item_demand_plan_id = ? group by product_id, date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date) order by date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 03 03 110 36s385ms 330ms 04 38 12s526ms 329ms 11 192 1m5s 338ms 12 94 32s571ms 346ms 13 65 28s432ms 437ms 14 39 15s873ms 407ms 17 77 32s401ms 420ms 18 213 1m16s 359ms -
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 174124 and item_demand_plan_id = 3305 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2023-04-03 17:05:28 Duration: 857ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 184331 and item_demand_plan_id = 3303 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2023-04-03 13:18:16 Duration: 749ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 184350 and item_demand_plan_id = 3303 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2023-04-03 13:18:30 Duration: 708ms
20 166ms 39s86ms 274ms 1,460 6m41s update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 03 10 4 897ms 224ms 11 191 40s813ms 213ms 12 203 43s183ms 212ms 13 211 47s300ms 224ms 14 256 2m23s 561ms 15 101 21s337ms 211ms 16 55 11s496ms 209ms 17 146 31s161ms 213ms 18 74 15s572ms 210ms 19 55 11s290ms 205ms 20 65 13s340ms 205ms 21 18 3s628ms 201ms 22 7 1s384ms 197ms 23 74 15s865ms 214ms -
UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);
Date: 2023-04-03 14:50:04 Duration: 39s86ms
-
UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);
Date: 2023-04-03 14:51:03 Duration: 21s618ms
-
UPDATE "sale_order_line" SET "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (121780);
Date: 2023-04-03 14:47:36 Duration: 11s784ms
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 186,567 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 11175 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 5,816 Max number of times the same event was reported
- 11,175 Total events found
Rank Times reported Error 1 5,816 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 03 00 291 01 316 02 275 03 263 04 289 05 258 06 261 07 267 08 278 09 325 10 174 11 304 12 209 13 251 14 213 15 240 16 186 17 161 18 235 19 182 20 237 21 181 22 263 23 157 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM ir_attachment WHERE id IN (2271507)
Date: 2023-04-03 00:00:00
2 2,600 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #2
Day Hour Count Apr 03 00 115 01 129 02 119 03 104 04 110 05 108 06 115 07 120 08 117 09 158 10 87 11 120 12 108 13 137 14 126 15 117 16 95 17 84 18 108 19 67 20 98 21 71 22 109 23 78 - ERROR: process 1557998 still waiting for ShareLock on transaction 104194991 after 1000.040 ms
- ERROR: process 686650 still waiting for ShareLock on transaction 104194996 after 1000.054 ms
- ERROR: process 686650 still waiting for ShareLock on transaction 104195039 after 1000.049 ms
Detail: Process holding the lock: 1590199. Wait queue: 1557998.
Context: while deleting tuple (3623,16) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (2271537)Date: 2023-04-03 00:00:57
Detail: Process holding the lock: 1688358. Wait queue: 686650.
Context: while deleting tuple (3544,25) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (2271542)Date: 2023-04-03 00:01:01
Detail: Process holding the lock: 1688359. Wait queue: 686650.
Context: while deleting tuple (3614,4) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (2271563)Date: 2023-04-03 00:01:31
3 1,237 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 03 00 44 01 69 02 53 03 76 04 24 06 63 07 21 08 12 09 89 10 64 11 99 12 133 13 116 14 73 15 33 16 53 17 42 18 26 19 61 20 66 21 2 22 3 23 15 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE "bus_presence" SET "last_poll"='2023-04-03 00:00:28' WHERE id IN (99)
Date: 2023-04-03 00:00:28
4 1,085 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 03 00 81 01 81 02 77 03 76 04 76 05 75 06 75 07 90 08 78 09 76 10 22 11 11 12 14 13 13 14 18 15 15 16 19 17 11 18 8 19 4 20 12 21 8 22 70 23 75 - ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "website_visitor"
- ERROR: could not obtain lock on row in relation "stock_quant"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=68 FOR UPDATE NOWAIT
Date: 2023-04-03 00:00:06
Statement: SELECT * FROM website_visitor where id = 11575 FOR NO KEY UPDATE NOWAIT
Date: 2023-04-03 11:24:10
Statement: SELECT 1 FROM stock_quant WHERE id = 256704 FOR UPDATE NOWAIT
Date: 2023-04-03 12:57:00
5 225 LOG: process ... still waiting for AccessExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #5
Day Hour Count Apr 03 00 11 01 6 02 3 03 5 04 13 05 8 06 8 07 14 08 7 09 12 10 4 11 33 12 11 13 11 14 6 15 14 16 7 17 5 18 12 19 8 20 12 21 2 22 4 23 9 - ERROR: process 822889 still waiting for AccessExclusiveLock on tuple (3544,25) of relation 43604 of database 65946 after 1000.051 ms
- ERROR: process 1568834 still waiting for AccessExclusiveLock on tuple (3577,28) of relation 43604 of database 65946 after 1000.044 ms
- ERROR: process 1542884 still waiting for AccessExclusiveLock on tuple (3660,31) of relation 43604 of database 65946 after 1000.047 ms
Detail: Process holding the lock: 686650. Wait queue: 822889.
Statement: DELETE FROM ir_attachment WHERE id IN (2271542)Date: 2023-04-03 00:01:01
Detail: Process holding the lock: 1598852. Wait queue: 1568834.
Statement: DELETE FROM ir_attachment WHERE id IN (2271611)Date: 2023-04-03 00:02:58
Detail: Process holding the lock: 1598852. Wait queue: 1542884.
Statement: DELETE FROM ir_attachment WHERE id IN (2271840)Date: 2023-04-03 00:08:57
6 180 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #6
Day Hour Count Apr 03 00 3 01 3 02 8 03 8 04 12 05 6 06 5 07 7 08 8 09 11 10 4 11 17 12 9 13 7 14 9 15 6 16 9 17 5 18 10 19 3 20 6 21 15 22 4 23 5 - ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT "ir_ui_view".id FROM "ir_ui_view" LEFT JOIN "website" AS "ir_ui_view__website_id" ON ("ir_ui_view"."website_id" = "ir_ui_view__website_id"."id") WHERE (("ir_ui_view"."active" = true) AND (("ir_ui_view"."key" = 'http_routing.http_error') AND (("ir_ui_view"."website_id" in (1)) OR "ir_ui_view"."website_id" IS NULL))) ORDER BY "ir_ui_view__website_id"."id" LIMIT 1
Date: 2023-04-03 00:21:09
7 11 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #7
Day Hour Count Apr 03 13 5 14 4 17 1 23 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 1908227 waits for ShareLock on transaction 104271892; blocked by process 2148120. Process 2148120 waits for ShareLock on transaction 104271887; blocked by process 1908227. Process 1908227: UPDATE "sale_order_line" SET "open_qty_fil"=1.0,"qty_delivered_method"='stock_move',"state"='sale',"write_uid"=1149,"write_date"=(now() at time zone 'UTC') WHERE id IN (121440, 121449, 121450, 121435) Process 2148120: UPDATE "sale_order_line" SET "branch_id"=39,"warehouse_id"=37,"write_uid"=1149,"write_date"=(now() at time zone 'UTC') WHERE id IN (121435)
Context: while updating tuple (940,38) in relation "sale_order_line"
Hint: See server log for query details.
Statement: UPDATE "sale_order_line" SET "open_qty_fil"=1.0,"qty_delivered_method"='stock_move',"state"='sale',"write_uid"=1149,"write_date"=(now() at time zone 'UTC') WHERE id IN (121440, 121449, 121450, 121435)Date: 2023-04-03 13:12:11
Detail: Process 2148120 waits for ShareLock on transaction 104272034; blocked by process 1908227. Process 1908227 waits for ShareLock on transaction 104272031; blocked by process 2148120. Process 2148120: UPDATE "sale_order_line" SET "open_qty_fil"=1.0,"qty_delivered_method"='stock_move',"state"='sale',"write_uid"=1149,"write_date"=(now() at time zone 'UTC') WHERE id IN (121440, 121449, 121450, 121435) Process 1908227: UPDATE "sale_order_line" SET "branch_id"=39,"warehouse_id"=37,"write_uid"=1149,"write_date"=(now() at time zone 'UTC') WHERE id IN (121435)
Context: while updating tuple (940,39) in relation "sale_order_line"
Hint: See server log for query details.
Statement: UPDATE "sale_order_line" SET "open_qty_fil"=1.0,"qty_delivered_method"='stock_move',"state"='sale',"write_uid"=1149,"write_date"=(now() at time zone 'UTC') WHERE id IN (121440, 121449, 121450, 121435)Date: 2023-04-03 13:12:51
Detail: Process 1908227 waits for ShareLock on transaction 104272184; blocked by process 2148120. Process 2148120 waits for ShareLock on transaction 104272175; blocked by process 1908227. Process 1908227: UPDATE "sale_order_line" SET "open_qty_fil"=1.0,"qty_delivered_method"='stock_move',"state"='sale',"write_uid"=1149,"write_date"=(now() at time zone 'UTC') WHERE id IN (121440, 121449, 121450, 121435) Process 2148120: UPDATE "sale_order_line" SET "branch_id"=39,"warehouse_id"=37,"write_uid"=1149,"write_date"=(now() at time zone 'UTC') WHERE id IN (121435)
Context: while updating tuple (964,28) in relation "sale_order_line"
Hint: See server log for query details.
Statement: UPDATE "sale_order_line" SET "open_qty_fil"=1.0,"qty_delivered_method"='stock_move',"state"='sale',"write_uid"=1149,"write_date"=(now() at time zone 'UTC') WHERE id IN (121440, 121449, 121450, 121435)Date: 2023-04-03 13:13:34
8 4 LOG: process ... still waiting for ShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #8
Day Hour Count Apr 03 07 4 - ERROR: process 1908199 still waiting for ShareLock on relation 42418 of database 65946 after 1000.047 ms
- ERROR: process 1908199 still waiting for ShareLock on relation 42418 of database 65946 after 1000.062 ms
- ERROR: process 1908199 still waiting for ShareLock on relation 44482 of database 65946 after 1000.048 ms
Detail: Process holding the lock: 1908330. Wait queue: 1908199.
Statement: CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move(journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move(journal_id, state, payment_state, move_type, date);Date: 2023-04-03 07:27:24
Detail: Process holding the lock: 1908178. Wait queue: 1908199.
Statement: CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move(journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move(journal_id, state, payment_state, move_type, date);Date: 2023-04-03 07:27:41
Detail: Process holding the lock: 1908336. Wait queue: 1908199.
Statement: CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is trueDate: 2023-04-03 07:27:47
9 3 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #9
Day Hour Count Apr 03 07 3 - ERROR: process 1908365 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.049 ms at character 93
- ERROR: process 1908529 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.046 ms at character 34
- ERROR: process 1908178 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.061 ms at character 34
Detail: Process holding the lock: 1908199. Wait queue: 1908365, 1908529, 1908178.
Statement: SELECT f.name, d.json_value FROM ir_default d JOIN ir_model_fields f ON d.field_id=f.id WHERE f.model='website.visitor' AND (d.user_id IS NULL OR d.user_id=4) AND (d.company_id IS NULL OR d.company_id=1) AND d.condition IS NULL ORDER BY d.user_id, d.company_id, d.idDate: 2023-04-03 07:27:37
Detail: Process holding the lock: 1908199. Wait queue: 1908365, 1908529, 1908178.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name"Date: 2023-04-03 07:27:37
Detail: Process holding the lock: 1908199. Wait queue: 1908365, 1908529, 1908178.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name"Date: 2023-04-03 07:27:38
10 3 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #10
Day Hour Count Apr 03 13 2 16 1 - ERROR: process 1908177 still waiting for ExclusiveLock on tuple (14839,18) of relation 42418 of database 65946 after 1000.226 ms
- ERROR: process 2157318 still waiting for ExclusiveLock on tuple (15413,6) of relation 42418 of database 65946 after 1000.056 ms
- ERROR: process 2304893 still waiting for ExclusiveLock on tuple (16446,21) of relation 42418 of database 65946 after 1000.054 ms
Detail: Process holding the lock: 1908845. Wait queue: 1908177.
Statement: UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 535880 AND sequence_prefix = (SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 535880 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-04-03 13:14:01
Detail: Process holding the lock: 2166011. Wait queue: 2157318.
Statement: UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 536104 AND sequence_prefix = (SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 536104 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-04-03 13:51:08
Detail: Process holding the lock: 2307706. Wait queue: 2304893.
Statement: UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 537272 AND sequence_prefix = (SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 537272 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-04-03 16:53:14
11 2 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #11
Day Hour Count Apr 03 18 2 - ERROR: null value in column "name" of relation "repair_line" violates not-null constraint
Detail: Failing row contains (24572, null, 3626, 1, add, null, null, 0.00, null, 1.00, null, null, 453, 15, null, null, draft, 1010, 2023-04-03 18:03:03.983994, 1010, 2023-04-03 18:03:03.983994, new_product, null, line_note, t, 10, null, f, 0.00, null, null, 0.00, null, null, null, null, null, 0, null, 0, null, no, f, f, 0.00, null, null, null, f, null, null).
Statement: INSERT INTO "repair_line" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_id", "core_qty", "display_type", "invoice_status", "is_call_for_price_prod", "is_delivery", "is_visible_in_report", "location_dest_id", "location_id", "lot_id", "manual_price_changed", "move_options", "name", "open_qty_fil", "price_unit", "product_id", "product_pricelist_item_id", "product_uom", "product_uom_qty", "qty_delivered", "qty_delivered_manual", "rebate_amount", "repair_id", "ro_line_id", "sequence", "state", "tick", "type") VALUES (nextval('repair_line_id_seq'), 1010, (now() at time zone 'UTC'), 1010, (now() at time zone 'UTC'), 1, 0.0, 'line_note', 'no', false, false, true, 15, 453, NULL, false, 'new_product', NULL, 0.0, '0.00', NULL, NULL, NULL, '1.00', '0.00', '0.00', '0.00', 3626, NULL, 10, 'draft', false, 'add') RETURNING idDate: 2023-04-03 18:03:04
12 2 LOG: process ... still waiting for RowExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #12
Day Hour Count Apr 03 07 2 - ERROR: process 1908330 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.046 ms
- ERROR: process 1908336 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.050 ms
Detail: Process holding the lock: 1908199. Wait queue: 1908330.
Statement: DELETE FROM ir_attachment WHERE id IN (2289278)Date: 2023-04-03 07:27:16
Detail: Process holding the lock: 1908199. Wait queue: 1908336.
Statement: DELETE FROM ir_attachment WHERE id IN (2289290)Date: 2023-04-03 07:27:45
13 2 ERROR: update or delete on table "..." violates foreign key constraint "..." on table "..."
Times Reported Most Frequent Error / Event #13
Day Hour Count Apr 03 14 2 - ERROR: update or delete on table "res_partner" violates foreign key constraint "sale_order_partner_invoice_id_fkey" on table "sale_order"
Detail: Key (id)=(38905) is still referenced from table "sale_order".
Statement: DELETE FROM res_partner WHERE id IN (38905, 38904, 38902)Date: 2023-04-03 14:25:02
14 2 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #14
Day Hour Count Apr 03 09 1 18 1 - ERROR: column "date_done" does not exist at character 23
- ERROR: column p.type does not exist at character 127
Statement: select id,create_Date,date_done from stock_move where id =347597;
Date: 2023-04-03 09:54:40
Statement: select count(move_line.id) from account_move_line move_line inner join product_product p on p.id = move_line.product_id where p.type = 'consu' and move_line.name ilike '%changed%';
Date: 2023-04-03 18:44:24
15 2 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #15
Day Hour Count Apr 03 07 2 - ERROR: could not create unique index "vendor_account_master_unique_acc_no"
Detail: Key (account_number)=(P10394) is duplicated.
Statement: ALTER TABLE "vendor_account_master" ADD CONSTRAINT "vendor_account_master_unique_acc_no" unique (account_number)Date: 2023-04-03 07:27:14
16 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #16
Day Hour Count Apr 03 07 1 - ERROR: could not receive data from client: Connection reset by peer
Date: 2023-04-03 07:25:57