-
Global information
- Generated on Thu May 30 00:50:18 2024
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 735,058 log entries in 17s
- Log start from 2024-05-29 00:00:00 to 2024-05-29 23:59:58
-
Overview
Global Stats
- 1,177 Number of unique normalized queries
- 165,634 Number of queries
- 15h5m50s Total query duration
- 2024-05-29 00:00:10 First query
- 2024-05-29 23:59:58 Last query
- 102 queries/s at 2024-05-29 12:41:47 Query peak
- 15h5m50s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 15h5m50s Execute total duration
- 82,566 Number of events
- 20 Number of unique normalized events
- 78,531 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
- 165,634 Average queries per session
- 15h5m50s 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
- 102 queries/s Query Peak
- 2024-05-29 12:41:47 Date
SELECT Traffic
Key values
- 101 queries/s Query Peak
- 2024-05-29 12:41:47 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 17 queries/s Query Peak
- 2024-05-29 16:16:10 Date
Queries duration
Key values
- 15h5m50s 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) May 29 00 1,378 120ms 4m3s 943ms 1m8s 1m49s 4m5s 01 864 124ms 1m2s 309ms 3s425ms 16s699ms 1m6s 02 2,168 120ms 2s343ms 195ms 12s825ms 16s122ms 35s578ms 03 1,222 120ms 15s805ms 218ms 6s781ms 10s958ms 32s905ms 04 964 124ms 1s135ms 188ms 3s803ms 3s992ms 5s166ms 05 628 125ms 320ms 152ms 2s912ms 3s478ms 3s849ms 06 534 122ms 387ms 138ms 1s611ms 1s935ms 2s918ms 07 631 0ms 1s864ms 153ms 2s276ms 3s36ms 3s656ms 08 593 123ms 3s654ms 160ms 2s87ms 3s309ms 8s241ms 09 942 120ms 3m55s 972ms 55s272ms 1m59s 4m5s 10 1,750 120ms 33s967ms 222ms 20s349ms 36s503ms 56s233ms 11 12,641 120ms 1m2s 415ms 4m20s 5m31s 6m53s 12 29,842 120ms 2m33s 340ms 5m18s 6m4s 9m37s 13 26,131 120ms 1m42s 273ms 4m14s 4m56s 7m27s 14 17,631 120ms 3m3s 302ms 3m21s 4m18s 4m55s 15 16,590 120ms 6m40s 324ms 2m10s 2m41s 14m59s 16 10,620 120ms 1m48s 466ms 2m28s 5m18s 11m43s 17 10,199 120ms 48s839ms 318ms 1m27s 1m36s 1m59s 18 12,541 120ms 32s58ms 319ms 1m40s 3m46s 6m4s 19 9,261 120ms 1m20s 247ms 1m2s 1m12s 1m59s 20 5,704 120ms 6s697ms 229ms 50s425ms 54s604ms 1m13s 21 1,415 0ms 5s345ms 295ms 14s990ms 19s85ms 25s228ms 22 522 122ms 2s210ms 331ms 6s76ms 13s234ms 49s151ms 23 863 128ms 39s483ms 684ms 45s941ms 50s736ms 1m17s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 29 00 1,175 110 796ms 8s392ms 54s89ms 2m7s 01 864 0 309ms 2s919ms 3s425ms 28s803ms 02 1,629 0 206ms 8s101ms 11s386ms 12s613ms 03 1,179 0 220ms 4s374ms 6s618ms 13s773ms 04 960 0 187ms 3s552ms 3s767ms 4s199ms 05 628 0 152ms 1s903ms 2s912ms 3s789ms 06 534 0 138ms 1s486ms 1s611ms 2s90ms 07 630 0 150ms 1s863ms 2s253ms 3s36ms 08 592 0 159ms 1s630ms 1s990ms 6s683ms 09 728 110 1s72ms 3s720ms 53s592ms 2m7s 10 1,695 0 207ms 6s706ms 9s514ms 48s296ms 11 10,426 0 308ms 1m17s 1m53s 3m23s 12 24,745 0 341ms 3m32s 4m30s 7m33s 13 21,559 0 253ms 2m25s 3m9s 4m29s 14 12,114 0 258ms 1m21s 1m37s 1m46s 15 11,837 0 293ms 1m19s 1m43s 2m14s 16 7,086 0 412ms 1m12s 1m38s 2m46s 17 5,715 0 419ms 52s166ms 1m18s 1m33s 18 6,993 0 318ms 55s268ms 1m7s 1m22s 19 4,334 0 325ms 32s990ms 40s403ms 55s332ms 20 2,131 0 330ms 17s89ms 24s344ms 31s198ms 21 949 0 355ms 9s679ms 13s662ms 19s159ms 22 407 0 379ms 2s217ms 4s621ms 17s360ms 23 766 0 160ms 4s236ms 7s54ms 10s253ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 29 00 0 28 65 0 2s972ms 0ms 7s130ms 41s73ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 538 1 0 165ms 0ms 641ms 8s288ms 03 0 43 0 0 163ms 0ms 0ms 1s308ms 04 0 4 0 0 349ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 1 0 0 958ms 0ms 0ms 0ms 09 0 104 0 0 170ms 0ms 0ms 2s955ms 10 0 47 4 0 582ms 0ms 0ms 3s145ms 11 1 2,041 169 0 923ms 14s971ms 52s149ms 3m1s 12 0 4,937 72 0 334ms 24s224ms 41s617ms 1m20s 13 0 4,522 49 0 367ms 22s998ms 45s533ms 1m8s 14 0 5,466 47 0 398ms 23s435ms 34s621ms 2m53s 15 0 4,712 40 0 400ms 17s610ms 21s391ms 45s497ms 16 6 3,497 18 0 565ms 18s346ms 28s621ms 50s353ms 17 0 4,427 55 0 190ms 13s322ms 22s102ms 28s819ms 18 0 5,449 97 0 319ms 24s88ms 29s946ms 1m32s 19 0 4,911 14 0 179ms 16s728ms 22s424ms 29s448ms 20 0 3,557 15 0 168ms 8s342ms 26s424ms 35s369ms 21 0 464 2 0 173ms 323ms 1s489ms 9s155ms 22 0 115 0 0 163ms 0ms 0ms 2s470ms 23 0 1 96 0 4s822ms 0ms 16s28ms 46s341ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare May 29 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 May 29 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 May 29 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 May 29 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 May 29 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) May 29 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 May 29 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 May 29 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 May 29 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 2,544 locks Total
Type Object Count Total Duration Average Duration (s) AccessExclusiveLock 640 35m2s 3s285ms relation 1 11s242ms 11s242ms tuple 639 34m51s 3s272ms AccessShareLock 19 2m44s 8s676ms relation 18 2m 6s716ms tuple 1 43s968ms 43s968ms ExclusiveLock 912 16h45m21s 1m6s tuple 912 16h45m21s 1m6s RowExclusiveLock 11 54s45ms 4s913ms relation 11 54s45ms 4s913ms ShareLock 962 3h20m8s 12s482ms relation 4 23s327ms 5s831ms transaction 958 3h19m44s 12s510ms Total 2,544 20h44m10s 29s343ms Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 733 16h57m23s 1s126ms 21m35s 1m23s 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 != 1438032 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 != 1438032 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-05-29 15:54:09
-
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 != 1403432 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 != 1403432 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-05-29 15:54:11
-
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 != 1387873 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 != 1387873 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-05-29 14:05:23
2 53 40m9s 6s904ms 21m10s 45s452ms 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" = 5466224, "write_uid" = 1028, "write_date" = (now() at time zone 'UTC') WHERE id IN (1438161);
Date: 2024-05-29 16:13:56
-
UPDATE "account_move" SET "message_main_attachment_id" = 5466536, "write_uid" = 994, "write_date" = (now() at time zone 'UTC') WHERE id IN (1438262);
Date: 2024-05-29 16:58:01
-
UPDATE "account_move" SET "message_main_attachment_id" = 5465022, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (1436407);
Date: 2024-05-29 12:57:04
3 662 36m22s 1s14ms 1m1s 3s297ms select state from queue_job where uuid = ? and state = ? for update;-
SELECT state FROM queue_job WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290' AND state = 'enqueued' FOR UPDATE;
Date: 2024-05-29 16:18:15
-
SELECT state FROM queue_job WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290' AND state = 'enqueued' FOR UPDATE;
Date: 2024-05-29 16:40:54
-
SELECT state FROM queue_job WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290' AND state = 'enqueued' FOR UPDATE;
Date: 2024-05-29 16:40:54
4 178 25m29s 1s57ms 1m1s 8s593ms update queue_job set state = ?, date_enqueued = ?, date_started = ? where uuid = ? and state = ? returning uuid;-
UPDATE queue_job SET state = 'pending', date_enqueued = NULL, date_started = NULL WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290' and state = 'enqueued' RETURNING uuid;
Date: 2024-05-29 16:36:35
-
UPDATE queue_job SET state = 'pending', date_enqueued = NULL, date_started = NULL WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290' and state = 'enqueued' RETURNING uuid;
Date: 2024-05-29 16:36:35
-
UPDATE queue_job SET state = 'pending', date_enqueued = NULL, date_started = NULL WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290' and state = 'enqueued' RETURNING uuid;
Date: 2024-05-29 16:36:35
5 155 19m8s 1s208ms 30s719ms 7s412ms update product_warehouse_inventory set qty_reserve = ?.? where id = ?;-
update product_warehouse_inventory set qty_reserve = 0.0 where id = 51876;
Date: 2024-05-29 18:12:22
-
update product_warehouse_inventory set qty_reserve = 0.0 where id = 51876;
Date: 2024-05-29 18:12:22
-
update product_warehouse_inventory set qty_reserve = 0.0 where id = 51876;
Date: 2024-05-29 18:12:16
6 12 15m27s 6s157ms 5m11s 1m17s update account_move set write_date = write_date where id = ( select id from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) and sequence_prefix = ( select sequence_prefix from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) order by id desc limit ?) order by sequence_number desc limit ?) returning name;-
UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-05-29 15:30:25
7 1 12m56s 12m56s 12m56s 12m56s update "edi_810_invoice" set "errors" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "edi_810_invoice" SET "errors" = 'No Product found with ref# : ANDYII, No Product found with ref# : SF-200K, No Product found with ref# : RT-44113, ',"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (52210);
Date: 2024-05-29 00:23:06
8 34 9m54s 1s159ms 1m 17s498ms update "credit_order_data" set "is_skip" = false, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "credit_order_data" SET "is_skip" = false, "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (154418);
Date: 2024-05-29 12:15:26
-
UPDATE "credit_order_data" SET "is_skip" = false, "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (154418);
Date: 2024-05-29 11:52:28
-
UPDATE "credit_order_data" SET "is_skip" = false, "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (154654);
Date: 2024-05-29 13:04:44
9 3 9m26s 1s296ms 7m31s 3m8s insert into "account_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "asset_id", "auto_post", "branch_id", "campaign_id", "carrier_id", "commercial_partner_id", "company_id", "currency_id", "date", "discount_amount_applied", "edi_billed", "edi_split_lock", "expense_choice", "extract_remote_id", "extract_state", "fiscal_position_id", "invoice_cash_rounding_id", "invoice_date", "invoice_date_due", "invoice_incoterm_id", "invoice_origin", "invoice_origin_new", "invoice_payment_term_id", "invoice_product_qty", "invoice_user_id", "is_edi_bill", "is_move_sent", "journal_id", "medium_id", "move_type", "narration", "open_invoice", "order_type", "partner_bank_id", "partner_id", "partner_shipping_id", "payment_reference", "ref", "source_id", "state", "team_id", "to_check", "to_check_negative") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), null, false, ?, null, ?, ?, ?, ?, ?, ?.?, false, false, null, ?, ?, null, null, null, ?, null, ?, ?, ?, ?.?, ?, false, false, ?, null, ?, ?, false, ?, ?, ?, ?, ?, ?, null, ?, ?, false, false) returning id;-
INSERT INTO "account_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "asset_id", "auto_post", "branch_id", "campaign_id", "carrier_id", "commercial_partner_id", "company_id", "currency_id", "date", "discount_amount_applied", "edi_billed", "edi_split_lock", "expense_choice", "extract_remote_id", "extract_state", "fiscal_position_id", "invoice_cash_rounding_id", "invoice_date", "invoice_date_due", "invoice_incoterm_id", "invoice_origin", "invoice_origin_new", "invoice_payment_term_id", "invoice_product_qty", "invoice_user_id", "is_edi_bill", "is_move_sent", "journal_id", "medium_id", "move_type", "narration", "open_invoice", "order_type", "partner_bank_id", "partner_id", "partner_shipping_id", "payment_reference", "ref", "source_id", "state", "team_id", "to_check", "to_check_negative") VALUES (nextval('account_move_id_seq'), 1043, (now() at time zone 'UTC'), 1043, (now() at time zone 'UTC'), NULL, false, 39, NULL, 78, 34084, 1, 2, '2024-05-29', 0.0, false, false, NULL, - 1, 'no_extract_requested', NULL, NULL, NULL, '2024-05-29', NULL, 'V-09328', 'sale.order,142366', 112, 1.0, 985, false, false, 1, NULL, 'out_invoice', '', false, 'sale', 1, 34084, 34084, '', 'cylinder exchange 304-285-3202', NULL, 'draft', 1, false, false) RETURNING id;
Date: 2024-05-29 13:52:27
10 192 9m25s 1s23ms 25s824ms 2s946ms update product_warehouse_inventory set qty_shipped_not_invoiced = case when ?.? is not null then greatest ((?.? - ?.?) + (?.? - ?.?), ?) else greatest ((?.? - ?.?), ?) end where product_id = ? and warehouse_id = ? and company_id = ?;-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((4.0 - 4.0) + (0.0 - 0.0), 0) ELSE GREATEST ((4.0 - 4.0), 0) END where product_id = 185946 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 18:12:23
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (0.0 - 0.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 237202 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 11:42:15
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((4.0 - 4.0) + (0.0 - 0.0), 0) ELSE GREATEST ((4.0 - 4.0), 0) END where product_id = 185946 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 18:10:15
11 73 6m54s 1s115ms 14s950ms 5s678ms update "sale_order" set "carrier_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:38:29
12 44 6m53s 1s347ms 1m12s 9s398ms update "credit_order_data" set "amount_total" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "credit_order_data" SET "amount_total" = '1215.15', "state" = 'sale', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (154418);
Date: 2024-05-29 12:16:33
-
UPDATE "credit_order_data" SET "amount_total" = '468.75', "state" = 'sale', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (154418);
Date: 2024-05-29 11:53:04
-
UPDATE "credit_order_data" SET "amount_total" = '468.75', "state" = 'sale', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (154418);
Date: 2024-05-29 11:51:40
13 29 5m24s 1s498ms 54s712ms 11s176ms update "credit_order_data" set "is_skip" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "credit_order_data" SET "is_skip" = true, "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (154663);
Date: 2024-05-29 13:56:59
14 2 5m8s 30s946ms 4m37s 2m34s update "account_move_line" set "amount_residual" = ?, "amount_residual_currency" = ?, "full_reconcile_id" = ?, "matching_number" = ?, "reconciled" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move_line" SET "amount_residual" = '0.00', "amount_residual_currency" = '0.00', "full_reconcile_id" = 652140, "matching_number" = 'A652140', "reconciled" = true, "write_uid" = 1234, "write_date" = (now() at time zone 'UTC') WHERE id IN (4827521, 4838792, 4815882, 4854317, 4823917, 5014449, 4855354, 4823834, 4831485);
Date: 2024-05-29 13:57:58
-
UPDATE "account_move_line" SET "amount_residual" = '0.00', "amount_residual_currency" = '0.00', "full_reconcile_id" = 652324, "matching_number" = 'A652324', "reconciled" = true, "write_uid" = 1234, "write_date" = (now() at time zone 'UTC') WHERE id IN (4768640, 4801280, 4770690, 4743430, 4834438, 4793736, 4751633, 4643986, 4704155, 4795676, 4677156, 4743462, 4829862, 4695206, 4734121, 4799526, 4557612, 4701486, 4813102, 4704048, 4782644, 4826293, 4773303, 4734780, 4647613, 4810684, 4806589, 4585027, 4795719, 4835912, 4749257, 4677194, 4640087, 4734807, 4768344, 4792282, 4665820, 4739165, 4732766, 4677983, 4775136, 4662625, 5020898, 4793702, 4695015, 4828263, 4768617, 4804839, 4794348, 4733422, 4784751, 4740720, 4801781, 4799734, 4701048, 4802041, 4737274, 4688380, 4695166);
Date: 2024-05-29 14:59:15
-
UPDATE "account_move_line" SET "amount_residual" = '0.00', "amount_residual_currency" = '0.00', "full_reconcile_id" = 652934, "matching_number" = 'A652934', "reconciled" = true, "write_uid" = 1234, "write_date" = (now() at time zone 'UTC') WHERE id IN (4638592, 4771075, 4795525, 4742408, 4812041, 4681740, 4682893, 4705165, 4700305, 4662524, 4691480, 4774424, 4713240, 4684440, 4701850, 4833437, 4796318, 4788509, 4761630, 4697373, 4702107, 4669731, 4667813, 4781353, 4684843, 4751275, 4818222, 4762803, 4739512, 4634938, 4628411, 4746684, 4787387, 4775488, 4781121, 4644034, 4734274, 4638149, 4775622, 4699207, 4723402, 5025098, 4793164, 4677455, 4778960, 4804304, 4775164, 4701783, 4628312, 4691289, 4770904, 4818007, 4796382, 4739422, 4751071, 4790497, 4791651, 4685925, 4822117, 4639719, 4700647, 4755433, 4831722, 4769388, 4675437, 4692333, 4753646, 4751344, 4789742, 4647802, 4639612);
Date: 2024-05-29 19:00:11
15 128 4m13s 1s143ms 6s418ms 1s980ms update product_warehouse_inventory set loc_check_qty = coalesce(?.?, ?) + coalesce(?.?, ?) - coalesce(?.?, ?) where product_id = ? and warehouse_id = ? and company_id = ?;-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(9.0, 0) + COALESCE(0.0, 0) - COALESCE(2.0, 0) WHERE product_id = 171891 AND warehouse_id = 45 AND company_id = 1;
Date: 2024-05-29 11:05:48
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(7.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 171891 AND warehouse_id = 45 AND company_id = 1;
Date: 2024-05-29 11:08:25
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(2.0, 0) + COALESCE(2.0, 0) - COALESCE(1.0, 0) WHERE product_id = 205585 AND warehouse_id = 36 AND company_id = 1;
Date: 2024-05-29 12:37:38
16 32 3m1s 1s402ms 13s387ms 5s674ms update "sale_order" set "amount_total" = ?, "amount_untaxed" = ?, "carrier_id" = ?, "margin" = ?, "margin_percent" = ?.?, "unpaid_amount_total" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "amount_total" = '369.68', "amount_untaxed" = '369.68', "carrier_id" = 1, "margin" = '27.46', "margin_percent" = 0.07428045877515689, "unpaid_amount_total" = '369.68', "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:40:24
-
UPDATE "sale_order" SET "amount_total" = '312.38', "amount_untaxed" = '312.38', "carrier_id" = 1, "margin" = '56.50', "margin_percent" = 0.1808694538702862, "unpaid_amount_total" = '312.38', "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:39:48
-
UPDATE "sale_order" SET "amount_total" = '390.72', "amount_untaxed" = '390.72', "carrier_id" = 1, "margin" = '11.34', "margin_percent" = 0.02902334152334152, "unpaid_amount_total" = '390.72', "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:40:40
17 21 1m51s 1s961ms 10s196ms 5s300ms delete from sale_order_line where id in (...);-
DELETE FROM sale_order_line WHERE id IN (412924);
Date: 2024-05-29 11:39:20
-
DELETE FROM sale_order_line WHERE id IN (413819);
Date: 2024-05-29 11:42:21
-
DELETE FROM sale_order_line WHERE id IN (412922);
Date: 2024-05-29 11:39:25
18 8 1m19s 1s458ms 13s252ms 9s932ms 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" = 'sales.inquiry.wizard') ORDER BY "ir_model_fields"."name";
Date: 2024-05-29 16:18:14
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'mail.message') ORDER BY "ir_model_fields"."name";
Date: 2024-05-29 16:14:23
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'mail.activity') ORDER BY "ir_model_fields"."name";
Date: 2024-05-29 16:14:23
19 10 1m11s 5s140ms 13s119ms 7s119ms update "sale_order" set "carrier_id" = ?, "margin" = ?, "margin_percent" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "carrier_id" = 1, "margin" = '53.30', "margin_percent" = 0.17936465203930543, "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:39:40
-
UPDATE "sale_order" SET "carrier_id" = 1, "margin" = '5.03', "margin_percent" = 0.013606362259251244, "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:40:32
-
UPDATE "sale_order" SET "carrier_id" = 1, "margin" = '53.30', "margin_percent" = 0.17936465203930543, "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:39:40
20 13 58s129ms 1s271ms 10s412ms 4s471ms update "sale_order" set "amount_total" = ?, "amount_untaxed" = ?, "margin" = ?, "margin_percent" = ?.?, "unpaid_amount_total" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "amount_total" = '468.07', "amount_untaxed" = '468.07', "margin" = '147.88', "margin_percent" = 0.31593565065054374, "unpaid_amount_total" = '468.07', "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:38:39
-
UPDATE "sale_order" SET "amount_total" = '468.07', "amount_untaxed" = '468.07', "margin" = '147.88', "margin_percent" = 0.31593565065054374, "unpaid_amount_total" = '468.07', "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:38:39
21 1 43s968ms 43s968ms 43s968ms 43s968ms insert into queue_job_queue_jobs_to_done_rel (queue_jobs_to_done_id, queue_job_id) values (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?) on conflict do nothing;-
INSERT INTO queue_job_queue_jobs_to_done_rel (queue_jobs_to_done_id, queue_job_id) VALUES (3, 690406), (3, 690397), (3, 690396), (3, 690395), (3, 690394), (3, 690393), (3, 690219), (3, 690191), (3, 690189), (3, 690188), (3, 690187), (3, 690186), (3, 690185), (3, 690181), (3, 690128), (3, 690127), (3, 690126), (3, 690125), (3, 690124), (3, 690123), (3, 690058), (3, 690057), (3, 690056), (3, 690055), (3, 690054), (3, 690053), (3, 690052), (3, 690051), (3, 690050), (3, 690049), (3, 689936), (3, 689932), (3, 437123), (3, 437077), (3, 436728), (3, 436678) ON CONFLICT DO NOTHING;
Date: 2024-05-29 16:18:16
-
INSERT INTO queue_job_queue_jobs_to_done_rel (queue_jobs_to_done_id, queue_job_id) VALUES (3, 690406), (3, 690397), (3, 690396), (3, 690395), (3, 690394), (3, 690393), (3, 690219), (3, 690191), (3, 690189), (3, 690188), (3, 690187), (3, 690186), (3, 690185), (3, 690181), (3, 690128), (3, 690127), (3, 690126), (3, 690125), (3, 690124), (3, 690123), (3, 690058), (3, 690057), (3, 690056), (3, 690055), (3, 690054), (3, 690053), (3, 690052), (3, 690051), (3, 690050), (3, 690049), (3, 689936), (3, 689932), (3, 437123), (3, 437077), (3, 436728), (3, 436678) ON CONFLICT DO NOTHING;
Date: 2024-05-29 16:18:16
22 6 43s870ms 1s102ms 15s388ms 7s311ms update "sale_order" set "amount_total" = ?, "amount_untaxed" = ?, "margin" = ?, "margin_percent" = ?.?, "unpaid_amount_total" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "amount_total" = '217.59', "amount_untaxed" = '217.59', "margin" = '-83.46', "margin_percent" = - 0.38356542120501863, "unpaid_amount_total" = '217.59', "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:42:34
23 1 42s948ms 42s948ms 42s948ms 42s948ms insert into "sale_advance_payment_inv" ("id", "create_uid", "create_date", "write_uid", "write_date", "advance_payment_method", "amount", "amount_taken", "count", "currency_id", "deduct_down_payments", "deposit_account_id", "due_amount", "fixed_amount", "has_down_payments", "is_cash_sale_order", "is_immediate_payment", "is_self_used", "journal_id", "partner_id", "payment_details", "payment_method_id", "payment_term_id", "product_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), ?, ?, ?, ?, ?, true, ?, ?, ?, false, false, false, false, null, ?, null, null, ?, ?) returning id;-
INSERT INTO "sale_advance_payment_inv" ("id", "create_uid", "create_date", "write_uid", "write_date", "advance_payment_method", "amount", "amount_taken", "count", "currency_id", "deduct_down_payments", "deposit_account_id", "due_amount", "fixed_amount", "has_down_payments", "is_cash_sale_order", "is_immediate_payment", "is_self_used", "journal_id", "partner_id", "payment_details", "payment_method_id", "payment_term_id", "product_id") VALUES (nextval('sale_advance_payment_inv_id_seq'), 983, (now() at time zone 'UTC'), 983, (now() at time zone 'UTC'), 'delivered', '0.00', '0.00', 1, 2, true, 1417, '274.52', '0.00', false, false, false, false, NULL, 33886, NULL, NULL, 94, 171436) RETURNING id;
Date: 2024-05-29 12:46:01
24 26 42s650ms 1s120ms 4s644ms 1s640ms update product_warehouse_inventory set qty_ytd_sold = ?.? where product_id = ? and warehouse_id = ?;-
UPDATE product_warehouse_inventory SET qty_ytd_sold = 20.0 WHERE product_id = 216174 AND warehouse_id = 35;
Date: 2024-05-29 12:19:17
-
UPDATE product_warehouse_inventory SET qty_ytd_sold = 19.0 WHERE product_id = 171891 AND warehouse_id = 45;
Date: 2024-05-29 11:06:15
-
UPDATE product_warehouse_inventory SET qty_ytd_sold = 1.0 WHERE product_id = 172104 AND warehouse_id = 35;
Date: 2024-05-29 13:10:47
25 14 37s841ms 1s97ms 7s762ms 2s702ms update product_warehouse_inventory set qty_reserve = ?.? where product_id = ? and warehouse_id = ?;-
UPDATE product_warehouse_inventory SET qty_reserve = 2.0 WHERE product_id = 171891 AND warehouse_id = 45;
Date: 2024-05-29 11:05:34
-
UPDATE product_warehouse_inventory SET qty_reserve = 20.0 WHERE product_id = 184009 AND warehouse_id = 41;
Date: 2024-05-29 12:26:35
-
UPDATE product_warehouse_inventory SET qty_reserve = 2.0 WHERE product_id = 216941 AND warehouse_id = 42;
Date: 2024-05-29 12:18:35
26 4 36s201ms 3s823ms 22s331ms 9s50ms update "sale_order" set "partner_payment_term_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "partner_payment_term_id" = 94, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (28678, 96310, 41021, 137286, 32841, 137290, 63562, 137293, 116815, 26716, 16478, 75870, 26719, 98402, 98403, 32874, 71794, 139379, 6276, 20613, 2181, 6282, 69776, 6288, 4241, 61589, 61590, 51352, 55456, 88225, 55457, 59564, 18606, 63665, 63666, 14521, 121049, 121050, 22746, 22752, 22759, 133353, 65771, 65773, 55534, 43247, 2304, 98599, 84265, 84266, 49458, 127283, 49460, 102709, 76097, 76099, 76100, 135510, 104808, 104809, 29050, 141692, 88461, 47502, 76179, 74133, 100767, 61858, 78246, 72102, 78248, 139697, 137661, 22987, 33236, 102873, 57819, 57823, 70114, 61927, 61930, 125424, 47611, 39422, 39426, 64020, 51760, 111163, 49726, 133695, 31295, 31298, 127558, 117320, 107087, 4687, 23126, 41559, 6745, 121439, 41567, 121441, 109154, 109156, 53862, 66168, 133753, 80507, 60045, 10898, 129685, 10903, 113321, 74410, 113326, 113329, 78518, 25277, 29375, 25279, 49860, 142023, 135883, 47861, 140035, 33544, 119563, 39692, 45840, 62246, 13096, 13100, 74542, 95029, 68413, 117569, 41799, 66424, 19323, 111493, 111494, 54149, 21393, 21394, 7063, 7067, 5032, 103337, 91067, 121789, 134103, 23513, 27610, 142299, 11225, 68574, 5095, 5097, 113647, 95237, 25611, 101388, 101389, 25618, 119828, 82968, 46104, 82970, 39969, 35879, 29738, 29739, 29741, 138293, 138294, 93237, 68682, 74834, 37971, 37973, 95330, 70755, 76900, 70756, 140393, 40043, 140396, 140398, 46199, 93316, 85125, 19593, 66712, 13465, 117916, 27832, 27833, 111803, 50363, 128196, 52441, 5341, 34018, 132353, 109832, 111881, 32032, 107812, 48425, 25899, 38189, 134463, 11583, 50497, 9546, 122195, 79188, 138581, 56671, 75110, 40298, 124270, 103790, 32122, 13691, 44417, 32130, 32129, 40335, 36266, 89521, 93618, 26041, 26045, 26047, 140739, 140740, 40387, 95691, 85463, 17898, 46573, 46585, 134650, 87550, 87553, 118280, 30222, 73236, 67095, 108069, 54826, 120364, 54829, 95798, 52805, 48717, 134736, 108112, 128601, 130652, 132704, 132705, 140920, 42625, 93836, 44688, 24209, 56985, 56989, 81572, 81574, 140967, 59065, 38606, 141011, 102108, 114397, 114398, 114399, 93924, 71408, 95985, 18164, 55034, 108296, 34572, 34577, 100120, 116515, 87851, 85805, 132919, 79680, 40769, 139085, 44881, 14165, 44887, 96091, 46942, 46943, 130913, 63330, 104293, 38762, 63341, 87925, 126858, 108441, 108442, 42911, 112544, 122794, 12202, 53173, 135107, 135108, 135109, 34763, 34764, 34767, 92116, 102369, 24548, 2022);
Date: 2024-05-29 12:19:57
-
UPDATE "sale_order" SET "partner_payment_term_id" = 112, "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (16393, 106509, 126996, 22552, 79898, 53283, 16424, 131113, 16432, 22593, 49227, 8273, 127064, 79967, 127092, 114821, 137352, 49289, 110731, 47270, 22701, 100526, 112821, 102588, 73923, 41156, 59600, 26841, 6361, 92389, 57577, 35055, 78067, 10484, 61688, 20732, 69886, 102656, 104711, 6414, 26911, 37151, 16673, 16674, 59693, 137526, 55608, 8520, 137553, 53593, 16749, 100730, 43392, 12673, 59777, 100742, 100743, 121225, 37260, 401, 41361, 90531, 16806, 423, 43432, 133552, 117174, 102849, 102850, 41428, 37338, 113121, 57831, 55785, 131562, 100849, 78325, 125442, 12809, 96779, 12816, 6674, 72212, 115222, 135706, 133664, 66087, 121389, 113198, 33344, 135747, 117323, 33355, 51792, 123483, 111203, 23154, 39541, 92798, 51846, 51848, 51880, 121513, 121525, 84671, 82624, 125640, 21193, 53967, 60123, 6876, 6878, 142047, 4832, 43753, 99102, 52013, 113454, 54064, 52018, 135996, 127821, 107347, 109397, 58199, 37735, 23411, 29556, 105332, 21365, 29558, 21370, 97168, 111506, 52118, 60322, 142242, 2987, 123820, 41902, 41926, 21448, 111561, 41930, 111568, 979, 50144, 105440, 31728, 121845, 29689, 21501, 41981, 134146, 82959, 89104, 111636, 35880, 56364, 74802, 109623, 101446, 1095, 126031, 1104, 126033, 105557, 119894, 58454, 48221, 83041, 48226, 1138, 128120, 50310, 1161, 58505, 19595, 50317, 70809, 74908, 52383, 27813, 46267, 111804, 46274, 74949, 64711, 50377, 136408, 107748, 113895, 124141, 140532, 21749, 85251, 101645, 136464, 3351, 7448, 99620, 7464, 56622, 128310, 99644, 30015, 50499, 30019, 11594, 128334, 130385, 30037, 42350, 99702, 81272, 44408, 30075, 46467, 30084, 120197, 93586, 93594, 38298, 126367, 7590, 7593, 54703, 34223, 81333, 118201, 103888, 50649, 44506, 44505, 71153, 9714, 32264, 11791, 126487, 87583, 99873, 71203, 13868, 140856, 5697, 32322, 52803, 122438, 97866, 110165, 42588, 136800, 118372, 7781, 38505, 126580, 140922, 108156, 34436, 63112, 7832, 130715, 114338, 85675, 24240, 40637, 118466, 85702, 100038, 44750, 42704, 122578, 112339, 54996, 89821, 40670, 38632, 87786, 24305, 9983, 34561, 110338, 79629, 106264, 128794, 128796, 28478, 91970, 91977, 34635, 10060, 20303, 28503, 94046, 118626, 112498, 87922, 20340, 92028, 28540, 55185, 69570, 100291, 44999, 122827, 126946, 92133, 6125, 116724, 116727, 112632, 6137, 69629);
Date: 2024-05-29 11:58:09
-
UPDATE "sale_order" SET "partner_payment_term_id" = 94, "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (49153, 135170, 20483, 81927, 110600, 47126, 4118, 12313, 45087, 122912, 81953, 141346, 106529, 18472, 79915, 16428, 77873, 57393, 45120, 141378, 118851, 79942, 55368, 139337, 141388, 69710, 137296, 45138, 69716, 141396, 114773, 75863, 92248, 90201, 98395, 139355, 137309, 18524, 104546, 18530, 63590, 59498, 98410, 67692, 65646, 108656, 90225, 129138, 41075, 127094, 71800, 84089, 30845, 57469, 39038, 125055, 102533, 125062, 118917, 61578, 125067, 77964, 106634, 43150, 24715, 10385, 57490, 131219, 73876, 114837, 51347, 10393, 18588, 120991, 96417, 141474, 123043, 26787, 39074, 37029, 51368, 22696, 45226, 41131, 133292, 14507, 41134, 92340, 55478, 114872, 116923, 96446, 59583, 43198, 125121, 96450, 6334, 90310, 88266, 86221, 63696, 6352, 135378, 57559, 131287, 63706, 71900, 94429, 92381, 131295, 10463, 121052, 63718, 61670, 35048, 59625, 129257, 123114, 127212, 65775, 133361, 112881, 8437, 121078, 57591, 39159, 51449, 104700, 86268, 4348, 33022, 129280, 119040, 73984, 69894, 4365, 129294, 90383, 74007, 24857, 6426, 129308, 37150, 47392, 35106, 98595, 135462, 102696, 102697, 102698, 47400, 35112, 125231, 129328, 2355, 65844, 4404, 137527, 106814, 57665, 112964, 24902, 82249, 129354, 92489, 96588, 49482, 82253, 33103, 53585, 43351, 98648, 10585, 65882, 37209, 35164, 69981, 104798, 106850, 67949, 72046, 67952, 12660, 39289, 78204, 82302, 94593, 49538, 98691, 74116, 98695, 135560, 16775, 74119, 41355, 90512, 63890, 104851, 80279, 113050, 67995, 100762, 141725, 74141, 78239, 2463, 39334, 119206, 33196, 74160, 100785, 94642, 94644, 94647, 39352, 43455, 90560, 47552, 102848, 137666, 86468, 78272, 86471, 39368, 123338, 53717, 10709, 96732, 63965, 125406, 76255, 18912, 55777, 66017, 96738, 117221, 137702, 70118, 20968, 2537, 25067, 8686, 78319, 119280, 18929, 90614, 39415, 61942, 14838, 51707, 14844, 115198, 2563, 18951, 80393, 59915, 133645, 119310, 86543, 59920, 127503, 41487, 41492, 72213, 4630, 137750, 74260, 59924, 59930, 86561, 129571, 55845, 111143, 82474, 70186, 31279, 2608, 121394, 115252, 131637, 23092, 74296, 62010, 31291, 135741, 133693, 14912, 117313, 64067, 12869, 127559, 64074, 59980, 68174, 131664, 64081, 84562, 125520, 66135, 109143, 131673, 35418, 43610, 119388, 109149, 70240, 29283, 78438, 125543, 68204, 96886, 80503, 4726, 129657, 8826, 121467, 111228, 23165, 8828, 90752, 6784, 141958, 92808, 10891, 41615, 82575, 113300, 60060, 60061, 68254, 70303, 94878, 80545, 113311, 29343, 78506, 76459, 101034, 129709, 139953, 49845, 123574, 111287, 113336, 55993, 82618, 115385, 82615, 45762, 29378, 62148, 84676, 133830, 101058, 137931, 49868, 39629, 82638, 76494, 133840, 23250, 74453, 60121, 103132, 94941, 127711, 76513, 8930, 140002, 37609, 101099, 92910, 51952, 8944, 35569, 37619, 45815, 76536, 11002, 68348, 58108, 33536, 15105, 72448, 62213, 76549, 51980, 140044, 49934, 97039, 51982, 27409, 121614, 140051, 39696, 90901, 4886, 135957, 111379, 95002, 82716, 111389, 88861, 21284, 95014, 21290, 115498, 6957, 88879, 90928, 113456, 138031, 119601, 111407, 13111, 45880, 70458, 60223, 84801, 37701, 68423, 15178, 138060, 27469, 140110, 90958, 99151, 111443, 56150, 21336, 99161, 64346, 25436, 95068, 117597, 99086, 140128, 76641, 66396, 107363, 13156, 47970, 58214, 19299, 140136, 17265, 41849, 47994, 121724, 91007, 97152, 125825, 123782, 58248, 72585, 62344, 117643, 52110, 15246, 52113, 66449, 111510, 91034, 43933, 23456, 111521, 140194, 121761, 19361, 132005, 82854, 25510, 105382, 88997, 43947, 54188, 123826, 70578, 7090, 140213, 11188, 74679, 91064, 41918, 117694, 97220, 52164, 136140, 107469, 70604, 9170, 132055, 3037, 62432, 62435, 80868, 111588, 80870, 113639, 50151, 5101, 25582, 121839, 134128, 127988, 25593, 113664, 119809, 3072, 107523, 111620, 134150, 109575, 78858, 25616, 35856, 64530, 109587, 99347, 25621, 82964, 140314, 54307, 85030, 3117, 70702, 42031, 126000, 85042, 117812, 9269, 25655, 56378, 60475, 39996, 103487, 138306, 93253, 68678, 123975, 138310, 113737, 128072, 56394, 93261, 85071, 136271, 109652, 42069, 50262, 107606, 109656, 50261, 121947, 31835, 25693, 5214, 68703, 87138, 54371, 23652, 74853, 87139, 74858, 140399, 29811, 115828, 66676, 107636, 78967, 44152, 70772, 25724, 105598, 93313, 119937, 70787, 74886, 97414, 101510, 85129, 70795, 21644, 58510, 40088, 115868, 95388, 138398, 58525, 33950, 79010, 128167, 87209, 17580, 27823, 74929, 19634, 36019, 83125, 119990, 117944, 132281, 44218, 99516, 138432, 72899, 126147, 126151, 46289, 99538, 36052, 60630, 21718, 1240, 122071, 120026, 99546, 87254, 89310, 91362, 77034, 66797, 40174, 109807, 109808, 27889, 132338, 130295, 128248, 124153, 17658, 113914, 70903, 111867, 29950, 103671, 25856, 101637, 48391, 111882, 1300, 58644, 9495, 52505, 105757, 128286, 64798, 58656, 68899, 56617, 1322, 23850, 105773, 60718, 66865, 62769, 52532, 17722, 62778, 21820, 68925, 136510, 62780, 42304, 15677, 1346, 109891, 40260, 79172, 19773, 66890, 62796, 107852, 91472, 27984, 122197, 68950, 23895, 140632, 17754, 114013, 56676, 48486, 40295, 122218, 5482, 116077, 68976, 109937, 23922, 122227, 134520, 38265, 68986, 114043, 85369, 85370, 83326, 28029, 64903, 101768, 38281, 66955, 1425, 91538, 99732, 101783, 99735, 1433, 120217, 134556, 60829, 91552, 15779, 1446, 1447, 1448, 109993, 124330, 138671, 107952, 89523, 1460, 134587, 30141, 30142, 95136, 120256, 112070, 116167, 116171, 138701, 89553, 15825, 85459, 60884, 116181, 64983, 107998, 32222, 97761, 93666, 132579, 97763, 85475, 46567, 75240, 136681, 136684, 93679, 130544, 124403, 22009, 67067, 46593, 101893, 54790, 130567, 81418, 54801, 46610, 62995, 103955, 52754, 118299, 69153, 99876, 34344, 56874, 77356, 138797, 106029, 13872, 128561, 140850, 73269, 58934, 136758, 44605, 87614, 42559, 42564, 112198, 44619, 46668, 48719, 108118, 65111, 56921, 83551, 67171, 95848, 116330, 104043, 11883, 118382, 112239, 61040, 132721, 67186, 7795, 65142, 71289, 61049, 114299, 7806, 97919, 134789, 18060, 112270, 20110, 69264, 134800, 20115, 122517, 79511, 122524, 5792, 110241, 81571, 42664, 65201, 93874, 79539, 36532, 18098, 22199, 134840, 20160, 44737, 79555, 69316, 71364, 65221, 44740, 18121, 130766, 59086, 102097, 93906, 24273, 102107, 22242, 138979, 77540, 14053, 79590, 114407, 110306, 16105, 141034, 104170, 138988, 136951, 114423, 32503, 75516, 36606, 93951, 102145, 130821, 89863, 71435, 118539, 136976, 7955, 55061, 7957, 36637, 89887, 22305, 36644, 61224, 139053, 124718, 122671, 5936, 126769, 69426, 53043, 100148, 14133, 59189, 98102, 118584, 137014, 38705, 85812, 69432, 59188, 100158, 16197, 16201, 89930, 61257, 42828, 46934, 40792, 30553, 77658, 65374, 124778, 104300, 106351, 24431, 55154, 83830, 3961, 3962, 67452, 18300, 89982, 67458, 16259, 71556, 42884, 67462, 94089, 77707, 130955, 42893, 67470, 77715, 87956, 137114, 133018, 139164, 65437, 135070, 30627, 59299, 59301, 38822, 40869, 73643, 112555, 124851, 128948, 32691, 83895, 63416, 83897, 63417, 90044, 83903, 102335, 83905, 137151, 114627, 102340, 34756, 34760, 104393, 79820, 118734, 47055, 12241, 114644, 10197, 24537, 59354, 28637, 102366, 24547, 69609, 69614, 67566, 61426, 131059, 102388, 20475, 92156);
Date: 2024-05-29 12:20:47
27 5 35s42ms 4s263ms 10s428ms 7s8ms update "sale_order" set "amount_total" = ?, "amount_untaxed" = ?, "carrier_id" = ?, "margin" = ?, "margin_percent" = ?.?, "unpaid_amount_total" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "amount_total" = '282.22', "amount_untaxed" = '282.22', "carrier_id" = 1, "margin" = '-63.10', "margin_percent" = - 0.22358443767273756, "unpaid_amount_total" = '282.22', "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:41:59
28 8 28s525ms 1s58ms 10s564ms 3s565ms update "res_partner" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "res_partner" SET "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (44104, 44101, 44102, 44103);
Date: 2024-05-29 13:59:02
-
UPDATE "res_partner" SET "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (53408, 53409);
Date: 2024-05-29 11:33:41
-
UPDATE "res_partner" SET "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (40826, 40827, 40828);
Date: 2024-05-29 17:38:46
29 6 27s872ms 1s578ms 14s972ms 4s645ms delete from ir_attachment where id in ( select id from ir_attachment where id in (...) for no key update skip locked);-
DELETE FROM ir_attachment WHERE id IN ( SELECT id FROM ir_attachment WHERE id in (5466287) FOR NO KEY UPDATE SKIP LOCKED);
Date: 2024-05-29 16:21:37
-
DELETE FROM ir_attachment WHERE id IN ( SELECT id FROM ir_attachment WHERE id in (5466348) FOR NO KEY UPDATE SKIP LOCKED);
Date: 2024-05-29 16:35:50
-
DELETE FROM ir_attachment WHERE id IN ( SELECT id FROM ir_attachment WHERE id in (5466353) FOR NO KEY UPDATE SKIP LOCKED);
Date: 2024-05-29 16:36:28
30 13 25s615ms 1s47ms 3s523ms 1s970ms update product_warehouse_inventory set qty_available = ?.? where product_id = ? and warehouse_id = ? and company_id = ?;-
UPDATE product_warehouse_inventory SET qty_available = 17.0 WHERE product_id = 206648 AND warehouse_id = 41 AND company_id = 1;
Date: 2024-05-29 13:18:02
-
UPDATE product_warehouse_inventory SET qty_available = 1.0 WHERE product_id = 197865 AND warehouse_id = 35 AND company_id = 1;
Date: 2024-05-29 13:10:29
-
UPDATE product_warehouse_inventory SET qty_available = 15.0 WHERE product_id = 190563 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-05-29 12:50:29
31 12 25s321ms 1s34ms 5s107ms 2s110ms update product_warehouse_inventory set qty_reserve = ? where product_id = ? and warehouse_id = ?;-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 195224 AND warehouse_id = 43;
Date: 2024-05-29 14:14:43
-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 251179 AND warehouse_id = 45;
Date: 2024-05-29 11:26:02
-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 240893 AND warehouse_id = 46;
Date: 2024-05-29 14:07:25
32 4 24s894ms 3s879ms 8s839ms 6s223ms update "sale_order" set "carrier_id" = ?, "margin" = ?, "margin_percent" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "carrier_id" = 1, "margin" = '-1.28', "margin_percent" = - 0.0036714089031665903, "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:40:24
33 5 22s526ms 2s827ms 6s840ms 4s505ms update "sale_order" set "amount_total" = ?, "amount_untaxed" = ?, "core_bank_transaction" = false, "margin" = ?, "margin_percent" = ?.?, "unpaid_amount_total" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "amount_total" = '246.52', "amount_untaxed" = '246.52', "core_bank_transaction" = false, "margin" = '-59.09', "margin_percent" = - 0.23969657634269026, "unpaid_amount_total" = '246.52', "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:41:45
34 5 22s336ms 1s707ms 13s276ms 4s467ms 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 = 'mail.followers' AND (d.user_id IS NULL OR d.user_id = 1030) 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: 2024-05-29 16:14:23
-
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: 2024-05-29 16:36:07
-
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: 2024-05-29 16:14:23
35 3 22s215ms 3s746ms 13s90ms 7s405ms 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: 2024-05-29 16:14:39
-
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: 2024-05-29 16:36:14
-
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: 2024-05-29 16:12:48
36 1 20s319ms 20s319ms 20s319ms 20s319ms update "account_move" set "email_send_eod" = false, "email_sent" = true, "message_main_attachment_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "email_send_eod" = false, "email_sent" = true, "message_main_attachment_id" = 5466100, "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (1438059);
Date: 2024-05-29 15:54:51
37 1 19s325ms 19s325ms 19s325ms 19s325ms update "res_partner" set "available_credit_limit" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "res_partner" SET "available_credit_limit" = '31805.43', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (44101);
Date: 2024-05-29 13:54:58
-
UPDATE "res_partner" SET "available_credit_limit" = '31805.43', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (44101);
Date: 2024-05-29 13:54:58
38 1 16s309ms 16s309ms 16s309ms 16s309ms insert into "mail_followers" ("id", "channel_id", "partner_id", "res_id", "res_model") values (nextval(?), null, ?, ?, ?) returning id;-
INSERT INTO "mail_followers" ("id", "channel_id", "partner_id", "res_id", "res_model") VALUES (nextval('mail_followers_id_seq'), NULL, 46340, 142421, 'sale.order') RETURNING id;
Date: 2024-05-29 14:56:20
39 8 15s331ms 1s116ms 2s935ms 1s916ms update product_warehouse_inventory set qty_mtd_sold = ?.? - ? where product_id = ? and warehouse_id = ?;-
UPDATE product_warehouse_inventory SET qty_mtd_sold = 2.0 - 0 WHERE product_id = 204920 AND warehouse_id = 42;
Date: 2024-05-29 12:56:38
-
UPDATE product_warehouse_inventory SET qty_mtd_sold = 16.0 - 0 WHERE product_id = 238903 AND warehouse_id = 42;
Date: 2024-05-29 13:47:18
-
UPDATE product_warehouse_inventory SET qty_mtd_sold = 8.0 - 0 WHERE product_id = 171891 AND warehouse_id = 45;
Date: 2024-05-29 11:08:10
40 2 14s846ms 5s75ms 9s770ms 7s423ms update "product_template" set "can_image_1024_be_zoomed" = false, "cat_part_type" = ?, "cat_prod_type" = ?, "cat_vendor" = ?, "has_configurable_attributes" = false, "inventory_vendor_short_name" = ?, "raise_core_warning" = false, "rating_last_value" = ?.?, "volume" = ?, "weight" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "product_template" SET "can_image_1024_be_zoomed" = false, "cat_part_type" = 'Suspension All', "cat_prod_type" = 'Parts', "cat_vendor" = 'Automann', "has_configurable_attributes" = false, "inventory_vendor_short_name" = 'Automann', "raise_core_warning" = false, "rating_last_value" = 0.0, "volume" = '0.00', "weight" = '0.00', "write_uid" = 979, "write_date" = (now() at time zone 'UTC') WHERE id IN (267864);
Date: 2024-05-29 12:10:59
-
UPDATE "product_template" SET "can_image_1024_be_zoomed" = false, "cat_part_type" = 'Suspension All', "cat_prod_type" = 'Parts', "cat_vendor" = 'Automann', "has_configurable_attributes" = false, "inventory_vendor_short_name" = 'Automann', "raise_core_warning" = false, "rating_last_value" = 0.0, "volume" = '0.00', "weight" = '0.00', "write_uid" = 979, "write_date" = (now() at time zone 'UTC') WHERE id IN (267864);
Date: 2024-05-29 12:10:59
41 3 12s646ms 1s363ms 8s341ms 4s215ms select "ir_model_fields"."id" AS "id", "ir_model_fields"."name" AS "name", "ir_model_fields"."complete_name" AS "complete_name", "ir_model_fields"."model" AS "model", "ir_model_fields"."relation" AS "relation", "ir_model_fields"."relation_field" AS "relation_field", "ir_model_fields"."relation_field_id" AS "relation_field_id", "ir_model_fields"."model_id" AS "model_id", coalesce("ir_model_fields__field_description"."value", "ir_model_fields"."field_description") AS "field_description", coalesce("ir_model_fields__help"."value", "ir_model_fields"."help") AS "help", "ir_model_fields"."copied" AS "copied", "ir_model_fields"."related" AS "related", "ir_model_fields"."related_field_id" AS "related_field_id", "ir_model_fields"."required" AS "required", "ir_model_fields"."readonly" AS "readonly", "ir_model_fields"."index" AS "index", "ir_model_fields"."translate" AS "translate", "ir_model_fields"."size" AS "size", "ir_model_fields"."state" AS "state", "ir_model_fields"."on_delete" AS "on_delete", "ir_model_fields"."domain" AS "domain", "ir_model_fields"."group_expand" AS "group_expand", "ir_model_fields"."selectable" AS "selectable", "ir_model_fields"."relation_table" AS "relation_table", "ir_model_fields"."column1" AS "column1", "ir_model_fields"."column2" AS "column2", "ir_model_fields"."compute" AS "compute", "ir_model_fields"."depends" AS "depends", "ir_model_fields"."store" AS "store", "ir_model_fields"."ttype" AS "ttype", "ir_model_fields"."serialization_field_id" AS "serialization_field_id", "ir_model_fields"."tracking" AS "tracking", "ir_model_fields"."website_form_blacklisted" AS "website_form_blacklisted", "ir_model_fields"."create_uid" AS "create_uid", "ir_model_fields"."create_date" AS "create_date", "ir_model_fields"."write_uid" AS "write_uid", "ir_model_fields"."write_date" AS "write_date" from "ir_model_fields" left join "ir_translation" AS "ir_model_fields__field_description" on ("ir_model_fields"."id" = "ir_model_fields__field_description"."res_id" and "ir_model_fields__field_description"."type" = ? and "ir_model_fields__field_description"."name" = ? and "ir_model_fields__field_description"."lang" = ? and "ir_model_fields__field_description"."value" != ?) left join "ir_translation" AS "ir_model_fields__help" on ("ir_model_fields"."id" = "ir_model_fields__help"."res_id" and "ir_model_fields__help"."type" = ? and "ir_model_fields__help"."name" = ? and "ir_model_fields__help"."lang" = ? and "ir_model_fields__help"."value" != ?) where "ir_model_fields".id in (...);-
SELECT "ir_model_fields"."id" as "id", "ir_model_fields"."name" as "name", "ir_model_fields"."complete_name" as "complete_name", "ir_model_fields"."model" as "model", "ir_model_fields"."relation" as "relation", "ir_model_fields"."relation_field" as "relation_field", "ir_model_fields"."relation_field_id" as "relation_field_id", "ir_model_fields"."model_id" as "model_id", COALESCE("ir_model_fields__field_description"."value", "ir_model_fields"."field_description") as "field_description", COALESCE("ir_model_fields__help"."value", "ir_model_fields"."help") as "help", "ir_model_fields"."copied" as "copied", "ir_model_fields"."related" as "related", "ir_model_fields"."related_field_id" as "related_field_id", "ir_model_fields"."required" as "required", "ir_model_fields"."readonly" as "readonly", "ir_model_fields"."index" as "index", "ir_model_fields"."translate" as "translate", "ir_model_fields"."size" as "size", "ir_model_fields"."state" as "state", "ir_model_fields"."on_delete" as "on_delete", "ir_model_fields"."domain" as "domain", "ir_model_fields"."group_expand" as "group_expand", "ir_model_fields"."selectable" as "selectable", "ir_model_fields"."relation_table" as "relation_table", "ir_model_fields"."column1" as "column1", "ir_model_fields"."column2" as "column2", "ir_model_fields"."compute" as "compute", "ir_model_fields"."depends" as "depends", "ir_model_fields"."store" as "store", "ir_model_fields"."ttype" as "ttype", "ir_model_fields"."serialization_field_id" as "serialization_field_id", "ir_model_fields"."tracking" as "tracking", "ir_model_fields"."website_form_blacklisted" as "website_form_blacklisted", "ir_model_fields"."create_uid" as "create_uid", "ir_model_fields"."create_date" as "create_date", "ir_model_fields"."write_uid" as "write_uid", "ir_model_fields"."write_date" as "write_date" FROM "ir_model_fields" LEFT JOIN "ir_translation" AS "ir_model_fields__field_description" ON ("ir_model_fields"."id" = "ir_model_fields__field_description"."res_id" AND "ir_model_fields__field_description"."type" = 'model' AND "ir_model_fields__field_description"."name" = 'ir.model.fields,field_description' AND "ir_model_fields__field_description"."lang" = 'en_US' AND "ir_model_fields__field_description"."value" != '') LEFT JOIN "ir_translation" AS "ir_model_fields__help" ON ("ir_model_fields"."id" = "ir_model_fields__help"."res_id" AND "ir_model_fields__help"."type" = 'model' AND "ir_model_fields__help"."name" = 'ir.model.fields,help' AND "ir_model_fields__help"."lang" = 'en_US' AND "ir_model_fields__help"."value" != '') WHERE "ir_model_fields".id IN (6253, 6250, 6231);
Date: 2024-05-29 16:14:23
-
SELECT "ir_model_fields"."id" as "id", "ir_model_fields"."name" as "name", "ir_model_fields"."complete_name" as "complete_name", "ir_model_fields"."model" as "model", "ir_model_fields"."relation" as "relation", "ir_model_fields"."relation_field" as "relation_field", "ir_model_fields"."relation_field_id" as "relation_field_id", "ir_model_fields"."model_id" as "model_id", COALESCE("ir_model_fields__field_description"."value", "ir_model_fields"."field_description") as "field_description", COALESCE("ir_model_fields__help"."value", "ir_model_fields"."help") as "help", "ir_model_fields"."copied" as "copied", "ir_model_fields"."related" as "related", "ir_model_fields"."related_field_id" as "related_field_id", "ir_model_fields"."required" as "required", "ir_model_fields"."readonly" as "readonly", "ir_model_fields"."index" as "index", "ir_model_fields"."translate" as "translate", "ir_model_fields"."size" as "size", "ir_model_fields"."state" as "state", "ir_model_fields"."on_delete" as "on_delete", "ir_model_fields"."domain" as "domain", "ir_model_fields"."group_expand" as "group_expand", "ir_model_fields"."selectable" as "selectable", "ir_model_fields"."relation_table" as "relation_table", "ir_model_fields"."column1" as "column1", "ir_model_fields"."column2" as "column2", "ir_model_fields"."compute" as "compute", "ir_model_fields"."depends" as "depends", "ir_model_fields"."store" as "store", "ir_model_fields"."ttype" as "ttype", "ir_model_fields"."serialization_field_id" as "serialization_field_id", "ir_model_fields"."tracking" as "tracking", "ir_model_fields"."website_form_blacklisted" as "website_form_blacklisted", "ir_model_fields"."create_uid" as "create_uid", "ir_model_fields"."create_date" as "create_date", "ir_model_fields"."write_uid" as "write_uid", "ir_model_fields"."write_date" as "write_date" FROM "ir_model_fields" LEFT JOIN "ir_translation" AS "ir_model_fields__field_description" ON ("ir_model_fields"."id" = "ir_model_fields__field_description"."res_id" AND "ir_model_fields__field_description"."type" = 'model' AND "ir_model_fields__field_description"."name" = 'ir.model.fields,field_description' AND "ir_model_fields__field_description"."lang" = 'en_US' AND "ir_model_fields__field_description"."value" != '') LEFT JOIN "ir_translation" AS "ir_model_fields__help" ON ("ir_model_fields"."id" = "ir_model_fields__help"."res_id" AND "ir_model_fields__help"."type" = 'model' AND "ir_model_fields__help"."name" = 'ir.model.fields,help' AND "ir_model_fields__help"."lang" = 'en_US' AND "ir_model_fields__help"."value" != '') WHERE "ir_model_fields".id IN (6231, 6253, 6250);
Date: 2024-05-29 16:36:07
-
SELECT "ir_model_fields"."id" as "id", "ir_model_fields"."name" as "name", "ir_model_fields"."complete_name" as "complete_name", "ir_model_fields"."model" as "model", "ir_model_fields"."relation" as "relation", "ir_model_fields"."relation_field" as "relation_field", "ir_model_fields"."relation_field_id" as "relation_field_id", "ir_model_fields"."model_id" as "model_id", COALESCE("ir_model_fields__field_description"."value", "ir_model_fields"."field_description") as "field_description", COALESCE("ir_model_fields__help"."value", "ir_model_fields"."help") as "help", "ir_model_fields"."copied" as "copied", "ir_model_fields"."related" as "related", "ir_model_fields"."related_field_id" as "related_field_id", "ir_model_fields"."required" as "required", "ir_model_fields"."readonly" as "readonly", "ir_model_fields"."index" as "index", "ir_model_fields"."translate" as "translate", "ir_model_fields"."size" as "size", "ir_model_fields"."state" as "state", "ir_model_fields"."on_delete" as "on_delete", "ir_model_fields"."domain" as "domain", "ir_model_fields"."group_expand" as "group_expand", "ir_model_fields"."selectable" as "selectable", "ir_model_fields"."relation_table" as "relation_table", "ir_model_fields"."column1" as "column1", "ir_model_fields"."column2" as "column2", "ir_model_fields"."compute" as "compute", "ir_model_fields"."depends" as "depends", "ir_model_fields"."store" as "store", "ir_model_fields"."ttype" as "ttype", "ir_model_fields"."serialization_field_id" as "serialization_field_id", "ir_model_fields"."tracking" as "tracking", "ir_model_fields"."website_form_blacklisted" as "website_form_blacklisted", "ir_model_fields"."create_uid" as "create_uid", "ir_model_fields"."create_date" as "create_date", "ir_model_fields"."write_uid" as "write_uid", "ir_model_fields"."write_date" as "write_date" FROM "ir_model_fields" LEFT JOIN "ir_translation" AS "ir_model_fields__field_description" ON ("ir_model_fields"."id" = "ir_model_fields__field_description"."res_id" AND "ir_model_fields__field_description"."type" = 'model' AND "ir_model_fields__field_description"."name" = 'ir.model.fields,field_description' AND "ir_model_fields__field_description"."lang" = 'en_US' AND "ir_model_fields__field_description"."value" != '') LEFT JOIN "ir_translation" AS "ir_model_fields__help" ON ("ir_model_fields"."id" = "ir_model_fields__help"."res_id" AND "ir_model_fields__help"."type" = 'model' AND "ir_model_fields__help"."name" = 'ir.model.fields,help' AND "ir_model_fields__help"."lang" = 'en_US' AND "ir_model_fields__help"."value" != '') WHERE "ir_model_fields".id IN (27570, 2733, 2734, 2732, 27571, 10730, 10728);
Date: 2024-05-29 16:18:14
42 4 12s619ms 1s399ms 6s491ms 3s154ms update "credit_order_data" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "credit_order_data" SET "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (35534);
Date: 2024-05-29 11:03:27
43 6 12s370ms 1s719ms 3s796ms 2s61ms update product_warehouse_inventory set qty_on_order = ?.? where product_id = ? and warehouse_id = ?;-
UPDATE product_warehouse_inventory SET qty_on_order = 14.0 WHERE product_id = 184011 AND warehouse_id = 46;
Date: 2024-05-29 12:21:44
-
UPDATE product_warehouse_inventory SET qty_on_order = 2.0 WHERE product_id = 189101 AND warehouse_id = 38;
Date: 2024-05-29 13:14:34
-
UPDATE product_warehouse_inventory SET qty_on_order = 2.0 WHERE product_id = 244462 AND warehouse_id = 46;
Date: 2024-05-29 13:55:00
44 1 12s198ms 12s198ms 12s198ms 12s198ms insert into "account_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "auto_post", "branch_id", "currency_id", "date", "discount_amount_applied", "edi_billed", "edi_split_lock", "extract_remote_id", "extract_state", "invoice_incoterm_id", "invoice_product_qty", "invoice_user_id", "is_edi_bill", "is_move_sent", "journal_id", "move_type", "open_invoice", "partner_id", "ref", "state", "stock_move_id", "team_id", "to_check", "to_check_negative") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, ?, ?, ?, ?.?, false, false, ?, ?, null, ?.?, ?, false, false, ?, ?, false, ?, ?, ?, ?, ?, false, false) returning id;-
INSERT INTO "account_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "auto_post", "branch_id", "currency_id", "date", "discount_amount_applied", "edi_billed", "edi_split_lock", "extract_remote_id", "extract_state", "invoice_incoterm_id", "invoice_product_qty", "invoice_user_id", "is_edi_bill", "is_move_sent", "journal_id", "move_type", "open_invoice", "partner_id", "ref", "state", "stock_move_id", "team_id", "to_check", "to_check_negative") VALUES (nextval('account_move_id_seq'), 1047, (now() at time zone 'UTC'), 1047, (now() at time zone 'UTC'), false, 56, 2, '2024-05-29', 0.0, false, false, - 1, 'no_extract_requested', NULL, 1.0, 1047, false, false, 6, 'entry', false, 52549, '14-D/OUT/06664 - [M65416] Shock Absorber', 'draft', 969130, 1, false, false) RETURNING id;
Date: 2024-05-29 16:13:12
-
INSERT INTO "account_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "auto_post", "branch_id", "currency_id", "date", "discount_amount_applied", "edi_billed", "edi_split_lock", "extract_remote_id", "extract_state", "invoice_incoterm_id", "invoice_product_qty", "invoice_user_id", "is_edi_bill", "is_move_sent", "journal_id", "move_type", "open_invoice", "partner_id", "ref", "state", "stock_move_id", "team_id", "to_check", "to_check_negative") VALUES (nextval('account_move_id_seq'), 990, (now() at time zone 'UTC'), 990, (now() at time zone 'UTC'), false, 48, 2, '2024-05-29', 0.0, false, false, - 1, 'no_extract_requested', NULL, 1.0, 990, false, false, 6, 'entry', false, 32877, '13-T/IN/14975 - [372-7099] TRAILER WHEEL SET', 'draft', 951234, 1, false, false) RETURNING id;
Date: 2024-05-29 16:29:30
-
INSERT INTO "account_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "auto_post", "branch_id", "currency_id", "date", "discount_amount_applied", "edi_billed", "edi_split_lock", "extract_remote_id", "extract_state", "invoice_incoterm_id", "invoice_product_qty", "invoice_user_id", "is_edi_bill", "is_move_sent", "journal_id", "move_type", "open_invoice", "partner_id", "ref", "state", "stock_move_id", "team_id", "to_check", "to_check_negative") VALUES (nextval('account_move_id_seq'), 1028, (now() at time zone 'UTC'), 1028, (now() at time zone 'UTC'), false, 50, 2, '2024-05-29', 0.0, false, false, - 1, 'no_extract_requested', NULL, 1.0, 1028, false, false, 6, 'entry', false, 36896, '12-S/OUT/08263 - [1R12-375] Air Spring', 'draft', 968693, 1, false, false) RETURNING id;
Date: 2024-05-29 16:12:44
45 1 11s242ms 11s242ms 11s242ms 11s242ms alter table ir_model_fields alter column website_form_blacklisted set default true;-
ALTER TABLE ir_model_fields ALTER COLUMN website_form_blacklisted SET DEFAULT true;
Date: 2024-05-29 16:14:19
-
ALTER TABLE ir_model_fields ALTER COLUMN website_form_blacklisted SET DEFAULT true;
Date: 2024-05-29 16:14:19
46 2 9s862ms 4s66ms 5s795ms 4s931ms update "sale_order" set "margin" = ?, "margin_percent" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "margin" = '-31.87', "margin_percent" = - 0.11593728400451091, "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:41:16
47 3 9s288ms 3s6ms 3s213ms 3s96ms update product_warehouse_inventory set qty_mtd_sold = ? - ? where product_id = ? and warehouse_id = ?;-
UPDATE product_warehouse_inventory SET qty_mtd_sold = 0 - 0 WHERE product_id = 239024 AND warehouse_id = 46;
Date: 2024-05-29 13:42:30
-
UPDATE product_warehouse_inventory SET qty_mtd_sold = 0 - 0 WHERE product_id = 188717 AND warehouse_id = 36;
Date: 2024-05-29 14:51:36
-
UPDATE product_warehouse_inventory SET qty_mtd_sold = 0 - 0 WHERE product_id = 173928 AND warehouse_id = 43;
Date: 2024-05-29 14:32:46
48 3 8s390ms 1s213ms 3s762ms 2s796ms update product_warehouse_inventory set qty_mtd_sold = ?.? - ?.? where product_id = ? and warehouse_id = ?;-
UPDATE product_warehouse_inventory SET qty_mtd_sold = 15.0 - 4.0 WHERE product_id = 191078 AND warehouse_id = 45;
Date: 2024-05-29 11:07:58
-
UPDATE product_warehouse_inventory SET qty_mtd_sold = 32.0 - 56.0 WHERE product_id = 237198 AND warehouse_id = 41;
Date: 2024-05-29 14:04:51
-
UPDATE product_warehouse_inventory SET qty_mtd_sold = 2.0 - 136.0 WHERE product_id = 237210 AND warehouse_id = 36;
Date: 2024-05-29 14:41:18
49 1 6s2ms 6s2ms 6s2ms 6s2ms update "account_move" set "access_token" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "access_token" = '6959e811-c38f-4529-be51-e6af9245e683', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (1436983);
Date: 2024-05-29 13:49:30
50 1 5s371ms 5s371ms 5s371ms 5s371ms update "sale_order" set "amount_total" = ?, "amount_untaxed" = ?, "carrier_id" = ?, "margin" = ?, "unpaid_amount_total" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "amount_total" = '324.40', "amount_untaxed" = '324.40', "carrier_id" = 1, "margin" = '110.30', "unpaid_amount_total" = '324.40', "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);
Date: 2024-05-29 18:12:30
51 1 5s18ms 5s18ms 5s18ms 5s18ms select "sale_line_report".id from "sale_line_report" where ("sale_line_report"."real_line_id" in (...)) order by "sale_line_report"."id";-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (414465)) ORDER BY "sale_line_report"."id";
Date: 2024-05-29 16:35:50
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (413967)) ORDER BY "sale_line_report"."id";
Date: 2024-05-29 12:30:12
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (412972)) ORDER BY "sale_line_report"."id";
Date: 2024-05-29 12:56:59
52 1 4s345ms 4s345ms 4s345ms 4s345ms update "sale_order" set "core_bank_transaction" = false, "margin" = ?, "margin_percent" = ?.?, "unpaid_amount_total" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "core_bank_transaction" = false, "margin" = '-54.72', "margin_percent" = - 0.22930897204877845, "unpaid_amount_total" = '238.63', "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:42:13
53 2 3s255ms 1s567ms 1s688ms 1s627ms update "sale_order" set "margin" = ?, "margin_percent" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "margin" = '98.16', "margin_percent" = 0.33032709651366265, "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (141965);
Date: 2024-05-29 11:39:40
54 1 2s677ms 2s677ms 2s677ms 2s677ms update product_warehouse_inventory set loc_check_qty = coalesce(?.?, ?) + coalesce(?.?, ?) - coalesce(?.?, ?) where product_id = ? and warehouse_id = ? and company_id = ?;-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(- 4.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 172105 AND warehouse_id = 35 AND company_id = 1;
Date: 2024-05-29 13:11:48
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(- 3.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 176894 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-05-29 13:08:24
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(- 3.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 176894 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-05-29 13:08:17
55 1 1s668ms 1s668ms 1s668ms 1s668ms update queue_job set state = ?, date_enqueued = date_trunc(?, now() at time zone ?) where uuid = ?;-
UPDATE queue_job SET state = 'enqueued', date_enqueued = date_trunc('seconds', now() at time zone 'utc') WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290';
Date: 2024-05-29 16:17:00
-
UPDATE queue_job SET state = 'enqueued', date_enqueued = date_trunc('seconds', now() at time zone 'utc') WHERE uuid = '1a65b4d7-955c-4b59-bec7-f7ef463f8703';
Date: 2024-05-29 15:12:27
-
UPDATE queue_job SET state = 'enqueued', date_enqueued = date_trunc('seconds', now() at time zone 'utc') WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290';
Date: 2024-05-29 16:14:01
56 1 1s437ms 1s437ms 1s437ms 1s437ms update "sale_order_line" set "price_reduce" = ?, "price_reduce_taxexcl" = ?, "price_reduce_taxinc" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "price_reduce" = '15.01', "price_reduce_taxexcl" = '15.01', "price_reduce_taxinc" = '15.91', "write_uid" = 965, "write_date" = (now() at time zone 'UTC') WHERE id IN (414021);
Date: 2024-05-29 13:11:13
57 1 1s428ms 1s428ms 1s428ms 1s428ms select name, id from ir_model_fields where model = ?;-
SELECT name, id FROM ir_model_fields WHERE model = 'product.product';
Date: 2024-05-29 16:14:23
-
SELECT name, id FROM ir_model_fields WHERE model = 'product.product';
Date: 2024-05-29 16:14:23
58 1 1s111ms 1s111ms 1s111ms 1s111ms 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: 2024-05-29 16:13:41
-
CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is true;
Date: 2024-05-29 16:13:41
59 1 1s27ms 1s27ms 1s27ms 1s27ms update "product_warehouse_inventory" set "last_used_date" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "product_warehouse_inventory" SET "last_used_date" = '2024-05-29', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (17257, 17258, 17484, 17490, 17460, 17468);
Date: 2024-05-29 18:20:12
Queries that waited the most
Rank Wait time Query 1 21m35s 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 != 1436697 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 != 1436697 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
2 21m35s 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 != 1436685 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 != 1436685 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
3 21m34s 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 != 1436504 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 != 1436504 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
4 21m28s 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 != 1436698 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 != 1436698 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
5 21m27s 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 != 1436677 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 != 1436677 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
6 21m24s 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 != 1416410 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 != 1416410 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
7 21m10s UPDATE "account_move" SET "message_main_attachment_id" = 5465240, "write_uid" = 992, "write_date" = (now() at time zone 'UTC') WHERE id IN (1436702);[ Date: 2024-05-29 13:45:09 ]
8 20m40s 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 != 1436641 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 != 1436641 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
9 19m47s 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 != 1436719 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 != 1436719 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
10 19m41s 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 != 1436720 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 != 1436720 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
11 19m37s 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 != 1436721 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 != 1436721 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
12 18m57s 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 != 1436723 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 != 1436723 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
13 18m35s 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 != 1436726 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 != 1436726 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
14 18m24s 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 != 1435892 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 != 1435892 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
15 18m14s 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 != 1436697 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 != 1436697 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
16 17m50s 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 != 1436504 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 != 1436504 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
17 17m49s 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 != 1436732 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 != 1436732 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
18 16m34s 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 != 1387873 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 != 1387873 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
19 16m28s 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 != 1436741 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 != 1436741 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
20 15m53s 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 != 1436749 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 != 1436749 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:45:09 ]
-
Queries
Queries by type
Key values
- 119,676 Total read queries
- 45,956 Total write queries
Queries by database
Key values
- unknown Main database
- 165,634 Requests
- 15h5m50s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 165,731 Requests
User Request type Count Duration unknown Total 165,731 15h6m23s copy to 220 26m42s cte 25 17s213ms ddl 6 34s800ms delete 744 56m42s insert 7 58s442ms others 2 1s898ms select 119,772 10h2m1s tcl 90 14s757ms update 44,865 3h38m50s Duration by user
Key values
- 15h6m23s (unknown) Main time consuming user
User Request type Count Duration unknown Total 165,731 15h6m23s copy to 220 26m42s cte 25 17s213ms ddl 6 34s800ms delete 744 56m42s insert 7 58s442ms others 2 1s898ms select 119,772 10h2m1s tcl 90 14s757ms update 44,865 3h38m50s Queries by host
Key values
- unknown Main host
- 165,731 Requests
- 15h6m23s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 165,634 Requests
- 15h5m50s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-05-29 15:43:25 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 148,687 100-500ms duration
Slowest individual queries
Rank Duration Query 1 6m40s 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 != 1438032 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 != 1438032 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 15:54:09 ]
2 6m32s 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 != 1403432 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 != 1403432 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 15:54:11 ]
3 4m3s COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2024-05-29 00:37:49 ]
4 3m55s COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2024-05-29 09:09:53 ]
5 3m3s DELETE FROM stock_inventory_line WHERE id IN (3043201, 3043103, 3043051, 3043243, 3043124, 3043101, 3043131, 3042578, 3042959, 3042931, 3042930, 3043011, 3042579, 3042580, 3042581, 3042582, 3042583, 3043244, 3042986, 3043104, 3042584, 3042585, 3042586, 3042587, 3042588, 3042589, 3042590, 3042591, 3042989, 3042592, 3042593, 3042948, 3042594, 3042949, 3042951, 3042595, 3043068, 3043069, 3042596, 3042597, 3042598, 3043245, 3043002, 3042916, 3042889, 3042599, 3043173, 3042600, 3043246, 3043247, 3043054, 3043248, 3042601, 3042602, 3042603, 3043147, 3043057, 3042604, 3043023, 3043249, 3043250, 3043251, 3042605, 3043252, 3042856, 3043086, 3043253, 3042606, 3043227, 3043254, 3042607, 3042608, 3042927, 3043073, 3043070, 3042609, 3042610, 3043084, 3042910, 3042611, 3042612, 3042867, 3043114, 3042613, 3042614, 3042615, 3042616, 3043049, 3042617, 3043228, 3042618, 3042619, 3042945, 3042952, 3042620, 3042621, 3042622, 3043028, 3042623, 3042624, 3042625, 3042626, 3042944, 3042627, 3042991, 3042918, 3042990, 3042953, 3043067, 3043005, 3043143, 3042859, 3042628, 3042629, 3042932, 3042630, 3043258, 3043236, 3043107, 3042631, 3042893, 3042632, 3043183, 3043146, 3043195, 3042898, 3043229, 3043234, 3043162, 3043161, 3042633, 3042634, 3042635, 3043083, 3042636, 3042938, 3043184, 3042637, 3042877, 3043000, 3043001, 3042638, 3043263, 3042896, 3042897, 3042639, 3042887, 3042640, 3042939, 3042900, 3042641, 3042977, 3043065, 3042642, 3043216, 3043050, 3042643, 3043080, 3042901, 3043219, 3042937, 3042861, 3042644, 3043018, 3043029, 3042645, 3043116, 3042646, 3043156, 3042647, 3043182, 3043055, 3042883, 3043198, 3043135, 3042648, 3043224, 3043021, 3043039, 3043259, 3042649, 3042982, 3042650, 3043119, 3042651, 3042892, 3043221, 3042874, 3042652, 3042653, 3043169, 3042654, 3043226, 3042655, 3042656, 3042955, 3043060, 3042994, 3043154, 3043059, 3042657, 3043139, 3042658, 3043038, 3042659, 3043145, 3042660, 3042917, 3042661, 3042662, 3043024, 3042974, 3043220, 3042663, 3042664, 3043090, 3042665, 3043208, 3042666, 3043047, 3042881, 3043196, 3043071, 3043094, 3042667, 3042668, 3042956, 3042964, 3042925, 3042873, 3042999, 3042857, 3042669, 3042670, 3042908, 3042907, 3043240, 3043016, 3042671, 3042672, 3042914, 3043122, 3043181, 3042929, 3042673, 3042995, 3043025, 3042674, 3042923, 3042922, 3042675, 3042891, 3042676, 3043130, 3042677, 3042678, 3042679, 3042680, 3042913, 3042878, 3042681, 3043261, 3042682, 3042997, 3043159, 3042683, 3042996, 3042684, 3042685, 3042686, 3042687, 3042688, 3042928, 3043213, 3043204, 3042872, 3043087, 3042689, 3042690, 3042950, 3043179, 3043241, 3042998, 3042890, 3042980, 3042961, 3042906, 3042905, 3042691, 3042692, 3042693, 3042694, 3043089, 3042911, 3042695, 3042919, 3042921, 3043123, 3042696, 3043237, 3043164, 3043121, 3042697, 3042698, 3042699, 3042700, 3042871, 3043076, 3042701, 3043113, 3042936, 3043099, 3042702, 3042703, 3043091, 3042704, 3043009, 3043061, 3042895, 3042705, 3043170, 3043030, 3043230, 3043120, 3043172, 3043072, 3042706, 3042707, 3043109, 3043160, 3042924, 3043045, 3042984, 3043158, 3042979, 3043019, 3043056, 3042885, 3043140, 3042708, 3042709, 3042710, 3043100, 3043053, 3043110, 3042868, 3043178, 3042711, 3043035, 3042712, 3043062, 3042713, 3043078, 3042882, 3043260, 3042970, 3042981, 3042714, 3042978, 3042715, 3042716, 3042717, 3042718, 3042719, 3042720, 3042721, 3042722, 3042723, 3042724, 3042985, 3042725, 3042726, 3043082, 3043027, 3042973, 3042727, 3042962, 3042858, 3042728, 3042729, 3043081, 3042730, 3043014, 3042731, 3042732, 3043199, 3043153, 3043223, 3043034, 3043177, 3043187, 3043105, 3043222, 3043233, 3043137, 3042733, 3043151, 3042734, 3042960, 3042735, 3042736, 3042737, 3042738, 3043166, 3042975, 3043197, 3042739, 3042740, 3042741, 3043134, 3043042, 3043022, 3043126, 3043097, 3042742, 3042743, 3042744, 3042745, 3042884, 3043180, 3043238, 3043058, 3043157, 3043262, 3043175, 3043176, 3043052, 3042746, 3042915, 3042747, 3042748, 3043066, 3042749, 3043074, 3042750, 3042751, 3042752, 3042903, 3042753, 3042754, 3042755, 3042869, 3043185, 3042756, 3042904, 3042757, 3043003, 3042967, 3042758, 3043209, 3043206, 3042983, 3042759, 3042988, 3043211, 3042760, 3042761, 3043203, 3043190, 3043125, 3042762, 3042902, 3042763, 3043118, 3043046, 3042764, 3043189, 3042765, 3042912, 3042766, 3043077, 3043202, 3042767, 3042863, 3042768, 3042888, 3042769, 3042770, 3042771, 3042993, 3042772, 3042934, 3042773, 3042954, 3042774, 3042976, 3042775, 3043040, 3042776, 3042969, 3042777, 3043165, 3042940, 3043163, 3042778, 3043075, 3043186, 3043191, 3042779, 3042780, 3042781, 3042782, 3043043, 3042783, 3042784, 3042968, 3042785, 3042947, 3043041, 3042987, 3042786, 3042787, 3042972, 3042788, 3042992, 3042789, 3042790, 3042791, 3042792, 3042793, 3043031, 3043128, 3042794, 3043012, 3043064, 3043020, 3043048, 3043095, 3042963, 3043133, 3042795, 3043032, 3042933, 3042796, 3042797, 3042798, 3042799, 3042800, 3043098, 3043225, 3042801, 3042862, 3042802, 3042942, 3042803, 3043168, 3042946, 3042804, 3042805, 3042806, 3043015, 3042807, 3043093, 3042971, 3043144, 3042808, 3042809, 3042810, 3042811, 3042812, 3042813, 3042814, 3042815, 3043214, 3042816, 3042817, 3042865, 3042864, 3043044, 3042875, 3042876, 3042818, 3042819, 3043026, 3043210, 3043138, 3043141, 3043102, 3043085, 3043106, 3043006, 3043132, 3043129, 3043007, 3042879, 3042820, 3042957, 3042880, 3042821, 3042822, 3042823, 3043088, 3043218, 3043194, 3043008, 3043188, 3043148, 3043017, 3043037, 3043232, 3042860, 3042920, 3042965, 3043063, 3043079, 3042824, 3043192, 3042958, 3043092, 3042825, 3042826, 3043013, 3043193, 3043239, 3043004, 3042866, 3043136, 3043033, 3043167, 3043149, 3043212, 3043108, 3043117, 3043115, 3042827, 3042828, 3043174, 3043112, 3042926, 3043242, 3043142, 3042829, 3042830, 3042909, 3043255, 3043235, 3043256, 3042831, 3042832, 3042894, 3042833, 3042899, 3042834, 3043200, 3042835, 3042836, 3042837, 3043152, 3042838, 3042839, 3042840, 3042841, 3042842, 3042966, 3043096, 3043010, 3042843, 3042870, 3043205, 3042844, 3043036, 3043257, 3043155, 3042845, 3042846, 3043207, 3043127, 3043231, 3043215, 3043111, 3043217, 3042886, 3042941, 3043150, 3042847, 3042848, 3042849, 3042935, 3043171, 3042850, 3042943, 3042851, 3042852, 3042853, 3042854, 3042855);[ Date: 2024-05-29 14:26:06 ]
6 2m53s DELETE FROM stock_inventory_line WHERE id IN (3043201, 3043103, 3043051, 3043243, 3043124, 3043101, 3043131, 3042578, 3042959, 3042931, 3042930, 3043011, 3042579, 3042580, 3042581, 3042582, 3042583, 3043244, 3042986, 3043104, 3042584, 3042585, 3042586, 3042587, 3042588, 3042589, 3042590, 3042591, 3042989, 3042592, 3042593, 3042948, 3042594, 3042949, 3042951, 3042595, 3043068, 3043069, 3042596, 3042597, 3042598, 3043245, 3043002, 3042916, 3042889, 3042599, 3043173, 3042600, 3043246, 3043247, 3043054, 3043248, 3042601, 3042602, 3042603, 3043147, 3043057, 3042604, 3043023, 3043249, 3043250, 3043251, 3042605, 3043252, 3042856, 3043086, 3043253, 3042606, 3043227, 3043254, 3042607, 3042608, 3042927, 3043073, 3043070, 3042609, 3042610, 3043084, 3042910, 3042611, 3042612, 3042867, 3043114, 3042613, 3042614, 3042615, 3042616, 3043049, 3042617, 3043228, 3042618, 3042619, 3042945, 3042952, 3042620, 3042621, 3042622, 3043028, 3042623, 3042624, 3042625, 3042626, 3042944, 3042627, 3042991, 3042918, 3042990, 3042953, 3043067, 3043005, 3043143, 3042859, 3042628, 3042629, 3042932, 3042630, 3043258, 3043236, 3043107, 3042631, 3042893, 3042632, 3043183, 3043146, 3043195, 3042898, 3043229, 3043234, 3043162, 3043161, 3042633, 3042634, 3042635, 3043083, 3042636, 3042938, 3043184, 3042637, 3042877, 3043000, 3043001, 3042638, 3043263, 3042896, 3042897, 3042639, 3042887, 3042640, 3042939, 3042900, 3042641, 3042977, 3043065, 3042642, 3043216, 3043050, 3042643, 3043080, 3042901, 3043219, 3042937, 3042861, 3042644, 3043018, 3043029, 3042645, 3043116, 3042646, 3043156, 3042647, 3043182, 3043055, 3042883, 3043198, 3043135, 3042648, 3043224, 3043021, 3043039, 3043259, 3042649, 3042982, 3042650, 3043119, 3042651, 3042892, 3043221, 3042874, 3042652, 3042653, 3043169, 3042654, 3043226, 3042655, 3042656, 3042955, 3043060, 3042994, 3043154, 3043059, 3042657, 3043139, 3042658, 3043038, 3042659, 3043145, 3042660, 3042917, 3042661, 3042662, 3043024, 3042974, 3043220, 3042663, 3042664, 3043090, 3042665, 3043208, 3042666, 3043047, 3042881, 3043196, 3043071, 3043094, 3042667, 3042668, 3042956, 3042964, 3042925, 3042873, 3042999, 3042857, 3042669, 3042670, 3042908, 3042907, 3043240, 3043016, 3042671, 3042672, 3042914, 3043122, 3043181, 3042929, 3042673, 3042995, 3043025, 3042674, 3042923, 3042922, 3042675, 3042891, 3042676, 3043130, 3042677, 3042678, 3042679, 3042680, 3042913, 3042878, 3042681, 3043261, 3042682, 3042997, 3043159, 3042683, 3042996, 3042684, 3042685, 3042686, 3042687, 3042688, 3042928, 3043213, 3043204, 3042872, 3043087, 3042689, 3042690, 3042950, 3043179, 3043241, 3042998, 3042890, 3042980, 3042961, 3042906, 3042905, 3042691, 3042692, 3042693, 3042694, 3043089, 3042911, 3042695, 3042919, 3042921, 3043123, 3042696, 3043237, 3043164, 3043121, 3042697, 3042698, 3042699, 3042700, 3042871, 3043076, 3042701, 3043113, 3042936, 3043099, 3042702, 3042703, 3043091, 3042704, 3043009, 3043061, 3042895, 3042705, 3043170, 3043030, 3043230, 3043120, 3043172, 3043072, 3042706, 3042707, 3043109, 3043160, 3042924, 3043045, 3042984, 3043158, 3042979, 3043019, 3043056, 3042885, 3043140, 3042708, 3042709, 3042710, 3043100, 3043053, 3043110, 3042868, 3043178, 3042711, 3043035, 3042712, 3043062, 3042713, 3043078, 3042882, 3043260, 3042970, 3042981, 3042714, 3042978, 3042715, 3042716, 3042717, 3042718, 3042719, 3042720, 3042721, 3042722, 3042723, 3042724, 3042985, 3042725, 3042726, 3043082, 3043027, 3042973, 3042727, 3042962, 3042858, 3042728, 3042729, 3043081, 3042730, 3043014, 3042731, 3042732, 3043199, 3043153, 3043223, 3043034, 3043177, 3043187, 3043105, 3043222, 3043233, 3043137, 3042733, 3043151, 3042734, 3042960, 3042735, 3042736, 3042737, 3042738, 3043166, 3042975, 3043197, 3042739, 3042740, 3042741, 3043134, 3043042, 3043022, 3043126, 3043097, 3042742, 3042743, 3042744, 3042745, 3042884, 3043180, 3043238, 3043058, 3043157, 3043262, 3043175, 3043176, 3043052, 3042746, 3042915, 3042747, 3042748, 3043066, 3042749, 3043074, 3042750, 3042751, 3042752, 3042903, 3042753, 3042754, 3042755, 3042869, 3043185, 3042756, 3042904, 3042757, 3043003, 3042967, 3042758, 3043209, 3043206, 3042983, 3042759, 3042988, 3043211, 3042760, 3042761, 3043203, 3043190, 3043125, 3042762, 3042902, 3042763, 3043118, 3043046, 3042764, 3043189, 3042765, 3042912, 3042766, 3043077, 3043202, 3042767, 3042863, 3042768, 3042888, 3042769, 3042770, 3042771, 3042993, 3042772, 3042934, 3042773, 3042954, 3042774, 3042976, 3042775, 3043040, 3042776, 3042969, 3042777, 3043165, 3042940, 3043163, 3042778, 3043075, 3043186, 3043191, 3042779, 3042780, 3042781, 3042782, 3043043, 3042783, 3042784, 3042968, 3042785, 3042947, 3043041, 3042987, 3042786, 3042787, 3042972, 3042788, 3042992, 3042789, 3042790, 3042791, 3042792, 3042793, 3043031, 3043128, 3042794, 3043012, 3043064, 3043020, 3043048, 3043095, 3042963, 3043133, 3042795, 3043032, 3042933, 3042796, 3042797, 3042798, 3042799, 3042800, 3043098, 3043225, 3042801, 3042862, 3042802, 3042942, 3042803, 3043168, 3042946, 3042804, 3042805, 3042806, 3043015, 3042807, 3043093, 3042971, 3043144, 3042808, 3042809, 3042810, 3042811, 3042812, 3042813, 3042814, 3042815, 3043214, 3042816, 3042817, 3042865, 3042864, 3043044, 3042875, 3042876, 3042818, 3042819, 3043026, 3043210, 3043138, 3043141, 3043102, 3043085, 3043106, 3043006, 3043132, 3043129, 3043007, 3042879, 3042820, 3042957, 3042880, 3042821, 3042822, 3042823, 3043088, 3043218, 3043194, 3043008, 3043188, 3043148, 3043017, 3043037, 3043232, 3042860, 3042920, 3042965, 3043063, 3043079, 3042824, 3043192, 3042958, 3043092, 3042825, 3042826, 3043013, 3043193, 3043239, 3043004, 3042866, 3043136, 3043033, 3043167, 3043149, 3043212, 3043108, 3043117, 3043115, 3042827, 3042828, 3043174, 3043112, 3042926, 3043242, 3043142, 3042829, 3042830, 3042909, 3043255, 3043235, 3043256, 3042831, 3042832, 3042894, 3042833, 3042899, 3042834, 3043200, 3042835, 3042836, 3042837, 3043152, 3042838, 3042839, 3042840, 3042841, 3042842, 3042966, 3043096, 3043010, 3042843, 3042870, 3043205, 3042844, 3043036, 3043257, 3043155, 3042845, 3042846, 3043207, 3043127, 3043231, 3043215, 3043111, 3043217, 3042886, 3042941, 3043150, 3042847, 3042848, 3042849, 3042935, 3043171, 3042850, 3042943, 3042851, 3042852, 3042853, 3042854, 3042855);[ Date: 2024-05-29 14:31:59 ]
7 2m40s DELETE FROM stock_inventory_line WHERE id IN (3043201, 3043103, 3043051, 3043243, 3043124, 3043101, 3043131, 3042578, 3042959, 3042931, 3042930, 3043011, 3042579, 3042580, 3042581, 3042582, 3042583, 3043244, 3042986, 3043104, 3042584, 3042585, 3042586, 3042587, 3042588, 3042589, 3042590, 3042591, 3042989, 3042592, 3042593, 3042948, 3042594, 3042949, 3042951, 3042595, 3043068, 3043069, 3042596, 3042597, 3042598, 3043245, 3043002, 3042916, 3042889, 3042599, 3043173, 3042600, 3043246, 3043247, 3043054, 3043248, 3042601, 3042602, 3042603, 3043147, 3043057, 3042604, 3043023, 3043249, 3043250, 3043251, 3042605, 3043252, 3042856, 3043086, 3043253, 3042606, 3043227, 3043254, 3042607, 3042608, 3042927, 3043073, 3043070, 3042609, 3042610, 3043084, 3042910, 3042611, 3042612, 3042867, 3043114, 3042613, 3042614, 3042615, 3042616, 3043049, 3042617, 3043228, 3042618, 3042619, 3042945, 3042952, 3042620, 3042621, 3042622, 3043028, 3042623, 3042624, 3042625, 3042626, 3042944, 3042627, 3042991, 3042918, 3042990, 3042953, 3043067, 3043005, 3043143, 3042859, 3042628, 3042629, 3042932, 3042630, 3043258, 3043236, 3043107, 3042631, 3042893, 3042632, 3043183, 3043146, 3043195, 3042898, 3043229, 3043234, 3043162, 3043161, 3042633, 3042634, 3042635, 3043083, 3042636, 3042938, 3043184, 3042637, 3042877, 3043000, 3043001, 3042638, 3043263, 3042896, 3042897, 3042639, 3042887, 3042640, 3042939, 3042900, 3042641, 3042977, 3043065, 3042642, 3043216, 3043050, 3042643, 3043080, 3042901, 3043219, 3042937, 3042861, 3042644, 3043018, 3043029, 3042645, 3043116, 3042646, 3043156, 3042647, 3043182, 3043055, 3042883, 3043198, 3043135, 3042648, 3043224, 3043021, 3043039, 3043259, 3042649, 3042982, 3042650, 3043119, 3042651, 3042892, 3043221, 3042874, 3042652, 3042653, 3043169, 3042654, 3043226, 3042655, 3042656, 3042955, 3043060, 3042994, 3043154, 3043059, 3042657, 3043139, 3042658, 3043038, 3042659, 3043145, 3042660, 3042917, 3042661, 3042662, 3043024, 3042974, 3043220, 3042663, 3042664, 3043090, 3042665, 3043208, 3042666, 3043047, 3042881, 3043196, 3043071, 3043094, 3042667, 3042668, 3042956, 3042964, 3042925, 3042873, 3042999, 3042857, 3042669, 3042670, 3042908, 3042907, 3043240, 3043016, 3042671, 3042672, 3042914, 3043122, 3043181, 3042929, 3042673, 3042995, 3043025, 3042674, 3042923, 3042922, 3042675, 3042891, 3042676, 3043130, 3042677, 3042678, 3042679, 3042680, 3042913, 3042878, 3042681, 3043261, 3042682, 3042997, 3043159, 3042683, 3042996, 3042684, 3042685, 3042686, 3042687, 3042688, 3042928, 3043213, 3043204, 3042872, 3043087, 3042689, 3042690, 3042950, 3043179, 3043241, 3042998, 3042890, 3042980, 3042961, 3042906, 3042905, 3042691, 3042692, 3042693, 3042694, 3043089, 3042911, 3042695, 3042919, 3042921, 3043123, 3042696, 3043237, 3043164, 3043121, 3042697, 3042698, 3042699, 3042700, 3042871, 3043076, 3042701, 3043113, 3042936, 3043099, 3042702, 3042703, 3043091, 3042704, 3043009, 3043061, 3042895, 3042705, 3043170, 3043030, 3043230, 3043120, 3043172, 3043072, 3042706, 3042707, 3043109, 3043160, 3042924, 3043045, 3042984, 3043158, 3042979, 3043019, 3043056, 3042885, 3043140, 3042708, 3042709, 3042710, 3043100, 3043053, 3043110, 3042868, 3043178, 3042711, 3043035, 3042712, 3043062, 3042713, 3043078, 3042882, 3043260, 3042970, 3042981, 3042714, 3042978, 3042715, 3042716, 3042717, 3042718, 3042719, 3042720, 3042721, 3042722, 3042723, 3042724, 3042985, 3042725, 3042726, 3043082, 3043027, 3042973, 3042727, 3042962, 3042858, 3042728, 3042729, 3043081, 3042730, 3043014, 3042731, 3042732, 3043199, 3043153, 3043223, 3043034, 3043177, 3043187, 3043105, 3043222, 3043233, 3043137, 3042733, 3043151, 3042734, 3042960, 3042735, 3042736, 3042737, 3042738, 3043166, 3042975, 3043197, 3042739, 3042740, 3042741, 3043134, 3043042, 3043022, 3043126, 3043097, 3042742, 3042743, 3042744, 3042745, 3042884, 3043180, 3043238, 3043058, 3043157, 3043262, 3043175, 3043176, 3043052, 3042746, 3042915, 3042747, 3042748, 3043066, 3042749, 3043074, 3042750, 3042751, 3042752, 3042903, 3042753, 3042754, 3042755, 3042869, 3043185, 3042756, 3042904, 3042757, 3043003, 3042967, 3042758, 3043209, 3043206, 3042983, 3042759, 3042988, 3043211, 3042760, 3042761, 3043203, 3043190, 3043125, 3042762, 3042902, 3042763, 3043118, 3043046, 3042764, 3043189, 3042765, 3042912, 3042766, 3043077, 3043202, 3042767, 3042863, 3042768, 3042888, 3042769, 3042770, 3042771, 3042993, 3042772, 3042934, 3042773, 3042954, 3042774, 3042976, 3042775, 3043040, 3042776, 3042969, 3042777, 3043165, 3042940, 3043163, 3042778, 3043075, 3043186, 3043191, 3042779, 3042780, 3042781, 3042782, 3043043, 3042783, 3042784, 3042968, 3042785, 3042947, 3043041, 3042987, 3042786, 3042787, 3042972, 3042788, 3042992, 3042789, 3042790, 3042791, 3042792, 3042793, 3043031, 3043128, 3042794, 3043012, 3043064, 3043020, 3043048, 3043095, 3042963, 3043133, 3042795, 3043032, 3042933, 3042796, 3042797, 3042798, 3042799, 3042800, 3043098, 3043225, 3042801, 3042862, 3042802, 3042942, 3042803, 3043168, 3042946, 3042804, 3042805, 3042806, 3043015, 3042807, 3043093, 3042971, 3043144, 3042808, 3042809, 3042810, 3042811, 3042812, 3042813, 3042814, 3042815, 3043214, 3042816, 3042817, 3042865, 3042864, 3043044, 3042875, 3042876, 3042818, 3042819, 3043026, 3043210, 3043138, 3043141, 3043102, 3043085, 3043106, 3043006, 3043132, 3043129, 3043007, 3042879, 3042820, 3042957, 3042880, 3042821, 3042822, 3042823, 3043088, 3043218, 3043194, 3043008, 3043188, 3043148, 3043017, 3043037, 3043232, 3042860, 3042920, 3042965, 3043063, 3043079, 3042824, 3043192, 3042958, 3043092, 3042825, 3042826, 3043013, 3043193, 3043239, 3043004, 3042866, 3043136, 3043033, 3043167, 3043149, 3043212, 3043108, 3043117, 3043115, 3042827, 3042828, 3043174, 3043112, 3042926, 3043242, 3043142, 3042829, 3042830, 3042909, 3043255, 3043235, 3043256, 3042831, 3042832, 3042894, 3042833, 3042899, 3042834, 3043200, 3042835, 3042836, 3042837, 3043152, 3042838, 3042839, 3042840, 3042841, 3042842, 3042966, 3043096, 3043010, 3042843, 3042870, 3043205, 3042844, 3043036, 3043257, 3043155, 3042845, 3042846, 3043207, 3043127, 3043231, 3043215, 3043111, 3043217, 3042886, 3042941, 3043150, 3042847, 3042848, 3042849, 3042935, 3043171, 3042850, 3042943, 3042851, 3042852, 3042853, 3042854, 3042855);[ Date: 2024-05-29 14:43:08 ]
8 2m33s 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 != 1387873 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 != 1387873 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 14:05:23 ]
9 2m33s SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (266297)) ORDER BY "item_list_line"."id";[ Date: 2024-05-29 12:10:56 ]
10 2m31s 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 != 1437676 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 != 1437676 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 14:51:20 ]
11 1m56s COPY public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) TO stdout;[ Date: 2024-05-29 09:05:56 ]
12 1m54s 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: 2024-05-29 00:31:46 ]
13 1m54s 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: 2024-05-29 09:03:47 ]
14 1m48s SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (266322)) ORDER BY "item_list_line"."id";[ Date: 2024-05-29 16:22:35 ]
15 1m45s COPY public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) TO stdout;[ Date: 2024-05-29 00:33:44 ]
16 1m42s 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 != 1436851 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 != 1436851 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 13:54:58 ]
17 1m23s 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 != 1437067 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 != 1437067 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 14:00:27 ]
18 1m20s SELECT "mail_tracking_value".id FROM "mail_tracking_value" WHERE TRUE ORDER BY "mail_tracking_value"."tracking_sequence" ASC LIMIT 80;[ Date: 2024-05-29 19:01:35 ]
19 1m16s 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 != 1437266 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 != 1437266 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-29 14:20:09 ]
20 1m12s UPDATE "credit_order_data" SET "amount_total" = '1215.15', "state" = 'sale', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (154418);[ Date: 2024-05-29 12:16:33 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h1m15s 18,469 122ms 2s875ms 199ms select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 29 00 340 46s758ms 137ms 01 340 45s950ms 135ms 02 388 53s291ms 137ms 03 358 48s703ms 136ms 04 343 46s448ms 135ms 05 307 41s469ms 135ms 06 285 38s259ms 134ms 07 333 45s72ms 135ms 08 310 41s925ms 135ms 09 339 46s673ms 137ms 10 373 52s278ms 140ms 11 1,858 5m18s 171ms 12 5,268 20m11s 230ms 13 4,989 19m6s 229ms 14 2,638 8m12s 186ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-29 14:25:05') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1213"', '["pointspring_master","calendar.alarm",50343]', '["pointspring_master","mail.channel",459]', '["pointspring_master","mail.channel",533]', '["pointspring_master","mail.channel",534]', '["pointspring_master","mail.channel",603]', '["pointspring_master","mail.channel",604]', '["pointspring_master","res.partner",50343]', '["pointspring_master","ir.needaction",50343]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-29 14:25:58 Duration: 2s875ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-29 14:25:05') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1022"', '["pointspring_master","calendar.alarm",19560]', '["pointspring_master","mail.channel",105]', '["pointspring_master","mail.channel",106]', '["pointspring_master","mail.channel",107]', '["pointspring_master","mail.channel",108]', '["pointspring_master","mail.channel",109]', '["pointspring_master","mail.channel",110]', '["pointspring_master","mail.channel",341]', '["pointspring_master","mail.channel",437]', '["pointspring_master","mail.channel",440]', '["pointspring_master","mail.channel",525]', '["pointspring_master","mail.channel",600]', '["pointspring_master","res.partner",19560]', '["pointspring_master","ir.needaction",19560]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-29 14:25:58 Duration: 2s841ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-29 12:40:54') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_990"', '["pointspring_master","calendar.alarm",19528]', '["pointspring_master","mail.channel",74]', '["pointspring_master","mail.channel",75]', '["pointspring_master","mail.channel",76]', '["pointspring_master","mail.channel",77]', '["pointspring_master","mail.channel",339]', '["pointspring_master","mail.channel",473]', '["pointspring_master","res.partner",19528]', '["pointspring_master","ir.needaction",19528]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-29 12:41:47 Duration: 2s765ms
2 53m53s 4,079 629ms 3s643ms 792ms 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 #2
Day Hour Count Duration Avg duration May 29 00 15 10s19ms 667ms 11 249 3m19s 800ms 12 706 10m55s 928ms 13 398 5m58s 900ms 14 483 6m18s 782ms 15 555 7m21s 795ms 16 253 3m6s 738ms 17 566 6m43s 712ms 18 405 4m53s 725ms 19 147 1m42s 696ms 20 134 1m31s 686ms 21 112 1m14s 666ms 22 56 37s425ms 668ms -
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 ('%%89996b%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%89996b%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%89996b%'))) 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: 2024-05-29 12:20:05 Duration: 3s643ms
-
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 ('%%89996%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%89996%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%89996%'))) 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: 2024-05-29 12:20:04 Duration: 3s306ms
-
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 ('%%EX47%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%EX47%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%EX47%'))) 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: 2024-05-29 11:51:22 Duration: 2s926ms
3 44m2s 2,973 315ms 3s318ms 888ms select id from product_warehouse_inventory where coalesce(loc_check_qty, ?) < coalesce(max_product_uom_qty, ?);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 29 11 639 9m16s 871ms 12 2,215 33m55s 918ms 13 119 50s106ms 421ms -
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2024-05-29 12:41:47 Duration: 3s318ms
-
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2024-05-29 12:41:47 Duration: 3s301ms
-
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2024-05-29 12:41:47 Duration: 3s119ms
4 42m24s 12,785 155ms 26s81ms 198ms update product_warehouse_inventory set qty_shipped_not_invoiced = case when ?.? is not null then greatest ((?.? - ?.?) + (?.? - ?.?), ?) else greatest ((?.? - ?.?), ?) end where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 29 00 9 1s486ms 165ms 09 30 5s38ms 167ms 10 7 2s237ms 319ms 11 684 3m26s 301ms 12 1,287 4m48s 223ms 13 1,174 4m23s 224ms 14 2,174 6m37s 182ms 15 1,232 3m38s 177ms 16 788 2m16s 173ms 17 1,380 3m52s 168ms 18 807 4m17s 318ms 19 1,609 4m30s 167ms 20 1,522 4m11s 165ms 21 54 8s850ms 163ms 22 28 4s598ms 164ms -
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((4.0 - 4.0) + (0.0 - 0.0), 0) ELSE GREATEST ((4.0 - 4.0), 0) END where product_id = 185946 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 18:12:23 Duration: 26s81ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (0.0 - 0.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 237202 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 11:42:15 Duration: 24s970ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((4.0 - 4.0) + (0.0 - 0.0), 0) ELSE GREATEST ((4.0 - 4.0), 0) END where product_id = 185946 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 18:10:15 Duration: 21s720ms
5 36m45s 12,019 153ms 5s339ms 183ms update product_warehouse_inventory set loc_check_qty = coalesce(?.?, ?) + coalesce(?.?, ?) - coalesce(?.?, ?) where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 29 00 12 2s41ms 170ms 02 246 40s82ms 162ms 03 20 3s273ms 163ms 09 20 3s359ms 167ms 10 8 1s347ms 168ms 11 503 1m51s 221ms 12 1,530 5m20s 209ms 13 1,159 4m 207ms 14 1,176 3m42s 188ms 15 1,307 3m55s 180ms 16 897 2m35s 172ms 17 1,202 3m26s 171ms 18 1,613 4m35s 170ms 19 1,180 3m19s 169ms 20 900 2m29s 166ms 21 204 33s585ms 164ms 22 42 6s886ms 163ms -
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(9.0, 0) + COALESCE(0.0, 0) - COALESCE(2.0, 0) WHERE product_id = 171891 AND warehouse_id = 45 AND company_id = 1;
Date: 2024-05-29 11:05:48 Duration: 5s339ms
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(7.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 171891 AND warehouse_id = 45 AND company_id = 1;
Date: 2024-05-29 11:08:25 Duration: 5s56ms
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(2.0, 0) + COALESCE(2.0, 0) - COALESCE(1.0, 0) WHERE product_id = 205585 AND warehouse_id = 36 AND company_id = 1;
Date: 2024-05-29 12:37:38 Duration: 4s153ms
6 35m57s 49 247ms 6m40s 44s25ms 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;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 29 11 3 2m24s 48s116ms 12 9 3m23s 22s573ms 13 19 6m13s 19s659ms 14 8 8m11s 1m1s 15 6 15m37s 2m36s 16 3 5s770ms 1s923ms 19 1 1s509ms 1s509ms -
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 != 1438032 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 != 1438032 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-05-29 15:54:09 Duration: 6m40s
-
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 != 1403432 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 != 1403432 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-05-29 15:54:11 Duration: 6m32s
-
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 != 1387873 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 != 1387873 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-05-29 14:05:23 Duration: 2m33s
7 32m22s 11,812 121ms 3s185ms 164ms select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."customer_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 29 09 84 10s640ms 126ms 10 350 54s697ms 156ms 11 1,443 3m23s 140ms 12 1,577 5m4s 193ms 13 2,794 8m54s 191ms 14 1,432 3m53s 162ms 15 2,532 6m18s 149ms 16 538 1m21s 150ms 17 208 28s481ms 136ms 18 196 26s582ms 135ms 19 370 49s281ms 133ms 20 240 31s517ms 131ms 21 40 5s137ms 128ms 22 8 1s 125ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (33496)) ORDER BY "sale_history_line"."id";
Date: 2024-05-29 14:25:58 Duration: 3s185ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (53504)) ORDER BY "sale_history_line"."id";
Date: 2024-05-29 12:41:45 Duration: 2s346ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (33720)) ORDER BY "sale_history_line"."id";
Date: 2024-05-29 12:04:20 Duration: 1s245ms
8 29m22s 262 5s345ms 21s67ms 6s727ms delete from sale_order_line where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 29 10 2 16s371ms 8s185ms 11 148 17m5s 6s929ms 12 21 2m19s 6s657ms 13 10 1m9s 6s990ms 14 9 1m8s 7s579ms 15 7 47s714ms 6s816ms 17 9 1m 6s695ms 18 53 5m17s 5s986ms 19 1 6s609ms 6s609ms 20 1 5s416ms 5s416ms 21 1 5s345ms 5s345ms -
DELETE FROM sale_order_line WHERE id IN (412924);
Date: 2024-05-29 11:39:20 Duration: 21s67ms
-
DELETE FROM sale_order_line WHERE id IN (413819);
Date: 2024-05-29 11:42:21 Duration: 17s859ms
-
DELETE FROM sale_order_line WHERE id IN (412922);
Date: 2024-05-29 11:39:25 Duration: 14s500ms
9 29m6s 763 120ms 1m1s 2s288ms update queue_job set state = ?, date_enqueued = ?, date_started = ? where uuid = ? and state = ? returning uuid;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 29 11 5 2s194ms 438ms 12 65 1m32s 1s425ms 13 93 2m40s 1s728ms 14 57 1m19s 1s401ms 15 45 1m 1s354ms 16 498 22m29s 2s710ms -
UPDATE queue_job SET state = 'pending', date_enqueued = NULL, date_started = NULL WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290' and state = 'enqueued' RETURNING uuid;
Date: 2024-05-29 16:36:35 Duration: 1m1s
-
UPDATE queue_job SET state = 'pending', date_enqueued = NULL, date_started = NULL WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290' and state = 'enqueued' RETURNING uuid;
Date: 2024-05-29 16:36:35 Duration: 1m1s
-
UPDATE queue_job SET state = 'pending', date_enqueued = NULL, date_started = NULL WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290' and state = 'enqueued' RETURNING uuid;
Date: 2024-05-29 16:36:35 Duration: 1m1s
10 18m12s 2,316 391ms 4s124ms 471ms 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 #10
Day Hour Count Duration Avg duration May 29 00 3 1s321ms 440ms 01 1 412ms 412ms 02 3 1s237ms 412ms 03 3 1s216ms 405ms 10 6 2s439ms 406ms 11 143 1m9s 485ms 12 242 2m13s 550ms 13 195 1m49s 560ms 14 262 2m1s 465ms 15 301 2m28s 493ms 16 370 2m46s 450ms 17 221 1m34s 427ms 18 306 2m13s 436ms 19 135 57s142ms 423ms 20 96 39s457ms 411ms 21 20 8s165ms 408ms 22 9 3s650ms 405ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.report_assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5826980/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-29 12:41:47 Duration: 4s124ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-9ded8a0/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-29 11:52:31 Duration: 2s280ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-29 11:51:22 Duration: 2s139ms
11 16m33s 6,216 120ms 1s248ms 159ms select "account_move".id from "account_move" where ("account_move"."partner_id" in (...)) order by "account_move"."invoice_date_due";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 29 09 2 241ms 120ms 10 526 1m13s 140ms 11 1,742 4m28s 154ms 12 2,327 6m11s 159ms 13 950 3m1s 191ms 14 263 39s116ms 148ms 15 302 44s197ms 146ms 16 69 9s937ms 144ms 17 28 3s827ms 136ms 18 3 398ms 132ms 19 2 260ms 130ms 20 2 286ms 143ms -
SELECT "account_move".id FROM "account_move" WHERE ("account_move"."partner_id" in (48182)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-05-29 11:52:31 Duration: 1s248ms
-
SELECT "account_move".id FROM "account_move" WHERE ("account_move"."partner_id" in (43922)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-05-29 11:58:53 Duration: 1s158ms
-
SELECT "account_move".id FROM "account_move" WHERE ("account_move"."partner_id" in (43920)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-05-29 11:58:53 Duration: 1s86ms
12 14m13s 5,760 132ms 1s244ms 148ms select current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages as real_size, (tblpages - est_tblpages_ff) * bs as bloat_size, case when tblpages - est_tblpages_ff > ? then ? * (tblpages - est_tblpages_ff) / tblpages::float else ? end as bloat_ratio from ( select ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / ?) as est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * ?))) + ceil(toasttuples / ?) as est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na from ( select (? + tpl_hdr_size + tpl_data_size + (? * ma) - case when tpl_hdr_size % ma = ? then ma else tpl_hdr_size % ma end - case when ceil(tpl_data_size)::int % ma = ? then ma else ceil(tpl_data_size)::int % ma end) as tpl_size, bs - page_hdr as size_per_block, (heappages + toastpages) as tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na from ( select tbl.oid as tblid, ns.nspname as schemaname, tbl.relname as tblname, tbl.reltuples, tbl.relpages as heappages, coalesce(toast.relpages, ?) as toastpages, coalesce(toast.reltuples, ?) as toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ?) from ?)::smallint, ?) as fillfactor, current_setting(?)::numeric as bs, case when version() ~ ? or version() ~ ? then ? else ? end as ma, ? as page_hdr, case when current_setting(?)::integer < ? then ? else ? end + case when max(coalesce(null_frac, ?)) > ? then (? + count(*)) / ? else ?::int end + ? as tpl_hdr_size, sum((? - coalesce(s.null_frac, ?)) * coalesce(s.avg_width, ?)) as tpl_data_size, bool_or(att.atttypid = ?::regtype) or count(att.attname) <> count(s.attname) as is_na from pg_attribute as att join pg_class as tbl on att.attrelid = tbl.oid join pg_namespace as ns on ns.oid = tbl.relnamespace left join pg_stats as s on s.schemaname = ns.nspname and s.tablename = tbl.relname and s.attname = att.attname left join pg_class as toast on tbl.reltoastrelid = toast.oid where att.attnum > ? and not att.attisdropped and tbl.relkind = ? group by ?, ?, ?, ?, ?, ?, ?, ?, ?, ? order by ?, ?) as s) as s2) as s3 where not is_na and schemaname || ? || tblname in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 29 00 240 33s446ms 139ms 01 240 33s145ms 138ms 02 240 33s472ms 139ms 03 240 33s464ms 139ms 04 240 33s208ms 138ms 05 240 33s43ms 137ms 06 240 33s197ms 138ms 07 240 33s278ms 138ms 08 240 33s181ms 138ms 09 240 33s435ms 139ms 10 240 34s27ms 141ms 11 240 38s41ms 158ms 12 240 46s530ms 193ms 13 240 44s891ms 187ms 14 240 39s807ms 165ms 15 240 39s371ms 164ms 16 240 36s7ms 150ms 17 240 35s343ms 147ms 18 240 37s119ms 154ms 19 240 35s578ms 148ms 20 240 34s202ms 142ms 21 240 33s395ms 139ms 22 240 33s162ms 138ms 23 240 33s160ms 138ms -
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END + 0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_publication', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_trigger', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_range', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_inherits', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_policies', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_proc', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_attribute', 'pg_catalog.pg_tables', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_amop', 'pg_catalog.pg_language', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_roles', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_extension', 'pg_catalog.pg_constraint', 'pg_catalog.pg_enum', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_description', 'pg_catalog.pg_namespace', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_policy', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_depend', 'pg_catalog.pg_amproc', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_class', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_subscription', 'pg_catalog.pg_index', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_database', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_user', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_type', 'pg_catalog.pg_views', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_collation', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_cast', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_opclass', 'pg_catalog.pg_sequence', 'pg_catalog.pg_cursors', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_indexes', 'pg_catalog.pg_conversion', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_group', 'pg_catalog.pg_operator', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_matviews', 'pg_catalog.pg_locks', 'pg_catalog.pg_am', 'pg_catalog.pg_stats', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_settings', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_rules', 'pg_catalog.pg_transform', 'information_schema.collation_character_set_applicability', 'information_schema.parameters', 'information_schema.role_usage_grants', 'information_schema.attributes', 'information_schema.foreign_data_wrappers', 'information_schema.schemata', 'information_schema.routine_routine_usage', 'information_schema.sql_features', 'information_schema.user_mappings', 'information_schema.administrable_role_authorizations', 'information_schema.constraint_column_usage', 'information_schema.user_defined_types', 'information_schema.column_options', 'information_schema.character_sets', 'information_schema.constraint_table_usage', 'information_schema.routine_table_usage', 'information_schema.usage_privileges', 'information_schema.element_types', 'information_schema.foreign_data_wrapper_options', 'information_schema.column_privileges', 'information_schema.view_table_usage', 'information_schema.foreign_servers', 'information_schema.collations', 'information_schema.column_domain_usage', 'information_schema.routine_privileges', 'information_schema.foreign_server_options', 'information_schema.columns', 'information_schema.sequences', 'information_schema.views', 'information_schema.triggers', 'information_schema.key_column_usage', 'information_schema.sql_sizing', 'information_schema.table_constraints', 'information_schema.table_privileges', 'information_schema.check_constraints', 'information_schema.column_column_usage', 'information_schema.column_udt_usage', 'information_schema.routine_column_usage', 'information_schema.view_routine_usage', 'information_schema.routines', 'information_schema.domain_constraints', 'information_schema.user_mapping_options', 'information_schema.domain_udt_usage', 'information_schema.domains', 'information_schema.routine_sequence_usage', 'information_schema.triggered_update_columns', 'information_schema.applicable_roles', 'information_schema.referential_constraints', 'information_schema.udt_privileges', 'information_schema.data_type_privileges', 'information_schema.check_constraint_routine_usage', 'information_schema.role_column_grants', 'information_schema.role_udt_grants', 'information_schema.view_column_usage', 'information_schema.foreign_tables', 'information_schema.information_schema_catalog_name', 'information_schema.role_routine_grants', 'information_schema.role_table_grants', 'information_schema.tables', 'information_schema.enabled_roles', 'information_schema.sql_implementation_info', 'information_schema.foreign_table_options', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-05-29 12:50:29 Duration: 1s244ms
-
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END + 0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('pg_catalog.pg_ts_config_map', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_publication', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_settings', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_views', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_cursors', 'pg_catalog.pg_constraint', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_policies', 'pg_catalog.pg_indexes', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_index', 'pg_catalog.pg_trigger', 'pg_catalog.pg_stats', 'pg_catalog.pg_group', 'pg_catalog.pg_am', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_tables', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_language', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_roles', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_amop', 'pg_catalog.pg_sequence', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_inherits', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_matviews', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_proc', 'pg_catalog.pg_operator', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_enum', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_user', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_extension', 'pg_catalog.pg_collation', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_depend', 'pg_catalog.pg_policy', 'pg_catalog.pg_rules', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_subscription', 'pg_catalog.pg_opclass', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_attribute', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_amproc', 'pg_catalog.pg_conversion', 'pg_catalog.pg_database', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_namespace', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_type', 'pg_catalog.pg_class', 'pg_catalog.pg_description', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_transform', 'pg_catalog.pg_locks', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_cast', 'pg_catalog.pg_range', 'information_schema.routine_sequence_usage', 'information_schema.table_constraints', 'information_schema.column_options', 'information_schema.role_column_grants', 'information_schema.schemata', 'information_schema.sql_sizing', 'information_schema.views', 'information_schema.triggers', 'information_schema.usage_privileges', 'information_schema.user_mapping_options', 'information_schema.sequences', 'information_schema.udt_privileges', 'information_schema.element_types', 'information_schema.view_column_usage', 'information_schema.domain_constraints', 'information_schema.routine_routine_usage', 'information_schema.routines', 'information_schema.constraint_column_usage', 'information_schema.view_table_usage', 'information_schema.tables', 'information_schema.foreign_table_options', 'information_schema.foreign_servers', 'information_schema.applicable_roles', 'information_schema.sql_features', 'information_schema.table_privileges', 'information_schema.triggered_update_columns', 'information_schema.foreign_server_options', 'information_schema.attributes', 'information_schema.check_constraints', 'information_schema.routine_column_usage', 'information_schema.user_defined_types', 'information_schema.view_routine_usage', 'information_schema.column_column_usage', 'information_schema.column_udt_usage', 'information_schema.routine_privileges', 'information_schema.domains', 'information_schema.foreign_data_wrappers', 'information_schema.foreign_data_wrapper_options', 'information_schema.information_schema_catalog_name', 'information_schema.administrable_role_authorizations', 'information_schema.character_sets', 'information_schema.column_privileges', 'information_schema.collation_character_set_applicability', 'information_schema.columns', 'information_schema.enabled_roles', 'information_schema.routine_table_usage', 'information_schema.foreign_tables', 'information_schema.role_routine_grants', 'information_schema.parameters', 'information_schema.data_type_privileges', 'information_schema.collations', 'information_schema.key_column_usage', 'information_schema.referential_constraints', 'information_schema.sql_implementation_info', 'information_schema.column_domain_usage', 'information_schema.role_table_grants', 'information_schema.role_udt_grants', 'information_schema.role_usage_grants', 'information_schema.check_constraint_routine_usage', 'information_schema.constraint_table_usage', 'information_schema.domain_udt_usage', 'information_schema.user_mappings', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-05-29 12:21:43 Duration: 944ms
-
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END + 0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('public.pg_stat_statements_info', 'public.pg_stat_statements', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_policies', 'pg_catalog.pg_inherits', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_database', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_depend', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_user', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_publication', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_sequence', 'pg_catalog.pg_amop', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_matviews', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_trigger', 'pg_catalog.pg_enum', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_collation', 'pg_catalog.pg_constraint', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_subscription', 'pg_catalog.pg_attribute', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_proc', 'pg_catalog.pg_description', 'pg_catalog.pg_cast', 'pg_catalog.pg_stats', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_namespace', 'pg_catalog.pg_tables', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_extension', 'pg_catalog.pg_range', 'pg_catalog.pg_views', 'pg_catalog.pg_locks', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_am', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_roles', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_class', 'pg_catalog.pg_index', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_amproc', 'pg_catalog.pg_language', 'pg_catalog.pg_cursors', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_policy', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_group', 'pg_catalog.pg_type', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_settings', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_transform', 'pg_catalog.pg_rules', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_operator', 'pg_catalog.pg_opclass', 'pg_catalog.pg_conversion', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_stat_all_indexes', 'information_schema.tables', 'information_schema.foreign_servers', 'information_schema.attributes', 'information_schema.domain_udt_usage', 'information_schema.routine_privileges', 'information_schema.role_table_grants', 'information_schema.routine_column_usage', 'information_schema.domain_constraints', 'information_schema.routine_sequence_usage', 'information_schema.usage_privileges', 'information_schema.foreign_table_options', 'information_schema.foreign_server_options', 'information_schema.role_routine_grants', 'information_schema.referential_constraints', 'information_schema.triggered_update_columns', 'information_schema.collation_character_set_applicability', 'information_schema.sql_implementation_info', 'information_schema.routine_routine_usage', 'information_schema.sequences', 'information_schema.view_table_usage', 'information_schema.role_udt_grants', 'information_schema.view_column_usage', 'information_schema.information_schema_catalog_name', 'information_schema.check_constraints', 'information_schema.column_udt_usage', 'information_schema.columns', 'information_schema.enabled_roles', 'information_schema.schemata', 'information_schema.applicable_roles', 'information_schema.collations', 'information_schema.triggers', 'information_schema.views', 'information_schema.sql_sizing', 'information_schema.check_constraint_routine_usage', 'information_schema.routines', 'information_schema.constraint_column_usage', 'information_schema.foreign_tables', 'information_schema.character_sets', 'information_schema.column_privileges', 'information_schema.user_defined_types', 'information_schema.constraint_table_usage', 'information_schema.key_column_usage', 'information_schema.udt_privileges', 'information_schema.data_type_privileges', 'information_schema.role_column_grants', 'information_schema.domains', 'information_schema.user_mappings', 'information_schema.role_usage_grants', 'information_schema.column_options', 'information_schema.sql_features', 'information_schema.table_constraints', 'information_schema.element_types', 'information_schema.foreign_data_wrapper_options', 'information_schema.administrable_role_authorizations', 'information_schema.parameters', 'information_schema.routine_table_usage', 'information_schema.column_column_usage', 'information_schema.table_privileges', 'information_schema.foreign_data_wrappers', 'information_schema.column_domain_usage', 'information_schema.view_routine_usage', 'information_schema.user_mapping_options');
Date: 2024-05-29 12:58:43 Duration: 481ms
13 13m51s 1,020 639ms 4s841ms 815ms 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 #13
Day Hour Count Duration Avg duration May 29 10 3 1s976ms 658ms 11 75 1m6s 890ms 12 125 2m29s 1s192ms 13 71 1m8s 963ms 14 77 1m2s 812ms 15 125 1m38s 790ms 16 79 59s467ms 752ms 17 85 59s363ms 698ms 18 64 44s781ms 699ms 19 226 2m38s 702ms 20 90 1m1s 681ms -
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 ('%%K64%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%K64%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%K64%'))) 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: 2024-05-29 12:41:47 Duration: 4s841ms
-
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 ('%%K6428%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%K6428%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%K6428%'))) 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: 2024-05-29 12:41:47 Duration: 4s834ms
-
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 ('%%K642%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%K642%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%K642%'))) 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: 2024-05-29 12:41:46 Duration: 4s494ms
14 13m45s 170 1s765ms 39s483ms 4s857ms delete from account_move_line where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 29 00 56 4m3s 4s350ms 11 7 16s123ms 2s303ms 12 4 16s621ms 4s155ms 13 2 13s540ms 6s770ms 14 2 15s369ms 7s684ms 15 1 7s452ms 7s452ms 16 3 9s197ms 3s65ms 17 6 29s356ms 4s892ms 18 4 9s158ms 2s289ms 19 1 32s966ms 32s966ms 20 1 3s567ms 3s567ms 23 83 7m8s 5s165ms -
DELETE FROM account_move_line WHERE id IN (4916650, 4916651, 4916652, 4916653, 4916654, 4916655, 4916656, 4916657, 4916658, 4916659, 4916660, 4916661, 4916662, 4916663, 4916664, 4916665, 4916666, 4916667, 4916668, 4916669, 5017427, 5017428);
Date: 2024-05-29 23:13:52 Duration: 39s483ms
-
DELETE FROM account_move_line WHERE id IN (5012294, 5012295, 5012296, 5012297, 5012298, 5012299, 5012300, 5012301, 5012302, 5012303, 5012304, 5012305, 5012306, 5012307, 5012308, 5012309, 5012310, 5012312, 5012340, 5012341);
Date: 2024-05-29 00:09:54 Duration: 35s835ms
-
DELETE FROM account_move_line WHERE id IN (5020276, 5020277, 5019727, 5019728, 5019729, 5019730, 5019731, 5019732, 5019733, 5019734, 5019735, 5019736, 5019737, 5019738, 5019739, 5019740, 5019741, 5019742, 5019743, 5019744);
Date: 2024-05-29 23:32:18 Duration: 35s743ms
15 13m31s 4,339 162ms 608ms 186ms select coalesce(sum(pwi.max_product_uom_qty), ?) as tmq from forecasted_data fd inner join item_supply_plan as isp on isp.id = fd.item_supply_plan_id inner join product_warehouse_inventory pwi on fd.product_id = pwi.product_id and isp.branch_id = pwi.replenish_branch_id where isp.id = ? and fd.product_id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 29 02 302 51s290ms 169ms 03 23 3s972ms 172ms 13 252 57s482ms 228ms 14 65 13s355ms 205ms 15 537 1m49s 204ms 16 659 2m1s 184ms 17 459 1m23s 182ms 18 880 2m45s 187ms 19 744 2m11s 177ms 20 304 52s833ms 173ms 21 114 19s637ms 172ms -
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 43127 and fd.product_id = 206620;
Date: 2024-05-29 15:50:40 Duration: 608ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 42823 and fd.product_id = 217988;
Date: 2024-05-29 13:04:31 Duration: 560ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 42823 and fd.product_id = 220167;
Date: 2024-05-29 13:04:25 Duration: 530ms
16 13m29s 847 796ms 2s286ms 956ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 29 02 3 2s494ms 831ms 03 1 829ms 829ms 10 1 839ms 839ms 11 53 51s611ms 973ms 12 96 1m48s 1s127ms 13 67 1m16s 1s140ms 14 99 1m36s 969ms 15 108 1m46s 981ms 16 88 1m19s 900ms 17 91 1m19s 869ms 18 107 1m35s 895ms 19 105 1m29s 857ms 20 26 21s663ms 833ms 21 1 846ms 846ms 22 1 837ms 837ms -
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 ('%432-471-101-0%')) 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 ('%432-471-101-0%'))) 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 ('%432-471-101-0%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%432-471-101-0%')))))) 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: 2024-05-29 13:57:23 Duration: 2s286ms
-
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 ('%lhf4955%')) 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 ('%lhf4955%'))) 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 ('%lhf4955%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%lhf4955%')))))) 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: 2024-05-29 11:27:27 Duration: 2s64ms
-
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 ('%eld-5c%')) 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 ('%eld-5c%'))) 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 ('%eld-5c%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%eld-5c%')))))) 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: 2024-05-29 12:40:23 Duration: 2s62ms
17 13m6s 4,620 120ms 1s206ms 170ms select "sale_order_line".id from "sale_order_line" where ("sale_order_line"."order_partner_id" in (...)) order by "sale_order_line"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 29 10 8 1s230ms 153ms 11 334 55s314ms 165ms 12 1,397 3m56s 169ms 13 2,250 6m29s 173ms 14 331 54s224ms 163ms 15 267 44s20ms 164ms 16 29 4s844ms 167ms 17 3 575ms 191ms 19 1 219ms 219ms -
SELECT "sale_order_line".id FROM "sale_order_line" WHERE ("sale_order_line"."order_partner_id" in (53504)) ORDER BY "sale_order_line"."id";
Date: 2024-05-29 12:41:46 Duration: 1s206ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE ("sale_order_line"."order_partner_id" in (42985)) ORDER BY "sale_order_line"."id";
Date: 2024-05-29 11:58:52 Duration: 731ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE ("sale_order_line"."order_partner_id" in (43947)) ORDER BY "sale_order_line"."id";
Date: 2024-05-29 12:04:20 Duration: 658ms
18 12m10s 4,599 120ms 1s79ms 158ms 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 May 29 00 2 245ms 122ms 02 3 370ms 123ms 09 2 252ms 126ms 10 4 574ms 143ms 11 215 33s415ms 155ms 12 1,452 4m10s 172ms 13 1,198 3m17s 164ms 14 658 1m40s 152ms 15 433 1m1s 142ms 16 172 24s551ms 142ms 17 100 13s125ms 131ms 18 236 31s878ms 135ms 19 111 14s136ms 127ms 20 13 1s594ms 122ms -
select id from product_warehouse_inventory where product_id = 190563 and warehouse_id = 43 and company_id = 1;
Date: 2024-05-29 12:50:29 Duration: 1s79ms
-
select id from product_warehouse_inventory where product_id = 239141 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 12:41:47 Duration: 1s78ms
-
select id from product_warehouse_inventory where product_id = 195357 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 12:41:44 Duration: 1s64ms
19 11m29s 4,701 120ms 729ms 146ms 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 #19
Day Hour Count Duration Avg duration May 29 11 69 9s2ms 130ms 12 962 2m39s 166ms 13 734 1m56s 158ms 14 757 1m48s 143ms 15 895 2m3s 138ms 16 278 38s307ms 137ms 17 142 18s726ms 131ms 18 658 1m28s 134ms 19 157 20s232ms 128ms 20 49 6s233ms 127ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 42) AND ("product_warehouse_inventory"."product_id" = 186063)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-05-29 12:50:29 Duration: 729ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 42) AND ("product_warehouse_inventory"."product_id" = 186700)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-05-29 12:50:30 Duration: 675ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 38) AND ("product_warehouse_inventory"."product_id" = 188802)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-05-29 12:50:26 Duration: 661ms
20 11m21s 4,257 120ms 1s535ms 160ms 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 #20
Day Hour Count Duration Avg duration May 29 00 3 379ms 126ms 02 111 18s119ms 163ms 03 42 6s362ms 151ms 09 3 389ms 129ms 10 15 2s181ms 145ms 11 198 30s622ms 154ms 12 658 1m54s 173ms 13 574 1m34s 164ms 14 530 1m18s 147ms 15 751 1m56s 155ms 16 487 1m28s 181ms 17 285 39s427ms 138ms 18 424 1m8s 161ms 19 115 14s820ms 128ms 20 51 7s353ms 144ms 21 9 1s145ms 127ms 22 1 122ms 122ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (244082, 3)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-05-29 12:41:47 Duration: 1s535ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (206587, 206582)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-05-29 12:41:46 Duration: 1s53ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (222110, 238919, 237210, 204983, 208092, 208409, 207966)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-05-29 12:41:44 Duration: 724ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 18,469 1h1m15s 122ms 2s875ms 199ms select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 29 00 340 46s758ms 137ms 01 340 45s950ms 135ms 02 388 53s291ms 137ms 03 358 48s703ms 136ms 04 343 46s448ms 135ms 05 307 41s469ms 135ms 06 285 38s259ms 134ms 07 333 45s72ms 135ms 08 310 41s925ms 135ms 09 339 46s673ms 137ms 10 373 52s278ms 140ms 11 1,858 5m18s 171ms 12 5,268 20m11s 230ms 13 4,989 19m6s 229ms 14 2,638 8m12s 186ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-29 14:25:05') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1213"', '["pointspring_master","calendar.alarm",50343]', '["pointspring_master","mail.channel",459]', '["pointspring_master","mail.channel",533]', '["pointspring_master","mail.channel",534]', '["pointspring_master","mail.channel",603]', '["pointspring_master","mail.channel",604]', '["pointspring_master","res.partner",50343]', '["pointspring_master","ir.needaction",50343]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-29 14:25:58 Duration: 2s875ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-29 14:25:05') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1022"', '["pointspring_master","calendar.alarm",19560]', '["pointspring_master","mail.channel",105]', '["pointspring_master","mail.channel",106]', '["pointspring_master","mail.channel",107]', '["pointspring_master","mail.channel",108]', '["pointspring_master","mail.channel",109]', '["pointspring_master","mail.channel",110]', '["pointspring_master","mail.channel",341]', '["pointspring_master","mail.channel",437]', '["pointspring_master","mail.channel",440]', '["pointspring_master","mail.channel",525]', '["pointspring_master","mail.channel",600]', '["pointspring_master","res.partner",19560]', '["pointspring_master","ir.needaction",19560]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-29 14:25:58 Duration: 2s841ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-29 12:40:54') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_990"', '["pointspring_master","calendar.alarm",19528]', '["pointspring_master","mail.channel",74]', '["pointspring_master","mail.channel",75]', '["pointspring_master","mail.channel",76]', '["pointspring_master","mail.channel",77]', '["pointspring_master","mail.channel",339]', '["pointspring_master","mail.channel",473]', '["pointspring_master","res.partner",19528]', '["pointspring_master","ir.needaction",19528]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-29 12:41:47 Duration: 2s765ms
2 12,785 42m24s 155ms 26s81ms 198ms update product_warehouse_inventory set qty_shipped_not_invoiced = case when ?.? is not null then greatest ((?.? - ?.?) + (?.? - ?.?), ?) else greatest ((?.? - ?.?), ?) end where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 29 00 9 1s486ms 165ms 09 30 5s38ms 167ms 10 7 2s237ms 319ms 11 684 3m26s 301ms 12 1,287 4m48s 223ms 13 1,174 4m23s 224ms 14 2,174 6m37s 182ms 15 1,232 3m38s 177ms 16 788 2m16s 173ms 17 1,380 3m52s 168ms 18 807 4m17s 318ms 19 1,609 4m30s 167ms 20 1,522 4m11s 165ms 21 54 8s850ms 163ms 22 28 4s598ms 164ms -
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((4.0 - 4.0) + (0.0 - 0.0), 0) ELSE GREATEST ((4.0 - 4.0), 0) END where product_id = 185946 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 18:12:23 Duration: 26s81ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (0.0 - 0.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 237202 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 11:42:15 Duration: 24s970ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((4.0 - 4.0) + (0.0 - 0.0), 0) ELSE GREATEST ((4.0 - 4.0), 0) END where product_id = 185946 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 18:10:15 Duration: 21s720ms
3 12,019 36m45s 153ms 5s339ms 183ms update product_warehouse_inventory set loc_check_qty = coalesce(?.?, ?) + coalesce(?.?, ?) - coalesce(?.?, ?) where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 29 00 12 2s41ms 170ms 02 246 40s82ms 162ms 03 20 3s273ms 163ms 09 20 3s359ms 167ms 10 8 1s347ms 168ms 11 503 1m51s 221ms 12 1,530 5m20s 209ms 13 1,159 4m 207ms 14 1,176 3m42s 188ms 15 1,307 3m55s 180ms 16 897 2m35s 172ms 17 1,202 3m26s 171ms 18 1,613 4m35s 170ms 19 1,180 3m19s 169ms 20 900 2m29s 166ms 21 204 33s585ms 164ms 22 42 6s886ms 163ms -
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(9.0, 0) + COALESCE(0.0, 0) - COALESCE(2.0, 0) WHERE product_id = 171891 AND warehouse_id = 45 AND company_id = 1;
Date: 2024-05-29 11:05:48 Duration: 5s339ms
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(7.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 171891 AND warehouse_id = 45 AND company_id = 1;
Date: 2024-05-29 11:08:25 Duration: 5s56ms
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(2.0, 0) + COALESCE(2.0, 0) - COALESCE(1.0, 0) WHERE product_id = 205585 AND warehouse_id = 36 AND company_id = 1;
Date: 2024-05-29 12:37:38 Duration: 4s153ms
4 11,812 32m22s 121ms 3s185ms 164ms select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."customer_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 29 09 84 10s640ms 126ms 10 350 54s697ms 156ms 11 1,443 3m23s 140ms 12 1,577 5m4s 193ms 13 2,794 8m54s 191ms 14 1,432 3m53s 162ms 15 2,532 6m18s 149ms 16 538 1m21s 150ms 17 208 28s481ms 136ms 18 196 26s582ms 135ms 19 370 49s281ms 133ms 20 240 31s517ms 131ms 21 40 5s137ms 128ms 22 8 1s 125ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (33496)) ORDER BY "sale_history_line"."id";
Date: 2024-05-29 14:25:58 Duration: 3s185ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (53504)) ORDER BY "sale_history_line"."id";
Date: 2024-05-29 12:41:45 Duration: 2s346ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (33720)) ORDER BY "sale_history_line"."id";
Date: 2024-05-29 12:04:20 Duration: 1s245ms
5 6,216 16m33s 120ms 1s248ms 159ms select "account_move".id from "account_move" where ("account_move"."partner_id" in (...)) order by "account_move"."invoice_date_due";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 29 09 2 241ms 120ms 10 526 1m13s 140ms 11 1,742 4m28s 154ms 12 2,327 6m11s 159ms 13 950 3m1s 191ms 14 263 39s116ms 148ms 15 302 44s197ms 146ms 16 69 9s937ms 144ms 17 28 3s827ms 136ms 18 3 398ms 132ms 19 2 260ms 130ms 20 2 286ms 143ms -
SELECT "account_move".id FROM "account_move" WHERE ("account_move"."partner_id" in (48182)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-05-29 11:52:31 Duration: 1s248ms
-
SELECT "account_move".id FROM "account_move" WHERE ("account_move"."partner_id" in (43922)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-05-29 11:58:53 Duration: 1s158ms
-
SELECT "account_move".id FROM "account_move" WHERE ("account_move"."partner_id" in (43920)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-05-29 11:58:53 Duration: 1s86ms
6 5,760 14m13s 132ms 1s244ms 148ms select current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages as real_size, (tblpages - est_tblpages_ff) * bs as bloat_size, case when tblpages - est_tblpages_ff > ? then ? * (tblpages - est_tblpages_ff) / tblpages::float else ? end as bloat_ratio from ( select ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / ?) as est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * ?))) + ceil(toasttuples / ?) as est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na from ( select (? + tpl_hdr_size + tpl_data_size + (? * ma) - case when tpl_hdr_size % ma = ? then ma else tpl_hdr_size % ma end - case when ceil(tpl_data_size)::int % ma = ? then ma else ceil(tpl_data_size)::int % ma end) as tpl_size, bs - page_hdr as size_per_block, (heappages + toastpages) as tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na from ( select tbl.oid as tblid, ns.nspname as schemaname, tbl.relname as tblname, tbl.reltuples, tbl.relpages as heappages, coalesce(toast.relpages, ?) as toastpages, coalesce(toast.reltuples, ?) as toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ?) from ?)::smallint, ?) as fillfactor, current_setting(?)::numeric as bs, case when version() ~ ? or version() ~ ? then ? else ? end as ma, ? as page_hdr, case when current_setting(?)::integer < ? then ? else ? end + case when max(coalesce(null_frac, ?)) > ? then (? + count(*)) / ? else ?::int end + ? as tpl_hdr_size, sum((? - coalesce(s.null_frac, ?)) * coalesce(s.avg_width, ?)) as tpl_data_size, bool_or(att.atttypid = ?::regtype) or count(att.attname) <> count(s.attname) as is_na from pg_attribute as att join pg_class as tbl on att.attrelid = tbl.oid join pg_namespace as ns on ns.oid = tbl.relnamespace left join pg_stats as s on s.schemaname = ns.nspname and s.tablename = tbl.relname and s.attname = att.attname left join pg_class as toast on tbl.reltoastrelid = toast.oid where att.attnum > ? and not att.attisdropped and tbl.relkind = ? group by ?, ?, ?, ?, ?, ?, ?, ?, ?, ? order by ?, ?) as s) as s2) as s3 where not is_na and schemaname || ? || tblname in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 29 00 240 33s446ms 139ms 01 240 33s145ms 138ms 02 240 33s472ms 139ms 03 240 33s464ms 139ms 04 240 33s208ms 138ms 05 240 33s43ms 137ms 06 240 33s197ms 138ms 07 240 33s278ms 138ms 08 240 33s181ms 138ms 09 240 33s435ms 139ms 10 240 34s27ms 141ms 11 240 38s41ms 158ms 12 240 46s530ms 193ms 13 240 44s891ms 187ms 14 240 39s807ms 165ms 15 240 39s371ms 164ms 16 240 36s7ms 150ms 17 240 35s343ms 147ms 18 240 37s119ms 154ms 19 240 35s578ms 148ms 20 240 34s202ms 142ms 21 240 33s395ms 139ms 22 240 33s162ms 138ms 23 240 33s160ms 138ms -
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END + 0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_publication', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_trigger', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_range', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_inherits', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_policies', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_proc', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_attribute', 'pg_catalog.pg_tables', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_amop', 'pg_catalog.pg_language', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_roles', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_extension', 'pg_catalog.pg_constraint', 'pg_catalog.pg_enum', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_description', 'pg_catalog.pg_namespace', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_policy', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_depend', 'pg_catalog.pg_amproc', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_class', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_subscription', 'pg_catalog.pg_index', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_database', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_user', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_type', 'pg_catalog.pg_views', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_collation', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_cast', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_opclass', 'pg_catalog.pg_sequence', 'pg_catalog.pg_cursors', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_indexes', 'pg_catalog.pg_conversion', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_group', 'pg_catalog.pg_operator', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_matviews', 'pg_catalog.pg_locks', 'pg_catalog.pg_am', 'pg_catalog.pg_stats', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_settings', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_rules', 'pg_catalog.pg_transform', 'information_schema.collation_character_set_applicability', 'information_schema.parameters', 'information_schema.role_usage_grants', 'information_schema.attributes', 'information_schema.foreign_data_wrappers', 'information_schema.schemata', 'information_schema.routine_routine_usage', 'information_schema.sql_features', 'information_schema.user_mappings', 'information_schema.administrable_role_authorizations', 'information_schema.constraint_column_usage', 'information_schema.user_defined_types', 'information_schema.column_options', 'information_schema.character_sets', 'information_schema.constraint_table_usage', 'information_schema.routine_table_usage', 'information_schema.usage_privileges', 'information_schema.element_types', 'information_schema.foreign_data_wrapper_options', 'information_schema.column_privileges', 'information_schema.view_table_usage', 'information_schema.foreign_servers', 'information_schema.collations', 'information_schema.column_domain_usage', 'information_schema.routine_privileges', 'information_schema.foreign_server_options', 'information_schema.columns', 'information_schema.sequences', 'information_schema.views', 'information_schema.triggers', 'information_schema.key_column_usage', 'information_schema.sql_sizing', 'information_schema.table_constraints', 'information_schema.table_privileges', 'information_schema.check_constraints', 'information_schema.column_column_usage', 'information_schema.column_udt_usage', 'information_schema.routine_column_usage', 'information_schema.view_routine_usage', 'information_schema.routines', 'information_schema.domain_constraints', 'information_schema.user_mapping_options', 'information_schema.domain_udt_usage', 'information_schema.domains', 'information_schema.routine_sequence_usage', 'information_schema.triggered_update_columns', 'information_schema.applicable_roles', 'information_schema.referential_constraints', 'information_schema.udt_privileges', 'information_schema.data_type_privileges', 'information_schema.check_constraint_routine_usage', 'information_schema.role_column_grants', 'information_schema.role_udt_grants', 'information_schema.view_column_usage', 'information_schema.foreign_tables', 'information_schema.information_schema_catalog_name', 'information_schema.role_routine_grants', 'information_schema.role_table_grants', 'information_schema.tables', 'information_schema.enabled_roles', 'information_schema.sql_implementation_info', 'information_schema.foreign_table_options', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-05-29 12:50:29 Duration: 1s244ms
-
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END + 0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('pg_catalog.pg_ts_config_map', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_publication', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_settings', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_views', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_cursors', 'pg_catalog.pg_constraint', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_policies', 'pg_catalog.pg_indexes', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_index', 'pg_catalog.pg_trigger', 'pg_catalog.pg_stats', 'pg_catalog.pg_group', 'pg_catalog.pg_am', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_tables', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_language', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_roles', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_amop', 'pg_catalog.pg_sequence', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_inherits', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_matviews', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_proc', 'pg_catalog.pg_operator', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_enum', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_user', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_extension', 'pg_catalog.pg_collation', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_depend', 'pg_catalog.pg_policy', 'pg_catalog.pg_rules', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_subscription', 'pg_catalog.pg_opclass', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_attribute', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_amproc', 'pg_catalog.pg_conversion', 'pg_catalog.pg_database', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_namespace', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_type', 'pg_catalog.pg_class', 'pg_catalog.pg_description', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_transform', 'pg_catalog.pg_locks', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_cast', 'pg_catalog.pg_range', 'information_schema.routine_sequence_usage', 'information_schema.table_constraints', 'information_schema.column_options', 'information_schema.role_column_grants', 'information_schema.schemata', 'information_schema.sql_sizing', 'information_schema.views', 'information_schema.triggers', 'information_schema.usage_privileges', 'information_schema.user_mapping_options', 'information_schema.sequences', 'information_schema.udt_privileges', 'information_schema.element_types', 'information_schema.view_column_usage', 'information_schema.domain_constraints', 'information_schema.routine_routine_usage', 'information_schema.routines', 'information_schema.constraint_column_usage', 'information_schema.view_table_usage', 'information_schema.tables', 'information_schema.foreign_table_options', 'information_schema.foreign_servers', 'information_schema.applicable_roles', 'information_schema.sql_features', 'information_schema.table_privileges', 'information_schema.triggered_update_columns', 'information_schema.foreign_server_options', 'information_schema.attributes', 'information_schema.check_constraints', 'information_schema.routine_column_usage', 'information_schema.user_defined_types', 'information_schema.view_routine_usage', 'information_schema.column_column_usage', 'information_schema.column_udt_usage', 'information_schema.routine_privileges', 'information_schema.domains', 'information_schema.foreign_data_wrappers', 'information_schema.foreign_data_wrapper_options', 'information_schema.information_schema_catalog_name', 'information_schema.administrable_role_authorizations', 'information_schema.character_sets', 'information_schema.column_privileges', 'information_schema.collation_character_set_applicability', 'information_schema.columns', 'information_schema.enabled_roles', 'information_schema.routine_table_usage', 'information_schema.foreign_tables', 'information_schema.role_routine_grants', 'information_schema.parameters', 'information_schema.data_type_privileges', 'information_schema.collations', 'information_schema.key_column_usage', 'information_schema.referential_constraints', 'information_schema.sql_implementation_info', 'information_schema.column_domain_usage', 'information_schema.role_table_grants', 'information_schema.role_udt_grants', 'information_schema.role_usage_grants', 'information_schema.check_constraint_routine_usage', 'information_schema.constraint_table_usage', 'information_schema.domain_udt_usage', 'information_schema.user_mappings', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-05-29 12:21:43 Duration: 944ms
-
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END + 0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('public.pg_stat_statements_info', 'public.pg_stat_statements', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_policies', 'pg_catalog.pg_inherits', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_database', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_depend', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_user', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_publication', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_sequence', 'pg_catalog.pg_amop', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_matviews', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_trigger', 'pg_catalog.pg_enum', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_collation', 'pg_catalog.pg_constraint', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_subscription', 'pg_catalog.pg_attribute', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_proc', 'pg_catalog.pg_description', 'pg_catalog.pg_cast', 'pg_catalog.pg_stats', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_namespace', 'pg_catalog.pg_tables', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_extension', 'pg_catalog.pg_range', 'pg_catalog.pg_views', 'pg_catalog.pg_locks', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_am', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_roles', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_class', 'pg_catalog.pg_index', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_amproc', 'pg_catalog.pg_language', 'pg_catalog.pg_cursors', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_policy', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_group', 'pg_catalog.pg_type', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_settings', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_transform', 'pg_catalog.pg_rules', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_operator', 'pg_catalog.pg_opclass', 'pg_catalog.pg_conversion', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_stat_all_indexes', 'information_schema.tables', 'information_schema.foreign_servers', 'information_schema.attributes', 'information_schema.domain_udt_usage', 'information_schema.routine_privileges', 'information_schema.role_table_grants', 'information_schema.routine_column_usage', 'information_schema.domain_constraints', 'information_schema.routine_sequence_usage', 'information_schema.usage_privileges', 'information_schema.foreign_table_options', 'information_schema.foreign_server_options', 'information_schema.role_routine_grants', 'information_schema.referential_constraints', 'information_schema.triggered_update_columns', 'information_schema.collation_character_set_applicability', 'information_schema.sql_implementation_info', 'information_schema.routine_routine_usage', 'information_schema.sequences', 'information_schema.view_table_usage', 'information_schema.role_udt_grants', 'information_schema.view_column_usage', 'information_schema.information_schema_catalog_name', 'information_schema.check_constraints', 'information_schema.column_udt_usage', 'information_schema.columns', 'information_schema.enabled_roles', 'information_schema.schemata', 'information_schema.applicable_roles', 'information_schema.collations', 'information_schema.triggers', 'information_schema.views', 'information_schema.sql_sizing', 'information_schema.check_constraint_routine_usage', 'information_schema.routines', 'information_schema.constraint_column_usage', 'information_schema.foreign_tables', 'information_schema.character_sets', 'information_schema.column_privileges', 'information_schema.user_defined_types', 'information_schema.constraint_table_usage', 'information_schema.key_column_usage', 'information_schema.udt_privileges', 'information_schema.data_type_privileges', 'information_schema.role_column_grants', 'information_schema.domains', 'information_schema.user_mappings', 'information_schema.role_usage_grants', 'information_schema.column_options', 'information_schema.sql_features', 'information_schema.table_constraints', 'information_schema.element_types', 'information_schema.foreign_data_wrapper_options', 'information_schema.administrable_role_authorizations', 'information_schema.parameters', 'information_schema.routine_table_usage', 'information_schema.column_column_usage', 'information_schema.table_privileges', 'information_schema.foreign_data_wrappers', 'information_schema.column_domain_usage', 'information_schema.view_routine_usage', 'information_schema.user_mapping_options');
Date: 2024-05-29 12:58:43 Duration: 481ms
7 4,701 11m29s 120ms 729ms 146ms 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 #7
Day Hour Count Duration Avg duration May 29 11 69 9s2ms 130ms 12 962 2m39s 166ms 13 734 1m56s 158ms 14 757 1m48s 143ms 15 895 2m3s 138ms 16 278 38s307ms 137ms 17 142 18s726ms 131ms 18 658 1m28s 134ms 19 157 20s232ms 128ms 20 49 6s233ms 127ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 42) AND ("product_warehouse_inventory"."product_id" = 186063)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-05-29 12:50:29 Duration: 729ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 42) AND ("product_warehouse_inventory"."product_id" = 186700)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-05-29 12:50:30 Duration: 675ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 38) AND ("product_warehouse_inventory"."product_id" = 188802)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-05-29 12:50:26 Duration: 661ms
8 4,620 13m6s 120ms 1s206ms 170ms select "sale_order_line".id from "sale_order_line" where ("sale_order_line"."order_partner_id" in (...)) order by "sale_order_line"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 29 10 8 1s230ms 153ms 11 334 55s314ms 165ms 12 1,397 3m56s 169ms 13 2,250 6m29s 173ms 14 331 54s224ms 163ms 15 267 44s20ms 164ms 16 29 4s844ms 167ms 17 3 575ms 191ms 19 1 219ms 219ms -
SELECT "sale_order_line".id FROM "sale_order_line" WHERE ("sale_order_line"."order_partner_id" in (53504)) ORDER BY "sale_order_line"."id";
Date: 2024-05-29 12:41:46 Duration: 1s206ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE ("sale_order_line"."order_partner_id" in (42985)) ORDER BY "sale_order_line"."id";
Date: 2024-05-29 11:58:52 Duration: 731ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE ("sale_order_line"."order_partner_id" in (43947)) ORDER BY "sale_order_line"."id";
Date: 2024-05-29 12:04:20 Duration: 658ms
9 4,599 12m10s 120ms 1s79ms 158ms select id from product_warehouse_inventory where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 29 00 2 245ms 122ms 02 3 370ms 123ms 09 2 252ms 126ms 10 4 574ms 143ms 11 215 33s415ms 155ms 12 1,452 4m10s 172ms 13 1,198 3m17s 164ms 14 658 1m40s 152ms 15 433 1m1s 142ms 16 172 24s551ms 142ms 17 100 13s125ms 131ms 18 236 31s878ms 135ms 19 111 14s136ms 127ms 20 13 1s594ms 122ms -
select id from product_warehouse_inventory where product_id = 190563 and warehouse_id = 43 and company_id = 1;
Date: 2024-05-29 12:50:29 Duration: 1s79ms
-
select id from product_warehouse_inventory where product_id = 239141 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 12:41:47 Duration: 1s78ms
-
select id from product_warehouse_inventory where product_id = 195357 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 12:41:44 Duration: 1s64ms
10 4,339 13m31s 162ms 608ms 186ms select coalesce(sum(pwi.max_product_uom_qty), ?) as tmq from forecasted_data fd inner join item_supply_plan as isp on isp.id = fd.item_supply_plan_id inner join product_warehouse_inventory pwi on fd.product_id = pwi.product_id and isp.branch_id = pwi.replenish_branch_id where isp.id = ? and fd.product_id = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 29 02 302 51s290ms 169ms 03 23 3s972ms 172ms 13 252 57s482ms 228ms 14 65 13s355ms 205ms 15 537 1m49s 204ms 16 659 2m1s 184ms 17 459 1m23s 182ms 18 880 2m45s 187ms 19 744 2m11s 177ms 20 304 52s833ms 173ms 21 114 19s637ms 172ms -
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 43127 and fd.product_id = 206620;
Date: 2024-05-29 15:50:40 Duration: 608ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 42823 and fd.product_id = 217988;
Date: 2024-05-29 13:04:31 Duration: 560ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 42823 and fd.product_id = 220167;
Date: 2024-05-29 13:04:25 Duration: 530ms
11 4,257 11m21s 120ms 1s535ms 160ms 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 #11
Day Hour Count Duration Avg duration May 29 00 3 379ms 126ms 02 111 18s119ms 163ms 03 42 6s362ms 151ms 09 3 389ms 129ms 10 15 2s181ms 145ms 11 198 30s622ms 154ms 12 658 1m54s 173ms 13 574 1m34s 164ms 14 530 1m18s 147ms 15 751 1m56s 155ms 16 487 1m28s 181ms 17 285 39s427ms 138ms 18 424 1m8s 161ms 19 115 14s820ms 128ms 20 51 7s353ms 144ms 21 9 1s145ms 127ms 22 1 122ms 122ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (244082, 3)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-05-29 12:41:47 Duration: 1s535ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (206587, 206582)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-05-29 12:41:46 Duration: 1s53ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (222110, 238919, 237210, 204983, 208092, 208409, 207966)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-05-29 12:41:44 Duration: 724ms
12 4,079 53m53s 629ms 3s643ms 792ms 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 #12
Day Hour Count Duration Avg duration May 29 00 15 10s19ms 667ms 11 249 3m19s 800ms 12 706 10m55s 928ms 13 398 5m58s 900ms 14 483 6m18s 782ms 15 555 7m21s 795ms 16 253 3m6s 738ms 17 566 6m43s 712ms 18 405 4m53s 725ms 19 147 1m42s 696ms 20 134 1m31s 686ms 21 112 1m14s 666ms 22 56 37s425ms 668ms -
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 ('%%89996b%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%89996b%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%89996b%'))) 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: 2024-05-29 12:20:05 Duration: 3s643ms
-
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 ('%%89996%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%89996%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%89996%'))) 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: 2024-05-29 12:20:04 Duration: 3s306ms
-
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 ('%%EX47%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%EX47%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%EX47%'))) 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: 2024-05-29 11:51:22 Duration: 2s926ms
13 3,456 10m57s 149ms 2s106ms 190ms update product_warehouse_inventory set qty_available = ?.? where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 29 00 3 602ms 200ms 02 2 336ms 168ms 03 2 327ms 163ms 09 17 2s914ms 171ms 10 2 377ms 188ms 11 161 31s396ms 195ms 12 472 1m43s 219ms 13 463 1m43s 223ms 14 459 1m29s 195ms 15 400 1m13s 182ms 16 205 36s191ms 176ms 17 298 51s345ms 172ms 18 452 1m17s 171ms 19 337 56s364ms 167ms 20 166 27s688ms 166ms 21 11 1s798ms 163ms 22 6 981ms 163ms -
UPDATE product_warehouse_inventory SET qty_available = 17.0 WHERE product_id = 206648 AND warehouse_id = 41 AND company_id = 1;
Date: 2024-05-29 13:18:02 Duration: 2s106ms
-
UPDATE product_warehouse_inventory SET qty_available = 1.0 WHERE product_id = 197865 AND warehouse_id = 35 AND company_id = 1;
Date: 2024-05-29 13:10:29 Duration: 2s102ms
-
UPDATE product_warehouse_inventory SET qty_available = 15.0 WHERE product_id = 190563 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-05-29 12:50:29 Duration: 1s514ms
14 3,187 9m30s 145ms 5s269ms 178ms update product_warehouse_inventory set qty_reserve = ? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 29 02 76 12s152ms 159ms 03 4 672ms 168ms 09 6 1s50ms 175ms 10 4 894ms 223ms 11 101 19s246ms 190ms 12 246 48s627ms 197ms 13 371 1m13s 198ms 14 349 1m8s 197ms 15 393 1m10s 179ms 16 210 35s979ms 171ms 17 277 45s971ms 165ms 18 491 1m23s 170ms 19 318 52s998ms 166ms 20 277 45s367ms 163ms 21 60 9s487ms 158ms 22 4 626ms 156ms -
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 195224 AND warehouse_id = 43;
Date: 2024-05-29 14:14:43 Duration: 5s269ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 251179 AND warehouse_id = 45;
Date: 2024-05-29 11:26:02 Duration: 1s916ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 240893 AND warehouse_id = 46;
Date: 2024-05-29 14:07:25 Duration: 1s525ms
15 2,973 44m2s 315ms 3s318ms 888ms select id from product_warehouse_inventory where coalesce(loc_check_qty, ?) < coalesce(max_product_uom_qty, ?);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 29 11 639 9m16s 871ms 12 2,215 33m55s 918ms 13 119 50s106ms 421ms -
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2024-05-29 12:41:47 Duration: 3s318ms
-
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2024-05-29 12:41:47 Duration: 3s301ms
-
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2024-05-29 12:41:47 Duration: 3s119ms
16 2,889 7m25s 120ms 469ms 154ms select "sale_order_line".id from "sale_order_line" where (((("sale_order_line"."product_id" = ?) and ("sale_order_line"."order_id" in ( select "sale_order".id from "sale_order" where ("sale_order"."branch_id" in ( select "res_branch".id from "res_branch" where ("res_branch"."id" = ?)))))) and ("sale_order_line"."open_qty_fil" > ?.?)) and (("sale_order_line"."state" not in (...)) or "sale_order_line"."state" is null)) order by "sale_order_line"."id" asc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 29 11 5 619ms 123ms 12 704 1m57s 166ms 13 299 49s98ms 164ms 14 326 50s441ms 154ms 15 658 1m39s 151ms 16 237 32s927ms 138ms 17 88 12s213ms 138ms 18 352 51s117ms 145ms 19 171 25s656ms 150ms 20 49 6s814ms 139ms -
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 239078) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '37')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2024-05-29 13:58:03 Duration: 469ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 238917) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '37')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2024-05-29 13:58:08 Duration: 465ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 186073) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '37')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2024-05-29 18:25:41 Duration: 429ms
17 2,768 8m20s 142ms 1s828ms 180ms update product_warehouse_inventory set qty_reserve = ?.? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 29 00 4 733ms 183ms 02 48 7s717ms 160ms 03 4 653ms 163ms 09 4 679ms 169ms 11 167 30s745ms 184ms 12 430 1m31s 212ms 13 223 45s342ms 203ms 14 260 47s644ms 183ms 15 273 48s681ms 178ms 16 170 30s229ms 177ms 17 313 51s474ms 164ms 18 325 54s816ms 168ms 19 334 55s646ms 166ms 20 157 25s668ms 163ms 21 39 6s310ms 161ms 22 17 2s708ms 159ms -
UPDATE product_warehouse_inventory SET qty_reserve = 2.0 WHERE product_id = 171891 AND warehouse_id = 45;
Date: 2024-05-29 11:05:34 Duration: 1s828ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 20.0 WHERE product_id = 184009 AND warehouse_id = 41;
Date: 2024-05-29 12:26:35 Duration: 871ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 2.0 WHERE product_id = 216941 AND warehouse_id = 42;
Date: 2024-05-29 12:18:35 Duration: 769ms
18 2,316 18m12s 391ms 4s124ms 471ms 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 #18
Day Hour Count Duration Avg duration May 29 00 3 1s321ms 440ms 01 1 412ms 412ms 02 3 1s237ms 412ms 03 3 1s216ms 405ms 10 6 2s439ms 406ms 11 143 1m9s 485ms 12 242 2m13s 550ms 13 195 1m49s 560ms 14 262 2m1s 465ms 15 301 2m28s 493ms 16 370 2m46s 450ms 17 221 1m34s 427ms 18 306 2m13s 436ms 19 135 57s142ms 423ms 20 96 39s457ms 411ms 21 20 8s165ms 408ms 22 9 3s650ms 405ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.report_assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5826980/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-29 12:41:47 Duration: 4s124ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-9ded8a0/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-29 11:52:31 Duration: 2s280ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-29 11:51:22 Duration: 2s139ms
19 2,035 8m34s 148ms 2s694ms 252ms select min("account_move".id) as id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" AS "debit_origin_id" from "account_move" left join "account_move" AS "account_move__debit_origin_id" on ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") where ("account_move"."debit_origin_id" in (...)) and ("account_move"."company_id" is null or ("account_move"."company_id" in (...))) group by "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" order by "account_move__debit_origin_id"."invoice_date_due";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 29 07 15 2s549ms 169ms 09 10 1s820ms 182ms 10 5 843ms 168ms 11 102 21s308ms 208ms 12 170 53s304ms 313ms 13 426 2m37s 369ms 14 381 1m32s 242ms 15 223 49s295ms 221ms 16 204 40s710ms 199ms 17 219 41s758ms 190ms 18 130 25s557ms 196ms 19 108 20s83ms 185ms 20 40 6s919ms 172ms 21 2 346ms 173ms -
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1436335)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-05-29 12:50:29 Duration: 2s694ms
-
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1436851)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-05-29 13:57:22 Duration: 1s615ms
-
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1437067)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-05-29 13:57:25 Duration: 1s583ms
20 1,908 8m50s 120ms 661ms 278ms select "sale_line_report".id from "sale_line_report" where ("sale_line_report"."partner_id" in (...)) order by "sale_line_report"."id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 29 11 117 28s823ms 246ms 12 486 2m21s 290ms 13 657 3m5s 282ms 14 144 38s472ms 267ms 15 421 1m53s 269ms 16 69 19s524ms 282ms 17 12 2s924ms 243ms 18 2 518ms 259ms -
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."partner_id" in (53504)) ORDER BY "sale_line_report"."id";
Date: 2024-05-29 12:41:47 Duration: 661ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."partner_id" in (43412)) ORDER BY "sale_line_report"."id";
Date: 2024-05-29 12:53:06 Duration: 533ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."partner_id" in (40727)) ORDER BY "sale_line_report"."id";
Date: 2024-05-29 12:48:23 Duration: 529ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 247ms 6m40s 44s25ms 49 35m57s 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;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 29 11 3 2m24s 48s116ms 12 9 3m23s 22s573ms 13 19 6m13s 19s659ms 14 8 8m11s 1m1s 15 6 15m37s 2m36s 16 3 5s770ms 1s923ms 19 1 1s509ms 1s509ms -
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 != 1438032 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 != 1438032 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-05-29 15:54:09 Duration: 6m40s
-
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 != 1403432 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 != 1403432 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-05-29 15:54:11 Duration: 6m32s
-
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 != 1387873 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 != 1387873 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-05-29 14:05:23 Duration: 2m33s
2 5s345ms 21s67ms 6s727ms 262 29m22s delete from sale_order_line where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 29 10 2 16s371ms 8s185ms 11 148 17m5s 6s929ms 12 21 2m19s 6s657ms 13 10 1m9s 6s990ms 14 9 1m8s 7s579ms 15 7 47s714ms 6s816ms 17 9 1m 6s695ms 18 53 5m17s 5s986ms 19 1 6s609ms 6s609ms 20 1 5s416ms 5s416ms 21 1 5s345ms 5s345ms -
DELETE FROM sale_order_line WHERE id IN (412924);
Date: 2024-05-29 11:39:20 Duration: 21s67ms
-
DELETE FROM sale_order_line WHERE id IN (413819);
Date: 2024-05-29 11:42:21 Duration: 17s859ms
-
DELETE FROM sale_order_line WHERE id IN (412922);
Date: 2024-05-29 11:39:25 Duration: 14s500ms
3 1s765ms 39s483ms 4s857ms 170 13m45s delete from account_move_line where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 29 00 56 4m3s 4s350ms 11 7 16s123ms 2s303ms 12 4 16s621ms 4s155ms 13 2 13s540ms 6s770ms 14 2 15s369ms 7s684ms 15 1 7s452ms 7s452ms 16 3 9s197ms 3s65ms 17 6 29s356ms 4s892ms 18 4 9s158ms 2s289ms 19 1 32s966ms 32s966ms 20 1 3s567ms 3s567ms 23 83 7m8s 5s165ms -
DELETE FROM account_move_line WHERE id IN (4916650, 4916651, 4916652, 4916653, 4916654, 4916655, 4916656, 4916657, 4916658, 4916659, 4916660, 4916661, 4916662, 4916663, 4916664, 4916665, 4916666, 4916667, 4916668, 4916669, 5017427, 5017428);
Date: 2024-05-29 23:13:52 Duration: 39s483ms
-
DELETE FROM account_move_line WHERE id IN (5012294, 5012295, 5012296, 5012297, 5012298, 5012299, 5012300, 5012301, 5012302, 5012303, 5012304, 5012305, 5012306, 5012307, 5012308, 5012309, 5012310, 5012312, 5012340, 5012341);
Date: 2024-05-29 00:09:54 Duration: 35s835ms
-
DELETE FROM account_move_line WHERE id IN (5020276, 5020277, 5019727, 5019728, 5019729, 5019730, 5019731, 5019732, 5019733, 5019734, 5019735, 5019736, 5019737, 5019738, 5019739, 5019740, 5019741, 5019742, 5019743, 5019744);
Date: 2024-05-29 23:32:18 Duration: 35s743ms
4 120ms 1m1s 2s288ms 763 29m6s update queue_job set state = ?, date_enqueued = ?, date_started = ? where uuid = ? and state = ? returning uuid;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 29 11 5 2s194ms 438ms 12 65 1m32s 1s425ms 13 93 2m40s 1s728ms 14 57 1m19s 1s401ms 15 45 1m 1s354ms 16 498 22m29s 2s710ms -
UPDATE queue_job SET state = 'pending', date_enqueued = NULL, date_started = NULL WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290' and state = 'enqueued' RETURNING uuid;
Date: 2024-05-29 16:36:35 Duration: 1m1s
-
UPDATE queue_job SET state = 'pending', date_enqueued = NULL, date_started = NULL WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290' and state = 'enqueued' RETURNING uuid;
Date: 2024-05-29 16:36:35 Duration: 1m1s
-
UPDATE queue_job SET state = 'pending', date_enqueued = NULL, date_started = NULL WHERE uuid = 'e10e0177-c3c1-4fbf-be7f-db24ccff1290' and state = 'enqueued' RETURNING uuid;
Date: 2024-05-29 16:36:35 Duration: 1m1s
5 796ms 2s286ms 956ms 847 13m29s 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 #5
Day Hour Count Duration Avg duration May 29 02 3 2s494ms 831ms 03 1 829ms 829ms 10 1 839ms 839ms 11 53 51s611ms 973ms 12 96 1m48s 1s127ms 13 67 1m16s 1s140ms 14 99 1m36s 969ms 15 108 1m46s 981ms 16 88 1m19s 900ms 17 91 1m19s 869ms 18 107 1m35s 895ms 19 105 1m29s 857ms 20 26 21s663ms 833ms 21 1 846ms 846ms 22 1 837ms 837ms -
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 ('%432-471-101-0%')) 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 ('%432-471-101-0%'))) 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 ('%432-471-101-0%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%432-471-101-0%')))))) 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: 2024-05-29 13:57:23 Duration: 2s286ms
-
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 ('%lhf4955%')) 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 ('%lhf4955%'))) 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 ('%lhf4955%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%lhf4955%')))))) 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: 2024-05-29 11:27:27 Duration: 2s64ms
-
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 ('%eld-5c%')) 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 ('%eld-5c%'))) 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 ('%eld-5c%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%eld-5c%')))))) 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: 2024-05-29 12:40:23 Duration: 2s62ms
6 315ms 3s318ms 888ms 2,973 44m2s select id from product_warehouse_inventory where coalesce(loc_check_qty, ?) < coalesce(max_product_uom_qty, ?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 29 11 639 9m16s 871ms 12 2,215 33m55s 918ms 13 119 50s106ms 421ms -
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2024-05-29 12:41:47 Duration: 3s318ms
-
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2024-05-29 12:41:47 Duration: 3s301ms
-
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2024-05-29 12:41:47 Duration: 3s119ms
7 639ms 4s841ms 815ms 1,020 13m51s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 29 10 3 1s976ms 658ms 11 75 1m6s 890ms 12 125 2m29s 1s192ms 13 71 1m8s 963ms 14 77 1m2s 812ms 15 125 1m38s 790ms 16 79 59s467ms 752ms 17 85 59s363ms 698ms 18 64 44s781ms 699ms 19 226 2m38s 702ms 20 90 1m1s 681ms -
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 ('%%K64%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%K64%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%K64%'))) 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: 2024-05-29 12:41:47 Duration: 4s841ms
-
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 ('%%K6428%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%K6428%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%K6428%'))) 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: 2024-05-29 12:41:47 Duration: 4s834ms
-
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 ('%%K642%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%K642%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%K642%'))) 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: 2024-05-29 12:41:46 Duration: 4s494ms
8 629ms 3s643ms 792ms 4,079 53m53s 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 #8
Day Hour Count Duration Avg duration May 29 00 15 10s19ms 667ms 11 249 3m19s 800ms 12 706 10m55s 928ms 13 398 5m58s 900ms 14 483 6m18s 782ms 15 555 7m21s 795ms 16 253 3m6s 738ms 17 566 6m43s 712ms 18 405 4m53s 725ms 19 147 1m42s 696ms 20 134 1m31s 686ms 21 112 1m14s 666ms 22 56 37s425ms 668ms -
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 ('%%89996b%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%89996b%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%89996b%'))) 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: 2024-05-29 12:20:05 Duration: 3s643ms
-
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 ('%%89996%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%89996%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%89996%'))) 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: 2024-05-29 12:20:04 Duration: 3s306ms
-
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 ('%%EX47%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%EX47%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%EX47%'))) 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: 2024-05-29 11:51:22 Duration: 2s926ms
9 391ms 4s124ms 471ms 2,316 18m12s 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 #9
Day Hour Count Duration Avg duration May 29 00 3 1s321ms 440ms 01 1 412ms 412ms 02 3 1s237ms 412ms 03 3 1s216ms 405ms 10 6 2s439ms 406ms 11 143 1m9s 485ms 12 242 2m13s 550ms 13 195 1m49s 560ms 14 262 2m1s 465ms 15 301 2m28s 493ms 16 370 2m46s 450ms 17 221 1m34s 427ms 18 306 2m13s 436ms 19 135 57s142ms 423ms 20 96 39s457ms 411ms 21 20 8s165ms 408ms 22 9 3s650ms 405ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.report_assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5826980/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-29 12:41:47 Duration: 4s124ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-9ded8a0/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-29 11:52:31 Duration: 2s280ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-29 11:51:22 Duration: 2s139ms
10 120ms 661ms 278ms 1,908 8m50s select "sale_line_report".id from "sale_line_report" where ("sale_line_report"."partner_id" in (...)) order by "sale_line_report"."id";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 29 11 117 28s823ms 246ms 12 486 2m21s 290ms 13 657 3m5s 282ms 14 144 38s472ms 267ms 15 421 1m53s 269ms 16 69 19s524ms 282ms 17 12 2s924ms 243ms 18 2 518ms 259ms -
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."partner_id" in (53504)) ORDER BY "sale_line_report"."id";
Date: 2024-05-29 12:41:47 Duration: 661ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."partner_id" in (43412)) ORDER BY "sale_line_report"."id";
Date: 2024-05-29 12:53:06 Duration: 533ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."partner_id" in (40727)) ORDER BY "sale_line_report"."id";
Date: 2024-05-29 12:48:23 Duration: 529ms
11 148ms 2s694ms 252ms 2,035 8m34s select min("account_move".id) as id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" AS "debit_origin_id" from "account_move" left join "account_move" AS "account_move__debit_origin_id" on ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") where ("account_move"."debit_origin_id" in (...)) and ("account_move"."company_id" is null or ("account_move"."company_id" in (...))) group by "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" order by "account_move__debit_origin_id"."invoice_date_due";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 29 07 15 2s549ms 169ms 09 10 1s820ms 182ms 10 5 843ms 168ms 11 102 21s308ms 208ms 12 170 53s304ms 313ms 13 426 2m37s 369ms 14 381 1m32s 242ms 15 223 49s295ms 221ms 16 204 40s710ms 199ms 17 219 41s758ms 190ms 18 130 25s557ms 196ms 19 108 20s83ms 185ms 20 40 6s919ms 172ms 21 2 346ms 173ms -
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1436335)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-05-29 12:50:29 Duration: 2s694ms
-
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1436851)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-05-29 13:57:22 Duration: 1s615ms
-
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1437067)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-05-29 13:57:25 Duration: 1s583ms
12 122ms 2s875ms 199ms 18,469 1h1m15s select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 29 00 340 46s758ms 137ms 01 340 45s950ms 135ms 02 388 53s291ms 137ms 03 358 48s703ms 136ms 04 343 46s448ms 135ms 05 307 41s469ms 135ms 06 285 38s259ms 134ms 07 333 45s72ms 135ms 08 310 41s925ms 135ms 09 339 46s673ms 137ms 10 373 52s278ms 140ms 11 1,858 5m18s 171ms 12 5,268 20m11s 230ms 13 4,989 19m6s 229ms 14 2,638 8m12s 186ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-29 14:25:05') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1213"', '["pointspring_master","calendar.alarm",50343]', '["pointspring_master","mail.channel",459]', '["pointspring_master","mail.channel",533]', '["pointspring_master","mail.channel",534]', '["pointspring_master","mail.channel",603]', '["pointspring_master","mail.channel",604]', '["pointspring_master","res.partner",50343]', '["pointspring_master","ir.needaction",50343]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-29 14:25:58 Duration: 2s875ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-29 14:25:05') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1022"', '["pointspring_master","calendar.alarm",19560]', '["pointspring_master","mail.channel",105]', '["pointspring_master","mail.channel",106]', '["pointspring_master","mail.channel",107]', '["pointspring_master","mail.channel",108]', '["pointspring_master","mail.channel",109]', '["pointspring_master","mail.channel",110]', '["pointspring_master","mail.channel",341]', '["pointspring_master","mail.channel",437]', '["pointspring_master","mail.channel",440]', '["pointspring_master","mail.channel",525]', '["pointspring_master","mail.channel",600]', '["pointspring_master","res.partner",19560]', '["pointspring_master","ir.needaction",19560]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-29 14:25:58 Duration: 2s841ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-29 12:40:54') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_990"', '["pointspring_master","calendar.alarm",19528]', '["pointspring_master","mail.channel",74]', '["pointspring_master","mail.channel",75]', '["pointspring_master","mail.channel",76]', '["pointspring_master","mail.channel",77]', '["pointspring_master","mail.channel",339]', '["pointspring_master","mail.channel",473]', '["pointspring_master","res.partner",19528]', '["pointspring_master","ir.needaction",19528]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-29 12:41:47 Duration: 2s765ms
13 155ms 26s81ms 198ms 12,785 42m24s update product_warehouse_inventory set qty_shipped_not_invoiced = case when ?.? is not null then greatest ((?.? - ?.?) + (?.? - ?.?), ?) else greatest ((?.? - ?.?), ?) end where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 29 00 9 1s486ms 165ms 09 30 5s38ms 167ms 10 7 2s237ms 319ms 11 684 3m26s 301ms 12 1,287 4m48s 223ms 13 1,174 4m23s 224ms 14 2,174 6m37s 182ms 15 1,232 3m38s 177ms 16 788 2m16s 173ms 17 1,380 3m52s 168ms 18 807 4m17s 318ms 19 1,609 4m30s 167ms 20 1,522 4m11s 165ms 21 54 8s850ms 163ms 22 28 4s598ms 164ms -
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((4.0 - 4.0) + (0.0 - 0.0), 0) ELSE GREATEST ((4.0 - 4.0), 0) END where product_id = 185946 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 18:12:23 Duration: 26s81ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (0.0 - 0.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 237202 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 11:42:15 Duration: 24s970ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((4.0 - 4.0) + (0.0 - 0.0), 0) ELSE GREATEST ((4.0 - 4.0), 0) END where product_id = 185946 and warehouse_id = 35 and company_id = 1;
Date: 2024-05-29 18:10:15 Duration: 21s720ms
14 149ms 2s106ms 190ms 3,456 10m57s update product_warehouse_inventory set qty_available = ?.? where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 29 00 3 602ms 200ms 02 2 336ms 168ms 03 2 327ms 163ms 09 17 2s914ms 171ms 10 2 377ms 188ms 11 161 31s396ms 195ms 12 472 1m43s 219ms 13 463 1m43s 223ms 14 459 1m29s 195ms 15 400 1m13s 182ms 16 205 36s191ms 176ms 17 298 51s345ms 172ms 18 452 1m17s 171ms 19 337 56s364ms 167ms 20 166 27s688ms 166ms 21 11 1s798ms 163ms 22 6 981ms 163ms -
UPDATE product_warehouse_inventory SET qty_available = 17.0 WHERE product_id = 206648 AND warehouse_id = 41 AND company_id = 1;
Date: 2024-05-29 13:18:02 Duration: 2s106ms
-
UPDATE product_warehouse_inventory SET qty_available = 1.0 WHERE product_id = 197865 AND warehouse_id = 35 AND company_id = 1;
Date: 2024-05-29 13:10:29 Duration: 2s102ms
-
UPDATE product_warehouse_inventory SET qty_available = 15.0 WHERE product_id = 190563 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-05-29 12:50:29 Duration: 1s514ms
15 162ms 608ms 186ms 4,339 13m31s select coalesce(sum(pwi.max_product_uom_qty), ?) as tmq from forecasted_data fd inner join item_supply_plan as isp on isp.id = fd.item_supply_plan_id inner join product_warehouse_inventory pwi on fd.product_id = pwi.product_id and isp.branch_id = pwi.replenish_branch_id where isp.id = ? and fd.product_id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 29 02 302 51s290ms 169ms 03 23 3s972ms 172ms 13 252 57s482ms 228ms 14 65 13s355ms 205ms 15 537 1m49s 204ms 16 659 2m1s 184ms 17 459 1m23s 182ms 18 880 2m45s 187ms 19 744 2m11s 177ms 20 304 52s833ms 173ms 21 114 19s637ms 172ms -
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 43127 and fd.product_id = 206620;
Date: 2024-05-29 15:50:40 Duration: 608ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 42823 and fd.product_id = 217988;
Date: 2024-05-29 13:04:31 Duration: 560ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 42823 and fd.product_id = 220167;
Date: 2024-05-29 13:04:25 Duration: 530ms
16 153ms 5s339ms 183ms 12,019 36m45s update product_warehouse_inventory set loc_check_qty = coalesce(?.?, ?) + coalesce(?.?, ?) - coalesce(?.?, ?) where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 29 00 12 2s41ms 170ms 02 246 40s82ms 162ms 03 20 3s273ms 163ms 09 20 3s359ms 167ms 10 8 1s347ms 168ms 11 503 1m51s 221ms 12 1,530 5m20s 209ms 13 1,159 4m 207ms 14 1,176 3m42s 188ms 15 1,307 3m55s 180ms 16 897 2m35s 172ms 17 1,202 3m26s 171ms 18 1,613 4m35s 170ms 19 1,180 3m19s 169ms 20 900 2m29s 166ms 21 204 33s585ms 164ms 22 42 6s886ms 163ms -
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(9.0, 0) + COALESCE(0.0, 0) - COALESCE(2.0, 0) WHERE product_id = 171891 AND warehouse_id = 45 AND company_id = 1;
Date: 2024-05-29 11:05:48 Duration: 5s339ms
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(7.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 171891 AND warehouse_id = 45 AND company_id = 1;
Date: 2024-05-29 11:08:25 Duration: 5s56ms
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(2.0, 0) + COALESCE(2.0, 0) - COALESCE(1.0, 0) WHERE product_id = 205585 AND warehouse_id = 36 AND company_id = 1;
Date: 2024-05-29 12:37:38 Duration: 4s153ms
17 142ms 1s828ms 180ms 2,768 8m20s update product_warehouse_inventory set qty_reserve = ?.? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 29 00 4 733ms 183ms 02 48 7s717ms 160ms 03 4 653ms 163ms 09 4 679ms 169ms 11 167 30s745ms 184ms 12 430 1m31s 212ms 13 223 45s342ms 203ms 14 260 47s644ms 183ms 15 273 48s681ms 178ms 16 170 30s229ms 177ms 17 313 51s474ms 164ms 18 325 54s816ms 168ms 19 334 55s646ms 166ms 20 157 25s668ms 163ms 21 39 6s310ms 161ms 22 17 2s708ms 159ms -
UPDATE product_warehouse_inventory SET qty_reserve = 2.0 WHERE product_id = 171891 AND warehouse_id = 45;
Date: 2024-05-29 11:05:34 Duration: 1s828ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 20.0 WHERE product_id = 184009 AND warehouse_id = 41;
Date: 2024-05-29 12:26:35 Duration: 871ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 2.0 WHERE product_id = 216941 AND warehouse_id = 42;
Date: 2024-05-29 12:18:35 Duration: 769ms
18 145ms 5s269ms 178ms 3,187 9m30s update product_warehouse_inventory set qty_reserve = ? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 29 02 76 12s152ms 159ms 03 4 672ms 168ms 09 6 1s50ms 175ms 10 4 894ms 223ms 11 101 19s246ms 190ms 12 246 48s627ms 197ms 13 371 1m13s 198ms 14 349 1m8s 197ms 15 393 1m10s 179ms 16 210 35s979ms 171ms 17 277 45s971ms 165ms 18 491 1m23s 170ms 19 318 52s998ms 166ms 20 277 45s367ms 163ms 21 60 9s487ms 158ms 22 4 626ms 156ms -
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 195224 AND warehouse_id = 43;
Date: 2024-05-29 14:14:43 Duration: 5s269ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 251179 AND warehouse_id = 45;
Date: 2024-05-29 11:26:02 Duration: 1s916ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 240893 AND warehouse_id = 46;
Date: 2024-05-29 14:07:25 Duration: 1s525ms
19 120ms 1s206ms 170ms 4,620 13m6s select "sale_order_line".id from "sale_order_line" where ("sale_order_line"."order_partner_id" in (...)) order by "sale_order_line"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 29 10 8 1s230ms 153ms 11 334 55s314ms 165ms 12 1,397 3m56s 169ms 13 2,250 6m29s 173ms 14 331 54s224ms 163ms 15 267 44s20ms 164ms 16 29 4s844ms 167ms 17 3 575ms 191ms 19 1 219ms 219ms -
SELECT "sale_order_line".id FROM "sale_order_line" WHERE ("sale_order_line"."order_partner_id" in (53504)) ORDER BY "sale_order_line"."id";
Date: 2024-05-29 12:41:46 Duration: 1s206ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE ("sale_order_line"."order_partner_id" in (42985)) ORDER BY "sale_order_line"."id";
Date: 2024-05-29 11:58:52 Duration: 731ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE ("sale_order_line"."order_partner_id" in (43947)) ORDER BY "sale_order_line"."id";
Date: 2024-05-29 12:04:20 Duration: 658ms
20 121ms 3s185ms 164ms 11,812 32m22s select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."customer_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 29 09 84 10s640ms 126ms 10 350 54s697ms 156ms 11 1,443 3m23s 140ms 12 1,577 5m4s 193ms 13 2,794 8m54s 191ms 14 1,432 3m53s 162ms 15 2,532 6m18s 149ms 16 538 1m21s 150ms 17 208 28s481ms 136ms 18 196 26s582ms 135ms 19 370 49s281ms 133ms 20 240 31s517ms 131ms 21 40 5s137ms 128ms 22 8 1s 125ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (33496)) ORDER BY "sale_history_line"."id";
Date: 2024-05-29 14:25:58 Duration: 3s185ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (53504)) ORDER BY "sale_history_line"."id";
Date: 2024-05-29 12:41:45 Duration: 2s346ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (33720)) ORDER BY "sale_history_line"."id";
Date: 2024-05-29 12:04:20 Duration: 1s245ms
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
- 341,167 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 82566 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 78,531 Max number of times the same event was reported
- 82,566 Total events found
Rank Times reported Error 1 78,531 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count May 29 00 25 02 77 03 19 07 1 09 49 10 35 11 789 12 1,001 13 1,627 14 3,870 15 5,487 16 11,609 17 12,735 18 19,443 19 15,193 20 5,555 21 774 22 242 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE product_warehouse_inventory SET qty_reserve = 4.0 WHERE product_id = 194702 AND warehouse_id = 37
Date: 2024-05-29 12:50:08
2 1,289 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #2
Day Hour Count May 29 00 296 01 44 02 40 03 31 04 26 05 28 06 28 07 89 08 68 09 37 10 26 11 60 12 35 13 47 14 33 15 34 16 114 17 32 18 24 19 28 20 24 21 21 22 22 23 102 - ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "res_partner"
- ERROR: could not obtain lock on row in relation "website_visitor"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=67 FOR UPDATE NOWAIT
Date: 2024-05-29 12:50:15
Statement: SELECT "customer_rank" FROM res_partner WHERE ID IN (36721) FOR UPDATE NOWAIT; UPDATE res_partner SET "customer_rank" = "customer_rank" + 1 WHERE id IN (36721)
Date: 2024-05-29 13:20:40
Statement: SELECT * FROM website_visitor where id = 13490839 FOR NO KEY UPDATE NOWAIT
Date: 2024-05-29 13:35:10
3 958 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #3
Day Hour Count May 29 00 1 02 9 10 6 11 222 12 213 13 245 14 133 15 52 16 18 17 2 18 52 19 5 - ERROR: process 1897481 still waiting for ShareLock on transaction 265376107 after 1000.044 ms
- ERROR: process 1897481 still waiting for ShareLock on transaction 265376190 after 1000.049 ms
- ERROR: process 1683264 still waiting for ShareLock on transaction 265377123 after 1000.055 ms
Detail: Process holding the lock: 1683271. Wait queue: 1897481, 1683324.
Context: while updating tuple (2814,23) in relation "product_warehouse_inventory"
Statement: UPDATE product_warehouse_inventory SET qty_reserve = 4.0 WHERE product_id = 194702 AND warehouse_id = 37Date: 2024-05-29 12:50:03
Detail: Process holding the lock: 1897575. Wait queue: 1897481.
Context: while updating tuple (3036,4) in relation "product_warehouse_inventory"
Statement: UPDATE product_warehouse_inventory SET qty_reserve = 4.0 WHERE product_id = 194702 AND warehouse_id = 37Date: 2024-05-29 12:50:14
Detail: Process holding the lock: 1683260. Wait queue: 1683264.
Context: while updating tuple (1080,159) in relation "credit_order_data"
Statement: UPDATE "credit_order_data" SET "is_skip"=true,"write_uid"=994,"write_date"=(now() at time zone 'UTC') WHERE id IN (154623)Date: 2024-05-29 12:50:47
4 912 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #4
Day Hour Count May 29 02 2 10 1 11 115 12 35 13 358 14 201 15 60 16 64 18 76 - ERROR: process 1683304 still waiting for ExclusiveLock on tuple (1083,159) of relation 3833657 of database 65946 after 1000.062 ms
- ERROR: process 1683263 still waiting for ExclusiveLock on tuple (2909,11) of relation 65213 of database 65946 after 1000.062 ms
- ERROR: process 1682135 still waiting for ExclusiveLock on tuple (2909,14) of relation 65213 of database 65946 after 1000.041 ms
Detail: Process holding the lock: 1683194. Wait queue: 1683304.
Statement: UPDATE "credit_order_data" SET "is_skip"=false,"write_uid"=953,"write_date"=(now() at time zone 'UTC') WHERE id IN (144277)Date: 2024-05-29 12:51:07
Detail: Process holding the lock: 1683330. Wait queue: 1683263.
Statement: UPDATE product_warehouse_inventory SET qty_available = 56.0 WHERE product_id = 204854 AND warehouse_id = 42 AND company_id = 1Date: 2024-05-29 12:56:30
Detail: Process holding the lock: 1683325. Wait queue: 1682135.
Statement: UPDATE product_warehouse_inventory SET qty_ytd_sold = 288.0 WHERE product_id = 204854 AND warehouse_id = 42Date: 2024-05-29 12:56:39
5 639 LOG: process ... still waiting for AccessExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #5
Day Hour Count May 29 12 11 13 33 14 4 16 591 - ERROR: process 1897514 still waiting for AccessExclusiveLock on tuple (36899,27) of relation 3833327 of database 65946 after 1000.053 ms
- ERROR: process 1683256 still waiting for AccessExclusiveLock on tuple (36899,27) of relation 3833327 of database 65946 after 1000.043 ms
- ERROR: process 1683202 still waiting for AccessExclusiveLock on tuple (36897,8) of relation 3833327 of database 65946 after 1000.044 ms
Detail: Process holding the lock: 1972874. Wait queue: 1897514, 1683256.
Statement: SELECT state FROM queue_job WHERE uuid='24d542a3-94ab-4902-acf4-167700da3a9a' AND state='enqueued' FOR UPDATEDate: 2024-05-29 13:03:02
Detail: Process holding the lock: 1972874. Wait queue: 1897514, 1683256.
Statement: SELECT state FROM queue_job WHERE uuid='24d542a3-94ab-4902-acf4-167700da3a9a' AND state='enqueued' FOR UPDATEDate: 2024-05-29 13:03:03
Detail: Process holding the lock: 1897534. Wait queue: 1972873, 1683202.
Statement: SELECT state FROM queue_job WHERE uuid='1cda7dda-58ff-499f-962f-4d3c5f94c2aa' AND state='enqueued' FOR UPDATEDate: 2024-05-29 13:03:03
6 119 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #6
Day Hour Count May 29 10 1 11 38 12 34 13 37 14 9 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 1683324 waits for ShareLock on transaction 265376107; blocked by process 1683271. Process 1683271 waits for ShareLock on transaction 265376095; blocked by process 1683324. Process 1683324: update product_warehouse_inventory set qty_shipped_not_invoiced=CASE WHEN 0.0 IS NOT NULL THEN GREATEST((358.0 - 358.0) + (0.0 - 0.0), 0) ELSE GREATEST((358.0 - 358.0),0) END where product_id=208960 and warehouse_id=37 and company_id=1 Process 1683271: UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(112.0, 0) + COALESCE(20.0, 0) - COALESCE(2.0, 0) WHERE product_id = 238907 AND warehouse_id = 37 AND company_id = 1
Context: while updating tuple (2973,8) in relation "product_warehouse_inventory"
Hint: See server log for query details.
Statement: update product_warehouse_inventory set qty_shipped_not_invoiced=CASE WHEN 0.0 IS NOT NULL THEN GREATEST((358.0 - 358.0) + (0.0 - 0.0), 0) ELSE GREATEST((358.0 - 358.0),0) END where product_id=208960 and warehouse_id=37 and company_id=1Date: 2024-05-29 12:50:04
Detail: Process 1683247 waits for ShareLock on transaction 265393221; blocked by process 1897513. Process 1897513 waits for ShareLock on transaction 265393241; blocked by process 1683247. Process 1683247: update product_warehouse_inventory set qty_shipped_not_invoiced=CASE WHEN 64.0 IS NOT NULL THEN GREATEST((100.0 - 98.0) + (64.0 - 64.0), 0) ELSE GREATEST((100.0 - 98.0),0) END where product_id=204832 and warehouse_id=42 and company_id=1 Process 1897513: UPDATE product_warehouse_inventory SET qty_mtd_sold = 2.0 - 0 WHERE product_id = 204920 AND warehouse_id = 42
Context: while updating tuple (41517,10) in relation "product_warehouse_inventory"
Hint: See server log for query details.
Statement: update product_warehouse_inventory set qty_shipped_not_invoiced=CASE WHEN 64.0 IS NOT NULL THEN GREATEST((100.0 - 98.0) + (64.0 - 64.0), 0) ELSE GREATEST((100.0 - 98.0),0) END where product_id=204832 and warehouse_id=42 and company_id=1Date: 2024-05-29 12:56:38
Detail: Process 1897671 waits for ShareLock on transaction 265393815; blocked by process 1683199. Process 1683199 waits for ShareLock on transaction 265393810; blocked by process 1897671. Process 1897671: update product_warehouse_inventory set qty_shipped_not_invoiced=CASE WHEN 4.0 IS NOT NULL THEN GREATEST((8.0 - 8.0) + (4.0 - 4.0), 0) ELSE GREATEST((8.0 - 8.0),0) END where product_id=215018 and warehouse_id=43 and company_id=1 Process 1683199: update product_warehouse_inventory set qty_shipped_not_invoiced=CASE WHEN 2828.1 IS NOT NULL THEN GREATEST((0.0 - 0.0) + (2828.1 - 2827.35), 0) ELSE GREATEST((0.0 - 0.0),0) END where product_id=191077 and warehouse_id=43 and company_id=1
Context: while updating tuple (2953,19) in relation "product_warehouse_inventory"
Hint: See server log for query details.
Statement: update product_warehouse_inventory set qty_shipped_not_invoiced=CASE WHEN 4.0 IS NOT NULL THEN GREATEST((8.0 - 8.0) + (4.0 - 4.0), 0) ELSE GREATEST((8.0 - 8.0),0) END where product_id=215018 and warehouse_id=43 and company_id=1Date: 2024-05-29 12:56:53
7 38 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #7
Day Hour Count May 29 00 2 11 26 18 10 - ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT "edi_810_invoice"."id" as "id", "edi_810_invoice"."ref_810" as "ref_810", "edi_810_invoice"."vendor_id" as "vendor_id", "edi_810_invoice"."inventory_vendor_id" as "inventory_vendor_id", "edi_810_invoice"."inv_date" as "inv_date", "edi_810_invoice"."bill_date" as "bill_date", "edi_810_invoice"."due_date" as "due_date", "edi_810_invoice"."bill_total" as "bill_total", "edi_810_invoice"."v_bill_total" as "v_bill_total", "edi_810_invoice"."po_id" as "po_id", "edi_810_invoice"."created" as "created", "edi_810_invoice"."filename" as "filename", "edi_810_invoice"."edi_file" as "edi_file", "edi_810_invoice"."errors" as "errors", "edi_810_invoice"."config_id" as "config_id", "edi_810_invoice"."invoice_process_status" as "invoice_process_status", "edi_810_invoice"."error_type" as "error_type", "edi_810_invoice"."payment_term_id" as "payment_term_id", "edi_810_invoice"."manual_bill" as "manual_bill", "edi_810_invoice"."system_read" as "system_read", "edi_810_invoice"."cutoff_draft" as "cutoff_draft", "edi_810_invoice"."has_charge_line" as "has_charge_line", "edi_810_invoice"."payment_term_code" as "payment_term_code", "edi_810_invoice"."pt_applicable_from" as "pt_applicable_from", "edi_810_invoice"."pt_discount_due_date" as "pt_discount_due_date", "edi_810_invoice"."pt_net_due_date" as "pt_net_due_date", "edi_810_invoice"."pt_description" as "pt_description", "edi_810_invoice"."pt_discount_percent" as "pt_discount_percent", "edi_810_invoice"."pt_total_discount" as "pt_total_discount", "edi_810_invoice"."branch_id" as "branch_id", "edi_810_invoice"."st_branch_indicator" as "st_branch_indicator", "edi_810_invoice"."po_reference" as "po_reference", "edi_810_invoice"."transmission_route" as "transmission_route", "edi_810_invoice"."system_error" as "system_error", "edi_810_invoice"."message_main_attachment_id" as "message_main_attachment_id", "edi_810_invoice"."create_uid" as "create_uid", "edi_810_invoice"."create_date" as "create_date", "edi_810_invoice"."write_uid" as "write_uid", "edi_810_invoice"."write_date" as "write_date" FROM "edi_810_invoice" WHERE "edi_810_invoice".id IN (49370, 49434, 49878, 50503, 50586, 50712, 50784, 50959, 51543, 51619, 51645, 51729, 51905, 51983, 51984, 52047, 52060, 52079, 52097, 52123, 52202, 52204, 52205, 52210, 52212, 52226, 52277, 52286, 52292, 52296, 52300)
Date: 2024-05-29 00:23:06
8 18 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #8
Day Hour Count May 29 16 18 - ERROR: process 2486066 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.058 ms at character 93
- ERROR: process 2491811 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.045 ms at character 34
- ERROR: process 2490738 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.058 ms at character 34
Detail: Processes holding the lock: 2486077, 2490767. Wait queue: 2490379, 2486066, 2491811, 2490738, 2486214.
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='mail.followers' AND (d.user_id IS NULL OR d.user_id=1030) 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: 2024-05-29 16:14:11
Detail: Processes holding the lock: 2486077, 2490767. Wait queue: 2490379, 2486066, 2491811, 2490738, 2486214.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'mail.message') ORDER BY "ir_model_fields"."name"Date: 2024-05-29 16:14:11
Detail: Processes holding the lock: 2486077, 2490767. Wait queue: 2490379, 2486066, 2491811, 2490738, 2486214.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'mail.activity') ORDER BY "ir_model_fields"."name"Date: 2024-05-29 16:14:11
9 12 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #9
Day Hour Count May 29 19 6 20 6 - ERROR: null value in column "date" of relation "account_move" violates not-null constraint
Detail: Failing row contains (1439422, null, null, null, null, null, null, draft, null, entry, f, null, null, 2, null, null, f, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, f, null, null, 1254, null, null, null, null, null, null, null, null, null, null, null, null, null, 1254, 2024-05-29 19:59:31.729882, 1254, 2024-05-29 19:59:31.729882, null, null, no_extract_requested, null, -1, null, null, null, null, null, null, null, null, null, null, null, 1, null, null, null, null, 56, null, null, null, null, null, null, 1, null, f, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, f, f, f, f, null, null, null, null, null, null, 0).
Statement: INSERT INTO "account_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "auto_post", "branch_id", "currency_id", "date", "discount_amount_applied", "edi_billed", "edi_split_lock", "extract_remote_id", "extract_state", "invoice_incoterm_id", "invoice_product_qty", "invoice_user_id", "is_edi_bill", "is_move_sent", "journal_id", "move_type", "open_invoice", "ref", "state", "team_id", "to_check", "to_check_negative") VALUES (nextval('account_move_id_seq'), 1254, (now() at time zone 'UTC'), 1254, (now() at time zone 'UTC'), false, 56, 2, NULL, 0.0, false, false, -1, 'no_extract_requested', NULL, 1.0, 1254, false, false, NULL, 'entry', false, NULL, 'draft', 1, false, false) RETURNING idDate: 2024-05-29 19:59:32
10 12 LOG: process ... still waiting for ShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #10
Day Hour Count May 29 16 12 - ERROR: process 2487908 still waiting for ShareLock on relation 42418 of database 65946 after 1000.066 ms
- ERROR: process 2487908 still waiting for ShareLock on relation 42418 of database 65946 after 1000.045 ms
- ERROR: process 2490379 still waiting for ShareLock on relation 44482 of database 65946 after 1000.062 ms
Detail: Process holding the lock: 2486104. Wait queue: 2487908.
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: 2024-05-29 16:12:45
Detail: Processes holding the lock: 2486694, 2486702. Wait queue: 2487908.
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: 2024-05-29 16:12:58
Detail: Processes holding the lock: 2486705, 2486699, 2490753, 2490762, 2490757, 2490742, 2486071. Wait queue: 2490379.
Statement: CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is trueDate: 2024-05-29 16:13:41
11 11 LOG: process ... still waiting for RowExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #11
Day Hour Count May 29 16 11 - ERROR: process 2486067 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.055 ms at character 13
- ERROR: process 2486232 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.043 ms at character 21
- ERROR: process 2490757 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.064 ms at character 8
Detail: Processes holding the lock: 2486694, 2486702. Wait queue: 2487908, 2486067.
Statement: INSERT INTO "account_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "auto_post", "branch_id", "currency_id", "date", "discount_amount_applied", "edi_billed", "edi_split_lock", "extract_remote_id", "extract_state", "invoice_incoterm_id", "invoice_product_qty", "invoice_user_id", "is_edi_bill", "is_move_sent", "journal_id", "move_type", "open_invoice", "partner_id", "ref", "state", "stock_move_id", "team_id", "to_check", "to_check_negative") VALUES (nextval('account_move_id_seq'), 1047, (now() at time zone 'UTC'), 1047, (now() at time zone 'UTC'), false, 56, 2, '2024-05-29', 0.0, false, false, -1, 'no_extract_requested', NULL, 1.0, 1047, false, false, 6, 'entry', false, 52549, '14-D/OUT/06664 - [M65416] Shock Absorber', 'draft', 969130, 1, false, false) RETURNING idDate: 2024-05-29 16:13:01
Detail: Process holding the lock: 2486694. Wait queue: 2487908, 2486067, 2486232.
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 != 1438161 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 != 1438161 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-05-29 16:13:10
Detail: Process holding the lock: 2490379. Wait queue: 2490757.
Statement: UPDATE "account_move" SET "message_main_attachment_id"=5466224,"write_uid"=1028,"write_date"=(now() at time zone 'UTC') WHERE id IN (1438161)Date: 2024-05-29 16:13:49
12 9 ERROR: canceling statement due to lock timeout
Times Reported Most Frequent Error / Event #12
Day Hour Count May 29 16 9 - ERROR: canceling statement due to lock timeout
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: 2024-05-29 16:13:12
13 6 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #13
Day Hour Count May 29 16 6 - ERROR: could not create unique index "vendor_account_master_unique_acc_no"
Detail: Key (account_number)=(0002609) is duplicated.
Statement: ALTER TABLE "vendor_account_master" ADD CONSTRAINT "vendor_account_master_unique_acc_no" unique (account_number)Date: 2024-05-29 16:12:27
14 3 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #14
Day Hour Count May 29 11 3 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM sale_order_line WHERE id IN (412927)
Date: 2024-05-29 11:39:19
15 2 LOG: process ... still waiting for AccessExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #15
Day Hour Count May 29 16 2 - ERROR: process 2490379 still waiting for AccessExclusiveLock on relation 43699 of database 65946 after 1000.082 ms
- ERROR: process 2495141 still waiting for AccessExclusiveLock on relation 43699 of database 65946 after 1000.043 ms
Detail: Processes holding the lock: 2486696, 2486077, 2490767. Wait queue: 2490379.
Statement: ALTER TABLE ir_model_fields ALTER COLUMN website_form_blacklisted SET DEFAULT trueDate: 2024-05-29 16:14:09
Detail: Processes holding the lock: 2486703, 2486234, 2490767, 2491779, 2490753, 2486700. Wait queue: 2495141.
Statement: ALTER TABLE ir_model_fields ALTER COLUMN website_form_blacklisted SET DEFAULT trueDate: 2024-05-29 16:18:00
16 2 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #16
Day Hour Count May 29 09 1 14 1 - ERROR: could not receive data from client: Connection reset by peer
Date: 2024-05-29 09:40:29
17 2 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #17
Day Hour Count May 29 12 1 14 1 - ERROR: duplicate key value violates unique constraint "product_template_cat_vendor_default_code_unique"
- ERROR: duplicate key value violates unique constraint "mail_followers_mail_followers_res_partner_res_model_id_uniq"
Detail: Key (cat_vendor, default_code)=(Automann, TRK9560-3) already exists.
Statement: UPDATE "product_template" SET "can_image_1024_be_zoomed"=false,"cat_part_type"='Suspension All',"cat_prod_type"='Parts',"cat_vendor"='Automann',"has_configurable_attributes"=false,"inventory_vendor_short_name"='Automann',"raise_core_warning"=false,"rating_last_value"=0.0,"volume"='0.00',"weight"='0.00',"write_uid"=979,"write_date"=(now() at time zone 'UTC') WHERE id IN (267865)Date: 2024-05-29 12:11:08
Detail: Key (res_model, res_id, partner_id)=(sale.order, 142421, 46340) already exists.
Statement: INSERT INTO "mail_followers" ("id", "channel_id", "partner_id", "res_id", "res_model") VALUES (nextval('mail_followers_id_seq'), NULL, 46340, 142421, 'sale.order') RETURNING idDate: 2024-05-29 14:56:20
18 1 LOG: process ... still waiting for AccessShareLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #18
Day Hour Count May 29 16 1 - ERROR: process 2490426 still waiting for AccessShareLock on tuple (44977,2) of relation 3833327 of database 65946 after 1000.036 ms
Detail: Process holding the lock: 2495163. Wait queue: 2497933, 2497934, 2497935, 2490366, 2497936, 2490371, 2497937, 2497938, 2497939, 2497943, 2497944, 2497945, 2490426.
Context: SQL statement "SELECT 1 FROM ONLY "public"."queue_job" x WHERE "id" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
Statement: INSERT INTO queue_job_queue_jobs_to_done_rel (queue_jobs_to_done_id, queue_job_id) VALUES (3, 690406), (3, 690397), (3, 690396), (3, 690395), (3, 690394), (3, 690393), (3, 690219), (3, 690191), (3, 690189), (3, 690188), (3, 690187), (3, 690186), (3, 690185), (3, 690181), (3, 690128), (3, 690127), (3, 690126), (3, 690125), (3, 690124), (3, 690123), (3, 690058), (3, 690057), (3, 690056), (3, 690055), (3, 690054), (3, 690053), (3, 690052), (3, 690051), (3, 690050), (3, 690049), (3, 689936), (3, 689932), (3, 437123), (3, 437077), (3, 436728), (3, 436678) ON CONFLICT DO NOTHINGDate: 2024-05-29 16:17:33
19 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #19
Day Hour Count May 29 10 1 - ERROR: syntax error at or near ")" at character 737
Statement: UPDATE product_warehouse_inventory set qty_reserve = sumqty from ( select sum(sm.product_uom_qty) as sumqty,pw.product_id ,pw.warehouse_id from product_warehouse_inventory as pw left join stock_move as sm on pw.product_id = sm.product_id and pw.warehouse_id =sm.warehouse_id and pw.company_id = sm.company_id and sm.location_dest_id in (5,15,468) and sm.state not in ('done','draft','cancel') and sm.move_options ilike 'new_product%' group BY pw.product_id,pw.warehouse_id) as subquery where product_warehouse_inventory.product_id=subquery.product_id and product_warehouse_inventory.warehouse_id =subquery.warehouse_id and product_warehouse_inventory.product_id in (237157, ) and product_warehouse_inventory.warehouse_id = 35;
Date: 2024-05-29 10:43:28
20 1 ERROR: invalid input syntax for type date: ...
Times Reported Most Frequent Error / Event #20
Day Hour Count May 29 10 1 - ERROR: invalid input syntax for type date: "null" at character 195
Statement: UPDATE product_warehouse_inventory SET qty_in_transist = 2.0 - (2.0), last_intra_company_receipt_date = 'null', last_intra_company_qty = 0 WHERE product_id = 212012 AND warehouse_id = 35
Date: 2024-05-29 10:36:42