-
Global information
- Generated on Fri Mar 31 23:50:59 2023
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 429,262 log entries in 58s
- Log start from 2023-03-30 00:00:02 to 2023-03-30 23:59:53
-
Overview
Global Stats
- 1,169 Number of unique normalized queries
- 146,807 Number of queries
- 16h4m38s Total query duration
- 2023-03-30 00:00:02 First query
- 2023-03-30 23:59:53 Last query
- 29 queries/s at 2023-03-30 13:32:55 Query peak
- 16h4m38s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 16h4m38s Execute total duration
- 14,990 Number of events
- 14 Number of unique normalized events
- 8,393 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
- 146,807 Average queries per session
- 16h4m38s 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
- 29 queries/s Query Peak
- 2023-03-30 13:32:55 Date
SELECT Traffic
Key values
- 27 queries/s Query Peak
- 2023-03-30 13:32:51 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 11 queries/s Query Peak
- 2023-03-30 17:36:17 Date
Queries duration
Key values
- 16h4m38s 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) Mar 30 00 5,079 120ms 183ms 124ms 47s963ms 49s960ms 50s334ms 01 5,449 120ms 1s317ms 126ms 48s449ms 49s723ms 53s229ms 02 5,457 120ms 211ms 123ms 48s884ms 51s1ms 51s760ms 03 5,263 120ms 174ms 123ms 48s529ms 50s501ms 50s951ms 04 5,515 120ms 927ms 127ms 49s808ms 50s898ms 54s236ms 05 5,833 120ms 579ms 124ms 49s148ms 49s970ms 57s223ms 06 5,996 120ms 555ms 126ms 50s344ms 52s35ms 54s778ms 07 5,679 120ms 2s825ms 129ms 48s831ms 52s499ms 54s830ms 08 5,758 120ms 8s116ms 128ms 46s551ms 50s670ms 52s55ms 09 6,114 120ms 44s743ms 165ms 48s865ms 53s144ms 1m18s 10 2,613 120ms 6s435ms 162ms 14s796ms 22s581ms 30s283ms 11 4,138 120ms 16s169ms 351ms 56s231ms 1m4s 1m15s 12 7,227 120ms 32s52ms 475ms 1m39s 2m40s 3m32s 13 12,151 120ms 51s925ms 589ms 3m24s 4m37s 5m30s 14 7,627 120ms 51s502ms 510ms 1m54s 2m25s 3m 15 8,896 120ms 58s257ms 635ms 2m42s 2m57s 4m28s 16 6,815 120ms 55s150ms 573ms 1m55s 1m59s 2m24s 17 7,468 120ms 10m24s 1s257ms 3m1s 17m58s 31m49s 18 7,669 120ms 10m26s 860ms 3m21s 3m50s 13m7s 19 7,466 120ms 18s630ms 584ms 2m10s 3m15s 3m43s 20 4,188 120ms 22s882ms 478ms 1m15s 1m25s 1m57s 21 2,504 120ms 6s198ms 252ms 26s805ms 29s239ms 31s341ms 22 5,840 120ms 1s327ms 125ms 50s125ms 51s486ms 55s662ms 23 6,062 120ms 3s910ms 147ms 51s341ms 54s233ms 55s270ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 30 00 5,079 0 124ms 4s256ms 47s963ms 50s235ms 01 5,440 0 125ms 10s146ms 48s449ms 51s112ms 02 5,456 0 123ms 5s9ms 48s884ms 51s179ms 03 5,263 0 123ms 4s629ms 48s529ms 50s829ms 04 5,515 0 127ms 23s421ms 49s808ms 53s253ms 05 5,833 0 124ms 6s118ms 49s148ms 52s162ms 06 5,996 0 126ms 11s66ms 50s344ms 52s83ms 07 5,673 0 128ms 12s806ms 48s831ms 53s113ms 08 5,749 0 124ms 8s971ms 46s551ms 51s334ms 09 5,964 57 158ms 42s59ms 47s694ms 1m8s 10 2,554 0 139ms 6s869ms 7s420ms 15s297ms 11 3,368 0 245ms 19s538ms 28s47ms 1m1s 12 4,953 0 277ms 33s518ms 37s446ms 46s658ms 13 8,169 0 340ms 1m5s 1m40s 2m44s 14 4,862 0 265ms 26s294ms 35s549ms 1m4s 15 5,536 0 265ms 29s140ms 35s442ms 54s254ms 16 4,843 45 271ms 25s705ms 34s901ms 1m2s 17 4,547 0 294ms 31s611ms 35s406ms 52s822ms 18 4,719 0 232ms 23s230ms 29s610ms 50s432ms 19 5,272 0 267ms 30s848ms 50s491ms 1m14s 20 2,956 0 236ms 19s99ms 25s894ms 29s683ms 21 2,338 0 191ms 9s633ms 15s416ms 24s461ms 22 5,830 0 124ms 6s100ms 50s125ms 51s524ms 23 5,875 0 124ms 8s162ms 48s638ms 52s328ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 30 00 0 0 0 0 0ms 0ms 0ms 0ms 01 1 7 0 0 734ms 0ms 0ms 0ms 02 0 0 1 0 211ms 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 2 4 0 706ms 0ms 0ms 653ms 08 0 0 3 0 3s583ms 0ms 0ms 1s184ms 09 0 80 2 0 690ms 0ms 1s235ms 5s794ms 10 6 38 9 0 1s76ms 0ms 269ms 8s815ms 11 71 659 9 0 835ms 8s475ms 17s568ms 36s903ms 12 259 1,915 10 0 932ms 27s503ms 47s612ms 1m34s 13 446 3,287 15 0 1s144ms 1m2s 1m27s 2m9s 14 222 2,341 24 0 997ms 40s352ms 57s261ms 1m43s 15 267 2,815 34 0 1s330ms 1m14s 1m33s 2m13s 16 152 1,519 22 0 1s506ms 53s373ms 1m11s 1m33s 17 381 2,320 53 0 2s915ms 1m 1m32s 17m18s 18 371 2,377 25 0 1s974ms 1m 1m29s 2m32s 19 295 1,780 12 0 1s378ms 46s242ms 1m8s 1m55s 20 141 1,045 13 0 1s84ms 18s150ms 31s337ms 1m7s 21 27 123 0 0 862ms 1s878ms 4s620ms 7s654ms 22 1 8 0 0 889ms 0ms 0ms 0ms 23 2 166 4 0 911ms 2s29ms 3s451ms 11s787ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 30 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 Mar 30 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 Mar 30 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 Mar 30 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 Mar 30 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) Mar 30 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 Mar 30 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 Mar 30 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 Mar 30 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
- 3,964 locks Total
Type Object Count Total Duration Average Duration (s) AccessExclusiveLock 682 19m52s 1s748ms tuple 682 19m52s 1s748ms AccessShareLock 3 6s672ms 2s224ms relation 3 6s672ms 2s224ms ExclusiveLock 11 28m57s 2m37s tuple 11 28m57s 2m37s RowExclusiveLock 4 21s784ms 5s446ms relation 4 21s784ms 5s446ms ShareLock 3,264 3h19m57s 3s675ms relation 11 23s130ms 2s102ms transaction 3,253 3h19m34s 3s680ms Total 3,964 4h9m15s 3s772ms Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 3,849 2h3m37s 1s66ms 8s100ms 1s927ms delete from ir_attachment where id in (...);-
DELETE FROM ir_attachment WHERE id IN (2077458);
Date: 2023-03-30 08:21:05
-
DELETE FROM ir_attachment WHERE id IN (2082302);
Date: 2023-03-30 10:26:38
-
DELETE FROM ir_attachment WHERE id IN (2082318);
Date: 2023-03-30 10:27:04
2 9 52m45s 1m37s 10m24s 5m51s 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" = 0.0, "qty_done" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (117642);
Date: 2023-03-30 17:46:59
-
UPDATE "stock_move_line" SET "purchase_qty" = 1.0, "qty_done" = '1.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118081);
Date: 2023-03-30 17:35:44
-
UPDATE "stock_move_line" SET "purchase_qty" = 4.0, "qty_done" = '4.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118010);
Date: 2023-03-30 17:35:44
3 5 46m5s 6m37s 10m26s 9m13s update "stock_move_line" set "current_warehouse_qty" = ?.?, "date" = ?, "product_qty" = ?.?, "product_uom_qty" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:59:09', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508, 331509, 331510, 331511);
Date: 2023-03-30 18:10:05
-
UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 18:11:12', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508);
Date: 2023-03-30 18:21:25
-
UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:36:49', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508);
Date: 2023-03-30 17:46:59
4 1 9m59s 9m59s 9m59s 9m59s update "stock_move_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move_line" SET "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (117642);
Date: 2023-03-30 17:46:59
5 1 5m51s 5m51s 5m51s 5m51s update "product_warehouse_inventory" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "product_warehouse_inventory" SET "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (81024, 81025, 81026, 81027, 81028, 81175, 81176, 81177, 81178, 81179, 81180, 81181, 81182, 81183, 330907, 81188, 81189, 81190, 81191, 81192, 81193, 81328, 81329, 81330, 81331, 81332, 81333, 81334, 81335, 81587, 81589, 81591, 81588, 81593, 81594, 81590, 81592, 81511, 81512, 81513, 81514, 81515, 81136, 81138, 81139, 81140, 81141, 81142, 81143, 81144);
Date: 2023-03-30 17:58:05
-
UPDATE "product_warehouse_inventory" SET "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (81024, 81025, 81026, 81027, 81028, 81175, 81176, 81177, 81178, 81179, 81180, 81181, 81182, 81183, 330907, 81188, 81189, 81190, 81191, 81192, 81193, 81328, 81329, 81330, 81331, 81332, 81333, 81334, 81335, 81587, 81589, 81591, 81588, 81593, 81594, 81590, 81592, 81511, 81512, 81513, 81514, 81515, 81136, 81138, 81139, 81140, 81141, 81142, 81143, 81144);
Date: 2023-03-30 17:58:05
6 48 3m7s 1s56ms 37s26ms 3s900ms update account_move set write_date = write_date where id = ( select id from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) and id != ? and sequence_prefix = ( select sequence_prefix from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) and id != ? order by id desc limit ?) order by sequence_number desc limit ?) returning name;-
UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 526760 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 != 526760 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2023-03-30 12:17:03
7 5 2m49s 18s961ms 1m25s 33s899ms update "stock_move_line" set "product_qty" = ?.?, "product_uom_qty" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move_line" SET "product_qty" = 0.0, "product_uom_qty" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (331520, 117642, 334714, 118081, 118009, 118010, 117731, 331518, 331504, 331505, 331506, 331507, 331508, 331509, 117878, 331511, 331512, 331513, 331514, 331515, 331516, 331517, 331510, 331519);
Date: 2023-03-30 17:48:00
-
UPDATE "stock_move_line" SET "product_qty" = 0.0, "product_uom_qty" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (331520, 117642, 334714, 118081, 118009, 118010, 117731, 331518, 331504, 331505, 331506, 331507, 331508, 331509, 117878, 331511, 331512, 331513, 331514, 331515, 331516, 331517, 331510, 331519);
Date: 2023-03-30 17:36:48
-
UPDATE "stock_move_line" SET "product_qty" = 0.0, "product_uom_qty" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (331520, 117642, 334714, 118081, 118009, 118010, 117731, 331518, 331504, 331505, 331506, 331507, 331508, 331509, 117878, 331511, 331512, 331513, 331514, 331515, 331516, 331517, 331510, 331519);
Date: 2023-03-30 17:59:08
8 9 1m14s 1s479ms 18s317ms 8s281ms 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" = 1144, "write_date" = (now() at time zone 'UTC') WHERE id IN (119563);
Date: 2023-03-30 19:27:10
-
UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1144, "write_date" = (now() at time zone 'UTC') WHERE id IN (119563);
Date: 2023-03-30 19:26:18
-
UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1144, "write_date" = (now() at time zone 'UTC') WHERE id IN (119563);
Date: 2023-03-30 19:27:35
9 1 46s958ms 46s958ms 46s958ms 46s958ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move" SET "current_warehouse_qty" = 8.0, "date" = '2023-03-30 13:36:15', "is_done" = true, "state" = 'done', "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (325322, 325323, 325335);
Date: 2023-03-30 13:36:21
-
UPDATE "stock_move" SET "current_warehouse_qty" = 4.0, "date" = '2023-03-30 13:14:51', "is_done" = true, "state" = 'done', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (344018, 344023, 344015);
Date: 2023-03-30 13:14:58
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-03-30 18:05:09', "is_done" = true, "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (345232, 345241, 345252);
Date: 2023-03-30 18:05:17
10 1 36s604ms 36s604ms 36s604ms 36s604ms 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-03-30 13:31:43', "cus_part_route" = NULL, "cus_user_id" = 995, "inventory_vendor_id" = 3042, "is_service" = false, "margin" = '26.29', "margin_percent" = 0.28000852060922354, "order_partner_id" = 36124, "price_reduce" = '93.89', "price_reduce_taxexcl" = '93.89', "price_reduce_taxinc" = '93.89', "price_subtotal" = '93.89', "price_tax" = 0.0, "price_total" = '93.89', "purchase_price" = '67.60', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 995, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 42, "write_uid" = 972, "write_date" = (now() at time zone 'UTC') WHERE id IN (119558);
Date: 2023-03-30 13:32:45
-
UPDATE "sale_order_line" SET "branch_id" = 45, "currency_id" = 2, "cus_date_order" = '2023-03-30 13:09:18', "cus_part_route" = NULL, "cus_user_id" = 954, "inventory_vendor_id" = 3019, "is_service" = false, "margin" = '22.62', "margin_percent" = 0.4148936170212766, "order_partner_id" = 33896, "price_reduce" = '27.26', "price_reduce_taxexcl" = '27.26', "price_reduce_taxinc" = '27.26', "price_subtotal" = '54.52', "price_tax" = 0.0, "price_total" = '54.52', "purchase_price" = '15.95', "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" = 954, "write_date" = (now() at time zone 'UTC') WHERE id IN (119478);
Date: 2023-03-30 13:10:00
-
UPDATE "sale_order_line" SET "branch_id" = 39, "currency_id" = 2, "cus_date_order" = '2023-03-30 13:28:24', "cus_part_route" = NULL, "cus_user_id" = 1027, "inventory_vendor_id" = 2931, "is_service" = false, "margin" = '-23.56', "margin_percent" = 0.24989393296563425, "order_partner_id" = 33370, "price_reduce" = '23.57', "price_reduce_taxexcl" = '23.57', "price_reduce_taxinc" = '23.57', "price_subtotal" = '-94.28', "price_tax" = 0.0, "price_total" = '-94.28', "purchase_price" = '17.68', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 1027, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 37, "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (119540);
Date: 2023-03-30 13:30:24
11 1 35s181ms 35s181ms 35s181ms 35s181ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (344064, 344066, 344068, 344069, 344080, 344092, 344098, 344100, 344101, 344104, 344106, 344107, 344110, 344112, 344115, 344116, 344119, 344120, 344121, 344131, 344137, 344141, 344145, 344149, 344150, 344153, 344155, 344052, 344057, 344058, 344062, 344063);
Date: 2023-03-30 13:32:54
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (345231, 345232, 345233, 345234, 345237, 345238, 345239, 345241, 345242, 345243, 345244, 345245, 345246, 345247, 345248, 345249, 345250, 345252, 345254, 345255, 345256);
Date: 2023-03-30 18:02:03
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (326016, 326017, 308194, 327841, 327842, 323362, 323363, 323364, 323688, 326124, 325391, 305170, 320693, 330229, 323255, 320891, 321117, 321118);
Date: 2023-03-30 17:59:07
12 10 29s8ms 1s880ms 3s842ms 2s900ms 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" = 2089464, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (527036);
Date: 2023-03-30 13:12:21
13 2 21s725ms 6s27ms 15s698ms 10s862ms update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "write_uid" = 1144, "write_date" = (now() at time zone 'UTC') WHERE id IN (120172, 119570, 119563, 119586);
Date: 2023-03-30 19:25:28
-
UPDATE "sale_order_line" SET "write_uid" = 1144, "write_date" = (now() at time zone 'UTC') WHERE id IN (120172, 119570, 119563, 119586);
Date: 2023-03-30 19:25:53
-
UPDATE "sale_order_line" SET "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (119297, 119298, 119270, 119272, 119277, 119279, 119283, 119284, 119293);
Date: 2023-03-30 12:08:39
14 3 13s421ms 2s930ms 5s602ms 4s473ms update "account_move" set "access_token" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "access_token" = 'd8f91fc6-dee5-4488-a019-2f8d4befa7c1', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (527110);
Date: 2023-03-30 13:22:52
15 6 11s801ms 1s69ms 2s977ms 1s966ms 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-03-30 10:27:08
-
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-03-30 08:21:08
-
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-03-30 10:27:35
16 5 11s329ms 1s510ms 3s543ms 2s265ms 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-03-30 08:21:27
-
CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is true;
Date: 2023-03-30 08:21:12
-
CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is true;
Date: 2023-03-30 08:21:37
17 3 6s672ms 1s565ms 3s13ms 2s224ms select "ir_model_fields".id from "ir_model_fields" where ("ir_model_fields"."model" = ?) order by "ir_model_fields"."name";-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name";
Date: 2023-03-30 08:21:23
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name";
Date: 2023-03-30 10:27:20
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name";
Date: 2023-03-30 08:21:23
18 1 4s874ms 4s874ms 4s874ms 4s874ms 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" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (120064, 120066, 120067, 120071, 120073, 120074, 120078, 120080, 120082, 120083, 120087, 120088, 120034, 120035, 120036, 120038, 120039, 120040, 120041, 120044, 120045, 120046, 120050, 120054, 120058, 120059, 120060);
Date: 2023-03-30 18:07:58
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "state" = 'done', "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (118657, 118659, 118661, 120166, 118662, 118664, 118665, 118667, 118669, 118671, 118672, 118674, 118675, 118676, 118677, 118678, 118679, 118680);
Date: 2023-03-30 19:22:46
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "state" = 'done', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (106945, 106948, 106949, 106950, 106951, 106955, 106956, 106957, 106958, 106959, 106937, 106961, 106962, 106964, 106965, 106968, 106969, 106938);
Date: 2023-03-30 20:58:43
19 1 2s737ms 2s737ms 2s737ms 2s737ms update "sale_order" set "carrier_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (41106);
Date: 2023-03-30 20:39:22
20 1 2s563ms 2s563ms 2s563ms 2s563ms 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-03-30 16:51:19
21 1 1s100ms 1s100ms 1s100ms 1s100ms 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'), 1037, (now() at time zone 'UTC'), 1037, (now() at time zone 'UTC'), false, NULL, 45, 1, '2023-03-30 13:30:39.673643', 42, 75804, 437, 468, 'new_product', '10-I/INT/06498', NULL, 'Warehouse Inventory Transfer to Neville Island', 107375, 333, '0', 'make_to_stock', 189838, 1, '2.00', true, 10, 44, 'waiting', 42) RETURNING id;
Date: 2023-03-30 13:30:42
-
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'), 1037, (now() at time zone 'UTC'), 1037, (now() at time zone 'UTC'), false, NULL, 50, 1, '2023-03-30 13:30:37.237305', 42, 75803, 468, 453, 'new_product', '12-S/INT/02291', NULL, '12-S/INT/02291', 107374, 349, '0', 'make_to_stock', 189838, 1, '2.00', true, 10, 44, 'draft', 44) RETURNING id;
Date: 2023-03-30 13:30:39
-
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'), 1037, (now() at time zone 'UTC'), 1037, (now() at time zone 'UTC'), false, NULL, 50, 1, '2023-03-30 13:23:34.074132', 44, 75786, 453, 468, 'new_product', '12-S/INT/02290', NULL, 'Warehouse Inventory Transfer to Sarver', 107340, 349, '0', 'make_to_stock', 188574, 1, '10.00', true, 10, 42, 'waiting', 44) RETURNING id;
Date: 2023-03-30 13:23:36
22 1 1s76ms 1s76ms 1s76ms 1s76ms update "account_move" set "is_move_sent" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "is_move_sent" = true, "write_uid" = 1223, "write_date" = (now() at time zone 'UTC') WHERE id IN (530187);
Date: 2023-03-30 19:52:35
Queries that waited the most
Rank Wait time Query 1 10m26s UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:59:09', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508, 331509, 331510, 331511);[ Date: 2023-03-30 18:10:05 ]
2 10m24s UPDATE "stock_move_line" SET "purchase_qty" = 0.0, "qty_done" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (117642);[ Date: 2023-03-30 17:46:59 ]
3 9m59s UPDATE "stock_move_line" SET "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (117642);[ Date: 2023-03-30 17:46:59 ]
4 9m43s UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 18:11:12', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508);[ Date: 2023-03-30 18:21:25 ]
5 9m41s UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:36:49', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508);[ Date: 2023-03-30 17:46:59 ]
6 9m36s UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:48:01', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505);[ Date: 2023-03-30 17:58:05 ]
7 8m17s UPDATE "stock_move_line" SET "purchase_qty" = 1.0, "qty_done" = '1.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118081);[ Date: 2023-03-30 17:35:44 ]
8 7m21s UPDATE "stock_move_line" SET "purchase_qty" = 1.0, "qty_done" = '1.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118081);[ Date: 2023-03-30 17:35:44 ]
9 6m46s UPDATE "stock_move_line" SET "purchase_qty" = 0.0, "qty_done" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (117642);[ Date: 2023-03-30 17:46:59 ]
10 6m37s UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:28:38', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505);[ Date: 2023-03-30 17:35:44 ]
11 5m51s UPDATE "product_warehouse_inventory" SET "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (81024, 81025, 81026, 81027, 81028, 81175, 81176, 81177, 81178, 81179, 81180, 81181, 81182, 81183, 330907, 81188, 81189, 81190, 81191, 81192, 81193, 81328, 81329, 81330, 81331, 81332, 81333, 81334, 81335, 81587, 81589, 81591, 81588, 81593, 81594, 81590, 81592, 81511, 81512, 81513, 81514, 81515, 81136, 81138, 81139, 81140, 81141, 81142, 81143, 81144);[ Date: 2023-03-30 17:58:05 ]
12 5m49s UPDATE "stock_move_line" SET "purchase_qty" = 4.0, "qty_done" = '4.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118010);[ Date: 2023-03-30 17:35:44 ]
13 4m33s UPDATE "stock_move_line" SET "purchase_qty" = 4.0, "qty_done" = '4.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118009);[ Date: 2023-03-30 17:35:44 ]
14 4m27s UPDATE "stock_move_line" SET "purchase_qty" = 0.0, "qty_done" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (117642);[ Date: 2023-03-30 17:46:59 ]
15 3m29s UPDATE "stock_move_line" SET "purchase_qty" = 1.0, "qty_done" = '1.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (334714);[ Date: 2023-03-30 17:35:44 ]
16 1m37s UPDATE "stock_move_line" SET "purchase_qty" = 6.0, "qty_done" = '6.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (117642);[ Date: 2023-03-30 17:35:44 ]
17 1m25s UPDATE "stock_move_line" SET "product_qty" = 0.0, "product_uom_qty" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (331520, 117642, 334714, 118081, 118009, 118010, 117731, 331518, 331504, 331505, 331506, 331507, 331508, 331509, 117878, 331511, 331512, 331513, 331514, 331515, 331516, 331517, 331510, 331519);[ Date: 2023-03-30 18:23:31 ]
18 46s958ms UPDATE "stock_move" SET "current_warehouse_qty" = 299.0, "date" = '2023-03-30 20:13:05', "is_done" = true, "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (345843);[ Date: 2023-03-30 20:13:54 ]
19 37s26ms 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 != 528649 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 != 528649 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-30 17:48:00 ]
20 36s604ms UPDATE "sale_order_line" SET "branch_id" = 40, "currency_id" = 2, "cus_date_order" = '2023-03-30 12:20:52', "cus_part_route" = NULL, "cus_user_id" = 1009, "inventory_vendor_id" = 2983, "is_service" = false, "margin" = '44.88', "margin_percent" = 0.3899895724713243, "order_partner_id" = 33771, "price_reduce" = '115.08', "price_reduce_taxexcl" = '115.08', "price_reduce_taxinc" = '115.08', "price_subtotal" = '115.08', "price_tax" = 0.0, "price_total" = '115.08', "purchase_price" = '70.20', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 1009, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 38, "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (119382);[ Date: 2023-03-30 12:29:18 ]
-
Queries
Queries by type
Key values
- 121,790 Total read queries
- 25,017 Total write queries
Queries by database
Key values
- unknown Main database
- 146,807 Requests
- 16h4m38s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 147,021 Requests
User Request type Count Duration unknown Total 147,021 16h5m4s copy to 102 6m24s cte 1,539 6m48s ddl 12 23s539ms delete 240 10m12s insert 2,642 56m30s select 122,004 6h19m14s update 20,482 8h25m30s Duration by user
Key values
- 16h5m4s (unknown) Main time consuming user
User Request type Count Duration unknown Total 147,021 16h5m4s copy to 102 6m24s cte 1,539 6m48s ddl 12 23s539ms delete 240 10m12s insert 2,642 56m30s select 122,004 6h19m14s update 20,482 8h25m30s Queries by host
Key values
- unknown Main host
- 147,021 Requests
- 16h5m4s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 146,807 Requests
- 16h4m38s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2023-03-30 19:46:22 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 123,474 100-500ms duration
Slowest individual queries
Rank Duration Query 1 10m26s UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:59:09', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508, 331509, 331510, 331511);[ Date: 2023-03-30 18:10:05 ]
2 10m24s UPDATE "stock_move_line" SET "purchase_qty" = 0.0, "qty_done" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (117642);[ Date: 2023-03-30 17:46:59 ]
3 9m43s UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 18:11:12', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508);[ Date: 2023-03-30 18:21:25 ]
4 9m41s UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:36:49', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508);[ Date: 2023-03-30 17:46:59 ]
5 9m36s UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:48:01', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505);[ Date: 2023-03-30 17:58:05 ]
6 8m17s UPDATE "stock_move_line" SET "purchase_qty" = 1.0, "qty_done" = '1.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118081);[ Date: 2023-03-30 17:35:44 ]
7 6m37s UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:28:38', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505);[ Date: 2023-03-30 17:35:44 ]
8 5m51s UPDATE "product_warehouse_inventory" SET "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (81024, 81025, 81026, 81027, 81028, 81175, 81176, 81177, 81178, 81179, 81180, 81181, 81182, 81183, 330907, 81188, 81189, 81190, 81191, 81192, 81193, 81328, 81329, 81330, 81331, 81332, 81333, 81334, 81335, 81587, 81589, 81591, 81588, 81593, 81594, 81590, 81592, 81511, 81512, 81513, 81514, 81515, 81136, 81138, 81139, 81140, 81141, 81142, 81143, 81144);[ Date: 2023-03-30 17:58:05 ]
9 5m49s UPDATE "stock_move_line" SET "purchase_qty" = 4.0, "qty_done" = '4.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118010);[ Date: 2023-03-30 17:35:44 ]
10 4m33s UPDATE "stock_move_line" SET "purchase_qty" = 4.0, "qty_done" = '4.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118009);[ Date: 2023-03-30 17:35:44 ]
11 3m29s UPDATE "stock_move_line" SET "purchase_qty" = 1.0, "qty_done" = '1.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (334714);[ Date: 2023-03-30 17:35:44 ]
12 1m37s UPDATE "stock_move_line" SET "purchase_qty" = 6.0, "qty_done" = '6.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (117642);[ Date: 2023-03-30 17:35:44 ]
13 58s257ms UPDATE "stock_move" SET "related_core_purchase_line_id" = NULL, "write_uid" = 997, "write_date" = (now() at time zone 'UTC') WHERE id IN (343424, 343425, 343426, 343427, 343428, 343429, 343430, 343432, 343433, 343434, 343435, 343388, 343390, 343391, 343392, 343393, 343394, 343396, 343397, 343398, 343399, 343400, 343401, 343402, 343403, 343404, 343405, 343406, 343407, 343409, 343411, 343412, 343413, 343414, 343415, 343416, 343417, 343418, 343419, 343420, 343421, 343422, 343423);[ Date: 2023-03-30 15:57:44 ]
14 55s150ms UPDATE "stock_move" SET "related_core_purchase_line_id" = NULL, "write_uid" = 997, "write_date" = (now() at time zone 'UTC') WHERE id IN (343490, 343492, 343493, 343494, 343495, 343496, 343497, 343498, 343499, 343500, 343501, 343502, 343503, 343504, 343505, 343506, 343507, 343508, 343509, 343510, 343511, 343512, 343513, 343514, 343515, 343516, 343517, 343518, 343519, 343520, 343521, 343522, 343523, 343524, 343525, 343526, 343527, 343528, 343529, 343530, 343531);[ Date: 2023-03-30 16:27:25 ]
15 52s638ms UPDATE "stock_move" SET "related_core_purchase_line_id" = NULL, "write_uid" = 997, "write_date" = (now() at time zone 'UTC') WHERE id IN (343630, 343632, 343633, 343634, 343635, 343636, 343637, 343638, 343639, 343640, 343641, 343642, 343643, 343644, 343645, 343646, 343647, 343648, 343649, 343650, 343651, 343652, 343653, 343654, 343655, 343656, 343657, 343658, 343659, 343660, 343661, 343662, 343663, 343664, 343665, 343666, 343667, 343668, 343669);[ Date: 2023-03-30 15:47:31 ]
16 52s282ms DELETE FROM stock_move_line WHERE id IN (118082, 118071, 118067, 118068, 118069, 118065, 118066, 118055, 118056, 118057, 118046, 118047, 118049, 118033, 118034, 118035, 118036, 118037, 118038, 118039, 118020, 118011, 118012, 118013, 118014, 118015, 118018, 118001, 118007, 118008, 117986, 117987, 117988, 117989, 117990, 117991, 117992, 117993, 117995, 117975, 117974, 117973, 117968, 117964, 117962, 117951, 117953, 117954, 117955, 117957, 117958, 117959, 117960, 117950, 117928, 117929, 117930, 117931, 117932, 117933, 117934, 117935, 117936, 117937, 117938, 117939, 117940, 117941, 117942, 117943, 117944, 117945, 117946, 117947, 117948, 117949, 117924, 117921, 117922, 117920, 118058, 117918, 117135, 117905, 117906, 117907, 117909, 117910, 117911, 117132, 117901, 117895, 117896, 117897, 117899, 117887, 117888, 117889, 117891, 118123, 117881, 117876, 117877, 117879, 117133, 117872, 117864, 117865, 117856, 117857, 117860, 117861, 117855, 117131, 117852, 117853, 117129, 117844, 117846, 117843, 117836, 117838, 117839, 117130, 117816, 117817, 117818, 117819, 117820, 117821, 117822, 117823, 117125, 117807, 117810, 117124, 117789, 117791, 117775, 117776, 117777, 117778, 117779, 117781, 117783, 117773, 117774, 117763, 117756, 117757, 117758, 118119, 117123, 117752, 117746, 117747, 117122, 117119, 117120, 117734, 117736, 117738, 117732, 117733, 117118, 117715, 117716, 117717, 117719, 117720, 117721, 117722, 117723, 117695, 117696, 117698, 117699, 117701, 117702, 117704, 117687, 117684, 117685, 117686, 117115, 117670, 117664, 117665, 118111, 118112, 117661, 117108, 117648, 117635, 117634, 117106, 117602, 117604, 117586, 117576, 117577, 235881, 118108, 151721, 117503, 117504, 117505, 117506, 117507, 117508, 117509, 164852, 117497, 117463, 117102, 117330, 117332, 117333, 117336, 117340, 117344, 117345, 117346, 117347, 129230, 117383, 117386, 117390, 117394, 117414, 117418, 117263, 117268, 117298, 117299, 117300, 117301, 117302, 117303, 117304, 117184, 117185, 132084, 127475, 127344, 127345, 126269, 126272, 126273, 130844, 150788, 138342, 138346, 132849, 133264, 133268, 133284, 135019, 135046, 149033, 138894, 138897, 145738, 142961, 143082, 143090, 146499, 146503, 146500, 147918, 147921, 313619, 151710, 183527, 157835, 164820, 160645, 160653, 161990, 161991, 161993, 161995, 161988, 161998, 162007, 161986, 162000, 161989, 161996, 162009, 161994, 161997, 162005, 161974, 161975, 161976, 161977, 161979, 161980, 162006, 161983, 162001, 162002, 161984, 162308, 165942, 164743, 164740, 164741, 164742, 164744, 165333, 288748, 185273, 185274, 185279, 166473, 244066, 166475, 166476, 244067, 166453, 167000, 167001, 167002, 169100, 169101, 171181, 176821, 176823, 176818, 177895, 177886, 180495, 180790, 187607, 180794, 180795, 180796, 180797, 180799, 191762, 180844, 185892, 186646, 186640, 186641, 186647, 186642, 186649, 186651, 186643, 186648, 186652, 186644, 186657, 186636, 186658, 186653, 186654, 186659, 186662, 186637, 186663, 186655, 186656, 186645, 188023, 188426, 188427, 188431, 188432, 188434, 188436, 190987, 192663, 196809, 197806, 201475, 203963, 203968, 308779, 206038, 206037, 206166, 206160, 206163, 210052, 210038, 210042, 210045, 210855, 210856, 210857, 210858, 210859, 210860, 210861, 210862, 210863, 210864, 211764, 211765, 211766, 211777, 212881, 212880, 212234, 214025, 227343, 214936, 214940, 215352, 215353, 215357, 216379, 221837, 221838, 221839, 221840, 221841, 221842, 221843, 221844, 221845, 221846, 221847, 221848, 221849, 221834, 221835, 221836, 223752, 223753, 229793, 229794, 229795, 229798, 223755, 223757, 223758, 223759, 223760, 223761, 229235, 228661, 228663, 228665, 233014, 233017, 234066, 233930, 337775, 236577, 236578, 236683, 236694, 236687, 236692, 236923, 240185, 248789, 273573, 248830, 261371, 248835, 248876, 249172, 249174, 249321, 254429, 257214, 257220, 257224, 257225, 257226, 257227, 257228, 257229, 257230, 257231, 257215, 257217, 257218, 257219, 257221, 257222, 257223, 257232, 257120, 257121, 257122, 257123, 257124, 257125, 257126, 257127, 337126, 259787, 259785, 259773, 259781, 259782, 267817, 268373, 268374, 268365, 270357, 270358, 270359, 270354, 270355, 270362, 270363, 270364, 270356, 270365, 270360, 270361, 270366, 271780, 271783, 271789, 271797, 271833, 271830, 271828, 271829, 271831, 271832, 285795, 272106, 274507, 274510, 274512, 274513, 287598, 278697, 278723, 280153, 280154, 280155, 280156, 280157, 280158, 280290, 283482, 283475, 283481, 283485, 283486, 283493, 283499, 283512, 283513, 285935, 285178, 285180, 285181, 285184, 285186, 285187, 288579, 341450, 291067, 291065, 291066, 291068, 291061, 291072, 291063, 291074, 292481, 295643, 295654, 295655, 297766, 302141, 298355, 308883, 297256, 302189, 302498, 302507, 302508, 302509, 302510, 302499, 302500, 302502, 302503, 302504, 302505, 302506, 301557, 304465, 304681, 304682, 305383, 305384, 305385, 305386, 306230, 305886, 306358, 306821, 306813, 306826, 309329, 309330, 309332, 309337, 309338, 309340, 309342, 308244, 320566, 309697, 309732, 311042, 311224, 311225, 311226, 311227, 311228, 314233, 314243, 335026, 314249, 314250, 314251, 314252, 314253, 314235, 314234, 314239, 314274, 314289, 315247, 315249, 315255, 317132, 317625, 317626, 317627, 317628, 317629, 317630, 317624, 317623, 338184, 319467, 319460, 318908, 318914, 318848, 318851, 318849, 318853, 318852, 318850, 321686, 323228, 323231, 323556, 323549, 323550, 323551, 323552, 323553, 323554, 326831, 326076, 326077, 326448, 326078, 326079, 326080, 328762, 327404, 327405, 327690, 328722, 328683, 328493, 328494, 328492, 331210, 331211, 331212, 331213, 331214, 331215, 331216, 331217, 331218, 331219, 331220, 331223, 331224, 331225, 331226, 331221, 331222, 328929, 329189, 331321, 331322, 330769, 330741, 330745, 330746, 331536, 331537, 331540, 331579, 331576, 331569, 331570, 331571, 334364, 334365, 334713, 334562, 334563, 334564, 334565, 334566, 334567, 334568, 334569, 334570, 334571, 333591, 333585, 334052, 334054, 334044, 334659, 335583, 336044, 336045, 336046, 339008, 339009, 339010, 339480, 340996, 341032, 341037, 341039, 341033, 341034, 341035, 341038, 341040, 341036, 341041, 340874, 340876, 340873, 340875, 340868, 340870, 340869, 340867, 340871, 340872, 339842, 339843, 339844, 339845, 339849, 339855, 339850, 339848, 339856, 339857, 339858, 339859, 339860, 339861, 339862, 339863, 339864, 339852, 339853, 339854, 339846, 339847, 339851, 339865, 341765, 341794, 341798, 341796, 341799, 341797, 341795, 343659, 343641, 344613, 343643, 343645, 343646, 343638, 343639, 343651, 343640, 343644, 343642, 343652, 343653, 343654, 343650, 343647, 343655, 343656, 343657, 343648, 343658, 343649, 343660, 343661, 343341, 343317, 344254, 343316, 343318, 343321, 343322, 343323, 343324, 343325, 343326, 343327, 343328, 343329, 343320, 343330, 343319, 343331, 343332, 343333, 343334, 343335, 343336, 343337, 343338, 343339, 343340, 341965, 341966, 341967, 342591, 342592, 342593, 342595, 342596, 342584, 342585, 342594, 342597, 342586, 342598, 342599, 342600, 342601, 342583, 342587, 342588, 342589, 342590, 344981, 343948, 118112, 206038, 210860, 212881, 283482, 304682, 334714, 341795, 341799, 341797, 341967);[ Date: 2023-03-30 18:00:00 ]
17 51s925ms UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (344064, 344066, 344068, 344069, 344080, 344092, 344098, 344100, 344101, 344104, 344106, 344107, 344110, 344112, 344115, 344116, 344119, 344120, 344121, 344131, 344137, 344141, 344145, 344149, 344150, 344153, 344155, 344052, 344057, 344058, 344062, 344063);[ Date: 2023-03-30 13:32:54 ]
18 51s502ms UPDATE "stock_move" SET "is_done" = true, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (324738, 324739, 324740, 344452, 324741, 324743, 344455, 324742, 324744, 324746, 324749, 324750, 324751, 324752, 324753, 324754, 324755, 324759, 324764, 324774, 324776, 324777, 324778, 324779, 324781, 324782, 324784, 324785, 324788, 324789, 324790, 324723, 324725, 324726, 324727, 324728, 324729, 324730);[ Date: 2023-03-30 14:26:45 ]
19 51s429ms DELETE FROM stock_move_line WHERE id IN (118082, 118071, 118067, 118068, 118069, 118065, 118066, 118055, 118056, 118057, 118046, 118047, 118049, 118033, 118034, 118035, 118036, 118037, 118038, 118039, 118020, 118011, 118012, 118013, 118014, 118015, 118018, 118001, 118007, 118008, 117986, 117987, 117988, 117989, 117990, 117991, 117992, 117993, 117995, 117975, 117974, 117973, 117968, 117964, 117962, 117951, 117953, 117954, 117955, 117957, 117958, 117959, 117960, 117950, 117928, 117929, 117930, 117931, 117932, 117933, 117934, 117935, 117936, 117937, 117938, 117939, 117940, 117941, 117942, 117943, 117944, 117945, 117946, 117947, 117948, 117949, 117924, 117921, 117922, 117920, 118058, 117918, 117135, 117905, 117906, 117907, 117909, 117910, 117911, 117132, 117901, 117895, 117896, 117897, 117899, 117887, 117888, 117889, 117891, 118123, 117881, 117876, 117877, 117879, 117133, 117872, 117864, 117865, 117856, 117857, 117860, 117861, 117855, 117131, 117852, 117853, 117129, 117844, 117846, 117843, 117836, 117838, 117839, 117130, 117816, 117817, 117818, 117819, 117820, 117821, 117822, 117823, 117125, 117807, 117810, 117124, 117789, 117791, 117775, 117776, 117777, 117778, 117779, 117781, 117783, 117773, 117774, 117763, 117756, 117757, 117758, 118119, 117123, 117752, 117746, 117747, 117122, 117119, 117120, 117734, 117736, 117738, 117732, 117733, 117118, 117715, 117716, 117717, 117719, 117720, 117721, 117722, 117723, 117695, 117696, 117698, 117699, 117701, 117702, 117704, 117687, 117684, 117685, 117686, 117115, 117670, 117664, 117665, 118111, 118112, 117661, 117108, 117648, 117635, 117634, 117106, 117602, 117604, 117586, 117576, 117577, 235881, 118108, 151721, 117503, 117504, 117505, 117506, 117507, 117508, 117509, 164852, 117497, 117463, 117102, 117330, 117332, 117333, 117336, 117340, 117344, 117345, 117346, 117347, 129230, 117383, 117386, 117390, 117394, 117414, 117418, 117263, 117268, 117298, 117299, 117300, 117301, 117302, 117303, 117304, 117184, 117185, 132084, 127475, 127344, 127345, 126269, 126272, 126273, 130844, 150788, 138342, 138346, 132849, 133264, 133268, 133284, 135019, 135046, 149033, 138894, 138897, 145738, 142961, 143082, 143090, 146499, 146503, 146500, 147918, 147921, 313619, 151710, 183527, 157835, 164820, 160645, 160653, 161990, 161991, 161993, 161995, 161988, 161998, 162007, 161986, 162000, 161989, 161996, 162009, 161994, 161997, 162005, 161974, 161975, 161976, 161977, 161979, 161980, 162006, 161983, 162001, 162002, 161984, 162308, 165942, 164743, 164740, 164741, 164742, 164744, 165333, 288748, 185273, 185274, 185279, 166473, 244066, 166475, 166476, 244067, 166453, 167000, 167001, 167002, 169100, 169101, 171181, 176821, 176823, 176818, 177895, 177886, 180495, 180790, 187607, 180794, 180795, 180796, 180797, 180799, 191762, 180844, 185892, 186646, 186640, 186641, 186647, 186642, 186649, 186651, 186643, 186648, 186652, 186644, 186657, 186636, 186658, 186653, 186654, 186659, 186662, 186637, 186663, 186655, 186656, 186645, 188023, 188426, 188427, 188431, 188432, 188434, 188436, 190987, 192663, 196809, 197806, 201475, 203963, 203968, 308779, 206038, 206037, 206166, 206160, 206163, 210052, 210038, 210042, 210045, 210855, 210856, 210857, 210858, 210859, 210860, 210861, 210862, 210863, 210864, 211764, 211765, 211766, 211777, 212881, 212880, 212234, 214025, 227343, 214936, 214940, 215352, 215353, 215357, 216379, 221837, 221838, 221839, 221840, 221841, 221842, 221843, 221844, 221845, 221846, 221847, 221848, 221849, 221834, 221835, 221836, 223752, 223753, 229793, 229794, 229795, 229798, 223755, 223757, 223758, 223759, 223760, 223761, 229235, 228661, 228663, 228665, 233014, 233017, 234066, 233930, 337775, 236577, 236578, 236683, 236694, 236687, 236692, 236923, 240185, 248789, 273573, 248830, 261371, 248835, 248876, 249172, 249174, 249321, 254429, 257214, 257220, 257224, 257225, 257226, 257227, 257228, 257229, 257230, 257231, 257215, 257217, 257218, 257219, 257221, 257222, 257223, 257232, 257120, 257121, 257122, 257123, 257124, 257125, 257126, 257127, 337126, 259787, 259785, 259773, 259781, 259782, 267817, 268373, 268374, 268365, 270357, 270358, 270359, 270354, 270355, 270362, 270363, 270364, 270356, 270365, 270360, 270361, 270366, 271780, 271783, 271789, 271797, 271833, 271830, 271828, 271829, 271831, 271832, 285795, 272106, 274507, 274510, 274512, 274513, 287598, 278697, 278723, 280153, 280154, 280155, 280156, 280157, 280158, 280290, 283482, 283475, 283481, 283485, 283486, 283493, 283499, 283512, 283513, 285935, 285178, 285180, 285181, 285184, 285186, 285187, 288579, 341450, 291067, 291065, 291066, 291068, 291061, 291072, 291063, 291074, 292481, 295643, 295654, 295655, 297766, 302141, 298355, 308883, 297256, 302189, 302498, 302507, 302508, 302509, 302510, 302499, 302500, 302502, 302503, 302504, 302505, 302506, 301557, 304465, 304681, 304682, 305383, 305384, 305385, 305386, 306230, 305886, 306358, 306821, 306813, 306826, 309329, 309330, 309332, 309337, 309338, 309340, 309342, 308244, 320566, 309697, 309732, 311042, 311224, 311225, 311226, 311227, 311228, 314233, 314243, 335026, 314249, 314250, 314251, 314252, 314253, 314235, 314234, 314239, 314274, 314289, 315247, 315249, 315255, 317132, 317625, 317626, 317627, 317628, 317629, 317630, 317624, 317623, 338184, 319467, 319460, 318908, 318914, 318848, 318851, 318849, 318853, 318852, 318850, 321686, 323228, 323231, 323556, 323549, 323550, 323551, 323552, 323553, 323554, 326831, 326076, 326077, 326448, 326078, 326079, 326080, 328762, 327404, 327405, 327690, 328722, 328683, 328493, 328494, 328492, 331210, 331211, 331212, 331213, 331214, 331215, 331216, 331217, 331218, 331219, 331220, 331223, 331224, 331225, 331226, 331221, 331222, 328929, 329189, 331321, 331322, 330769, 330741, 330745, 330746, 331536, 331537, 331540, 331579, 331576, 331569, 331570, 331571, 334364, 334365, 334713, 334562, 334563, 334564, 334565, 334566, 334567, 334568, 334569, 334570, 334571, 333591, 333585, 334052, 334054, 334044, 334659, 335583, 336044, 336045, 336046, 339008, 339009, 339010, 339480, 340996, 341032, 341037, 341039, 341033, 341034, 341035, 341038, 341040, 341036, 341041, 340874, 340876, 340873, 340875, 340868, 340870, 340869, 340867, 340871, 340872, 339842, 339843, 339844, 339845, 339849, 339855, 339850, 339848, 339856, 339857, 339858, 339859, 339860, 339861, 339862, 339863, 339864, 339852, 339853, 339854, 339846, 339847, 339851, 339865, 341765, 341794, 341798, 341796, 341799, 341797, 341795, 343659, 343641, 344613, 343643, 343645, 343646, 343638, 343639, 343651, 343640, 343644, 343642, 343652, 343653, 343654, 343650, 343647, 343655, 343656, 343657, 343648, 343658, 343649, 343660, 343661, 343341, 343317, 344254, 343316, 343318, 343321, 343322, 343323, 343324, 343325, 343326, 343327, 343328, 343329, 343320, 343330, 343319, 343331, 343332, 343333, 343334, 343335, 343336, 343337, 343338, 343339, 343340, 341965, 341966, 341967, 342591, 342592, 342593, 342595, 342596, 342584, 342585, 342594, 342597, 342586, 342598, 342599, 342600, 342601, 342583, 342587, 342588, 342589, 342590, 344981, 343948, 118112, 206038, 210860, 212881, 283482, 304682, 334714, 341795, 341799, 341797, 341967);[ Date: 2023-03-30 18:12:02 ]
20 48s301ms DELETE FROM stock_move_line WHERE id IN (118082, 118071, 118067, 118068, 118069, 118065, 118066, 118055, 118056, 118057, 118046, 118047, 118049, 118033, 118034, 118035, 118036, 118037, 118038, 118039, 118020, 118011, 118012, 118013, 118014, 118015, 118018, 118001, 118007, 118008, 117986, 117987, 117988, 117989, 117990, 117991, 117992, 117993, 117995, 117975, 117974, 117973, 117968, 117964, 117962, 117951, 117953, 117954, 117955, 117957, 117958, 117959, 117960, 117950, 117928, 117929, 117930, 117931, 117932, 117933, 117934, 117935, 117936, 117937, 117938, 117939, 117940, 117941, 117942, 117943, 117944, 117945, 117946, 117947, 117948, 117949, 117924, 117921, 117922, 117920, 118058, 117918, 117135, 117905, 117906, 117907, 117909, 117910, 117911, 117132, 117901, 117895, 117896, 117897, 117899, 117887, 117888, 117889, 117891, 118123, 117881, 117876, 117877, 117879, 117133, 117872, 117864, 117865, 117856, 117857, 117860, 117861, 117855, 117131, 117852, 117853, 117129, 117844, 117846, 117843, 117836, 117838, 117839, 117130, 117816, 117817, 117818, 117819, 117820, 117821, 117822, 117823, 117125, 117807, 117810, 117124, 117789, 117791, 117775, 117776, 117777, 117778, 117779, 117781, 117783, 117773, 117774, 117763, 117756, 117757, 117758, 118119, 117123, 117752, 117746, 117747, 117122, 117119, 117120, 117734, 117736, 117738, 117732, 117733, 117118, 117715, 117716, 117717, 117719, 117720, 117721, 117722, 117723, 117695, 117696, 117698, 117699, 117701, 117702, 117704, 117687, 117684, 117685, 117686, 117115, 117670, 117664, 117665, 118111, 118112, 117661, 117108, 117648, 117635, 117634, 117106, 117602, 117604, 117586, 117576, 117577, 235881, 118108, 151721, 117503, 117504, 117505, 117506, 117507, 117508, 117509, 164852, 117497, 117463, 117102, 117330, 117332, 117333, 117336, 117340, 117344, 117345, 117346, 117347, 129230, 117383, 117386, 117390, 117394, 117414, 117418, 117263, 117268, 117298, 117299, 117300, 117301, 117302, 117303, 117304, 117184, 117185, 132084, 127475, 127344, 127345, 126269, 126272, 126273, 130844, 150788, 138342, 138346, 132849, 133264, 133268, 133284, 135019, 135046, 149033, 138894, 138897, 145738, 142961, 143082, 143090, 146499, 146503, 146500, 147918, 147921, 313619, 151710, 183527, 157835, 164820, 160645, 160653, 161990, 161991, 161993, 161995, 161988, 161998, 162007, 161986, 162000, 161989, 161996, 162009, 161994, 161997, 162005, 161974, 161975, 161976, 161977, 161979, 161980, 162006, 161983, 162001, 162002, 161984, 162308, 165942, 164743, 164740, 164741, 164742, 164744, 165333, 288748, 185273, 185274, 185279, 166473, 244066, 166475, 166476, 244067, 166453, 167000, 167001, 167002, 169100, 169101, 171181, 176821, 176823, 176818, 177895, 177886, 180495, 180790, 187607, 180794, 180795, 180796, 180797, 180799, 191762, 180844, 185892, 186646, 186640, 186641, 186647, 186642, 186649, 186651, 186643, 186648, 186652, 186644, 186657, 186636, 186658, 186653, 186654, 186659, 186662, 186637, 186663, 186655, 186656, 186645, 188023, 188426, 188427, 188431, 188432, 188434, 188436, 190987, 192663, 196809, 197806, 201475, 203963, 203968, 308779, 206038, 206037, 206166, 206160, 206163, 210052, 210038, 210042, 210045, 210855, 210856, 210857, 210858, 210859, 210860, 210861, 210862, 210863, 210864, 211764, 211765, 211766, 211777, 212881, 212880, 212234, 214025, 227343, 214936, 214940, 215352, 215353, 215357, 216379, 221837, 221838, 221839, 221840, 221841, 221842, 221843, 221844, 221845, 221846, 221847, 221848, 221849, 221834, 221835, 221836, 223752, 223753, 229793, 229794, 229795, 229798, 223755, 223757, 223758, 223759, 223760, 223761, 229235, 228661, 228663, 228665, 233014, 233017, 234066, 233930, 337775, 236577, 236578, 236683, 236694, 236687, 236692, 236923, 240185, 248789, 273573, 248830, 261371, 248835, 248876, 249172, 249174, 249321, 254429, 257214, 257220, 257224, 257225, 257226, 257227, 257228, 257229, 257230, 257231, 257215, 257217, 257218, 257219, 257221, 257222, 257223, 257232, 257120, 257121, 257122, 257123, 257124, 257125, 257126, 257127, 337126, 259787, 259785, 259773, 259781, 259782, 267817, 268373, 268374, 268365, 270357, 270358, 270359, 270354, 270355, 270362, 270363, 270364, 270356, 270365, 270360, 270361, 270366, 271780, 271783, 271789, 271797, 271833, 271830, 271828, 271829, 271831, 271832, 285795, 272106, 274507, 274510, 274512, 274513, 287598, 278697, 278723, 280153, 280154, 280155, 280156, 280157, 280158, 280290, 283482, 283475, 283481, 283485, 283486, 283493, 283499, 283512, 283513, 285935, 285178, 285180, 285181, 285184, 285186, 285187, 288579, 341450, 291067, 291065, 291066, 291068, 291061, 291072, 291063, 291074, 292481, 295643, 295654, 295655, 297766, 302141, 298355, 308883, 297256, 302189, 302498, 302507, 302508, 302509, 302510, 302499, 302500, 302502, 302503, 302504, 302505, 302506, 301557, 304465, 304681, 304682, 305383, 305384, 305385, 305386, 306230, 305886, 306358, 306821, 306813, 306826, 309329, 309330, 309332, 309337, 309338, 309340, 309342, 308244, 320566, 309697, 309732, 311042, 311224, 311225, 311226, 311227, 311228, 314233, 314243, 335026, 314249, 314250, 314251, 314252, 314253, 314235, 314234, 314239, 314274, 314289, 315247, 315249, 315255, 317132, 317625, 317626, 317627, 317628, 317629, 317630, 317624, 317623, 338184, 319467, 319460, 318908, 318914, 318848, 318851, 318849, 318853, 318852, 318850, 321686, 323228, 323231, 323556, 323549, 323550, 323551, 323552, 323553, 323554, 326831, 326076, 326077, 326448, 326078, 326079, 326080, 328762, 327404, 327405, 327690, 328722, 328683, 328493, 328494, 328492, 331210, 331211, 331212, 331213, 331214, 331215, 331216, 331217, 331218, 331219, 331220, 331223, 331224, 331225, 331226, 331221, 331222, 328929, 329189, 331321, 331322, 330769, 330741, 330745, 330746, 331536, 331537, 331540, 331579, 331576, 331569, 331570, 331571, 334364, 334365, 334713, 334562, 334563, 334564, 334565, 334566, 334567, 334568, 334569, 334570, 334571, 333591, 333585, 334052, 334054, 334044, 334659, 335583, 336044, 336045, 336046, 339008, 339009, 339010, 339480, 340996, 341032, 341037, 341039, 341033, 341034, 341035, 341038, 341040, 341036, 341041, 340874, 340876, 340873, 340875, 340868, 340870, 340869, 340867, 340871, 340872, 339842, 339843, 339844, 339845, 339849, 339855, 339850, 339848, 339856, 339857, 339858, 339859, 339860, 339861, 339862, 339863, 339864, 339852, 339853, 339854, 339846, 339847, 339851, 339865, 341765, 341794, 341798, 341796, 341799, 341797, 341795, 343659, 343641, 344613, 343643, 343645, 343646, 343638, 343639, 343651, 343640, 343644, 343642, 343652, 343653, 343654, 343650, 343647, 343655, 343656, 343657, 343648, 343658, 343649, 343660, 343661, 343341, 343317, 344254, 343316, 343318, 343321, 343322, 343323, 343324, 343325, 343326, 343327, 343328, 343329, 343320, 343330, 343319, 343331, 343332, 343333, 343334, 343335, 343336, 343337, 343338, 343339, 343340, 341965, 341966, 341967, 342591, 342592, 342593, 342595, 342596, 342584, 342585, 342594, 342597, 342586, 342598, 342599, 342600, 342601, 342583, 342587, 342588, 342589, 342590, 344981, 343948, 118112, 206038, 210860, 212881, 283482, 304682, 334714, 341795, 341799, 341797, 341967);[ Date: 2023-03-30 17:48:49 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h55m47s 53,577 120ms 453ms 129ms select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 30 00 1,313 2m40s 122ms 01 1,643 3m21s 122ms 02 1,669 3m24s 122ms 03 1,475 3m 122ms 04 1,716 3m30s 122ms 05 2,051 4m11s 122ms 06 2,145 4m23s 122ms 07 1,983 4m2s 122ms 08 2,176 4m27s 122ms 09 2,383 4m53s 123ms 10 2,400 4m54s 122ms 11 2,358 4m53s 124ms 12 2,694 5m59s 133ms 13 2,724 6m56s 152ms 14 2,740 6m5s 133ms 15 2,915 6m42s 138ms 16 2,819 6m14s 132ms 17 2,429 5m45s 142ms 18 3,045 7m4s 139ms 19 3,077 6m59s 136ms 20 2,004 4m14s 126ms 21 1,836 3m47s 124ms 22 1,965 4m3s 123ms 23 2,017 4m10s 124ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_frontend_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-35accbb/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-30 13:32:45 Duration: 453ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_common_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-d41d903/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-30 13:00:21 Duration: 447ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_common_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5ea4658/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-30 13:01:11 Duration: 443ms
2 1h33m11s 44,853 120ms 183ms 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 >= ?::timestamp and so.date_order <= ?::timestamp and sol.product_id = ? and so.state in (...) and so.warehouse_id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 30 00 3,765 7m49s 124ms 01 3,779 7m50s 124ms 02 3,787 7m51s 124ms 03 3,788 7m51s 124ms 04 3,773 7m49s 124ms 05 3,777 7m51s 124ms 06 3,797 7m53s 124ms 07 3,616 7m31s 124ms 08 3,569 7m24s 124ms 09 3,488 7m14s 124ms 22 3,864 8m1s 124ms 23 3,850 8m1s 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 >= '2022-09-30T00:30:14.097406'::timestamp and so.date_order <= '2023-03-30T00:30:14.097406'::timestamp and sol.product_id = 203713 and so.state in ('done', 'sale') and so.warehouse_id = 35;
Date: 2023-03-30 00:30:14 Duration: 183ms
-
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-09-30T06:30:01.282506'::timestamp and so.date_order <= '2023-03-30T06:30:01.282506'::timestamp and sol.product_id = 202555 and so.state in ('done', 'sale') and so.warehouse_id = 44;
Date: 2023-03-30 06:30:01 Duration: 181ms
-
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-09-30T09:30:07.580623'::timestamp and so.date_order <= '2023-03-30T09:30:07.580623'::timestamp and sol.product_id = 184924 and so.state in ('done', 'sale') and so.warehouse_id = 38;
Date: 2023-03-30 09:38:06 Duration: 177ms
3 53m56s 1,087 1s215ms 51s925ms 2s977ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 30 01 1 1s296ms 1s296ms 10 3 8s988ms 2s996ms 11 33 1m23s 2s516ms 12 73 4m11s 3s448ms 13 163 6m55s 2s549ms 14 107 4m41s 2s631ms 15 155 8m49s 3s418ms 16 93 3m44s 2s415ms 17 156 8m7s 3s123ms 18 151 9m6s 3s617ms 19 103 4m51s 2s828ms 20 37 1m35s 2s593ms 21 11 18s64ms 1s642ms 23 1 1s457ms 1s457ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (344064, 344066, 344068, 344069, 344080, 344092, 344098, 344100, 344101, 344104, 344106, 344107, 344110, 344112, 344115, 344116, 344119, 344120, 344121, 344131, 344137, 344141, 344145, 344149, 344150, 344153, 344155, 344052, 344057, 344058, 344062, 344063);
Date: 2023-03-30 13:32:54 Duration: 51s925ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (345231, 345232, 345233, 345234, 345237, 345238, 345239, 345241, 345242, 345243, 345244, 345245, 345246, 345247, 345248, 345249, 345250, 345252, 345254, 345255, 345256);
Date: 2023-03-30 18:02:03 Duration: 38s862ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (326016, 326017, 308194, 327841, 327842, 323362, 323363, 323364, 323688, 326124, 325391, 305170, 320693, 330229, 323255, 320891, 321117, 321118);
Date: 2023-03-30 17:59:07 Duration: 28s749ms
4 46m5s 5 6m37s 10m26s 9m13s update "stock_move_line" set "current_warehouse_qty" = ?.?, "date" = ?, "product_qty" = ?.?, "product_uom_qty" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 30 17 3 25m55s 8m38s 18 2 20m9s 10m4s -
UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:59:09', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508, 331509, 331510, 331511);
Date: 2023-03-30 18:10:05 Duration: 10m26s
-
UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 18:11:12', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508);
Date: 2023-03-30 18:21:25 Duration: 9m43s
-
UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:36:49', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508);
Date: 2023-03-30 17:46:59 Duration: 9m41s
5 39m32s 3,981 517ms 1s674ms 595ms 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 #5
Day Hour Count Duration Avg duration Mar 30 01 14 7s580ms 541ms 10 29 15s898ms 548ms 11 236 2m10s 551ms 12 617 5m57s 579ms 13 673 7m20s 655ms 14 507 4m57s 586ms 15 400 3m52s 580ms 16 296 2m51s 577ms 17 410 4m12s 614ms 18 248 2m33s 618ms 19 304 2m56s 579ms 20 225 2m5s 555ms 21 22 11s984ms 544ms -
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 ('%%E11866%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%E-11866%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%E-11866%'))) 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-03-30 13:32:46 Duration: 1s674ms
-
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 ('%%32835%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%32835%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%32835%'))) 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-03-30 13:32:54 Duration: 1s640ms
-
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 ('%%E118%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%E-118%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%E-118%'))) 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-03-30 13:32:46 Duration: 1s629ms
6 34m9s 6 1m37s 10m24s 5m41s update "stock_move_line" set "purchase_qty" = ?.?, "qty_done" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 30 17 6 34m9s 5m41s -
UPDATE "stock_move_line" SET "purchase_qty" = 0.0, "qty_done" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (117642);
Date: 2023-03-30 17:46:59 Duration: 10m24s
-
UPDATE "stock_move_line" SET "purchase_qty" = 1.0, "qty_done" = '1.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118081);
Date: 2023-03-30 17:35:44 Duration: 8m17s
-
UPDATE "stock_move_line" SET "purchase_qty" = 4.0, "qty_done" = '4.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118010);
Date: 2023-03-30 17:35:44 Duration: 5m49s
7 24m36s 273 1s253ms 30s121ms 5s407ms update "stock_move" set "picking_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 30 09 1 4s271ms 4s271ms 11 6 24s854ms 4s142ms 12 9 56s183ms 6s242ms 13 40 2m56s 4s424ms 14 27 1m33s 3s459ms 15 51 3m30s 4s133ms 16 41 6m29s 9s510ms 17 22 1m54s 5s215ms 18 30 3m23s 6s797ms 19 30 2m23s 4s795ms 20 9 42s729ms 4s747ms 23 7 14s627ms 2s89ms -
UPDATE "stock_move" SET "picking_id" = 107823, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (340352, 340332, 340333, 340334, 340335, 340336, 340337, 340338, 340339, 340340, 340341, 340342, 340343, 340344, 340345, 340346, 340347, 340348, 340349, 340350, 340351);
Date: 2023-03-30 16:38:45 Duration: 30s121ms
-
UPDATE "stock_move" SET "picking_id" = 107820, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (340352, 340332, 340333, 340334, 340335, 340336, 340337, 340338, 340339, 340340, 340341, 340342, 340343, 340344, 340345, 340346, 340347, 340348, 340349, 340350, 340351);
Date: 2023-03-30 16:36:33 Duration: 29s239ms
-
UPDATE "stock_move" SET "picking_id" = 107766, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (334169, 334171, 334172, 334173, 334174, 334175, 334176, 334177, 334178, 334179, 334180, 334182, 334183, 334184, 334185, 334186, 334187, 334188, 334189, 334190, 334191);
Date: 2023-03-30 15:59:53 Duration: 29s110ms
8 20m51s 258 1s233ms 29s905ms 4s852ms update "stock_move" set "reference" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 30 09 1 4s359ms 4s359ms 11 6 24s681ms 4s113ms 12 9 59s565ms 6s618ms 13 37 2m41s 4s352ms 14 26 1m29s 3s439ms 15 43 2m12s 3s79ms 16 34 4m3s 7s174ms 17 21 1m48s 5s168ms 18 30 3m25s 6s840ms 19 34 2m35s 4s577ms 20 10 52s608ms 5s260ms 23 7 14s452ms 2s64ms -
UPDATE "stock_move" SET "reference" = '02-G/IN/03738', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (340352, 340332, 340333, 340334, 340335, 340336, 340337, 340338, 340339, 340340, 340341, 340342, 340343, 340344, 340345, 340346, 340347, 340348, 340349, 340350, 340351);
Date: 2023-03-30 16:40:24 Duration: 29s905ms
-
UPDATE "stock_move" SET "reference" = '02-G/IN/03737', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (340352, 340332, 340333, 340334, 340335, 340336, 340337, 340338, 340339, 340340, 340341, 340342, 340343, 340344, 340345, 340346, 340347, 340348, 340349, 340350, 340351);
Date: 2023-03-30 16:39:15 Duration: 29s400ms
-
UPDATE "stock_move" SET "reference" = '02-G/IN/03709', "write_uid" = 992, "write_date" = (now() at time zone 'UTC') WHERE id IN (332036, 332037, 332038, 332039, 332040, 332042, 332043, 332044, 332045, 332046, 332047, 332048, 332049, 332050, 332051, 332052, 332053);
Date: 2023-03-30 13:00:40 Duration: 29s399ms
9 19m38s 276 1s235ms 51s502ms 4s270ms update "stock_move" set "is_done" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 30 09 2 2s609ms 1s304ms 11 10 23s839ms 2s383ms 12 18 34s81ms 1s893ms 13 36 1m40s 2s791ms 14 32 1m58s 3s704ms 15 58 5m 5s177ms 16 24 1m11s 2s981ms 17 38 4m7s 6s511ms 18 39 3m28s 5s358ms 19 12 58s408ms 4s867ms 20 3 7s367ms 2s455ms 23 4 5s132ms 1s283ms -
UPDATE "stock_move" SET "is_done" = true, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (324738, 324739, 324740, 344452, 324741, 324743, 344455, 324742, 324744, 324746, 324749, 324750, 324751, 324752, 324753, 324754, 324755, 324759, 324764, 324774, 324776, 324777, 324778, 324779, 324781, 324782, 324784, 324785, 324788, 324789, 324790, 324723, 324725, 324726, 324727, 324728, 324729, 324730);
Date: 2023-03-30 14:26:45 Duration: 51s502ms
-
UPDATE "stock_move" SET "is_done" = true, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332136, 332138, 332139, 332140, 332141, 332142, 332143, 332144, 332145, 332120, 332122, 332124, 332126);
Date: 2023-03-30 18:10:36 Duration: 27s992ms
-
UPDATE "stock_move" SET "is_done" = true, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332136, 332138, 332139, 332140, 332141, 332142, 332143, 332144, 332145, 332120, 332122, 332124, 332126);
Date: 2023-03-30 17:36:14 Duration: 26s709ms
10 19m11s 611 1s227ms 15s375ms 1s885ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 30 09 2 2s810ms 1s405ms 11 13 22s487ms 1s729ms 12 13 19s600ms 1s507ms 13 55 1m35s 1s743ms 14 58 1m45s 1s810ms 15 130 5m1s 2s318ms 16 54 1m20s 1s491ms 17 148 4m44s 1s921ms 18 107 3m6s 1s743ms 19 30 52s8ms 1s733ms 20 1 1s285ms 1s285ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:59:10', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332139, 332140, 332143, 332145, 332120, 332122);
Date: 2023-03-30 17:59:28 Duration: 15s375ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 18:11:14', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332139, 332140, 332143, 332145, 332120, 332122);
Date: 2023-03-30 18:11:32 Duration: 15s198ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:36:51', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332139, 332140, 332143, 332145, 332120, 332122);
Date: 2023-03-30 17:37:07 Duration: 14s520ms
11 18m26s 659 1s195ms 8s350ms 1s679ms 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 Mar 30 01 1 1s267ms 1s267ms 10 6 7s729ms 1s288ms 11 39 1m2s 1s604ms 12 99 2m34s 1s559ms 13 124 3m34s 1s728ms 14 61 1m43s 1s697ms 15 60 1m37s 1s619ms 16 37 1m2s 1s700ms 17 49 1m29s 1s818ms 18 57 1m58s 2s83ms 19 89 2m17s 1s539ms 20 30 48s79ms 1s602ms 21 7 9s563ms 1s366ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '12-S/OUT/02407', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (345248, 345252, 345254, 345232, 345241, 345247);
Date: 2023-03-30 18:00:46 Duration: 8s350ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 2.0, "reference" = '03-C/OUT/04958', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (344015, 344018, 344019, 344020, 344023);
Date: 2023-03-30 13:14:10 Duration: 6s943ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '10-I/OUT/06250', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (343747, 343749, 343750, 343751);
Date: 2023-03-30 11:53:51 Duration: 6s113ms
12 18m15s 740 1s198ms 2s309ms 1s480ms 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 #12
Day Hour Count Duration Avg duration Mar 30 01 1 1s281ms 1s281ms 10 6 7s688ms 1s281ms 11 45 1m1s 1s368ms 12 110 2m39s 1s450ms 13 134 3m27s 1s545ms 14 71 1m42s 1s441ms 15 66 1m39s 1s512ms 16 43 1m1s 1s420ms 17 79 2m3s 1s564ms 18 47 1m9s 1s486ms 19 97 2m24s 1s485ms 20 34 48s182ms 1s417ms 21 7 9s447ms 1s349ms -
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-30 15:40:12', '2023-03-30 15:40:12', 'R-12 Relay Valve', 76015, 5, 453, 'new_product', '[065303] R-12 Relay Valve', NULL, 'S-03515', 44635, 346, '0', 'make_to_stock', 173377, 1, '1.00', false, 389, 119871, 10, 'draft', 44) RETURNING id;
Date: 2023-03-30 15:49:28 Duration: 2s309ms
-
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-30 13:32:03', '2023-03-30 13:32:03', 'LUBERFINER FUEL FILTER BULK', 75809, 5, 461, 'new_product', '[LFP815FN] LUBERFINER FUEL FILTER BULK', NULL, 'T-07799', 34096, 354, '0', 'make_to_stock', 207783, 1, '1.00', false, 398, 119555, 10, 'draft', 45) RETURNING id;
Date: 2023-03-30 13:32:40 Duration: 2s210ms
-
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-30 13:33:09', '2023-03-30 13:33:09', 'Cam Kit', 76316, 5, 397, 'new_product', '[E-3520A] Meritor', NULL, 'V-03113', 40996, 290, '0', 'make_to_stock', 185391, 1, '2.00', false, 326, 119563, 10, 'draft', 37) RETURNING id;
Date: 2023-03-30 19:27:16 Duration: 2s198ms
13 16m28s 620 1s201ms 4s637ms 1s593ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 30 09 8 11s155ms 1s394ms 11 7 11s441ms 1s634ms 12 77 2m7s 1s649ms 13 79 2m16s 1s731ms 14 82 2m10s 1s591ms 15 57 1m28s 1s559ms 16 82 2m13s 1s628ms 17 27 41s220ms 1s526ms 18 51 1m25s 1s672ms 19 30 44s901ms 1s496ms 20 76 1m50s 1s447ms 21 7 9s756ms 1s393ms 23 37 57s673ms 1s558ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 8.0, "date" = '2023-03-30 13:36:15', "is_done" = true, "state" = 'done', "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (325322, 325323, 325335);
Date: 2023-03-30 13:36:21 Duration: 4s637ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 4.0, "date" = '2023-03-30 13:14:51', "is_done" = true, "state" = 'done', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (344018, 344023, 344015);
Date: 2023-03-30 13:14:58 Duration: 4s38ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-03-30 18:05:09', "is_done" = true, "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (345232, 345241, 345252);
Date: 2023-03-30 18:05:17 Duration: 4s27ms
14 16m1s 290 1s208ms 32s652ms 3s313ms 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 #14
Day Hour Count Duration Avg duration Mar 30 01 1 1s317ms 1s317ms 10 1 6s387ms 6s387ms 11 15 59s156ms 3s943ms 12 34 2m25s 4s283ms 13 45 2m48s 3s745ms 14 31 1m39s 3s222ms 15 40 1m29s 2s237ms 16 18 50s957ms 2s830ms 17 27 1m11s 2s665ms 18 27 1m36s 3s569ms 19 35 2m5s 3s575ms 20 11 36s718ms 3s338ms 21 5 9s449ms 1s889ms -
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 107961, "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 (345231, 345232, 345233, 345234, 345237, 345238, 345239, 345241, 345242, 345243, 345244, 345245, 345246, 345247, 345248, 345249, 345250, 345252, 345254, 345255, 345256);
Date: 2023-03-30 18:00:22 Duration: 32s652ms
-
UPDATE "stock_move" SET "branch_id" = 45, "picking_id" = 107343, "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 (344071, 344074, 344075, 344076, 344077, 344078, 344079, 344081, 344082, 344083, 344086, 344088);
Date: 2023-03-30 13:24:23 Duration: 22s332ms
-
UPDATE "stock_move" SET "branch_id" = 46, "picking_id" = 107218, "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 (343904, 343905, 343906, 343907, 343908, 343909, 343910, 343898, 343899, 343900, 343901, 343902, 343903);
Date: 2023-03-30 12:42:56 Duration: 18s774ms
15 15m58s 249 1s221ms 32s52ms 3s850ms update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 30 09 1 1s270ms 1s270ms 11 3 3s950ms 1s316ms 12 13 1m10s 5s417ms 13 45 3m23s 4s511ms 14 29 1m36s 3s321ms 15 60 4m6s 4s103ms 16 38 2m37s 4s154ms 17 22 1m1s 2s800ms 18 16 54s43ms 3s377ms 19 10 34s316ms 3s431ms 20 5 20s527ms 4s105ms 23 7 9s78ms 1s296ms -
UPDATE "stock_move" SET "date" = '2023-03-30 12:30:34', "state" = 'done', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (328192, 328193, 328194, 328169, 328170, 328171, 328172, 328173, 328174, 328175, 328176, 328177, 328178, 328179, 328180, 328181, 328182, 328183, 328185, 328186, 328187, 328188, 328191);
Date: 2023-03-30 12:31:06 Duration: 32s52ms
-
UPDATE "stock_move" SET "date" = '2023-03-30 17:01:57', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (334176, 334177, 334178, 334179, 334181, 334183, 334184, 334185, 334186, 334187, 334188, 334189, 334190, 334191, 334169, 334171, 334173, 334174, 334175);
Date: 2023-03-30 17:02:23 Duration: 25s903ms
-
UPDATE "stock_move" SET "date" = '2023-03-30 13:56:12', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (332036, 332037, 332039, 332040, 332042, 332043, 332044, 332045, 332046, 332047, 332049, 332050, 332051, 332052);
Date: 2023-03-30 13:56:32 Duration: 20s59ms
16 15m44s 348 1s214ms 26s773ms 2s714ms update "stock_move" set "delay_alert_date" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 30 09 1 1s449ms 1s449ms 11 5 11s826ms 2s365ms 12 14 48s650ms 3s475ms 13 53 1m55s 2s186ms 14 23 53s154ms 2s311ms 15 49 1m47s 2s193ms 16 22 53s265ms 2s421ms 17 70 2m49s 2s420ms 18 46 2m52s 3s760ms 19 39 2m26s 3s749ms 20 26 1m4s 2s465ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (337024, 337025, 337026, 336843, 337008, 337009, 337014, 337015, 337016, 337017, 337020, 337021, 325951);
Date: 2023-03-30 18:01:48 Duration: 26s773ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (321120, 326018, 326019, 327844, 327845, 250594, 308195, 326125, 325392, 330231, 320696, 320892, 321119);
Date: 2023-03-30 18:23:20 Duration: 23s208ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (326433, 316450, 316451, 334950, 293447, 339497, 309202, 323897, 325436, 309215);
Date: 2023-03-30 12:33:01 Duration: 17s882ms
17 12m26s 1,205 525ms 1s332ms 619ms 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 #17
Day Hour Count Duration Avg duration Mar 30 11 5 2s785ms 557ms 12 162 1m32s 569ms 13 257 2m57s 690ms 14 144 1m25s 592ms 15 161 1m39s 620ms 16 75 43s651ms 582ms 17 142 1m27s 615ms 18 142 1m29s 627ms 19 28 17s678ms 631ms 20 89 50s905ms 571ms -
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 ('%%CROSSTUB%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%CROSS TUB%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%CROSS TUB%'))) 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-03-30 13:00:18 Duration: 1s332ms
-
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 ('%%STICK%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%STICK%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%STICK%'))) 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-03-30 13:07:34 Duration: 1s295ms
-
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 ('%%211959%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%211959%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%211959%'))) 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-03-30 12:18:42 Duration: 1s228ms
18 12m8s 323 1s247ms 16s163ms 2s255ms update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 30 09 3 7s458ms 2s486ms 11 9 16s644ms 1s849ms 12 26 1m1s 2s350ms 13 51 1m43s 2s35ms 14 32 1m10s 2s206ms 15 35 1m12s 2s73ms 16 28 49s45ms 1s751ms 17 35 1m1s 1s761ms 18 33 1m33s 2s843ms 19 39 2m5s 3s230ms 20 30 1m2s 2s98ms 21 1 1s267ms 1s267ms 23 1 1s476ms 1s476ms -
UPDATE "stock_move" SET "date" = '2023-03-30 19:58:04', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (325157, 325158, 325159, 325160, 325163, 325164, 325165, 325166, 325170, 325171, 325172);
Date: 2023-03-30 19:58:20 Duration: 16s163ms
-
UPDATE "stock_move" SET "date" = '2023-03-30 18:07:52', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (325709, 325710, 325713, 325714, 325715, 325716, 325717, 325718);
Date: 2023-03-30 18:08:12 Duration: 13s562ms
-
UPDATE "stock_move" SET "date" = '2023-03-30 19:42:21', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (325504, 325505, 325506, 325488, 325490, 325496, 325498);
Date: 2023-03-30 19:42:34 Duration: 12s881ms
19 11m55s 396 1s220ms 12s138ms 1s807ms 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 #19
Day Hour Count Duration Avg duration Mar 30 09 1 1s257ms 1s257ms 11 2 2s559ms 1s279ms 12 26 59s833ms 2s301ms 13 75 2m10s 1s735ms 14 53 1m28s 1s667ms 15 118 3m 1s525ms 16 56 2m15s 2s426ms 17 24 50s697ms 2s112ms 18 18 32s45ms 1s780ms 19 10 17s368ms 1s736ms 20 11 14s758ms 1s341ms 23 2 2s719ms 1s359ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (328192, 328172, 328175, 328176, 328180, 328185, 328188, 328191);
Date: 2023-03-30 12:31:34 Duration: 12s138ms
-
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 (328193, 328194, 328182, 328183, 328186, 328187);
Date: 2023-03-30 12:31:52 Duration: 8s711ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (334181, 334183, 334190, 334191, 334169);
Date: 2023-03-30 17:02:39 Duration: 7s89ms
20 11m27s 418 1s241ms 5s904ms 1s645ms update "stock_move" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 30 09 3 4s292ms 1s430ms 11 3 3s811ms 1s270ms 12 7 10s605ms 1s515ms 13 46 1m11s 1s546ms 14 65 1m34s 1s446ms 15 84 2m18s 1s644ms 16 16 29s910ms 1s869ms 17 51 1m47s 2s106ms 18 46 1m19s 1s736ms 19 66 1m45s 1s592ms 20 15 21s522ms 1s434ms 21 1 1s370ms 1s370ms 22 1 1s327ms 1s327ms 23 14 19s110ms 1s365ms -
UPDATE "stock_move" SET "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (345688, 345689, 345690, 345691);
Date: 2023-03-30 19:18:45 Duration: 5s904ms
-
UPDATE "stock_move" SET "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (345068, 345069);
Date: 2023-03-30 17:36:26 Duration: 3s365ms
-
UPDATE "stock_move" SET "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (344673, 344674);
Date: 2023-03-30 15:31:23 Duration: 3s238ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 53,577 1h55m47s 120ms 453ms 129ms select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 30 00 1,313 2m40s 122ms 01 1,643 3m21s 122ms 02 1,669 3m24s 122ms 03 1,475 3m 122ms 04 1,716 3m30s 122ms 05 2,051 4m11s 122ms 06 2,145 4m23s 122ms 07 1,983 4m2s 122ms 08 2,176 4m27s 122ms 09 2,383 4m53s 123ms 10 2,400 4m54s 122ms 11 2,358 4m53s 124ms 12 2,694 5m59s 133ms 13 2,724 6m56s 152ms 14 2,740 6m5s 133ms 15 2,915 6m42s 138ms 16 2,819 6m14s 132ms 17 2,429 5m45s 142ms 18 3,045 7m4s 139ms 19 3,077 6m59s 136ms 20 2,004 4m14s 126ms 21 1,836 3m47s 124ms 22 1,965 4m3s 123ms 23 2,017 4m10s 124ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_frontend_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-35accbb/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-30 13:32:45 Duration: 453ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_common_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-d41d903/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-30 13:00:21 Duration: 447ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_common_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5ea4658/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-30 13:01:11 Duration: 443ms
2 44,853 1h33m11s 120ms 183ms 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 >= ?::timestamp and so.date_order <= ?::timestamp and sol.product_id = ? and so.state in (...) and so.warehouse_id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 30 00 3,765 7m49s 124ms 01 3,779 7m50s 124ms 02 3,787 7m51s 124ms 03 3,788 7m51s 124ms 04 3,773 7m49s 124ms 05 3,777 7m51s 124ms 06 3,797 7m53s 124ms 07 3,616 7m31s 124ms 08 3,569 7m24s 124ms 09 3,488 7m14s 124ms 22 3,864 8m1s 124ms 23 3,850 8m1s 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 >= '2022-09-30T00:30:14.097406'::timestamp and so.date_order <= '2023-03-30T00:30:14.097406'::timestamp and sol.product_id = 203713 and so.state in ('done', 'sale') and so.warehouse_id = 35;
Date: 2023-03-30 00:30:14 Duration: 183ms
-
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-09-30T06:30:01.282506'::timestamp and so.date_order <= '2023-03-30T06:30:01.282506'::timestamp and sol.product_id = 202555 and so.state in ('done', 'sale') and so.warehouse_id = 44;
Date: 2023-03-30 06:30:01 Duration: 181ms
-
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-09-30T09:30:07.580623'::timestamp and so.date_order <= '2023-03-30T09:30:07.580623'::timestamp and sol.product_id = 184924 and so.state in ('done', 'sale') and so.warehouse_id = 38;
Date: 2023-03-30 09:38:06 Duration: 177ms
3 3,981 39m32s 517ms 1s674ms 595ms 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 Mar 30 01 14 7s580ms 541ms 10 29 15s898ms 548ms 11 236 2m10s 551ms 12 617 5m57s 579ms 13 673 7m20s 655ms 14 507 4m57s 586ms 15 400 3m52s 580ms 16 296 2m51s 577ms 17 410 4m12s 614ms 18 248 2m33s 618ms 19 304 2m56s 579ms 20 225 2m5s 555ms 21 22 11s984ms 544ms -
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 ('%%E11866%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%E-11866%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%E-11866%'))) 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-03-30 13:32:46 Duration: 1s674ms
-
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 ('%%32835%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%32835%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%32835%'))) 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-03-30 13:32:54 Duration: 1s640ms
-
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 ('%%E118%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%E-118%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%E-118%'))) 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-03-30 13:32:46 Duration: 1s629ms
4 2,084 6m33s 169ms 474ms 188ms select res_partner.id from "res_partner" where ("res_partner"."active" = true) and (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 30 07 1 173ms 173ms 08 1 175ms 175ms 09 7 1s240ms 177ms 10 1 173ms 173ms 11 86 15s306ms 177ms 12 146 27s450ms 188ms 13 173 35s886ms 207ms 14 370 1m9s 188ms 15 399 1m16s 191ms 16 415 1m15s 182ms 17 150 28s635ms 190ms 18 160 30s493ms 190ms 19 110 20s574ms 187ms 20 59 10s458ms 177ms 21 4 696ms 174ms 22 1 173ms 173ms 23 1 174ms 174ms -
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-02403%') OR unaccent (res_partner.display_name) ilike unaccent ('%B-02403%') OR unaccent (res_partner.ref) ilike unaccent ('%B-02403%') OR unaccent (res_partner.vat) ilike unaccent ('B-02403')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%B-02403%') desc, unaccent (res_partner.display_name);
Date: 2023-03-30 12:59:26 Duration: 474ms
-
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-00747%') OR unaccent (res_partner.display_name) ilike unaccent ('%B-00747%') OR unaccent (res_partner.ref) ilike unaccent ('%B-00747%') OR unaccent (res_partner.vat) ilike unaccent ('B-00747')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%B-00747%') desc, unaccent (res_partner.display_name);
Date: 2023-03-30 15:49:22 Duration: 399ms
-
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 ('%28049%') OR unaccent (res_partner.display_name) ilike unaccent ('%28049%') OR unaccent (res_partner.ref) ilike unaccent ('%28049%') OR unaccent (res_partner.vat) ilike unaccent ('28049')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%28049%') desc, unaccent (res_partner.display_name);
Date: 2023-03-30 16:56:28 Duration: 368ms
5 1,444 3m38s 128ms 813ms 151ms update "stock_quant" set "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 30 01 1 133ms 133ms 09 1 133ms 133ms 10 7 1s39ms 148ms 11 56 8s312ms 148ms 12 148 22s346ms 150ms 13 176 27s480ms 156ms 14 135 20s439ms 151ms 15 262 39s395ms 150ms 16 95 13s606ms 143ms 17 189 29s170ms 154ms 18 209 32s541ms 155ms 19 101 14s930ms 147ms 20 50 7s145ms 142ms 21 13 1s764ms 135ms 23 1 161ms 161ms -
UPDATE "stock_quant" SET "reserved_quantity" = 0.0, "write_uid" = 983, "write_date" = (now() at time zone 'UTC') WHERE id IN (232898, 25670, 31664, 249652, 31836, 254367);
Date: 2023-03-30 11:31:44 Duration: 813ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 1.0, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (233545, 246698, 822, 246007, 186590);
Date: 2023-03-30 14:23:04 Duration: 793ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 2.0, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (818, 1924, 165055);
Date: 2023-03-30 14:23:03 Duration: 440ms
6 1,385 3m15s 120ms 759ms 141ms 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 #6
Day Hour Count Duration Avg duration Mar 30 09 11 1s408ms 128ms 11 29 3s746ms 129ms 12 77 10s242ms 133ms 13 213 33s525ms 157ms 14 169 22s304ms 131ms 15 235 32s880ms 139ms 16 170 22s996ms 135ms 17 158 23s20ms 145ms 18 174 25s105ms 144ms 19 95 13s625ms 143ms 20 31 3s997ms 128ms 21 7 894ms 127ms 22 1 125ms 125ms 23 15 1s883ms 125ms -
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 (186213, 185221, 173214, 239138, 237202, 191046) 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-03-30 13:32:47 Duration: 759ms
-
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 (197507, 197869, 191091, 3) AND i.state IN ('posted') AND i.payment_state IN ('not_paid', 'in_payment', 'paid') AND i.move_type IN ('out_invoice', 'out_refund') AND i.invoice_date BETWEEN '2023-01-01' AND '2023-12-31' AND i.company_id = 1 AND l.display_type IS NULL AND l.exclude_from_invoice_tab = false GROUP BY l.product_id;
Date: 2023-03-30 18:00:56 Duration: 354ms
-
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 (171863) 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-03-30 13:23:00 Duration: 323ms
7 1,205 12m26s 525ms 1s332ms 619ms 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 #7
Day Hour Count Duration Avg duration Mar 30 11 5 2s785ms 557ms 12 162 1m32s 569ms 13 257 2m57s 690ms 14 144 1m25s 592ms 15 161 1m39s 620ms 16 75 43s651ms 582ms 17 142 1m27s 615ms 18 142 1m29s 627ms 19 28 17s678ms 631ms 20 89 50s905ms 571ms -
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 ('%%CROSSTUB%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%CROSS TUB%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%CROSS TUB%'))) 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-03-30 13:00:18 Duration: 1s332ms
-
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 ('%%STICK%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%STICK%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%STICK%'))) 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-03-30 13:07:34 Duration: 1s295ms
-
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 ('%%211959%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%211959%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%211959%'))) 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-03-30 12:18:42 Duration: 1s228ms
8 1,087 53m56s 1s215ms 51s925ms 2s977ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 30 01 1 1s296ms 1s296ms 10 3 8s988ms 2s996ms 11 33 1m23s 2s516ms 12 73 4m11s 3s448ms 13 163 6m55s 2s549ms 14 107 4m41s 2s631ms 15 155 8m49s 3s418ms 16 93 3m44s 2s415ms 17 156 8m7s 3s123ms 18 151 9m6s 3s617ms 19 103 4m51s 2s828ms 20 37 1m35s 2s593ms 21 11 18s64ms 1s642ms 23 1 1s457ms 1s457ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (344064, 344066, 344068, 344069, 344080, 344092, 344098, 344100, 344101, 344104, 344106, 344107, 344110, 344112, 344115, 344116, 344119, 344120, 344121, 344131, 344137, 344141, 344145, 344149, 344150, 344153, 344155, 344052, 344057, 344058, 344062, 344063);
Date: 2023-03-30 13:32:54 Duration: 51s925ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (345231, 345232, 345233, 345234, 345237, 345238, 345239, 345241, 345242, 345243, 345244, 345245, 345246, 345247, 345248, 345249, 345250, 345252, 345254, 345255, 345256);
Date: 2023-03-30 18:02:03 Duration: 38s862ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (326016, 326017, 308194, 327841, 327842, 323362, 323363, 323364, 323688, 326124, 325391, 305170, 320693, 330229, 323255, 320891, 321117, 321118);
Date: 2023-03-30 17:59:07 Duration: 28s749ms
9 1,087 4m16s 182ms 16s848ms 236ms update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 30 01 1 188ms 188ms 10 5 949ms 189ms 11 133 25s722ms 193ms 12 154 33s361ms 216ms 13 248 55s686ms 224ms 14 82 16s365ms 199ms 15 83 18s844ms 227ms 16 44 9s143ms 207ms 17 108 23s883ms 221ms 18 69 15s217ms 220ms 19 108 47s107ms 436ms 20 45 8s995ms 199ms 21 7 1s366ms 195ms -
UPDATE "sale_order_line" SET "write_uid" = 1144, "write_date" = (now() at time zone 'UTC') WHERE id IN (120172, 119570, 119563, 119586);
Date: 2023-03-30 19:25:28 Duration: 16s848ms
-
UPDATE "sale_order_line" SET "write_uid" = 1144, "write_date" = (now() at time zone 'UTC') WHERE id IN (120172, 119570, 119563, 119586);
Date: 2023-03-30 19:25:53 Duration: 6s796ms
-
UPDATE "sale_order_line" SET "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (119297, 119298, 119270, 119272, 119277, 119279, 119283, 119284, 119293);
Date: 2023-03-30 12:08:39 Duration: 1s682ms
10 1,008 4m18s 197ms 1s890ms 256ms 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 #10
Day Hour Count Duration Avg duration Mar 30 01 1 213ms 213ms 10 6 1s256ms 209ms 11 52 11s448ms 220ms 12 140 32s820ms 234ms 13 207 58s324ms 281ms 14 90 20s450ms 227ms 15 109 29s742ms 272ms 16 41 9s515ms 232ms 17 103 26s584ms 258ms 18 70 18s512ms 264ms 19 124 35s484ms 286ms 20 58 12s936ms 223ms 21 7 1s482ms 211ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (119549)) ORDER BY "sale_history_line"."id";
Date: 2023-03-30 13:32:55 Duration: 1s890ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (119880)) ORDER BY "sale_history_line"."id";
Date: 2023-03-30 15:49:25 Duration: 1s287ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (119563)) ORDER BY "sale_history_line"."id";
Date: 2023-03-30 19:26:41 Duration: 1s278ms
11 987 2m35s 129ms 735ms 157ms update "stock_quant" set "quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 30 09 7 936ms 133ms 11 6 818ms 136ms 12 54 8s135ms 150ms 13 141 22s759ms 161ms 14 100 16s355ms 163ms 15 167 25s331ms 151ms 16 93 15s203ms 163ms 17 150 24s619ms 164ms 18 131 21s693ms 165ms 19 71 10s344ms 145ms 20 45 6s257ms 139ms 22 1 132ms 132ms 23 21 3s95ms 147ms -
UPDATE "stock_quant" SET "quantity" = 3.0, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (2630, 184591, 224690, 163090, 165046, 790);
Date: 2023-03-30 14:25:45 Duration: 735ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (1674, 245998, 246000, 246004, 246006);
Date: 2023-03-30 14:25:45 Duration: 701ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (62162, 62404, 153135);
Date: 2023-03-30 18:18:21 Duration: 577ms
12 907 3m22s 181ms 2s461ms 223ms update "sale_order_line" set "invoice_status" = ?, "open_qty_fil" = ?.?, "qty_delivered" = ?, "qty_to_invoice" = ?, "untaxed_amount_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 30 09 16 3s433ms 214ms 11 21 6s826ms 325ms 12 83 17s792ms 214ms 13 149 33s806ms 226ms 14 146 31s481ms 215ms 15 150 32s423ms 216ms 16 52 10s943ms 210ms 17 64 14s566ms 227ms 18 87 21s159ms 243ms 19 50 12s236ms 244ms 20 67 13s295ms 198ms 21 8 1s578ms 197ms 22 1 200ms 200ms 23 13 2s581ms 198ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 0.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 983, "write_date" = (now() at time zone 'UTC') WHERE id IN (119240, 119241, 119243, 119245, 119247, 119248, 119249, 119250, 119254, 119257, 119258, 119259, 119260);
Date: 2023-03-30 11:31:47 Duration: 2s461ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 2.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (64192, 108433, 118140);
Date: 2023-03-30 19:42:28 Duration: 849ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 2.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 967, "write_date" = (now() at time zone 'UTC') WHERE id IN (114089, 110755, 114091);
Date: 2023-03-30 15:08:10 Duration: 681ms
13 877 2m24s 130ms 843ms 164ms update "stock_quant" set "quantity" = ?.?, "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 Mar 30 09 7 1s233ms 176ms 11 14 2s309ms 164ms 12 90 15s817ms 175ms 13 146 24s697ms 169ms 14 140 23s296ms 166ms 15 113 17s683ms 156ms 16 50 7s844ms 156ms 17 60 9s585ms 159ms 18 89 16s600ms 186ms 19 85 13s498ms 158ms 20 75 11s13ms 146ms 21 8 1s84ms 135ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (253731, 220038, 253738, 256619, 254736, 254737);
Date: 2023-03-30 18:05:50 Duration: 843ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 980, "write_date" = (now() at time zone 'UTC') WHERE id IN (38809, 161220, 42020, 189383);
Date: 2023-03-30 20:25:42 Duration: 589ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (256833, 256617, 256615);
Date: 2023-03-30 19:42:35 Duration: 579ms
14 852 10m35s 669ms 1s699ms 745ms 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 #14
Day Hour Count Duration Avg duration Mar 30 11 20 13s835ms 691ms 12 91 1m5s 719ms 13 202 2m42s 805ms 14 110 1m19s 722ms 15 122 1m29s 733ms 16 88 1m2s 715ms 17 78 58s258ms 746ms 18 60 44s319ms 738ms 19 57 42s160ms 739ms 20 17 11s939ms 702ms 21 7 4s834ms 690ms -
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-V3XK%')) 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-V3XK%'))) 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-V3XK%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%489XQAHX-V3XK%')))))) 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-03-30 13:32:54 Duration: 1s699ms
-
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 ('%148038%')) 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 ('%148038%'))) 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 ('%148038%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%148038%')))))) 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-03-30 13:32:51 Duration: 1s697ms
-
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 ('%1369-8D%')) 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 ('%1369-8D%'))) 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 ('%1369-8D%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%1369-8D%')))))) 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-03-30 13:32:51 Duration: 1s573ms
15 804 2m50s 181ms 730ms 211ms update "sale_order_line" set "invoice_status" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "untaxed_amount_invoiced" = ?, "untaxed_amount_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 30 09 17 3s244ms 190ms 11 12 2s313ms 192ms 12 80 16s857ms 210ms 13 134 29s270ms 218ms 14 122 25s712ms 210ms 15 131 27s128ms 207ms 16 49 10s333ms 210ms 17 50 10s989ms 219ms 18 74 17s920ms 242ms 19 46 9s240ms 200ms 20 66 12s700ms 192ms 21 9 1s714ms 190ms 22 1 186ms 186ms 23 13 2s481ms 190ms -
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '501.71', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 980, "write_date" = (now() at time zone 'UTC') WHERE id IN (120048, 120052, 120055);
Date: 2023-03-30 18:10:35 Duration: 730ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '335.87', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (120088, 120087);
Date: 2023-03-30 18:07:49 Duration: 473ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '305.56', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (120064, 120060);
Date: 2023-03-30 18:07:46 Duration: 428ms
16 740 18m15s 1s198ms 2s309ms 1s480ms 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 #16
Day Hour Count Duration Avg duration Mar 30 01 1 1s281ms 1s281ms 10 6 7s688ms 1s281ms 11 45 1m1s 1s368ms 12 110 2m39s 1s450ms 13 134 3m27s 1s545ms 14 71 1m42s 1s441ms 15 66 1m39s 1s512ms 16 43 1m1s 1s420ms 17 79 2m3s 1s564ms 18 47 1m9s 1s486ms 19 97 2m24s 1s485ms 20 34 48s182ms 1s417ms 21 7 9s447ms 1s349ms -
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-30 15:40:12', '2023-03-30 15:40:12', 'R-12 Relay Valve', 76015, 5, 453, 'new_product', '[065303] R-12 Relay Valve', NULL, 'S-03515', 44635, 346, '0', 'make_to_stock', 173377, 1, '1.00', false, 389, 119871, 10, 'draft', 44) RETURNING id;
Date: 2023-03-30 15:49:28 Duration: 2s309ms
-
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-30 13:32:03', '2023-03-30 13:32:03', 'LUBERFINER FUEL FILTER BULK', 75809, 5, 461, 'new_product', '[LFP815FN] LUBERFINER FUEL FILTER BULK', NULL, 'T-07799', 34096, 354, '0', 'make_to_stock', 207783, 1, '1.00', false, 398, 119555, 10, 'draft', 45) RETURNING id;
Date: 2023-03-30 13:32:40 Duration: 2s210ms
-
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-30 13:33:09', '2023-03-30 13:33:09', 'Cam Kit', 76316, 5, 397, 'new_product', '[E-3520A] Meritor', NULL, 'V-03113', 40996, 290, '0', 'make_to_stock', 185391, 1, '2.00', false, 326, 119563, 10, 'draft', 37) RETURNING id;
Date: 2023-03-30 19:27:16 Duration: 2s198ms
17 704 2m31s 183ms 625ms 215ms update "sale_order_line" set "branch_id" = ?, "currency_id" = ?, "cus_date_order" = ?, "cus_part_route" = ?, "cus_user_id" = ?, "inventory_vendor_id" = ?, "is_service" = false, "margin" = ?, "margin_percent" = ?.?, "order_partner_id" = ?, "price_reduce" = ?, "price_reduce_taxexcl" = ?, "price_reduce_taxinc" = ?, "price_subtotal" = ?, "price_tax" = ?.?, "price_total" = ?, "purchase_price" = ?, "qty_delivered_method" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "salesman_id" = ?, "untaxed_amount_invoiced" = ?, "untaxed_amount_to_invoice" = ?, "warehouse_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 30 01 1 197ms 197ms 10 6 1s601ms 266ms 11 37 7s854ms 212ms 12 107 22s553ms 210ms 13 117 26s514ms 226ms 14 93 19s811ms 213ms 15 71 15s48ms 211ms 16 54 11s427ms 211ms 17 78 17s94ms 219ms 18 35 7s520ms 214ms 19 63 13s558ms 215ms 20 36 7s179ms 199ms 21 6 1s220ms 203ms -
UPDATE "sale_order_line" SET "branch_id" = 45, "currency_id" = 2, "cus_date_order" = '2023-03-30 13:31:43', "cus_part_route" = NULL, "cus_user_id" = 995, "inventory_vendor_id" = 3042, "is_service" = false, "margin" = '26.29', "margin_percent" = 0.28000852060922354, "order_partner_id" = 36124, "price_reduce" = '93.89', "price_reduce_taxexcl" = '93.89', "price_reduce_taxinc" = '93.89', "price_subtotal" = '93.89', "price_tax" = 0.0, "price_total" = '93.89', "purchase_price" = '67.60', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 995, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 42, "write_uid" = 972, "write_date" = (now() at time zone 'UTC') WHERE id IN (119558);
Date: 2023-03-30 13:32:45 Duration: 625ms
-
UPDATE "sale_order_line" SET "branch_id" = 45, "currency_id" = 2, "cus_date_order" = '2023-03-30 13:09:18', "cus_part_route" = NULL, "cus_user_id" = 954, "inventory_vendor_id" = 3019, "is_service" = false, "margin" = '22.62', "margin_percent" = 0.4148936170212766, "order_partner_id" = 33896, "price_reduce" = '27.26', "price_reduce_taxexcl" = '27.26', "price_reduce_taxinc" = '27.26', "price_subtotal" = '54.52', "price_tax" = 0.0, "price_total" = '54.52', "purchase_price" = '15.95', "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" = 954, "write_date" = (now() at time zone 'UTC') WHERE id IN (119478);
Date: 2023-03-30 13:10:00 Duration: 444ms
-
UPDATE "sale_order_line" SET "branch_id" = 39, "currency_id" = 2, "cus_date_order" = '2023-03-30 13:28:24', "cus_part_route" = NULL, "cus_user_id" = 1027, "inventory_vendor_id" = 2931, "is_service" = false, "margin" = '-23.56', "margin_percent" = 0.24989393296563425, "order_partner_id" = 33370, "price_reduce" = '23.57', "price_reduce_taxexcl" = '23.57', "price_reduce_taxinc" = '23.57', "price_subtotal" = '-94.28', "price_tax" = 0.0, "price_total" = '-94.28', "purchase_price" = '17.68', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 1027, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 37, "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (119540);
Date: 2023-03-30 13:30:24 Duration: 401ms
18 659 18m26s 1s195ms 8s350ms 1s679ms 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 #18
Day Hour Count Duration Avg duration Mar 30 01 1 1s267ms 1s267ms 10 6 7s729ms 1s288ms 11 39 1m2s 1s604ms 12 99 2m34s 1s559ms 13 124 3m34s 1s728ms 14 61 1m43s 1s697ms 15 60 1m37s 1s619ms 16 37 1m2s 1s700ms 17 49 1m29s 1s818ms 18 57 1m58s 2s83ms 19 89 2m17s 1s539ms 20 30 48s79ms 1s602ms 21 7 9s563ms 1s366ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '12-S/OUT/02407', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (345248, 345252, 345254, 345232, 345241, 345247);
Date: 2023-03-30 18:00:46 Duration: 8s350ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 2.0, "reference" = '03-C/OUT/04958', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (344015, 344018, 344019, 344020, 344023);
Date: 2023-03-30 13:14:10 Duration: 6s943ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '10-I/OUT/06250', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (343747, 343749, 343750, 343751);
Date: 2023-03-30 11:53:51 Duration: 6s113ms
19 620 16m28s 1s201ms 4s637ms 1s593ms 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 #19
Day Hour Count Duration Avg duration Mar 30 09 8 11s155ms 1s394ms 11 7 11s441ms 1s634ms 12 77 2m7s 1s649ms 13 79 2m16s 1s731ms 14 82 2m10s 1s591ms 15 57 1m28s 1s559ms 16 82 2m13s 1s628ms 17 27 41s220ms 1s526ms 18 51 1m25s 1s672ms 19 30 44s901ms 1s496ms 20 76 1m50s 1s447ms 21 7 9s756ms 1s393ms 23 37 57s673ms 1s558ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 8.0, "date" = '2023-03-30 13:36:15', "is_done" = true, "state" = 'done', "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (325322, 325323, 325335);
Date: 2023-03-30 13:36:21 Duration: 4s637ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 4.0, "date" = '2023-03-30 13:14:51', "is_done" = true, "state" = 'done', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (344018, 344023, 344015);
Date: 2023-03-30 13:14:58 Duration: 4s38ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-03-30 18:05:09', "is_done" = true, "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (345232, 345241, 345252);
Date: 2023-03-30 18:05:17 Duration: 4s27ms
20 611 19m11s 1s227ms 15s375ms 1s885ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 30 09 2 2s810ms 1s405ms 11 13 22s487ms 1s729ms 12 13 19s600ms 1s507ms 13 55 1m35s 1s743ms 14 58 1m45s 1s810ms 15 130 5m1s 2s318ms 16 54 1m20s 1s491ms 17 148 4m44s 1s921ms 18 107 3m6s 1s743ms 19 30 52s8ms 1s733ms 20 1 1s285ms 1s285ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:59:10', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332139, 332140, 332143, 332145, 332120, 332122);
Date: 2023-03-30 17:59:28 Duration: 15s375ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 18:11:14', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332139, 332140, 332143, 332145, 332120, 332122);
Date: 2023-03-30 18:11:32 Duration: 15s198ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:36:51', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332139, 332140, 332143, 332145, 332120, 332122);
Date: 2023-03-30 17:37:07 Duration: 14s520ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 6m37s 10m26s 9m13s 5 46m5s update "stock_move_line" set "current_warehouse_qty" = ?.?, "date" = ?, "product_qty" = ?.?, "product_uom_qty" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 30 17 3 25m55s 8m38s 18 2 20m9s 10m4s -
UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:59:09', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508, 331509, 331510, 331511);
Date: 2023-03-30 18:10:05 Duration: 10m26s
-
UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 18:11:12', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508);
Date: 2023-03-30 18:21:25 Duration: 9m43s
-
UPDATE "stock_move_line" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:36:49', "product_qty" = 0.0, "product_uom_qty" = '0.00', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508);
Date: 2023-03-30 17:46:59 Duration: 9m41s
2 1m37s 10m24s 5m41s 6 34m9s update "stock_move_line" set "purchase_qty" = ?.?, "qty_done" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 30 17 6 34m9s 5m41s -
UPDATE "stock_move_line" SET "purchase_qty" = 0.0, "qty_done" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (117642);
Date: 2023-03-30 17:46:59 Duration: 10m24s
-
UPDATE "stock_move_line" SET "purchase_qty" = 1.0, "qty_done" = '1.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118081);
Date: 2023-03-30 17:35:44 Duration: 8m17s
-
UPDATE "stock_move_line" SET "purchase_qty" = 4.0, "qty_done" = '4.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (118010);
Date: 2023-03-30 17:35:44 Duration: 5m49s
3 1s253ms 30s121ms 5s407ms 273 24m36s update "stock_move" set "picking_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 30 09 1 4s271ms 4s271ms 11 6 24s854ms 4s142ms 12 9 56s183ms 6s242ms 13 40 2m56s 4s424ms 14 27 1m33s 3s459ms 15 51 3m30s 4s133ms 16 41 6m29s 9s510ms 17 22 1m54s 5s215ms 18 30 3m23s 6s797ms 19 30 2m23s 4s795ms 20 9 42s729ms 4s747ms 23 7 14s627ms 2s89ms -
UPDATE "stock_move" SET "picking_id" = 107823, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (340352, 340332, 340333, 340334, 340335, 340336, 340337, 340338, 340339, 340340, 340341, 340342, 340343, 340344, 340345, 340346, 340347, 340348, 340349, 340350, 340351);
Date: 2023-03-30 16:38:45 Duration: 30s121ms
-
UPDATE "stock_move" SET "picking_id" = 107820, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (340352, 340332, 340333, 340334, 340335, 340336, 340337, 340338, 340339, 340340, 340341, 340342, 340343, 340344, 340345, 340346, 340347, 340348, 340349, 340350, 340351);
Date: 2023-03-30 16:36:33 Duration: 29s239ms
-
UPDATE "stock_move" SET "picking_id" = 107766, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (334169, 334171, 334172, 334173, 334174, 334175, 334176, 334177, 334178, 334179, 334180, 334182, 334183, 334184, 334185, 334186, 334187, 334188, 334189, 334190, 334191);
Date: 2023-03-30 15:59:53 Duration: 29s110ms
4 1s233ms 29s905ms 4s852ms 258 20m51s 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 Mar 30 09 1 4s359ms 4s359ms 11 6 24s681ms 4s113ms 12 9 59s565ms 6s618ms 13 37 2m41s 4s352ms 14 26 1m29s 3s439ms 15 43 2m12s 3s79ms 16 34 4m3s 7s174ms 17 21 1m48s 5s168ms 18 30 3m25s 6s840ms 19 34 2m35s 4s577ms 20 10 52s608ms 5s260ms 23 7 14s452ms 2s64ms -
UPDATE "stock_move" SET "reference" = '02-G/IN/03738', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (340352, 340332, 340333, 340334, 340335, 340336, 340337, 340338, 340339, 340340, 340341, 340342, 340343, 340344, 340345, 340346, 340347, 340348, 340349, 340350, 340351);
Date: 2023-03-30 16:40:24 Duration: 29s905ms
-
UPDATE "stock_move" SET "reference" = '02-G/IN/03737', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (340352, 340332, 340333, 340334, 340335, 340336, 340337, 340338, 340339, 340340, 340341, 340342, 340343, 340344, 340345, 340346, 340347, 340348, 340349, 340350, 340351);
Date: 2023-03-30 16:39:15 Duration: 29s400ms
-
UPDATE "stock_move" SET "reference" = '02-G/IN/03709', "write_uid" = 992, "write_date" = (now() at time zone 'UTC') WHERE id IN (332036, 332037, 332038, 332039, 332040, 332042, 332043, 332044, 332045, 332046, 332047, 332048, 332049, 332050, 332051, 332052, 332053);
Date: 2023-03-30 13:00:40 Duration: 29s399ms
5 1s235ms 51s502ms 4s270ms 276 19m38s update "stock_move" set "is_done" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 30 09 2 2s609ms 1s304ms 11 10 23s839ms 2s383ms 12 18 34s81ms 1s893ms 13 36 1m40s 2s791ms 14 32 1m58s 3s704ms 15 58 5m 5s177ms 16 24 1m11s 2s981ms 17 38 4m7s 6s511ms 18 39 3m28s 5s358ms 19 12 58s408ms 4s867ms 20 3 7s367ms 2s455ms 23 4 5s132ms 1s283ms -
UPDATE "stock_move" SET "is_done" = true, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (324738, 324739, 324740, 344452, 324741, 324743, 344455, 324742, 324744, 324746, 324749, 324750, 324751, 324752, 324753, 324754, 324755, 324759, 324764, 324774, 324776, 324777, 324778, 324779, 324781, 324782, 324784, 324785, 324788, 324789, 324790, 324723, 324725, 324726, 324727, 324728, 324729, 324730);
Date: 2023-03-30 14:26:45 Duration: 51s502ms
-
UPDATE "stock_move" SET "is_done" = true, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332136, 332138, 332139, 332140, 332141, 332142, 332143, 332144, 332145, 332120, 332122, 332124, 332126);
Date: 2023-03-30 18:10:36 Duration: 27s992ms
-
UPDATE "stock_move" SET "is_done" = true, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332136, 332138, 332139, 332140, 332141, 332142, 332143, 332144, 332145, 332120, 332122, 332124, 332126);
Date: 2023-03-30 17:36:14 Duration: 26s709ms
6 1s221ms 32s52ms 3s850ms 249 15m58s update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 30 09 1 1s270ms 1s270ms 11 3 3s950ms 1s316ms 12 13 1m10s 5s417ms 13 45 3m23s 4s511ms 14 29 1m36s 3s321ms 15 60 4m6s 4s103ms 16 38 2m37s 4s154ms 17 22 1m1s 2s800ms 18 16 54s43ms 3s377ms 19 10 34s316ms 3s431ms 20 5 20s527ms 4s105ms 23 7 9s78ms 1s296ms -
UPDATE "stock_move" SET "date" = '2023-03-30 12:30:34', "state" = 'done', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (328192, 328193, 328194, 328169, 328170, 328171, 328172, 328173, 328174, 328175, 328176, 328177, 328178, 328179, 328180, 328181, 328182, 328183, 328185, 328186, 328187, 328188, 328191);
Date: 2023-03-30 12:31:06 Duration: 32s52ms
-
UPDATE "stock_move" SET "date" = '2023-03-30 17:01:57', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (334176, 334177, 334178, 334179, 334181, 334183, 334184, 334185, 334186, 334187, 334188, 334189, 334190, 334191, 334169, 334171, 334173, 334174, 334175);
Date: 2023-03-30 17:02:23 Duration: 25s903ms
-
UPDATE "stock_move" SET "date" = '2023-03-30 13:56:12', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (332036, 332037, 332039, 332040, 332042, 332043, 332044, 332045, 332046, 332047, 332049, 332050, 332051, 332052);
Date: 2023-03-30 13:56:32 Duration: 20s59ms
7 1s208ms 32s652ms 3s313ms 290 16m1s 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 #7
Day Hour Count Duration Avg duration Mar 30 01 1 1s317ms 1s317ms 10 1 6s387ms 6s387ms 11 15 59s156ms 3s943ms 12 34 2m25s 4s283ms 13 45 2m48s 3s745ms 14 31 1m39s 3s222ms 15 40 1m29s 2s237ms 16 18 50s957ms 2s830ms 17 27 1m11s 2s665ms 18 27 1m36s 3s569ms 19 35 2m5s 3s575ms 20 11 36s718ms 3s338ms 21 5 9s449ms 1s889ms -
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 107961, "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 (345231, 345232, 345233, 345234, 345237, 345238, 345239, 345241, 345242, 345243, 345244, 345245, 345246, 345247, 345248, 345249, 345250, 345252, 345254, 345255, 345256);
Date: 2023-03-30 18:00:22 Duration: 32s652ms
-
UPDATE "stock_move" SET "branch_id" = 45, "picking_id" = 107343, "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 (344071, 344074, 344075, 344076, 344077, 344078, 344079, 344081, 344082, 344083, 344086, 344088);
Date: 2023-03-30 13:24:23 Duration: 22s332ms
-
UPDATE "stock_move" SET "branch_id" = 46, "picking_id" = 107218, "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 (343904, 343905, 343906, 343907, 343908, 343909, 343910, 343898, 343899, 343900, 343901, 343902, 343903);
Date: 2023-03-30 12:42:56 Duration: 18s774ms
8 1s215ms 51s925ms 2s977ms 1,087 53m56s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 30 01 1 1s296ms 1s296ms 10 3 8s988ms 2s996ms 11 33 1m23s 2s516ms 12 73 4m11s 3s448ms 13 163 6m55s 2s549ms 14 107 4m41s 2s631ms 15 155 8m49s 3s418ms 16 93 3m44s 2s415ms 17 156 8m7s 3s123ms 18 151 9m6s 3s617ms 19 103 4m51s 2s828ms 20 37 1m35s 2s593ms 21 11 18s64ms 1s642ms 23 1 1s457ms 1s457ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (344064, 344066, 344068, 344069, 344080, 344092, 344098, 344100, 344101, 344104, 344106, 344107, 344110, 344112, 344115, 344116, 344119, 344120, 344121, 344131, 344137, 344141, 344145, 344149, 344150, 344153, 344155, 344052, 344057, 344058, 344062, 344063);
Date: 2023-03-30 13:32:54 Duration: 51s925ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (345231, 345232, 345233, 345234, 345237, 345238, 345239, 345241, 345242, 345243, 345244, 345245, 345246, 345247, 345248, 345249, 345250, 345252, 345254, 345255, 345256);
Date: 2023-03-30 18:02:03 Duration: 38s862ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (326016, 326017, 308194, 327841, 327842, 323362, 323363, 323364, 323688, 326124, 325391, 305170, 320693, 330229, 323255, 320891, 321117, 321118);
Date: 2023-03-30 17:59:07 Duration: 28s749ms
9 1s214ms 26s773ms 2s714ms 348 15m44s update "stock_move" set "delay_alert_date" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 30 09 1 1s449ms 1s449ms 11 5 11s826ms 2s365ms 12 14 48s650ms 3s475ms 13 53 1m55s 2s186ms 14 23 53s154ms 2s311ms 15 49 1m47s 2s193ms 16 22 53s265ms 2s421ms 17 70 2m49s 2s420ms 18 46 2m52s 3s760ms 19 39 2m26s 3s749ms 20 26 1m4s 2s465ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (337024, 337025, 337026, 336843, 337008, 337009, 337014, 337015, 337016, 337017, 337020, 337021, 325951);
Date: 2023-03-30 18:01:48 Duration: 26s773ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (321120, 326018, 326019, 327844, 327845, 250594, 308195, 326125, 325392, 330231, 320696, 320892, 321119);
Date: 2023-03-30 18:23:20 Duration: 23s208ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (326433, 316450, 316451, 334950, 293447, 339497, 309202, 323897, 325436, 309215);
Date: 2023-03-30 12:33:01 Duration: 17s882ms
10 1s247ms 16s163ms 2s255ms 323 12m8s update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 30 09 3 7s458ms 2s486ms 11 9 16s644ms 1s849ms 12 26 1m1s 2s350ms 13 51 1m43s 2s35ms 14 32 1m10s 2s206ms 15 35 1m12s 2s73ms 16 28 49s45ms 1s751ms 17 35 1m1s 1s761ms 18 33 1m33s 2s843ms 19 39 2m5s 3s230ms 20 30 1m2s 2s98ms 21 1 1s267ms 1s267ms 23 1 1s476ms 1s476ms -
UPDATE "stock_move" SET "date" = '2023-03-30 19:58:04', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (325157, 325158, 325159, 325160, 325163, 325164, 325165, 325166, 325170, 325171, 325172);
Date: 2023-03-30 19:58:20 Duration: 16s163ms
-
UPDATE "stock_move" SET "date" = '2023-03-30 18:07:52', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (325709, 325710, 325713, 325714, 325715, 325716, 325717, 325718);
Date: 2023-03-30 18:08:12 Duration: 13s562ms
-
UPDATE "stock_move" SET "date" = '2023-03-30 19:42:21', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (325504, 325505, 325506, 325488, 325490, 325496, 325498);
Date: 2023-03-30 19:42:34 Duration: 12s881ms
11 1s227ms 15s375ms 1s885ms 611 19m11s update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 30 09 2 2s810ms 1s405ms 11 13 22s487ms 1s729ms 12 13 19s600ms 1s507ms 13 55 1m35s 1s743ms 14 58 1m45s 1s810ms 15 130 5m1s 2s318ms 16 54 1m20s 1s491ms 17 148 4m44s 1s921ms 18 107 3m6s 1s743ms 19 30 52s8ms 1s733ms 20 1 1s285ms 1s285ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:59:10', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332139, 332140, 332143, 332145, 332120, 332122);
Date: 2023-03-30 17:59:28 Duration: 15s375ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 18:11:14', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332139, 332140, 332143, 332145, 332120, 332122);
Date: 2023-03-30 18:11:32 Duration: 15s198ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-03-30 17:36:51', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (332128, 332130, 332132, 332134, 332139, 332140, 332143, 332145, 332120, 332122);
Date: 2023-03-30 17:37:07 Duration: 14s520ms
12 1s220ms 12s138ms 1s807ms 396 11m55s 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 #12
Day Hour Count Duration Avg duration Mar 30 09 1 1s257ms 1s257ms 11 2 2s559ms 1s279ms 12 26 59s833ms 2s301ms 13 75 2m10s 1s735ms 14 53 1m28s 1s667ms 15 118 3m 1s525ms 16 56 2m15s 2s426ms 17 24 50s697ms 2s112ms 18 18 32s45ms 1s780ms 19 10 17s368ms 1s736ms 20 11 14s758ms 1s341ms 23 2 2s719ms 1s359ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (328192, 328172, 328175, 328176, 328180, 328185, 328188, 328191);
Date: 2023-03-30 12:31:34 Duration: 12s138ms
-
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 (328193, 328194, 328182, 328183, 328186, 328187);
Date: 2023-03-30 12:31:52 Duration: 8s711ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (334181, 334183, 334190, 334191, 334169);
Date: 2023-03-30 17:02:39 Duration: 7s89ms
13 1s195ms 8s350ms 1s679ms 659 18m26s 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 Mar 30 01 1 1s267ms 1s267ms 10 6 7s729ms 1s288ms 11 39 1m2s 1s604ms 12 99 2m34s 1s559ms 13 124 3m34s 1s728ms 14 61 1m43s 1s697ms 15 60 1m37s 1s619ms 16 37 1m2s 1s700ms 17 49 1m29s 1s818ms 18 57 1m58s 2s83ms 19 89 2m17s 1s539ms 20 30 48s79ms 1s602ms 21 7 9s563ms 1s366ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '12-S/OUT/02407', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (345248, 345252, 345254, 345232, 345241, 345247);
Date: 2023-03-30 18:00:46 Duration: 8s350ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 2.0, "reference" = '03-C/OUT/04958', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (344015, 344018, 344019, 344020, 344023);
Date: 2023-03-30 13:14:10 Duration: 6s943ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '10-I/OUT/06250', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (343747, 343749, 343750, 343751);
Date: 2023-03-30 11:53:51 Duration: 6s113ms
14 1s241ms 5s904ms 1s645ms 418 11m27s update "stock_move" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 30 09 3 4s292ms 1s430ms 11 3 3s811ms 1s270ms 12 7 10s605ms 1s515ms 13 46 1m11s 1s546ms 14 65 1m34s 1s446ms 15 84 2m18s 1s644ms 16 16 29s910ms 1s869ms 17 51 1m47s 2s106ms 18 46 1m19s 1s736ms 19 66 1m45s 1s592ms 20 15 21s522ms 1s434ms 21 1 1s370ms 1s370ms 22 1 1s327ms 1s327ms 23 14 19s110ms 1s365ms -
UPDATE "stock_move" SET "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (345688, 345689, 345690, 345691);
Date: 2023-03-30 19:18:45 Duration: 5s904ms
-
UPDATE "stock_move" SET "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (345068, 345069);
Date: 2023-03-30 17:36:26 Duration: 3s365ms
-
UPDATE "stock_move" SET "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (344673, 344674);
Date: 2023-03-30 15:31:23 Duration: 3s238ms
15 1s201ms 4s637ms 1s593ms 620 16m28s 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 #15
Day Hour Count Duration Avg duration Mar 30 09 8 11s155ms 1s394ms 11 7 11s441ms 1s634ms 12 77 2m7s 1s649ms 13 79 2m16s 1s731ms 14 82 2m10s 1s591ms 15 57 1m28s 1s559ms 16 82 2m13s 1s628ms 17 27 41s220ms 1s526ms 18 51 1m25s 1s672ms 19 30 44s901ms 1s496ms 20 76 1m50s 1s447ms 21 7 9s756ms 1s393ms 23 37 57s673ms 1s558ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 8.0, "date" = '2023-03-30 13:36:15', "is_done" = true, "state" = 'done', "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (325322, 325323, 325335);
Date: 2023-03-30 13:36:21 Duration: 4s637ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 4.0, "date" = '2023-03-30 13:14:51', "is_done" = true, "state" = 'done', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (344018, 344023, 344015);
Date: 2023-03-30 13:14:58 Duration: 4s38ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-03-30 18:05:09', "is_done" = true, "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (345232, 345241, 345252);
Date: 2023-03-30 18:05:17 Duration: 4s27ms
16 1s198ms 2s309ms 1s480ms 740 18m15s 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 #16
Day Hour Count Duration Avg duration Mar 30 01 1 1s281ms 1s281ms 10 6 7s688ms 1s281ms 11 45 1m1s 1s368ms 12 110 2m39s 1s450ms 13 134 3m27s 1s545ms 14 71 1m42s 1s441ms 15 66 1m39s 1s512ms 16 43 1m1s 1s420ms 17 79 2m3s 1s564ms 18 47 1m9s 1s486ms 19 97 2m24s 1s485ms 20 34 48s182ms 1s417ms 21 7 9s447ms 1s349ms -
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-30 15:40:12', '2023-03-30 15:40:12', 'R-12 Relay Valve', 76015, 5, 453, 'new_product', '[065303] R-12 Relay Valve', NULL, 'S-03515', 44635, 346, '0', 'make_to_stock', 173377, 1, '1.00', false, 389, 119871, 10, 'draft', 44) RETURNING id;
Date: 2023-03-30 15:49:28 Duration: 2s309ms
-
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-30 13:32:03', '2023-03-30 13:32:03', 'LUBERFINER FUEL FILTER BULK', 75809, 5, 461, 'new_product', '[LFP815FN] LUBERFINER FUEL FILTER BULK', NULL, 'T-07799', 34096, 354, '0', 'make_to_stock', 207783, 1, '1.00', false, 398, 119555, 10, 'draft', 45) RETURNING id;
Date: 2023-03-30 13:32:40 Duration: 2s210ms
-
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-30 13:33:09', '2023-03-30 13:33:09', 'Cam Kit', 76316, 5, 397, 'new_product', '[E-3520A] Meritor', NULL, 'V-03113', 40996, 290, '0', 'make_to_stock', 185391, 1, '2.00', false, 326, 119563, 10, 'draft', 37) RETURNING id;
Date: 2023-03-30 19:27:16 Duration: 2s198ms
17 669ms 1s699ms 745ms 852 10m35s 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 #17
Day Hour Count Duration Avg duration Mar 30 11 20 13s835ms 691ms 12 91 1m5s 719ms 13 202 2m42s 805ms 14 110 1m19s 722ms 15 122 1m29s 733ms 16 88 1m2s 715ms 17 78 58s258ms 746ms 18 60 44s319ms 738ms 19 57 42s160ms 739ms 20 17 11s939ms 702ms 21 7 4s834ms 690ms -
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-V3XK%')) 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-V3XK%'))) 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-V3XK%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%489XQAHX-V3XK%')))))) 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-03-30 13:32:54 Duration: 1s699ms
-
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 ('%148038%')) 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 ('%148038%'))) 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 ('%148038%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%148038%')))))) 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-03-30 13:32:51 Duration: 1s697ms
-
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 ('%1369-8D%')) 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 ('%1369-8D%'))) 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 ('%1369-8D%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%1369-8D%')))))) 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-03-30 13:32:51 Duration: 1s573ms
18 525ms 1s332ms 619ms 1,205 12m26s 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 Mar 30 11 5 2s785ms 557ms 12 162 1m32s 569ms 13 257 2m57s 690ms 14 144 1m25s 592ms 15 161 1m39s 620ms 16 75 43s651ms 582ms 17 142 1m27s 615ms 18 142 1m29s 627ms 19 28 17s678ms 631ms 20 89 50s905ms 571ms -
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 ('%%CROSSTUB%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%CROSS TUB%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%CROSS TUB%'))) 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-03-30 13:00:18 Duration: 1s332ms
-
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 ('%%STICK%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%STICK%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%STICK%'))) 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-03-30 13:07:34 Duration: 1s295ms
-
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 ('%%211959%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%211959%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%211959%'))) 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-03-30 12:18:42 Duration: 1s228ms
19 517ms 1s674ms 595ms 3,981 39m32s 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 Mar 30 01 14 7s580ms 541ms 10 29 15s898ms 548ms 11 236 2m10s 551ms 12 617 5m57s 579ms 13 673 7m20s 655ms 14 507 4m57s 586ms 15 400 3m52s 580ms 16 296 2m51s 577ms 17 410 4m12s 614ms 18 248 2m33s 618ms 19 304 2m56s 579ms 20 225 2m5s 555ms 21 22 11s984ms 544ms -
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 ('%%E11866%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%E-11866%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%E-11866%'))) 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-03-30 13:32:46 Duration: 1s674ms
-
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 ('%%32835%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%32835%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%32835%'))) 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-03-30 13:32:54 Duration: 1s640ms
-
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 ('%%E118%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%E-118%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%E-118%'))) 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-03-30 13:32:46 Duration: 1s629ms
20 197ms 1s890ms 256ms 1,008 4m18s 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 Mar 30 01 1 213ms 213ms 10 6 1s256ms 209ms 11 52 11s448ms 220ms 12 140 32s820ms 234ms 13 207 58s324ms 281ms 14 90 20s450ms 227ms 15 109 29s742ms 272ms 16 41 9s515ms 232ms 17 103 26s584ms 258ms 18 70 18s512ms 264ms 19 124 35s484ms 286ms 20 58 12s936ms 223ms 21 7 1s482ms 211ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (119549)) ORDER BY "sale_history_line"."id";
Date: 2023-03-30 13:32:55 Duration: 1s890ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (119880)) ORDER BY "sale_history_line"."id";
Date: 2023-03-30 15:49:25 Duration: 1s287ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (119563)) ORDER BY "sale_history_line"."id";
Date: 2023-03-30 19:26:41 Duration: 1s278ms
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
- 195,293 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 14990 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 8,393 Max number of times the same event was reported
- 14,990 Total events found
Rank Times reported Error 1 8,393 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 30 00 86 01 138 02 127 03 109 04 166 05 256 06 288 07 225 08 296 09 367 10 377 11 347 12 423 13 439 14 471 15 543 16 536 17 524 18 729 19 742 20 402 21 300 22 238 23 264 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM ir_attachment WHERE id IN (2062360)
Date: 2023-03-30 00:01:07
2 3,253 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 30 00 39 01 66 02 47 03 46 04 68 05 100 06 109 07 92 08 106 09 135 10 152 11 132 12 171 13 187 14 198 15 224 16 206 17 194 18 257 19 282 20 134 21 128 22 82 23 98 - ERROR: process 2338082 still waiting for ShareLock on transaction 103421692 after 1000.049 ms
- ERROR: process 2341900 still waiting for ShareLock on transaction 103421723 after 1000.065 ms
- ERROR: process 2323122 still waiting for ShareLock on transaction 103421748 after 1000.051 ms
Detail: Process holding the lock: 2345666. Wait queue: 2338082.
Context: while deleting tuple (3863,61) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (2062419)Date: 2023-03-30 00:03:47
Detail: Process holding the lock: 2323122. Wait queue: 2341900.
Context: while deleting tuple (3857,114) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (2062429)Date: 2023-03-30 00:04:16
Detail: Process holding the lock: 2379073. Wait queue: 2323122.
Context: while deleting tuple (3861,85) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (2062438)Date: 2023-03-30 00:04:47
3 1,270 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 30 04 6 07 41 08 42 09 66 10 26 11 32 12 36 13 85 14 110 15 111 16 105 17 189 18 133 19 112 20 70 21 34 22 29 23 43 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE "substitution_master_line" SET "write_uid"=4,"write_date"=(now() at time zone 'UTC') WHERE id IN (16942, 15693, 15694, 16943)
Date: 2023-03-30 04:25:49
4 1,191 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 30 00 99 01 114 02 96 03 80 04 76 05 79 06 76 07 87 08 86 09 82 10 20 11 12 12 9 13 12 14 8 15 12 16 16 17 45 18 6 19 8 20 5 21 7 22 79 23 77 - 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 "website_visitor"
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-03-30 00:00:09
Statement: SELECT "supplier_rank" FROM res_partner WHERE ID IN (33110, 30496) FOR UPDATE NOWAIT; UPDATE res_partner SET "supplier_rank" = "supplier_rank" + 1 WHERE id IN (33110, 30496)
Date: 2023-03-30 15:47:13
Statement: SELECT * FROM website_visitor where id = 11575 FOR NO KEY UPDATE NOWAIT
Date: 2023-03-30 18:06:59
5 682 LOG: process ... still waiting for AccessExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 30 01 3 02 1 03 2 04 1 05 11 06 12 07 9 08 17 09 21 10 25 11 12 12 23 13 35 14 30 15 37 16 55 17 100 18 130 19 95 20 28 21 16 22 8 23 11 - ERROR: process 1886232 still waiting for AccessExclusiveLock on tuple (3411,12) of relation 43604 of database 65946 after 1000.047 ms
- ERROR: process 1889281 still waiting for AccessExclusiveLock on tuple (3566,9) of relation 43604 of database 65946 after 1000.058 ms
- ERROR: process 1885996 still waiting for AccessExclusiveLock on tuple (3668,5) of relation 43604 of database 65946 after 1000.054 ms
Detail: Process holding the lock: 1893434. Wait queue: 1886232.
Statement: DELETE FROM ir_attachment WHERE id IN (2064203)Date: 2023-03-30 01:13:48
Detail: Process holding the lock: 1886414. Wait queue: 1889281.
Statement: DELETE FROM ir_attachment WHERE id IN (2064747)Date: 2023-03-30 01:31:08
Detail: Process holding the lock: 1886414. Wait queue: 1885996.
Statement: DELETE FROM ir_attachment WHERE id IN (2065251)Date: 2023-03-30 01:50:50
6 152 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 30 00 1 01 5 02 10 03 2 04 4 05 10 06 3 07 3 08 7 09 7 10 3 11 6 12 4 13 4 14 7 15 8 16 8 17 15 18 10 19 9 20 9 21 3 22 6 23 8 - 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-03-30 00:03:48
7 12 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 30 10 1 17 1 19 10 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 2885397 waits for AccessExclusiveLock on relation 43699 of database 65946; blocked by process 2885910. Process 2885910 waits for RowExclusiveLock on relation 44482 of database 65946; blocked by process 2885397. Process 2885397: ALTER TABLE ir_model_fields ALTER COLUMN website_form_blacklisted SET DEFAULT true Process 2885910: DELETE FROM ir_attachment WHERE id IN (2082313)
Hint: See server log for query details.
Statement: ALTER TABLE ir_model_fields ALTER COLUMN website_form_blacklisted SET DEFAULT trueDate: 2023-03-30 10:26:49
Detail: Process 3346845 waits for ShareLock on transaction 103563545; blocked by process 3361360. Process 3361360 waits for ShareLock on transaction 103563465; blocked by process 3346845. Process 3346845: UPDATE "stock_move" SET "state"='confirmed',"write_uid"=1001,"write_date"=(now() at time zone 'UTC') WHERE id IN (331776, 331778, 331779, 331780, 331781, 331782, 282634, 219147, 282635, 282636, 282637, 219151, 192528, 282638, 282639, 315422, 321569, 274477, 315437, 333879, 329788, 333887, 292936, 292938, 292940, 292941, 292942, 292943, 118062, 292947, 292949, 340055, 340056, 340057, 340058, 340059, 260188, 260189, 260190, 260191, 260192, 260193, 260194, 260195, 340062, 340068, 340063, 340070, 340071, 340072, 340073, 340074, 340075, 340076, 340077, 340078, 170096, 217200, 217202, 340079, 342123, 342124, 342125, 118070, 338053, 233606, 233607, 233608, 282761, 290953, 233611, 155798, 331928, 331929, 182426, 182435, 155812, 307372, 260307, 260308, 260310, 260311, 260312, 260313, 260314, 260315, 149724, 260317, 260318, 260319, 260320, 260321, 260322, 260323, 260324, 260316, 260325, 299232, 319711, 200963, 297222, 117285, 297233, 297234, 252179, 280853, 319766, 319772, 215328, 336161, 215330, 215331, 215332, 21533 Process 3361360: UPDATE "stock_move_line" SET "current_warehouse_qty"=1.0,"date"='2023-03-30 17:36:49',"product_qty"=0.0,"product_uom_qty"='0.00',"state"='done',"write_uid"=1006,"write_date"=(now() at time zone 'UTC') WHERE id IN (331504, 331505, 331508)
Context: while updating tuple (21011,9) 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: UPDATE "stock_move" SET "state"='confirmed',"write_uid"=1001,"write_date"=(now() at time zone 'UTC') WHERE id IN (331776, 331778, 331779, 331780, 331781, 331782, 282634, 219147, 282635, 282636, 282637, 219151, 192528, 282638, 282639, 315422, 321569, 274477, 315437, 333879, 329788, 333887, 292936, 292938, 292940, 292941, 292942, 292943, 118062, 292947, 292949, 340055, 340056, 340057, 340058, 340059, 260188, 260189, 260190, 260191, 260192, 260193, 260194, 260195, 340062, 340068, 340063, 340070, 340071, 340072, 340073, 340074, 340075, 340076, 340077, 340078, 170096, 217200, 217202, 340079, 342123, 342124, 342125, 118070, 338053, 233606, 233607, 233608, 282761, 290953, 233611, 155798, 331928, 331929, 182426, 182435, 155812, 307372, 260307, 260308, 260310, 260311, 260312, 260313, 260314, 260315, 149724, 260317, 260318, 260319, 260320, 260321, 260322, 260323, 260324, 260316, 260325, 299232, 319711, 200963, 297222, 117285, 297233, 297234, 252179, 280853, 319766, 319772, 215328, 336161, 215330, 215331, 215332, 215333, 215334, 215335, 215336, 215337, 215338, 270627, 270636, 270637, 286021, 280879, 309558, 248124, 248125, 303423, 252230, 303322, 252235, 276815, 276818, 276820, 276821, 334172, 272735, 272736, 272737, 272738, 272739, 272740, 272741, 272742, 272743, 272744, 151913, 272745, 272746, 151916, 272747, 334182, 252274, 323971, 332163, 332164, 323974, 332167, 197003, 307609, 219558, 219559, 332199, 332200, 332201, 219564, 332206, 332209, 192957, 192958, 192962, 192963, 192967, 162249, 192970, 191000, 240088, 338406, 307710, 190981, 190982, 190985, 190986, 190987, 190988, 190989, 190990, 190991, 190992, 190993, 190994, 190996, 190997, 190998, 190999, 262678, 191001, 191002, 191003, 191004, 225820, 225821, 191007, 191008, 225825, 225826, 225823, 225824, 225827, 225828, 225829, 225832, 117289, 225834, 117291, 225835, 225830, 225831, 225833, 117298, 117301, 117302, 117303, 118064, 117305, 117306, 117307, 117308, 117312, 117313, 117314, 117315, 117316, 117318, 318022, 227916, 227917, 227919, 227921, 227922, 227923, 227924, 324181, 324182, 324183, 324184, 324185, 324186, 227925, 238172, 342619, 324190, 342620, 342621, 342622, 342623, 342624, 342625, 342626, 342627, 342628, 342629, 343677, 184941, 117367, 117368, 244343, 166530, 166531, 166532, 166533, 170626, 166535, 166536, 166539, 166540, 166542, 299664, 166544, 166545, 166546, 166547, 166549, 166550, 166551, 166552, 166553, 166554, 309907, 166556, 166557, 166558, 166561, 334498, 166562, 166563, 166565, 334497, 262686, 262687, 262690, 328227, 117446, 262692, 328228, 117451, 123599, 238290, 252643, 252645, 117481, 117482, 309995, 117483, 117484, 117485, 117486, 117487, 195311, 344818, 286016, 303860, 303861, 303862, 303864, 303865, 303866, 303867, 303868, 303869, 303870, 303871, 303872, 331768, 328451, 117513, 129802, 117515, 142092, 117516, 129805, 117519, 142096, 129806, 305929, 117523, 117527, 117528, 117529, 117530, 117566, 117569, 319705, 117573, 117577, 319706, 319707, 340060, 319708, 340061, 319709, 117597, 117601, 340064, 340065, 334699, 334700, 334701, 334702, 334703, 334704, 334705, 334706, 334707, 334708, 205685, 340066, 340067, 339254, 287609, 287611, 287612, 252797, 339255, 287615, 287617, 185218, 287618, 185222, 185223, 185224, 185225, 312202, 185227, 117646, 320414, 150436, 150437, 320421, 150440, 308140, 117680, 308148, 117686, 117687, 117688, 117689, 117690, 117691, 117692, 293817, 185278, 291774, 308153, 343338, 343339, 343340, 340936, 340937, 340938, 340939, 340940, 340941, 340942, 340943, 340944, 340945, 343341, 343342, 334807, 322537, 166893, 117759, 117760, 117769, 334861, 181263, 181266, 181268, 306196, 306197, 117785, 117787, 117817, 117818, 312383, 312384, 312385, 312386, 312387, 117831, 216137, 216138, 216139, 117844, 171093, 216150, 117847, 117848, 341084, 117853, 171113, 232553, 117867, 117868, 117869, 117870, 171115, 171116, 232555, 232557, 117878, 117879, 310391, 117881, 117882, 310392, 117884, 117885, 310394, 117887, 310399, 310400, 310402, 341122, 310404, 341123, 341126, 341124, 341127, 341125, 341130, 341131, 341129, 117898, 117899, 117900, 341128, 117902, 117903, 117904, 117905, 117906, 316563, 318612, 318613, 316566, 318614, 318615, 318616, 318617, 117915, 117916, 117917, 316572, 117919, 117921, 117929, 117930, 117935, 117939, 117940, 117941, 117946, 117956, 117957, 117958, 117959, 117960, 117961, 117962, 275652, 117964, 240845, 117966, 240846, 117972, 218324, 117974, 117990, 326888, 117993, 326889, 326890, 326891, 326892, 201966, 117999, 118000, 118001, 118002, 118003, 118004, 118005, 118006, 118019, 165123, 118021, 118022, 154888, 118026, 118027, 165131, 118029, 118035, 118036, 118038, 118039, 118040, 189722, 118043, 118044, 189723, 118047, 118048, 189728, 286014, 343331, 343332, 343333, 343334, 343335, 118055, 343336, 142633, 343337, 118059, 118060, 142636, 343343, 343344, 343345, 343346, 343347, 343348, 343349, 343350, 343351, 339256, 343352, 343353, 343354, 343355, 343356, 286005, 286015, 118071, 118072, 335170, 118074, 286011, 118078, 118079, 118080, 118082, 240963, 118084, 240965, 118088, 118089, 118090, 118092, 118093, 118094, 286027, 118101, 118103, 118104, 118105, 286040, 118107, 286041, 118111, 118112, 118113, 118114, 118115, 118116, 118117, 118118, 118119, 118120, 118121, 118122, 118123, 118124, 118125, 118126, 118127, 118128, 118129, 118130, 118131, 118132, 118133, 118134, 136567, 118136, 118137, 118138, 342612, 118140, 118141, 118142, 118143, 134526, 118145, 329090, 118147, 329092, 342613, 329094, 118151, 342614, 342615, 342616, 118156, 118157, 118158, 314766, 342617, 342618, 169369, 169370, 169371, 169372, 169373, 118169, 118170, 118171, 118172, 118173, 118174, 118175, 118176, 118178, 146851, 118184, 208296, 208301, 118190, 118191, 118194, 118195, 118196, 118197, 118198, 118201, 118203, 318610, 318611, 118216, 118217, 118218, 118219, 118220, 118221, 118222, 210385, 210388, 118229, 118230, 118232, 118238, 118239, 118240, 118241, 138722, 118248, 118249, 118250, 118251, 118252, 216553, 118254, 118265, 138748, 331273, 331277, 331278, 118291, 118294, 118295, 146966, 196121, 288280, 310812, 118302, 146974, 214559, 327201, 118306, 214563, 214566, 225822, 187944, 331304, 153130, 214573, 273969, 273972, 241212, 329276, 273983, 310850, 273991, 294214, 192078, 341594, 329311, 233059, 315387, 315388, 210542, 210545, 315389, 210548, 315390, 343671, 343672, 343673, 343674, 343675, 343676, 274045, 274046, 274047, 343680, 343681, 343682, 274048, 274049, 274050, 343678, 343679, 343684, 343685, 343686, 343687, 343683, 343688, 343692, 343689, 343690, 343691, 343693, 343694, 329367, 337568, 237234, 336162, 237237, 342611, 336163, 132837, 171750, 171751, 171752, 302822, 169706, 169708, 306924, 306925, 130799, 130800, 306926, 306927, 220575, 298763, 175888, 339734, 190233, 173863, 173864, 329526, 270171, 137061, 231271, 137065, 137081, 264059, 130941, 335751, 240954, 240958, 327587, 344352, 257968, 341942, 343996, 334180, 341967, 341968, 341969, 341970, 341971, 341972, 315371, 315372, 315373, 315377, 331764, 315381, 331765, 331767, 331766, 331769, 331770, 331771, 331772, 331773, 331774, 315391)Date: 2023-03-30 17:46:59
Detail: Process 2886340 waits for ShareLock on transaction 103590741; blocked by process 2886519. Process 2886519 waits for ShareLock on transaction 103590713; blocked by process 2886340. Process 2886340: UPDATE "sale_order_line" SET "open_qty_fil"=2.0,"qty_delivered_method"='stock_move',"state"='sale',"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (119570, 119563, 119586) Process 2886519: UPDATE "sale_order_line" SET "write_uid"=1144,"write_date"=(now() at time zone 'UTC') WHERE id IN (120172, 119570, 119563, 119586)
Context: while updating tuple (6172,13) in relation "sale_order_line"
Hint: See server log for query details.
Statement: UPDATE "sale_order_line" SET "open_qty_fil"=2.0,"qty_delivered_method"='stock_move',"state"='sale',"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (119570, 119563, 119586)Date: 2023-03-30 19:25:27
8 11 LOG: process ... still waiting for ShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 30 08 6 10 5 - ERROR: process 2820269 still waiting for ShareLock on relation 42418 of database 65946 after 1000.051 ms
- ERROR: process 2820269 still waiting for ShareLock on relation 44482 of database 65946 after 1000.059 ms
- ERROR: process 2820269 still waiting for ShareLock on relation 44482 of database 65946 after 1000.057 ms
Detail: Process holding the lock: 2820101. Wait queue: 2820269.
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-03-30 08:21:06
Detail: Process holding the lock: 2820048. Wait queue: 2820269.
Statement: CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is trueDate: 2023-03-30 08:21:10
Detail: Process holding the lock: 2820050. Wait queue: 2820269.
Statement: CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is trueDate: 2023-03-30 08:21:24
9 11 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 30 13 1 14 1 15 3 17 5 18 1 - ERROR: process 3011162 still waiting for ExclusiveLock on tuple (14783,23) of relation 42418 of database 65946 after 1000.058 ms
- ERROR: process 3059396 still waiting for ExclusiveLock on tuple (16334,23) of relation 42418 of database 65946 after 1000.059 ms
- ERROR: process 3196342 still waiting for ExclusiveLock on tuple (16729,24) of relation 42418 of database 65946 after 1000.050 ms
Detail: Process holding the lock: 3011936. Wait queue: 3011162.
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 != 494760 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 != 494760 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-03-30 13:12:20
Detail: Process holding the lock: 3059957. Wait queue: 3059396.
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 != 527155 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 != 527155 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-03-30 14:30:31
Detail: Process holding the lock: 3207528. Wait queue: 3196342.
Statement: UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 528475 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 != 528475 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-03-30 15:49:30
10 5 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 30 08 2 10 3 - 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-03-30 08:20:56
11 4 LOG: process ... still waiting for RowExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 30 08 1 10 3 - ERROR: process 2820101 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.043 ms
- ERROR: process 2885524 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.052 ms
- ERROR: process 2885771 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.036 ms
Detail: Process holding the lock: 2820269. Wait queue: 2820101.
Statement: DELETE FROM ir_attachment WHERE id IN (2077458)Date: 2023-03-30 08:20:58
Detail: Process holding the lock: 2885397. Wait queue: 2885524.
Statement: DELETE FROM ir_attachment WHERE id IN (2082302)Date: 2023-03-30 10:26:33
Detail: Process holding the lock: 2885397. Wait queue: 2885771.
Statement: DELETE FROM ir_attachment WHERE id IN (2082307)Date: 2023-03-30 10:26:42
12 3 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 30 08 2 10 1 - ERROR: process 2819844 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.041 ms at character 34
- ERROR: process 2819848 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.047 ms at character 34
- ERROR: process 2885817 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.034 ms at character 34
Detail: Process holding the lock: 2820269. Wait queue: 2819844.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name"Date: 2023-03-30 08:21:21
Detail: Process holding the lock: 2820269. Wait queue: 2819844, 2819848.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name"Date: 2023-03-30 08:21:22
Detail: Process holding the lock: 2885397. Wait queue: 2885817.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name"Date: 2023-03-30 10:27:19
13 2 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 30 12 1 14 1 - ERROR: null value in column "name" of relation "stock_location" violates not-null constraint
- ERROR: null value in column "model_id" of relation "fleet_vehicle" violates not-null constraint
Detail: Failing row contains (484, null, null, t, view, 1, null, 0, 0, 0, null, 1, f, null, null, null, 1012, 2023-03-30 12:02:58.712262, 1012, 2023-03-30 12:02:58.712262, null, null, null, f).
Statement: INSERT INTO "stock_location" ("id", "create_uid", "create_date", "write_uid", "write_date", "active", "company_id", "location_id", "name", "posx", "posy", "posz", "scrap_location", "transit_consider_no_company", "usage") VALUES (nextval('stock_location_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), true, 1, 1, NULL, 0, 0, 0, false, false, 'view') RETURNING idDate: 2023-03-30 12:02:58
Detail: Failing row contains (13944, null, 338, null, t, 1, null, null, 45658, null, null, null, null, null, 2023-03-30, 2023-03-30, null, 3, null, null, null, 5, miles, null, null, null, null, null, null, null, null, null, null, 952, 2023-03-30 14:45:26.682323, 952, 2023-03-30 14:45:26.682323, null, null, null).
Statement: INSERT INTO "fleet_vehicle" ("id", "create_uid", "create_date", "write_uid", "write_date", "acquisition_date", "active", "company_id", "doors", "driver_id", "first_contract_date", "name", "odometer_unit", "state_id") VALUES (nextval('fleet_vehicle_id_seq'), 952, (now() at time zone 'UTC'), 952, (now() at time zone 'UTC'), '2023-03-30', true, 1, 5, 45658, '2023-03-30', '338', 'miles', 3) RETURNING idDate: 2023-03-30 14:45:26
14 1 ERROR: column "..." must appear in the GROUP BY clause or be used in an aggregate function
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 30 07 1 - ERROR: column "sm.product_uom_qty" must appear in the GROUP BY clause or be used in an aggregate function at character 8
Statement: select sm.product_uom_qty as sumqty,pw.product_id ,pw.warehouse_id from product_warehouse_inventory as pw left join stock_move as sm on pw.product_id = sm.product_id and pw.warehouse_id =sm.warehouse_id and pw.company_id = sm.company_id and sm.location_dest_id in (5,15,468) and sm.state not in ('done','draft','cancel') where pw.product_id = 184023 and pw.warehouse_id = 41 group by pw.product_id,pw.warehouse_id;
Date: 2023-03-30 07:37:53