-
Global information
- Generated on Thu Apr 6 23:50:42 2023
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 358,968 log entries in 41s
- Log start from 2023-04-05 00:00:04 to 2023-04-05 23:50:49
-
Overview
Global Stats
- 1,071 Number of unique normalized queries
- 132,005 Number of queries
- 20h5s Total query duration
- 2023-04-05 00:00:04 First query
- 2023-04-05 23:50:09 Last query
- 25 queries/s at 2023-04-05 15:15:57 Query peak
- 20h5s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 20h5s Execute total duration
- 7,202 Number of events
- 13 Number of unique normalized events
- 2,542 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
- 132,005 Average queries per session
- 20h5s 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
- 25 queries/s Query Peak
- 2023-04-05 15:15:57 Date
SELECT Traffic
Key values
- 25 queries/s Query Peak
- 2023-04-05 15:15:57 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 10 queries/s Query Peak
- 2023-04-05 13:04:30 Date
Queries duration
Key values
- 20h5s 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 05 00 6,345 120ms 4s11ms 127ms 57s236ms 58s237ms 58s464ms 01 6,461 120ms 187ms 126ms 58s122ms 59s800ms 1m1s 02 6,619 120ms 218ms 126ms 56s15ms 57s306ms 58s865ms 03 6,214 120ms 178ms 125ms 55s754ms 56s491ms 57s206ms 04 6,102 120ms 436ms 125ms 54s223ms 55s576ms 57s835ms 05 6,427 120ms 199ms 125ms 56s827ms 58s356ms 59s74ms 06 6,150 120ms 343ms 125ms 56s866ms 57s271ms 59s212ms 07 6,330 120ms 4s652ms 129ms 56s602ms 58s886ms 1m7s 08 6,520 120ms 7s155ms 136ms 57s796ms 58s385ms 59s863ms 09 5,183 0ms 44s287ms 172ms 52s687ms 53s494ms 1m16s 10 181 0ms 16s94ms 1s254ms 35s514ms 39s23ms 40s871ms 11 2,165 120ms 21s701ms 730ms 1m2s 1m10s 1m25s 12 5,863 120ms 16s68ms 602ms 2m2s 3m11s 3m30s 13 15,883 120ms 32s161ms 737ms 8m10s 8m27s 10m3s 14 7,486 120ms 25s130ms 686ms 2m28s 6m38s 9m15s 15 15,671 120ms 3m45s 936ms 12m24s 13m38s 17m22s 16 3,662 120ms 45s708ms 655ms 1m24s 1m51s 2m33s 17 4,654 120ms 1m41s 953ms 2m28s 3m7s 3m35s 18 5,902 120ms 13m4s 2s354ms 7m14s 9m13s 15m11s 19 5,452 120ms 28s99ms 780ms 2m27s 3m8s 4m17s 20 1,997 120ms 33s25ms 683ms 54s480ms 1m1s 1m57s 21 398 0ms 11s132ms 748ms 22s762ms 27s946ms 47s366ms 22 252 0ms 2s226ms 1s14ms 30s727ms 37s594ms 2m18s 23 88 0ms 867ms 357ms 10s263ms 11s67ms 11s67ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 05 00 6,343 0 126ms 6s343ms 57s236ms 58s389ms 01 6,461 0 126ms 6s178ms 58s122ms 59s967ms 02 6,619 0 126ms 7s615ms 56s15ms 57s855ms 03 6,214 0 125ms 6s781ms 55s754ms 57s116ms 04 6,102 0 125ms 5s894ms 54s223ms 55s664ms 05 6,427 0 125ms 6s818ms 56s827ms 59s59ms 06 6,150 0 125ms 5s507ms 56s866ms 57s335ms 07 6,327 0 128ms 5s869ms 56s602ms 1m2s 08 6,462 0 129ms 20s816ms 57s796ms 58s521ms 09 5,125 58 172ms 51s17ms 52s687ms 1m11s 10 121 0 395ms 1s237ms 2s275ms 31s374ms 11 1,120 0 388ms 12s429ms 17s411ms 32s32ms 12 3,668 0 394ms 25s114ms 47s540ms 2m23s 13 11,756 0 607ms 4m53s 5m32s 6m25s 14 4,725 0 526ms 22s593ms 1m8s 7m3s 15 13,283 0 726ms 7m19s 8m18s 8m40s 16 2,036 0 351ms 20s130ms 30s420ms 36s944ms 17 2,250 0 354ms 18s678ms 25s323ms 30s959ms 18 3,099 0 378ms 23s357ms 36s658ms 1m3s 19 2,941 0 467ms 31s686ms 44s221ms 2m10s 20 1,044 0 408ms 12s837ms 17s21ms 23s593ms 21 274 0 522ms 3s773ms 9s158ms 31s525ms 22 243 0 1s43ms 8s580ms 30s727ms 2m18s 23 86 0 346ms 2s405ms 10s263ms 11s67ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 05 00 0 0 2 0 2s430ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 1 2 0 2s106ms 0ms 0ms 0ms 08 1 37 5 0 914ms 0ms 0ms 3s879ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 1 59 0 2s986ms 0ms 773ms 37s967ms 11 89 695 241 0 1s116ms 19s194ms 31s965ms 46s385ms 12 222 1,746 89 0 986ms 30s363ms 42s644ms 58s940ms 13 398 3,344 20 0 1s175ms 1m1s 1m34s 2m16s 14 296 2,247 36 0 1s16ms 38s648ms 53s362ms 1m39s 15 198 1,819 36 0 2s411ms 1m10s 2m10s 3m46s 16 184 1,286 15 0 1s122ms 23s416ms 39s583ms 1m34s 17 240 1,978 44 0 1s601ms 51s844ms 1m30s 2m32s 18 290 2,357 25 0 4s753ms 3m43s 5m16s 8m47s 19 338 2,018 18 0 1s203ms 37s597ms 1m5s 1m48s 20 129 742 12 0 1s52ms 14s290ms 23s221ms 41s915ms 21 31 88 1 0 1s287ms 1s250ms 5s149ms 24s710ms 22 0 9 0 0 217ms 0ms 0ms 773ms 23 0 0 2 0 832ms 0ms 0ms 1s664ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Apr 05 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 05 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 05 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 05 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 05 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 05 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 05 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 05 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 05 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
- 1,183 locks Total
Type Object Count Total Duration Average Duration (s) AccessExclusiveLock 80 2m12s 1s657ms tuple 80 2m12s 1s657ms ExclusiveLock 24 15m40s 39s172ms tuple 24 15m40s 39s172ms RowExclusiveLock 2 8s328ms 4s164ms relation 2 8s328ms 4s164ms ShareLock 1,077 3h18m31s 11s60ms relation 3 6s289ms 2s96ms transaction 1,074 3h18m25s 11s85ms Total 1,183 3h36m32s 10s982ms Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 155 2h18m56s 1s91ms 1m34s 53s782ms update "stock_picking" set "scheduled_date" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);
Date: 2023-04-05 18:42:07
-
UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);
Date: 2023-04-05 18:38:12
-
UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);
Date: 2023-04-05 18:04:07
2 891 27m28s 1s1ms 8s622ms 1s850ms delete from ir_attachment where id in (...);-
DELETE FROM ir_attachment WHERE id IN (2397999);
Date: 2023-04-05 08:19:46
-
DELETE FROM ir_attachment WHERE id IN (2398011);
Date: 2023-04-05 08:20:12
-
DELETE FROM ir_attachment WHERE id IN (2398017);
Date: 2023-04-05 08:20:18
3 23 25m29s 2s254ms 2m58s 1m6s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_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, ?, false, 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;
Date: 2023-04-05 15:12:08
-
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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;
Date: 2023-04-05 15:11:25
-
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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;
Date: 2023-04-05 15:09:56
4 8 7m35s 2s239ms 1m47s 56s880ms 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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, 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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 953, (now() at time zone 'UTC'), 953, (now() at time zone 'UTC'), false, NULL, 45, 1, '2023-04-07 18:19:51.136642', 42, 78912, 437, 468, 'new_product', '10-I/INT/06865', NULL, 'Warehouse Inventory Transfer to Neville Island', 112678, 333, '0', 'make_to_stock', 204035, 1, '1.00', true, 10, 43, 'waiting', 42) RETURNING id;
Date: 2023-04-05 18:20:20
-
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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 38, 1, '2023-04-06 13:29:08.756562', 36, 78582, 389, 468, 'new_product', '03-C/INT/04243', NULL, 'Warehouse Inventory Transfer to Clearfield', 112044, 285, '0', 'make_to_stock', 171886, 1, '2.00', true, 10, 43, 'waiting', 36) RETURNING id;
Date: 2023-04-05 13:29:18
-
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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 38, 1, '2023-04-06 13:29:08.756562', 36, 78582, 389, 468, 'new_product', '03-C/INT/04243', NULL, 'Warehouse Inventory Transfer to Clearfield', 112044, 285, '0', 'make_to_stock', 197871, 1, '2.00', true, 10, 43, 'waiting', 36) RETURNING id;
Date: 2023-04-05 13:29:13
5 48 5m38s 1s51ms 50s651ms 7s46ms 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 = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 543100 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 != 543100 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2023-04-05 12:13:23
6 5 2m2s 1s212ms 1m49s 24s432ms update "sale_order_line" set "invoice_status" = ?, "margin_percent" = ?.?, "price_unit" = ?, "product_pricelist_item_id" = ?, "product_uom_qty" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "margin_percent" = 0.0, "price_unit" = '9.43', "product_pricelist_item_id" = NULL, "product_uom_qty" = '0.00', "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (35135);
Date: 2023-04-05 19:49:26
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "margin_percent" = 0.0, "price_unit" = '9.43', "product_pricelist_item_id" = NULL, "product_uom_qty" = '0.00', "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (35135);
Date: 2023-04-05 19:49:30
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "margin_percent" = 0.0, "price_unit" = '9.43', "product_pricelist_item_id" = NULL, "product_uom_qty" = '0.00', "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (35135);
Date: 2023-04-05 19:49:32
7 5 1m52s 2s89ms 38s713ms 22s401ms update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move" SET "date" = '2023-04-05 15:02:41', "state" = 'done', "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (268711);
Date: 2023-04-05 15:03:22
-
UPDATE "stock_move" SET "date" = '2023-04-05 15:03:20', "state" = 'done', "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (268711);
Date: 2023-04-05 15:03:56
-
UPDATE "stock_move" SET "date" = '2023-04-05 15:06:39', "state" = 'done', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (339850, 339851, 339852, 339853, 339854, 339855, 339857, 339859, 339863, 339864);
Date: 2023-04-05 15:07:18
8 6 1m25s 6s997ms 32s526ms 14s289ms update "product_warehouse_inventory" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "product_warehouse_inventory" SET "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (35586, 35587, 35588, 35589, 35590, 35591, 332932, 332937, 332050, 35476, 332053, 35478, 35479, 35480, 35481, 35482, 35483, 35477, 332062, 332065, 332072, 332080, 36275, 36276, 36277, 36022, 36023, 36024, 36025, 36026, 36027, 327354, 332725, 333367, 35903, 35904, 327356, 35397, 35962, 35399, 35400, 332105, 35398, 35401, 333389, 333262, 35535, 35536, 35537, 35538, 35539, 35540, 332114, 332117, 333395, 35545, 35546, 35547, 35548, 35549, 35550, 35551, 35552, 35553, 35554, 35555, 35556, 35557, 333292, 35961, 333403, 35963, 35964, 35965, 35966, 35967);
Date: 2023-04-05 15:12:29
-
UPDATE "product_warehouse_inventory" SET "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (35586, 35587, 35588, 35589, 35590, 35591, 332932, 332937, 332050, 35476, 332053, 35478, 35479, 35480, 35477, 35482, 35483, 35481, 332062, 332065, 332072, 332080, 36275, 36276, 36277, 36022, 36023, 36024, 36025, 36026, 36027, 327354, 332725, 333367, 35903, 35904, 327356, 35397, 35962, 35399, 35400, 332105, 35401, 35398, 333389, 333262, 35535, 35536, 35537, 35538, 35539, 35540, 332114, 332117, 333395, 35545, 35546, 35547, 35548, 35549, 35550, 35551, 35552, 35553, 35554, 35555, 35556, 35557, 333292, 35961, 333403, 35963, 35964, 35965, 35966, 35967);
Date: 2023-04-05 15:04:50
-
UPDATE "product_warehouse_inventory" SET "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (74246, 74247, 74249, 74250, 74251, 74252, 74253, 74268, 74269, 74270, 74271, 74272, 74273, 74274, 74275, 75315, 75316, 75317, 75318, 75319, 75320, 75321, 75322, 75323, 75324, 75325, 75336, 75337, 75338, 75339, 75340, 75341, 75347, 75348, 75349, 75350, 75351, 75352, 75353, 75354, 75360, 75361, 75362, 75363, 75364, 75372, 75373, 75374, 75375, 75376, 75377, 331011, 74512, 74003, 74004, 74005, 74006, 74007, 74008, 74009, 74522, 74523, 74524, 74525, 74011, 74010, 74016, 74017, 74014, 74013, 74012, 74015, 74071, 74584, 74585, 74073, 74074, 74075, 74076, 74072, 332141, 74606, 74607, 74608, 75141, 75142, 74128, 333230, 333231, 183731, 74165, 105405, 332748, 332750, 104921, 74207, 74208, 74209, 74210, 74211, 74212, 74734, 74735, 74736, 74737, 74738, 74227, 74228, 74739, 74740, 74229, 74233, 74234, 74235, 74236, 74237);
Date: 2023-04-05 18:22:19
9 20 1m19s 1s47ms 20s943ms 3s957ms 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" = 2405388, "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (546428);
Date: 2023-04-05 19:59:47
-
UPDATE "account_move" SET "message_main_attachment_id" = 2400520, "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (543067);
Date: 2023-04-05 12:06:19
10 1 1m18s 1m18s 1m18s 1m18s update "stock_move_line" set "purchase_qty" = ?.?, "qty_done" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move_line" SET "purchase_qty" = 1.0, "qty_done" = '1.00', "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (338664, 338665, 338671);
Date: 2023-04-05 15:08:23
11 3 1m4s 2s722ms 58s174ms 21s481ms 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" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (123393, 123778, 123395, 122505, 122506, 123305, 123310, 123316, 123317, 123318, 123319, 123320, 123321, 123322, 123323, 123324, 123325, 123326, 123738, 123743, 123744, 123745, 123746, 123749);
Date: 2023-04-05 13:55:21
-
UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (123393, 123778, 123395, 122505, 122506, 123305, 123310, 123316, 123317, 123318, 123319, 123320, 123321, 123322, 123323, 123324, 123325, 123326, 123738, 123743, 123744, 123745, 123746, 123749);
Date: 2023-04-05 13:58:14
-
UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (123393, 123778, 123395, 122505, 122506, 123305, 123310, 123316, 123317, 123318, 123319, 123320, 123321, 123322, 123323, 123324, 123325, 123326, 123738, 123743, 123744, 123745, 123746, 123749);
Date: 2023-04-05 13:58:07
12 4 43s610ms 1s 39s103ms 10s902ms 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-05 15:46:23
13 1 31s215ms 31s215ms 31s215ms 31s215ms update "repair_line" set "qty_delivered_method" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "repair_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (24960, 24965, 24967, 24968, 24969, 24970, 23461, 24011, 24012, 24013, 24014, 24015, 24017, 24018, 24021, 24022, 24024, 24025, 24026, 24027, 24028, 24029, 24032, 24034, 24939, 24940, 24941, 24942, 24943, 24944, 24945, 24948, 24951, 24953, 24954, 24956, 24958);
Date: 2023-04-05 17:59:53
-
UPDATE "repair_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (24960, 24965, 24967, 24968, 24969, 24970, 23461, 24011, 24012, 24013, 24014, 24015, 24017, 24018, 24021, 24022, 24024, 24025, 24026, 24027, 24028, 24029, 24032, 24034, 24939, 24940, 24941, 24942, 24943, 24944, 24945, 24948, 24951, 24953, 24954, 24956, 24958);
Date: 2023-04-05 17:47:51
-
UPDATE "repair_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 1043, "write_date" = (now() at time zone 'UTC') WHERE id IN (24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 24584, 24588, 24589, 24590, 24591, 24592, 25008, 24393, 24394, 24395, 24396, 24403, 24537, 24433, 24575);
Date: 2023-04-05 17:30:59
14 4 29s598ms 1s402ms 22s376ms 7s399ms update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (123393, 123778, 123395, 122504, 122505, 122506, 123305, 123310, 123316, 123317, 123318, 123319, 123320, 123321, 123322, 123323, 123324, 123325, 123326, 123738, 123743, 123744, 123745, 123746, 123749);
Date: 2023-04-05 13:54:42
-
UPDATE "sale_order_line" SET "write_uid" = 1150, "write_date" = (now() at time zone 'UTC') WHERE id IN (123680, 123683, 123684, 123686, 123689, 123690, 123691, 123692, 123695, 123672, 123678, 123679);
Date: 2023-04-05 13:32:38
-
UPDATE "sale_order_line" SET "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (123936);
Date: 2023-04-05 18:43:58
15 1 10s431ms 10s431ms 10s431ms 10s431ms update "stock_picking" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_picking" SET "write_uid" = 1228, "write_date" = (now() at time zone 'UTC') WHERE id IN (111395);
Date: 2023-04-05 13:42:48
16 1 7s490ms 7s490ms 7s490ms 7s490ms update "sale_order_line" set "qty_delivered_method" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "state" = 'done', "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (35202, 35203, 35204, 35205, 35206, 35207, 35208, 35213, 35120, 35122, 35123, 35128, 35129, 35133, 35165, 35166, 35169, 35172, 35173, 35175, 35176, 35177, 35179, 35183, 35190, 35191, 35193, 35195, 35196, 35197);
Date: 2023-04-05 19:49:41
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "state" = 'cancel', "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (25105, 25109, 25112, 25132, 25134, 25138, 25139, 25144, 25146, 25148, 25150, 25151, 25153, 25156, 25157, 25030, 25159, 25160, 25161, 25162, 25165, 25168, 25169, 25049, 25056, 25057, 25061, 25064, 25065, 25068);
Date: 2023-04-05 19:55:19
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (123683, 123684, 123686, 123689, 123690, 123691, 123692, 123695, 123672, 123678, 123679);
Date: 2023-04-05 13:34:16
17 1 6s803ms 6s803ms 6s803ms 6s803ms update "account_move" set "access_token" = ?, "is_move_sent" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "access_token" = '6326c274-3485-4f06-bc92-9afbc84c7ce4', "is_move_sent" = true, "write_uid" = 955, "write_date" = (now() at time zone 'UTC') WHERE id IN (543851);
Date: 2023-04-05 14:09:06
18 2 4s572ms 1s422ms 3s150ms 2s286ms 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-05 08:20:04
-
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-05 08:20:14
-
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-05 08:20:04
19 1 3s449ms 3s449ms 3s449ms 3s449ms 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 (...);-
UPDATE "sale_order_line" SET "branch_id" = 45, "currency_id" = 2, "cus_date_order" = '2023-04-05 13:17:31', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = 2963, "is_service" = false, "margin" = '0.00', "margin_percent" = 0.0, "order_partner_id" = 34130, "price_reduce" = '16.88', "price_reduce_taxexcl" = '16.88', "price_reduce_taxinc" = '18.06', "price_subtotal" = '67.52', "price_tax" = 4.73, "price_total" = '72.25', "purchase_price" = '16.88', "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" = 42, "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (123655);
Date: 2023-04-05 13:18:00
-
UPDATE "sale_order_line" SET "branch_id" = 45, "currency_id" = 2, "cus_date_order" = '2023-04-05 13:31:18', "cus_part_route" = NULL, "cus_user_id" = 954, "inventory_vendor_id" = 2963, "is_service" = false, "margin" = '5.58', "margin_percent" = 0.31, "order_partner_id" = 41791, "price_reduce" = '9.00', "price_reduce_taxexcl" = '9.00', "price_reduce_taxinc" = '9.00', "price_subtotal" = '18.00', "price_tax" = 0.0, "price_total" = '18.00', "purchase_price" = '6.21', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 954, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 42, "write_uid" = 994, "write_date" = (now() at time zone 'UTC') WHERE id IN (123699);
Date: 2023-04-05 13:33:53
-
UPDATE "sale_order_line" SET "branch_id" = 45, "currency_id" = 2, "cus_date_order" = '2023-04-05 13:31:18', "cus_part_route" = NULL, "cus_user_id" = 954, "inventory_vendor_id" = 2960, "is_service" = false, "margin" = '11.54', "margin_percent" = 0.30384412848867826, "order_partner_id" = 41791, "price_reduce" = '18.99', "price_reduce_taxexcl" = '18.99', "price_reduce_taxinc" = '18.99', "price_subtotal" = '37.98', "price_tax" = 0.0, "price_total" = '37.98', "purchase_price" = '13.22', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 954, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 42, "write_uid" = 994, "write_date" = (now() at time zone 'UTC') WHERE id IN (123700);
Date: 2023-04-05 13:34:09
20 1 2s434ms 2s434ms 2s434ms 2s434ms update "sale_order_line" set "branch_id" = ?, "exception_sale" = false, "warehouse_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "branch_id" = 40, "exception_sale" = false, "warehouse_id" = 38, "write_uid" = 1150, "write_date" = (now() at time zone 'UTC') WHERE id IN (123672);
Date: 2023-04-05 13:32:47
-
UPDATE "sale_order_line" SET "branch_id" = 40, "exception_sale" = false, "warehouse_id" = 38, "write_uid" = 1142, "write_date" = (now() at time zone 'UTC') WHERE id IN (123867);
Date: 2023-04-05 14:49:27
-
UPDATE "sale_order_line" SET "branch_id" = 37, "exception_sale" = false, "warehouse_id" = 35, "write_uid" = 1147, "write_date" = (now() at time zone 'UTC') WHERE id IN (123791);
Date: 2023-04-05 14:02:19
21 1 1s832ms 1s832ms 1s832ms 1s832ms insert into "mail_compose_message" ("id", "create_uid", "create_date", "write_uid", "write_date", "add_sign", "author_id", "body", "composition_mode", "email_from", "ks_email_char_bcc", "ks_email_char_cc", "message_type", "model", "reply_to", "res_id", "subtype_id", "template_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), true, ?, ?, ?, ?, null, null, ?, ?, null, ?, ?, ?) returning id;-
INSERT INTO "mail_compose_message" ("id", "create_uid", "create_date", "write_uid", "write_date", "add_sign", "author_id", "body", "composition_mode", "email_from", "ks_email_char_bcc", "ks_email_char_cc", "message_type", "model", "reply_to", "res_id", "subtype_id", "template_id") VALUES (nextval('mail_compose_message_id_seq'), 1147, (now() at time zone 'UTC'), 1147, (now() at time zone 'UTC'), true, 42087, '', 'comment', '"Lander Enterprises LLC" <[email protected]>', NULL, NULL, 'notification', 'sale.order', NULL, 42669, 1, 11) RETURNING id;
Date: 2023-04-05 14:03:02
22 1 1s717ms 1s717ms 1s717ms 1s717ms 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-05 08:19:49
-
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-05 08:20:11
-
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-05 08:19:49
Queries that waited the most
Rank Wait time Query 1 2m58s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:11:22 ]
2 2m10s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:12:06 ]
3 1m49s UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "margin_percent" = 0.0, "price_unit" = '9.43', "product_pricelist_item_id" = NULL, "product_uom_qty" = '0.00', "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (35135);[ Date: 2023-04-05 19:49:21 ]
4 1m47s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:09:55 ]
5 1m47s 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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 48, 1, '2023-04-06 13:25:08.089816', 36, 78560, 468, 461, 'new_product', '13-T/INT/03413', NULL, '13-T/INT/03413', 112021, 357, '0', 'make_to_stock', 220427, 1, '1.00', true, 10, 45, 'draft', 45) RETURNING id;[ Date: 2023-04-05 13:26:55 ]
6 1m44s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:08:19 ]
7 1m43s 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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 48, 1, '2023-04-06 13:26:56.535031', 36, 78568, 468, 461, 'new_product', '13-T/INT/03416', NULL, '13-T/INT/03416', 112029, 357, '0', 'make_to_stock', 220427, 1, '1.00', true, 10, 45, 'draft', 45) RETURNING id;[ Date: 2023-04-05 13:28:40 ]
8 1m43s 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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 48, 1, '2023-04-06 13:23:22.398988', 36, 78550, 468, 461, 'new_product', '13-T/INT/03411', NULL, '13-T/INT/03411', 112009, 357, '0', 'make_to_stock', 220427, 1, '1.00', true, 10, 45, 'draft', 45) RETURNING id;[ Date: 2023-04-05 13:25:06 ]
9 1m38s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:08:19 ]
10 1m38s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:14:14 ]
11 1m38s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:04:39 ]
12 1m38s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:06:35 ]
13 1m36s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:02:59 ]
14 1m36s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:14:14 ]
15 1m36s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:14:14 ]
16 1m35s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:09:55 ]
17 1m34s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:46:07 ]
18 1m33s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:46:07 ]
19 1m29s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:16:19 ]
20 1m29s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:16:19 ]
-
Queries
Queries by type
Key values
- 108,876 Total read queries
- 23,129 Total write queries
Queries by database
Key values
- unknown Main database
- 132,005 Requests
- 20h5s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 132,354 Requests
User Request type Count Duration unknown Total 132,354 20h1m7s copy to 58 3m28s cte 1,678 6m55s ddl 4 7s268ms delete 607 22m24s insert 2,419 1h19m22s select 109,197 9h28m5s update 18,391 8h40m44s Duration by user
Key values
- 20h1m7s (unknown) Main time consuming user
User Request type Count Duration unknown Total 132,354 20h1m7s copy to 58 3m28s cte 1,678 6m55s ddl 4 7s268ms delete 607 22m24s insert 2,419 1h19m22s select 109,197 9h28m5s update 18,391 8h40m44s Queries by host
Key values
- unknown Main host
- 132,354 Requests
- 20h1m7s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 132,005 Requests
- 20h5s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2023-04-05 07:24:00 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 102,631 100-500ms duration
Slowest individual queries
Rank Duration Query 1 13m4s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:42:07 ]
2 6m24s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:38:12 ]
3 5m31s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:04:07 ]
4 5m15s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:32:57 ]
5 5m11s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:40:49 ]
6 5m2s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:18:29 ]
7 4m33s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:21:56 ]
8 4m5s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:05:28 ]
9 4m2s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:06:47 ]
10 3m57s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:30:19 ]
11 3m53s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:34:14 ]
12 3m50s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:10:40 ]
13 3m45s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:12:08 ]
14 3m43s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:31:37 ]
15 3m18s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:11:25 ]
16 3m16s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;[ Date: 2023-04-05 15:09:56 ]
17 3m8s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:27:34 ]
18 3m6s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:43:58 ]
19 2m51s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:29:01 ]
20 2m44s UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);[ Date: 2023-04-05 18:14:50 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2h16m 3,428 589ms 12s549ms 2s380ms 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 #1
Day Hour Count Duration Avg duration Apr 05 12 242 3m43s 924ms 13 1,224 41m15s 2s22ms 14 277 12m45s 2s764ms 15 1,685 1h18m15s 2s786ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 195161)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3358)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-05 15:01:30 Duration: 12s549ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 195373)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3358)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-05 15:08:52 Duration: 12s504ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 195161)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3358)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-05 15:00:53 Duration: 12s466ms
2 2h14m19s 55 2s435ms 13m4s 2m26s update "stock_picking" set "scheduled_date" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 05 17 5 6m32s 1m18s 18 50 2h7m46s 2m33s -
UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);
Date: 2023-04-05 18:42:07 Duration: 13m4s
-
UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);
Date: 2023-04-05 18:38:12 Duration: 6m24s
-
UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);
Date: 2023-04-05 18:04:07 Duration: 5m31s
3 1h29m49s 43,090 120ms 187ms 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 #3
Day Hour Count Duration Avg duration Apr 05 00 4,370 9m8s 125ms 01 4,459 9m17s 124ms 02 4,345 9m4s 125ms 03 4,291 8m56s 125ms 04 4,200 8m42s 124ms 05 4,139 8m35s 124ms 06 4,245 8m50s 125ms 07 4,351 9m6s 125ms 08 4,377 9m8s 125ms 09 4,313 8m58s 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-05T01:30:11.484238'::timestamp and so.date_order <= '2023-04-05T01:30:11.484238'::timestamp and sol.product_id = 239117 and so.state in ('done', 'sale') and so.warehouse_id = 36;
Date: 2023-04-05 01:30:11 Duration: 187ms
-
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-05T02:30:13.338789'::timestamp and so.date_order <= '2023-04-05T02:30:13.338789'::timestamp and sol.product_id = 192104 and so.state in ('done', 'sale') and so.warehouse_id = 35;
Date: 2023-04-05 02:30:13 Duration: 179ms
-
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-05T00:30:01.089978'::timestamp and so.date_order <= '2023-04-05T00:30:01.089978'::timestamp and sol.product_id = 199578 and so.state in ('done', 'sale') and so.warehouse_id = 43;
Date: 2023-04-05 00:30:01 Duration: 175ms
4 58m10s 3,469 317ms 4s795ms 1s6ms 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 #4
Day Hour Count Duration Avg duration Apr 05 07 30 11s107ms 370ms 12 244 1m53s 466ms 13 1,233 16m56s 824ms 14 276 5m5s 1s106ms 15 1,686 34m3s 1s212ms -
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 = 194056 and item_demand_plan_id = 3360 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-05 13:29:15 Duration: 4s795ms
-
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 = 195171 and item_demand_plan_id = 3358 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-05 15:02:16 Duration: 4s598ms
-
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 = 195608 and item_demand_plan_id = 3360 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-05 15:08:43 Duration: 4s556ms
5 52m54s 23,600 121ms 701ms 134ms 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 #5
Day Hour Count Duration Avg duration Apr 05 00 1,969 4m11s 127ms 01 2,001 4m16s 128ms 02 2,274 4m52s 128ms 03 1,923 4m6s 128ms 04 1,901 4m1s 127ms 05 2,288 4m50s 126ms 06 1,896 4m 126ms 07 1,917 4m5s 127ms 08 2,050 4m19s 126ms 09 730 1m31s 125ms 10 4 501ms 125ms 11 224 28s546ms 127ms 12 793 1m54s 144ms 13 852 2m56s 207ms 14 690 1m44s 152ms 15 411 1m40s 244ms 16 568 1m17s 136ms 17 527 1m13s 140ms 18 392 56s521ms 144ms 19 91 11s952ms 131ms 20 99 12s664ms 127ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-f79fc6b/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-04-05 13:24:59 Duration: 701ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-a54df00/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-04-05 15:13:18 Duration: 655ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-a54df00/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-04-05 13:34:08 Duration: 627ms
6 47m44s 907 1s209ms 45s708ms 3s158ms 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 05 08 1 1s531ms 1s531ms 11 25 1m28s 3s548ms 12 118 3m44s 1s899ms 13 112 6m10s 3s305ms 14 118 4m50s 2s461ms 15 106 5m21s 3s30ms 16 82 4m19s 3s163ms 17 85 5m12s 3s674ms 18 124 10m9s 4s911ms 19 100 4m40s 2s808ms 20 33 1m30s 2s736ms 21 3 16s408ms 5s469ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (353536, 353454, 353468, 353469, 353471, 353474, 353479, 353481, 353484, 353487, 353488, 353489, 353490, 353491, 353492, 353494, 353501, 353502, 353504, 353507, 353513, 353514, 353515, 353516, 353518, 353519, 353522, 353528, 353531, 353533, 353534, 353535);
Date: 2023-04-05 16:11:02 Duration: 45s708ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (353624, 353630, 353631, 353632, 353633, 353634, 353635, 353636, 353637, 353638, 353639, 353640, 353641, 353644, 353650, 353652, 353653, 353655, 353656, 353657, 353658, 353659, 353660, 353661);
Date: 2023-04-05 17:07:38 Duration: 35s908ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (354409, 354410, 354411, 354412, 354413, 354414, 354415, 354416, 354417, 354418, 354419, 354420, 354421, 354423, 354424, 354427, 354428, 354429, 354430);
Date: 2023-04-05 19:49:21 Duration: 27s793ms
7 37m38s 3,626 511ms 2s368ms 622ms 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 #7
Day Hour Count Duration Avg duration Apr 05 11 209 1m53s 541ms 12 389 3m56s 607ms 13 650 7m51s 724ms 14 324 3m6s 576ms 15 309 4m19s 838ms 16 350 3m17s 562ms 17 290 2m45s 571ms 18 365 3m32s 581ms 19 605 5m43s 567ms 20 130 1m11s 547ms 22 5 2s638ms 527ms -
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 ('%%23%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%23-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%23-%'))) 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-05 13:29:14 Duration: 2s368ms
-
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 ('%%2310%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%23-10%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%23-10%'))) 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-05 13:29:15 Duration: 2s334ms
-
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 ('%%or286171%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%or286171%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%or286171%'))) 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-05 15:04:09 Duration: 2s37ms
8 34m18s 197 1s218ms 41s36ms 10s449ms update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 05 12 7 31s688ms 4s526ms 13 20 46s360ms 2s318ms 14 10 34s4ms 3s400ms 15 35 7m15s 12s438ms 16 10 23s82ms 2s308ms 17 36 6m49s 11s367ms 18 56 16m10s 17s335ms 19 15 1m18s 5s225ms 20 7 27s154ms 3s879ms 21 1 2s509ms 2s509ms -
UPDATE "stock_move" SET "date" = '2023-04-05 15:02:41', "state" = 'done', "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (268711);
Date: 2023-04-05 15:03:22 Duration: 41s36ms
-
UPDATE "stock_move" SET "date" = '2023-04-05 15:03:20', "state" = 'done', "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (268711);
Date: 2023-04-05 15:03:56 Duration: 35s152ms
-
UPDATE "stock_move" SET "date" = '2023-04-05 15:06:39', "state" = 'done', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (339850, 339851, 339852, 339853, 339854, 339855, 339857, 339859, 339863, 339864);
Date: 2023-04-05 15:07:18 Duration: 32s979ms
9 20m33s 21 1s457ms 3m45s 58s749ms 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_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, ?, false, null, ?, null) returning id;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 05 14 1 1s637ms 1s637ms 15 19 20m30s 1m4s 20 1 1s457ms 1s457ms -
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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;
Date: 2023-04-05 15:12:08 Duration: 3m45s
-
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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;
Date: 2023-04-05 15:11:25 Duration: 3m18s
-
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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;
Date: 2023-04-05 15:09:56 Duration: 3m16s
10 20m14s 559 1s227ms 10s885ms 2s172ms 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 #10
Day Hour Count Duration Avg duration Apr 05 12 6 12s677ms 2s112ms 13 20 34s49ms 1s702ms 14 19 28s173ms 1s482ms 15 94 4m33s 2s911ms 16 10 16s459ms 1s645ms 17 83 2m57s 2s133ms 18 274 9m47s 2s143ms 19 37 1m 1s631ms 20 16 24s600ms 1s537ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "is_done" = true, "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (351777, 351778, 351779, 351780, 351783, 351784);
Date: 2023-04-05 15:20:37 Duration: 10s885ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "is_done" = true, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (339851, 339863);
Date: 2023-04-05 15:06:05 Duration: 7s271ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "is_done" = true, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (339851, 339863);
Date: 2023-04-05 15:04:12 Duration: 5s764ms
11 19m54s 695 1s217ms 7s210ms 1s719ms 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 05 11 54 1m20s 1s497ms 12 74 2m6s 1s705ms 13 116 3m39s 1s893ms 14 82 2m15s 1s647ms 15 59 1m46s 1s798ms 16 42 1m11s 1s700ms 17 42 1m17s 1s839ms 18 88 2m24s 1s640ms 19 84 2m26s 1s742ms 20 54 1m27s 1s622ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 2.0, "reference" = '11-N/IN/04398', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1012, "write_date" = (now() at time zone 'UTC') WHERE id IN (354560, 354536, 354541, 354549, 354555);
Date: 2023-04-05 20:45:54 Duration: 7s210ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 10.0, "reference" = '10-I/IN/04115', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 997, "write_date" = (now() at time zone 'UTC') WHERE id IN (353835, 353836, 353838, 353839);
Date: 2023-04-05 17:51:28 Duration: 5s895ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '12-S/OUT/02491', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1028, "write_date" = (now() at time zone 'UTC') WHERE id IN (353752, 353753, 353748, 353750);
Date: 2023-04-05 17:37:01 Duration: 5s818ms
12 19m18s 1,853 518ms 2s465ms 625ms 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 05 09 4 2s151ms 537ms 10 19 10s95ms 531ms 11 112 1m 541ms 12 228 2m6s 554ms 13 84 1m13s 872ms 14 253 2m40s 635ms 15 261 3m24s 785ms 16 184 1m45s 573ms 17 238 2m17s 578ms 18 255 2m35s 609ms 19 132 1m16s 578ms 20 43 23s709ms 551ms 21 40 21s527ms 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 ('%%flywh%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%flywh%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%flywh%'))) 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-05 15:03:26 Duration: 2s465ms
-
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 ('%%1r14%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1r14%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%1r14%'))) 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-05 13:29:11 Duration: 2s206ms
-
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 ('%%98175r3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%98175r3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%98175r3%'))) 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-05 15:10:30 Duration: 2s118ms
13 17m28s 683 1s206ms 3s964ms 1s535ms 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 05 11 57 1m16s 1s343ms 12 82 2m4s 1s519ms 13 131 3m50s 1s756ms 14 80 2m 1s502ms 15 55 1m32s 1s685ms 16 48 1m10s 1s471ms 17 42 1m 1s450ms 18 65 1m35s 1s468ms 19 95 2m19s 1s466ms 20 28 38s402ms 1s371ms -
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-05 13:17:31', '2023-04-05 13:17:31', 'Hand Cleaner', 78527, 5, 437, 'new_product', '[C10-85] Hand Cleaner', NULL, 'I-06167', 34130, 330, '0', 'make_to_stock', 190843, 1, '4.00', false, 371, 123655, 10, 'draft', 42) RETURNING id;
Date: 2023-04-05 13:18:11 Duration: 3s964ms
-
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-05 15:01:28', '2023-04-05 15:01:28', 'U-Joint', 78746, 5, 381, 'new_product', '[SPL250-3X] U-Joint', NULL, 'G-05847', 33164, 274, '0', 'make_to_stock', 198541, 1, '1.00', false, 308, 123883, 10, 'draft', 35) RETURNING id;
Date: 2023-04-05 15:02:06 Duration: 3s742ms
-
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-05 15:01:15', '2023-04-05 15:01:15', 'AUTOMATIC BRAKE ADJUSTER KIT TRUCK TRAILER SABA WITH HARDWAR', 78745, 5, 389, 'new_product', '[40020234] AUTOMATIC BRAKE ADJUSTER KIT TRUCK TRAILER SABA WITH HARDWAR', NULL, 'C-04771', 48641, 282, '0', 'make_to_stock', 183896, 1, '1.00', false, 317, 123882, 10, 'draft', 36) RETURNING id;
Date: 2023-04-05 15:01:53 Duration: 3s662ms
14 16m14s 557 1s238ms 6s682ms 1s749ms 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 #14
Day Hour Count Duration Avg duration Apr 05 08 2 2s583ms 1s291ms 11 16 23s828ms 1s489ms 12 75 2m3s 1s641ms 13 151 4m49s 1s914ms 14 88 2m20s 1s601ms 15 26 52s243ms 2s9ms 16 21 32s683ms 1s556ms 17 73 2m23s 1s965ms 18 39 1m1s 1s578ms 19 41 1m10s 1s728ms 20 25 34s188ms 1s367ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-04-05 13:24:42', "is_done" = true, "state" = 'done', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (351666, 351663);
Date: 2023-04-05 13:25:13 Duration: 6s682ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 4.0, "date" = '2023-04-05 17:51:28', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (325209, 325205, 325207);
Date: 2023-04-05 17:51:35 Duration: 5s698ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-04-05 17:54:17', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (325232, 325233, 325230);
Date: 2023-04-05 17:54:30 Duration: 5s638ms
15 15m54s 167 1s297ms 54s44ms 5s715ms update "stock_move" set "picking_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 05 12 5 11s209ms 2s241ms 13 22 1m56s 5s310ms 14 15 30s300ms 2s20ms 15 30 3m12s 6s416ms 16 10 38s412ms 3s841ms 17 26 2m41s 6s224ms 18 40 5m57s 8s929ms 19 13 33s852ms 2s604ms 20 6 12s388ms 2s64ms -
UPDATE "stock_move" SET "picking_id" = 112662, "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (318208, 318145, 318146, 318147, 318148, 318149, 318151, 318153, 318154, 318155, 318156, 318157, 318158, 318159, 318160, 318161, 318162, 318163, 318164, 318165, 318166, 318167, 318168, 318169, 318170, 318171, 318172, 318181, 318188, 318196, 318203, 318204, 318206, 318207);
Date: 2023-04-05 18:18:09 Duration: 54s44ms
-
UPDATE "stock_move" SET "picking_id" = 112618, "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (346606, 346607, 346608, 346609, 346610, 346611, 346612, 346613, 346614, 346615, 346616, 346617, 346618, 346620, 346621, 346622);
Date: 2023-04-05 18:03:03 Duration: 23s815ms
-
UPDATE "stock_move" SET "picking_id" = 111977, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (315371, 315372, 315373, 315377, 315381, 315387, 315388, 315389, 315390, 315391);
Date: 2023-04-05 13:17:31 Duration: 19s780ms
16 15m49s 478 1s245ms 29s836ms 1s986ms 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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, true, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 05 11 6 8s708ms 1s451ms 12 54 1m26s 1s595ms 13 178 7m26s 2s506ms 14 76 2m6s 1s670ms 15 14 21s871ms 1s562ms 16 20 29s357ms 1s467ms 17 8 12s272ms 1s534ms 18 32 1m18s 2s437ms 19 84 2m11s 1s559ms 20 6 9s183ms 1s530ms -
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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 953, (now() at time zone 'UTC'), 953, (now() at time zone 'UTC'), false, NULL, 45, 1, '2023-04-07 18:19:51.136642', 42, 78912, 437, 468, 'new_product', '10-I/INT/06865', NULL, 'Warehouse Inventory Transfer to Neville Island', 112678, 333, '0', 'make_to_stock', 204035, 1, '1.00', true, 10, 43, 'waiting', 42) RETURNING id;
Date: 2023-04-05 18:20:20 Duration: 29s836ms
-
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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 38, 1, '2023-04-06 13:29:08.756562', 36, 78582, 389, 468, 'new_product', '03-C/INT/04243', NULL, 'Warehouse Inventory Transfer to Clearfield', 112044, 285, '0', 'make_to_stock', 171886, 1, '2.00', true, 10, 43, 'waiting', 36) RETURNING id;
Date: 2023-04-05 13:29:18 Duration: 4s615ms
-
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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 38, 1, '2023-04-06 13:29:08.756562', 36, 78582, 389, 468, 'new_product', '03-C/INT/04243', NULL, 'Warehouse Inventory Transfer to Clearfield', 112044, 285, '0', 'make_to_stock', 197871, 1, '2.00', true, 10, 43, 'waiting', 36) RETURNING id;
Date: 2023-04-05 13:29:13 Duration: 4s417ms
17 14m56s 267 1s266ms 32s161ms 3s356ms 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 #17
Day Hour Count Duration Avg duration Apr 05 11 18 1m8s 3s780ms 12 40 1m48s 2s716ms 13 41 3m24s 4s999ms 14 39 1m50s 2s832ms 15 26 1m20s 3s108ms 16 21 57s549ms 2s740ms 17 19 53s654ms 2s823ms 18 28 1m23s 2s993ms 19 21 1m40s 4s802ms 20 14 27s472ms 1s962ms -
UPDATE "stock_move" SET "branch_id" = 39, "picking_id" = 112126, "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 (352975, 352976, 352977, 352978, 352979, 352980, 352982, 352983, 352984, 352985, 352986, 352987, 352988, 352989, 352990, 352991, 352992, 352993, 352994, 352995, 352996, 352997, 352998);
Date: 2023-04-05 13:56:40 Duration: 32s161ms
-
UPDATE "stock_move" SET "branch_id" = 40, "picking_id" = 112054, "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 (352832, 352834, 352836, 352838, 352840, 352842, 352844, 352827, 352828, 352829);
Date: 2023-04-05 13:34:07 Duration: 29s793ms
-
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 112913, "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 (354409, 354410, 354411, 354412, 354413, 354414, 354415, 354416, 354417, 354418, 354419, 354420, 354421, 354423, 354424, 354427, 354428, 354429, 354430);
Date: 2023-04-05 19:48:08 Duration: 28s99ms
18 14m31s 289 370ms 21s701ms 3s13ms delete from account_move_line where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 05 00 1 4s11ms 4s11ms 07 1 809ms 809ms 10 34 2m13s 3s919ms 11 142 6m58s 2s945ms 12 50 3m14s 3s881ms 13 3 9s749ms 3s249ms 14 10 8s793ms 879ms 15 1 1s568ms 1s568ms 16 5 7s500ms 1s500ms 17 24 1m24s 3s520ms 18 3 1s269ms 423ms 19 7 3s636ms 519ms 20 7 2s764ms 394ms 23 1 797ms 797ms -
DELETE FROM account_move_line WHERE id IN (1998469, 1998470, 1998416, 1998417, 1998418, 1998419, 1998420, 1998421, 1998422, 1998423, 1998424, 1998425, 1998426, 1998427, 1998428, 1998429, 1998430, 1998431, 1998432, 1998433, 1998434, 1998435, 1998436, 1998437, 1998438, 1998439, 1998440, 1998441, 1998442, 1998443, 1998444, 1998445, 1998446, 1998447, 1998448, 1998449, 1998450, 1998451, 1998452, 1998453, 1998454, 1998455, 1998456, 1998457, 1998458, 1998459, 1998460, 1998461, 1998462, 1998463, 1998464, 1998465, 1998466, 1998467, 1998468);
Date: 2023-04-05 11:11:35 Duration: 21s701ms
-
DELETE FROM account_move_line WHERE id IN (2010259, 2010260, 2010261, 2010262, 2010263, 2010264, 2010265, 2010266, 2010267, 2010268, 2010269, 2010270, 2010271, 2010272, 2010273, 2010274, 2010275, 2010276, 2010277, 2010278, 2010279, 2010280, 2010281, 2010282, 2010283, 2010284, 2010285, 2010286, 2010287, 2010288, 2010289, 2010290, 2010291, 2010292, 2010293, 2010294, 2010295, 2010296, 2010297, 2010298, 2010299, 2010300, 2010301, 2010302, 2010303, 2010304, 2010305, 2010306, 2010307, 2010308, 2010309, 2010310, 2010311, 2010312);
Date: 2023-04-05 11:12:00 Duration: 21s375ms
-
DELETE FROM account_move_line WHERE id IN (1919885, 1919886, 1919887, 1919888, 1919889, 1919890, 1919891, 1919892, 1919893, 1919894, 1919895, 1919896, 1919897, 1919898, 1919899, 1919900, 1919901, 1919902, 1919903, 1919904, 1919905, 1919906, 1919907, 1919908, 1919909, 1919910, 1919911, 1919912, 1919913, 1919914, 1919915, 1919916, 1919917, 1919918, 1919919, 1919920, 1919921, 1919922, 1919923, 1919927, 1919928, 2017625, 2017626, 2017627, 2017623, 2017624);
Date: 2023-04-05 17:47:58 Duration: 18s826ms
19 14m15s 146 1s304ms 49s767ms 5s862ms update "stock_move" set "reference" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 05 12 5 12s808ms 2s561ms 13 21 2m7s 6s61ms 14 15 30s914ms 2s60ms 15 24 2m39s 6s647ms 16 9 33s407ms 3s711ms 17 13 1m37s 7s516ms 18 40 5m48s 8s712ms 19 13 33s334ms 2s564ms 20 6 12s364ms 2s60ms -
UPDATE "stock_move" SET "reference" = '10-I/IN/04142', "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (318208, 318145, 318146, 318147, 318148, 318149, 318151, 318153, 318154, 318155, 318156, 318157, 318158, 318159, 318160, 318161, 318162, 318163, 318164, 318165, 318166, 318167, 318168, 318169, 318170, 318171, 318172, 318181, 318188, 318196, 318203, 318204, 318206, 318207);
Date: 2023-04-05 18:19:03 Duration: 49s767ms
-
UPDATE "stock_move" SET "reference" = '11-N/IN/04379', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (315371, 315372, 315373, 315377, 315381, 315387, 315388, 315389, 315390, 315391);
Date: 2023-04-05 13:18:01 Duration: 28s226ms
-
UPDATE "stock_move" SET "reference" = '10-I/IN/04127', "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (346606, 346607, 346608, 346609, 346610, 346611, 346612, 346613, 346614, 346615, 346616, 346617, 346618, 346620, 346621, 346622);
Date: 2023-04-05 18:03:27 Duration: 22s644ms
20 12m56s 1,227 518ms 2s49ms 633ms 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 (((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 #20
Day Hour Count Duration Avg duration Apr 05 10 1 530ms 530ms 11 24 13s20ms 542ms 12 24 13s655ms 568ms 13 78 54s179ms 694ms 14 36 20s891ms 580ms 15 23 22s49ms 958ms 16 28 15s910ms 568ms 17 27 15s276ms 565ms 18 191 1m44s 547ms 19 766 8m21s 654ms 20 29 15s721ms 542ms -
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%370077a%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%370077a%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%370077a%')) 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-05 15:03:56 Duration: 2s49ms
-
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%1304510%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1304510%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%1304510%')) 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-05 15:05:08 Duration: 1s885ms
-
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%37077a%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%37077a%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%37077a%')) 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-05 15:03:33 Duration: 1s867ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 43,090 1h29m49s 120ms 187ms 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 #1
Day Hour Count Duration Avg duration Apr 05 00 4,370 9m8s 125ms 01 4,459 9m17s 124ms 02 4,345 9m4s 125ms 03 4,291 8m56s 125ms 04 4,200 8m42s 124ms 05 4,139 8m35s 124ms 06 4,245 8m50s 125ms 07 4,351 9m6s 125ms 08 4,377 9m8s 125ms 09 4,313 8m58s 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-05T01:30:11.484238'::timestamp and so.date_order <= '2023-04-05T01:30:11.484238'::timestamp and sol.product_id = 239117 and so.state in ('done', 'sale') and so.warehouse_id = 36;
Date: 2023-04-05 01:30:11 Duration: 187ms
-
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-05T02:30:13.338789'::timestamp and so.date_order <= '2023-04-05T02:30:13.338789'::timestamp and sol.product_id = 192104 and so.state in ('done', 'sale') and so.warehouse_id = 35;
Date: 2023-04-05 02:30:13 Duration: 179ms
-
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-05T00:30:01.089978'::timestamp and so.date_order <= '2023-04-05T00:30:01.089978'::timestamp and sol.product_id = 199578 and so.state in ('done', 'sale') and so.warehouse_id = 43;
Date: 2023-04-05 00:30:01 Duration: 175ms
2 23,600 52m54s 121ms 701ms 134ms 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 #2
Day Hour Count Duration Avg duration Apr 05 00 1,969 4m11s 127ms 01 2,001 4m16s 128ms 02 2,274 4m52s 128ms 03 1,923 4m6s 128ms 04 1,901 4m1s 127ms 05 2,288 4m50s 126ms 06 1,896 4m 126ms 07 1,917 4m5s 127ms 08 2,050 4m19s 126ms 09 730 1m31s 125ms 10 4 501ms 125ms 11 224 28s546ms 127ms 12 793 1m54s 144ms 13 852 2m56s 207ms 14 690 1m44s 152ms 15 411 1m40s 244ms 16 568 1m17s 136ms 17 527 1m13s 140ms 18 392 56s521ms 144ms 19 91 11s952ms 131ms 20 99 12s664ms 127ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-f79fc6b/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-04-05 13:24:59 Duration: 701ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-a54df00/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-04-05 15:13:18 Duration: 655ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-a54df00/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-04-05 13:34:08 Duration: 627ms
3 3,626 37m38s 511ms 2s368ms 622ms 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 05 11 209 1m53s 541ms 12 389 3m56s 607ms 13 650 7m51s 724ms 14 324 3m6s 576ms 15 309 4m19s 838ms 16 350 3m17s 562ms 17 290 2m45s 571ms 18 365 3m32s 581ms 19 605 5m43s 567ms 20 130 1m11s 547ms 22 5 2s638ms 527ms -
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 ('%%23%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%23-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%23-%'))) 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-05 13:29:14 Duration: 2s368ms
-
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 ('%%2310%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%23-10%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%23-10%'))) 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-05 13:29:15 Duration: 2s334ms
-
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 ('%%or286171%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%or286171%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%or286171%'))) 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-05 15:04:09 Duration: 2s37ms
4 3,469 58m10s 317ms 4s795ms 1s6ms 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 #4
Day Hour Count Duration Avg duration Apr 05 07 30 11s107ms 370ms 12 244 1m53s 466ms 13 1,233 16m56s 824ms 14 276 5m5s 1s106ms 15 1,686 34m3s 1s212ms -
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 = 194056 and item_demand_plan_id = 3360 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-05 13:29:15 Duration: 4s795ms
-
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 = 195171 and item_demand_plan_id = 3358 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-05 15:02:16 Duration: 4s598ms
-
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 = 195608 and item_demand_plan_id = 3360 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-05 15:08:43 Duration: 4s556ms
5 3,434 12m8s 120ms 694ms 212ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where ("product_warehouse_inventory"."product_id" in (...)) order by "product_warehouse_inventory"."warehouse_name";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 05 08 1 149ms 149ms 09 2 261ms 130ms 11 3 386ms 128ms 12 93 14s969ms 160ms 13 1,159 3m44s 193ms 14 304 1m2s 206ms 15 1,769 6m50s 232ms 16 7 921ms 131ms 17 27 3s469ms 128ms 18 59 8s172ms 138ms 19 7 963ms 137ms 20 3 378ms 126ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (195207, 195010, 195015, 195018, 195019, 195022, 195026, 195029, 195031, 195035, 195039, 195046, 195047, 195049, 195051, 195053, 195056, 195061, 195062, 195064, 195065, 195069, 195071, 195081, 195083, 195087, 195089, 195090, 195092, 195099, 195103, 195107, 195114, 195115, 195118, 195119, 195133, 195134, 195135, 195137, 195138, 195139, 195140, 195142, 195144, 195145, 195146, 195147, 195156, 195160, 195161, 195162, 195164, 195165, 195166, 195167, 195168, 195169, 195170, 195171, 195174, 195175, 195178, 195179, 195180, 195182, 195183, 195185, 195208, 195210, 195211, 195212, 195213, 195216, 195218, 195219, 195222, 195223, 195224, 195225, 195226, 195229, 195232, 195233, 195234, 195252, 195253, 195255, 195256, 195260, 195262, 195263, 195267, 195268, 195275, 195278, 195279, 195284, 195303, 195317, 195330, 195331, 195336, 195339, 195342, 195356, 195357, 195373, 195385, 195399, 195410, 195416, 195467, 195468, 195473, 195477, 195592, 195593, 195594, 195595, 195608, 195611, 195612, 195614, 195616, 195621, 195623, 195626, 195633, 195644, 195645, 195646, 195649, 195652, 195656, 195658, 195659, 195662, 195665, 195666, 195667, 195669, 195670, 195671, 195680, 195687, 195688, 195691, 195692, 195701, 195705, 195722, 195723, 195731, 195739, 195741, 195751, 195752, 195753, 195755, 195759, 195762, 195766, 195770, 195778, 195782, 195783, 195786, 195787, 195801, 195802, 195803, 195808, 195809, 195811, 195816, 195842, 195851, 195852, 195854, 195856, 195858, 195863, 195869, 195878, 195883, 195884, 195888, 195893, 195894, 195896, 195908, 195912, 195915, 195918, 195924, 195927, 195941, 195983, 195985, 195986, 195987, 195988, 195989, 195990, 195991, 195992, 195993, 195994, 195995, 195998, 196003, 196005, 196013, 196015, 196029)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-04-05 15:03:26 Duration: 694ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (195410, 195015, 195018, 195019, 195022, 195026, 195029, 195031, 195035, 195039, 195046, 195047, 195049, 195051, 195053, 195056, 195061, 195062, 195064, 195065, 195069, 195071, 195081, 195083, 195087, 195089, 195090, 195092, 195099, 195103, 195107, 195114, 195115, 195118, 195119, 195133, 195134, 195135, 195137, 195138, 195139, 195140, 195142, 195144, 195145, 195146, 195147, 195156, 195160, 195161, 195162, 195164, 195165, 195166, 195167, 195168, 195169, 195170, 195171, 195174, 195175, 195178, 195179, 195180, 195182, 195183, 195185, 195207, 195208, 195210, 195211, 195212, 195213, 195216, 195218, 195219, 195222, 195223, 195224, 195225, 195226, 195229, 195232, 195233, 195234, 195252, 195253, 195255, 195256, 195260, 195262, 195263, 195267, 195268, 195275, 195278, 195279, 195284, 195303, 195317, 195330, 195331, 195336, 195339, 195342, 195356, 195357, 195373, 195385, 195399, 195416, 195467, 195468, 195473, 195477, 195592, 195593, 195594, 195595, 195608, 195611, 195612, 195614, 195616, 195621, 195623, 195626, 195633, 195644, 195645, 195646, 195649, 195652, 195656, 195658, 195659, 195662, 195665, 195666, 195667, 195669, 195670, 195671, 195680, 195687, 195688, 195691, 195692, 195701, 195705, 195722, 195723, 195731, 195739, 195741, 195751, 195752, 195753, 195755, 195759, 195762, 195766, 195770, 195778, 195782, 195783, 195786, 195787, 195801, 195802, 195803, 195808, 195809, 195811, 195816, 195842, 195851, 195852, 195854, 195856, 195858, 195863, 195869, 195878, 195883, 195884, 195888, 195893, 195894, 195896, 195908, 195912, 195915, 195918, 195924, 195927, 195941, 195983, 195985, 195986, 195987, 195988, 195989, 195990, 195991, 195992, 195993, 195994, 195995, 195998, 196003, 196005, 196013, 196015, 196029)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-04-05 15:09:18 Duration: 635ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (195222, 195015, 195018, 195019, 195022, 195026, 195029, 195031, 195035, 195039, 195046, 195047, 195049, 195051, 195053, 195056, 195061, 195062, 195064, 195065, 195069, 195071, 195081, 195083, 195087, 195089, 195090, 195092, 195099, 195103, 195107, 195114, 195115, 195118, 195119, 195133, 195134, 195135, 195137, 195138, 195139, 195140, 195142, 195144, 195145, 195146, 195147, 195156, 195160, 195161, 195162, 195164, 195165, 195166, 195167, 195168, 195169, 195170, 195171, 195174, 195175, 195178, 195179, 195180, 195182, 195183, 195185, 195207, 195208, 195210, 195211, 195212, 195213, 195216, 195218, 195219, 195223, 195224, 195225, 195226, 195229, 195232, 195233, 195234, 195252, 195253, 195255, 195256, 195260, 195262, 195263, 195267, 195268, 195275, 195278, 195279, 195284, 195303, 195317, 195330, 195331, 195336, 195339, 195342, 195356, 195357, 195373, 195385, 195399, 195410, 195416, 195467, 195468, 195473, 195477, 195592, 195593, 195594, 195595, 195608, 195611, 195612, 195614, 195616, 195621, 195623, 195626, 195633, 195644, 195645, 195646, 195649, 195652, 195656, 195658, 195659, 195662, 195665, 195666, 195667, 195669, 195670, 195671, 195680, 195687, 195688, 195691, 195692, 195701, 195705, 195722, 195723, 195731, 195739, 195741, 195751, 195752, 195753, 195755, 195759, 195762, 195766, 195770, 195778, 195782, 195783, 195786, 195787, 195801, 195802, 195803, 195808, 195809, 195811, 195816, 195842, 195851, 195852, 195854, 195856, 195858, 195863, 195869, 195878, 195883, 195884, 195888, 195893, 195894, 195896, 195908, 195912, 195915, 195918, 195924, 195927, 195941, 195983, 195985, 195986, 195987, 195988, 195989, 195990, 195991, 195992, 195993, 195994, 195995, 195998, 196003, 196005, 196013, 196015, 196029)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-04-05 15:04:48 Duration: 611ms
6 3,428 2h16m 589ms 12s549ms 2s380ms 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 #6
Day Hour Count Duration Avg duration Apr 05 12 242 3m43s 924ms 13 1,224 41m15s 2s22ms 14 277 12m45s 2s764ms 15 1,685 1h18m15s 2s786ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 195161)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3358)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-05 15:01:30 Duration: 12s549ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 195373)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3358)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-05 15:08:52 Duration: 12s504ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 195161)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3358)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-05 15:00:53 Duration: 12s466ms
7 3,274 10m41s 120ms 434ms 195ms select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 05 12 93 14s444ms 155ms 13 1,060 3m20s 189ms 14 333 1m2s 187ms 15 1,750 5m58s 204ms 16 2 260ms 130ms 17 8 1s120ms 140ms 18 18 2s664ms 148ms 19 10 1s341ms 134ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-04-05 15:05:17') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19489]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",20]', '["pointspring_master","mail.channel",285]', '["pointspring_master","mail.channel",338]', '["pointspring_master","mail.channel",479]', '["pointspring_master","res.partner",19489]', '["pointspring_master","ir.needaction",19489]'))) ORDER BY "bus_bus"."id";
Date: 2023-04-05 15:06:08 Duration: 434ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-04-05 13:32:57') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1021"', '["pointspring_master","calendar.alarm",19559]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",132]', '["pointspring_master","mail.channel",133]', '["pointspring_master","mail.channel",134]', '["pointspring_master","mail.channel",135]', '["pointspring_master","res.partner",19559]', '["pointspring_master","ir.needaction",19559]'))) ORDER BY "bus_bus"."id";
Date: 2023-04-05 13:33:47 Duration: 426ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-04-05 15:05:01') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_975"', '["pointspring_master","calendar.alarm",19513]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",482]', '["pointspring_master","res.partner",19513]', '["pointspring_master","ir.needaction",19513]'))) ORDER BY "bus_bus"."id";
Date: 2023-04-05 15:05:52 Duration: 393ms
8 2,563 8m32s 120ms 589ms 199ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where (("product_warehouse_inventory"."warehouse_id" = ?) and ("product_warehouse_inventory"."product_id" = ?)) order by "product_warehouse_inventory"."warehouse_name" limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 05 11 2 261ms 130ms 12 30 4s2ms 133ms 13 386 1m7s 174ms 14 313 1m5s 209ms 15 1,522 5m35s 220ms 16 27 3s427ms 126ms 17 37 4s727ms 127ms 18 218 28s479ms 130ms 19 27 3s476ms 128ms 20 1 123ms 123ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 43) AND ("product_warehouse_inventory"."product_id" = 190947)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-04-05 15:02:28 Duration: 589ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 36) AND ("product_warehouse_inventory"."product_id" = 206036)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-04-05 15:02:53 Duration: 585ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 40) AND ("product_warehouse_inventory"."product_id" = 239058)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-04-05 15:06:49 Duration: 515ms
9 2,074 8m 120ms 590ms 231ms select id from ( select id, row_number() over w as rnum from forecasted_data where product_id = ? and item_demand_plan_id = ? and active = true and is_forcast = true window w as (partition by product_id, date, min_product_uom_qty, max_product_uom_qty order by id)) t where t.rnum > ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 05 12 31 5s200ms 167ms 13 615 2m11s 213ms 14 200 47s21ms 235ms 15 1,228 4m57s 241ms -
SELECT id FROM ( SELECT id, row_number() OVER w as rnum FROM forecasted_data where product_id = 194202 and item_demand_plan_id = 3363 and active = True and is_forcast = True WINDOW w AS (PARTITION BY product_id, date, min_product_uom_qty, max_product_uom_qty ORDER BY id)) t WHERE t.rnum > 0;
Date: 2023-04-05 15:09:46 Duration: 590ms
-
SELECT id FROM ( SELECT id, row_number() OVER w as rnum FROM forecasted_data where product_id = 195964 and item_demand_plan_id = 3359 and active = True and is_forcast = True WINDOW w AS (PARTITION BY product_id, date, min_product_uom_qty, max_product_uom_qty ORDER BY id)) t WHERE t.rnum > 0;
Date: 2023-04-05 13:33:48 Duration: 581ms
-
SELECT id FROM ( SELECT id, row_number() OVER w as rnum FROM forecasted_data where product_id = 195170 and item_demand_plan_id = 3355 and active = True and is_forcast = True WINDOW w AS (PARTITION BY product_id, date, min_product_uom_qty, max_product_uom_qty ORDER BY id)) t WHERE t.rnum > 0;
Date: 2023-04-05 13:22:28 Duration: 577ms
10 1,853 19m18s 518ms 2s465ms 625ms 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 #10
Day Hour Count Duration Avg duration Apr 05 09 4 2s151ms 537ms 10 19 10s95ms 531ms 11 112 1m 541ms 12 228 2m6s 554ms 13 84 1m13s 872ms 14 253 2m40s 635ms 15 261 3m24s 785ms 16 184 1m45s 573ms 17 238 2m17s 578ms 18 255 2m35s 609ms 19 132 1m16s 578ms 20 43 23s709ms 551ms 21 40 21s527ms 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 ('%%flywh%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%flywh%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%flywh%'))) 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-05 15:03:26 Duration: 2s465ms
-
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 ('%%1r14%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1r14%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%1r14%'))) 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-05 13:29:11 Duration: 2s206ms
-
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 ('%%98175r3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%98175r3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%98175r3%'))) 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-05 15:10:30 Duration: 2s118ms
11 1,490 4m43s 156ms 681ms 190ms 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 #11
Day Hour Count Duration Avg duration Apr 05 08 5 800ms 160ms 11 34 5s481ms 161ms 12 130 22s246ms 171ms 13 244 57s829ms 237ms 14 174 32s827ms 188ms 15 122 28s403ms 232ms 16 153 26s553ms 173ms 17 209 36s219ms 173ms 18 153 27s444ms 179ms 19 194 33s984ms 175ms 20 47 7s850ms 167ms 21 8 1s309ms 163ms 22 17 2s785ms 163ms -
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 ('%I-01427%') OR unaccent (res_partner.display_name) ilike unaccent ('%I-01427%') OR unaccent (res_partner.ref) ilike unaccent ('%I-01427%') OR unaccent (res_partner.vat) ilike unaccent ('I-01427')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%I-01427%') desc, unaccent (res_partner.display_name);
Date: 2023-04-05 15:00:56 Duration: 681ms
-
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-inv-02578%') OR unaccent (res_partner.display_name) ilike unaccent ('%b-inv-02578%') OR unaccent (res_partner.ref) ilike unaccent ('%b-inv-02578%') OR unaccent (res_partner.vat) ilike unaccent ('b-inv-02578')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%b-inv-02578%') desc, unaccent (res_partner.display_name);
Date: 2023-04-05 15:02:23 Duration: 638ms
-
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 ('%G-01058%') OR unaccent (res_partner.display_name) ilike unaccent ('%G-01058%') OR unaccent (res_partner.ref) ilike unaccent ('%G-01058%') OR unaccent (res_partner.vat) ilike unaccent ('G-01058')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%G-01058%') desc, unaccent (res_partner.display_name);
Date: 2023-04-05 14:56:10 Duration: 598ms
12 1,432 3m58s 120ms 987ms 166ms 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 #12
Day Hour Count Duration Avg duration Apr 05 08 11 1s436ms 130ms 11 19 2s394ms 126ms 12 128 17s984ms 140ms 13 337 1m6s 196ms 14 167 24s180ms 144ms 15 238 53s818ms 226ms 16 107 14s165ms 132ms 17 126 17s195ms 136ms 18 105 14s571ms 138ms 19 122 17s18ms 139ms 20 68 8s723ms 128ms 21 4 521ms 130ms -
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 (208487) 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-05 15:01:58 Duration: 987ms
-
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 (209354, 209356, 209361, 209373, 209374, 209381, 209398, 209502, 209252, 209370, 209513, 209435, 209390, 209271, 209416, 209452, 209277, 209423) 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-05 15:05:08 Duration: 782ms
-
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 (211234) 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-05 15:05:33 Duration: 740ms
13 1,395 3m46s 131ms 641ms 162ms update "stock_quant" set "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 05 08 1 134ms 134ms 11 55 7s822ms 142ms 12 119 18s319ms 153ms 13 183 36s385ms 198ms 14 149 23s480ms 157ms 15 120 25s870ms 215ms 16 122 18s83ms 148ms 17 119 18s421ms 154ms 18 337 50s484ms 149ms 19 147 21s879ms 148ms 20 42 5s975ms 142ms 21 1 137ms 137ms -
UPDATE "stock_quant" SET "reserved_quantity" = 0.0, "write_uid" = 1022, "write_date" = (now() at time zone 'UTC') WHERE id IN (260376, 260377, 167957, 218981);
Date: 2023-04-05 13:05:01 Duration: 641ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 1.0, "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (260322);
Date: 2023-04-05 13:33:26 Duration: 527ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 2.0, "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (261924);
Date: 2023-04-05 15:03:48 Duration: 449ms
14 1,227 12m56s 518ms 2s49ms 633ms 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 (((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 #14
Day Hour Count Duration Avg duration Apr 05 10 1 530ms 530ms 11 24 13s20ms 542ms 12 24 13s655ms 568ms 13 78 54s179ms 694ms 14 36 20s891ms 580ms 15 23 22s49ms 958ms 16 28 15s910ms 568ms 17 27 15s276ms 565ms 18 191 1m44s 547ms 19 766 8m21s 654ms 20 29 15s721ms 542ms -
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%370077a%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%370077a%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%370077a%')) 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-05 15:03:56 Duration: 2s49ms
-
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%1304510%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1304510%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%1304510%')) 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-05 15:05:08 Duration: 1s885ms
-
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%37077a%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%37077a%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%37077a%')) 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-05 15:03:33 Duration: 1s867ms
15 1,127 2m33s 120ms 216ms 136ms select "sale_order_line".id from "sale_order_line" where (((("sale_order_line"."product_id" = ?) and ("sale_order_line"."order_id" in ( select "sale_order".id from "sale_order" where ("sale_order"."branch_id" in ( select "res_branch".id from "res_branch" where ("res_branch"."id" = ?)))))) and ("sale_order_line"."open_qty_fil" > ?.?)) and (("sale_order_line"."state" not in (...)) or "sale_order_line"."state" is null)) order by "sale_order_line"."id" asc;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 05 13 423 58s525ms 138ms 14 180 25s217ms 140ms 15 524 1m10s 133ms -
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 174399) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '45')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2023-04-05 13:20:16 Duration: 216ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 198187) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '38')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2023-04-05 13:33:48 Duration: 210ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 198110) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '38')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2023-04-05 13:31:47 Duration: 202ms
16 1,082 4m27s 182ms 4s865ms 247ms update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 05 11 119 24s712ms 207ms 12 106 23s553ms 222ms 13 313 1m27s 278ms 14 108 23s881ms 221ms 15 81 27s211ms 335ms 16 56 11s397ms 203ms 17 40 8s230ms 205ms 18 74 20s117ms 271ms 19 153 34s751ms 227ms 20 32 6s315ms 197ms -
UPDATE "sale_order_line" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (123393, 123778, 123395, 122504, 122505, 122506, 123305, 123310, 123316, 123317, 123318, 123319, 123320, 123321, 123322, 123323, 123324, 123325, 123326, 123738, 123743, 123744, 123745, 123746, 123749);
Date: 2023-04-05 13:54:42 Duration: 4s865ms
-
UPDATE "sale_order_line" SET "write_uid" = 1150, "write_date" = (now() at time zone 'UTC') WHERE id IN (123680, 123683, 123684, 123686, 123689, 123690, 123691, 123692, 123695, 123672, 123678, 123679);
Date: 2023-04-05 13:32:38 Duration: 3s964ms
-
UPDATE "sale_order_line" SET "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (123936);
Date: 2023-04-05 18:43:58 Duration: 3s923ms
17 1,016 4m33s 195ms 1s999ms 268ms 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 #17
Day Hour Count Duration Avg duration Apr 05 11 83 17s520ms 211ms 12 120 30s545ms 254ms 13 254 1m23s 329ms 14 99 23s950ms 241ms 15 65 25s814ms 397ms 16 67 14s989ms 223ms 17 46 10s771ms 234ms 18 86 21s476ms 249ms 19 166 38s78ms 229ms 20 30 6s372ms 212ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (123660)) ORDER BY "sale_history_line"."id";
Date: 2023-04-05 13:21:52 Duration: 1s999ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (123659)) ORDER BY "sale_history_line"."id";
Date: 2023-04-05 13:20:48 Duration: 1s971ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (123687)) ORDER BY "sale_history_line"."id";
Date: 2023-04-05 13:30:16 Duration: 1s926ms
18 907 47m44s 1s209ms 45s708ms 3s158ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 05 08 1 1s531ms 1s531ms 11 25 1m28s 3s548ms 12 118 3m44s 1s899ms 13 112 6m10s 3s305ms 14 118 4m50s 2s461ms 15 106 5m21s 3s30ms 16 82 4m19s 3s163ms 17 85 5m12s 3s674ms 18 124 10m9s 4s911ms 19 100 4m40s 2s808ms 20 33 1m30s 2s736ms 21 3 16s408ms 5s469ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (353536, 353454, 353468, 353469, 353471, 353474, 353479, 353481, 353484, 353487, 353488, 353489, 353490, 353491, 353492, 353494, 353501, 353502, 353504, 353507, 353513, 353514, 353515, 353516, 353518, 353519, 353522, 353528, 353531, 353533, 353534, 353535);
Date: 2023-04-05 16:11:02 Duration: 45s708ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (353624, 353630, 353631, 353632, 353633, 353634, 353635, 353636, 353637, 353638, 353639, 353640, 353641, 353644, 353650, 353652, 353653, 353655, 353656, 353657, 353658, 353659, 353660, 353661);
Date: 2023-04-05 17:07:38 Duration: 35s908ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (354409, 354410, 354411, 354412, 354413, 354414, 354415, 354416, 354417, 354418, 354419, 354420, 354421, 354423, 354424, 354427, 354428, 354429, 354430);
Date: 2023-04-05 19:49:21 Duration: 27s793ms
19 823 11m6s 651ms 2s592ms 809ms 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 #19
Day Hour Count Duration Avg duration Apr 05 11 34 23s181ms 681ms 12 73 53s962ms 739ms 13 111 1m51s 1s2ms 14 97 1m19s 815ms 15 122 2m5s 1s30ms 16 56 39s937ms 713ms 17 78 55s196ms 707ms 18 93 1m6s 716ms 19 90 1m3s 710ms 20 69 47s258ms 684ms -
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 ('%489xqahx-%')) 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 ('%489xqahx-%'))) 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 ('%489xqahx-%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%489xqahx-%')))))) 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-05 15:06:31 Duration: 2s592ms
-
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 ('%900540007%')) 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 ('%900540007%'))) 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 ('%900540007%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%900540007%')))))) 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-05 13:33:49 Duration: 2s504ms
-
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 ('%35t40821%')) 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 ('%35t40821%'))) 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 ('%35t40821%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%35t40821%')))))) 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-05 15:07:11 Duration: 2s443ms
20 802 2m18s 132ms 1s145ms 172ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 05 08 3 401ms 133ms 11 16 2s357ms 147ms 12 87 13s841ms 159ms 13 183 36s117ms 197ms 14 140 22s75ms 157ms 15 54 9s632ms 178ms 16 40 6s561ms 164ms 17 95 17s72ms 179ms 18 65 11s379ms 175ms 19 86 14s243ms 165ms 20 33 4s624ms 140ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (255652, 257546, 147088, 139408, 147571, 257495, 257497);
Date: 2023-04-05 17:48:51 Duration: 1s145ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (261793, 261795, 261783, 261785, 261787, 261789, 261791);
Date: 2023-04-05 13:59:03 Duration: 1s84ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1022, "write_date" = (now() at time zone 'UTC') WHERE id IN (258787, 60069, 258796, 253808, 260376);
Date: 2023-04-05 13:17:31 Duration: 925ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2s435ms 13m4s 2m26s 55 2h14m19s update "stock_picking" set "scheduled_date" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 05 17 5 6m32s 1m18s 18 50 2h7m46s 2m33s -
UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);
Date: 2023-04-05 18:42:07 Duration: 13m4s
-
UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);
Date: 2023-04-05 18:38:12 Duration: 6m24s
-
UPDATE "stock_picking" SET "scheduled_date" = '2023-03-24 17:53:34.546732', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (103006);
Date: 2023-04-05 18:04:07 Duration: 5m31s
2 1s457ms 3m45s 58s749ms 21 20m33s 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", "to_refund", "unbuild_id", "warehouse_id", "workorder_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, ?, false, null, ?, null) returning id;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 05 14 1 1s637ms 1s637ms 15 19 20m30s 1m4s 20 1 1s457ms 1s457ms -
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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;
Date: 2023-04-05 15:12:08 Duration: 3m45s
-
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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;
Date: 2023-04-05 15:11:25 Duration: 3m18s
-
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", "to_refund", "unbuild_id", "warehouse_id", "workorder_id") VALUES (nextval('stock_move_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), false, NULL, NULL, 45, NULL, 1, NULL, 0.0, NULL, '2023-03-28 15:07:31.430197', '2023-03-28 15:07:31.430197', '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 74304, NULL, 437, 4, 'new_product', false, false, '[RB-4ZN] CLAMP SADDLE,4in. ZN', NULL, 0, NULL, NULL, NULL, 'I-01385', NULL, NULL, 104942, 329, 3.79, '0', 'make_to_stock', 206001, 1, '3.00', NULL, true, 49778, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, 'draft', false, NULL, 42, NULL) RETURNING id;
Date: 2023-04-05 15:09:56 Duration: 3m16s
3 1s218ms 41s36ms 10s449ms 197 34m18s update "stock_move" set "date" = ?, "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 05 12 7 31s688ms 4s526ms 13 20 46s360ms 2s318ms 14 10 34s4ms 3s400ms 15 35 7m15s 12s438ms 16 10 23s82ms 2s308ms 17 36 6m49s 11s367ms 18 56 16m10s 17s335ms 19 15 1m18s 5s225ms 20 7 27s154ms 3s879ms 21 1 2s509ms 2s509ms -
UPDATE "stock_move" SET "date" = '2023-04-05 15:02:41', "state" = 'done', "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (268711);
Date: 2023-04-05 15:03:22 Duration: 41s36ms
-
UPDATE "stock_move" SET "date" = '2023-04-05 15:03:20', "state" = 'done', "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (268711);
Date: 2023-04-05 15:03:56 Duration: 35s152ms
-
UPDATE "stock_move" SET "date" = '2023-04-05 15:06:39', "state" = 'done', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (339850, 339851, 339852, 339853, 339854, 339855, 339857, 339859, 339863, 339864);
Date: 2023-04-05 15:07:18 Duration: 32s979ms
4 1s304ms 49s767ms 5s862ms 146 14m15s update "stock_move" set "reference" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 05 12 5 12s808ms 2s561ms 13 21 2m7s 6s61ms 14 15 30s914ms 2s60ms 15 24 2m39s 6s647ms 16 9 33s407ms 3s711ms 17 13 1m37s 7s516ms 18 40 5m48s 8s712ms 19 13 33s334ms 2s564ms 20 6 12s364ms 2s60ms -
UPDATE "stock_move" SET "reference" = '10-I/IN/04142', "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (318208, 318145, 318146, 318147, 318148, 318149, 318151, 318153, 318154, 318155, 318156, 318157, 318158, 318159, 318160, 318161, 318162, 318163, 318164, 318165, 318166, 318167, 318168, 318169, 318170, 318171, 318172, 318181, 318188, 318196, 318203, 318204, 318206, 318207);
Date: 2023-04-05 18:19:03 Duration: 49s767ms
-
UPDATE "stock_move" SET "reference" = '11-N/IN/04379', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (315371, 315372, 315373, 315377, 315381, 315387, 315388, 315389, 315390, 315391);
Date: 2023-04-05 13:18:01 Duration: 28s226ms
-
UPDATE "stock_move" SET "reference" = '10-I/IN/04127', "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (346606, 346607, 346608, 346609, 346610, 346611, 346612, 346613, 346614, 346615, 346616, 346617, 346618, 346620, 346621, 346622);
Date: 2023-04-05 18:03:27 Duration: 22s644ms
5 1s297ms 54s44ms 5s715ms 167 15m54s update "stock_move" set "picking_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 05 12 5 11s209ms 2s241ms 13 22 1m56s 5s310ms 14 15 30s300ms 2s20ms 15 30 3m12s 6s416ms 16 10 38s412ms 3s841ms 17 26 2m41s 6s224ms 18 40 5m57s 8s929ms 19 13 33s852ms 2s604ms 20 6 12s388ms 2s64ms -
UPDATE "stock_move" SET "picking_id" = 112662, "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (318208, 318145, 318146, 318147, 318148, 318149, 318151, 318153, 318154, 318155, 318156, 318157, 318158, 318159, 318160, 318161, 318162, 318163, 318164, 318165, 318166, 318167, 318168, 318169, 318170, 318171, 318172, 318181, 318188, 318196, 318203, 318204, 318206, 318207);
Date: 2023-04-05 18:18:09 Duration: 54s44ms
-
UPDATE "stock_move" SET "picking_id" = 112618, "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (346606, 346607, 346608, 346609, 346610, 346611, 346612, 346613, 346614, 346615, 346616, 346617, 346618, 346620, 346621, 346622);
Date: 2023-04-05 18:03:03 Duration: 23s815ms
-
UPDATE "stock_move" SET "picking_id" = 111977, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (315371, 315372, 315373, 315377, 315381, 315387, 315388, 315389, 315390, 315391);
Date: 2023-04-05 13:17:31 Duration: 19s780ms
6 1s266ms 32s161ms 3s356ms 267 14m56s 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 #6
Day Hour Count Duration Avg duration Apr 05 11 18 1m8s 3s780ms 12 40 1m48s 2s716ms 13 41 3m24s 4s999ms 14 39 1m50s 2s832ms 15 26 1m20s 3s108ms 16 21 57s549ms 2s740ms 17 19 53s654ms 2s823ms 18 28 1m23s 2s993ms 19 21 1m40s 4s802ms 20 14 27s472ms 1s962ms -
UPDATE "stock_move" SET "branch_id" = 39, "picking_id" = 112126, "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 (352975, 352976, 352977, 352978, 352979, 352980, 352982, 352983, 352984, 352985, 352986, 352987, 352988, 352989, 352990, 352991, 352992, 352993, 352994, 352995, 352996, 352997, 352998);
Date: 2023-04-05 13:56:40 Duration: 32s161ms
-
UPDATE "stock_move" SET "branch_id" = 40, "picking_id" = 112054, "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 (352832, 352834, 352836, 352838, 352840, 352842, 352844, 352827, 352828, 352829);
Date: 2023-04-05 13:34:07 Duration: 29s793ms
-
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 112913, "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 (354409, 354410, 354411, 354412, 354413, 354414, 354415, 354416, 354417, 354418, 354419, 354420, 354421, 354423, 354424, 354427, 354428, 354429, 354430);
Date: 2023-04-05 19:48:08 Duration: 28s99ms
7 1s209ms 45s708ms 3s158ms 907 47m44s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 05 08 1 1s531ms 1s531ms 11 25 1m28s 3s548ms 12 118 3m44s 1s899ms 13 112 6m10s 3s305ms 14 118 4m50s 2s461ms 15 106 5m21s 3s30ms 16 82 4m19s 3s163ms 17 85 5m12s 3s674ms 18 124 10m9s 4s911ms 19 100 4m40s 2s808ms 20 33 1m30s 2s736ms 21 3 16s408ms 5s469ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (353536, 353454, 353468, 353469, 353471, 353474, 353479, 353481, 353484, 353487, 353488, 353489, 353490, 353491, 353492, 353494, 353501, 353502, 353504, 353507, 353513, 353514, 353515, 353516, 353518, 353519, 353522, 353528, 353531, 353533, 353534, 353535);
Date: 2023-04-05 16:11:02 Duration: 45s708ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (353624, 353630, 353631, 353632, 353633, 353634, 353635, 353636, 353637, 353638, 353639, 353640, 353641, 353644, 353650, 353652, 353653, 353655, 353656, 353657, 353658, 353659, 353660, 353661);
Date: 2023-04-05 17:07:38 Duration: 35s908ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (354409, 354410, 354411, 354412, 354413, 354414, 354415, 354416, 354417, 354418, 354419, 354420, 354421, 354423, 354424, 354427, 354428, 354429, 354430);
Date: 2023-04-05 19:49:21 Duration: 27s793ms
8 370ms 21s701ms 3s13ms 289 14m31s delete from account_move_line where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 05 00 1 4s11ms 4s11ms 07 1 809ms 809ms 10 34 2m13s 3s919ms 11 142 6m58s 2s945ms 12 50 3m14s 3s881ms 13 3 9s749ms 3s249ms 14 10 8s793ms 879ms 15 1 1s568ms 1s568ms 16 5 7s500ms 1s500ms 17 24 1m24s 3s520ms 18 3 1s269ms 423ms 19 7 3s636ms 519ms 20 7 2s764ms 394ms 23 1 797ms 797ms -
DELETE FROM account_move_line WHERE id IN (1998469, 1998470, 1998416, 1998417, 1998418, 1998419, 1998420, 1998421, 1998422, 1998423, 1998424, 1998425, 1998426, 1998427, 1998428, 1998429, 1998430, 1998431, 1998432, 1998433, 1998434, 1998435, 1998436, 1998437, 1998438, 1998439, 1998440, 1998441, 1998442, 1998443, 1998444, 1998445, 1998446, 1998447, 1998448, 1998449, 1998450, 1998451, 1998452, 1998453, 1998454, 1998455, 1998456, 1998457, 1998458, 1998459, 1998460, 1998461, 1998462, 1998463, 1998464, 1998465, 1998466, 1998467, 1998468);
Date: 2023-04-05 11:11:35 Duration: 21s701ms
-
DELETE FROM account_move_line WHERE id IN (2010259, 2010260, 2010261, 2010262, 2010263, 2010264, 2010265, 2010266, 2010267, 2010268, 2010269, 2010270, 2010271, 2010272, 2010273, 2010274, 2010275, 2010276, 2010277, 2010278, 2010279, 2010280, 2010281, 2010282, 2010283, 2010284, 2010285, 2010286, 2010287, 2010288, 2010289, 2010290, 2010291, 2010292, 2010293, 2010294, 2010295, 2010296, 2010297, 2010298, 2010299, 2010300, 2010301, 2010302, 2010303, 2010304, 2010305, 2010306, 2010307, 2010308, 2010309, 2010310, 2010311, 2010312);
Date: 2023-04-05 11:12:00 Duration: 21s375ms
-
DELETE FROM account_move_line WHERE id IN (1919885, 1919886, 1919887, 1919888, 1919889, 1919890, 1919891, 1919892, 1919893, 1919894, 1919895, 1919896, 1919897, 1919898, 1919899, 1919900, 1919901, 1919902, 1919903, 1919904, 1919905, 1919906, 1919907, 1919908, 1919909, 1919910, 1919911, 1919912, 1919913, 1919914, 1919915, 1919916, 1919917, 1919918, 1919919, 1919920, 1919921, 1919922, 1919923, 1919927, 1919928, 2017625, 2017626, 2017627, 2017623, 2017624);
Date: 2023-04-05 17:47:58 Duration: 18s826ms
9 589ms 12s549ms 2s380ms 3,428 2h16m 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 #9
Day Hour Count Duration Avg duration Apr 05 12 242 3m43s 924ms 13 1,224 41m15s 2s22ms 14 277 12m45s 2s764ms 15 1,685 1h18m15s 2s786ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 195161)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3358)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-05 15:01:30 Duration: 12s549ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 195373)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3358)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-05 15:08:52 Duration: 12s504ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 195161)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 3358)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2023-04-05 15:00:53 Duration: 12s466ms
10 1s227ms 10s885ms 2s172ms 559 20m14s 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 #10
Day Hour Count Duration Avg duration Apr 05 12 6 12s677ms 2s112ms 13 20 34s49ms 1s702ms 14 19 28s173ms 1s482ms 15 94 4m33s 2s911ms 16 10 16s459ms 1s645ms 17 83 2m57s 2s133ms 18 274 9m47s 2s143ms 19 37 1m 1s631ms 20 16 24s600ms 1s537ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "is_done" = true, "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (351777, 351778, 351779, 351780, 351783, 351784);
Date: 2023-04-05 15:20:37 Duration: 10s885ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "is_done" = true, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (339851, 339863);
Date: 2023-04-05 15:06:05 Duration: 7s271ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "is_done" = true, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (339851, 339863);
Date: 2023-04-05 15:04:12 Duration: 5s764ms
11 1s245ms 29s836ms 1s986ms 478 15m49s 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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, true, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 05 11 6 8s708ms 1s451ms 12 54 1m26s 1s595ms 13 178 7m26s 2s506ms 14 76 2m6s 1s670ms 15 14 21s871ms 1s562ms 16 20 29s357ms 1s467ms 17 8 12s272ms 1s534ms 18 32 1m18s 2s437ms 19 84 2m11s 1s559ms 20 6 9s183ms 1s530ms -
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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 953, (now() at time zone 'UTC'), 953, (now() at time zone 'UTC'), false, NULL, 45, 1, '2023-04-07 18:19:51.136642', 42, 78912, 437, 468, 'new_product', '10-I/INT/06865', NULL, 'Warehouse Inventory Transfer to Neville Island', 112678, 333, '0', 'make_to_stock', 204035, 1, '1.00', true, 10, 43, 'waiting', 42) RETURNING id;
Date: 2023-04-05 18:20:20 Duration: 29s836ms
-
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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 38, 1, '2023-04-06 13:29:08.756562', 36, 78582, 389, 468, 'new_product', '03-C/INT/04243', NULL, 'Warehouse Inventory Transfer to Clearfield', 112044, 285, '0', 'make_to_stock', 171886, 1, '2.00', true, 10, 43, 'waiting', 36) RETURNING id;
Date: 2023-04-05 13:29:18 Duration: 4s615ms
-
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", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 38, 1, '2023-04-06 13:29:08.756562', 36, 78582, 389, 468, 'new_product', '03-C/INT/04243', NULL, 'Warehouse Inventory Transfer to Clearfield', 112044, 285, '0', 'make_to_stock', 197871, 1, '2.00', true, 10, 43, 'waiting', 36) RETURNING id;
Date: 2023-04-05 13:29:13 Duration: 4s417ms
12 1s238ms 6s682ms 1s749ms 557 16m14s 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 #12
Day Hour Count Duration Avg duration Apr 05 08 2 2s583ms 1s291ms 11 16 23s828ms 1s489ms 12 75 2m3s 1s641ms 13 151 4m49s 1s914ms 14 88 2m20s 1s601ms 15 26 52s243ms 2s9ms 16 21 32s683ms 1s556ms 17 73 2m23s 1s965ms 18 39 1m1s 1s578ms 19 41 1m10s 1s728ms 20 25 34s188ms 1s367ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-04-05 13:24:42', "is_done" = true, "state" = 'done', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (351666, 351663);
Date: 2023-04-05 13:25:13 Duration: 6s682ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 4.0, "date" = '2023-04-05 17:51:28', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (325209, 325205, 325207);
Date: 2023-04-05 17:51:35 Duration: 5s698ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-04-05 17:54:17', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (325232, 325233, 325230);
Date: 2023-04-05 17:54:30 Duration: 5s638ms
13 1s217ms 7s210ms 1s719ms 695 19m54s 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 #13
Day Hour Count Duration Avg duration Apr 05 11 54 1m20s 1s497ms 12 74 2m6s 1s705ms 13 116 3m39s 1s893ms 14 82 2m15s 1s647ms 15 59 1m46s 1s798ms 16 42 1m11s 1s700ms 17 42 1m17s 1s839ms 18 88 2m24s 1s640ms 19 84 2m26s 1s742ms 20 54 1m27s 1s622ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 2.0, "reference" = '11-N/IN/04398', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1012, "write_date" = (now() at time zone 'UTC') WHERE id IN (354560, 354536, 354541, 354549, 354555);
Date: 2023-04-05 20:45:54 Duration: 7s210ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 10.0, "reference" = '10-I/IN/04115', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 997, "write_date" = (now() at time zone 'UTC') WHERE id IN (353835, 353836, 353838, 353839);
Date: 2023-04-05 17:51:28 Duration: 5s895ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '12-S/OUT/02491', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1028, "write_date" = (now() at time zone 'UTC') WHERE id IN (353752, 353753, 353748, 353750);
Date: 2023-04-05 17:37:01 Duration: 5s818ms
14 1s206ms 3s964ms 1s535ms 683 17m28s 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 #14
Day Hour Count Duration Avg duration Apr 05 11 57 1m16s 1s343ms 12 82 2m4s 1s519ms 13 131 3m50s 1s756ms 14 80 2m 1s502ms 15 55 1m32s 1s685ms 16 48 1m10s 1s471ms 17 42 1m 1s450ms 18 65 1m35s 1s468ms 19 95 2m19s 1s466ms 20 28 38s402ms 1s371ms -
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-05 13:17:31', '2023-04-05 13:17:31', 'Hand Cleaner', 78527, 5, 437, 'new_product', '[C10-85] Hand Cleaner', NULL, 'I-06167', 34130, 330, '0', 'make_to_stock', 190843, 1, '4.00', false, 371, 123655, 10, 'draft', 42) RETURNING id;
Date: 2023-04-05 13:18:11 Duration: 3s964ms
-
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-05 15:01:28', '2023-04-05 15:01:28', 'U-Joint', 78746, 5, 381, 'new_product', '[SPL250-3X] U-Joint', NULL, 'G-05847', 33164, 274, '0', 'make_to_stock', 198541, 1, '1.00', false, 308, 123883, 10, 'draft', 35) RETURNING id;
Date: 2023-04-05 15:02:06 Duration: 3s742ms
-
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-05 15:01:15', '2023-04-05 15:01:15', 'AUTOMATIC BRAKE ADJUSTER KIT TRUCK TRAILER SABA WITH HARDWAR', 78745, 5, 389, 'new_product', '[40020234] AUTOMATIC BRAKE ADJUSTER KIT TRUCK TRAILER SABA WITH HARDWAR', NULL, 'C-04771', 48641, 282, '0', 'make_to_stock', 183896, 1, '1.00', false, 317, 123882, 10, 'draft', 36) RETURNING id;
Date: 2023-04-05 15:01:53 Duration: 3s662ms
15 317ms 4s795ms 1s6ms 3,469 58m10s 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 05 07 30 11s107ms 370ms 12 244 1m53s 466ms 13 1,233 16m56s 824ms 14 276 5m5s 1s106ms 15 1,686 34m3s 1s212ms -
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 = 194056 and item_demand_plan_id = 3360 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-05 13:29:15 Duration: 4s795ms
-
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 = 195171 and item_demand_plan_id = 3358 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-05 15:02:16 Duration: 4s598ms
-
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 = 195608 and item_demand_plan_id = 3360 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-05 15:08:43 Duration: 4s556ms
16 651ms 2s592ms 809ms 823 11m6s 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 05 11 34 23s181ms 681ms 12 73 53s962ms 739ms 13 111 1m51s 1s2ms 14 97 1m19s 815ms 15 122 2m5s 1s30ms 16 56 39s937ms 713ms 17 78 55s196ms 707ms 18 93 1m6s 716ms 19 90 1m3s 710ms 20 69 47s258ms 684ms -
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 ('%489xqahx-%')) 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 ('%489xqahx-%'))) 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 ('%489xqahx-%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%489xqahx-%')))))) 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-05 15:06:31 Duration: 2s592ms
-
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 ('%900540007%')) 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 ('%900540007%'))) 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 ('%900540007%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%900540007%')))))) 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-05 13:33:49 Duration: 2s504ms
-
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 ('%35t40821%')) 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 ('%35t40821%'))) 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 ('%35t40821%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%35t40821%')))))) 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-05 15:07:11 Duration: 2s443ms
17 518ms 2s49ms 633ms 1,227 12m56s 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 (((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 #17
Day Hour Count Duration Avg duration Apr 05 10 1 530ms 530ms 11 24 13s20ms 542ms 12 24 13s655ms 568ms 13 78 54s179ms 694ms 14 36 20s891ms 580ms 15 23 22s49ms 958ms 16 28 15s910ms 568ms 17 27 15s276ms 565ms 18 191 1m44s 547ms 19 766 8m21s 654ms 20 29 15s721ms 542ms -
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%370077a%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%370077a%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%370077a%')) 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-05 15:03:56 Duration: 2s49ms
-
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%1304510%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1304510%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%1304510%')) 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-05 15:05:08 Duration: 1s885ms
-
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%37077a%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%37077a%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%37077a%')) 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-05 15:03:33 Duration: 1s867ms
18 518ms 2s465ms 625ms 1,853 19m18s 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 05 09 4 2s151ms 537ms 10 19 10s95ms 531ms 11 112 1m 541ms 12 228 2m6s 554ms 13 84 1m13s 872ms 14 253 2m40s 635ms 15 261 3m24s 785ms 16 184 1m45s 573ms 17 238 2m17s 578ms 18 255 2m35s 609ms 19 132 1m16s 578ms 20 43 23s709ms 551ms 21 40 21s527ms 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 ('%%flywh%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%flywh%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%flywh%'))) 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-05 15:03:26 Duration: 2s465ms
-
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 ('%%1r14%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1r14%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%1r14%'))) 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-05 13:29:11 Duration: 2s206ms
-
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 ('%%98175r3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%98175r3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%98175r3%'))) 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-05 15:10:30 Duration: 2s118ms
19 511ms 2s368ms 622ms 3,626 37m38s 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 #19
Day Hour Count Duration Avg duration Apr 05 11 209 1m53s 541ms 12 389 3m56s 607ms 13 650 7m51s 724ms 14 324 3m6s 576ms 15 309 4m19s 838ms 16 350 3m17s 562ms 17 290 2m45s 571ms 18 365 3m32s 581ms 19 605 5m43s 567ms 20 130 1m11s 547ms 22 5 2s638ms 527ms -
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 ('%%23%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%23-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%23-%'))) 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-05 13:29:14 Duration: 2s368ms
-
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 ('%%2310%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%23-10%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%23-10%'))) 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-05 13:29:15 Duration: 2s334ms
-
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 ('%%or286171%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%or286171%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%or286171%'))) 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-05 15:04:09 Duration: 2s37ms
20 195ms 1s999ms 268ms 1,016 4m33s 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 #20
Day Hour Count Duration Avg duration Apr 05 11 83 17s520ms 211ms 12 120 30s545ms 254ms 13 254 1m23s 329ms 14 99 23s950ms 241ms 15 65 25s814ms 397ms 16 67 14s989ms 223ms 17 46 10s771ms 234ms 18 86 21s476ms 249ms 19 166 38s78ms 229ms 20 30 6s372ms 212ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (123660)) ORDER BY "sale_history_line"."id";
Date: 2023-04-05 13:21:52 Duration: 1s999ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (123659)) ORDER BY "sale_history_line"."id";
Date: 2023-04-05 13:20:48 Duration: 1s971ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (123687)) ORDER BY "sale_history_line"."id";
Date: 2023-04-05 13:30:16 Duration: 1s926ms
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
- 152,236 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 7202 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 2,542 Max number of times the same event was reported
- 7,202 Total events found
Rank Times reported Error 1 2,542 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 05 00 97 01 102 02 88 03 73 04 73 05 72 06 78 07 104 08 86 09 88 10 43 11 94 12 55 13 10 14 8 15 13 16 10 17 172 18 1,156 19 22 20 7 21 7 22 39 23 45 - ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "res_partner"
- 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-05 00:00:07
Statement: SELECT "customer_rank" FROM res_partner WHERE ID IN (34513) FOR UPDATE NOWAIT; UPDATE res_partner SET "customer_rank" = "customer_rank" + 1 WHERE id IN (34513)
Date: 2023-04-05 13:57:43
Statement: SELECT 1 FROM stock_quant WHERE id = 231714 FOR UPDATE NOWAIT
Date: 2023-04-05 17:22:14
2 2,041 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #2
Day Hour Count Apr 05 00 225 01 247 02 281 03 218 04 239 05 299 06 207 07 221 08 101 14 2 18 1 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM ir_attachment WHERE id IN (2380992)
Date: 2023-04-05 00:00:07
3 1,351 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 05 00 1 07 1 08 112 09 87 10 42 11 45 12 153 13 320 14 156 15 102 16 86 17 103 18 99 19 22 20 10 21 12 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE "bus_presence" SET "last_poll"='2023-04-05 00:06:50',"last_presence"='2023-04-05 00:06:49.803349' WHERE id IN (115)
Date: 2023-04-05 00:06:50
4 1,074 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 05 00 100 01 99 02 110 03 77 04 87 05 129 06 85 07 85 08 37 12 9 13 36 14 8 15 27 16 2 17 19 18 149 19 13 20 2 - ERROR: process 3481677 still waiting for ShareLock on transaction 104570236 after 1000.041 ms
- ERROR: process 170443 still waiting for ShareLock on transaction 104570244 after 1000.047 ms
- ERROR: process 183306 still waiting for ShareLock on transaction 104570268 after 1000.049 ms
Detail: Process holding the lock: 3482434. Wait queue: 3481677.
Context: while deleting tuple (3861,96) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (2380992)Date: 2023-04-05 00:00:06
Detail: Process holding the lock: 234390. Wait queue: 170443.
Context: while deleting tuple (3810,116) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (2380996)Date: 2023-04-05 00:00:10
Detail: Process holding the lock: 169949. Wait queue: 183306.
Context: while deleting tuple (3823,149) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (2381006)Date: 2023-04-05 00:00:21
5 80 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 05 00 5 01 8 02 16 03 12 04 9 05 14 06 4 07 7 08 5 - ERROR: process 3481267 still waiting for AccessExclusiveLock on tuple (3811,114) of relation 43604 of database 65946 after 1000.043 ms
- ERROR: process 200288 still waiting for AccessExclusiveLock on tuple (3796,103) of relation 43604 of database 65946 after 1000.042 ms
- ERROR: process 183226 still waiting for AccessExclusiveLock on tuple (3882,87) of relation 43604 of database 65946 after 1000.066 ms
Detail: Process holding the lock: 3481105. Wait queue: 3481267.
Statement: DELETE FROM ir_attachment WHERE id IN (2381101)Date: 2023-04-05 00:03:40
Detail: Process holding the lock: 169949. Wait queue: 200288.
Statement: DELETE FROM ir_attachment WHERE id IN (2381200)Date: 2023-04-05 00:06:11
Detail: Process holding the lock: 200287. Wait queue: 183226.
Statement: DELETE FROM ir_attachment WHERE id IN (2382780)Date: 2023-04-05 00:52:42
6 69 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #6
Day Hour Count Apr 05 00 2 01 4 02 14 03 12 04 5 05 6 06 6 07 6 08 3 09 2 13 1 14 4 15 3 17 1 - 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-05 00:23:52
7 24 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #7
Day Hour Count Apr 05 13 10 15 14 - ERROR: process 858934 still waiting for ExclusiveLock on tuple (8585,7) of relation 42418 of database 65946 after 1000.053 ms
- ERROR: process 858932 still waiting for ExclusiveLock on tuple (8585,7) of relation 42418 of database 65946 after 1000.054 ms
- ERROR: process 865381 still waiting for ExclusiveLock on tuple (8585,7) of relation 42418 of database 65946 after 1000.055 ms
Detail: Process holding the lock: 859046. Wait queue: 858934, 858932.
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 != 543505 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 != 543505 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-04-05 13:18:10
Detail: Process holding the lock: 859046. Wait queue: 858934, 858932.
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 != 543494 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 != 543494 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-04-05 13:18:11
Detail: Process holding the lock: 859046. Wait queue: 858934, 858932, 865381.
Statement: UPDATE "account_move" SET "message_main_attachment_id"=2401578,"write_uid"=1043,"write_date"=(now() at time zone 'UTC') WHERE id IN (543499)Date: 2023-04-05 13:18:13
8 7 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #8
Day Hour Count Apr 05 08 1 13 1 15 5 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 784160 waits for RowExclusiveLock on relation 44482 of database 65946; blocked by process 785274. Process 785274 waits for ShareLock on relation 42418 of database 65946; blocked by process 784160. Process 784160: DELETE FROM ir_attachment WHERE id IN (2398011) Process 785274: 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);
Hint: See server log for query details.
Statement: DELETE FROM ir_attachment WHERE id IN (2398011)Date: 2023-04-05 08:20:11
Detail: Process 865319 waits for ShareLock on transaction 104672381; blocked by process 865320. Process 865320 waits for ShareLock on transaction 104672356; blocked by process 865319. Process 865319: 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-03-29 20:15:35', '2023-03-29 20:15:35', 'Abex Lined Shoe Kit', 78635, 5, 397, 'new_product', '[EL4702K] BLS Shoe Kit', NULL, 'V-03204', 44447, 290, '0', 'make_to_stock', 238891, 1, '2.00', false, 326, 122504, 10, 'draft', 37) RETURNING id Process 865320: UPDATE "sale_order_line" SET "branch_id"=39,"warehouse_id"=37,"write_uid"=1141,"write_date"=(now() at time zone 'UTC') WHERE id IN (123393, 123778, 123395, 122505, 122506, 123305, 123310, 123316, 123317, 123318, 123319, 123320, 123321, 123322, 123323, 123324, 123325, 123326, 123738, 123743, 123744, 123745, 123746, 123749)
Context: while updating tuple (25766,8) in relation "product_warehouse_inventory" SQL statement "update product_warehouse_inventory set loc_check_qty = inventory_on_hand.qty_available + inventory_on_order.qty - reserve_inventory.qty where product_id=NEW.product_id and warehouse_id=NEW.warehouse_id and company_id=NEW.company_id" PL/pgSQL function update_loc_check_qty() line 18 at SQL statement
Hint: See server log for query details.
Statement: 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-03-29 20:15:35', '2023-03-29 20:15:35', 'Abex Lined Shoe Kit', 78635, 5, 397, 'new_product', '[EL4702K] BLS Shoe Kit', NULL, 'V-03204', 44447, 290, '0', 'make_to_stock', 238891, 1, '2.00', false, 326, 122504, 10, 'draft', 37) RETURNING idDate: 2023-04-05 13:55:19
Detail: Process 1065476 waits for ShareLock on transaction 104688196; blocked by process 1217510. Process 1217510 waits for ShareLock on transaction 104687102; blocked by process 1065476. Process 1065476: UPDATE "product_product" SET "write_uid"=1038,"write_date"=(now() at time zone 'UTC') WHERE id IN (206240, 247266, 206375, 205997, 206001, 206322, 205974, 206041, 206010, 247069, 247262) Process 1217510: UPDATE "product_warehouse_inventory" SET "write_uid"=1038,"write_date"=(now() at time zone 'UTC') WHERE id IN (35586, 35587, 35588, 35589, 35590, 35591, 332932, 332937, 332050, 35476, 332053, 35478, 35479, 35480, 35477, 35482, 35483, 35481, 332062, 332065, 332072, 332080, 36275, 36276, 36277, 36022, 36023, 36024, 36025, 36026, 36027, 327354, 332725, 333367, 35903, 35904, 327356, 35397, 35962, 35399, 35400, 332105, 35401, 35398, 333389, 333262, 35535, 35536, 35537, 35538, 35539, 35540, 332114, 332117, 333395, 35545, 35546, 35547, 35548, 35549, 35550, 35551, 35552, 35553, 35554, 35555, 35556, 35557, 333292, 35961, 333403, 35963, 35964, 35965, 35966, 35967)
Context: while updating tuple (819,82) in relation "product_product"
Hint: See server log for query details.
Statement: UPDATE "product_product" SET "write_uid"=1038,"write_date"=(now() at time zone 'UTC') WHERE id IN (206240, 247266, 206375, 205997, 206001, 206322, 205974, 206041, 206010, 247069, 247262)Date: 2023-04-05 15:04:39
9 6 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #9
Day Hour Count Apr 05 07 1 12 1 13 3 14 1 - ERROR: column "nan" does not exist at character 83
- ERROR: column "nan" does not exist at character 95
Statement: update product_warehouse_inventory set min_product_uom_qty = nan,max_product_uom_qty=nan where id = 28328
Date: 2023-04-05 07:31:40
Statement: update product_warehouse_inventory set min_product_uom_qty = nan,max_product_uom_qty=nan where id = 40413
Date: 2023-04-05 12:46:10
10 3 LOG: process ... still waiting for ShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #10
Day Hour Count Apr 05 08 3 - ERROR: process 785274 still waiting for ShareLock on relation 42418 of database 65946 after 1000.051 ms
- ERROR: process 785274 still waiting for ShareLock on relation 44482 of database 65946 after 1000.048 ms
- ERROR: process 785274 still waiting for ShareLock on relation 44482 of database 65946 after 1000.050 ms
Detail: Process holding the lock: 785316. Wait queue: 785274.
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-05 08:19:48
Detail: Process holding the lock: 784578. Wait queue: 785274.
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-05 08:20:01
Detail: Process holding the lock: 784083. Wait queue: 785274.
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-05 08:20:14
11 2 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Apr 05 08 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-05 08:19:37
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 05 08 2 - ERROR: process 785316 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.043 ms
- ERROR: process 784083 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.039 ms
Detail: Process holding the lock: 785274. Wait queue: 785316.
Statement: DELETE FROM ir_attachment WHERE id IN (2397999)Date: 2023-04-05 08:19:40
Detail: Process holding the lock: 785274. Wait queue: 784083.
Statement: DELETE FROM ir_attachment WHERE id IN (2398011)Date: 2023-04-05 08:20:12
13 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #13
Day Hour Count Apr 05 18 1 - ERROR: duplicate key value violates unique constraint "res_partner_bank_unique_number"
Detail: Key (sanitized_acc_number, company_id)=(7802789466, 1) already exists.
Statement: UPDATE "res_partner_bank" SET "sanitized_acc_number"='7802789466',"write_uid"=956,"write_date"=(now() at time zone 'UTC') WHERE id IN (17)Date: 2023-04-05 18:29:52