-
Global information
- Generated on Thu Mar 9 23:50:43 2023
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 225,758 log entries in 41s
- Log start from 2023-03-08 00:00:01 to 2023-03-08 23:59:15
-
Overview
Global Stats
- 960 Number of unique normalized queries
- 80,677 Number of queries
- 9h26m16s Total query duration
- 2023-03-08 00:00:01 First query
- 2023-03-08 23:59:04 Last query
- 30 queries/s at 2023-03-08 19:02:49 Query peak
- 9h26m16s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 9h26m16s Execute total duration
- 5,438 Number of events
- 15 Number of unique normalized events
- 2,976 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
- 80,677 Average queries per session
- 9h26m16s 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
- 30 queries/s Query Peak
- 2023-03-08 19:02:49 Date
SELECT Traffic
Key values
- 30 queries/s Query Peak
- 2023-03-08 19:02:49 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 13 queries/s Query Peak
- 2023-03-08 14:07:35 Date
Queries duration
Key values
- 9h26m16s 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 08 00 1,283 0ms 834ms 143ms 7s902ms 23s690ms 57s51ms 01 142 0ms 5s284ms 392ms 2s196ms 5s700ms 12s541ms 02 127 0ms 4s578ms 447ms 368ms 6s618ms 26s517ms 03 112 0ms 1s780ms 417ms 2s926ms 6s469ms 9s21ms 04 29 0ms 147ms 128ms 137ms 266ms 388ms 05 31 0ms 492ms 141ms 260ms 284ms 492ms 06 32 0ms 140ms 127ms 140ms 389ms 401ms 07 82 0ms 5s159ms 682ms 2s192ms 7s698ms 14s338ms 08 64 0ms 2s809ms 506ms 1s926ms 1s980ms 12s973ms 09 123 0ms 38s451ms 1s790ms 1s81ms 51s364ms 58s996ms 10 7,246 0ms 10s557ms 197ms 51s155ms 55s769ms 1m3s 11 246 0ms 1s857ms 283ms 2s585ms 4s289ms 23s196ms 12 3,470 120ms 11s726ms 384ms 43s710ms 45s157ms 1m2s 13 7,446 120ms 22s173ms 392ms 1m20s 1m36s 1m56s 14 9,480 120ms 14s547ms 444ms 1m53s 2m8s 3m51s 15 8,216 120ms 18s348ms 418ms 1m39s 2m10s 3m 16 7,565 120ms 31s814ms 421ms 1m41s 1m48s 2m9s 17 7,304 120ms 6m42s 592ms 2m16s 2m47s 8m53s 18 6,994 120ms 1m38s 541ms 2m13s 3m 3m41s 19 8,681 120ms 38s38ms 421ms 1m48s 2m8s 2m56s 20 7,550 120ms 22s974ms 407ms 1m51s 2m23s 2m49s 21 3,251 120ms 10s995ms 430ms 1m2s 1m6s 1m11s 22 929 0ms 3s682ms 388ms 17s960ms 21s779ms 26s835ms 23 274 0ms 1s790ms 357ms 4s859ms 5s923ms 6s998ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 08 00 1,271 0 142ms 1s470ms 7s902ms 51s686ms 01 111 0 297ms 1s215ms 1s730ms 4s559ms 02 69 0 243ms 135ms 368ms 4s3ms 03 73 0 321ms 398ms 1s743ms 2s727ms 04 29 0 128ms 125ms 137ms 293ms 05 31 0 141ms 146ms 260ms 386ms 06 32 0 127ms 128ms 140ms 401ms 07 63 0 390ms 846ms 1s446ms 2s554ms 08 53 0 418ms 245ms 1s328ms 7s962ms 09 62 61 1s790ms 463ms 1s225ms 53s443ms 10 7,141 0 179ms 50s88ms 51s155ms 55s948ms 11 232 0 268ms 1s322ms 2s351ms 8s650ms 12 2,750 0 275ms 21s331ms 25s420ms 32s3ms 13 5,212 0 266ms 32s334ms 36s354ms 42s525ms 14 5,374 0 294ms 35s676ms 45s794ms 55s442ms 15 5,178 0 249ms 29s258ms 36s800ms 46s358ms 16 5,075 0 276ms 35s104ms 48s412ms 53s718ms 17 5,005 0 319ms 32s724ms 37s823ms 49s456ms 18 4,474 0 278ms 27s45ms 35s142ms 47s100ms 19 6,138 0 236ms 37s438ms 43s254ms 49s883ms 20 5,314 0 246ms 29s86ms 45s147ms 1m4s 21 2,141 0 239ms 14s454ms 20s400ms 37s128ms 22 746 0 292ms 6s919ms 8s773ms 13s530ms 23 242 0 296ms 2s315ms 3s157ms 5s24ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 08 00 2 10 0 0 199ms 0ms 0ms 210ms 01 3 20 8 0 733ms 0ms 196ms 5s284ms 02 12 45 1 0 688ms 0ms 0ms 5s557ms 03 4 34 1 0 597ms 0ms 199ms 4s160ms 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 5 6 0 1s480ms 0ms 0ms 1s845ms 08 0 4 2 0 582ms 0ms 0ms 786ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 6 68 28 0 1s477ms 0ms 521ms 22s602ms 11 0 11 2 0 570ms 0ms 0ms 1s73ms 12 103 604 2 0 805ms 9s157ms 15s295ms 30s447ms 13 249 1,873 18 0 710ms 21s402ms 33s195ms 59s16ms 14 388 3,572 17 0 658ms 42s960ms 52s935ms 1m28s 15 291 2,646 14 0 723ms 30s467ms 51s244ms 1m24s 16 293 2,094 6 0 738ms 30s327ms 40s575ms 1m6s 17 190 1,942 49 0 1s241ms 42s158ms 1m19s 1m54s 18 262 2,110 8 0 1s59ms 28s732ms 52s827ms 2m2s 19 317 2,096 33 0 894ms 36s172ms 54s391ms 1m6s 20 255 1,890 10 0 816ms 24s453ms 48s355ms 1m29s 21 127 948 6 0 815ms 12s250ms 22s60ms 56s655ms 22 52 128 1 0 783ms 1s844ms 4s511ms 10s887ms 23 10 20 2 0 819ms 0ms 0ms 2s880ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 08 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 08 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 08 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 08 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 08 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 08 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 08 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 08 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 08 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 1,340 locks Total
Type Object Count Total Duration Average Duration (s) AccessExclusiveLock 76 1m55s 1s520ms tuple 76 1m55s 1s520ms AccessShareLock 5 11s863ms 2s372ms relation 5 11s863ms 2s372ms ExclusiveLock 5 13s81ms 2s616ms tuple 5 13s81ms 2s616ms RowExclusiveLock 3 10s570ms 3s523ms relation 3 10s570ms 3s523ms ShareLock 1,251 38m59s 1s869ms relation 11 20s296ms 1s845ms transaction 1,240 38m38s 1s870ms Total 1,340 41m30s 1s858ms Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1,256 34m55s 1s 5s142ms 1s668ms delete from ir_attachment where id in (...);-
DELETE FROM ir_attachment WHERE id IN (1043564);
Date: 2023-03-08 07:58:53
-
DELETE FROM ir_attachment WHERE id IN (1043525);
Date: 2023-03-08 07:57:03
-
DELETE FROM ir_attachment WHERE id IN (1051686);
Date: 2023-03-08 12:54:12
2 47 3m30s 1s406ms 21s751ms 4s487ms 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 != 329514 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 != 329514 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2023-03-08 13:55:56
3 2 1m25s 24s192ms 1m1s 42s958ms update "product_warehouse_inventory" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "product_warehouse_inventory" SET "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (330968, 38479, 38480, 38481, 38482, 38483, 38484, 38485, 330966, 38487, 330967, 38486, 37465, 37466, 37467, 37468, 37469, 38495, 38496, 38497, 38498, 38499, 38501, 38502, 38503, 38511, 38512, 38513, 38514, 38515, 38516, 38517, 38518, 38519);
Date: 2023-03-08 17:43:46
-
UPDATE "product_warehouse_inventory" SET "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (38400, 37633, 37634, 38403, 37635, 37636, 37637, 37638, 38404, 38401, 38536, 38537, 38540, 38535, 38538, 38539, 38547, 38548, 38549, 38550, 38551, 38552, 38402, 37481, 37482, 37483, 37484, 37485, 39026, 39028, 39029, 39030, 38399);
Date: 2023-03-08 17:34:28
-
UPDATE "product_warehouse_inventory" SET "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (38400, 37633, 37634, 38403, 37635, 37636, 37637, 37638, 38404, 38401, 38536, 38537, 38540, 38535, 38538, 38539, 38547, 38548, 38549, 38550, 38551, 38552, 38402, 37481, 37482, 37483, 37484, 37485, 39026, 39028, 39029, 39030, 38399);
Date: 2023-03-08 17:34:28
4 8 24s982ms 1s365ms 4s866ms 3s122ms 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" = 1056350, "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (465614);
Date: 2023-03-08 14:51:09
5 7 12s757ms 1s416ms 2s222ms 1s822ms 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-08 07:59:20
-
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-08 07:58:31
-
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-08 08:59:06
6 1 9s939ms 9s939ms 9s939ms 9s939ms with dupes as ( select min(id) as to_update_quant_id, (array_agg(id order by id))[? :array_length(array_agg(id), ?)] as to_delete_quant_ids, sum(reserved_quantity) as reserved_quantity, sum(quantity) as quantity from stock_quant group by product_id, company_id, location_id, lot_id, package_id, owner_id, in_date, move_options having count(id) > ? ), _up as ( update stock_quant q set quantity = d.quantity, reserved_quantity = d.reserved_quantity from dupes d where d.to_update_quant_id = q.id) delete from stock_quant where id in ( select unnest(to_delete_quant_ids) from dupes);-
WITH dupes AS ( SELECT min(id) as to_update_quant_id, (array_agg(id ORDER BY id))[2:array_length(array_agg(id), 1)] as to_delete_quant_ids, SUM(reserved_quantity) as reserved_quantity, SUM(quantity) as quantity FROM stock_quant GROUP BY product_id, company_id, location_id, lot_id, package_id, owner_id, in_date, move_options HAVING count(id) > 1 ), _up AS ( UPDATE stock_quant q SET quantity = d.quantity, reserved_quantity = d.reserved_quantity FROM dupes d WHERE d.to_update_quant_id = q.id) DELETE FROM stock_quant WHERE id in ( SELECT unnest(to_delete_quant_ids) from dupes);
Date: 2023-03-08 14:11:46
-
WITH dupes AS ( SELECT min(id) as to_update_quant_id, (array_agg(id ORDER BY id))[2:array_length(array_agg(id), 1)] as to_delete_quant_ids, SUM(reserved_quantity) as reserved_quantity, SUM(quantity) as quantity FROM stock_quant GROUP BY product_id, company_id, location_id, lot_id, package_id, owner_id, in_date, move_options HAVING count(id) > 1 ), _up AS ( UPDATE stock_quant q SET quantity = d.quantity, reserved_quantity = d.reserved_quantity FROM dupes d WHERE d.to_update_quant_id = q.id) DELETE FROM stock_quant WHERE id in ( SELECT unnest(to_delete_quant_ids) from dupes);
Date: 2023-03-08 17:14:50
-
WITH dupes AS ( SELECT min(id) as to_update_quant_id, (array_agg(id ORDER BY id))[2:array_length(array_agg(id), 1)] as to_delete_quant_ids, SUM(reserved_quantity) as reserved_quantity, SUM(quantity) as quantity FROM stock_quant GROUP BY product_id, company_id, location_id, lot_id, package_id, owner_id, in_date, move_options HAVING count(id) > 1 ), _up AS ( UPDATE stock_quant q SET quantity = d.quantity, reserved_quantity = d.reserved_quantity FROM dupes d WHERE d.to_update_quant_id = q.id) DELETE FROM stock_quant WHERE id in ( SELECT unnest(to_delete_quant_ids) from dupes);
Date: 2023-03-08 17:48:53
7 4 7s538ms 1s743ms 2s58ms 1s884ms 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-08 07:58:55
-
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-08 07:57:21
-
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-08 07:57:31
8 2 6s539ms 3s261ms 3s277ms 3s269ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-02 13:32:32', '2023-03-02 13:32:32', '16-14G Butt Conn.Sta-DRY', 61245, 5, 445, 'new_product', '[1-1962-100] 16-14G Butt Conn.Sta-DRY', NULL, 'N-03205', 47590, 338, '0', 'make_to_stock', 184203, 90, '24.00', false, 380, 97418, 10, 'draft', 43) RETURNING id;
Date: 2023-03-08 14:07:33
-
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-02 13:32:32', '2023-03-02 13:32:32', '16-14G Butt Conn.Sta-DRY', 61245, 5, 445, 'new_product', '[1-1962-100] 16-14G Butt Conn.Sta-DRY', NULL, 'N-03205', 47590, 338, '0', 'make_to_stock', 184203, 90, '24.00', false, 380, 97418, 10, 'draft', 43) RETURNING id;
Date: 2023-03-08 14:07:29
-
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-08 20:59:17', '2023-03-08 20:59:17', 'RVC Cable', 64686, 5, 437, 'new_product', '[5M1361-072I] RVC Cable', NULL, 'I-05094', 41277, 330, '0', 'make_to_stock', 193774, 1, '1.00', false, 371, 102888, 10, 'draft', 42) RETURNING id;
Date: 2023-03-08 21:00:14
9 2 5s278ms 2s470ms 2s808ms 2s639ms select f.name, d.json_value from ir_default d join ir_model_fields f on d.field_id = f.id where f.model = ? and (d.user_id is null or d.user_id = ?) and (d.company_id is null or d.company_id = ?) and d.condition is null order by d.user_id, d.company_id, d.id;-
SELECT f.name, d.json_value FROM ir_default d JOIN ir_model_fields f ON d.field_id = f.id WHERE f.model = 'ir.attachment' AND (d.user_id IS NULL OR d.user_id = 1) AND (d.company_id IS NULL OR d.company_id = 1) AND d.condition IS NULL ORDER BY d.user_id, d.company_id, d.id;
Date: 2023-03-08 08:59:04
-
SELECT f.name, d.json_value FROM ir_default d JOIN ir_model_fields f ON d.field_id = f.id WHERE f.model = 'website.visitor' AND (d.user_id IS NULL OR d.user_id = 4) AND (d.company_id IS NULL OR d.company_id = 1) AND d.condition IS NULL ORDER BY d.user_id, d.company_id, d.id;
Date: 2023-03-08 08:59:04
-
SELECT f.name, d.json_value FROM ir_default d JOIN ir_model_fields f ON d.field_id = f.id WHERE f.model = 'ir.attachment' AND (d.user_id IS NULL OR d.user_id = 1) AND (d.company_id IS NULL OR d.company_id = 1) AND d.condition IS NULL ORDER BY d.user_id, d.company_id, d.id;
Date: 2023-03-08 08:59:04
10 1 5s221ms 5s221ms 5s221ms 5s221ms update ir_module_module set state = ? where state in (...);-
UPDATE ir_module_module SET state = 'installed' WHERE state IN ('to remove', 'to upgrade');
Date: 2023-03-08 07:58:34
11 2 4s846ms 2s165ms 2s681ms 2s423ms 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-08 08:59:04
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'res.partner') ORDER BY "ir_model_fields"."name";
Date: 2023-03-08 07:59:09
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'res.partner') ORDER BY "ir_model_fields"."name";
Date: 2023-03-08 07:58:34
12 1 3s776ms 3s776ms 3s776ms 3s776ms insert into "sale_order" ("id", "create_uid", "create_date", "write_uid", "write_date", "analytic_account_id", "branch_id", "campaign_id", "carrier_id", "cart_recovery_email_sent", "client_order_ref", "commitment_date", "company_id", "date_order", "delivery", "exception_sale", "expense_choice", "fiscal_position_id", "incoterm", "is_cash_sale_order", "is_core_sale", "is_order_unlock", "is_self_used", "marked_as_lost", "medium_id", "name", "note", "opportunity_id", "order_type", "origin", "override_return_rule", "partner_id", "partner_invoice_id", "partner_shipping_id", "payment_term_id", "payment_term_need_password", "picking_policy", "pricelist_id", "project_id", "recompute_delivery_price", "require_payment", "require_signature", "sale_action", "sale_order_template_id", "sale_part_id", "sale_product_qty", "show_update_pricelist", "signed_by", "signed_on", "source_id", "special_instructions", "state", "team_id", "user_id", "validity_date", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), null, ?, null, ?, false, ?, null, ?, ?, null, false, null, null, null, true, false, false, false, false, null, ?, ?, null, ?, null, false, ?, ?, ?, ?, false, ?, ?, null, false, false, false, ?, null, ?, ?.?, false, null, null, null, null, ?, ?, ?, ?, ?) returning id;-
INSERT INTO "sale_order" ("id", "create_uid", "create_date", "write_uid", "write_date", "analytic_account_id", "branch_id", "campaign_id", "carrier_id", "cart_recovery_email_sent", "client_order_ref", "commitment_date", "company_id", "date_order", "delivery", "exception_sale", "expense_choice", "fiscal_position_id", "incoterm", "is_cash_sale_order", "is_core_sale", "is_order_unlock", "is_self_used", "marked_as_lost", "medium_id", "name", "note", "opportunity_id", "order_type", "origin", "override_return_rule", "partner_id", "partner_invoice_id", "partner_shipping_id", "payment_term_id", "payment_term_need_password", "picking_policy", "pricelist_id", "project_id", "recompute_delivery_price", "require_payment", "require_signature", "sale_action", "sale_order_template_id", "sale_part_id", "sale_product_qty", "show_update_pricelist", "signed_by", "signed_on", "source_id", "special_instructions", "state", "team_id", "user_id", "validity_date", "warehouse_id") VALUES (nextval('sale_order_id_seq'), 1005, (now() at time zone 'UTC'), 1005, (now() at time zone 'UTC'), NULL, 37, NULL, 78, false, 'GEAR SHOP ---RORY', NULL, 1, '2023-03-08 15:25:52', NULL, false, NULL, NULL, NULL, true, false, false, false, false, NULL, 'G-04797', '', NULL, 'sale', NULL, false, 34082, 34082, 34082, 112, false, 'direct', 2132, NULL, false, false, false, 1, NULL, 194511, 4.0, false, NULL, NULL, NULL, NULL, 'draft', 1, 1005, '2023-09-04', 35) RETURNING id;
Date: 2023-03-08 15:26:54
13 1 3s475ms 3s475ms 3s475ms 3s475ms insert into ir_model_data (module, name, model, res_id, noupdate) values (?, ?, ?, ?, false) on conflict (module, name) do update set (model, res_id, write_date) = (excluded.model, excluded.res_id, now() at time zone ?);-
INSERT INTO ir_model_data (module, name, model, res_id, noupdate) VALUES ('sale', 'constraint_sale_order_date_order_conditional_required', 'ir.model.constraint', 833, false) ON CONFLICT (module, name) DO UPDATE SET (model, res_id, write_date) = (EXCLUDED.model, EXCLUDED.res_id, now() at time zone 'UTC');
Date: 2023-03-08 07:58:53
14 1 3s432ms 3s432ms 3s432ms 3s432ms 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" = 38, "currency_id" = 2, "cus_date_order" = '2023-03-08 16:53:09', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = 2933, "is_service" = false, "margin" = '244.00', "margin_percent" = 0.46051638230409175, "order_partner_id" = 34083, "price_reduce" = '66.23', "price_reduce_taxexcl" = '66.23', "price_reduce_taxinc" = '70.20', "price_subtotal" = '529.84', "price_tax" = 31.79, "price_total" = '561.63', "purchase_price" = '35.73', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 985, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 36, "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (102419);
Date: 2023-03-08 16:53:30
-
UPDATE "sale_order_line" SET "branch_id" = 46, "currency_id" = 2, "cus_date_order" = '2023-03-08 13:33:33', "cus_part_route" = NULL, "cus_user_id" = 1009, "inventory_vendor_id" = 3101, "is_service" = false, "margin" = '30.12', "margin_percent" = 0.3201190349665214, "order_partner_id" = 42693, "price_reduce" = '94.09', "price_reduce_taxexcl" = '94.09', "price_reduce_taxinc" = '94.09', "price_subtotal" = '94.09', "price_tax" = 0.0, "price_total" = '94.09', "purchase_price" = '63.97', "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" = 43, "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (101854);
Date: 2023-03-08 13:36:48
-
UPDATE "sale_order_line" SET "branch_id" = 39, "currency_id" = 2, "cus_date_order" = '2023-03-08 13:39:08', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = 2955, "is_service" = false, "margin" = '153.61', "margin_percent" = 0.4099983985480169, "order_partner_id" = 42604, "price_reduce" = '374.66', "price_reduce_taxexcl" = '374.66', "price_reduce_taxinc" = '397.14', "price_subtotal" = '374.66', "price_tax" = 22.48, "price_total" = '397.14', "purchase_price" = '221.05', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 985, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 37, "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (101864);
Date: 2023-03-08 13:39:30
15 1 2s449ms 2s449ms 2s449ms 2s449ms update "account_move" set "access_token" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "access_token" = 'a4172b61-e698-44a9-ac87-8acd9bb3e504', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (467640);
Date: 2023-03-08 18:28:30
16 1 2s369ms 2s369ms 2s369ms 2s369ms update "sale_order_line" set "branch_id" = ?, "currency_id" = ?, "cus_date_order" = ?, "cus_part_route" = ?, "cus_user_id" = ?, "inventory_vendor_id" = ?, "is_service" = true, "margin" = ?, "margin_percent" = ?.?, "order_partner_id" = ?, "price_reduce" = ?, "price_reduce_taxexcl" = ?, "price_reduce_taxinc" = ?, "price_subtotal" = ?, "price_tax" = ?.?, "price_total" = ?, "purchase_price" = ?, "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" = 44, "currency_id" = 2, "cus_date_order" = '2023-03-08 19:17:04', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = NULL, "is_service" = true, "margin" = '35.00', "margin_percent" = 1.0, "order_partner_id" = 34091, "price_reduce" = '35.00', "price_reduce_taxexcl" = '35.00', "price_reduce_taxinc" = '37.36', "price_subtotal" = '35.00', "price_tax" = 2.36, "price_total" = '37.36', "purchase_price" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 985, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 41, "write_uid" = 955, "write_date" = (now() at time zone 'UTC') WHERE id IN (102776);
Date: 2023-03-08 19:59:45
-
UPDATE "sale_order_line" SET "branch_id" = 39, "currency_id" = 2, "cus_date_order" = '2023-03-08 19:22:14', "cus_part_route" = NULL, "cus_user_id" = 1027, "inventory_vendor_id" = NULL, "is_service" = true, "margin" = '20.00', "margin_percent" = 1.0, "order_partner_id" = 37904, "price_reduce" = '20.00', "price_reduce_taxexcl" = '20.00', "price_reduce_taxinc" = '21.20', "price_subtotal" = '20.00', "price_tax" = 1.2, "price_total" = '21.20', "purchase_price" = '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" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (102707);
Date: 2023-03-08 19:23:17
-
UPDATE "sale_order_line" SET "branch_id" = 37, "currency_id" = 2, "cus_date_order" = '2023-03-08 18:05:00', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = NULL, "is_service" = true, "margin" = '23.11', "margin_percent" = 1.0, "order_partner_id" = 45961, "price_reduce" = '23.11', "price_reduce_taxexcl" = '23.11', "price_reduce_taxinc" = '23.11', "price_subtotal" = '23.11', "price_tax" = 0.0, "price_total" = '23.11', "purchase_price" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 985, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 35, "write_uid" = 1020, "write_date" = (now() at time zone 'UTC') WHERE id IN (102636);
Date: 2023-03-08 18:36:41
17 1 2s323ms 2s323ms 2s323ms 2s323ms 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" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (465663);
Date: 2023-03-08 14:55:20
18 1 1s738ms 1s738ms 1s738ms 1s738ms select * from ir_model_fields where state = ?;-
SELECT * FROM ir_model_fields WHERE state = 'manual';
Date: 2023-03-08 07:59:09
-
SELECT * FROM ir_model_fields WHERE state = 'manual';
Date: 2023-03-08 07:59:09
19 1 1s324ms 1s324ms 1s324ms 1s324ms update "sale_order" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (33998);
Date: 2023-03-08 14:07:45
Queries that waited the most
Rank Wait time Query 1 1m1s UPDATE "product_warehouse_inventory" SET "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (330968, 38479, 38480, 38481, 38482, 38483, 38484, 38485, 330966, 38487, 330967, 38486, 37465, 37466, 37467, 37468, 37469, 38495, 38496, 38497, 38498, 38499, 38501, 38502, 38503, 38511, 38512, 38513, 38514, 38515, 38516, 38517, 38518, 38519);[ Date: 2023-03-08 17:43:46 ]
2 24s192ms UPDATE "product_warehouse_inventory" SET "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (38400, 37633, 37634, 38403, 37635, 37636, 37637, 37638, 38404, 38401, 38536, 38537, 38540, 38535, 38538, 38539, 38547, 38548, 38549, 38550, 38551, 38552, 38402, 37481, 37482, 37483, 37484, 37485, 39026, 39028, 39029, 39030, 38399);[ Date: 2023-03-08 17:34:28 ]
3 21s751ms 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 != 466971 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 != 466971 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-08 17:41:51 ]
4 19s503ms 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 != 466832 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 != 466832 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-08 17:34:30 ]
5 12s521ms 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 != 468321 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 != 468321 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-08 20:15:41 ]
6 11s927ms 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 != 467633 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 != 467633 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-08 18:28:06 ]
7 10s307ms 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 != 467149 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 != 467149 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-08 17:47:11 ]
8 9s939ms WITH dupes AS ( SELECT min(id) as to_update_quant_id, (array_agg(id ORDER BY id))[2:array_length(array_agg(id), 1)] as to_delete_quant_ids, SUM(reserved_quantity) as reserved_quantity, SUM(quantity) as quantity FROM stock_quant GROUP BY product_id, company_id, location_id, lot_id, package_id, owner_id, in_date, move_options HAVING count(id) > 1 ), _up AS ( UPDATE stock_quant q SET quantity = d.quantity, reserved_quantity = d.reserved_quantity FROM dupes d WHERE d.to_update_quant_id = q.id) DELETE FROM stock_quant WHERE id in ( SELECT unnest(to_delete_quant_ids) from dupes);[ Date: 2023-03-08 17:48:49 ]
9 9s463ms 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 != 442678 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 != 442678 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-08 19:03:00 ]
10 7s876ms 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 != 467300 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 != 467300 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-08 18:11:50 ]
11 7s751ms 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 != 466895 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 != 466895 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-08 17:37:20 ]
12 6s862ms 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 != 443515 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 != 443515 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-08 14:52:36 ]
13 6s259ms 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 != 465953 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 != 465953 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-08 15:26:43 ]
14 5s261ms 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 != 465419 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 != 465419 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-08 14:19:11 ]
15 5s221ms UPDATE ir_module_module SET state = 'installed' WHERE state IN ('to remove', 'to upgrade');[ Date: 2023-03-08 07:58:34 ]
16 5s142ms DELETE FROM ir_attachment WHERE id IN (1043564);[ Date: 2023-03-08 07:58:53 ]
17 4s866ms UPDATE "account_move" SET "message_main_attachment_id" = 1057288, "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (465836);[ Date: 2023-03-08 15:15:29 ]
18 4s678ms UPDATE "account_move" SET "message_main_attachment_id" = 1057178, "write_uid" = 1000, "write_date" = (now() at time zone 'UTC') WHERE id IN (465795);[ Date: 2023-03-08 15:11:47 ]
19 4s400ms UPDATE "account_move" SET "message_main_attachment_id" = 1068943, "write_uid" = 1043, "write_date" = (now() at time zone 'UTC') WHERE id IN (468430);[ Date: 2023-03-08 20:40:37 ]
20 4s307ms 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 != 466054 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 != 466054 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-08 15:40:38 ]
-
Queries
Queries by type
Key values
- 56,816 Total read queries
- 23,861 Total write queries
Queries by database
Key values
- unknown Main database
- 80,677 Requests
- 9h26m16s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 80,691 Requests
User Request type Count Duration unknown Total 80,691 9h26m20s copy to 61 3m30s cte 889 2m15s ddl 13 21s739ms delete 214 8m28s insert 2,564 36m17s select 56,830 4h1m46s update 20,120 4h33m40s Duration by user
Key values
- 9h26m20s (unknown) Main time consuming user
User Request type Count Duration unknown Total 80,691 9h26m20s copy to 61 3m30s cte 889 2m15s ddl 13 21s739ms delete 214 8m28s insert 2,564 36m17s select 56,830 4h1m46s update 20,120 4h33m40s Queries by host
Key values
- unknown Main host
- 80,691 Requests
- 9h26m20s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 80,677 Requests
- 9h26m16s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2023-03-08 14:46:12 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 57,789 100-500ms duration
Slowest individual queries
Rank Duration Query 1 6m42s SELECT partner_id, partner_name, to_char(last_time_entries_checked, 'YYYY-MM-DD') AS last_time_entries_checked, account_id, account_name, account_code, max_date FROM ( SELECT p.id AS partner_id, p.name AS partner_name, p.last_time_entries_checked AS last_time_entries_checked, a.id AS account_id, a.name AS account_name, a.code AS account_code, MAX(l.write_date) AS max_date FROM account_move_line l RIGHT JOIN account_account a ON (a.id = l.account_id) RIGHT JOIN account_account_type at ON (at.id = a.user_type_id) RIGHT JOIN res_partner p ON (l.partner_id = p.id) WHERE a.reconcile IS TRUE AND l.full_reconcile_id is NULL AND at.type = 'payable' AND l.company_id = 1 AND EXISTS ( SELECT NULL FROM account_move_line l JOIN account_move move ON l.move_id = move.id JOIN account_journal journal ON l.journal_id = journal.id WHERE l.account_id = a.id AND l.partner_id = p.id AND l.amount_residual > 0 AND move.state = 'posted') AND EXISTS ( SELECT NULL FROM account_move_line l JOIN account_move move ON l.move_id = move.id JOIN account_journal journal ON l.journal_id = journal.id WHERE l.account_id = a.id AND l.partner_id = p.id AND l.amount_residual < 0 AND move.state = 'posted') GROUP BY l.partner_id, p.id, a.id, a.name, a.code, p.last_time_entries_checked ORDER BY p.last_time_entries_checked) as s WHERE (last_time_entries_checked IS NULL OR max_date > last_time_entries_checked);[ Date: 2023-03-08 17:45:00 ]
2 1m38s DELETE FROM account_move_line WHERE id IN (1774300, 1774301, 1774302, 1774303, 1774304, 1774305, 1774306, 1774307, 1774308, 1774309, 1774310, 1774311, 1774312, 1774313, 1774314, 1774315, 1774316, 1774317, 1774318, 1774319, 1774320, 1774321, 1774322, 1774323, 1774324, 1774325, 1774326, 1774327, 1774328, 1774329, 1774330, 1774331, 1774332, 1774333, 1774334, 1774335, 1774336, 1774337, 1774338, 1774339, 1774340, 1774341, 1774342, 1774343, 1774344, 1774345, 1774346, 1774347, 1774348, 1774349, 1774350, 1774351, 1774352, 1774353, 1774354, 1774355, 1774356, 1774357, 1774358, 1774359, 1774360, 1774361, 1774362, 1774363, 1774364, 1774365, 1774366, 1774367, 1774368, 1774369, 1774370, 1774371, 1774372, 1774373, 1774374, 1774375, 1774376, 1774377, 1774378, 1774379, 1774380, 1774381, 1774382, 1774383, 1774384, 1774385, 1774386, 1774387, 1774388, 1774389, 1774390, 1774391, 1774392, 1774393, 1774394, 1774395, 1774396, 1774397, 1774398, 1774399, 1774400, 1774401, 1774402, 1774403, 1774404, 1774405, 1774406, 1774407, 1774408, 1774409, 1774410, 1774411, 1774412, 1774413, 1774414, 1774415, 1774416, 1774417, 1774418, 1774419, 1774420, 1774421, 1774422, 1774423, 1774424, 1774425, 1774426, 1774427, 1774428, 1774429, 1774430, 1774431, 1774432, 1774433, 1774434, 1774435, 1774436, 1774437, 1774438, 1774439, 1774440, 1774441, 1774442, 1774443, 1774444, 1774445, 1774446, 1774447, 1774448, 1774449, 1774450, 1774451, 1774452, 1774453, 1774454, 1774455, 1774456, 1774457, 1774458, 1774459, 1774460, 1774461, 1774462, 1774463, 1774464, 1774465, 1774466, 1774467, 1774468, 1774469, 1774470, 1774471, 1774472, 1774473, 1774474, 1774475, 1774476, 1774477, 1774478, 1774479, 1774480, 1774481, 1774482, 1774483, 1774484, 1774485, 1774486, 1774487, 1774488, 1774489, 1774490, 1774491, 1774492, 1774493, 1774494, 1774495, 1774496, 1774497, 1774498, 1774499, 1774500, 1774501, 1774502, 1774503, 1774504, 1774505, 1774506, 1774507, 1774508, 1774509, 1774510, 1774511, 1774512, 1774513, 1774514, 1774515, 1774516, 1774517, 1774518, 1774519, 1774520, 1774521, 1774522, 1774523, 1774524, 1774525, 1774526, 1774527, 1774528, 1774529, 1774530, 1774531, 1774532, 1774533, 1774534, 1774535, 1774536, 1774537, 1774538, 1774539, 1774540, 1774541, 1774542, 1774543, 1774544, 1774545, 1774546, 1774547, 1774548, 1774549, 1774550, 1774551, 1774552, 1774553, 1774554, 1774555, 1774556, 1774557, 1774558, 1774559, 1774560, 1774561, 1774562, 1774563, 1774564, 1774565, 1774566, 1774567, 1774568, 1774569, 1774570, 1774571, 1774572, 1774573, 1774574);[ Date: 2023-03-08 18:00:29 ]
3 1m1s UPDATE "product_warehouse_inventory" SET "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (330968, 38479, 38480, 38481, 38482, 38483, 38484, 38485, 330966, 38487, 330967, 38486, 37465, 37466, 37467, 37468, 37469, 38495, 38496, 38497, 38498, 38499, 38501, 38502, 38503, 38511, 38512, 38513, 38514, 38515, 38516, 38517, 38518, 38519);[ Date: 2023-03-08 17:43:46 ]
4 38s451ms COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, ref_id, ref) TO stdout;[ Date: 2023-03-08 09:01:37 ]
5 38s38ms UPDATE "stock_move" SET "is_done" = true, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (304523, 304525, 304526, 304529, 304530, 304531, 304532, 304533, 304534, 304535, 304536, 304537, 304538, 304539, 304540, 304548, 304549, 304550, 304553, 304555, 304558, 304561, 304562, 304565, 304566, 304567, 304568, 304569, 304570, 304571, 304575, 304577, 304578, 304582, 304584, 304585, 307658, 307660, 307663);[ Date: 2023-03-08 19:37:08 ]
6 36s350ms UPDATE "stock_move" SET "date" = '2023-03-08 17:35:49', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:36:26 ]
7 35s427ms UPDATE "stock_move" SET "date" = '2023-03-08 19:34:55', "state" = 'done', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (304525, 304526, 304529, 304530, 304531, 304532, 304533, 304534, 304535, 304536, 304537, 304538, 304539, 304540, 304548, 304549, 304550, 304553, 304555, 304558, 304561, 304562, 304565, 304566, 304567, 304568, 304569, 304570, 304571, 304575, 304577, 304578, 304582, 304584, 304585, 307658, 307660, 307663);[ Date: 2023-03-08 19:35:34 ]
8 33s797ms UPDATE "stock_move" SET "date" = '2023-03-08 17:45:18', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:45:52 ]
9 33s389ms UPDATE "stock_move" SET "date" = '2023-03-08 17:35:05', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:35:39 ]
10 33s314ms UPDATE "stock_move" SET "date" = '2023-03-08 17:37:31', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:38:04 ]
11 33s289ms UPDATE "stock_move" SET "date" = '2023-03-08 17:42:23', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:42:57 ]
12 33s188ms UPDATE "stock_move" SET "date" = '2023-03-08 17:47:22', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:47:56 ]
13 32s970ms UPDATE "stock_move" SET "date" = '2023-03-08 17:31:46', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:32:19 ]
14 32s615ms UPDATE "stock_move" SET "date" = '2023-03-08 17:43:53', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:44:25 ]
15 31s814ms UPDATE "stock_move" SET "date" = '2023-03-08 16:30:20', "state" = 'done', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (301336, 301337, 301338, 301339, 301340, 301341, 301342, 301343, 301345, 301346, 301347, 301348, 301349, 301350, 301351, 301352, 301353, 301354, 301355, 301356, 301357, 301359, 301360, 301361, 301362, 301363, 301364, 301365, 301366, 301367, 301370, 301372, 301373);[ Date: 2023-03-08 16:30:52 ]
16 31s752ms UPDATE "stock_move" SET "date" = '2023-03-08 17:33:08', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:33:40 ]
17 31s736ms UPDATE "stock_move" SET "date" = '2023-03-08 17:46:45', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:47:17 ]
18 31s441ms UPDATE "stock_move" SET "date" = '2023-03-08 17:27:49', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:28:21 ]
19 31s357ms UPDATE "stock_move" SET "date" = '2023-03-08 17:29:12', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:29:44 ]
20 31s276ms UPDATE "stock_move" SET "date" = '2023-03-08 17:26:26', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);[ Date: 2023-03-08 17:26:57 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 44m52s 4,780 449ms 1s199ms 563ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? 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 #1
Day Hour Count Duration Avg duration Mar 08 00 12 6s452ms 537ms 01 28 15s374ms 549ms 02 15 8s67ms 537ms 03 24 12s967ms 540ms 10 14 7s573ms 540ms 12 157 1m26s 548ms 13 541 5m4s 562ms 14 948 8m59s 569ms 15 540 5m5s 565ms 16 616 5m47s 563ms 17 519 4m53s 565ms 18 414 3m51s 558ms 19 399 3m46s 568ms 20 401 3m45s 561ms 21 137 1m15s 547ms 22 15 8s131ms 542ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%476%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%476%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%476%'))) 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-08 14:07:17 Duration: 1s199ms
-
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 ('%%scStock%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%sc Stock%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%sc Stock%'))) 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-08 16:00:22 Duration: 1s68ms
-
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 ('%%4762%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%4762%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%4762%'))) 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-08 14:07:18 Duration: 1s25ms
2 41m42s 806 880ms 36s350ms 3s104ms update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 08 10 3 7s416ms 2s472ms 11 1 1s33ms 1s33ms 12 14 18s527ms 1s323ms 13 80 2m31s 1s895ms 14 133 4m9s 1s875ms 15 102 4m8s 2s439ms 16 64 2m58s 2s791ms 17 102 11m45s 6s921ms 18 99 6m36s 4s6ms 19 106 4m35s 2s600ms 20 73 3m4s 2s530ms 21 29 1m23s 2s896ms -
UPDATE "stock_move" SET "date" = '2023-03-08 17:35:49', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);
Date: 2023-03-08 17:36:26 Duration: 36s350ms
-
UPDATE "stock_move" SET "date" = '2023-03-08 19:34:55', "state" = 'done', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (304525, 304526, 304529, 304530, 304531, 304532, 304533, 304534, 304535, 304536, 304537, 304538, 304539, 304540, 304548, 304549, 304550, 304553, 304555, 304558, 304561, 304562, 304565, 304566, 304567, 304568, 304569, 304570, 304571, 304575, 304577, 304578, 304582, 304584, 304585, 307658, 307660, 307663);
Date: 2023-03-08 19:35:34 Duration: 35s427ms
-
UPDATE "stock_move" SET "date" = '2023-03-08 17:45:18', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);
Date: 2023-03-08 17:45:52 Duration: 33s797ms
3 34m4s 1,384 873ms 27s31ms 1s477ms 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 #3
Day Hour Count Duration Avg duration Mar 08 10 7 7s183ms 1s26ms 11 1 883ms 883ms 12 15 14s987ms 999ms 13 123 2m21s 1s154ms 14 201 3m43s 1s114ms 15 196 3m37s 1s108ms 16 119 2m28s 1s249ms 17 181 9m35s 3s177ms 18 231 5m29s 1s425ms 19 138 3m2s 1s323ms 20 113 2m12s 1s172ms 21 59 1m10s 1s189ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292617, 292618, 292619, 292620, 292621, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647);
Date: 2023-03-08 17:37:09 Duration: 27s31ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292617, 292618, 292619, 292620, 292621, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647);
Date: 2023-03-08 17:45:06 Duration: 25s524ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292617, 292618, 292619, 292620, 292621, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647);
Date: 2023-03-08 17:48:36 Duration: 24s778ms
4 29m43s 1,020 882ms 19s903ms 1s748ms update "stock_move" set "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 08 02 2 3s554ms 1s777ms 03 4 3s664ms 916ms 07 1 901ms 901ms 10 1 5s434ms 5s434ms 12 32 1m11s 2s249ms 13 93 2m47s 1s801ms 14 151 4m11s 1s666ms 15 121 3m21s 1s667ms 16 102 2m55s 1s717ms 17 110 2m58s 1s619ms 18 124 3m41s 1s788ms 19 113 3m44s 1s989ms 20 95 3m3s 1s928ms 21 58 1m18s 1s353ms 22 8 10s991ms 1s373ms 23 5 4s569ms 913ms -
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (307936, 307938, 307939, 307940, 307941, 307942, 307943, 307944, 307945, 307946, 307926, 307927, 307928, 307929, 307930, 307931, 307932, 307933, 307935);
Date: 2023-03-08 20:12:59 Duration: 19s903ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (291395, 296170, 296171, 296172, 296173, 296174, 296176, 296177, 296179, 296180, 296181, 296093, 293912, 293914, 296094, 296092, 293917, 293918);
Date: 2023-03-08 16:32:03 Duration: 19s211ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1030, "write_date" = (now() at time zone 'UTC') WHERE id IN (306816, 306817, 306818, 306819, 306820, 306821, 306823, 306824, 306825, 306826, 306808, 306809, 306810, 306811, 306812, 306813, 306814, 306815);
Date: 2023-03-08 15:15:12 Duration: 18s348ms
5 28m 13,049 120ms 287ms 128ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where ("product_warehouse_inventory"."product_id" in (...)) order by "product_warehouse_inventory"."warehouse_name";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 08 01 8 1s59ms 132ms 03 5 644ms 128ms 07 2 257ms 128ms 09 7 1s544ms 220ms 10 5,978 12m25s 124ms 11 88 11s99ms 126ms 12 630 1m20s 128ms 13 486 1m3s 131ms 14 573 1m17s 135ms 15 720 1m34s 131ms 16 1,141 2m30s 132ms 17 750 1m39s 132ms 18 785 1m43s 131ms 19 761 1m42s 134ms 20 476 1m3s 132ms 21 387 51s686ms 133ms 22 225 28s902ms 128ms 23 27 3s486ms 129ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (213564)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-08 19:59:26 Duration: 287ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (221166, 221168, 221173, 221336, 221839, 221844, 221906, 221923, 221991, 222014, 222050, 222489, 222597, 222620, 223589, 222016, 245115, 245114, 220403, 222110, 220350, 222013, 243371, 221050, 243372, 243115, 243069, 220842, 222158, 221113, 243424, 222059, 220581, 221128, 221022, 222173, 221860, 221951, 221332, 222815)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-08 21:03:13 Duration: 251ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (222050)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-08 21:36:53 Duration: 248ms
6 25m11s 11,268 123ms 254ms 134ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where (("product_warehouse_inventory"."warehouse_id" = ?) and ("product_warehouse_inventory"."product_id" = ?)) order by "product_warehouse_inventory"."warehouse_name" limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 08 00 1,188 2m33s 128ms 12 708 1m32s 130ms 13 1,206 2m40s 132ms 14 389 54s620ms 140ms 15 1,153 2m35s 134ms 16 861 1m55s 134ms 17 1,292 2m56s 136ms 18 339 45s523ms 134ms 19 1,836 4m9s 136ms 20 1,810 4m3s 134ms 21 486 1m4s 131ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 35) AND ("product_warehouse_inventory"."product_id" = 195429)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-03-08 21:28:59 Duration: 254ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 37) AND ("product_warehouse_inventory"."product_id" = 185000)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-03-08 17:03:54 Duration: 252ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 45) AND ("product_warehouse_inventory"."product_id" = 208635)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-03-08 13:17:51 Duration: 248ms
7 16m48s 969 866ms 5s701ms 1s40ms 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 #7
Day Hour Count Duration Avg duration Mar 08 02 6 7s302ms 1s217ms 03 4 3s657ms 914ms 10 6 5s374ms 895ms 12 64 1m5s 1s28ms 13 109 1m51s 1s25ms 14 190 3m27s 1s92ms 15 92 1m33s 1s11ms 16 123 2m6s 1s26ms 17 95 1m37s 1s24ms 18 71 1m14s 1s50ms 19 87 1m26s 992ms 20 79 1m26s 1s99ms 21 28 28s494ms 1s17ms 22 15 13s538ms 902ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 6.0, "reference" = '04-V/OUT/03288', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (306593, 306594, 306595, 306590, 306591);
Date: 2023-03-08 14:26:08 Duration: 5s701ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 6.0, "reference" = '04-V/IN/01905', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (307137, 307138, 307139, 307140, 307141);
Date: 2023-03-08 16:42:19 Duration: 4s573ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 1.0, "reference" = '11-N/IN/03555', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1012, "write_date" = (now() at time zone 'UTC') WHERE id IN (306200, 306197, 306198, 306199);
Date: 2023-03-08 12:56:16 Duration: 3s767ms
8 14m13s 885 875ms 1s533ms 964ms 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 #8
Day Hour Count Duration Avg duration Mar 08 02 8 7s356ms 919ms 03 4 3s643ms 910ms 10 6 5s355ms 892ms 12 37 34s122ms 922ms 13 97 1m32s 952ms 14 233 3m47s 977ms 15 88 1m24s 962ms 16 107 1m42s 959ms 17 82 1m19s 967ms 18 67 1m5s 973ms 19 52 50s937ms 979ms 20 71 1m7s 957ms 21 29 27s940ms 963ms 22 4 3s656ms 914ms -
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-02 13:32:32', '2023-03-02 13:32:32', '16-14G Butt Conn.Sta-DRY', 61245, 5, 445, 'new_product', '[1-1962-100] 16-14G Butt Conn.Sta-DRY', NULL, 'N-03205', 47590, 338, '0', 'make_to_stock', 184203, 90, '24.00', false, 380, 97418, 10, 'draft', 43) RETURNING id;
Date: 2023-03-08 14:07:33 Duration: 1s533ms
-
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-02 13:32:32', '2023-03-02 13:32:32', '16-14G Butt Conn.Sta-DRY', 61245, 5, 445, 'new_product', '[1-1962-100] 16-14G Butt Conn.Sta-DRY', NULL, 'N-03205', 47590, 338, '0', 'make_to_stock', 184203, 90, '24.00', false, 380, 97418, 10, 'draft', 43) RETURNING id;
Date: 2023-03-08 14:07:29 Duration: 1s330ms
-
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-08 20:59:17', '2023-03-08 20:59:17', 'RVC Cable', 64686, 5, 437, 'new_product', '[5M1361-072I] RVC Cable', NULL, 'I-05094', 41277, 330, '0', 'make_to_stock', 193774, 1, '1.00', false, 371, 102888, 10, 'draft', 42) RETURNING id;
Date: 2023-03-08 21:00:14 Duration: 1s261ms
9 11m28s 344 889ms 18s435ms 2s2ms 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 #9
Day Hour Count Duration Avg duration Mar 08 02 2 5s479ms 2s739ms 10 1 5s424ms 5s424ms 12 14 27s610ms 1s972ms 13 42 1m15s 1s788ms 14 59 2m44s 2s785ms 15 42 1m8s 1s625ms 16 41 1m28s 2s169ms 17 41 1m3s 1s556ms 18 35 50s347ms 1s438ms 19 28 49s429ms 1s765ms 20 24 1m2s 2s594ms 21 14 23s950ms 1s710ms 22 1 3s682ms 3s682ms -
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 88860, "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 (307936, 307938, 307939, 307940, 307941, 307942, 307943, 307944, 307945, 307946, 307926, 307927, 307928, 307929, 307930, 307931, 307932, 307933, 307935);
Date: 2023-03-08 20:12:06 Duration: 18s435ms
-
UPDATE "stock_move" SET "branch_id" = 39, "picking_id" = 88793, "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 (307755, 307756, 307758, 307759, 307760, 307761, 307762, 307763, 307764, 307765, 307766, 307767);
Date: 2023-03-08 19:44:10 Duration: 12s975ms
-
UPDATE "stock_move" SET "branch_id" = 39, "picking_id" = 88060, "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 (306507, 306508, 306509, 306510, 306511, 306512, 306513, 306514, 306515, 306516, 306517, 306519);
Date: 2023-03-08 14:10:21 Duration: 11s904ms
10 11m5s 1,183 520ms 905ms 562ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 08 00 3 1s650ms 550ms 12 32 18s11ms 562ms 13 232 2m10s 560ms 14 70 39s216ms 560ms 15 57 31s576ms 553ms 16 147 1m21s 557ms 17 117 1m8s 582ms 18 176 1m38s 558ms 19 203 1m54s 564ms 20 142 1m20s 563ms 21 4 2s159ms 539ms -
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 ('%%cb3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%cb3/%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%cb3/%'))) 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-08 17:55:23 Duration: 905ms
-
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 ('%%131008%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%131008%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%131008%'))) 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-08 17:38:34 Duration: 894ms
-
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 ('%%634M%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%634M%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%634M%'))) 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-08 20:14:31 Duration: 861ms
11 10m58s 941 660ms 1s175ms 700ms 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 #11
Day Hour Count Duration Avg duration Mar 08 11 1 691ms 691ms 12 38 26s179ms 688ms 13 131 1m31s 698ms 14 141 1m38s 701ms 15 126 1m28s 699ms 16 123 1m26s 699ms 17 82 57s396ms 699ms 18 115 1m20s 702ms 19 86 1m 702ms 20 63 44s271ms 702ms 21 29 20s273ms 699ms 22 6 4s71ms 678ms -
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 ('%N6-4-9031%')) 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 ('%N6-4-9031%'))) 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 ('%N6-4-9031%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%N6-4-9031%')))))) 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-08 19:36:22 Duration: 1s175ms
-
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 ('%a4719e2annk%')) 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 ('%a4719e2annk%'))) 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 ('%a4719e2annk%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%a4719e2annk%')))))) 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-08 17:45:47 Duration: 960ms
-
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 ('%hr735k%')) 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 ('%hr735k%'))) 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 ('%hr735k%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%hr735k%')))))) 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-08 18:25:03 Duration: 928ms
12 9m59s 4,491 120ms 253ms 133ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where ("product_warehouse_inventory"."product_tmpl_id" in (...)) order by "product_warehouse_inventory"."warehouse_name";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 08 00 10 1s344ms 134ms 01 14 1s847ms 131ms 03 2 258ms 129ms 09 14 2s478ms 177ms 10 11 1s443ms 131ms 11 6 869ms 144ms 12 109 14s475ms 132ms 13 542 1m11s 132ms 14 678 1m30s 132ms 15 608 1m20s 132ms 16 381 51s560ms 135ms 17 393 52s644ms 133ms 18 590 1m18s 132ms 19 467 1m2s 134ms 20 436 58s365ms 133ms 21 180 23s634ms 131ms 22 28 3s584ms 128ms 23 22 2s873ms 130ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (241791)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-08 16:51:56 Duration: 253ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (210492, 239038, 239039, 239040, 239041, 212650, 212651, 212652, 212653, 212654, 212655, 239042, 239043, 239044, 239045, 239046, 239047, 239048, 239049, 239050, 239051, 212666, 239052, 239053, 212669, 212670, 239054, 239055, 239056, 239057, 239058, 239059, 239060, 239061, 239062, 239063, 212681, 239064, 239065, 239066, 239067, 239068, 212687, 212688, 239069, 239070, 239071, 239072, 239073, 239074, 239075, 239076, 239077, 239078, 239079, 239080, 239081, 239082, 239083, 239084, 212705, 239085, 239086, 212708, 212709, 239087, 239088, 239089, 239090, 239091, 239092, 239093, 239094, 239096, 239097, 239098, 239099, 239100, 239101, 239102, 239103, 239104, 239105, 239106, 239107, 239108, 239109, 239110, 239111, 239112, 212736, 239113, 212738, 239114, 239115, 212741, 239116, 239117, 239118, 239119, 239120, 239121, 239122, 239123, 239124, 239125, 239126, 239127, 239128, 239129, 239131, 239132, 239133, 239134, 212761, 239135, 239136, 239137, 239138, 239140, 239141, 239142, 239143, 239144, 239145, 239146, 212774, 239147, 239148, 239149, 239150, 239151, 239152, 239153, 239154, 239155, 239156, 212785, 212786, 239157, 239158, 212789, 239159, 239160, 239161, 239162, 239163, 239164, 239165, 239166, 239167, 239168, 239169, 239170, 212802, 212803, 239171, 212805, 212806, 212807, 239172, 239173, 212810, 239174, 239175, 239176, 239177, 239178, 212817, 239179, 239180, 239181, 239182, 239183, 239184, 239185, 212825, 239186, 239187, 212828, 239188, 212830, 239189, 212832, 239190, 212834, 212835, 212836, 239191, 212838, 239192, 239193, 239194, 239195, 239196, 239197, 239198, 239199, 239200, 239201, 212849, 239202, 212852, 239203, 212854, 239204, 212856, 239205, 212858, 239206, 239207, 239208, 239209, 239210, 239211, 239212, 239213, 239214, 239215, 239216, 239217, 239218, 239219, 239220, 239221, 239222, 239223, 239224, 239225, 239226, 239227, 239228, 212882, 212883, 212884, 239229, 239230, 239231, 239232, 239233, 239234, 212891, 239235, 212893, 239236, 212895, 239237, 212897, 212898, 212899, 212900, 239238, 239239, 239240, 239241, 239242, 239243, 212907, 239244, 212909, 212910, 212911, 212912, 239245, 212914, 239246, 212916, 239247, 212919, 239248, 239249, 239250, 239251, 239252, 239253, 239254, 212927, 212928, 239255, 239256, 239257, 239258, 212934, 239259, 239260, 239261, 239262, 239263, 239264, 239265, 212943, 239266, 239267, 239268, 239269, 239270, 239271, 239272, 239273, 212952, 212953, 239274, 239275, 239276, 212958, 212959, 212960, 239277, 212962, 239278, 239279, 239280, 239281, 239282, 239283, 239284, 239285, 239286, 239287, 212974, 212975, 239288, 239289, 239290, 239291, 239292, 239293, 239294, 239295, 239296, 212985, 212986, 212987, 239297, 239298, 239299, 239300, 239302, 190725, 190726, 190727, 190728, 190729, 190730, 238901, 238902, 238903, 238904, 238905, 238906, 190731, 190732, 238907, 238908, 190733, 238909, 190734, 238910, 238911, 238912, 190735, 190736, 190737, 238913, 238914, 190738, 238915, 238916, 238917, 238918, 238919, 238920, 238921, 238922, 190739, 238923, 190740, 238924, 238925, 238926, 238927, 238928, 238929, 238930, 238931, 238932, 238933, 190743, 238934, 190744, 238935, 238936, 238937, 190745, 190746, 238938, 238939, 238940, 190747, 238941, 190748, 238942, 238943, 190749, 238944, 190750, 190751, 190752, 238945, 238946, 238947, 190754, 238948, 190755, 238949, 238950, 238951, 190756, 238952, 238953, 238954, 190758, 190759, 238955, 190760, 238956, 190761, 190762, 190763, 238957, 238958, 238959, 238960, 238961, 190764, 238962, 190765, 238963, 190766, 190767, 238964, 238965, 238966, 190768, 238967, 190769, 238968, 190770, 238969, 190771, 238970, 238971, 238972, 238973, 238974, 238975, 238976, 238977, 238978, 238979, 238980, 238981, 238982, 190772, 190773, 190774, 238983, 238984, 190775, 238985, 238986, 238987, 190776, 238988, 190777, 238989, 190778, 238990, 190779, 238991, 190780, 238992, 238993, 238994, 238995, 238996, 190781, 190782, 190783, 238997, 190784, 238998, 190785, 238999, 239000, 190786, 190787, 239001, 239002, 239003, 239004, 190788, 190789, 239005, 239006, 190791, 239007, 239008, 239009, 239010, 241507, 190792, 239011, 239012, 239013, 239014, 239015, 190793, 190794, 190795, 239016, 239017, 239018, 239019, 190796, 190797, 190798, 239020, 239021, 239022, 239023, 239024, 239025, 239026, 239027, 239028, 190799, 190800, 239029, 239030, 239031, 239032, 190802, 239033, 239034, 190803, 239035, 239036, 206544, 206542, 210517, 210449, 210506, 210510, 243126, 243730, 244152, 177853, 244287, 210489, 210635, 241970, 244922, 210516, 244951, 244990, 245246, 245305, 210498, 245401, 210542, 210633, 210452, 245513, 210453, 210455, 244815, 245559, 210569, 245915, 245836, 203324, 245525, 203418, 210454, 246411, 203250, 246608, 246654, 246605, 246698, 246699, 246702, 246786, 246883, 247029, 247157, 247583, 247667, 239037, 247703)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-08 09:52:48 Duration: 249ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (247914)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-08 21:20:00 Duration: 247ms
13 9m37s 197 890ms 15s850ms 2s929ms update "stock_move" set "picking_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 08 12 2 4s593ms 2s296ms 13 16 39s137ms 2s446ms 14 33 1m3s 1s917ms 15 30 1m9s 2s309ms 16 15 44s955ms 2s997ms 17 35 1m33s 2s681ms 18 28 3m3s 6s560ms 19 18 29s938ms 1s663ms 20 14 34s556ms 2s468ms 21 6 13s803ms 2s300ms -
UPDATE "stock_move" SET "picking_id" = 88625, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (288192, 288193, 288194, 288195, 288175, 288177, 288179, 288181, 288182, 288184, 288185, 288186, 288188, 288191);
Date: 2023-03-08 18:22:31 Duration: 15s850ms
-
UPDATE "stock_move" SET "picking_id" = 88643, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (288192, 288193, 288194, 288195, 288175, 288177, 288179, 288181, 288182, 288184, 288185, 288186, 288188, 288191);
Date: 2023-03-08 18:24:14 Duration: 15s764ms
-
UPDATE "stock_move" SET "picking_id" = 88631, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (288192, 288193, 288194, 288195, 288175, 288177, 288179, 288181, 288182, 288184, 288185, 288186, 288188, 288191);
Date: 2023-03-08 18:23:21 Duration: 15s153ms
14 9m24s 4,093 120ms 434ms 138ms 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 #14
Day Hour Count Duration Avg duration Mar 08 00 37 4s771ms 128ms 01 28 3s743ms 133ms 02 20 2s514ms 125ms 03 29 3s753ms 129ms 04 29 3s714ms 128ms 05 30 3s902ms 130ms 06 32 4s86ms 127ms 07 23 2s892ms 125ms 08 27 3s401ms 125ms 09 38 4s951ms 130ms 10 127 16s895ms 133ms 11 45 5s878ms 130ms 12 153 20s648ms 134ms 13 403 55s921ms 138ms 14 503 1m10s 140ms 15 360 49s314ms 136ms 16 296 41s139ms 138ms 17 372 52s270ms 140ms 18 409 57s254ms 139ms 19 561 1m19s 141ms 20 338 47s8ms 139ms 21 149 20s121ms 135ms 22 43 5s640ms 131ms 23 41 5s330ms 130ms -
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.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-f79fc6b/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-08 14:57:46 Duration: 434ms
-
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/%-1b2cce5/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-08 14:53:17 Duration: 278ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_frontend.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-eedcf2a/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-08 18:25:20 Duration: 273ms
15 8m40s 177 900ms 16s377ms 2s941ms update "stock_move" set "reference" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 08 12 2 4s680ms 2s340ms 13 9 18s546ms 2s60ms 14 33 1m3s 1s919ms 15 29 1m7s 2s342ms 16 14 46s210ms 3s300ms 17 27 58s935ms 2s182ms 18 25 2m54s 6s984ms 19 18 29s635ms 1s646ms 20 14 33s496ms 2s392ms 21 6 23s231ms 3s871ms -
UPDATE "stock_move" SET "reference" = '13-T/IN/04084', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (288192, 288193, 288194, 288195, 288175, 288177, 288179, 288181, 288182, 288184, 288185, 288186, 288188, 288191);
Date: 2023-03-08 18:22:04 Duration: 16s377ms
-
UPDATE "stock_move" SET "reference" = '05-F/OUT/02593', "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (304928, 304929, 304930, 304931, 304932, 304933, 304934, 304924, 305423, 305425, 304923, 306396, 304925, 304926, 304927);
Date: 2023-03-08 15:37:02 Duration: 15s599ms
-
UPDATE "stock_move" SET "reference" = '13-T/IN/04088', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (288192, 288193, 288194, 288195, 288175, 288177, 288179, 288181, 288182, 288184, 288185, 288186, 288188, 288191);
Date: 2023-03-08 18:24:39 Duration: 15s165ms
16 6m51s 259 1s546ms 2s132ms 1s588ms select pwi.product_id, pt.min_product_uom_qty from product_warehouse_inventory pwi left join product_product as pp on pwi.product_id = pp.id left join product_template as pt on pt.id = pp.product_tmpl_id where pt.is_core = false and pt.min_product_uom_qty > ? and pwi.stocking_flag = true and ((coalesce(pwi.qty_available, ?) + coalesce(pwi.qty_on_order, ?)) - coalesce(pwi.qty_reserve, ?)) <= ? and pwi.warehouse_id = ? and pwi.inventory_vendor_id = ? and coalesce(pt.discontinued, false) = false and coalesce(pt.superceded, false) = false and coalesce(pt.obsolete, false) = false union all select pwi.product_id, abs(((coalesce(pwi.qty_available, ?) + coalesce(pwi.qty_on_order, ?)) - coalesce(pwi.qty_reserve, ?))) as min_product_uom_qty from product_warehouse_inventory pwi left join product_product as pp on pwi.product_id = pp.id left join product_template as pt on pt.id = pp.product_tmpl_id where pt.is_core = false and pwi.stocking_flag = false and ((coalesce(pwi.qty_available, ?) + coalesce(pwi.qty_on_order, ?)) - coalesce(pwi.qty_reserve, ?)) < ? and pwi.warehouse_id = ? and pwi.inventory_vendor_id = ? and coalesce(pt.discontinued, false) = false and coalesce(pt.never_stock, false) = true and coalesce(pt.superceded, false) = false and coalesce(pt.obsolete, false) = false union all select pwi.product_id, coalesce(pwi.qty_on_perm_order, ?) as min_product_uom_qty from product_warehouse_inventory pwi left join product_product as pp on pwi.product_id = pp.id left join product_template as pt on pt.id = pp.product_tmpl_id where pt.is_core = false and pwi.stocking_flag = true and coalesce(pwi.qty_on_perm_order, ?) > ? and ((coalesce(pwi.qty_available, ?) + coalesce(pwi.qty_on_order, ?)) - (coalesce(pwi.qty_reserve, ?) + coalesce(pwi.qty_on_perm_order, ?))) < ? and pt.discontinued = false and pwi.warehouse_id = ? and pwi.inventory_vendor_id = ? and coalesce(pt.superceded, false) = false and coalesce(pt.obsolete, false) = false;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 08 10 181 4m43s 1s568ms 11 6 9s406ms 1s567ms 12 8 12s810ms 1s601ms 13 2 3s497ms 1s748ms 14 3 5s44ms 1s681ms 15 9 14s623ms 1s624ms 16 10 16s401ms 1s640ms 17 7 11s803ms 1s686ms 18 6 9s534ms 1s589ms 19 8 13s702ms 1s712ms 20 7 11s655ms 1s665ms 21 5 8s77ms 1s615ms 22 7 11s81ms 1s583ms -
select pwi.product_id, pt.min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pt.min_product_uom_qty > 0 and pwi.stocking_flag = True and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0)) <= 0 and pwi.warehouse_id = 44 and pwi.inventory_vendor_id = 2955 and COALESCE(pt.discontinued, False) = False and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False UNION ALL select pwi.product_id, abs(((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0))) as min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pwi.stocking_flag = False and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0)) < 0 and pwi.warehouse_id = 44 and pwi.inventory_vendor_id = 2955 and COALESCE(pt.discontinued, False) = False and COALESCE(pt.never_stock, False) = True and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False UNION ALL select pwi.product_id, COALESCE(pwi.qty_on_perm_order, 0) as min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pwi.stocking_flag = True and COALESCE(pwi.qty_on_perm_order, 0) > 0 and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - (COALESCE(pwi.qty_reserve, 0) + COALESCE(pwi.qty_on_perm_order, 0))) < 0 and pt.discontinued = False and pwi.warehouse_id = 44 and pwi.inventory_vendor_id = 2955 and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False;
Date: 2023-03-08 19:59:43 Duration: 2s132ms
-
select pwi.product_id, pt.min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pt.min_product_uom_qty > 0 and pwi.stocking_flag = True and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0)) <= 0 and pwi.warehouse_id = 43 and pwi.inventory_vendor_id = 3085 and COALESCE(pt.discontinued, False) = False and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False UNION ALL select pwi.product_id, abs(((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0))) as min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pwi.stocking_flag = False and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0)) < 0 and pwi.warehouse_id = 43 and pwi.inventory_vendor_id = 3085 and COALESCE(pt.discontinued, False) = False and COALESCE(pt.never_stock, False) = True and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False UNION ALL select pwi.product_id, COALESCE(pwi.qty_on_perm_order, 0) as min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pwi.stocking_flag = True and COALESCE(pwi.qty_on_perm_order, 0) > 0 and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - (COALESCE(pwi.qty_reserve, 0) + COALESCE(pwi.qty_on_perm_order, 0))) < 0 and pt.discontinued = False and pwi.warehouse_id = 43 and pwi.inventory_vendor_id = 3085 and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False;
Date: 2023-03-08 17:55:23 Duration: 1s921ms
-
select pwi.product_id, pt.min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pt.min_product_uom_qty > 0 and pwi.stocking_flag = True and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0)) <= 0 and pwi.warehouse_id = 41 and pwi.inventory_vendor_id = 2980 and COALESCE(pt.discontinued, False) = False and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False UNION ALL select pwi.product_id, abs(((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0))) as min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pwi.stocking_flag = False and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0)) < 0 and pwi.warehouse_id = 41 and pwi.inventory_vendor_id = 2980 and COALESCE(pt.discontinued, False) = False and COALESCE(pt.never_stock, False) = True and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False UNION ALL select pwi.product_id, COALESCE(pwi.qty_on_perm_order, 0) as min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pwi.stocking_flag = True and COALESCE(pwi.qty_on_perm_order, 0) > 0 and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - (COALESCE(pwi.qty_reserve, 0) + COALESCE(pwi.qty_on_perm_order, 0))) < 0 and pt.discontinued = False and pwi.warehouse_id = 41 and pwi.inventory_vendor_id = 2980 and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False;
Date: 2023-03-08 14:41:54 Duration: 1s821ms
17 6m44s 2 2s353ms 6m42s 3m22s select partner_id, partner_name, to_char(last_time_entries_checked, ?) as last_time_entries_checked, account_id, account_name, account_code, max_date from ( select p.id as partner_id, p.name as partner_name, p.last_time_entries_checked as last_time_entries_checked, a.id as account_id, a.name as account_name, a.code as account_code, max(l.write_date) as max_date from account_move_line l right join account_account a on (a.id = l.account_id) right join account_account_type at on (at.id = a.user_type_id) right join res_partner p on (l.partner_id = p.id) where a.reconcile is true and l.full_reconcile_id is null and at.type = ? and l.company_id = ? and exists ( select null from account_move_line l join account_move move on l.move_id = move.id join account_journal journal on l.journal_id = journal.id where l.account_id = a.id and l.partner_id = p.id and l.amount_residual > ? and move.state = ?) and exists ( select null from account_move_line l join account_move move on l.move_id = move.id join account_journal journal on l.journal_id = journal.id where l.account_id = a.id and l.partner_id = p.id and l.amount_residual < ? and move.state = ?) group by l.partner_id, p.id, a.id, a.name, a.code, p.last_time_entries_checked order by p.last_time_entries_checked) as s where (last_time_entries_checked is null or max_date > last_time_entries_checked);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 08 17 2 6m44s 3m22s -
SELECT partner_id, partner_name, to_char(last_time_entries_checked, 'YYYY-MM-DD') AS last_time_entries_checked, account_id, account_name, account_code, max_date FROM ( SELECT p.id AS partner_id, p.name AS partner_name, p.last_time_entries_checked AS last_time_entries_checked, a.id AS account_id, a.name AS account_name, a.code AS account_code, MAX(l.write_date) AS max_date FROM account_move_line l RIGHT JOIN account_account a ON (a.id = l.account_id) RIGHT JOIN account_account_type at ON (at.id = a.user_type_id) RIGHT JOIN res_partner p ON (l.partner_id = p.id) WHERE a.reconcile IS TRUE AND l.full_reconcile_id is NULL AND at.type = 'payable' AND l.company_id = 1 AND EXISTS ( SELECT NULL FROM account_move_line l JOIN account_move move ON l.move_id = move.id JOIN account_journal journal ON l.journal_id = journal.id WHERE l.account_id = a.id AND l.partner_id = p.id AND l.amount_residual > 0 AND move.state = 'posted') AND EXISTS ( SELECT NULL FROM account_move_line l JOIN account_move move ON l.move_id = move.id JOIN account_journal journal ON l.journal_id = journal.id WHERE l.account_id = a.id AND l.partner_id = p.id AND l.amount_residual < 0 AND move.state = 'posted') GROUP BY l.partner_id, p.id, a.id, a.name, a.code, p.last_time_entries_checked ORDER BY p.last_time_entries_checked) as s WHERE (last_time_entries_checked IS NULL OR max_date > last_time_entries_checked);
Date: 2023-03-08 17:45:00 Duration: 6m42s
-
SELECT partner_id, partner_name, to_char(last_time_entries_checked, 'YYYY-MM-DD') AS last_time_entries_checked, account_id, account_name, account_code, max_date FROM ( SELECT p.id AS partner_id, p.name AS partner_name, p.last_time_entries_checked AS last_time_entries_checked, a.id AS account_id, a.name AS account_name, a.code AS account_code, MAX(l.write_date) AS max_date FROM account_move_line l RIGHT JOIN account_account a ON (a.id = l.account_id) RIGHT JOIN account_account_type at ON (at.id = a.user_type_id) RIGHT JOIN res_partner p ON (l.partner_id = p.id) WHERE a.reconcile IS TRUE AND l.full_reconcile_id is NULL AND at.type = 'receivable' AND l.company_id = 1 AND EXISTS ( SELECT NULL FROM account_move_line l JOIN account_move move ON l.move_id = move.id JOIN account_journal journal ON l.journal_id = journal.id WHERE l.account_id = a.id AND l.partner_id = p.id AND l.amount_residual > 0 AND move.state = 'posted') AND EXISTS ( SELECT NULL FROM account_move_line l JOIN account_move move ON l.move_id = move.id JOIN account_journal journal ON l.journal_id = journal.id WHERE l.account_id = a.id AND l.partner_id = p.id AND l.amount_residual < 0 AND move.state = 'posted') GROUP BY l.partner_id, p.id, a.id, a.name, a.code, p.last_time_entries_checked ORDER BY p.last_time_entries_checked) as s WHERE (last_time_entries_checked IS NULL OR max_date > last_time_entries_checked);
Date: 2023-03-08 17:38:14 Duration: 2s353ms
18 6m33s 3,016 120ms 237ms 130ms select id from product_warehouse_inventory where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 08 02 11 1s392ms 126ms 03 2 251ms 125ms 10 5 623ms 124ms 12 85 10s772ms 126ms 13 299 39s235ms 131ms 14 438 56s935ms 129ms 15 279 36s356ms 130ms 16 275 35s552ms 129ms 17 405 53s427ms 131ms 18 334 43s677ms 130ms 19 386 50s634ms 131ms 20 304 39s602ms 130ms 21 150 19s162ms 127ms 22 38 4s789ms 126ms 23 5 640ms 128ms -
select id from product_warehouse_inventory where product_id = 206627 and warehouse_id = 44 and company_id = 1;
Date: 2023-03-08 17:09:43 Duration: 237ms
-
select id from product_warehouse_inventory where product_id = 198420 and warehouse_id = 43 and company_id = 1;
Date: 2023-03-08 13:35:52 Duration: 237ms
-
select id from product_warehouse_inventory where product_id = 191038 and warehouse_id = 35 and company_id = 1;
Date: 2023-03-08 15:13:55 Duration: 229ms
19 6m4s 351 888ms 5s905ms 1s39ms update "stock_move" set "current_warehouse_qty" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 08 12 12 12s37ms 1s3ms 13 10 9s453ms 945ms 14 36 35s848ms 995ms 15 34 33s77ms 972ms 16 33 34s519ms 1s46ms 17 20 18s991ms 949ms 18 41 41s694ms 1s16ms 19 70 1m25s 1s221ms 20 59 59s141ms 1s2ms 21 36 34s408ms 955ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (304578, 304585, 307658, 307660, 304530, 304567);
Date: 2023-03-08 19:35:49 Duration: 5s905ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 7.0, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (304577, 304562, 304548, 304534);
Date: 2023-03-08 19:35:59 Duration: 3s827ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 17.0, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (304536, 304582, 304575);
Date: 2023-03-08 19:36:02 Duration: 2s987ms
20 5m48s 367 886ms 1s270ms 950ms 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", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?.?, ?, ?, ?, ?, ?, true, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 08 12 39 35s888ms 920ms 13 26 24s781ms 953ms 14 6 5s738ms 956ms 15 19 18s484ms 972ms 16 36 33s717ms 936ms 17 29 27s747ms 956ms 18 31 29s655ms 956ms 19 81 1m18s 969ms 20 31 30s579ms 986ms 21 43 40s300ms 937ms 22 26 23s525ms 904ms -
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", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 48, 1, '2023-03-08 13:11:09.489478', '2023-03-08 13:11:09.489478', '[109685X] AD-9 Air Dryer', 64042, 461, 4, 'new_product', '[109685X] AD-9 Air Dryer', 'T-01753', NULL, 87958, 353, 159.73, '0', 'make_to_stock', 239420, 1, '1.00', true, 44082, 10, 'draft', 45) RETURNING id;
Date: 2023-03-08 13:17:58 Duration: 1s270ms
-
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", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 46, 1, '2023-03-08 21:02:00.480490', '2023-03-08 21:02:00.480490', '[177.117412D] PLC 45 Deg Swivel Male Elbow 3/4 x 1/2in', 64694, 445, 4, 'new_product', '[177.117412D] PLC 45 Deg Swivel Male Elbow 3/4 x 1/2in', 'N-01331', NULL, 88943, 337, 18.27, '0', 'make_to_stock', 247179, 1, '1.00', true, 44374, 10, 'draft', 43) RETURNING id;
Date: 2023-03-08 21:16:16 Duration: 1s263ms
-
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", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 39, 1, '2023-03-08 20:23:14.568576', '2023-03-08 20:23:14.568576', '[125704] Brk Rtr - ADB', 64652, 397, 4, 'new_product', '[125704] Brk Rtr - ADB', 'V-00648', NULL, 88880, 289, 137.29, '0', 'make_to_stock', 243627, 1, '2.00', true, 44349, 10, 'draft', 37) RETURNING id;
Date: 2023-03-08 20:24:00 Duration: 1s256ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 13,049 28m 120ms 287ms 128ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where ("product_warehouse_inventory"."product_id" in (...)) order by "product_warehouse_inventory"."warehouse_name";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 08 01 8 1s59ms 132ms 03 5 644ms 128ms 07 2 257ms 128ms 09 7 1s544ms 220ms 10 5,978 12m25s 124ms 11 88 11s99ms 126ms 12 630 1m20s 128ms 13 486 1m3s 131ms 14 573 1m17s 135ms 15 720 1m34s 131ms 16 1,141 2m30s 132ms 17 750 1m39s 132ms 18 785 1m43s 131ms 19 761 1m42s 134ms 20 476 1m3s 132ms 21 387 51s686ms 133ms 22 225 28s902ms 128ms 23 27 3s486ms 129ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (213564)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-08 19:59:26 Duration: 287ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (221166, 221168, 221173, 221336, 221839, 221844, 221906, 221923, 221991, 222014, 222050, 222489, 222597, 222620, 223589, 222016, 245115, 245114, 220403, 222110, 220350, 222013, 243371, 221050, 243372, 243115, 243069, 220842, 222158, 221113, 243424, 222059, 220581, 221128, 221022, 222173, 221860, 221951, 221332, 222815)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-08 21:03:13 Duration: 251ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (222050)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-08 21:36:53 Duration: 248ms
2 11,268 25m11s 123ms 254ms 134ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where (("product_warehouse_inventory"."warehouse_id" = ?) and ("product_warehouse_inventory"."product_id" = ?)) order by "product_warehouse_inventory"."warehouse_name" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 08 00 1,188 2m33s 128ms 12 708 1m32s 130ms 13 1,206 2m40s 132ms 14 389 54s620ms 140ms 15 1,153 2m35s 134ms 16 861 1m55s 134ms 17 1,292 2m56s 136ms 18 339 45s523ms 134ms 19 1,836 4m9s 136ms 20 1,810 4m3s 134ms 21 486 1m4s 131ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 35) AND ("product_warehouse_inventory"."product_id" = 195429)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-03-08 21:28:59 Duration: 254ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 37) AND ("product_warehouse_inventory"."product_id" = 185000)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-03-08 17:03:54 Duration: 252ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 45) AND ("product_warehouse_inventory"."product_id" = 208635)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-03-08 13:17:51 Duration: 248ms
3 4,780 44m52s 449ms 1s199ms 563ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? 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 08 00 12 6s452ms 537ms 01 28 15s374ms 549ms 02 15 8s67ms 537ms 03 24 12s967ms 540ms 10 14 7s573ms 540ms 12 157 1m26s 548ms 13 541 5m4s 562ms 14 948 8m59s 569ms 15 540 5m5s 565ms 16 616 5m47s 563ms 17 519 4m53s 565ms 18 414 3m51s 558ms 19 399 3m46s 568ms 20 401 3m45s 561ms 21 137 1m15s 547ms 22 15 8s131ms 542ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%476%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%476%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%476%'))) 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-08 14:07:17 Duration: 1s199ms
-
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 ('%%scStock%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%sc Stock%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%sc Stock%'))) 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-08 16:00:22 Duration: 1s68ms
-
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 ('%%4762%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%4762%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%4762%'))) 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-08 14:07:18 Duration: 1s25ms
4 4,491 9m59s 120ms 253ms 133ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where ("product_warehouse_inventory"."product_tmpl_id" in (...)) order by "product_warehouse_inventory"."warehouse_name";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 08 00 10 1s344ms 134ms 01 14 1s847ms 131ms 03 2 258ms 129ms 09 14 2s478ms 177ms 10 11 1s443ms 131ms 11 6 869ms 144ms 12 109 14s475ms 132ms 13 542 1m11s 132ms 14 678 1m30s 132ms 15 608 1m20s 132ms 16 381 51s560ms 135ms 17 393 52s644ms 133ms 18 590 1m18s 132ms 19 467 1m2s 134ms 20 436 58s365ms 133ms 21 180 23s634ms 131ms 22 28 3s584ms 128ms 23 22 2s873ms 130ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (241791)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-08 16:51:56 Duration: 253ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (210492, 239038, 239039, 239040, 239041, 212650, 212651, 212652, 212653, 212654, 212655, 239042, 239043, 239044, 239045, 239046, 239047, 239048, 239049, 239050, 239051, 212666, 239052, 239053, 212669, 212670, 239054, 239055, 239056, 239057, 239058, 239059, 239060, 239061, 239062, 239063, 212681, 239064, 239065, 239066, 239067, 239068, 212687, 212688, 239069, 239070, 239071, 239072, 239073, 239074, 239075, 239076, 239077, 239078, 239079, 239080, 239081, 239082, 239083, 239084, 212705, 239085, 239086, 212708, 212709, 239087, 239088, 239089, 239090, 239091, 239092, 239093, 239094, 239096, 239097, 239098, 239099, 239100, 239101, 239102, 239103, 239104, 239105, 239106, 239107, 239108, 239109, 239110, 239111, 239112, 212736, 239113, 212738, 239114, 239115, 212741, 239116, 239117, 239118, 239119, 239120, 239121, 239122, 239123, 239124, 239125, 239126, 239127, 239128, 239129, 239131, 239132, 239133, 239134, 212761, 239135, 239136, 239137, 239138, 239140, 239141, 239142, 239143, 239144, 239145, 239146, 212774, 239147, 239148, 239149, 239150, 239151, 239152, 239153, 239154, 239155, 239156, 212785, 212786, 239157, 239158, 212789, 239159, 239160, 239161, 239162, 239163, 239164, 239165, 239166, 239167, 239168, 239169, 239170, 212802, 212803, 239171, 212805, 212806, 212807, 239172, 239173, 212810, 239174, 239175, 239176, 239177, 239178, 212817, 239179, 239180, 239181, 239182, 239183, 239184, 239185, 212825, 239186, 239187, 212828, 239188, 212830, 239189, 212832, 239190, 212834, 212835, 212836, 239191, 212838, 239192, 239193, 239194, 239195, 239196, 239197, 239198, 239199, 239200, 239201, 212849, 239202, 212852, 239203, 212854, 239204, 212856, 239205, 212858, 239206, 239207, 239208, 239209, 239210, 239211, 239212, 239213, 239214, 239215, 239216, 239217, 239218, 239219, 239220, 239221, 239222, 239223, 239224, 239225, 239226, 239227, 239228, 212882, 212883, 212884, 239229, 239230, 239231, 239232, 239233, 239234, 212891, 239235, 212893, 239236, 212895, 239237, 212897, 212898, 212899, 212900, 239238, 239239, 239240, 239241, 239242, 239243, 212907, 239244, 212909, 212910, 212911, 212912, 239245, 212914, 239246, 212916, 239247, 212919, 239248, 239249, 239250, 239251, 239252, 239253, 239254, 212927, 212928, 239255, 239256, 239257, 239258, 212934, 239259, 239260, 239261, 239262, 239263, 239264, 239265, 212943, 239266, 239267, 239268, 239269, 239270, 239271, 239272, 239273, 212952, 212953, 239274, 239275, 239276, 212958, 212959, 212960, 239277, 212962, 239278, 239279, 239280, 239281, 239282, 239283, 239284, 239285, 239286, 239287, 212974, 212975, 239288, 239289, 239290, 239291, 239292, 239293, 239294, 239295, 239296, 212985, 212986, 212987, 239297, 239298, 239299, 239300, 239302, 190725, 190726, 190727, 190728, 190729, 190730, 238901, 238902, 238903, 238904, 238905, 238906, 190731, 190732, 238907, 238908, 190733, 238909, 190734, 238910, 238911, 238912, 190735, 190736, 190737, 238913, 238914, 190738, 238915, 238916, 238917, 238918, 238919, 238920, 238921, 238922, 190739, 238923, 190740, 238924, 238925, 238926, 238927, 238928, 238929, 238930, 238931, 238932, 238933, 190743, 238934, 190744, 238935, 238936, 238937, 190745, 190746, 238938, 238939, 238940, 190747, 238941, 190748, 238942, 238943, 190749, 238944, 190750, 190751, 190752, 238945, 238946, 238947, 190754, 238948, 190755, 238949, 238950, 238951, 190756, 238952, 238953, 238954, 190758, 190759, 238955, 190760, 238956, 190761, 190762, 190763, 238957, 238958, 238959, 238960, 238961, 190764, 238962, 190765, 238963, 190766, 190767, 238964, 238965, 238966, 190768, 238967, 190769, 238968, 190770, 238969, 190771, 238970, 238971, 238972, 238973, 238974, 238975, 238976, 238977, 238978, 238979, 238980, 238981, 238982, 190772, 190773, 190774, 238983, 238984, 190775, 238985, 238986, 238987, 190776, 238988, 190777, 238989, 190778, 238990, 190779, 238991, 190780, 238992, 238993, 238994, 238995, 238996, 190781, 190782, 190783, 238997, 190784, 238998, 190785, 238999, 239000, 190786, 190787, 239001, 239002, 239003, 239004, 190788, 190789, 239005, 239006, 190791, 239007, 239008, 239009, 239010, 241507, 190792, 239011, 239012, 239013, 239014, 239015, 190793, 190794, 190795, 239016, 239017, 239018, 239019, 190796, 190797, 190798, 239020, 239021, 239022, 239023, 239024, 239025, 239026, 239027, 239028, 190799, 190800, 239029, 239030, 239031, 239032, 190802, 239033, 239034, 190803, 239035, 239036, 206544, 206542, 210517, 210449, 210506, 210510, 243126, 243730, 244152, 177853, 244287, 210489, 210635, 241970, 244922, 210516, 244951, 244990, 245246, 245305, 210498, 245401, 210542, 210633, 210452, 245513, 210453, 210455, 244815, 245559, 210569, 245915, 245836, 203324, 245525, 203418, 210454, 246411, 203250, 246608, 246654, 246605, 246698, 246699, 246702, 246786, 246883, 247029, 247157, 247583, 247667, 239037, 247703)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-08 09:52:48 Duration: 249ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (247914)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-08 21:20:00 Duration: 247ms
5 4,093 9m24s 120ms 434ms 138ms select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 08 00 37 4s771ms 128ms 01 28 3s743ms 133ms 02 20 2s514ms 125ms 03 29 3s753ms 129ms 04 29 3s714ms 128ms 05 30 3s902ms 130ms 06 32 4s86ms 127ms 07 23 2s892ms 125ms 08 27 3s401ms 125ms 09 38 4s951ms 130ms 10 127 16s895ms 133ms 11 45 5s878ms 130ms 12 153 20s648ms 134ms 13 403 55s921ms 138ms 14 503 1m10s 140ms 15 360 49s314ms 136ms 16 296 41s139ms 138ms 17 372 52s270ms 140ms 18 409 57s254ms 139ms 19 561 1m19s 141ms 20 338 47s8ms 139ms 21 149 20s121ms 135ms 22 43 5s640ms 131ms 23 41 5s330ms 130ms -
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.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-f79fc6b/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-08 14:57:46 Duration: 434ms
-
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/%-1b2cce5/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-08 14:53:17 Duration: 278ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_frontend.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-eedcf2a/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-08 18:25:20 Duration: 273ms
6 3,016 6m33s 120ms 237ms 130ms select id from product_warehouse_inventory where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 08 02 11 1s392ms 126ms 03 2 251ms 125ms 10 5 623ms 124ms 12 85 10s772ms 126ms 13 299 39s235ms 131ms 14 438 56s935ms 129ms 15 279 36s356ms 130ms 16 275 35s552ms 129ms 17 405 53s427ms 131ms 18 334 43s677ms 130ms 19 386 50s634ms 131ms 20 304 39s602ms 130ms 21 150 19s162ms 127ms 22 38 4s789ms 126ms 23 5 640ms 128ms -
select id from product_warehouse_inventory where product_id = 206627 and warehouse_id = 44 and company_id = 1;
Date: 2023-03-08 17:09:43 Duration: 237ms
-
select id from product_warehouse_inventory where product_id = 198420 and warehouse_id = 43 and company_id = 1;
Date: 2023-03-08 13:35:52 Duration: 237ms
-
select id from product_warehouse_inventory where product_id = 191038 and warehouse_id = 35 and company_id = 1;
Date: 2023-03-08 15:13:55 Duration: 229ms
7 1,788 5m2s 153ms 312ms 168ms select res_partner.id from "res_partner" where ("res_partner"."active" = true) and (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 08 00 1 170ms 170ms 01 9 1s499ms 166ms 02 1 165ms 165ms 03 1 164ms 164ms 10 6 1s142ms 190ms 11 20 3s362ms 168ms 12 107 18s121ms 169ms 13 241 42s68ms 174ms 14 195 34s714ms 178ms 15 156 27s598ms 176ms 16 70 12s243ms 174ms 17 199 33s113ms 166ms 18 194 31s586ms 162ms 19 303 50s216ms 165ms 20 127 20s727ms 163ms 21 149 23s703ms 159ms 22 8 1s256ms 157ms 23 1 157ms 157ms -
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 ('%14229%') OR unaccent (res_partner.display_name) ilike unaccent ('%14229%') OR unaccent (res_partner.ref) ilike unaccent ('%14229%') OR unaccent (res_partner.vat) ilike unaccent ('14229')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%14229%') desc, unaccent (res_partner.display_name);
Date: 2023-03-08 18:20:42 Duration: 312ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%G-00653%') OR unaccent (res_partner.display_name) ilike unaccent ('%G-00653%') OR unaccent (res_partner.ref) ilike unaccent ('%G-00653%') OR unaccent (res_partner.vat) ilike unaccent ('G-00653')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%G-00653%') desc, unaccent (res_partner.display_name);
Date: 2023-03-08 19:46:04 Duration: 299ms
-
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 ('%T-01558%') OR unaccent (res_partner.display_name) ilike unaccent ('%T-01558%') OR unaccent (res_partner.ref) ilike unaccent ('%T-01558%') OR unaccent (res_partner.vat) ilike unaccent ('T-01558')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%T-01558%') desc, unaccent (res_partner.display_name);
Date: 2023-03-08 17:05:14 Duration: 296ms
8 1,384 34m4s 873ms 27s31ms 1s477ms update "stock_move" set "current_warehouse_qty" = ?.?, "is_done" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 08 10 7 7s183ms 1s26ms 11 1 883ms 883ms 12 15 14s987ms 999ms 13 123 2m21s 1s154ms 14 201 3m43s 1s114ms 15 196 3m37s 1s108ms 16 119 2m28s 1s249ms 17 181 9m35s 3s177ms 18 231 5m29s 1s425ms 19 138 3m2s 1s323ms 20 113 2m12s 1s172ms 21 59 1m10s 1s189ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292617, 292618, 292619, 292620, 292621, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647);
Date: 2023-03-08 17:37:09 Duration: 27s31ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292617, 292618, 292619, 292620, 292621, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647);
Date: 2023-03-08 17:45:06 Duration: 25s524ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292617, 292618, 292619, 292620, 292621, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647);
Date: 2023-03-08 17:48:36 Duration: 24s778ms
9 1,354 4m43s 189ms 593ms 209ms 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 08 00 4 786ms 196ms 01 6 1s181ms 196ms 02 15 2s977ms 198ms 10 12 2s482ms 206ms 11 1 194ms 194ms 12 57 11s535ms 202ms 13 114 24s355ms 213ms 14 517 1m49s 211ms 15 99 20s300ms 205ms 16 141 29s271ms 207ms 17 87 18s237ms 209ms 18 81 16s998ms 209ms 19 65 13s696ms 210ms 20 114 24s154ms 211ms 21 30 6s208ms 206ms 22 11 2s185ms 198ms -
UPDATE "sale_order_line" SET "write_uid" = 1142, "write_date" = (now() at time zone 'UTC') WHERE id IN (101768, 101770, 101765);
Date: 2023-03-08 13:03:54 Duration: 593ms
-
UPDATE "sale_order_line" SET "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (97417);
Date: 2023-03-08 14:07:18 Duration: 409ms
-
UPDATE "sale_order_line" SET "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (101746, 101743);
Date: 2023-03-08 12:54:11 Duration: 400ms
10 1,298 2m54s 122ms 264ms 134ms update "stock_quant" set "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 08 02 4 500ms 125ms 03 4 514ms 128ms 10 6 767ms 127ms 12 28 3s764ms 134ms 13 127 16s842ms 132ms 14 227 30s868ms 135ms 15 137 18s550ms 135ms 16 145 19s448ms 134ms 17 129 17s269ms 133ms 18 179 24s389ms 136ms 19 159 21s412ms 134ms 20 99 13s409ms 135ms 21 37 4s813ms 130ms 22 12 1s546ms 128ms 23 5 643ms 128ms -
UPDATE "stock_quant" SET "reserved_quantity" = 0.0, "write_uid" = 994, "write_date" = (now() at time zone 'UTC') WHERE id IN (48233, 231875);
Date: 2023-03-08 12:39:10 Duration: 264ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 2.0, "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (59361);
Date: 2023-03-08 14:41:56 Duration: 202ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 2.0, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (210126);
Date: 2023-03-08 14:07:35 Duration: 200ms
11 1,183 11m5s 520ms 905ms 562ms 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 #11
Day Hour Count Duration Avg duration Mar 08 00 3 1s650ms 550ms 12 32 18s11ms 562ms 13 232 2m10s 560ms 14 70 39s216ms 560ms 15 57 31s576ms 553ms 16 147 1m21s 557ms 17 117 1m8s 582ms 18 176 1m38s 558ms 19 203 1m54s 564ms 20 142 1m20s 563ms 21 4 2s159ms 539ms -
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 ('%%cb3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%cb3/%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%cb3/%'))) 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-08 17:55:23 Duration: 905ms
-
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 ('%%131008%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%131008%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%131008%'))) 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-08 17:38:34 Duration: 894ms
-
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 ('%%634M%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%634M%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%634M%'))) 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-08 20:14:31 Duration: 861ms
12 1,138 4m27s 207ms 628ms 235ms 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 #12
Day Hour Count Duration Avg duration Mar 08 01 4 901ms 225ms 02 21 4s571ms 217ms 03 1 217ms 217ms 10 12 2s669ms 222ms 11 2 452ms 226ms 12 52 11s503ms 221ms 13 120 28s874ms 240ms 14 261 1m1s 236ms 15 109 25s72ms 230ms 16 125 29s523ms 236ms 17 97 23s792ms 245ms 18 93 22s244ms 239ms 19 72 16s965ms 235ms 20 121 28s638ms 236ms 21 39 8s712ms 223ms 22 9 2s3ms 222ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (102490)) ORDER BY "sale_history_line"."id";
Date: 2023-03-08 17:34:54 Duration: 628ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (102607)) ORDER BY "sale_history_line"."id";
Date: 2023-03-08 18:23:13 Duration: 568ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (101930)) ORDER BY "sale_history_line"."id";
Date: 2023-03-08 14:07:18 Duration: 406ms
13 1,020 29m43s 882ms 19s903ms 1s748ms update "stock_move" set "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 08 02 2 3s554ms 1s777ms 03 4 3s664ms 916ms 07 1 901ms 901ms 10 1 5s434ms 5s434ms 12 32 1m11s 2s249ms 13 93 2m47s 1s801ms 14 151 4m11s 1s666ms 15 121 3m21s 1s667ms 16 102 2m55s 1s717ms 17 110 2m58s 1s619ms 18 124 3m41s 1s788ms 19 113 3m44s 1s989ms 20 95 3m3s 1s928ms 21 58 1m18s 1s353ms 22 8 10s991ms 1s373ms 23 5 4s569ms 913ms -
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (307936, 307938, 307939, 307940, 307941, 307942, 307943, 307944, 307945, 307946, 307926, 307927, 307928, 307929, 307930, 307931, 307932, 307933, 307935);
Date: 2023-03-08 20:12:59 Duration: 19s903ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (291395, 296170, 296171, 296172, 296173, 296174, 296176, 296177, 296179, 296180, 296181, 296093, 293912, 293914, 296094, 296092, 293917, 293918);
Date: 2023-03-08 16:32:03 Duration: 19s211ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1030, "write_date" = (now() at time zone 'UTC') WHERE id IN (306816, 306817, 306818, 306819, 306820, 306821, 306823, 306824, 306825, 306826, 306808, 306809, 306810, 306811, 306812, 306813, 306814, 306815);
Date: 2023-03-08 15:15:12 Duration: 18s348ms
14 969 16m48s 866ms 5s701ms 1s40ms 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 #14
Day Hour Count Duration Avg duration Mar 08 02 6 7s302ms 1s217ms 03 4 3s657ms 914ms 10 6 5s374ms 895ms 12 64 1m5s 1s28ms 13 109 1m51s 1s25ms 14 190 3m27s 1s92ms 15 92 1m33s 1s11ms 16 123 2m6s 1s26ms 17 95 1m37s 1s24ms 18 71 1m14s 1s50ms 19 87 1m26s 992ms 20 79 1m26s 1s99ms 21 28 28s494ms 1s17ms 22 15 13s538ms 902ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 6.0, "reference" = '04-V/OUT/03288', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (306593, 306594, 306595, 306590, 306591);
Date: 2023-03-08 14:26:08 Duration: 5s701ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 6.0, "reference" = '04-V/IN/01905', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (307137, 307138, 307139, 307140, 307141);
Date: 2023-03-08 16:42:19 Duration: 4s573ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 1.0, "reference" = '11-N/IN/03555', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1012, "write_date" = (now() at time zone 'UTC') WHERE id IN (306200, 306197, 306198, 306199);
Date: 2023-03-08 12:56:16 Duration: 3s767ms
15 941 10m58s 660ms 1s175ms 700ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 08 11 1 691ms 691ms 12 38 26s179ms 688ms 13 131 1m31s 698ms 14 141 1m38s 701ms 15 126 1m28s 699ms 16 123 1m26s 699ms 17 82 57s396ms 699ms 18 115 1m20s 702ms 19 86 1m 702ms 20 63 44s271ms 702ms 21 29 20s273ms 699ms 22 6 4s71ms 678ms -
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 ('%N6-4-9031%')) 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 ('%N6-4-9031%'))) 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 ('%N6-4-9031%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%N6-4-9031%')))))) 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-08 19:36:22 Duration: 1s175ms
-
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 ('%a4719e2annk%')) 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 ('%a4719e2annk%'))) 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 ('%a4719e2annk%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%a4719e2annk%')))))) 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-08 17:45:47 Duration: 960ms
-
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 ('%hr735k%')) 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 ('%hr735k%'))) 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 ('%hr735k%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%hr735k%')))))) 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-08 18:25:03 Duration: 928ms
16 927 3m17s 192ms 1s457ms 213ms 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 #16
Day Hour Count Duration Avg duration Mar 08 03 1 199ms 199ms 07 1 198ms 198ms 10 6 1s577ms 262ms 11 1 206ms 206ms 12 18 3s598ms 199ms 13 91 19s558ms 214ms 14 189 39s751ms 210ms 15 220 46s207ms 210ms 16 95 21s258ms 223ms 17 58 12s135ms 209ms 18 58 12s282ms 211ms 19 86 18s563ms 215ms 20 71 15s956ms 224ms 21 31 6s234ms 201ms 22 1 201ms 201ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 25.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (96578, 96581, 96582, 96583, 96584, 96585, 96587);
Date: 2023-03-08 16:32:08 Duration: 1s457ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (95264, 95269, 95270, 95279);
Date: 2023-03-08 15:19:21 Duration: 795ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 20.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (96576, 96577, 96571);
Date: 2023-03-08 16:32:06 Duration: 608ms
17 885 14m13s 875ms 1s533ms 964ms 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 #17
Day Hour Count Duration Avg duration Mar 08 02 8 7s356ms 919ms 03 4 3s643ms 910ms 10 6 5s355ms 892ms 12 37 34s122ms 922ms 13 97 1m32s 952ms 14 233 3m47s 977ms 15 88 1m24s 962ms 16 107 1m42s 959ms 17 82 1m19s 967ms 18 67 1m5s 973ms 19 52 50s937ms 979ms 20 71 1m7s 957ms 21 29 27s940ms 963ms 22 4 3s656ms 914ms -
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-02 13:32:32', '2023-03-02 13:32:32', '16-14G Butt Conn.Sta-DRY', 61245, 5, 445, 'new_product', '[1-1962-100] 16-14G Butt Conn.Sta-DRY', NULL, 'N-03205', 47590, 338, '0', 'make_to_stock', 184203, 90, '24.00', false, 380, 97418, 10, 'draft', 43) RETURNING id;
Date: 2023-03-08 14:07:33 Duration: 1s533ms
-
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-02 13:32:32', '2023-03-02 13:32:32', '16-14G Butt Conn.Sta-DRY', 61245, 5, 445, 'new_product', '[1-1962-100] 16-14G Butt Conn.Sta-DRY', NULL, 'N-03205', 47590, 338, '0', 'make_to_stock', 184203, 90, '24.00', false, 380, 97418, 10, 'draft', 43) RETURNING id;
Date: 2023-03-08 14:07:29 Duration: 1s330ms
-
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-08 20:59:17', '2023-03-08 20:59:17', 'RVC Cable', 64686, 5, 437, 'new_product', '[5M1361-072I] RVC Cable', NULL, 'I-05094', 41277, 330, '0', 'make_to_stock', 193774, 1, '1.00', false, 371, 102888, 10, 'draft', 42) RETURNING id;
Date: 2023-03-08 21:00:14 Duration: 1s261ms
18 877 2m7s 122ms 914ms 145ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 08 10 8 1s16ms 127ms 11 1 130ms 130ms 12 18 2s514ms 139ms 13 67 9s901ms 147ms 14 158 21s961ms 138ms 15 175 25s402ms 145ms 16 103 14s545ms 141ms 17 62 9s313ms 150ms 18 59 8s373ms 141ms 19 69 11s536ms 167ms 20 97 14s228ms 146ms 21 60 8s624ms 143ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (236736, 23992, 150076, 236733, 236734, 236735);
Date: 2023-03-08 19:44:19 Duration: 914ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 994, "write_date" = (now() at time zone 'UTC') WHERE id IN (51824, 236739, 236740, 236742);
Date: 2023-03-08 13:48:01 Duration: 512ms
-
UPDATE "stock_quant" SET "quantity" = 1.0, "reserved_quantity" = 0.0, "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (146571, 185723, 147359);
Date: 2023-03-08 17:41:37 Duration: 412ms
19 855 2m59s 191ms 334ms 210ms 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 #19
Day Hour Count Duration Avg duration Mar 08 00 3 599ms 199ms 01 6 1s192ms 198ms 02 3 596ms 198ms 03 5 1s5ms 201ms 12 20 4s76ms 203ms 13 107 22s785ms 212ms 14 170 35s975ms 211ms 15 88 18s226ms 207ms 16 104 21s950ms 211ms 17 94 19s661ms 209ms 18 72 15s157ms 210ms 19 68 14s582ms 214ms 20 85 17s712ms 208ms 21 30 6s438ms 214ms -
UPDATE "sale_order_line" SET "branch_id" = 38, "currency_id" = 2, "cus_date_order" = '2023-03-08 16:53:09', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = 2933, "is_service" = false, "margin" = '244.00', "margin_percent" = 0.46051638230409175, "order_partner_id" = 34083, "price_reduce" = '66.23', "price_reduce_taxexcl" = '66.23', "price_reduce_taxinc" = '70.20', "price_subtotal" = '529.84', "price_tax" = 31.79, "price_total" = '561.63', "purchase_price" = '35.73', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 985, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 36, "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (102419);
Date: 2023-03-08 16:53:30 Duration: 334ms
-
UPDATE "sale_order_line" SET "branch_id" = 46, "currency_id" = 2, "cus_date_order" = '2023-03-08 13:33:33', "cus_part_route" = NULL, "cus_user_id" = 1009, "inventory_vendor_id" = 3101, "is_service" = false, "margin" = '30.12', "margin_percent" = 0.3201190349665214, "order_partner_id" = 42693, "price_reduce" = '94.09', "price_reduce_taxexcl" = '94.09', "price_reduce_taxinc" = '94.09', "price_subtotal" = '94.09', "price_tax" = 0.0, "price_total" = '94.09', "purchase_price" = '63.97', "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" = 43, "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (101854);
Date: 2023-03-08 13:36:48 Duration: 332ms
-
UPDATE "sale_order_line" SET "branch_id" = 39, "currency_id" = 2, "cus_date_order" = '2023-03-08 13:39:08', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = 2955, "is_service" = false, "margin" = '153.61', "margin_percent" = 0.4099983985480169, "order_partner_id" = 42604, "price_reduce" = '374.66', "price_reduce_taxexcl" = '374.66', "price_reduce_taxinc" = '397.14', "price_subtotal" = '374.66', "price_tax" = 22.48, "price_total" = '397.14', "purchase_price" = '221.05', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 985, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 37, "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (101864);
Date: 2023-03-08 13:39:30 Duration: 331ms
20 843 2m56s 191ms 439ms 208ms 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 #20
Day Hour Count Duration Avg duration Mar 08 10 6 1s578ms 263ms 11 1 197ms 197ms 12 11 2s228ms 202ms 13 77 16s268ms 211ms 14 184 38s752ms 210ms 15 214 44s720ms 208ms 16 80 16s628ms 207ms 17 48 10s60ms 209ms 18 52 10s584ms 203ms 19 63 13s425ms 213ms 20 75 15s232ms 203ms 21 27 5s506ms 203ms 22 5 985ms 197ms -
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '12.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '10.68', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (95259, 95260);
Date: 2023-03-08 19:57:23 Duration: 439ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '3.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '100.53', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (102226, 102227);
Date: 2023-03-08 15:51:54 Duration: 437ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '4.32', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1043, "write_date" = (now() at time zone 'UTC') WHERE id IN (101779, 101780);
Date: 2023-03-08 13:15:23 Duration: 431ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2s353ms 6m42s 3m22s 2 6m44s select partner_id, partner_name, to_char(last_time_entries_checked, ?) as last_time_entries_checked, account_id, account_name, account_code, max_date from ( select p.id as partner_id, p.name as partner_name, p.last_time_entries_checked as last_time_entries_checked, a.id as account_id, a.name as account_name, a.code as account_code, max(l.write_date) as max_date from account_move_line l right join account_account a on (a.id = l.account_id) right join account_account_type at on (at.id = a.user_type_id) right join res_partner p on (l.partner_id = p.id) where a.reconcile is true and l.full_reconcile_id is null and at.type = ? and l.company_id = ? and exists ( select null from account_move_line l join account_move move on l.move_id = move.id join account_journal journal on l.journal_id = journal.id where l.account_id = a.id and l.partner_id = p.id and l.amount_residual > ? and move.state = ?) and exists ( select null from account_move_line l join account_move move on l.move_id = move.id join account_journal journal on l.journal_id = journal.id where l.account_id = a.id and l.partner_id = p.id and l.amount_residual < ? and move.state = ?) group by l.partner_id, p.id, a.id, a.name, a.code, p.last_time_entries_checked order by p.last_time_entries_checked) as s where (last_time_entries_checked is null or max_date > last_time_entries_checked);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 08 17 2 6m44s 3m22s -
SELECT partner_id, partner_name, to_char(last_time_entries_checked, 'YYYY-MM-DD') AS last_time_entries_checked, account_id, account_name, account_code, max_date FROM ( SELECT p.id AS partner_id, p.name AS partner_name, p.last_time_entries_checked AS last_time_entries_checked, a.id AS account_id, a.name AS account_name, a.code AS account_code, MAX(l.write_date) AS max_date FROM account_move_line l RIGHT JOIN account_account a ON (a.id = l.account_id) RIGHT JOIN account_account_type at ON (at.id = a.user_type_id) RIGHT JOIN res_partner p ON (l.partner_id = p.id) WHERE a.reconcile IS TRUE AND l.full_reconcile_id is NULL AND at.type = 'payable' AND l.company_id = 1 AND EXISTS ( SELECT NULL FROM account_move_line l JOIN account_move move ON l.move_id = move.id JOIN account_journal journal ON l.journal_id = journal.id WHERE l.account_id = a.id AND l.partner_id = p.id AND l.amount_residual > 0 AND move.state = 'posted') AND EXISTS ( SELECT NULL FROM account_move_line l JOIN account_move move ON l.move_id = move.id JOIN account_journal journal ON l.journal_id = journal.id WHERE l.account_id = a.id AND l.partner_id = p.id AND l.amount_residual < 0 AND move.state = 'posted') GROUP BY l.partner_id, p.id, a.id, a.name, a.code, p.last_time_entries_checked ORDER BY p.last_time_entries_checked) as s WHERE (last_time_entries_checked IS NULL OR max_date > last_time_entries_checked);
Date: 2023-03-08 17:45:00 Duration: 6m42s
-
SELECT partner_id, partner_name, to_char(last_time_entries_checked, 'YYYY-MM-DD') AS last_time_entries_checked, account_id, account_name, account_code, max_date FROM ( SELECT p.id AS partner_id, p.name AS partner_name, p.last_time_entries_checked AS last_time_entries_checked, a.id AS account_id, a.name AS account_name, a.code AS account_code, MAX(l.write_date) AS max_date FROM account_move_line l RIGHT JOIN account_account a ON (a.id = l.account_id) RIGHT JOIN account_account_type at ON (at.id = a.user_type_id) RIGHT JOIN res_partner p ON (l.partner_id = p.id) WHERE a.reconcile IS TRUE AND l.full_reconcile_id is NULL AND at.type = 'receivable' AND l.company_id = 1 AND EXISTS ( SELECT NULL FROM account_move_line l JOIN account_move move ON l.move_id = move.id JOIN account_journal journal ON l.journal_id = journal.id WHERE l.account_id = a.id AND l.partner_id = p.id AND l.amount_residual > 0 AND move.state = 'posted') AND EXISTS ( SELECT NULL FROM account_move_line l JOIN account_move move ON l.move_id = move.id JOIN account_journal journal ON l.journal_id = journal.id WHERE l.account_id = a.id AND l.partner_id = p.id AND l.amount_residual < 0 AND move.state = 'posted') GROUP BY l.partner_id, p.id, a.id, a.name, a.code, p.last_time_entries_checked ORDER BY p.last_time_entries_checked) as s WHERE (last_time_entries_checked IS NULL OR max_date > last_time_entries_checked);
Date: 2023-03-08 17:38:14 Duration: 2s353ms
2 880ms 36s350ms 3s104ms 806 41m42s update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 08 10 3 7s416ms 2s472ms 11 1 1s33ms 1s33ms 12 14 18s527ms 1s323ms 13 80 2m31s 1s895ms 14 133 4m9s 1s875ms 15 102 4m8s 2s439ms 16 64 2m58s 2s791ms 17 102 11m45s 6s921ms 18 99 6m36s 4s6ms 19 106 4m35s 2s600ms 20 73 3m4s 2s530ms 21 29 1m23s 2s896ms -
UPDATE "stock_move" SET "date" = '2023-03-08 17:35:49', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);
Date: 2023-03-08 17:36:26 Duration: 36s350ms
-
UPDATE "stock_move" SET "date" = '2023-03-08 19:34:55', "state" = 'done', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (304525, 304526, 304529, 304530, 304531, 304532, 304533, 304534, 304535, 304536, 304537, 304538, 304539, 304540, 304548, 304549, 304550, 304553, 304555, 304558, 304561, 304562, 304565, 304566, 304567, 304568, 304569, 304570, 304571, 304575, 304577, 304578, 304582, 304584, 304585, 307658, 307660, 307663);
Date: 2023-03-08 19:35:34 Duration: 35s427ms
-
UPDATE "stock_move" SET "date" = '2023-03-08 17:45:18', "state" = 'done', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292616, 292617, 292618, 292619, 292620, 292621, 292622, 292623, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292634, 292635, 292636, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647, 292648, 292649, 292650);
Date: 2023-03-08 17:45:52 Duration: 33s797ms
3 900ms 16s377ms 2s941ms 177 8m40s update "stock_move" set "reference" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 08 12 2 4s680ms 2s340ms 13 9 18s546ms 2s60ms 14 33 1m3s 1s919ms 15 29 1m7s 2s342ms 16 14 46s210ms 3s300ms 17 27 58s935ms 2s182ms 18 25 2m54s 6s984ms 19 18 29s635ms 1s646ms 20 14 33s496ms 2s392ms 21 6 23s231ms 3s871ms -
UPDATE "stock_move" SET "reference" = '13-T/IN/04084', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (288192, 288193, 288194, 288195, 288175, 288177, 288179, 288181, 288182, 288184, 288185, 288186, 288188, 288191);
Date: 2023-03-08 18:22:04 Duration: 16s377ms
-
UPDATE "stock_move" SET "reference" = '05-F/OUT/02593', "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (304928, 304929, 304930, 304931, 304932, 304933, 304934, 304924, 305423, 305425, 304923, 306396, 304925, 304926, 304927);
Date: 2023-03-08 15:37:02 Duration: 15s599ms
-
UPDATE "stock_move" SET "reference" = '13-T/IN/04088', "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (288192, 288193, 288194, 288195, 288175, 288177, 288179, 288181, 288182, 288184, 288185, 288186, 288188, 288191);
Date: 2023-03-08 18:24:39 Duration: 15s165ms
4 890ms 15s850ms 2s929ms 197 9m37s update "stock_move" set "picking_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 08 12 2 4s593ms 2s296ms 13 16 39s137ms 2s446ms 14 33 1m3s 1s917ms 15 30 1m9s 2s309ms 16 15 44s955ms 2s997ms 17 35 1m33s 2s681ms 18 28 3m3s 6s560ms 19 18 29s938ms 1s663ms 20 14 34s556ms 2s468ms 21 6 13s803ms 2s300ms -
UPDATE "stock_move" SET "picking_id" = 88625, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (288192, 288193, 288194, 288195, 288175, 288177, 288179, 288181, 288182, 288184, 288185, 288186, 288188, 288191);
Date: 2023-03-08 18:22:31 Duration: 15s850ms
-
UPDATE "stock_move" SET "picking_id" = 88643, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (288192, 288193, 288194, 288195, 288175, 288177, 288179, 288181, 288182, 288184, 288185, 288186, 288188, 288191);
Date: 2023-03-08 18:24:14 Duration: 15s764ms
-
UPDATE "stock_move" SET "picking_id" = 88631, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (288192, 288193, 288194, 288195, 288175, 288177, 288179, 288181, 288182, 288184, 288185, 288186, 288188, 288191);
Date: 2023-03-08 18:23:21 Duration: 15s153ms
5 889ms 18s435ms 2s2ms 344 11m28s update "stock_move" set "branch_id" = ?, "picking_id" = ?, "related_core_purchase_line_id" = ?, "related_core_repair_line_id" = ?, "related_core_sale_line_id" = ?, "scrapped" = false, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 08 02 2 5s479ms 2s739ms 10 1 5s424ms 5s424ms 12 14 27s610ms 1s972ms 13 42 1m15s 1s788ms 14 59 2m44s 2s785ms 15 42 1m8s 1s625ms 16 41 1m28s 2s169ms 17 41 1m3s 1s556ms 18 35 50s347ms 1s438ms 19 28 49s429ms 1s765ms 20 24 1m2s 2s594ms 21 14 23s950ms 1s710ms 22 1 3s682ms 3s682ms -
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 88860, "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 (307936, 307938, 307939, 307940, 307941, 307942, 307943, 307944, 307945, 307946, 307926, 307927, 307928, 307929, 307930, 307931, 307932, 307933, 307935);
Date: 2023-03-08 20:12:06 Duration: 18s435ms
-
UPDATE "stock_move" SET "branch_id" = 39, "picking_id" = 88793, "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 (307755, 307756, 307758, 307759, 307760, 307761, 307762, 307763, 307764, 307765, 307766, 307767);
Date: 2023-03-08 19:44:10 Duration: 12s975ms
-
UPDATE "stock_move" SET "branch_id" = 39, "picking_id" = 88060, "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 (306507, 306508, 306509, 306510, 306511, 306512, 306513, 306514, 306515, 306516, 306517, 306519);
Date: 2023-03-08 14:10:21 Duration: 11s904ms
6 882ms 19s903ms 1s748ms 1,020 29m43s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 08 02 2 3s554ms 1s777ms 03 4 3s664ms 916ms 07 1 901ms 901ms 10 1 5s434ms 5s434ms 12 32 1m11s 2s249ms 13 93 2m47s 1s801ms 14 151 4m11s 1s666ms 15 121 3m21s 1s667ms 16 102 2m55s 1s717ms 17 110 2m58s 1s619ms 18 124 3m41s 1s788ms 19 113 3m44s 1s989ms 20 95 3m3s 1s928ms 21 58 1m18s 1s353ms 22 8 10s991ms 1s373ms 23 5 4s569ms 913ms -
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (307936, 307938, 307939, 307940, 307941, 307942, 307943, 307944, 307945, 307946, 307926, 307927, 307928, 307929, 307930, 307931, 307932, 307933, 307935);
Date: 2023-03-08 20:12:59 Duration: 19s903ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (291395, 296170, 296171, 296172, 296173, 296174, 296176, 296177, 296179, 296180, 296181, 296093, 293912, 293914, 296094, 296092, 293917, 293918);
Date: 2023-03-08 16:32:03 Duration: 19s211ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1030, "write_date" = (now() at time zone 'UTC') WHERE id IN (306816, 306817, 306818, 306819, 306820, 306821, 306823, 306824, 306825, 306826, 306808, 306809, 306810, 306811, 306812, 306813, 306814, 306815);
Date: 2023-03-08 15:15:12 Duration: 18s348ms
7 1s546ms 2s132ms 1s588ms 259 6m51s select pwi.product_id, pt.min_product_uom_qty from product_warehouse_inventory pwi left join product_product as pp on pwi.product_id = pp.id left join product_template as pt on pt.id = pp.product_tmpl_id where pt.is_core = false and pt.min_product_uom_qty > ? and pwi.stocking_flag = true and ((coalesce(pwi.qty_available, ?) + coalesce(pwi.qty_on_order, ?)) - coalesce(pwi.qty_reserve, ?)) <= ? and pwi.warehouse_id = ? and pwi.inventory_vendor_id = ? and coalesce(pt.discontinued, false) = false and coalesce(pt.superceded, false) = false and coalesce(pt.obsolete, false) = false union all select pwi.product_id, abs(((coalesce(pwi.qty_available, ?) + coalesce(pwi.qty_on_order, ?)) - coalesce(pwi.qty_reserve, ?))) as min_product_uom_qty from product_warehouse_inventory pwi left join product_product as pp on pwi.product_id = pp.id left join product_template as pt on pt.id = pp.product_tmpl_id where pt.is_core = false and pwi.stocking_flag = false and ((coalesce(pwi.qty_available, ?) + coalesce(pwi.qty_on_order, ?)) - coalesce(pwi.qty_reserve, ?)) < ? and pwi.warehouse_id = ? and pwi.inventory_vendor_id = ? and coalesce(pt.discontinued, false) = false and coalesce(pt.never_stock, false) = true and coalesce(pt.superceded, false) = false and coalesce(pt.obsolete, false) = false union all select pwi.product_id, coalesce(pwi.qty_on_perm_order, ?) as min_product_uom_qty from product_warehouse_inventory pwi left join product_product as pp on pwi.product_id = pp.id left join product_template as pt on pt.id = pp.product_tmpl_id where pt.is_core = false and pwi.stocking_flag = true and coalesce(pwi.qty_on_perm_order, ?) > ? and ((coalesce(pwi.qty_available, ?) + coalesce(pwi.qty_on_order, ?)) - (coalesce(pwi.qty_reserve, ?) + coalesce(pwi.qty_on_perm_order, ?))) < ? and pt.discontinued = false and pwi.warehouse_id = ? and pwi.inventory_vendor_id = ? and coalesce(pt.superceded, false) = false and coalesce(pt.obsolete, false) = false;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 08 10 181 4m43s 1s568ms 11 6 9s406ms 1s567ms 12 8 12s810ms 1s601ms 13 2 3s497ms 1s748ms 14 3 5s44ms 1s681ms 15 9 14s623ms 1s624ms 16 10 16s401ms 1s640ms 17 7 11s803ms 1s686ms 18 6 9s534ms 1s589ms 19 8 13s702ms 1s712ms 20 7 11s655ms 1s665ms 21 5 8s77ms 1s615ms 22 7 11s81ms 1s583ms -
select pwi.product_id, pt.min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pt.min_product_uom_qty > 0 and pwi.stocking_flag = True and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0)) <= 0 and pwi.warehouse_id = 44 and pwi.inventory_vendor_id = 2955 and COALESCE(pt.discontinued, False) = False and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False UNION ALL select pwi.product_id, abs(((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0))) as min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pwi.stocking_flag = False and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0)) < 0 and pwi.warehouse_id = 44 and pwi.inventory_vendor_id = 2955 and COALESCE(pt.discontinued, False) = False and COALESCE(pt.never_stock, False) = True and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False UNION ALL select pwi.product_id, COALESCE(pwi.qty_on_perm_order, 0) as min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pwi.stocking_flag = True and COALESCE(pwi.qty_on_perm_order, 0) > 0 and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - (COALESCE(pwi.qty_reserve, 0) + COALESCE(pwi.qty_on_perm_order, 0))) < 0 and pt.discontinued = False and pwi.warehouse_id = 44 and pwi.inventory_vendor_id = 2955 and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False;
Date: 2023-03-08 19:59:43 Duration: 2s132ms
-
select pwi.product_id, pt.min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pt.min_product_uom_qty > 0 and pwi.stocking_flag = True and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0)) <= 0 and pwi.warehouse_id = 43 and pwi.inventory_vendor_id = 3085 and COALESCE(pt.discontinued, False) = False and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False UNION ALL select pwi.product_id, abs(((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0))) as min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pwi.stocking_flag = False and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0)) < 0 and pwi.warehouse_id = 43 and pwi.inventory_vendor_id = 3085 and COALESCE(pt.discontinued, False) = False and COALESCE(pt.never_stock, False) = True and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False UNION ALL select pwi.product_id, COALESCE(pwi.qty_on_perm_order, 0) as min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pwi.stocking_flag = True and COALESCE(pwi.qty_on_perm_order, 0) > 0 and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - (COALESCE(pwi.qty_reserve, 0) + COALESCE(pwi.qty_on_perm_order, 0))) < 0 and pt.discontinued = False and pwi.warehouse_id = 43 and pwi.inventory_vendor_id = 3085 and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False;
Date: 2023-03-08 17:55:23 Duration: 1s921ms
-
select pwi.product_id, pt.min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pt.min_product_uom_qty > 0 and pwi.stocking_flag = True and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0)) <= 0 and pwi.warehouse_id = 41 and pwi.inventory_vendor_id = 2980 and COALESCE(pt.discontinued, False) = False and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False UNION ALL select pwi.product_id, abs(((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0))) as min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pwi.stocking_flag = False and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - COALESCE(pwi.qty_reserve, 0)) < 0 and pwi.warehouse_id = 41 and pwi.inventory_vendor_id = 2980 and COALESCE(pt.discontinued, False) = False and COALESCE(pt.never_stock, False) = True and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False UNION ALL select pwi.product_id, COALESCE(pwi.qty_on_perm_order, 0) as min_product_uom_qty from product_warehouse_inventory pwi LEFT JOIN product_product as pp ON pwi.product_id = pp.id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id where pt.is_core = False and pwi.stocking_flag = True and COALESCE(pwi.qty_on_perm_order, 0) > 0 and ((COALESCE(pwi.qty_available, 0) + COALESCE(pwi.qty_on_order, 0)) - (COALESCE(pwi.qty_reserve, 0) + COALESCE(pwi.qty_on_perm_order, 0))) < 0 and pt.discontinued = False and pwi.warehouse_id = 41 and pwi.inventory_vendor_id = 2980 and COALESCE(pt.superceded, False) = False and COALESCE(pt.obsolete, False) = False;
Date: 2023-03-08 14:41:54 Duration: 1s821ms
8 873ms 27s31ms 1s477ms 1,384 34m4s update "stock_move" set "current_warehouse_qty" = ?.?, "is_done" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 08 10 7 7s183ms 1s26ms 11 1 883ms 883ms 12 15 14s987ms 999ms 13 123 2m21s 1s154ms 14 201 3m43s 1s114ms 15 196 3m37s 1s108ms 16 119 2m28s 1s249ms 17 181 9m35s 3s177ms 18 231 5m29s 1s425ms 19 138 3m2s 1s323ms 20 113 2m12s 1s172ms 21 59 1m10s 1s189ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292617, 292618, 292619, 292620, 292621, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647);
Date: 2023-03-08 17:37:09 Duration: 27s31ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292617, 292618, 292619, 292620, 292621, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647);
Date: 2023-03-08 17:45:06 Duration: 25s524ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 981, "write_date" = (now() at time zone 'UTC') WHERE id IN (292615, 292617, 292618, 292619, 292620, 292621, 292624, 292625, 292626, 292627, 292628, 292629, 292630, 292631, 292633, 292637, 292638, 292640, 292641, 292642, 292643, 292644, 292645, 292646, 292647);
Date: 2023-03-08 17:48:36 Duration: 24s778ms
9 866ms 5s701ms 1s40ms 969 16m48s 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 #9
Day Hour Count Duration Avg duration Mar 08 02 6 7s302ms 1s217ms 03 4 3s657ms 914ms 10 6 5s374ms 895ms 12 64 1m5s 1s28ms 13 109 1m51s 1s25ms 14 190 3m27s 1s92ms 15 92 1m33s 1s11ms 16 123 2m6s 1s26ms 17 95 1m37s 1s24ms 18 71 1m14s 1s50ms 19 87 1m26s 992ms 20 79 1m26s 1s99ms 21 28 28s494ms 1s17ms 22 15 13s538ms 902ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 6.0, "reference" = '04-V/OUT/03288', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (306593, 306594, 306595, 306590, 306591);
Date: 2023-03-08 14:26:08 Duration: 5s701ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 6.0, "reference" = '04-V/IN/01905', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (307137, 307138, 307139, 307140, 307141);
Date: 2023-03-08 16:42:19 Duration: 4s573ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "product_qty" = 1.0, "reference" = '11-N/IN/03555', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1012, "write_date" = (now() at time zone 'UTC') WHERE id IN (306200, 306197, 306198, 306199);
Date: 2023-03-08 12:56:16 Duration: 3s767ms
10 888ms 5s905ms 1s39ms 351 6m4s update "stock_move" set "current_warehouse_qty" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 08 12 12 12s37ms 1s3ms 13 10 9s453ms 945ms 14 36 35s848ms 995ms 15 34 33s77ms 972ms 16 33 34s519ms 1s46ms 17 20 18s991ms 949ms 18 41 41s694ms 1s16ms 19 70 1m25s 1s221ms 20 59 59s141ms 1s2ms 21 36 34s408ms 955ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (304578, 304585, 307658, 307660, 304530, 304567);
Date: 2023-03-08 19:35:49 Duration: 5s905ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 7.0, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (304577, 304562, 304548, 304534);
Date: 2023-03-08 19:35:59 Duration: 3s827ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 17.0, "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (304536, 304582, 304575);
Date: 2023-03-08 19:36:02 Duration: 2s987ms
11 875ms 1s533ms 964ms 885 14m13s 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 #11
Day Hour Count Duration Avg duration Mar 08 02 8 7s356ms 919ms 03 4 3s643ms 910ms 10 6 5s355ms 892ms 12 37 34s122ms 922ms 13 97 1m32s 952ms 14 233 3m47s 977ms 15 88 1m24s 962ms 16 107 1m42s 959ms 17 82 1m19s 967ms 18 67 1m5s 973ms 19 52 50s937ms 979ms 20 71 1m7s 957ms 21 29 27s940ms 963ms 22 4 3s656ms 914ms -
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-02 13:32:32', '2023-03-02 13:32:32', '16-14G Butt Conn.Sta-DRY', 61245, 5, 445, 'new_product', '[1-1962-100] 16-14G Butt Conn.Sta-DRY', NULL, 'N-03205', 47590, 338, '0', 'make_to_stock', 184203, 90, '24.00', false, 380, 97418, 10, 'draft', 43) RETURNING id;
Date: 2023-03-08 14:07:33 Duration: 1s533ms
-
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-02 13:32:32', '2023-03-02 13:32:32', '16-14G Butt Conn.Sta-DRY', 61245, 5, 445, 'new_product', '[1-1962-100] 16-14G Butt Conn.Sta-DRY', NULL, 'N-03205', 47590, 338, '0', 'make_to_stock', 184203, 90, '24.00', false, 380, 97418, 10, 'draft', 43) RETURNING id;
Date: 2023-03-08 14:07:29 Duration: 1s330ms
-
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-08 20:59:17', '2023-03-08 20:59:17', 'RVC Cable', 64686, 5, 437, 'new_product', '[5M1361-072I] RVC Cable', NULL, 'I-05094', 41277, 330, '0', 'make_to_stock', 193774, 1, '1.00', false, 371, 102888, 10, 'draft', 42) RETURNING id;
Date: 2023-03-08 21:00:14 Duration: 1s261ms
12 886ms 1s270ms 950ms 367 5m48s 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", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?.?, ?, ?, ?, ?, ?, true, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 08 12 39 35s888ms 920ms 13 26 24s781ms 953ms 14 6 5s738ms 956ms 15 19 18s484ms 972ms 16 36 33s717ms 936ms 17 29 27s747ms 956ms 18 31 29s655ms 956ms 19 81 1m18s 969ms 20 31 30s579ms 986ms 21 43 40s300ms 937ms 22 26 23s525ms 904ms -
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", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 48, 1, '2023-03-08 13:11:09.489478', '2023-03-08 13:11:09.489478', '[109685X] AD-9 Air Dryer', 64042, 461, 4, 'new_product', '[109685X] AD-9 Air Dryer', 'T-01753', NULL, 87958, 353, 159.73, '0', 'make_to_stock', 239420, 1, '1.00', true, 44082, 10, 'draft', 45) RETURNING id;
Date: 2023-03-08 13:17:58 Duration: 1s270ms
-
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", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 46, 1, '2023-03-08 21:02:00.480490', '2023-03-08 21:02:00.480490', '[177.117412D] PLC 45 Deg Swivel Male Elbow 3/4 x 1/2in', 64694, 445, 4, 'new_product', '[177.117412D] PLC 45 Deg Swivel Male Elbow 3/4 x 1/2in', 'N-01331', NULL, 88943, 337, 18.27, '0', 'make_to_stock', 247179, 1, '1.00', true, 44374, 10, 'draft', 43) RETURNING id;
Date: 2023-03-08 21:16:16 Duration: 1s263ms
-
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", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 39, 1, '2023-03-08 20:23:14.568576', '2023-03-08 20:23:14.568576', '[125704] Brk Rtr - ADB', 64652, 397, 4, 'new_product', '[125704] Brk Rtr - ADB', 'V-00648', NULL, 88880, 289, 137.29, '0', 'make_to_stock', 243627, 1, '2.00', true, 44349, 10, 'draft', 37) RETURNING id;
Date: 2023-03-08 20:24:00 Duration: 1s256ms
13 660ms 1s175ms 700ms 941 10m58s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 08 11 1 691ms 691ms 12 38 26s179ms 688ms 13 131 1m31s 698ms 14 141 1m38s 701ms 15 126 1m28s 699ms 16 123 1m26s 699ms 17 82 57s396ms 699ms 18 115 1m20s 702ms 19 86 1m 702ms 20 63 44s271ms 702ms 21 29 20s273ms 699ms 22 6 4s71ms 678ms -
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 ('%N6-4-9031%')) 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 ('%N6-4-9031%'))) 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 ('%N6-4-9031%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%N6-4-9031%')))))) 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-08 19:36:22 Duration: 1s175ms
-
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 ('%a4719e2annk%')) 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 ('%a4719e2annk%'))) 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 ('%a4719e2annk%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%a4719e2annk%')))))) 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-08 17:45:47 Duration: 960ms
-
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 ('%hr735k%')) 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 ('%hr735k%'))) 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 ('%hr735k%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%hr735k%')))))) 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-08 18:25:03 Duration: 928ms
14 449ms 1s199ms 563ms 4,780 44m52s 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 #14
Day Hour Count Duration Avg duration Mar 08 00 12 6s452ms 537ms 01 28 15s374ms 549ms 02 15 8s67ms 537ms 03 24 12s967ms 540ms 10 14 7s573ms 540ms 12 157 1m26s 548ms 13 541 5m4s 562ms 14 948 8m59s 569ms 15 540 5m5s 565ms 16 616 5m47s 563ms 17 519 4m53s 565ms 18 414 3m51s 558ms 19 399 3m46s 568ms 20 401 3m45s 561ms 21 137 1m15s 547ms 22 15 8s131ms 542ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%476%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%476%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%476%'))) 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-08 14:07:17 Duration: 1s199ms
-
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 ('%%scStock%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%sc Stock%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%sc Stock%'))) 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-08 16:00:22 Duration: 1s68ms
-
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 ('%%4762%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%4762%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%4762%'))) 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-08 14:07:18 Duration: 1s25ms
15 520ms 905ms 562ms 1,183 11m5s 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 #15
Day Hour Count Duration Avg duration Mar 08 00 3 1s650ms 550ms 12 32 18s11ms 562ms 13 232 2m10s 560ms 14 70 39s216ms 560ms 15 57 31s576ms 553ms 16 147 1m21s 557ms 17 117 1m8s 582ms 18 176 1m38s 558ms 19 203 1m54s 564ms 20 142 1m20s 563ms 21 4 2s159ms 539ms -
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 ('%%cb3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%cb3/%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%cb3/%'))) 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-08 17:55:23 Duration: 905ms
-
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 ('%%131008%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%131008%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%131008%'))) 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-08 17:38:34 Duration: 894ms
-
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 ('%%634M%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%634M%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%634M%'))) 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-08 20:14:31 Duration: 861ms
16 207ms 628ms 235ms 1,138 4m27s 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 #16
Day Hour Count Duration Avg duration Mar 08 01 4 901ms 225ms 02 21 4s571ms 217ms 03 1 217ms 217ms 10 12 2s669ms 222ms 11 2 452ms 226ms 12 52 11s503ms 221ms 13 120 28s874ms 240ms 14 261 1m1s 236ms 15 109 25s72ms 230ms 16 125 29s523ms 236ms 17 97 23s792ms 245ms 18 93 22s244ms 239ms 19 72 16s965ms 235ms 20 121 28s638ms 236ms 21 39 8s712ms 223ms 22 9 2s3ms 222ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (102490)) ORDER BY "sale_history_line"."id";
Date: 2023-03-08 17:34:54 Duration: 628ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (102607)) ORDER BY "sale_history_line"."id";
Date: 2023-03-08 18:23:13 Duration: 568ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (101930)) ORDER BY "sale_history_line"."id";
Date: 2023-03-08 14:07:18 Duration: 406ms
17 192ms 1s457ms 213ms 927 3m17s 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 #17
Day Hour Count Duration Avg duration Mar 08 03 1 199ms 199ms 07 1 198ms 198ms 10 6 1s577ms 262ms 11 1 206ms 206ms 12 18 3s598ms 199ms 13 91 19s558ms 214ms 14 189 39s751ms 210ms 15 220 46s207ms 210ms 16 95 21s258ms 223ms 17 58 12s135ms 209ms 18 58 12s282ms 211ms 19 86 18s563ms 215ms 20 71 15s956ms 224ms 21 31 6s234ms 201ms 22 1 201ms 201ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 25.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (96578, 96581, 96582, 96583, 96584, 96585, 96587);
Date: 2023-03-08 16:32:08 Duration: 1s457ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (95264, 95269, 95270, 95279);
Date: 2023-03-08 15:19:21 Duration: 795ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 20.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (96576, 96577, 96571);
Date: 2023-03-08 16:32:06 Duration: 608ms
18 191ms 334ms 210ms 855 2m59s 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 #18
Day Hour Count Duration Avg duration Mar 08 00 3 599ms 199ms 01 6 1s192ms 198ms 02 3 596ms 198ms 03 5 1s5ms 201ms 12 20 4s76ms 203ms 13 107 22s785ms 212ms 14 170 35s975ms 211ms 15 88 18s226ms 207ms 16 104 21s950ms 211ms 17 94 19s661ms 209ms 18 72 15s157ms 210ms 19 68 14s582ms 214ms 20 85 17s712ms 208ms 21 30 6s438ms 214ms -
UPDATE "sale_order_line" SET "branch_id" = 38, "currency_id" = 2, "cus_date_order" = '2023-03-08 16:53:09', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = 2933, "is_service" = false, "margin" = '244.00', "margin_percent" = 0.46051638230409175, "order_partner_id" = 34083, "price_reduce" = '66.23', "price_reduce_taxexcl" = '66.23', "price_reduce_taxinc" = '70.20', "price_subtotal" = '529.84', "price_tax" = 31.79, "price_total" = '561.63', "purchase_price" = '35.73', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 985, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 36, "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (102419);
Date: 2023-03-08 16:53:30 Duration: 334ms
-
UPDATE "sale_order_line" SET "branch_id" = 46, "currency_id" = 2, "cus_date_order" = '2023-03-08 13:33:33', "cus_part_route" = NULL, "cus_user_id" = 1009, "inventory_vendor_id" = 3101, "is_service" = false, "margin" = '30.12', "margin_percent" = 0.3201190349665214, "order_partner_id" = 42693, "price_reduce" = '94.09', "price_reduce_taxexcl" = '94.09', "price_reduce_taxinc" = '94.09', "price_subtotal" = '94.09', "price_tax" = 0.0, "price_total" = '94.09', "purchase_price" = '63.97', "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" = 43, "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (101854);
Date: 2023-03-08 13:36:48 Duration: 332ms
-
UPDATE "sale_order_line" SET "branch_id" = 39, "currency_id" = 2, "cus_date_order" = '2023-03-08 13:39:08', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = 2955, "is_service" = false, "margin" = '153.61', "margin_percent" = 0.4099983985480169, "order_partner_id" = 42604, "price_reduce" = '374.66', "price_reduce_taxexcl" = '374.66', "price_reduce_taxinc" = '397.14', "price_subtotal" = '374.66', "price_tax" = 22.48, "price_total" = '397.14', "purchase_price" = '221.05', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 985, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 37, "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (101864);
Date: 2023-03-08 13:39:30 Duration: 331ms
19 189ms 593ms 209ms 1,354 4m43s update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 08 00 4 786ms 196ms 01 6 1s181ms 196ms 02 15 2s977ms 198ms 10 12 2s482ms 206ms 11 1 194ms 194ms 12 57 11s535ms 202ms 13 114 24s355ms 213ms 14 517 1m49s 211ms 15 99 20s300ms 205ms 16 141 29s271ms 207ms 17 87 18s237ms 209ms 18 81 16s998ms 209ms 19 65 13s696ms 210ms 20 114 24s154ms 211ms 21 30 6s208ms 206ms 22 11 2s185ms 198ms -
UPDATE "sale_order_line" SET "write_uid" = 1142, "write_date" = (now() at time zone 'UTC') WHERE id IN (101768, 101770, 101765);
Date: 2023-03-08 13:03:54 Duration: 593ms
-
UPDATE "sale_order_line" SET "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (97417);
Date: 2023-03-08 14:07:18 Duration: 409ms
-
UPDATE "sale_order_line" SET "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (101746, 101743);
Date: 2023-03-08 12:54:11 Duration: 400ms
20 191ms 439ms 208ms 843 2m56s 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 #20
Day Hour Count Duration Avg duration Mar 08 10 6 1s578ms 263ms 11 1 197ms 197ms 12 11 2s228ms 202ms 13 77 16s268ms 211ms 14 184 38s752ms 210ms 15 214 44s720ms 208ms 16 80 16s628ms 207ms 17 48 10s60ms 209ms 18 52 10s584ms 203ms 19 63 13s425ms 213ms 20 75 15s232ms 203ms 21 27 5s506ms 203ms 22 5 985ms 197ms -
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '12.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '10.68', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (95259, 95260);
Date: 2023-03-08 19:57:23 Duration: 439ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '3.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '100.53', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (102226, 102227);
Date: 2023-03-08 15:51:54 Duration: 437ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '4.32', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1043, "write_date" = (now() at time zone 'UTC') WHERE id IN (101779, 101780);
Date: 2023-03-08 13:15:23 Duration: 431ms
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
- 98,108 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 5438 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 2,976 Max number of times the same event was reported
- 5,438 Total events found
Rank Times reported Error 1 2,976 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 08 00 120 01 93 02 97 03 109 04 129 05 102 06 125 07 75 08 90 09 95 10 96 11 110 12 124 13 158 14 144 15 126 16 104 17 158 18 233 19 246 20 154 21 106 22 92 23 90 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM ir_attachment WHERE id IN (1074351)
Date: 2023-03-08 23:51:12
2 1,240 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 08 00 45 01 43 02 34 03 41 04 39 05 39 06 38 07 33 08 37 09 37 10 38 11 37 12 46 13 64 14 69 15 60 16 45 17 82 18 134 19 125 20 61 21 35 22 24 23 34 - ERROR: process 3568870 still waiting for ShareLock on transaction 99464243 after 1000.041 ms
- ERROR: process 3541269 still waiting for ShareLock on transaction 99464252 after 1000.053 ms
- ERROR: process 3553730 still waiting for ShareLock on transaction 99464276 after 1000.058 ms
Detail: Process holding the lock: 3540432. Wait queue: 3568870.
Context: while deleting tuple (3397,30) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (1074428)Date: 2023-03-08 23:53:44
Detail: Process holding the lock: 3557456. Wait queue: 3541269.
Context: while deleting tuple (3366,18) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (1074432)Date: 2023-03-08 23:53:48
Detail: Process holding the lock: 3562793. Wait queue: 3553730.
Context: while deleting tuple (3386,33) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (1074442)Date: 2023-03-08 23:54:04
3 543 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 08 00 1 02 1 03 1 04 3 05 8 06 2 07 7 09 1 10 1 11 2 12 40 13 44 14 93 15 72 16 14 17 87 18 60 19 62 20 23 21 14 22 6 23 1 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE "bus_presence" SET "last_poll"='2023-03-08 00:40:55',"last_presence"='2023-03-08 00:40:54.983877' WHERE id IN (62)
Date: 2023-03-08 00:40:55
4 436 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 08 00 29 01 33 02 12 03 9 04 10 05 10 06 7 07 7 08 9 09 12 10 184 11 9 12 4 13 13 14 7 15 8 16 8 17 30 18 7 19 8 20 6 21 3 22 5 23 6 - ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "res_partner"
- ERROR: could not obtain lock on row in relation "stock_quant"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=67 FOR UPDATE NOWAIT
Date: 2023-03-08 23:50:08
Statement: SELECT "supplier_rank" FROM res_partner WHERE ID IN (32769, 30496) FOR UPDATE NOWAIT; UPDATE res_partner SET "supplier_rank" = "supplier_rank" + 1 WHERE id IN (32769, 30496)
Date: 2023-03-08 17:29:04
Statement: SELECT 1 FROM stock_quant WHERE id = 150927 FOR UPDATE NOWAIT
Date: 2023-03-08 17:33:43
5 111 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 08 00 2 01 3 02 1 03 2 04 3 05 6 06 11 07 2 08 3 09 4 10 3 11 5 12 4 13 7 14 6 15 5 16 4 17 6 18 10 19 5 20 8 21 6 22 4 23 1 - ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT "ir_ui_view".id FROM "ir_ui_view" LEFT JOIN "website" AS "ir_ui_view__website_id" ON ("ir_ui_view"."website_id" = "ir_ui_view__website_id"."id") WHERE (("ir_ui_view"."active" = true) AND (("ir_ui_view"."key" = 'http_routing.http_error') AND (("ir_ui_view"."website_id" in (1)) OR "ir_ui_view"."website_id" IS NULL))) ORDER BY "ir_ui_view__website_id"."id" LIMIT 1
Date: 2023-03-08 00:24:32
6 76 LOG: process ... still waiting for AccessExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 08 00 2 02 2 03 2 04 2 05 3 06 3 07 1 08 2 09 2 10 2 11 1 12 1 13 5 14 4 15 1 17 5 18 17 19 15 20 4 21 2 - ERROR: process 2710456 still waiting for AccessExclusiveLock on tuple (3241,54) of relation 43604 of database 65946 after 1000.048 ms
- ERROR: process 2717932 still waiting for AccessExclusiveLock on tuple (3260,104) of relation 43604 of database 65946 after 1000.051 ms
- ERROR: process 2718982 still waiting for AccessExclusiveLock on tuple (3309,33) of relation 43604 of database 65946 after 1000.062 ms
Detail: Process holding the lock: 2741014. Wait queue: 2710456.
Statement: DELETE FROM ir_attachment WHERE id IN (1030397)Date: 2023-03-08 00:07:20
Detail: Process holding the lock: 2720426. Wait queue: 2717932.
Statement: DELETE FROM ir_attachment WHERE id IN (1031649)Date: 2023-03-08 00:50:42
Detail: Process holding the lock: 2717933. Wait queue: 2718982, 2775697.
Statement: DELETE FROM ir_attachment WHERE id IN (1034026)Date: 2023-03-08 02:10:30
7 14 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 08 07 14 - ERROR: column product_template.is_mo_product does not exist at character 6252
Statement: SELECT "product_template"."id" as "id", "product_template"."sequence" as "sequence", COALESCE("product_template__description"."value", "product_template"."description") as "description", COALESCE("product_template__description_purchase"."value", "product_template"."description_purchase") as "description_purchase", COALESCE("product_template__description_sale"."value", "product_template"."description_sale") as "description_sale", "product_template"."volume" as "volume", "product_template"."weight" as "weight", "product_template"."sale_ok" as "sale_ok", "product_template"."purchase_ok" as "purchase_ok", "product_template"."uom_id" as "uom_id", "product_template"."uom_po_id" as "uom_po_id", "product_template"."company_id" as "company_id", "product_template"."active" as "active", "product_template"."color" as "color", "product_template"."can_image_1024_be_zoomed" as "can_image_1024_be_zoomed", "product_template"."has_configurable_attributes" as "has_configurable_attributes", "product_template"."type" as "type", "product_template"."sale_delay" as "sale_delay", "product_template"."tracking" as "tracking", COALESCE("product_template__description_picking"."value", "product_template"."description_picking") as "description_picking", COALESCE("product_template__description_pickingout"."value", "product_template"."description_pickingout") as "description_pickingout", COALESCE("product_template__description_pickingin"."value", "product_template"."description_pickingin") as "description_pickingin", COALESCE("product_template__website_meta_title"."value", "product_template"."website_meta_title") as "website_meta_title", COALESCE("product_template__website_meta_description"."value", "product_template"."website_meta_description") as "website_meta_description", COALESCE("product_template__website_meta_keywords"."value", "product_template"."website_meta_keywords") as "website_meta_keywords", "product_template"."website_meta_og_img" as "website_meta_og_img", COALESCE("product_template__seo_name"."value", "product_template"."seo_name") as "seo_name", "product_template"."website_id" as "website_id", "product_template"."is_published" as "is_published", "product_template"."produce_delay" as "produce_delay", "product_template"."purchase_method" as "purchase_method", "product_template"."purchase_line_warn" as "purchase_line_warn", "product_template"."purchase_line_warn_msg" as "purchase_line_warn_msg", "product_template"."service_type" as "service_type", "product_template"."sale_line_warn" as "sale_line_warn", "product_template"."sale_line_warn_msg" as "sale_line_warn_msg", "product_template"."expense_policy" as "expense_policy", "product_template"."invoice_policy" as "invoice_policy", "product_template"."tic_category_id" as "tic_category_id", "product_template"."service_to_purchase" as "service_to_purchase", "product_template"."website_size_x" as "website_size_x", "product_template"."website_size_y" as "website_size_y", "product_template"."website_ribbon_id" as "website_ribbon_id", "product_template"."website_sequence" as "website_sequence", "product_template"."branch_id" as "branch_id", "product_template"."hs_code" as "hs_code", "product_template"."service_tracking" as "service_tracking", "product_template"."inventory_availability" as "inventory_availability", "product_template"."available_threshold" as "available_threshold", COALESCE("product_template__custom_message"."value", "product_template"."custom_message") as "custom_message", "product_template"."list_price" as "list_price", "product_template"."cat_vendor" as "cat_vendor", "product_template"."base_part_cost" as "base_part_cost", "product_template"."current_cost" as "current_cost", "product_template"."base_current_cost" as "base_current_cost", "product_template"."purchase_cost" as "purchase_cost", "product_template"."rebate_cost" as "rebate_cost", "product_template"."better" as "better", "product_template"."best" as "best", "product_template"."list_jobber" as "list_jobber", "product_template"."min_sell_price" as "min_sell_price", "product_template"."man_cost_update" as "man_cost_update", "product_template"."condensed_internal_ref" as "condensed_internal_ref", "product_template"."global_class_code" as "global_class_code", "product_template"."standard_carton_quanity" as "standard_carton_quanity", "product_template"."has_core" as "has_core", "product_template"."is_core" as "is_core", "product_template"."allow_journal" as "allow_journal", "product_template"."is_transmission" as "is_transmission", "product_template"."is_direct_order_product" as "is_direct_order_product", "product_template"."linked_with_existing_core" as "linked_with_existing_core", "product_template"."core_product_id" as "core_product_id", "product_template"."core_qty" as "core_qty", "product_template"."core_category_id" as "core_category_id", "product_template"."inventory_vendor_id" as "inventory_vendor_id", "product_template"."inventory_vendor_short_name" as "inventory_vendor_short_name", "product_template"."default_code" as "default_code", COALESCE("product_template__name"."value", "product_template"."name") as "name", "product_template"."never_stock" as "never_stock", "product_template"."seasonal" as "seasonal", "product_template"."discontinued" as "discontinued", "product_template"."superceded" as "superceded", "product_template"."obsolete" as "obsolete", "product_template"."supercede_product_id" as "supercede_product_id", "product_template"."supercede_date" as "supercede_date", "product_template"."cat_prod_type" as "cat_prod_type", "product_template"."cat_part_type" as "cat_part_type", "product_template"."first_active_date" as "first_active_date", "product_template"."categ_id" as "categ_id", "product_template"."call_for_price" as "call_for_price", "product_template"."price_update_date" as "price_update_date", "product_template"."service_form_type" as "service_form_type", "product_template"."library_duplicate_check" as "library_duplicate_check", "product_template"."last_used_date" as "last_used_date", "product_template"."last_receipt_date" as "last_receipt_date", "product_template"."method" as "method", "product_template"."method_update_date" as "method_update_date", "product_template"."min_product_uom_qty" as "min_product_uom_qty", "product_template"."is_mo_product" as "is_mo_product", "product_template"."message_main_attachment_id" as "message_main_attachment_id", "product_template"."create_uid" as "create_uid", "product_template"."create_date" as "create_date", "product_template"."write_uid" as "write_uid", "product_template"."write_date" as "write_date" FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description_purchase" ON ("product_template"."id" = "product_template__description_purchase"."res_id" AND "product_template__description_purchase"."type" = 'model' AND "product_template__description_purchase"."name" = 'product.template,description_purchase' AND "product_template__description_purchase"."lang" = 'en_US' AND "product_template__description_purchase"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description_picking" ON ("product_template"."id" = "product_template__description_picking"."res_id" AND "product_template__description_picking"."type" = 'model' AND "product_template__description_picking"."name" = 'product.template,description_picking' AND "product_template__description_picking"."lang" = 'en_US' AND "product_template__description_picking"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description_pickingout" ON ("product_template"."id" = "product_template__description_pickingout"."res_id" AND "product_template__description_pickingout"."type" = 'model' AND "product_template__description_pickingout"."name" = 'product.template,description_pickingout' AND "product_template__description_pickingout"."lang" = 'en_US' AND "product_template__description_pickingout"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description_pickingin" ON ("product_template"."id" = "product_template__description_pickingin"."res_id" AND "product_template__description_pickingin"."type" = 'model' AND "product_template__description_pickingin"."name" = 'product.template,description_pickingin' AND "product_template__description_pickingin"."lang" = 'en_US' AND "product_template__description_pickingin"."value" != '') LEFT JOIN "ir_translation" AS "product_template__website_meta_title" ON ("product_template"."id" = "product_template__website_meta_title"."res_id" AND "product_template__website_meta_title"."type" = 'model' AND "product_template__website_meta_title"."name" = 'product.template,website_meta_title' AND "product_template__website_meta_title"."lang" = 'en_US' AND "product_template__website_meta_title"."value" != '') LEFT JOIN "ir_translation" AS "product_template__website_meta_description" ON ("product_template"."id" = "product_template__website_meta_description"."res_id" AND "product_template__website_meta_description"."type" = 'model' AND "product_template__website_meta_description"."name" = 'product.template,website_meta_description' AND "product_template__website_meta_description"."lang" = 'en_US' AND "product_template__website_meta_description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__website_meta_keywords" ON ("product_template"."id" = "product_template__website_meta_keywords"."res_id" AND "product_template__website_meta_keywords"."type" = 'model' AND "product_template__website_meta_keywords"."name" = 'product.template,website_meta_keywords' AND "product_template__website_meta_keywords"."lang" = 'en_US' AND "product_template__website_meta_keywords"."value" != '') LEFT JOIN "ir_translation" AS "product_template__seo_name" ON ("product_template"."id" = "product_template__seo_name"."res_id" AND "product_template__seo_name"."type" = 'model' AND "product_template__seo_name"."name" = 'product.template,seo_name' AND "product_template__seo_name"."lang" = 'en_US' AND "product_template__seo_name"."value" != '') LEFT JOIN "ir_translation" AS "product_template__custom_message" ON ("product_template"."id" = "product_template__custom_message"."res_id" AND "product_template__custom_message"."type" = 'model' AND "product_template__custom_message"."name" = 'product.template,custom_message' AND "product_template__custom_message"."lang" = 'en_US' AND "product_template__custom_message"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE ((("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL ) AND ((("product_template"."is_published" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND ("product_template"."sale_ok" = true))) AND "product_template".id IN (208003)
Date: 2023-03-08 07:54:31
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 08 07 8 08 3 - ERROR: process 2979462 still waiting for ShareLock on relation 42418 of database 65946 after 1000.041 ms
- ERROR: process 2979462 still waiting for ShareLock on relation 42418 of database 65946 after 1000.044 ms
- ERROR: process 2979462 still waiting for ShareLock on relation 42418 of database 65946 after 1000.047 ms
Detail: Process holding the lock: 2979707. Wait queue: 2979462.
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-08 07:57:04
Detail: Process holding the lock: 2979899. Wait queue: 2979462.
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-08 07:57:20
Detail: Process holding the lock: 2979109. Wait queue: 2979462.
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-08 07:57:30
9 7 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 08 07 5 08 2 - ERROR: could not create unique index "vendor_account_master_unique_acc_no"
Detail: Key (account_number)=(P10394) is duplicated.
Statement: ALTER TABLE "vendor_account_master" ADD CONSTRAINT "vendor_account_master_unique_acc_no" unique (account_number)Date: 2023-03-08 07:56:54
10 5 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 08 14 2 15 2 17 1 - ERROR: process 3147096 still waiting for ExclusiveLock on tuple (4684,4) of relation 42418 of database 65946 after 1000.055 ms
- ERROR: process 3144554 still waiting for ExclusiveLock on tuple (4957,15) of relation 42418 of database 65946 after 1000.046 ms
- ERROR: process 3145505 still waiting for ExclusiveLock on tuple (5167,5) of relation 42418 of database 65946 after 1000.045 ms
Detail: Process holding the lock: 3144558. Wait queue: 3147096.
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 != 465517 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 != 465517 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-03-08 14:41:16
Detail: Process holding the lock: 3146114. Wait queue: 3144554.
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 != 465635 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 != 465635 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-03-08 14:52:34
Detail: Process holding the lock: 3145546. Wait queue: 3145505.
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 != 465759 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 != 465759 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-03-08 15:04:42
11 5 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 08 07 2 08 3 - ERROR: process 2979143 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.043 ms at character 34
- ERROR: process 2980212 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.045 ms at character 15
- ERROR: process 2999646 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.041 ms at character 93
Detail: Process holding the lock: 2980111. Wait queue: 2979143, 2980212.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'res.partner') ORDER BY "ir_model_fields"."name"Date: 2023-03-08 07:59:08
Detail: Process holding the lock: 2980111. Wait queue: 2979143, 2980212.
Statement: SELECT * FROM ir_model_fields WHERE state='manual'Date: 2023-03-08 07:59:08
Detail: Process holding the lock: 2999906. Wait queue: 2999646, 2999960, 2999515.
Statement: SELECT f.name, d.json_value FROM ir_default d JOIN ir_model_fields f ON d.field_id=f.id WHERE f.model='ir.attachment' AND (d.user_id IS NULL OR d.user_id=1) AND (d.company_id IS NULL OR d.company_id=1) AND d.condition IS NULL ORDER BY d.user_id, d.company_id, d.idDate: 2023-03-08 08:59:02
12 5 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 08 12 2 15 1 18 2 - ERROR: invalid input syntax for type integer: "False" at character 66
Statement: select sum(product_uom_qty) from stock_move where sale_line_id = 'False' and state not in ('done','cancel')
Date: 2023-03-08 12:41:47
13 4 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 08 07 1 08 1 17 2 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 2980212 waits for ShareLock on transaction 99321665; blocked by process 2980111. Process 2980111 waits for ShareLock on transaction 99321667; blocked by process 2980212. Process 2980212: UPDATE ir_module_module SET state='installed' WHERE state IN ('to remove', 'to upgrade') Process 2980111: UPDATE "ir_module_module" SET "write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (747)
Context: while updating tuple (92,8) in relation "ir_module_module"
Hint: See server log for query details.
Statement: UPDATE ir_module_module SET state='installed' WHERE state IN ('to remove', 'to upgrade')Date: 2023-03-08 07:58:28
Detail: Process 2999694 waits for RowExclusiveLock on relation 44482 of database 65946; blocked by process 2999906. Process 2999906 waits for ShareLock on relation 42418 of database 65946; blocked by process 2999694. Process 2999694: DELETE FROM ir_attachment WHERE id IN (1045193) Process 2999906: CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move(journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move(journal_id, state, payment_state, move_type, date);
Hint: See server log for query details.
Statement: DELETE FROM ir_attachment WHERE id IN (1045193)Date: 2023-03-08 08:59:13
Detail: Process 3317190 waits for ShareLock on transaction 99406296; blocked by process 3314797. Process 3314797 waits for ShareLock on transaction 99406152; blocked by process 3317190. Process 3317190: UPDATE "product_product" SET "write_uid"=981,"write_date"=(now() at time zone 'UTC') WHERE id IN (243456, 243457, 209286, 209426, 209427, 209558, 209560, 209561, 209562, 209436, 209437, 209312, 209572, 209331, 209475, 209352, 209370, 209373, 209503, 209378, 209379, 209380, 209381, 209382, 209506, 209389, 209518, 209519, 209392, 209398, 209271, 209276, 209278, 209279) Process 3314797: UPDATE "product_warehouse_inventory" SET "write_uid"=977,"write_date"=(now() at time zone 'UTC') WHERE id IN (38400, 37633, 37634, 38403, 37635, 37636, 37637, 37638, 38404, 38401, 38536, 38537, 38540, 38535, 38538, 38539, 38547, 38548, 38549, 38550, 38551, 38552, 38402, 37481, 37482, 37483, 37484, 37485, 39026, 39028, 39029, 39030, 38399)
Context: while updating tuple (1186,53) in relation "product_product"
Hint: See server log for query details.
Statement: UPDATE "product_product" SET "write_uid"=981,"write_date"=(now() at time zone 'UTC') WHERE id IN (243456, 243457, 209286, 209426, 209427, 209558, 209560, 209561, 209562, 209436, 209437, 209312, 209572, 209331, 209475, 209352, 209370, 209373, 209503, 209378, 209379, 209380, 209381, 209382, 209506, 209389, 209518, 209519, 209392, 209398, 209271, 209276, 209278, 209279)Date: 2023-03-08 17:34:28
14 3 LOG: process ... still waiting for RowExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 08 07 3 - ERROR: process 2979707 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.050 ms
- ERROR: process 2979798 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.049 ms
- ERROR: process 2979943 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.042 ms
Detail: Process holding the lock: 2979462. Wait queue: 2979707.
Statement: DELETE FROM ir_attachment WHERE id IN (1043525)Date: 2023-03-08 07:57:00
Detail: Process holding the lock: 2980111. Wait queue: 2979798.
Statement: DELETE FROM ir_attachment WHERE id IN (1043564)Date: 2023-03-08 07:58:49
Detail: Process holding the lock: 2980111. Wait queue: 2979943.
Statement: DELETE FROM ir_attachment WHERE id IN (1043573)Date: 2023-03-08 07:59:01
15 2 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #15
Day Hour Count Mar 08 07 1 13 1 - ERROR: could not receive data from client: Connection reset by peer
Date: 2023-03-08 07:54:22