-
Global information
- Generated on Tue Aug 29 23:50:27 2023
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 108,533 log entries in 26s
- Log start from 2023-08-28 00:00:05 to 2023-08-28 23:59:02
-
Overview
Global Stats
- 973 Number of unique normalized queries
- 38,752 Number of queries
- 4h57m35s Total query duration
- 2023-08-28 00:05:06 First query
- 2023-08-28 23:59:02 Last query
- 61 queries/s at 2023-08-28 12:42:23 Query peak
- 4h57m35s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 4h57m35s Execute total duration
- 950 Number of events
- 10 Number of unique normalized events
- 533 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
- 38,752 Average queries per session
- 4h57m35s 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
- 61 queries/s Query Peak
- 2023-08-28 12:42:23 Date
SELECT Traffic
Key values
- 61 queries/s Query Peak
- 2023-08-28 12:42:23 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 12 queries/s Query Peak
- 2023-08-28 20:48:51 Date
Queries duration
Key values
- 4h57m35s 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) Aug 28 00 20 0ms 198ms 160ms 1s566ms 1s566ms 1s566ms 01 18 0ms 210ms 170ms 1s129ms 1s129ms 1s129ms 02 39 0ms 1s192ms 208ms 1s478ms 1s707ms 1s707ms 03 12 0ms 222ms 177ms 1s164ms 1s164ms 1s164ms 04 17 0ms 827ms 269ms 1s602ms 1s602ms 1s602ms 05 29 0ms 213ms 173ms 1s592ms 1s592ms 1s592ms 06 23 0ms 1s989ms 395ms 6s152ms 6s152ms 6s152ms 07 91 0ms 2s977ms 268ms 4s72ms 4s454ms 4s454ms 08 165 0ms 1s567ms 247ms 3s980ms 7s558ms 8s42ms 09 158 0ms 3m37s 3s710ms 1m14s 1m22s 4m21s 10 412 0ms 9s720ms 397ms 8s386ms 14s372ms 25s341ms 11 1,615 120ms 1m59s 464ms 21s974ms 38s883ms 2m14s 12 4,396 120ms 16s520ms 384ms 54s96ms 59s411ms 1m7s 13 5,006 120ms 14s264ms 403ms 57s490ms 1m11s 1m36s 14 5,500 120ms 6s349ms 392ms 1m13s 1m33s 1m44s 15 3,821 120ms 20s891ms 397ms 40s975ms 44s267ms 58s788ms 16 3,210 120ms 27s481ms 466ms 37s836ms 1m8s 1m15s 17 3,255 120ms 1m27s 503ms 1m 1m11s 2m30s 18 3,674 120ms 21s975ms 577ms 1m4s 1m11s 1m32s 19 4,230 120ms 38s171ms 450ms 55s327ms 1m8s 1m24s 20 2,407 120ms 1m4s 557ms 1m3s 1m16s 1m56s 21 532 0ms 19s100ms 466ms 11s945ms 14s461ms 40s619ms 22 51 0ms 2s92ms 381ms 4s904ms 6s499ms 6s499ms 23 71 0ms 16s565ms 1s405ms 21s546ms 30s482ms 30s482ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 28 00 20 0 160ms 1s32ms 1s566ms 1s566ms 01 18 0 170ms 976ms 1s129ms 1s129ms 02 39 0 208ms 1s272ms 1s478ms 1s707ms 03 12 0 177ms 841ms 1s164ms 1s164ms 04 13 0 276ms 1s109ms 1s241ms 1s241ms 05 29 0 173ms 1s206ms 1s592ms 1s592ms 06 19 0 154ms 1s300ms 1s503ms 1s503ms 07 87 0 197ms 1s840ms 3s890ms 4s454ms 08 165 0 247ms 3s32ms 3s980ms 8s42ms 09 52 80 4s385ms 52s643ms 1m14s 4m20s 10 340 0 382ms 5s80ms 6s689ms 25s2ms 11 1,132 0 408ms 13s285ms 18s6ms 38s696ms 12 3,220 0 401ms 30s41ms 47s133ms 51s382ms 13 3,203 0 446ms 31s218ms 38s347ms 52s835ms 14 3,531 0 423ms 39s352ms 42s56ms 59s310ms 15 2,170 0 401ms 20s283ms 25s887ms 36s997ms 16 2,269 0 472ms 23s722ms 26s67ms 51s714ms 17 2,173 0 432ms 21s747ms 27s52ms 42s18ms 18 2,321 0 697ms 39s499ms 52s989ms 1m12s 19 2,579 0 512ms 28s632ms 39s472ms 58s582ms 20 1,655 0 678ms 24s717ms 1m 1m20s 21 316 0 544ms 5s43ms 9s370ms 40s619ms 22 18 0 264ms 1s58ms 1s87ms 1s958ms 23 45 0 189ms 889ms 1s129ms 1s174ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 28 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 4 0 0 246ms 0ms 491ms 493ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 4 0 1s538ms 0ms 0ms 6s152ms 07 0 0 4 0 1s812ms 0ms 0ms 4s72ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 26 0 0 283ms 0ms 0ms 3s764ms 10 1 70 0 0 398ms 170ms 667ms 4s966ms 11 56 408 19 0 597ms 3s308ms 4s19ms 12s295ms 12 43 1,090 37 0 339ms 6s582ms 10s86ms 15s873ms 13 26 1,676 88 0 326ms 9s384ms 12s945ms 19s312ms 14 35 1,901 31 0 335ms 6s52ms 13s539ms 45s739ms 15 32 1,564 49 0 392ms 9s356ms 15s526ms 23s3ms 16 48 864 28 0 452ms 4s400ms 7s717ms 33s435ms 17 37 961 79 0 647ms 6s813ms 9s997ms 38s844ms 18 48 1,233 71 0 372ms 6s830ms 11s246ms 18s985ms 19 70 1,543 35 0 353ms 9s233ms 13s246ms 23s577ms 20 34 715 3 0 290ms 3s64ms 6s155ms 9s5ms 21 10 203 2 0 353ms 1s658ms 2s566ms 6s683ms 22 0 29 4 0 445ms 0ms 2s100ms 6s363ms 23 0 1 25 0 3s508ms 0ms 14s276ms 30s482ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Aug 28 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 Aug 28 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 Aug 28 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 Aug 28 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 Aug 28 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) Aug 28 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 Aug 28 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 Aug 28 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 Aug 28 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
- 21 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 2 20s349ms 6s227ms 14s122ms 10s174ms update "sale_order" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (76232);
Date: 2023-08-28 14:34:30
2 10 16s83ms 1s174ms 3s828ms 1s608ms 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 != 846707 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 != 846707 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2023-08-28 15:52:27
3 1 9s717ms 9s717ms 9s717ms 9s717ms insert into "account_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "auto_post", "branch_id", "currency_id", "date", "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", "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'), 1018, (now() at time zone 'UTC'), 1018, (now() at time zone 'UTC'), false, 38, 2, '2023-08-28', false, false, - 1, 'no_extract_requested', NULL, 1.0, 1018, false, false, 6, 'entry', false, 42104, '03-C/OUT/09842 - [4707Q] 16.5 X 7 Shoe Core RW Q Plus', 'draft', 560010, 1, false, false) RETURNING id;
Date: 2023-08-28 10:21:19
-
INSERT INTO "account_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "auto_post", "branch_id", "currency_id", "date", "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'), 1018, (now() at time zone 'UTC'), 1018, (now() at time zone 'UTC'), false, 38, 2, '2023-08-28', false, false, - 1, 'no_extract_requested', NULL, 1.0, 1018, false, false, 6, 'entry', false, 42104, '03-C/OUT/09842 - [4707Q] 16.5 X 7 Shoe Core RW Q Plus', 'draft', 560010, 1, false, false) RETURNING id;
Date: 2023-08-28 10:21:19
4 3 9s317ms 6s131ms 6s131ms 3s105ms update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (222272, 223073, 223075, 223076, 222085, 223045, 222279, 222088, 222280, 222281, 222091, 223046, 223047, 223057, 222260, 222077);
Date: 2023-08-28 14:34:07
-
UPDATE "sale_order_line" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (222272);
Date: 2023-08-28 14:17:44
-
UPDATE "sale_order_line" SET "write_uid" = 1143, "write_date" = (now() at time zone 'UTC') WHERE id IN (226147, 226148, 226151, 226133, 226134, 226138, 226142);
Date: 2023-08-28 20:48:50
5 2 6s439ms 2s494ms 3s945ms 3s219ms update "sale_order" set "carrier_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "carrier_id" = 69, "write_uid" = 1143, "write_date" = (now() at time zone 'UTC') WHERE id IN (77552);
Date: 2023-08-28 20:48:56
-
UPDATE "sale_order" SET "carrier_id" = 69, "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (76232);
Date: 2023-08-28 14:34:15
-
UPDATE "sale_order" SET "carrier_id" = 69, "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (76232);
Date: 2023-08-28 14:34:15
6 1 5s610ms 5s610ms 5s610ms 5s610ms create index if not exists account_move_to_check_idx on account_move (journal_id) where to_check = true; create index if not exists account_move_payment_idx on account_move (journal_id, state, payment_state, move_type, date);-
CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move (journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move (journal_id, state, payment_state, move_type, date);
Date: 2023-08-28 10:21:25
-
CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move (journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move (journal_id, state, payment_state, move_type, date);
Date: 2023-08-28 10:21:25
7 1 1s391ms 1s391ms 1s391ms 1s391ms 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" = 3223689, "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (846707);
Date: 2023-08-28 15:51:43
8 1 1s170ms 1s170ms 1s170ms 1s170ms insert into account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) values (?, ?) on conflict do nothing;-
INSERT INTO account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) VALUES (226114, 2122) ON CONFLICT DO NOTHING;
Date: 2023-08-28 20:16:28
Queries that waited the most
Rank Wait time Query 1 14s122ms UPDATE "sale_order" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (76232);[ Date: 2023-08-28 14:34:30 ]
2 9s717ms INSERT INTO "account_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "auto_post", "branch_id", "currency_id", "date", "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'), 1018, (now() at time zone 'UTC'), 1018, (now() at time zone 'UTC'), false, 38, 2, '2023-08-28', false, false, - 1, 'no_extract_requested', NULL, 1.0, 1018, false, false, 6, 'entry', false, 42104, '03-C/OUT/09842 - [4707Q] 16.5 X 7 Shoe Core RW Q Plus', 'draft', 560010, 1, false, false) RETURNING id;[ Date: 2023-08-28 10:21:19 ]
3 6s227ms UPDATE "sale_order" SET "write_uid" = 1143, "write_date" = (now() at time zone 'UTC') WHERE id IN (77552);[ Date: 2023-08-28 20:49:04 ]
4 6s131ms UPDATE "sale_order_line" SET "write_uid" = 1147, "write_date" = (now() at time zone 'UTC') WHERE id IN (226114);[ Date: 2023-08-28 20:16:49 ]
5 5s610ms CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move (journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move (journal_id, state, payment_state, move_type, date);[ Date: 2023-08-28 10:21:25 ]
6 3s945ms UPDATE "sale_order" SET "carrier_id" = 69, "write_uid" = 1143, "write_date" = (now() at time zone 'UTC') WHERE id IN (77552);[ Date: 2023-08-28 20:48:56 ]
7 3s828ms 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 != 845799 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 != 845799 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-08-28 13:03:13 ]
8 2s494ms UPDATE "sale_order" SET "carrier_id" = 69, "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (76232);[ Date: 2023-08-28 14:34:15 ]
9 2s4ms UPDATE "sale_order_line" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (222077);[ Date: 2023-08-28 14:17:58 ]
10 1s747ms 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 != 833614 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 != 833614 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-08-28 14:20:08 ]
11 1s641ms 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 != 812459 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 != 812459 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-08-28 17:33:23 ]
12 1s484ms 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 != 846720 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 != 846720 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-08-28 15:53:04 ]
13 1s391ms UPDATE "account_move" SET "email_send_eod" = false, "email_sent" = true, "message_main_attachment_id" = 3223689, "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (846707);[ Date: 2023-08-28 15:51:43 ]
14 1s287ms 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 != 790794 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 != 790794 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-08-28 13:23:45 ]
15 1s273ms 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 != 767185 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 != 767185 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-08-28 15:56:51 ]
16 1s229ms 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 != 846047 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 != 846047 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-08-28 13:47:45 ]
17 1s224ms 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 != 845259 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 != 845259 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-08-28 12:58:42 ]
18 1s193ms 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 != 845890 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 != 845890 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-08-28 13:26:08 ]
19 1s181ms UPDATE "sale_order_line" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (222272);[ Date: 2023-08-28 14:17:44 ]
20 1s174ms 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 != 846707 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 != 846707 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-08-28 15:52:27 ]
-
Queries
Queries by type
Key values
- 25,426 Total read queries
- 13,326 Total write queries
Queries by database
Key values
- unknown Main database
- 38,752 Requests
- 4h57m35s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 38,752 Requests
User Request type Count Duration unknown Total 38,752 4h57m35s copy to 80 9m27s cte 38 9s730ms ddl 1 5s610ms delete 479 18m46s insert 440 1m55s select 25,426 3h20m36s update 12,288 1h6m34s Duration by user
Key values
- 4h57m35s (unknown) Main time consuming user
User Request type Count Duration unknown Total 38,752 4h57m35s copy to 80 9m27s cte 38 9s730ms ddl 1 5s610ms delete 479 18m46s insert 440 1m55s select 25,426 3h20m36s update 12,288 1h6m34s Queries by host
Key values
- unknown Main host
- 38,752 Requests
- 4h57m35s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 38,752 Requests
- 4h57m35s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2023-08-28 13:21:56 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 26,481 100-500ms duration
Slowest individual queries
Rank Duration Query 1 3m37s 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: 2023-08-28 09:07:14 ]
2 1m59s DELETE FROM stock_inventory_line WHERE id IN (2845746, 2845747, 2845748, 2845749, 2846158, 2846159, 2846160, 2846161, 2846162, 2845750, 2846163, 2846164, 2846165, 2846166, 2846167, 2846168, 2846169, 2846170, 2846171, 2846172, 2846173, 2846174, 2846175, 2846176, 2845751, 2846074, 2845752, 2846177, 2845753, 2846178, 2846179, 2846075, 2845754, 2845755, 2845756, 2846180, 2846181, 2845757, 2846182, 2846183, 2846184, 2846185, 2846186, 2845758, 2846187, 2846188, 2845759, 2846189, 2846190, 2846191, 2845760, 2846192, 2846193, 2846194, 2846267, 2846195, 2846196, 2846197, 2846281, 2846198, 2846199, 2846200, 2846201, 2846202, 2846203, 2846204, 2846205, 2846206, 2845761, 2846207, 2846208, 2846209, 2846210, 2846211, 2846212, 2846213, 2846035, 2846214, 2846215, 2846271, 2846216, 2845762, 2846217, 2846218, 2846219, 2846220, 2846221, 2846222, 2846223, 2846274, 2846224, 2846225, 2846226, 2846227, 2846228, 2846229, 2846230, 2846231, 2846277, 2846232, 2846233, 2846279, 2846234, 2846280, 2846235, 2845763, 2845764, 2846273, 2846236, 2846237, 2846275, 2846238, 2846239, 2846278, 2846240, 2846241, 2846276, 2846242, 2846243, 2846244, 2846245, 2846246, 2846247, 2846248, 2846270, 2846249, 2846250, 2846251, 2846252, 2846268, 2846253, 2846254, 2846255, 2845765, 2846256, 2846257, 2846258, 2846259, 2846269, 2846260, 2846272, 2846261, 2846262, 2846263, 2845766, 2846264, 2846265, 2845767, 2845768, 2846144, 2845769, 2846047, 2846062, 2846010, 2846148, 2845770, 2846080, 2846095, 2846002, 2846060, 2845771, 2846049, 2845772, 2846056, 2846085, 2846093, 2846108, 2846109, 2845993, 2846055, 2846023, 2846031, 2846125, 2846076, 2846110, 2846086, 2845773, 2846149, 2846012, 2846138, 2846098, 2846119, 2846087, 2846106, 2846050, 2846135, 2846008, 2846024, 2846044, 2846153, 2846006, 2845774, 2846057, 2845775, 2846026, 2846088, 2846101, 2845776, 2845777, 2846114, 2845778, 2845779, 2845780, 2846032, 2845781, 2845782, 2845783, 2845784, 2845785, 2845786, 2845787, 2845788, 2845789, 2845790, 2845791, 2845792, 2845793, 2846152, 2845794, 2845795, 2846145, 2846019, 2845796, 2846016, 2845797, 2845798, 2845799, 2845800, 2845801, 2845802, 2845803, 2845804, 2845805, 2845806, 2845807, 2845808, 2845809, 2845810, 2845811, 2846266, 2845812, 2845813, 2845814, 2846000, 2845815, 2846092, 2845816, 2845817, 2845818, 2845819, 2846118, 2845820, 2846102, 2846123, 2846045, 2846122, 2846083, 2846043, 2845821, 2846090, 2845999, 2846156, 2845822, 2846009, 2846120, 2845823, 2845824, 2846015, 2846046, 2845825, 2845826, 2846063, 2845827, 2845828, 2845829, 2845830, 2845831, 2845832, 2845833, 2845834, 2845835, 2845836, 2845837, 2845838, 2845839, 2845840, 2845841, 2845842, 2845843, 2845844, 2846116, 2846142, 2845845, 2846007, 2845846, 2845847, 2845848, 2845849, 2845850, 2846072, 2845851, 2845852, 2845853, 2845854, 2846157, 2845855, 2845856, 2845857, 2845858, 2845859, 2845860, 2845861, 2846011, 2846139, 2846099, 2846104, 2845862, 2845863, 2846029, 2846021, 2845864, 2846081, 2846136, 2846082, 2846040, 2846151, 2846048, 2846041, 2845865, 2845866, 2845867, 2845996, 2845868, 2846053, 2845869, 2845870, 2845871, 2845872, 2845873, 2845874, 2846070, 2845875, 2845876, 2845877, 2845878, 2845879, 2845880, 2846020, 2845881, 2845882, 2845883, 2845884, 2846028, 2845885, 2845886, 2846124, 2845887, 2846014, 2845888, 2845889, 2845890, 2846017, 2846117, 2845891, 2846094, 2846022, 2845892, 2845893, 2846127, 2845894, 2845895, 2846146, 2846065, 2845896, 2846051, 2845897, 2845898, 2845899, 2845900, 2845901, 2845902, 2845903, 2845904, 2845905, 2846154, 2845906, 2845907, 2846137, 2845908, 2845909, 2845910, 2845911, 2845912, 2846018, 2845913, 2845914, 2845915, 2845916, 2846126, 2845917, 2846147, 2845918, 2845919, 2845920, 2845921, 2845922, 2845923, 2846143, 2846069, 2845924, 2846089, 2845925, 2845926, 2846054, 2845927, 2846155, 2845928, 2845929, 2846036, 2845930, 2845931, 2845932, 2846130, 2845933, 2846096, 2845934, 2845935, 2845936, 2845937, 2845938, 2845939, 2846038, 2845940, 2846058, 2846111, 2846150, 2846128, 2846052, 2845941, 2845942, 2846140, 2846129, 2846039, 2846131, 2846134, 2845943, 2845998, 2845944, 2846112, 2845997, 2846077, 2846079, 2846141, 2846030, 2846115, 2846100, 2846061, 2845945, 2845946, 2846132, 2846097, 2846025, 2846078, 2846133, 2846059, 2846004, 2846003, 2846073, 2845947, 2846121, 2846107, 2845948, 2845949, 2845950, 2845951, 2845952, 2846066, 2845953, 2846067, 2845954, 2846064, 2846084, 2846005, 2846071, 2846113, 2845955, 2845956, 2845957, 2845958, 2845959, 2845960, 2845961, 2845962, 2845963, 2845964, 2845965, 2846103, 2845966, 2846013, 2845967, 2846034, 2845968, 2845969, 2846091, 2846068, 2846042, 2846001, 2845970, 2845971, 2846027, 2845972, 2845973, 2845974, 2845975, 2845976, 2845977, 2846037, 2846033, 2845978, 2845979, 2845980, 2845981, 2845982, 2845994, 2845983, 2845995, 2845984, 2845985, 2846105, 2845986, 2845987, 2845988, 2845989, 2845990, 2845991, 2845992);[ Date: 2023-08-28 11:53:49 ]
3 1m27s DELETE FROM account_move_line WHERE id IN (3010088, 3010089, 3010090, 3010091, 3010092, 3010093, 3010094, 3010095, 3010096, 3010097, 3010098, 3010099, 3010100, 3010101, 3010102, 3010103, 3010104, 3010105, 3010106, 3010107, 3010108, 3010109, 3010110, 3010111, 3010112, 3010113, 3010114, 3010115, 3010116, 3010117, 3010118, 3010119, 3010120, 3010121, 3010122, 3010123, 3010124, 3010125, 3010126, 3010127, 3010128, 3010129, 3010130, 3010131, 3010132, 3010133, 3010134, 3010135, 3010136, 3010137, 3010138, 3010139, 3010140, 3010141, 3010142, 3010143, 3010144, 3010145, 3010146, 3010147, 3010148, 3010149, 3010150, 3010151, 3010152, 3010153, 3010154, 3010155, 3010156, 3010157, 3010158, 3010159, 3010160, 3010161, 3010162, 3010163, 3010164, 3010165, 3010166, 3010167, 3010168, 3010169, 3010170, 3010171, 3010172, 3010173);[ Date: 2023-08-28 17:22:09 ]
4 1m16s COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, ref_id, ref) TO stdout;[ Date: 2023-08-28 09:02:18 ]
5 1m13s 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: 2023-08-28 09:03:37 ]
6 1m11s DELETE FROM account_move_line WHERE id IN (3010247, 3010248, 3010249, 3010250, 3010251, 3010252, 3010253, 3010254, 3010255, 3010256, 3010257, 3010258, 3010259, 3010260, 3010261, 3010262, 3010263, 3010264, 3010265, 3010266, 3010267, 3010268, 3010273, 3010274, 3010275, 3010276, 3010281, 3010282, 3010283, 3010284, 3010287, 3010288, 3010289, 3010290, 3010291, 3010292, 3010293, 3010294, 3010295, 3010296, 3010297, 3010298, 3010299, 3010300, 3010301, 3010302, 3010303, 3010304, 3010305, 3010306, 3010307, 3010308, 3010309, 3010310, 3010311, 3010312, 3010313, 3010314, 3010315, 3010316, 3010317, 3010318, 3010319, 3010320, 3010321, 3010322, 3010323, 3010324, 3010332, 3010333);[ Date: 2023-08-28 17:33:11 ]
7 1m4s SELECT min("sale_history_line".id) AS id, count("sale_history_line".id) AS "invoice_date_count", sum("sale_history_line"."product_uom_qty") AS "product_uom_qty", sum("sale_history_line"."cost_price_unit") AS "cost_price_unit", sum("sale_history_line"."cost_subtotal") AS "cost_subtotal", sum("sale_history_line"."price_unit") AS "price_unit", sum("sale_history_line"."price_subtotal") AS "price_subtotal", sum("sale_history_line"."gross_profit") AS "gross_profit", date_trunc('year', "sale_history_line"."invoice_date"::timestamp) as "invoice_date:year" FROM "sale_history_line" WHERE (((((((((((((((((unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%21089%')) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22259%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22269%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%23532%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%39507%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41303%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41313%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41323%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41324%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41325%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%42555%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43003%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43884%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%50833%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%57203%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%58001%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%71402%'))) GROUP BY date_trunc('year', "sale_history_line"."invoice_date"::timestamp) ORDER BY "invoice_date:year" LIMIT 80;[ Date: 2023-08-28 20:06:54 ]
8 1m3s SELECT min("sale_history_line".id) AS id, count("sale_history_line".id) AS "invoice_date_count", sum("sale_history_line"."product_uom_qty") AS "product_uom_qty", sum("sale_history_line"."cost_price_unit") AS "cost_price_unit", sum("sale_history_line"."cost_subtotal") AS "cost_subtotal", sum("sale_history_line"."price_unit") AS "price_unit", sum("sale_history_line"."price_subtotal") AS "price_subtotal", sum("sale_history_line"."gross_profit") AS "gross_profit", date_trunc('year', "sale_history_line"."invoice_date"::timestamp) as "invoice_date:year" FROM "sale_history_line" WHERE (((((((((((((((((unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%21089%')) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22259%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22269%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%23532%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%39507%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41303%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41313%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41323%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41324%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41325%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%42555%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43003%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43884%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%50833%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%57203%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%58001%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%71402%'))) GROUP BY date_trunc('year', "sale_history_line"."invoice_date"::timestamp) ORDER BY "invoice_date:year" LIMIT 80;[ Date: 2023-08-28 20:08:07 ]
9 1m SELECT min("sale_history_line".id) AS id, count("sale_history_line".id) AS "invoice_date_count", sum("sale_history_line"."product_uom_qty") AS "product_uom_qty", sum("sale_history_line"."cost_price_unit") AS "cost_price_unit", sum("sale_history_line"."cost_subtotal") AS "cost_subtotal", sum("sale_history_line"."price_unit") AS "price_unit", sum("sale_history_line"."price_subtotal") AS "price_subtotal", sum("sale_history_line"."gross_profit") AS "gross_profit", date_trunc('year', "sale_history_line"."invoice_date"::timestamp) as "invoice_date:year" FROM "sale_history_line" WHERE ((((((((((((((((unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%21089%')) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22259%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22269%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%23532%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%39507%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41303%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41313%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41323%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41324%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41325%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%42555%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43003%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43884%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%50833%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%57203%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%58001%'))) GROUP BY date_trunc('year', "sale_history_line"."invoice_date"::timestamp) ORDER BY "invoice_date:year" LIMIT 80;[ Date: 2023-08-28 20:05:20 ]
10 56s757ms SELECT min("sale_history_line".id) AS id, count("sale_history_line".id) AS "invoice_date_count", sum("sale_history_line"."product_uom_qty") AS "product_uom_qty", sum("sale_history_line"."cost_price_unit") AS "cost_price_unit", sum("sale_history_line"."cost_subtotal") AS "cost_subtotal", sum("sale_history_line"."price_unit") AS "price_unit", sum("sale_history_line"."price_subtotal") AS "price_subtotal", sum("sale_history_line"."gross_profit") AS "gross_profit", date_trunc('year', "sale_history_line"."invoice_date"::timestamp) as "invoice_date:year" FROM "sale_history_line" WHERE (((((((((((((((unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%21089%')) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22259%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22269%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%23532%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%39507%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41303%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41313%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41323%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41324%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41325%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%42555%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43003%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43884%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%50833%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%57203%'))) GROUP BY date_trunc('year', "sale_history_line"."invoice_date"::timestamp) ORDER BY "invoice_date:year" LIMIT 80;[ Date: 2023-08-28 20:04:11 ]
11 52s773ms SELECT min("sale_history_line".id) AS id, count("sale_history_line".id) AS "invoice_date_count", sum("sale_history_line"."product_uom_qty") AS "product_uom_qty", sum("sale_history_line"."cost_price_unit") AS "cost_price_unit", sum("sale_history_line"."cost_subtotal") AS "cost_subtotal", sum("sale_history_line"."price_unit") AS "price_unit", sum("sale_history_line"."price_subtotal") AS "price_subtotal", sum("sale_history_line"."gross_profit") AS "gross_profit", date_trunc('year', "sale_history_line"."invoice_date"::timestamp) as "invoice_date:year" FROM "sale_history_line" WHERE ((((((((((((((unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%21089%')) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22259%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22269%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%23532%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%39507%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41303%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41313%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41323%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41324%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41325%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%42555%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43003%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43884%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%50833%'))) GROUP BY date_trunc('year', "sale_history_line"."invoice_date"::timestamp) ORDER BY "invoice_date:year" LIMIT 80;[ Date: 2023-08-28 20:03:05 ]
12 49s180ms DELETE FROM account_move WHERE id IN (847468, 847469, 847470, 847471, 847472, 847473, 847474, 847475, 847476, 847477, 847478, 847479, 847480, 847481, 847482, 847483, 847484, 847485, 847486, 847487, 847488, 847489, 847490, 847491, 847492, 847493, 847494, 847495, 847496, 847497, 847498, 847499, 847500, 847501, 847502, 847503, 847504, 847505, 847506, 847507, 847508, 847509, 847510);[ Date: 2023-08-28 17:22:59 ]
13 49s97ms SELECT min("sale_history_line".id) AS id, count("sale_history_line".id) AS "invoice_date_count", sum("sale_history_line"."product_uom_qty") AS "product_uom_qty", sum("sale_history_line"."cost_price_unit") AS "cost_price_unit", sum("sale_history_line"."cost_subtotal") AS "cost_subtotal", sum("sale_history_line"."price_unit") AS "price_unit", sum("sale_history_line"."price_subtotal") AS "price_subtotal", sum("sale_history_line"."gross_profit") AS "gross_profit", date_trunc('year', "sale_history_line"."invoice_date"::timestamp) as "invoice_date:year" FROM "sale_history_line" WHERE (((((((((((((unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%21089%')) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22259%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22269%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%23532%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%39507%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41303%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41313%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41323%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41324%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41325%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%42555%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43003%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43884%'))) GROUP BY date_trunc('year', "sale_history_line"."invoice_date"::timestamp) ORDER BY "invoice_date:year" LIMIT 80;[ Date: 2023-08-28 20:02:04 ]
14 45s336ms SELECT min("sale_history_line".id) AS id, count("sale_history_line".id) AS "invoice_date_count", sum("sale_history_line"."product_uom_qty") AS "product_uom_qty", sum("sale_history_line"."cost_price_unit") AS "cost_price_unit", sum("sale_history_line"."cost_subtotal") AS "cost_subtotal", sum("sale_history_line"."price_unit") AS "price_unit", sum("sale_history_line"."price_subtotal") AS "price_subtotal", sum("sale_history_line"."gross_profit") AS "gross_profit", date_trunc('year', "sale_history_line"."invoice_date"::timestamp) as "invoice_date:year" FROM "sale_history_line" WHERE ((((((((((((unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%21089%')) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22259%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22269%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%23532%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%39507%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41303%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41313%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41323%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41324%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41325%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%42555%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%43003%'))) GROUP BY date_trunc('year', "sale_history_line"."invoice_date"::timestamp) ORDER BY "invoice_date:year" LIMIT 80;[ Date: 2023-08-28 20:01:01 ]
15 42s718ms SELECT min("sale_history_line".id) AS id, count("sale_history_line".id) AS "invoice_date_count", sum("sale_history_line"."product_uom_qty") AS "product_uom_qty", sum("sale_history_line"."cost_price_unit") AS "cost_price_unit", sum("sale_history_line"."cost_subtotal") AS "cost_subtotal", sum("sale_history_line"."price_unit") AS "price_unit", sum("sale_history_line"."price_subtotal") AS "price_subtotal", sum("sale_history_line"."gross_profit") AS "gross_profit", date_trunc('year', "sale_history_line"."invoice_date"::timestamp) as "invoice_date:year" FROM "sale_history_line" WHERE (((((((((((unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%21089%')) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22259%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22269%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%23532%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%39507%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41303%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41313%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41323%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41324%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41325%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%42555%'))) GROUP BY date_trunc('year', "sale_history_line"."invoice_date"::timestamp) ORDER BY "invoice_date:year" LIMIT 80;[ Date: 2023-08-28 20:00:07 ]
16 39s903ms DELETE FROM account_move WHERE id IN (799474, 799473, 799477, 799476, 799475, 799478, 799480, 799479, 799483, 799482, 799481, 799485, 799484, 799486, 799488, 799487, 799495, 799494, 799493, 799492, 799491, 799490, 799489, 799500, 799499, 799498, 799497, 799496, 799501, 799503, 799502, 799505, 799504, 799507, 799506);[ Date: 2023-08-28 17:33:51 ]
17 38s171ms SELECT min("sale_history_line".id) AS id, count("sale_history_line".id) AS "invoice_date_count", sum("sale_history_line"."product_uom_qty") AS "product_uom_qty", sum("sale_history_line"."cost_price_unit") AS "cost_price_unit", sum("sale_history_line"."cost_subtotal") AS "cost_subtotal", sum("sale_history_line"."price_unit") AS "price_unit", sum("sale_history_line"."price_subtotal") AS "price_subtotal", sum("sale_history_line"."gross_profit") AS "gross_profit", date_trunc('year', "sale_history_line"."invoice_date"::timestamp) as "invoice_date:year" FROM "sale_history_line" WHERE ((((((((((unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%21089%')) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22259%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22269%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%23532%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%39507%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41303%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41313%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41323%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41324%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41325%'))) GROUP BY date_trunc('year', "sale_history_line"."invoice_date"::timestamp) ORDER BY "invoice_date:year" LIMIT 80;[ Date: 2023-08-28 19:59:15 ]
18 34s339ms SELECT min("sale_history_line".id) AS id, count("sale_history_line".id) AS "invoice_date_count", sum("sale_history_line"."product_uom_qty") AS "product_uom_qty", sum("sale_history_line"."cost_price_unit") AS "cost_price_unit", sum("sale_history_line"."cost_subtotal") AS "cost_subtotal", sum("sale_history_line"."price_unit") AS "price_unit", sum("sale_history_line"."price_subtotal") AS "price_subtotal", sum("sale_history_line"."gross_profit") AS "gross_profit", date_trunc('year', "sale_history_line"."invoice_date"::timestamp) as "invoice_date:year" FROM "sale_history_line" WHERE (((((((((unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%21089%')) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22259%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22269%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%23532%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%39507%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41303%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41313%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41323%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41324%'))) GROUP BY date_trunc('year', "sale_history_line"."invoice_date"::timestamp) ORDER BY "invoice_date:year" LIMIT 80;[ Date: 2023-08-28 19:58:09 ]
19 32s280ms COPY public.website_visitor (id, name, access_token, active, website_id, partner_id, country_id, lang_id, timezone, visit_count, create_date, last_connection_datetime, create_uid, write_uid, write_date) TO stdout;[ Date: 2023-08-28 09:09:35 ]
20 30s818ms SELECT min("sale_history_line".id) AS id, count("sale_history_line".id) AS "invoice_date_count", sum("sale_history_line"."product_uom_qty") AS "product_uom_qty", sum("sale_history_line"."cost_price_unit") AS "cost_price_unit", sum("sale_history_line"."cost_subtotal") AS "cost_subtotal", sum("sale_history_line"."price_unit") AS "price_unit", sum("sale_history_line"."price_subtotal") AS "price_subtotal", sum("sale_history_line"."gross_profit") AS "gross_profit", date_trunc('year', "sale_history_line"."invoice_date"::timestamp) as "invoice_date:year" FROM "sale_history_line" WHERE ((((((((unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%21089%')) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22259%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%22269%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%23532%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%39507%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41303%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41313%'))) OR (unaccent ("sale_history_line"."contact_reference"::text) ilike unaccent ('%41323%'))) GROUP BY date_trunc('year', "sale_history_line"."invoice_date"::timestamp) ORDER BY "invoice_date:year" LIMIT 80;[ Date: 2023-08-28 19:57:29 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 43m4s 4,389 537ms 969ms 588ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 28 10 130 1m13s 568ms 11 158 1m30s 574ms 12 421 4m5s 584ms 13 582 5m48s 598ms 14 614 6m2s 590ms 15 447 4m23s 588ms 16 439 4m29s 613ms 17 354 3m29s 591ms 18 405 3m55s 582ms 19 510 4m58s 585ms 20 226 2m8s 570ms 21 103 58s273ms 565ms -
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 ('%%21315%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%21315%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%21315%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 14:28:16 Duration: 969ms
-
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 ('%%80274%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%80274%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%80274%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 13:17:08 Duration: 947ms
-
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 ('%%802745%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%802745%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%802745%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 13:17:08 Duration: 944ms
2 15m15s 3,954 120ms 510ms 231ms 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 #2
Day Hour Count Duration Avg duration Aug 28 00 20 3s206ms 160ms 01 18 3s77ms 170ms 02 32 5s316ms 166ms 03 11 2s6ms 182ms 04 9 1s381ms 153ms 05 28 4s882ms 174ms 06 19 2s934ms 154ms 07 49 8s482ms 173ms 08 137 25s574ms 186ms 09 34 5s785ms 170ms 10 77 15s593ms 202ms 11 88 15s327ms 174ms 12 585 2m38s 270ms 13 448 1m50s 247ms 14 305 1m22s 271ms 15 416 1m35s 228ms 16 461 1m49s 237ms 17 181 37s662ms 208ms 18 231 49s921ms 216ms 19 500 1m55s 231ms 20 204 43s261ms 212ms 21 47 8s916ms 189ms 22 12 2s146ms 178ms 23 42 7s175ms 170ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-08-28 19:44:13') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_974"', '["pointspring_master","calendar.alarm",19512]', '["pointspring_master","mail.channel",419]', '["pointspring_master","mail.channel",420]', '["pointspring_master","mail.channel",421]', '["pointspring_master","mail.channel",489]', '["pointspring_master","res.partner",19512]', '["pointspring_master","ir.needaction",19512]'))) ORDER BY "bus_bus"."id";
Date: 2023-08-28 19:45:04 Duration: 510ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-08-28 19:44:13') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1021"', '["pointspring_master","calendar.alarm",19559]', '["pointspring_master","mail.channel",132]', '["pointspring_master","mail.channel",133]', '["pointspring_master","mail.channel",134]', '["pointspring_master","mail.channel",135]', '["pointspring_master","mail.channel",499]', '["pointspring_master","res.partner",19559]', '["pointspring_master","ir.needaction",19559]'))) ORDER BY "bus_bus"."id";
Date: 2023-08-28 19:45:04 Duration: 498ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-08-28 14:06:04') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_961"', '["pointspring_master","calendar.alarm",19499]', '["pointspring_master","mail.channel",201]', '["pointspring_master","mail.channel",202]', '["pointspring_master","mail.channel",430]', '["pointspring_master","mail.channel",440]', '["pointspring_master","res.partner",19499]', '["pointspring_master","ir.needaction",19499]'))) ORDER BY "bus_bus"."id";
Date: 2023-08-28 14:06:55 Duration: 498ms
3 12m2s 1,225 547ms 997ms 589ms 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 #3
Day Hour Count Duration Avg duration Aug 28 08 2 1s123ms 561ms 11 6 3s534ms 589ms 12 237 2m21s 597ms 13 173 1m41s 584ms 14 278 2m44s 592ms 15 67 39s222ms 585ms 16 11 6s679ms 607ms 17 60 35s469ms 591ms 18 124 1m12s 588ms 19 174 1m40s 579ms 20 93 55s171ms 593ms -
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 ('%%5043%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5043%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5043%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 12:54:13 Duration: 997ms
-
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 ('%%504364%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%504364%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%504364%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 12:54:14 Duration: 963ms
-
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 ('%%08650%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%08650%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%08650%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 12:48:17 Duration: 925ms
4 10m52s 2,692 227ms 531ms 242ms 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 #4
Day Hour Count Duration Avg duration Aug 28 07 8 1s947ms 243ms 09 6 1s475ms 245ms 10 14 3s439ms 245ms 11 141 33s769ms 239ms 12 383 1m32s 240ms 13 342 1m22s 241ms 14 312 1m15s 242ms 15 305 1m13s 241ms 16 270 1m7s 249ms 17 320 1m18s 244ms 18 188 45s452ms 241ms 19 264 1m3s 240ms 20 107 25s277ms 236ms 21 32 7s613ms 237ms -
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_backend.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-17a2563/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-08-28 16:51:34 Duration: 531ms
-
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_editor.assets_wysiwyg.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-70860c2/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-08-28 14:28:21 Duration: 449ms
-
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: 2023-08-28 16:01:03 Duration: 439ms
5 10m51s 875 698ms 1s669ms 744ms 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 Aug 28 10 2 1s439ms 719ms 11 33 24s8ms 727ms 12 110 1m22s 753ms 13 121 1m30s 746ms 14 127 1m34s 743ms 15 81 59s903ms 739ms 16 92 1m10s 770ms 17 83 1m1s 743ms 18 120 1m28s 735ms 19 63 46s508ms 738ms 20 32 23s223ms 725ms 21 11 7s986ms 726ms -
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 ('%380123-12%')) 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 ('%380123-12%'))) 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 ('%380123-12%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%380123-12%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-08-28 12:42:24 Duration: 1s669ms
-
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 ('%LFP1652%')) 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 ('%LFP1652%'))) 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 ('%LFP1652%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%LFP1652%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-08-28 12:52:30 Duration: 1s73ms
-
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 ('%035094%')) 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 ('%035094%'))) 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 ('%035094%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%035094%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-08-28 16:01:54 Duration: 1s20ms
6 9m40s 26 20s586ms 27s646ms 22s313ms select partner.id as partner_id, ful.id as followup_level, case when partner.balance <= ? then ? when in_need_of_action_aml.id is not null and (prop_date.value_datetime is null or prop_date.value_datetime::date <= ?::date) then ? when exceeded_unreconciled_aml.id is not null then ? else ? end as followup_status from ( select partner.id, max(current_followup_level.delay) as followup_delay, sum(aml.balance) as balance from res_partner partner join account_move_line aml on aml.partner_id = partner.id join account_account account on account.id = aml.account_id join account_move move on move.id = aml.move_id left join lateral ( select coalesce(next_ful.id, ful.id) as id, coalesce(next_ful.delay, ful.delay) as delay from account_move_line line left outer join account_followup_followup_line ful on ful.id = aml.followup_line_id left outer join account_followup_followup_line next_ful on next_ful.id = ( select next_ful.id from account_followup_followup_line next_ful where next_ful.delay > coalesce(ful.delay, ?) and coalesce(aml.date_maturity, aml.date) + next_ful.delay <= ?::date and next_ful.company_id = ? order by next_ful.delay asc limit ?) where line.id = aml.id and aml.partner_id = partner.id and aml.balance > ?) current_followup_level on true where account.deprecated is not true and account.internal_type = ? and move.state = ? and aml.reconciled is not true and aml.blocked is false and aml.company_id = ? group by partner.id) partner left join account_followup_followup_line ful on ful.delay = partner.followup_delay and ful.company_id = ? left outer join lateral ( select line.id from account_move_line line join account_account account on line.account_id = account.id join account_move move on line.move_id = move.id left join account_followup_followup_line ful on ful.id = line.followup_line_id where line.partner_id = partner.id and account.internal_type = ? and account.deprecated is not true and move.state = ? and line.reconciled is not true and line.balance > ? and line.blocked is false and line.company_id = ? and coalesce(ful.delay, ?) < partner.followup_delay and coalesce(line.date_maturity, line.date) + coalesce(ful.delay, ?) <= ?::date limit ?) in_need_of_action_aml on true left outer join lateral ( select line.id from account_move_line line join account_account account on line.account_id = account.id join account_move move on line.move_id = move.id where line.partner_id = partner.id and account.internal_type = ? and account.deprecated is not true and move.state = ? and line.reconciled is not true and line.balance > ? and line.blocked is false and line.company_id = ? and coalesce(line.date_maturity, line.date) <= ?::date limit ?) exceeded_unreconciled_aml on true left outer join ir_property prop_date on prop_date.res_id = concat(?, partner.id) and prop_date.name = ? and prop_date.company_id = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 28 16 4 1m49s 27s254ms 17 1 27s646ms 27s646ms 18 21 7m23s 21s118ms -
SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2023-08-28'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2023-08-28'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2023-08-28'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2023-08-28'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;
Date: 2023-08-28 17:07:03 Duration: 27s646ms
-
SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2023-08-28'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2023-08-28'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2023-08-28'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2023-08-28'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;
Date: 2023-08-28 16:49:31 Duration: 27s481ms
-
SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2023-08-28'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2023-08-28'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2023-08-28'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2023-08-28'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;
Date: 2023-08-28 16:49:07 Duration: 27s346ms
7 9m15s 612 860ms 1s240ms 907ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 28 10 3 2s631ms 877ms 11 60 53s263ms 887ms 12 9 8s398ms 933ms 13 84 1m16s 914ms 14 39 34s708ms 889ms 15 78 1m10s 908ms 16 69 1m4s 941ms 17 60 54s447ms 907ms 18 96 1m26s 899ms 19 57 51s724ms 907ms 20 57 51s2ms 894ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%342-4009%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%342-4009%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%342-4009%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%342-4009%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%342-4009%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%342-4009%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-08-28 19:45:55 Duration: 1s240ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%gc3030lcw%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%gc3030lcw%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%gc3030lcw%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%gc3030lcw%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%gc3030lcw%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%gc3030lcw%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-08-28 20:11:03 Duration: 1s198ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%5-153X%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5-153X%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%5-153X%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%5-153X%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%5-153X%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%5-153X%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-08-28 13:15:23 Duration: 1s138ms
8 6m53s 93 3s331ms 20s891ms 4s446ms delete from sale_order_line where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 28 11 4 13s583ms 3s395ms 12 7 31s47ms 4s435ms 13 18 1m29s 4s960ms 14 11 37s479ms 3s407ms 15 13 1m23s 6s460ms 16 7 38s572ms 5s510ms 17 7 24s610ms 3s515ms 18 19 1m7s 3s567ms 19 4 13s626ms 3s406ms 20 1 3s343ms 3s343ms 21 2 10s218ms 5s109ms -
DELETE FROM sale_order_line WHERE id IN (225555, 225556, 225557, 225561, 225562, 225563);
Date: 2023-08-28 15:29:47 Duration: 20s891ms
-
DELETE FROM sale_order_line WHERE id IN (224994, 224995, 225286, 225287);
Date: 2023-08-28 13:44:32 Duration: 14s264ms
-
DELETE FROM sale_order_line WHERE id IN (222279, 222280, 223045, 223046);
Date: 2023-08-28 15:32:57 Duration: 14s148ms
9 6m38s 93 994ms 1m27s 4s288ms delete from account_move_line where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 28 06 2 3s973ms 1s986ms 07 2 4s998ms 2s499ms 11 2 4s55ms 2s27ms 12 1 1s15ms 1s15ms 13 3 4s198ms 1s399ms 14 2 4s60ms 2s30ms 15 10 44s309ms 4s430ms 16 1 2s275ms 2s275ms 17 46 4m3s 5s296ms 18 4 5s102ms 1s275ms 20 2 4s3ms 2s1ms 22 2 4s97ms 2s48ms 23 16 1m13s 4s568ms -
DELETE FROM account_move_line WHERE id IN (3010088, 3010089, 3010090, 3010091, 3010092, 3010093, 3010094, 3010095, 3010096, 3010097, 3010098, 3010099, 3010100, 3010101, 3010102, 3010103, 3010104, 3010105, 3010106, 3010107, 3010108, 3010109, 3010110, 3010111, 3010112, 3010113, 3010114, 3010115, 3010116, 3010117, 3010118, 3010119, 3010120, 3010121, 3010122, 3010123, 3010124, 3010125, 3010126, 3010127, 3010128, 3010129, 3010130, 3010131, 3010132, 3010133, 3010134, 3010135, 3010136, 3010137, 3010138, 3010139, 3010140, 3010141, 3010142, 3010143, 3010144, 3010145, 3010146, 3010147, 3010148, 3010149, 3010150, 3010151, 3010152, 3010153, 3010154, 3010155, 3010156, 3010157, 3010158, 3010159, 3010160, 3010161, 3010162, 3010163, 3010164, 3010165, 3010166, 3010167, 3010168, 3010169, 3010170, 3010171, 3010172, 3010173);
Date: 2023-08-28 17:22:09 Duration: 1m27s
-
DELETE FROM account_move_line WHERE id IN (3010247, 3010248, 3010249, 3010250, 3010251, 3010252, 3010253, 3010254, 3010255, 3010256, 3010257, 3010258, 3010259, 3010260, 3010261, 3010262, 3010263, 3010264, 3010265, 3010266, 3010267, 3010268, 3010273, 3010274, 3010275, 3010276, 3010281, 3010282, 3010283, 3010284, 3010287, 3010288, 3010289, 3010290, 3010291, 3010292, 3010293, 3010294, 3010295, 3010296, 3010297, 3010298, 3010299, 3010300, 3010301, 3010302, 3010303, 3010304, 3010305, 3010306, 3010307, 3010308, 3010309, 3010310, 3010311, 3010312, 3010313, 3010314, 3010315, 3010316, 3010317, 3010318, 3010319, 3010320, 3010321, 3010322, 3010323, 3010324, 3010332, 3010333);
Date: 2023-08-28 17:33:11 Duration: 1m11s
-
DELETE FROM account_move_line WHERE id IN (3007191, 3007192, 2975121, 2975122, 2975123, 2975124, 2975125, 2975126, 2975127, 2975128, 2975129, 2975130, 2975131, 2975132, 2975133, 2975134, 2975135, 2975136);
Date: 2023-08-28 15:23:23 Duration: 18s385ms
10 5m59s 396 859ms 1s344ms 907ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 28 11 34 30s93ms 885ms 12 5 4s497ms 899ms 13 82 1m14s 911ms 14 21 18s708ms 890ms 15 23 20s800ms 904ms 16 38 35s764ms 941ms 17 45 40s710ms 904ms 18 56 50s487ms 901ms 19 27 25s122ms 930ms 20 65 58s515ms 900ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%342-4%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%342-4%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%342-4%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%342-4%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%342-4%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%342-4%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-08-28 19:45:54 Duration: 1s344ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%342-4009%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%342-4009%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%342-4009%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%342-4009%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%342-4009%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%342-4009%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-08-28 19:45:55 Duration: 1s304ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%161%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%161%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%161%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%161%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%161%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%161%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 10;
Date: 2023-08-28 13:25:22 Duration: 1s216ms
11 5m47s 305 1s54ms 1s518ms 1s138ms select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 28 11 7 8s8ms 1s144ms 12 35 39s40ms 1s115ms 13 94 1m47s 1s147ms 14 9 10s181ms 1s131ms 16 6 6s774ms 1s129ms 17 14 15s449ms 1s103ms 18 53 1m 1s143ms 19 65 1m14s 1s152ms 20 10 10s943ms 1s94ms 21 12 13s477ms 1s123ms -
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-08-28 19:40:02 Duration: 1s518ms
-
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-08-28 19:40:02 Duration: 1s430ms
-
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-08-28 13:43:18 Duration: 1s387ms
12 4m50s 320 859ms 1s147ms 907ms select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 28 11 29 25s934ms 894ms 12 5 4s763ms 952ms 13 69 1m2s 906ms 14 17 15s245ms 896ms 15 18 16s484ms 915ms 16 31 28s942ms 933ms 17 32 29s292ms 915ms 18 36 32s588ms 905ms 19 21 19s9ms 905ms 20 62 55s615ms 897ms -
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%3915053%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%3915053%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%3915053%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%3915053%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%3915053%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%3915053%'))));
Date: 2023-08-28 16:42:35 Duration: 1s147ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%177.72%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%177.72%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%177.72%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%177.72%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%177.72%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%177.72%'))));
Date: 2023-08-28 13:35:16 Duration: 1s145ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%5-153X%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5-153X%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%5-153X%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%5-153X%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%5-153X%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%5-153X%'))));
Date: 2023-08-28 13:15:23 Duration: 1s135ms
13 4m47s 551 180ms 1s415ms 522ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 28 09 4 2s83ms 520ms 10 3 1s414ms 471ms 11 6 2s950ms 491ms 12 37 18s935ms 511ms 13 78 38s536ms 494ms 14 53 26s940ms 508ms 15 101 48s791ms 483ms 16 34 19s327ms 568ms 17 28 16s129ms 576ms 18 42 22s138ms 527ms 19 116 1m4s 557ms 20 32 16s948ms 529ms 21 13 6s849ms 526ms 22 4 2s51ms 512ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 10.0, "date" = '2023-08-28 19:49:48', "is_done" = true, "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (562433, 562439);
Date: 2023-08-28 19:49:53 Duration: 1s415ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 6.0, "date" = '2023-08-28 19:49:48', "is_done" = true, "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (562435, 562438);
Date: 2023-08-28 19:49:55 Duration: 1s374ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 7.0, "date" = '2023-08-28 20:06:00', "is_done" = true, "state" = 'done', "write_uid" = 1028, "write_date" = (now() at time zone 'UTC') WHERE id IN (562472, 562470);
Date: 2023-08-28 20:06:03 Duration: 1s332ms
14 4m30s 801 217ms 1s982ms 338ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 28 09 3 1s97ms 365ms 10 2 639ms 319ms 11 17 4s830ms 284ms 12 97 32s211ms 332ms 13 142 42s555ms 299ms 14 78 28s823ms 369ms 15 83 25s533ms 307ms 16 45 16s907ms 375ms 17 55 19s66ms 346ms 18 88 28s593ms 324ms 19 117 42s900ms 366ms 20 47 17s221ms 366ms 21 21 8s645ms 411ms 22 6 1s823ms 303ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (345442, 345580, 344396, 345595, 344504, 345115);
Date: 2023-08-28 14:05:52 Duration: 1s982ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (346736, 346738, 346740, 346742, 346743, 346745);
Date: 2023-08-28 21:00:43 Duration: 1s548ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (25961, 346259, 340884, 25510);
Date: 2023-08-28 15:27:10 Duration: 1s518ms
15 4m24s 163 180ms 12s366ms 1s622ms update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 28 11 1 1s438ms 1s438ms 12 20 19s296ms 964ms 13 19 21s695ms 1s141ms 14 14 19s106ms 1s364ms 15 30 45s472ms 1s515ms 16 13 1m6s 5s106ms 17 32 41s5ms 1s281ms 18 11 27s637ms 2s512ms 19 12 6s230ms 519ms 20 9 14s8ms 1s556ms 21 1 1s338ms 1s338ms 22 1 882ms 882ms -
UPDATE "stock_move" SET "date" = '2023-08-28 18:46:28', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (558720, 558721, 558722, 558723, 558724, 558725, 558726, 558727, 558728, 558699, 558700, 558701, 558702, 558703, 558704, 558705, 558706, 558708, 558709, 558710, 558712, 558713, 558714, 558715, 558716, 558717, 558718, 558719);
Date: 2023-08-28 18:46:40 Duration: 12s366ms
-
UPDATE "stock_move" SET "date" = '2023-08-28 16:02:21', "state" = 'done', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (558739, 558740, 558741, 558743, 558744, 558745, 558747, 558748, 558749, 558750, 558751, 558752, 558753, 558754, 558755, 558756, 558757, 558758, 558759, 558760, 558761, 558763, 558764, 558765, 558766);
Date: 2023-08-28 16:02:32 Duration: 11s365ms
-
UPDATE "stock_move" SET "date" = '2023-08-28 16:01:54', "state" = 'done', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (558739, 558740, 558741, 558743, 558744, 558745, 558747, 558748, 558749, 558750, 558751, 558752, 558753, 558754, 558755, 558756, 558757, 558758, 558759, 558760, 558761, 558763, 558764, 558765, 558766);
Date: 2023-08-28 16:02:05 Duration: 11s355ms
16 3m53s 1,280 170ms 435ms 182ms select res_partner.id from "res_partner" where ("res_partner"."active" = true) and (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 28 09 3 529ms 176ms 10 3 522ms 174ms 11 34 5s971ms 175ms 12 227 41s55ms 180ms 13 140 26s204ms 187ms 14 167 30s434ms 182ms 15 202 36s772ms 182ms 16 153 28s771ms 188ms 17 144 26s319ms 182ms 18 98 17s516ms 178ms 19 39 7s35ms 180ms 20 53 9s263ms 174ms 21 14 2s459ms 175ms 22 3 520ms 173ms -
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%[810%') OR unaccent (res_partner.display_name) ilike unaccent ('%[810%') OR unaccent (res_partner.ref) ilike unaccent ('%[810%') OR unaccent (res_partner.vat) ilike unaccent ('810')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%[810%') desc, unaccent (res_partner.display_name);
Date: 2023-08-28 14:34:02 Duration: 435ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%07560%') OR unaccent (res_partner.display_name) ilike unaccent ('%07560%') OR unaccent (res_partner.ref) ilike unaccent ('%07560%') OR unaccent (res_partner.vat) ilike unaccent ('07560')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%07560%') desc, unaccent (res_partner.display_name);
Date: 2023-08-28 13:40:51 Duration: 325ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%05783%') OR unaccent (res_partner.display_name) ilike unaccent ('%05783%') OR unaccent (res_partner.ref) ilike unaccent ('%05783%') OR unaccent (res_partner.vat) ilike unaccent ('05783')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%05783%') desc, unaccent (res_partner.display_name);
Date: 2023-08-28 12:14:59 Duration: 303ms
17 3m43s 301 179ms 16s87ms 741ms update "stock_move" set "branch_id" = ?, "picking_id" = ?, "related_core_purchase_line_id" = ?, "related_core_repair_line_id" = ?, "related_core_sale_line_id" = ?, "scrapped" = false, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 28 10 4 2s788ms 697ms 11 16 10s836ms 677ms 12 31 18s794ms 606ms 13 37 26s63ms 704ms 14 37 30s897ms 835ms 15 31 16s930ms 546ms 16 29 38s885ms 1s340ms 17 23 17s974ms 781ms 18 29 12s4ms 413ms 19 37 27s468ms 742ms 20 21 15s389ms 732ms 21 6 5s247ms 874ms -
UPDATE "stock_move" SET "branch_id" = 39, "picking_id" = 220882, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (561664, 561665, 561666, 561667, 561668, 561669, 561670, 561671, 561672, 561673, 561674, 561675, 561676, 561677, 561678, 561679, 561680, 561681, 561682, 561683, 561684, 561685, 561686, 561687, 561688, 561689, 561690, 561691, 561692, 561693, 561694, 561695, 561696, 561697, 561698, 561699, 561700, 561701, 561702, 561703, 561704, 561705, 561706, 561707, 561708, 561709, 561710, 561711, 561712, 561713, 561714, 561715, 561716, 561717, 561718, 561719, 561720, 561721, 561722, 561723, 561724, 561725, 561726, 561727, 561728, 561729, 561730, 561731, 561732, 561733, 561734, 561650, 561651, 561652, 561653, 561654, 561655, 561656, 561657, 561658, 561659, 561660, 561661, 561662, 561663);
Date: 2023-08-28 16:12:01 Duration: 16s87ms
-
UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 220879, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (561624, 561625, 561626, 561627, 561628, 561629, 561630, 561631, 561632, 561633, 561634, 561635, 561636, 561637, 561638, 561639, 561640, 561641, 561642, 561643, 561644, 561645, 561646);
Date: 2023-08-28 16:09:59 Duration: 6s692ms
-
UPDATE "stock_move" SET "branch_id" = 39, "picking_id" = 220699, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (561184, 561185, 561186, 561187, 561189, 561190, 561192, 561193, 561194, 561195, 561196, 561183);
Date: 2023-08-28 14:34:13 Duration: 3s775ms
18 3m37s 1 3m37s 3m37s 3m37s 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;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 28 09 1 3m37s 3m37s -
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: 2023-08-28 09:07:14 Duration: 3m37s
19 3m32s 481 123ms 6s349ms 441ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 28 10 2 353ms 176ms 11 33 26s729ms 809ms 12 61 32s2ms 524ms 13 50 17s538ms 350ms 14 70 30s969ms 442ms 15 34 14s847ms 436ms 16 27 11s909ms 441ms 17 33 13s970ms 423ms 18 49 14s125ms 288ms 19 84 36s52ms 429ms 20 27 10s151ms 375ms 21 11 3s674ms 334ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (561033, 561035, 561036, 561037, 561038, 561039, 561040, 561041, 561042, 561043, 561044, 561045, 561046, 561047, 561048, 561049, 561050, 561051, 561052, 561053, 561054);
Date: 2023-08-28 14:05:07 Duration: 6s349ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (562306, 562308, 562309, 562310, 562311, 562312, 562313, 562314, 562315, 562316, 562318);
Date: 2023-08-28 19:33:07 Duration: 3s501ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (560739, 560740, 560773, 560774, 560775, 560744, 560745, 560776, 560747, 560751, 560755, 560787, 560757, 560728, 560729);
Date: 2023-08-28 12:54:35 Duration: 3s430ms
20 3m21s 346 545ms 862ms 581ms 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"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_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 #20
Day Hour Count Duration Avg duration Aug 28 11 5 2s828ms 565ms 12 31 18s46ms 582ms 13 32 18s309ms 572ms 14 57 33s356ms 585ms 15 41 23s798ms 580ms 16 25 15s998ms 639ms 17 45 26s193ms 582ms 18 47 26s759ms 569ms 19 49 27s873ms 568ms 20 14 7s943ms 567ms -
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 ('%%1516718%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%151.6718%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%151.6718%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 16:54:04 Duration: 862ms
-
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 ('%%15998%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%15998%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%15998%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 14:28:22 Duration: 833ms
-
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 ('%%151671%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%151.671%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%151.671%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 16:54:03 Duration: 809ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 4,389 43m4s 537ms 969ms 588ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 28 10 130 1m13s 568ms 11 158 1m30s 574ms 12 421 4m5s 584ms 13 582 5m48s 598ms 14 614 6m2s 590ms 15 447 4m23s 588ms 16 439 4m29s 613ms 17 354 3m29s 591ms 18 405 3m55s 582ms 19 510 4m58s 585ms 20 226 2m8s 570ms 21 103 58s273ms 565ms -
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 ('%%21315%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%21315%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%21315%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 14:28:16 Duration: 969ms
-
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 ('%%80274%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%80274%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%80274%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 13:17:08 Duration: 947ms
-
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 ('%%802745%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%802745%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%802745%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 13:17:08 Duration: 944ms
2 3,954 15m15s 120ms 510ms 231ms 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 #2
Day Hour Count Duration Avg duration Aug 28 00 20 3s206ms 160ms 01 18 3s77ms 170ms 02 32 5s316ms 166ms 03 11 2s6ms 182ms 04 9 1s381ms 153ms 05 28 4s882ms 174ms 06 19 2s934ms 154ms 07 49 8s482ms 173ms 08 137 25s574ms 186ms 09 34 5s785ms 170ms 10 77 15s593ms 202ms 11 88 15s327ms 174ms 12 585 2m38s 270ms 13 448 1m50s 247ms 14 305 1m22s 271ms 15 416 1m35s 228ms 16 461 1m49s 237ms 17 181 37s662ms 208ms 18 231 49s921ms 216ms 19 500 1m55s 231ms 20 204 43s261ms 212ms 21 47 8s916ms 189ms 22 12 2s146ms 178ms 23 42 7s175ms 170ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-08-28 19:44:13') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_974"', '["pointspring_master","calendar.alarm",19512]', '["pointspring_master","mail.channel",419]', '["pointspring_master","mail.channel",420]', '["pointspring_master","mail.channel",421]', '["pointspring_master","mail.channel",489]', '["pointspring_master","res.partner",19512]', '["pointspring_master","ir.needaction",19512]'))) ORDER BY "bus_bus"."id";
Date: 2023-08-28 19:45:04 Duration: 510ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-08-28 19:44:13') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1021"', '["pointspring_master","calendar.alarm",19559]', '["pointspring_master","mail.channel",132]', '["pointspring_master","mail.channel",133]', '["pointspring_master","mail.channel",134]', '["pointspring_master","mail.channel",135]', '["pointspring_master","mail.channel",499]', '["pointspring_master","res.partner",19559]', '["pointspring_master","ir.needaction",19559]'))) ORDER BY "bus_bus"."id";
Date: 2023-08-28 19:45:04 Duration: 498ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-08-28 14:06:04') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_961"', '["pointspring_master","calendar.alarm",19499]', '["pointspring_master","mail.channel",201]', '["pointspring_master","mail.channel",202]', '["pointspring_master","mail.channel",430]', '["pointspring_master","mail.channel",440]', '["pointspring_master","res.partner",19499]', '["pointspring_master","ir.needaction",19499]'))) ORDER BY "bus_bus"."id";
Date: 2023-08-28 14:06:55 Duration: 498ms
3 2,692 10m52s 227ms 531ms 242ms 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 #3
Day Hour Count Duration Avg duration Aug 28 07 8 1s947ms 243ms 09 6 1s475ms 245ms 10 14 3s439ms 245ms 11 141 33s769ms 239ms 12 383 1m32s 240ms 13 342 1m22s 241ms 14 312 1m15s 242ms 15 305 1m13s 241ms 16 270 1m7s 249ms 17 320 1m18s 244ms 18 188 45s452ms 241ms 19 264 1m3s 240ms 20 107 25s277ms 236ms 21 32 7s613ms 237ms -
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_backend.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-17a2563/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-08-28 16:51:34 Duration: 531ms
-
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_editor.assets_wysiwyg.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-70860c2/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-08-28 14:28:21 Duration: 449ms
-
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: 2023-08-28 16:01:03 Duration: 439ms
4 1,280 3m53s 170ms 435ms 182ms select res_partner.id from "res_partner" where ("res_partner"."active" = true) and (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 28 09 3 529ms 176ms 10 3 522ms 174ms 11 34 5s971ms 175ms 12 227 41s55ms 180ms 13 140 26s204ms 187ms 14 167 30s434ms 182ms 15 202 36s772ms 182ms 16 153 28s771ms 188ms 17 144 26s319ms 182ms 18 98 17s516ms 178ms 19 39 7s35ms 180ms 20 53 9s263ms 174ms 21 14 2s459ms 175ms 22 3 520ms 173ms -
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%[810%') OR unaccent (res_partner.display_name) ilike unaccent ('%[810%') OR unaccent (res_partner.ref) ilike unaccent ('%[810%') OR unaccent (res_partner.vat) ilike unaccent ('810')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%[810%') desc, unaccent (res_partner.display_name);
Date: 2023-08-28 14:34:02 Duration: 435ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%07560%') OR unaccent (res_partner.display_name) ilike unaccent ('%07560%') OR unaccent (res_partner.ref) ilike unaccent ('%07560%') OR unaccent (res_partner.vat) ilike unaccent ('07560')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%07560%') desc, unaccent (res_partner.display_name);
Date: 2023-08-28 13:40:51 Duration: 325ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%05783%') OR unaccent (res_partner.display_name) ilike unaccent ('%05783%') OR unaccent (res_partner.ref) ilike unaccent ('%05783%') OR unaccent (res_partner.vat) ilike unaccent ('05783')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%05783%') desc, unaccent (res_partner.display_name);
Date: 2023-08-28 12:14:59 Duration: 303ms
5 1,225 12m2s 547ms 997ms 589ms 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 #5
Day Hour Count Duration Avg duration Aug 28 08 2 1s123ms 561ms 11 6 3s534ms 589ms 12 237 2m21s 597ms 13 173 1m41s 584ms 14 278 2m44s 592ms 15 67 39s222ms 585ms 16 11 6s679ms 607ms 17 60 35s469ms 591ms 18 124 1m12s 588ms 19 174 1m40s 579ms 20 93 55s171ms 593ms -
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 ('%%5043%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5043%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5043%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 12:54:13 Duration: 997ms
-
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 ('%%504364%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%504364%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%504364%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 12:54:14 Duration: 963ms
-
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 ('%%08650%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%08650%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%08650%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 12:48:17 Duration: 925ms
6 891 2m39s 150ms 848ms 179ms update "sale_order_line" set "invoice_status" = ?, "open_qty_fil" = ?.?, "qty_delivered" = ?, "qty_to_invoice" = ?, "untaxed_amount_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 28 09 6 988ms 164ms 10 6 928ms 154ms 11 16 2s685ms 167ms 12 98 16s723ms 170ms 13 128 22s373ms 174ms 14 74 13s293ms 179ms 15 129 22s946ms 177ms 16 48 9s314ms 194ms 17 80 15s139ms 189ms 18 103 19s309ms 187ms 19 91 16s582ms 182ms 20 72 12s882ms 178ms 21 31 5s329ms 171ms 22 9 1s494ms 166ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 2.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (220289, 219910, 222415, 223315, 220414);
Date: 2023-08-28 18:46:58 Duration: 848ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 2.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (167092, 167045, 167023);
Date: 2023-08-28 17:32:12 Duration: 534ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 4.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (223314, 223316, 223317);
Date: 2023-08-28 18:46:59 Duration: 507ms
7 875 10m51s 698ms 1s669ms 744ms 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 #7
Day Hour Count Duration Avg duration Aug 28 10 2 1s439ms 719ms 11 33 24s8ms 727ms 12 110 1m22s 753ms 13 121 1m30s 746ms 14 127 1m34s 743ms 15 81 59s903ms 739ms 16 92 1m10s 770ms 17 83 1m1s 743ms 18 120 1m28s 735ms 19 63 46s508ms 738ms 20 32 23s223ms 725ms 21 11 7s986ms 726ms -
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 ('%380123-12%')) 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 ('%380123-12%'))) 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 ('%380123-12%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%380123-12%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-08-28 12:42:24 Duration: 1s669ms
-
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 ('%LFP1652%')) 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 ('%LFP1652%'))) 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 ('%LFP1652%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%LFP1652%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-08-28 12:52:30 Duration: 1s73ms
-
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 ('%035094%')) 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 ('%035094%'))) 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 ('%035094%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%035094%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-08-28 16:01:54 Duration: 1s20ms
8 801 4m30s 217ms 1s982ms 338ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 28 09 3 1s97ms 365ms 10 2 639ms 319ms 11 17 4s830ms 284ms 12 97 32s211ms 332ms 13 142 42s555ms 299ms 14 78 28s823ms 369ms 15 83 25s533ms 307ms 16 45 16s907ms 375ms 17 55 19s66ms 346ms 18 88 28s593ms 324ms 19 117 42s900ms 366ms 20 47 17s221ms 366ms 21 21 8s645ms 411ms 22 6 1s823ms 303ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (345442, 345580, 344396, 345595, 344504, 345115);
Date: 2023-08-28 14:05:52 Duration: 1s982ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (346736, 346738, 346740, 346742, 346743, 346745);
Date: 2023-08-28 21:00:43 Duration: 1s548ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (25961, 346259, 340884, 25510);
Date: 2023-08-28 15:27:10 Duration: 1s518ms
9 754 2m11s 150ms 367ms 174ms update "sale_order_line" set "invoice_status" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "untaxed_amount_invoiced" = ?, "untaxed_amount_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 28 09 6 968ms 161ms 10 6 940ms 156ms 11 11 1s899ms 172ms 12 93 15s954ms 171ms 13 121 20s857ms 172ms 14 62 11s112ms 179ms 15 102 17s763ms 174ms 16 44 8s312ms 188ms 17 61 10s904ms 178ms 18 61 10s846ms 177ms 19 83 14s686ms 176ms 20 69 11s662ms 169ms 21 33 5s641ms 170ms 22 2 338ms 169ms -
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '35.99', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (225692, 225693);
Date: 2023-08-28 16:48:33 Duration: 367ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '-1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '-666.65', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (225707, 225710);
Date: 2023-08-28 16:44:57 Duration: 362ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '4.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '94.28', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1028, "write_date" = (now() at time zone 'UTC') WHERE id IN (225884, 224981);
Date: 2023-08-28 18:24:36 Duration: 341ms
10 702 2m4s 152ms 369ms 177ms update "sale_order_line" set "branch_id" = ?, "currency_id" = ?, "cus_date_order" = ?, "cus_part_route" = ?, "cus_user_id" = ?, "inventory_vendor_id" = ?, "is_service" = false, "margin" = ?, "margin_percent" = ?.?, "order_partner_id" = ?, "price_reduce" = ?, "price_reduce_taxexcl" = ?, "price_reduce_taxinc" = ?, "price_subtotal" = ?, "price_tax" = ?.?, "price_total" = ?, "purchase_price" = ?, "qty_delivered_method" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "salesman_id" = ?, "untaxed_amount_invoiced" = ?, "untaxed_amount_to_invoice" = ?, "warehouse_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 28 10 14 2s460ms 175ms 11 22 3s783ms 171ms 12 49 8s764ms 178ms 13 100 17s721ms 177ms 14 83 14s836ms 178ms 15 77 13s380ms 173ms 16 62 11s575ms 186ms 17 63 11s175ms 177ms 18 93 16s287ms 175ms 19 83 14s807ms 178ms 20 38 6s594ms 173ms 21 18 3s25ms 168ms -
UPDATE "sale_order_line" SET "branch_id" = 48, "currency_id" = 2, "cus_date_order" = '2023-08-28 12:13:51', "cus_part_route" = NULL, "cus_user_id" = 965, "inventory_vendor_id" = 2933, "is_service" = false, "margin" = '32.95', "margin_percent" = 0.36481399468556247, "order_partner_id" = 50618, "price_reduce" = '90.32', "price_reduce_taxexcl" = '90.32', "price_reduce_taxinc" = '90.32', "price_subtotal" = '90.32', "price_tax" = 0.0, "price_total" = '90.32', "purchase_price" = '57.37', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 965, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 45, "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (225096);
Date: 2023-08-28 12:15:24 Duration: 369ms
-
UPDATE "sale_order_line" SET "branch_id" = 40, "currency_id" = 2, "cus_date_order" = '2023-08-28 19:44:37', "cus_part_route" = NULL, "cus_user_id" = 1039, "inventory_vendor_id" = 2952, "is_service" = false, "margin" = '317.06', "margin_percent" = 0.41999708574532063, "order_partner_id" = 42391, "price_reduce" = '754.91', "price_reduce_taxexcl" = '754.91', "price_reduce_taxinc" = '754.91', "price_subtotal" = '754.91', "price_tax" = 0.0, "price_total" = '754.91', "purchase_price" = '437.85', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 1039, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 38, "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (226046);
Date: 2023-08-28 19:45:04 Duration: 281ms
-
UPDATE "sale_order_line" SET "branch_id" = 50, "currency_id" = 2, "cus_date_order" = '2023-08-28 17:52:35', "cus_part_route" = NULL, "cus_user_id" = 995, "inventory_vendor_id" = 2946, "is_service" = false, "margin" = '3.40', "margin_percent" = 0.23513139695712307, "order_partner_id" = 40670, "price_reduce" = '7.23', "price_reduce_taxexcl" = '7.23', "price_reduce_taxinc" = '7.23', "price_subtotal" = '14.46', "price_tax" = 0.0, "price_total" = '14.46', "purchase_price" = '5.53', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 995, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 44, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (226018);
Date: 2023-08-28 19:37:28 Duration: 264ms
11 612 9m15s 860ms 1s240ms 907ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 28 10 3 2s631ms 877ms 11 60 53s263ms 887ms 12 9 8s398ms 933ms 13 84 1m16s 914ms 14 39 34s708ms 889ms 15 78 1m10s 908ms 16 69 1m4s 941ms 17 60 54s447ms 907ms 18 96 1m26s 899ms 19 57 51s724ms 907ms 20 57 51s2ms 894ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%342-4009%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%342-4009%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%342-4009%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%342-4009%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%342-4009%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%342-4009%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-08-28 19:45:55 Duration: 1s240ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%gc3030lcw%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%gc3030lcw%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%gc3030lcw%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%gc3030lcw%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%gc3030lcw%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%gc3030lcw%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-08-28 20:11:03 Duration: 1s198ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%5-153X%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5-153X%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%5-153X%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%5-153X%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%5-153X%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%5-153X%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-08-28 13:15:23 Duration: 1s138ms
12 600 1m19s 120ms 470ms 133ms select min("sale_report".id) as id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" AS "product_id" from "sale_report" left join "product_product" AS "sale_report__product_id" on ("sale_report"."product_id" = "sale_report__product_id"."id") left join "product_template" AS "sale_report__product_id__product_tmpl_id" on ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") left join "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" on ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" and "sale_report__product_id__product_tmpl_id__name"."type" = ? and "sale_report__product_id__product_tmpl_id__name"."name" = ? and "sale_report__product_id__product_tmpl_id__name"."lang" = ? and "sale_report__product_id__product_tmpl_id__name"."value" != ?) where ((("sale_report"."state" in (...)) and ("sale_report"."product_id" in (...))) and ("sale_report"."date" >= ?)) and ("sale_report"."company_id" is null or ("sale_report"."company_id" in (...))) group by "sale_report"."product_id", "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" order by "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 28 08 1 125ms 125ms 10 2 244ms 122ms 11 31 3s955ms 127ms 12 46 6s381ms 138ms 13 83 11s104ms 133ms 14 89 11s858ms 133ms 15 57 7s401ms 129ms 16 120 16s404ms 136ms 17 74 9s745ms 131ms 18 44 5s742ms 130ms 19 33 4s376ms 132ms 20 14 1s803ms 128ms 21 6 784ms 130ms -
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (187855))) AND ("sale_report"."date" >= '2022-08-28 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2023-08-28 12:49:58 Duration: 470ms
-
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (190406))) AND ("sale_report"."date" >= '2022-08-28 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2023-08-28 19:27:16 Duration: 258ms
-
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (211843))) AND ("sale_report"."date" >= '2022-08-28 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2023-08-28 16:46:15 Duration: 200ms
13 551 4m47s 180ms 1s415ms 522ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 28 09 4 2s83ms 520ms 10 3 1s414ms 471ms 11 6 2s950ms 491ms 12 37 18s935ms 511ms 13 78 38s536ms 494ms 14 53 26s940ms 508ms 15 101 48s791ms 483ms 16 34 19s327ms 568ms 17 28 16s129ms 576ms 18 42 22s138ms 527ms 19 116 1m4s 557ms 20 32 16s948ms 529ms 21 13 6s849ms 526ms 22 4 2s51ms 512ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 10.0, "date" = '2023-08-28 19:49:48', "is_done" = true, "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (562433, 562439);
Date: 2023-08-28 19:49:53 Duration: 1s415ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 6.0, "date" = '2023-08-28 19:49:48', "is_done" = true, "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (562435, 562438);
Date: 2023-08-28 19:49:55 Duration: 1s374ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 7.0, "date" = '2023-08-28 20:06:00', "is_done" = true, "state" = 'done', "write_uid" = 1028, "write_date" = (now() at time zone 'UTC') WHERE id IN (562472, 562470);
Date: 2023-08-28 20:06:03 Duration: 1s332ms
14 488 1m31s 150ms 2s360ms 187ms update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 28 11 44 8s395ms 190ms 12 11 1s850ms 168ms 13 90 16s432ms 182ms 14 214 41s22ms 191ms 15 17 2s848ms 167ms 16 44 8s232ms 187ms 17 12 2s237ms 186ms 18 5 837ms 167ms 19 2 396ms 198ms 20 46 8s782ms 190ms 21 3 510ms 170ms -
UPDATE "sale_order_line" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (222272, 223073, 223075, 223076, 222085, 223045, 222279, 222088, 222280, 222281, 222091, 223046, 223047, 223057, 222260, 222077);
Date: 2023-08-28 14:34:07 Duration: 2s360ms
-
UPDATE "sale_order_line" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (222272);
Date: 2023-08-28 14:17:44 Duration: 1s345ms
-
UPDATE "sale_order_line" SET "write_uid" = 1143, "write_date" = (now() at time zone 'UTC') WHERE id IN (226147, 226148, 226151, 226133, 226134, 226138, 226142);
Date: 2023-08-28 20:48:50 Duration: 1s212ms
15 481 3m32s 123ms 6s349ms 441ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 28 10 2 353ms 176ms 11 33 26s729ms 809ms 12 61 32s2ms 524ms 13 50 17s538ms 350ms 14 70 30s969ms 442ms 15 34 14s847ms 436ms 16 27 11s909ms 441ms 17 33 13s970ms 423ms 18 49 14s125ms 288ms 19 84 36s52ms 429ms 20 27 10s151ms 375ms 21 11 3s674ms 334ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (561033, 561035, 561036, 561037, 561038, 561039, 561040, 561041, 561042, 561043, 561044, 561045, 561046, 561047, 561048, 561049, 561050, 561051, 561052, 561053, 561054);
Date: 2023-08-28 14:05:07 Duration: 6s349ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (562306, 562308, 562309, 562310, 562311, 562312, 562313, 562314, 562315, 562316, 562318);
Date: 2023-08-28 19:33:07 Duration: 3s501ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (560739, 560740, 560773, 560774, 560775, 560744, 560745, 560776, 560747, 560751, 560755, 560787, 560757, 560728, 560729);
Date: 2023-08-28 12:54:35 Duration: 3s430ms
16 457 1m22s 120ms 371ms 180ms select "forecasted_data".id from "forecasted_data" where ("forecasted_data"."item_supply_plan_id" in (...)) order by "forecasted_data"."id";Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 28 11 38 6s622ms 174ms 12 132 24s210ms 183ms 13 7 1s72ms 153ms 15 7 1s153ms 164ms 19 81 14s307ms 176ms 20 192 35s20ms 182ms -
SELECT "forecasted_data".id FROM "forecasted_data" WHERE ("forecasted_data"."item_supply_plan_id" in (23801)) ORDER BY "forecasted_data"."id";
Date: 2023-08-28 12:42:24 Duration: 371ms
-
SELECT "forecasted_data".id FROM "forecasted_data" WHERE ("forecasted_data"."item_supply_plan_id" in (23704)) ORDER BY "forecasted_data"."id";
Date: 2023-08-28 20:26:42 Duration: 330ms
-
SELECT "forecasted_data".id FROM "forecasted_data" WHERE ("forecasted_data"."item_supply_plan_id" in (23446)) ORDER BY "forecasted_data"."id";
Date: 2023-08-28 12:42:23 Duration: 304ms
17 407 59s471ms 125ms 265ms 146ms select "mail_message".id from "mail_message" where ((((("mail_message"."id" in ( select "mail_message_res_partner_needaction_rel"."mail_message_id" from "mail_message_res_partner_needaction_rel" where ("mail_message_res_partner_needaction_rel"."notification_status" in (...)))) and ("mail_message"."author_id" = ?)) and ("mail_message"."res_id" != ?)) and "mail_message"."model" is not null) and (("mail_message"."message_type" != ?) or "mail_message"."message_type" is null)) order by "mail_message"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 28 05 1 144ms 144ms 07 3 450ms 150ms 08 2 262ms 131ms 09 1 168ms 168ms 10 4 684ms 171ms 11 37 5s589ms 151ms 12 63 9s214ms 146ms 13 49 6s982ms 142ms 14 44 6s191ms 140ms 15 45 6s621ms 147ms 16 45 7s67ms 157ms 17 45 6s507ms 144ms 18 25 3s487ms 139ms 19 37 5s216ms 140ms 20 6 881ms 146ms -
SELECT "mail_message".id FROM "mail_message" WHERE ((((("mail_message"."id" in ( SELECT "mail_message_res_partner_needaction_rel"."mail_message_id" FROM "mail_message_res_partner_needaction_rel" WHERE ("mail_message_res_partner_needaction_rel"."notification_status" in ('bounce', 'exception')))) AND ("mail_message"."author_id" = 19528)) AND ("mail_message"."res_id" != 0)) AND "mail_message"."model" IS NOT NULL) AND (("mail_message"."message_type" != 'user_notification') OR "mail_message"."message_type" IS NULL)) ORDER BY "mail_message"."id" DESC;
Date: 2023-08-28 12:59:09 Duration: 265ms
-
SELECT "mail_message".id FROM "mail_message" WHERE ((((("mail_message"."id" in ( SELECT "mail_message_res_partner_needaction_rel"."mail_message_id" FROM "mail_message_res_partner_needaction_rel" WHERE ("mail_message_res_partner_needaction_rel"."notification_status" in ('bounce', 'exception')))) AND ("mail_message"."author_id" = 19496)) AND ("mail_message"."res_id" != 0)) AND "mail_message"."model" IS NOT NULL) AND (("mail_message"."message_type" != 'user_notification') OR "mail_message"."message_type" IS NULL)) ORDER BY "mail_message"."id" DESC;
Date: 2023-08-28 15:57:49 Duration: 213ms
-
SELECT "mail_message".id FROM "mail_message" WHERE ((((("mail_message"."id" in ( SELECT "mail_message_res_partner_needaction_rel"."mail_message_id" FROM "mail_message_res_partner_needaction_rel" WHERE ("mail_message_res_partner_needaction_rel"."notification_status" in ('bounce', 'exception')))) AND ("mail_message"."author_id" = 19564)) AND ("mail_message"."res_id" != 0)) AND "mail_message"."model" IS NOT NULL) AND (("mail_message"."message_type" != 'user_notification') OR "mail_message"."message_type" IS NULL)) ORDER BY "mail_message"."id" DESC;
Date: 2023-08-28 11:48:19 Duration: 210ms
18 396 5m59s 859ms 1s344ms 907ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 28 11 34 30s93ms 885ms 12 5 4s497ms 899ms 13 82 1m14s 911ms 14 21 18s708ms 890ms 15 23 20s800ms 904ms 16 38 35s764ms 941ms 17 45 40s710ms 904ms 18 56 50s487ms 901ms 19 27 25s122ms 930ms 20 65 58s515ms 900ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%342-4%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%342-4%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%342-4%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%342-4%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%342-4%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%342-4%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-08-28 19:45:54 Duration: 1s344ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%342-4009%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%342-4009%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%342-4009%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%342-4009%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%342-4009%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%342-4009%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-08-28 19:45:55 Duration: 1s304ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%161%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%161%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%161%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%161%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%161%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%161%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 10;
Date: 2023-08-28 13:25:22 Duration: 1s216ms
19 395 1m50s 150ms 9s35ms 280ms update "sale_order_line" set "open_qty_fil" = ?.?, "qty_delivered_method" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 28 10 10 1s910ms 191ms 11 12 2s280ms 190ms 12 40 8s775ms 219ms 13 52 12s822ms 246ms 14 43 11s680ms 271ms 15 36 9s187ms 255ms 16 48 26s917ms 560ms 17 38 9s723ms 255ms 18 35 7s197ms 205ms 19 53 13s740ms 259ms 20 19 3s849ms 202ms 21 9 2s731ms 303ms -
UPDATE "sale_order_line" SET "open_qty_fil" = 5.0, "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (224131, 224133, 224033, 224034, 224035, 224037, 224038, 224039, 224040, 224041, 219589, 224044, 224045, 224046, 224047, 224048, 224305, 224050, 224051, 224052, 224310, 224311, 224061, 224062, 224063, 224065, 219585, 224067, 219587, 224069, 224070, 224071, 224072, 224073, 224074, 224075, 224076, 224077, 224078, 224079, 219594, 224081, 224082, 219595, 224084, 219596, 224089, 224090, 224092, 224100, 224101, 224104, 224106);
Date: 2023-08-28 16:12:16 Duration: 9s35ms
-
UPDATE "sale_order_line" SET "open_qty_fil" = 2.0, "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (224129, 224130, 224032, 224298, 224043, 224307, 224053, 224058, 219590, 219591, 219592, 219593, 219600, 219608, 224093, 224095, 224097, 224107, 224108, 224110, 224114, 224118, 224122, 224127);
Date: 2023-08-28 16:12:06 Duration: 4s266ms
-
UPDATE "sale_order_line" SET "open_qty_fil" = 1.0, "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1020, "write_date" = (now() at time zone 'UTC') WHERE id IN (225637, 225638, 225642, 225644, 225621, 225622, 225623, 225624, 225625, 225626, 225627, 225628, 225629, 225630);
Date: 2023-08-28 16:10:02 Duration: 2s475ms
20 376 1m10s 170ms 358ms 186ms select res_partner.id from "res_partner" where (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 28 12 5 895ms 179ms 13 5 882ms 176ms 14 119 22s938ms 192ms 15 8 1s425ms 178ms 17 119 22s804ms 191ms 18 114 19s983ms 175ms 20 6 1s119ms 186ms -
SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%49644%') OR unaccent (res_partner.display_name) ilike unaccent ('%49644%') OR unaccent (res_partner.ref) ilike unaccent ('%49644%') OR unaccent (res_partner.vat) ilike unaccent ('49644')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%49644%') desc, unaccent (res_partner.display_name);
Date: 2023-08-28 14:28:16 Duration: 358ms
-
SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%30054%') OR unaccent (res_partner.display_name) ilike unaccent ('%30054%') OR unaccent (res_partner.ref) ilike unaccent ('%30054%') OR unaccent (res_partner.vat) ilike unaccent ('30054')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%30054%') desc, unaccent (res_partner.display_name);
Date: 2023-08-28 14:28:16 Duration: 324ms
-
SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%17694%') OR unaccent (res_partner.display_name) ilike unaccent ('%17694%') OR unaccent (res_partner.ref) ilike unaccent ('%17694%') OR unaccent (res_partner.vat) ilike unaccent ('17694')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%17694%') desc, unaccent (res_partner.display_name);
Date: 2023-08-28 14:28:24 Duration: 306ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 3m37s 3m37s 3m37s 1 3m37s 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;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 28 09 1 3m37s 3m37s -
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: 2023-08-28 09:07:14 Duration: 3m37s
2 20s586ms 27s646ms 22s313ms 26 9m40s select partner.id as partner_id, ful.id as followup_level, case when partner.balance <= ? then ? when in_need_of_action_aml.id is not null and (prop_date.value_datetime is null or prop_date.value_datetime::date <= ?::date) then ? when exceeded_unreconciled_aml.id is not null then ? else ? end as followup_status from ( select partner.id, max(current_followup_level.delay) as followup_delay, sum(aml.balance) as balance from res_partner partner join account_move_line aml on aml.partner_id = partner.id join account_account account on account.id = aml.account_id join account_move move on move.id = aml.move_id left join lateral ( select coalesce(next_ful.id, ful.id) as id, coalesce(next_ful.delay, ful.delay) as delay from account_move_line line left outer join account_followup_followup_line ful on ful.id = aml.followup_line_id left outer join account_followup_followup_line next_ful on next_ful.id = ( select next_ful.id from account_followup_followup_line next_ful where next_ful.delay > coalesce(ful.delay, ?) and coalesce(aml.date_maturity, aml.date) + next_ful.delay <= ?::date and next_ful.company_id = ? order by next_ful.delay asc limit ?) where line.id = aml.id and aml.partner_id = partner.id and aml.balance > ?) current_followup_level on true where account.deprecated is not true and account.internal_type = ? and move.state = ? and aml.reconciled is not true and aml.blocked is false and aml.company_id = ? group by partner.id) partner left join account_followup_followup_line ful on ful.delay = partner.followup_delay and ful.company_id = ? left outer join lateral ( select line.id from account_move_line line join account_account account on line.account_id = account.id join account_move move on line.move_id = move.id left join account_followup_followup_line ful on ful.id = line.followup_line_id where line.partner_id = partner.id and account.internal_type = ? and account.deprecated is not true and move.state = ? and line.reconciled is not true and line.balance > ? and line.blocked is false and line.company_id = ? and coalesce(ful.delay, ?) < partner.followup_delay and coalesce(line.date_maturity, line.date) + coalesce(ful.delay, ?) <= ?::date limit ?) in_need_of_action_aml on true left outer join lateral ( select line.id from account_move_line line join account_account account on line.account_id = account.id join account_move move on line.move_id = move.id where line.partner_id = partner.id and account.internal_type = ? and account.deprecated is not true and move.state = ? and line.reconciled is not true and line.balance > ? and line.blocked is false and line.company_id = ? and coalesce(line.date_maturity, line.date) <= ?::date limit ?) exceeded_unreconciled_aml on true left outer join ir_property prop_date on prop_date.res_id = concat(?, partner.id) and prop_date.name = ? and prop_date.company_id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 28 16 4 1m49s 27s254ms 17 1 27s646ms 27s646ms 18 21 7m23s 21s118ms -
SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2023-08-28'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2023-08-28'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2023-08-28'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2023-08-28'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;
Date: 2023-08-28 17:07:03 Duration: 27s646ms
-
SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2023-08-28'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2023-08-28'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2023-08-28'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2023-08-28'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;
Date: 2023-08-28 16:49:31 Duration: 27s481ms
-
SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2023-08-28'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2023-08-28'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2023-08-28'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2023-08-28'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;
Date: 2023-08-28 16:49:07 Duration: 27s346ms
3 3s331ms 20s891ms 4s446ms 93 6m53s delete from sale_order_line where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 28 11 4 13s583ms 3s395ms 12 7 31s47ms 4s435ms 13 18 1m29s 4s960ms 14 11 37s479ms 3s407ms 15 13 1m23s 6s460ms 16 7 38s572ms 5s510ms 17 7 24s610ms 3s515ms 18 19 1m7s 3s567ms 19 4 13s626ms 3s406ms 20 1 3s343ms 3s343ms 21 2 10s218ms 5s109ms -
DELETE FROM sale_order_line WHERE id IN (225555, 225556, 225557, 225561, 225562, 225563);
Date: 2023-08-28 15:29:47 Duration: 20s891ms
-
DELETE FROM sale_order_line WHERE id IN (224994, 224995, 225286, 225287);
Date: 2023-08-28 13:44:32 Duration: 14s264ms
-
DELETE FROM sale_order_line WHERE id IN (222279, 222280, 223045, 223046);
Date: 2023-08-28 15:32:57 Duration: 14s148ms
4 994ms 1m27s 4s288ms 93 6m38s delete from account_move_line where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 28 06 2 3s973ms 1s986ms 07 2 4s998ms 2s499ms 11 2 4s55ms 2s27ms 12 1 1s15ms 1s15ms 13 3 4s198ms 1s399ms 14 2 4s60ms 2s30ms 15 10 44s309ms 4s430ms 16 1 2s275ms 2s275ms 17 46 4m3s 5s296ms 18 4 5s102ms 1s275ms 20 2 4s3ms 2s1ms 22 2 4s97ms 2s48ms 23 16 1m13s 4s568ms -
DELETE FROM account_move_line WHERE id IN (3010088, 3010089, 3010090, 3010091, 3010092, 3010093, 3010094, 3010095, 3010096, 3010097, 3010098, 3010099, 3010100, 3010101, 3010102, 3010103, 3010104, 3010105, 3010106, 3010107, 3010108, 3010109, 3010110, 3010111, 3010112, 3010113, 3010114, 3010115, 3010116, 3010117, 3010118, 3010119, 3010120, 3010121, 3010122, 3010123, 3010124, 3010125, 3010126, 3010127, 3010128, 3010129, 3010130, 3010131, 3010132, 3010133, 3010134, 3010135, 3010136, 3010137, 3010138, 3010139, 3010140, 3010141, 3010142, 3010143, 3010144, 3010145, 3010146, 3010147, 3010148, 3010149, 3010150, 3010151, 3010152, 3010153, 3010154, 3010155, 3010156, 3010157, 3010158, 3010159, 3010160, 3010161, 3010162, 3010163, 3010164, 3010165, 3010166, 3010167, 3010168, 3010169, 3010170, 3010171, 3010172, 3010173);
Date: 2023-08-28 17:22:09 Duration: 1m27s
-
DELETE FROM account_move_line WHERE id IN (3010247, 3010248, 3010249, 3010250, 3010251, 3010252, 3010253, 3010254, 3010255, 3010256, 3010257, 3010258, 3010259, 3010260, 3010261, 3010262, 3010263, 3010264, 3010265, 3010266, 3010267, 3010268, 3010273, 3010274, 3010275, 3010276, 3010281, 3010282, 3010283, 3010284, 3010287, 3010288, 3010289, 3010290, 3010291, 3010292, 3010293, 3010294, 3010295, 3010296, 3010297, 3010298, 3010299, 3010300, 3010301, 3010302, 3010303, 3010304, 3010305, 3010306, 3010307, 3010308, 3010309, 3010310, 3010311, 3010312, 3010313, 3010314, 3010315, 3010316, 3010317, 3010318, 3010319, 3010320, 3010321, 3010322, 3010323, 3010324, 3010332, 3010333);
Date: 2023-08-28 17:33:11 Duration: 1m11s
-
DELETE FROM account_move_line WHERE id IN (3007191, 3007192, 2975121, 2975122, 2975123, 2975124, 2975125, 2975126, 2975127, 2975128, 2975129, 2975130, 2975131, 2975132, 2975133, 2975134, 2975135, 2975136);
Date: 2023-08-28 15:23:23 Duration: 18s385ms
5 180ms 12s366ms 1s622ms 163 4m24s update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 28 11 1 1s438ms 1s438ms 12 20 19s296ms 964ms 13 19 21s695ms 1s141ms 14 14 19s106ms 1s364ms 15 30 45s472ms 1s515ms 16 13 1m6s 5s106ms 17 32 41s5ms 1s281ms 18 11 27s637ms 2s512ms 19 12 6s230ms 519ms 20 9 14s8ms 1s556ms 21 1 1s338ms 1s338ms 22 1 882ms 882ms -
UPDATE "stock_move" SET "date" = '2023-08-28 18:46:28', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (558720, 558721, 558722, 558723, 558724, 558725, 558726, 558727, 558728, 558699, 558700, 558701, 558702, 558703, 558704, 558705, 558706, 558708, 558709, 558710, 558712, 558713, 558714, 558715, 558716, 558717, 558718, 558719);
Date: 2023-08-28 18:46:40 Duration: 12s366ms
-
UPDATE "stock_move" SET "date" = '2023-08-28 16:02:21', "state" = 'done', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (558739, 558740, 558741, 558743, 558744, 558745, 558747, 558748, 558749, 558750, 558751, 558752, 558753, 558754, 558755, 558756, 558757, 558758, 558759, 558760, 558761, 558763, 558764, 558765, 558766);
Date: 2023-08-28 16:02:32 Duration: 11s365ms
-
UPDATE "stock_move" SET "date" = '2023-08-28 16:01:54', "state" = 'done', "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (558739, 558740, 558741, 558743, 558744, 558745, 558747, 558748, 558749, 558750, 558751, 558752, 558753, 558754, 558755, 558756, 558757, 558758, 558759, 558760, 558761, 558763, 558764, 558765, 558766);
Date: 2023-08-28 16:02:05 Duration: 11s355ms
6 1s54ms 1s518ms 1s138ms 305 5m47s select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 28 11 7 8s8ms 1s144ms 12 35 39s40ms 1s115ms 13 94 1m47s 1s147ms 14 9 10s181ms 1s131ms 16 6 6s774ms 1s129ms 17 14 15s449ms 1s103ms 18 53 1m 1s143ms 19 65 1m14s 1s152ms 20 10 10s943ms 1s94ms 21 12 13s477ms 1s123ms -
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-08-28 19:40:02 Duration: 1s518ms
-
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-08-28 19:40:02 Duration: 1s430ms
-
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-08-28 13:43:18 Duration: 1s387ms
7 859ms 1s344ms 907ms 396 5m59s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 28 11 34 30s93ms 885ms 12 5 4s497ms 899ms 13 82 1m14s 911ms 14 21 18s708ms 890ms 15 23 20s800ms 904ms 16 38 35s764ms 941ms 17 45 40s710ms 904ms 18 56 50s487ms 901ms 19 27 25s122ms 930ms 20 65 58s515ms 900ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%342-4%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%342-4%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%342-4%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%342-4%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%342-4%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%342-4%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-08-28 19:45:54 Duration: 1s344ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%342-4009%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%342-4009%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%342-4009%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%342-4009%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%342-4009%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%342-4009%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-08-28 19:45:55 Duration: 1s304ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%161%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%161%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%161%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%161%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%161%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%161%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 10;
Date: 2023-08-28 13:25:22 Duration: 1s216ms
8 859ms 1s147ms 907ms 320 4m50s select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 28 11 29 25s934ms 894ms 12 5 4s763ms 952ms 13 69 1m2s 906ms 14 17 15s245ms 896ms 15 18 16s484ms 915ms 16 31 28s942ms 933ms 17 32 29s292ms 915ms 18 36 32s588ms 905ms 19 21 19s9ms 905ms 20 62 55s615ms 897ms -
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%3915053%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%3915053%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%3915053%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%3915053%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%3915053%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%3915053%'))));
Date: 2023-08-28 16:42:35 Duration: 1s147ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%177.72%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%177.72%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%177.72%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%177.72%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%177.72%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%177.72%'))));
Date: 2023-08-28 13:35:16 Duration: 1s145ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%5-153X%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5-153X%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%5-153X%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%5-153X%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%5-153X%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%5-153X%'))));
Date: 2023-08-28 13:15:23 Duration: 1s135ms
9 860ms 1s240ms 907ms 612 9m15s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 28 10 3 2s631ms 877ms 11 60 53s263ms 887ms 12 9 8s398ms 933ms 13 84 1m16s 914ms 14 39 34s708ms 889ms 15 78 1m10s 908ms 16 69 1m4s 941ms 17 60 54s447ms 907ms 18 96 1m26s 899ms 19 57 51s724ms 907ms 20 57 51s2ms 894ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%342-4009%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%342-4009%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%342-4009%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%342-4009%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%342-4009%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%342-4009%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-08-28 19:45:55 Duration: 1s240ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%gc3030lcw%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%gc3030lcw%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%gc3030lcw%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%gc3030lcw%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%gc3030lcw%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%gc3030lcw%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-08-28 20:11:03 Duration: 1s198ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%5-153X%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5-153X%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%5-153X%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%5-153X%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%5-153X%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%5-153X%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-08-28 13:15:23 Duration: 1s138ms
10 698ms 1s669ms 744ms 875 10m51s 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 #10
Day Hour Count Duration Avg duration Aug 28 10 2 1s439ms 719ms 11 33 24s8ms 727ms 12 110 1m22s 753ms 13 121 1m30s 746ms 14 127 1m34s 743ms 15 81 59s903ms 739ms 16 92 1m10s 770ms 17 83 1m1s 743ms 18 120 1m28s 735ms 19 63 46s508ms 738ms 20 32 23s223ms 725ms 21 11 7s986ms 726ms -
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 ('%380123-12%')) 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 ('%380123-12%'))) 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 ('%380123-12%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%380123-12%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-08-28 12:42:24 Duration: 1s669ms
-
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 ('%LFP1652%')) 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 ('%LFP1652%'))) 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 ('%LFP1652%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%LFP1652%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-08-28 12:52:30 Duration: 1s73ms
-
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 ('%035094%')) 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 ('%035094%'))) 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 ('%035094%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%035094%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-08-28 16:01:54 Duration: 1s20ms
11 179ms 16s87ms 741ms 301 3m43s update "stock_move" set "branch_id" = ?, "picking_id" = ?, "related_core_purchase_line_id" = ?, "related_core_repair_line_id" = ?, "related_core_sale_line_id" = ?, "scrapped" = false, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 28 10 4 2s788ms 697ms 11 16 10s836ms 677ms 12 31 18s794ms 606ms 13 37 26s63ms 704ms 14 37 30s897ms 835ms 15 31 16s930ms 546ms 16 29 38s885ms 1s340ms 17 23 17s974ms 781ms 18 29 12s4ms 413ms 19 37 27s468ms 742ms 20 21 15s389ms 732ms 21 6 5s247ms 874ms -
UPDATE "stock_move" SET "branch_id" = 39, "picking_id" = 220882, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (561664, 561665, 561666, 561667, 561668, 561669, 561670, 561671, 561672, 561673, 561674, 561675, 561676, 561677, 561678, 561679, 561680, 561681, 561682, 561683, 561684, 561685, 561686, 561687, 561688, 561689, 561690, 561691, 561692, 561693, 561694, 561695, 561696, 561697, 561698, 561699, 561700, 561701, 561702, 561703, 561704, 561705, 561706, 561707, 561708, 561709, 561710, 561711, 561712, 561713, 561714, 561715, 561716, 561717, 561718, 561719, 561720, 561721, 561722, 561723, 561724, 561725, 561726, 561727, 561728, 561729, 561730, 561731, 561732, 561733, 561734, 561650, 561651, 561652, 561653, 561654, 561655, 561656, 561657, 561658, 561659, 561660, 561661, 561662, 561663);
Date: 2023-08-28 16:12:01 Duration: 16s87ms
-
UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 220879, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (561624, 561625, 561626, 561627, 561628, 561629, 561630, 561631, 561632, 561633, 561634, 561635, 561636, 561637, 561638, 561639, 561640, 561641, 561642, 561643, 561644, 561645, 561646);
Date: 2023-08-28 16:09:59 Duration: 6s692ms
-
UPDATE "stock_move" SET "branch_id" = 39, "picking_id" = 220699, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (561184, 561185, 561186, 561187, 561189, 561190, 561192, 561193, 561194, 561195, 561196, 561183);
Date: 2023-08-28 14:34:13 Duration: 3s775ms
12 547ms 997ms 589ms 1,225 12m2s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 28 08 2 1s123ms 561ms 11 6 3s534ms 589ms 12 237 2m21s 597ms 13 173 1m41s 584ms 14 278 2m44s 592ms 15 67 39s222ms 585ms 16 11 6s679ms 607ms 17 60 35s469ms 591ms 18 124 1m12s 588ms 19 174 1m40s 579ms 20 93 55s171ms 593ms -
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 ('%%5043%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5043%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5043%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 12:54:13 Duration: 997ms
-
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 ('%%504364%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%504364%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%504364%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 12:54:14 Duration: 963ms
-
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 ('%%08650%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%08650%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%08650%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 12:48:17 Duration: 925ms
13 537ms 969ms 588ms 4,389 43m4s 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 #13
Day Hour Count Duration Avg duration Aug 28 10 130 1m13s 568ms 11 158 1m30s 574ms 12 421 4m5s 584ms 13 582 5m48s 598ms 14 614 6m2s 590ms 15 447 4m23s 588ms 16 439 4m29s 613ms 17 354 3m29s 591ms 18 405 3m55s 582ms 19 510 4m58s 585ms 20 226 2m8s 570ms 21 103 58s273ms 565ms -
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 ('%%21315%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%21315%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%21315%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 14:28:16 Duration: 969ms
-
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 ('%%80274%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%80274%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%80274%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 13:17:08 Duration: 947ms
-
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 ('%%802745%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%802745%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%802745%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 13:17:08 Duration: 944ms
14 545ms 862ms 581ms 346 3m21s 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"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 28 11 5 2s828ms 565ms 12 31 18s46ms 582ms 13 32 18s309ms 572ms 14 57 33s356ms 585ms 15 41 23s798ms 580ms 16 25 15s998ms 639ms 17 45 26s193ms 582ms 18 47 26s759ms 569ms 19 49 27s873ms 568ms 20 14 7s943ms 567ms -
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 ('%%1516718%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%151.6718%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%151.6718%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 16:54:04 Duration: 862ms
-
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 ('%%15998%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%15998%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%15998%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 14:28:22 Duration: 833ms
-
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 ('%%151671%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%151.671%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%151.671%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-08-28 16:54:03 Duration: 809ms
15 180ms 1s415ms 522ms 551 4m47s update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 28 09 4 2s83ms 520ms 10 3 1s414ms 471ms 11 6 2s950ms 491ms 12 37 18s935ms 511ms 13 78 38s536ms 494ms 14 53 26s940ms 508ms 15 101 48s791ms 483ms 16 34 19s327ms 568ms 17 28 16s129ms 576ms 18 42 22s138ms 527ms 19 116 1m4s 557ms 20 32 16s948ms 529ms 21 13 6s849ms 526ms 22 4 2s51ms 512ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 10.0, "date" = '2023-08-28 19:49:48', "is_done" = true, "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (562433, 562439);
Date: 2023-08-28 19:49:53 Duration: 1s415ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 6.0, "date" = '2023-08-28 19:49:48', "is_done" = true, "state" = 'done', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (562435, 562438);
Date: 2023-08-28 19:49:55 Duration: 1s374ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 7.0, "date" = '2023-08-28 20:06:00', "is_done" = true, "state" = 'done', "write_uid" = 1028, "write_date" = (now() at time zone 'UTC') WHERE id IN (562472, 562470);
Date: 2023-08-28 20:06:03 Duration: 1s332ms
16 123ms 6s349ms 441ms 481 3m32s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 28 10 2 353ms 176ms 11 33 26s729ms 809ms 12 61 32s2ms 524ms 13 50 17s538ms 350ms 14 70 30s969ms 442ms 15 34 14s847ms 436ms 16 27 11s909ms 441ms 17 33 13s970ms 423ms 18 49 14s125ms 288ms 19 84 36s52ms 429ms 20 27 10s151ms 375ms 21 11 3s674ms 334ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (561033, 561035, 561036, 561037, 561038, 561039, 561040, 561041, 561042, 561043, 561044, 561045, 561046, 561047, 561048, 561049, 561050, 561051, 561052, 561053, 561054);
Date: 2023-08-28 14:05:07 Duration: 6s349ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (562306, 562308, 562309, 562310, 562311, 562312, 562313, 562314, 562315, 562316, 562318);
Date: 2023-08-28 19:33:07 Duration: 3s501ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (560739, 560740, 560773, 560774, 560775, 560744, 560745, 560776, 560747, 560751, 560755, 560787, 560757, 560728, 560729);
Date: 2023-08-28 12:54:35 Duration: 3s430ms
17 217ms 1s982ms 338ms 801 4m30s update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 28 09 3 1s97ms 365ms 10 2 639ms 319ms 11 17 4s830ms 284ms 12 97 32s211ms 332ms 13 142 42s555ms 299ms 14 78 28s823ms 369ms 15 83 25s533ms 307ms 16 45 16s907ms 375ms 17 55 19s66ms 346ms 18 88 28s593ms 324ms 19 117 42s900ms 366ms 20 47 17s221ms 366ms 21 21 8s645ms 411ms 22 6 1s823ms 303ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (345442, 345580, 344396, 345595, 344504, 345115);
Date: 2023-08-28 14:05:52 Duration: 1s982ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (346736, 346738, 346740, 346742, 346743, 346745);
Date: 2023-08-28 21:00:43 Duration: 1s548ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (25961, 346259, 340884, 25510);
Date: 2023-08-28 15:27:10 Duration: 1s518ms
18 150ms 9s35ms 280ms 395 1m50s update "sale_order_line" set "open_qty_fil" = ?.?, "qty_delivered_method" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 28 10 10 1s910ms 191ms 11 12 2s280ms 190ms 12 40 8s775ms 219ms 13 52 12s822ms 246ms 14 43 11s680ms 271ms 15 36 9s187ms 255ms 16 48 26s917ms 560ms 17 38 9s723ms 255ms 18 35 7s197ms 205ms 19 53 13s740ms 259ms 20 19 3s849ms 202ms 21 9 2s731ms 303ms -
UPDATE "sale_order_line" SET "open_qty_fil" = 5.0, "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (224131, 224133, 224033, 224034, 224035, 224037, 224038, 224039, 224040, 224041, 219589, 224044, 224045, 224046, 224047, 224048, 224305, 224050, 224051, 224052, 224310, 224311, 224061, 224062, 224063, 224065, 219585, 224067, 219587, 224069, 224070, 224071, 224072, 224073, 224074, 224075, 224076, 224077, 224078, 224079, 219594, 224081, 224082, 219595, 224084, 219596, 224089, 224090, 224092, 224100, 224101, 224104, 224106);
Date: 2023-08-28 16:12:16 Duration: 9s35ms
-
UPDATE "sale_order_line" SET "open_qty_fil" = 2.0, "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (224129, 224130, 224032, 224298, 224043, 224307, 224053, 224058, 219590, 219591, 219592, 219593, 219600, 219608, 224093, 224095, 224097, 224107, 224108, 224110, 224114, 224118, 224122, 224127);
Date: 2023-08-28 16:12:06 Duration: 4s266ms
-
UPDATE "sale_order_line" SET "open_qty_fil" = 1.0, "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1020, "write_date" = (now() at time zone 'UTC') WHERE id IN (225637, 225638, 225642, 225644, 225621, 225622, 225623, 225624, 225625, 225626, 225627, 225628, 225629, 225630);
Date: 2023-08-28 16:10:02 Duration: 2s475ms
19 227ms 531ms 242ms 2,692 10m52s 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 #19
Day Hour Count Duration Avg duration Aug 28 07 8 1s947ms 243ms 09 6 1s475ms 245ms 10 14 3s439ms 245ms 11 141 33s769ms 239ms 12 383 1m32s 240ms 13 342 1m22s 241ms 14 312 1m15s 242ms 15 305 1m13s 241ms 16 270 1m7s 249ms 17 320 1m18s 244ms 18 188 45s452ms 241ms 19 264 1m3s 240ms 20 107 25s277ms 236ms 21 32 7s613ms 237ms -
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_backend.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-17a2563/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-08-28 16:51:34 Duration: 531ms
-
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_editor.assets_wysiwyg.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-70860c2/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-08-28 14:28:21 Duration: 449ms
-
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: 2023-08-28 16:01:03 Duration: 439ms
20 120ms 510ms 231ms 3,954 15m15s 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 #20
Day Hour Count Duration Avg duration Aug 28 00 20 3s206ms 160ms 01 18 3s77ms 170ms 02 32 5s316ms 166ms 03 11 2s6ms 182ms 04 9 1s381ms 153ms 05 28 4s882ms 174ms 06 19 2s934ms 154ms 07 49 8s482ms 173ms 08 137 25s574ms 186ms 09 34 5s785ms 170ms 10 77 15s593ms 202ms 11 88 15s327ms 174ms 12 585 2m38s 270ms 13 448 1m50s 247ms 14 305 1m22s 271ms 15 416 1m35s 228ms 16 461 1m49s 237ms 17 181 37s662ms 208ms 18 231 49s921ms 216ms 19 500 1m55s 231ms 20 204 43s261ms 212ms 21 47 8s916ms 189ms 22 12 2s146ms 178ms 23 42 7s175ms 170ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-08-28 19:44:13') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_974"', '["pointspring_master","calendar.alarm",19512]', '["pointspring_master","mail.channel",419]', '["pointspring_master","mail.channel",420]', '["pointspring_master","mail.channel",421]', '["pointspring_master","mail.channel",489]', '["pointspring_master","res.partner",19512]', '["pointspring_master","ir.needaction",19512]'))) ORDER BY "bus_bus"."id";
Date: 2023-08-28 19:45:04 Duration: 510ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-08-28 19:44:13') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1021"', '["pointspring_master","calendar.alarm",19559]', '["pointspring_master","mail.channel",132]', '["pointspring_master","mail.channel",133]', '["pointspring_master","mail.channel",134]', '["pointspring_master","mail.channel",135]', '["pointspring_master","mail.channel",499]', '["pointspring_master","res.partner",19559]', '["pointspring_master","ir.needaction",19559]'))) ORDER BY "bus_bus"."id";
Date: 2023-08-28 19:45:04 Duration: 498ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-08-28 14:06:04') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_961"', '["pointspring_master","calendar.alarm",19499]', '["pointspring_master","mail.channel",201]', '["pointspring_master","mail.channel",202]', '["pointspring_master","mail.channel",430]', '["pointspring_master","mail.channel",440]', '["pointspring_master","res.partner",19499]', '["pointspring_master","ir.needaction",19499]'))) ORDER BY "bus_bus"."id";
Date: 2023-08-28 14:06:55 Duration: 498ms
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
- 40,777 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 950 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 533 Max number of times the same event was reported
- 950 Total events found
Rank Times reported Error 1 533 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Aug 28 07 3 08 1 09 1 10 5 11 52 12 53 13 80 14 48 15 49 16 42 17 42 18 41 19 46 20 69 21 1 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE "bus_presence" SET "last_poll"='2023-08-28 07:32:58',"last_presence"='2023-08-25 19:35:38.635310' WHERE id IN (157)
Date: 2023-08-28 07:32:58
2 386 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Aug 28 00 10 01 13 02 15 03 9 04 13 05 13 06 11 07 41 08 13 09 18 10 18 11 13 12 16 13 16 14 12 15 19 16 20 17 14 18 18 19 15 20 10 21 12 22 16 23 31 - ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "website_visitor"
- ERROR: could not obtain lock on row in relation "stock_quant"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=68 FOR UPDATE NOWAIT
Date: 2023-08-28 00:00:05
Statement: SELECT * FROM website_visitor where id = 1826621 FOR NO KEY UPDATE NOWAIT
Date: 2023-08-28 12:23:26
Statement: SELECT 1 FROM stock_quant WHERE id = 150592 FOR UPDATE NOWAIT
Date: 2023-08-28 19:49:52
3 19 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #3
Day Hour Count Aug 28 12 1 13 4 14 5 15 4 17 1 20 4 - ERROR: process 4085830 still waiting for ShareLock on transaction 203141364 after 1000.083 ms
- ERROR: process 4085863 still waiting for ShareLock on transaction 203142178 after 1000.061 ms
- ERROR: process 4085366 still waiting for ShareLock on transaction 203145875 after 1000.047 ms
Detail: Process holding the lock: 4086248. Wait queue: 4085830.
Context: while updating tuple (14401,20) in relation "account_move"
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 != 845259 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 != 845259 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-08-28 12:58:42
Detail: Process holding the lock: 4085833. Wait queue: 4085863.
Context: while updating tuple (13977,40) in relation "account_move"
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 != 845799 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 != 845799 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-08-28 13:03:10
Detail: Process holding the lock: 4087323. Wait queue: 4085366.
Context: while updating tuple (14205,36) in relation "account_move"
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 != 790794 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 != 790794 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-08-28 13:23:45
4 4 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Aug 28 09 2 10 2 - ERROR: could not create unique index "vendor_account_master_unique_acc_no"
Detail: Key (account_number)=(P10394) is duplicated.
Statement: ALTER TABLE "vendor_account_master" ADD CONSTRAINT "vendor_account_master_unique_acc_no" unique (account_number)Date: 2023-08-28 09:52:24
5 2 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #5
Day Hour Count Aug 28 14 1 20 1 - ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 4085832 waits for ShareLock on transaction 203160488; blocked by process 4085956. Process 4085956 waits for ShareLock on transaction 203160501; blocked by process 4085832. Process 4085832: UPDATE "sale_order_line" SET "branch_id"=39,"qty_delivered_method"='stock_move',"state"='sale',"warehouse_id"=37,"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (222272, 223073, 223075, 223076, 222085, 223045, 222279, 222088, 222280, 223046, 222091, 223057, 222260, 222077) Process 4085956: UPDATE "sale_order" SET "carrier_id"=69,"write_uid"=1141,"write_date"=(now() at time zone 'UTC') WHERE id IN (76232)
Context: while updating tuple (8158,4) in relation "sale_order_line"
Hint: See server log for query details.
Statement: UPDATE "sale_order_line" SET "branch_id"=39,"qty_delivered_method"='stock_move',"state"='sale',"warehouse_id"=37,"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (222272, 223073, 223075, 223076, 222085, 223045, 222279, 222088, 222280, 223046, 222091, 223057, 222260, 222077)Date: 2023-08-28 14:34:15
Detail: Process 296600 waits for ShareLock on transaction 203226864; blocked by process 279785. Process 279785 waits for ShareLock on transaction 203226868; blocked by process 296600. Process 296600: UPDATE "sale_order_line" SET "branch_id"=48,"open_qty_fil"=1.0,"qty_delivered_method"='stock_move',"state"='sale',"warehouse_id"=45,"write_uid"=1143,"write_date"=(now() at time zone 'UTC') WHERE id IN (226147, 226134) Process 279785: UPDATE "sale_order" SET "carrier_id"=69,"write_uid"=1143,"write_date"=(now() at time zone 'UTC') WHERE id IN (77552)
Context: while updating tuple (4118,46) in relation "sale_order_line"
Hint: See server log for query details.
Statement: UPDATE "sale_order_line" SET "branch_id"=48,"open_qty_fil"=1.0,"qty_delivered_method"='stock_move',"state"='sale',"warehouse_id"=45,"write_uid"=1143,"write_date"=(now() at time zone 'UTC') WHERE id IN (226147, 226134)Date: 2023-08-28 20:48:56
6 2 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #6
Day Hour Count Aug 28 15 1 18 1 - ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: INSERT INTO "edi_810_scheduler_details" ("id", "create_uid", "create_date", "write_uid", "write_date", "edi_810_ref", "rec_status", "total_time") VALUES (nextval('edi_810_scheduler_details_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), '5544145', 'Match', '1.1293561458587646') RETURNING id
Date: 2023-08-28 15:59:02
7 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Aug 28 15 1 - ERROR: duplicate key value violates unique constraint "fleet_vehicle_vehicle_unit_no_driver_id_unique"
Detail: Key (vehicle_unit_no, driver_id)=(., 34084) already exists.
Statement: INSERT INTO "fleet_vehicle" ("id", "create_uid", "create_date", "write_uid", "write_date", "acquisition_date", "active", "brand_id", "car_value", "co2", "color", "company_id", "description", "doors", "driver_id", "first_contract_date", "fuel_type", "future_driver_id", "horsepower", "horsepower_tax", "license_plate", "location", "manager_id", "model_id", "model_vehicle_type", "model_year", "name", "net_car_value", "next_assignation_date", "odometer_unit", "power", "residual_value", "seats", "state_id", "transmission", "vehicle_unit_no", "vin_sn") VALUES (nextval('fleet_vehicle_id_seq'), 1031, (now() at time zone 'UTC'), 1031, (now() at time zone 'UTC'), '2023-08-28', true, 105, 0.0, 0.0, NULL, 1, NULL, 5, 34084, '2023-08-28', NULL, NULL, 0, 0.0, 'wv', NULL, 1032, 229, 22, NULL, 'fo', 0.0, NULL, 'miles', 0, 0.0, 0, 3, NULL, '.', '1ed914447') RETURNING idDate: 2023-08-28 15:54:47
8 1 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #8
Day Hour Count Aug 28 18 1 - ERROR: null value in column "categ_id" of relation "product_template" violates not-null constraint
Detail: Failing row contains (253767, null, LTS3030et951, 1, null, null, null, product, null, 1.00, null, null, t, t, 1, 1, null, t, null, null, null, null, 1038, 2023-08-28 18:44:16.511278, 1038, 2023-08-28 18:44:16.511278, manual, no-message, null, no, delivery, 0, none, null, null, null, receive, no-message, null, null, no, 0, null, null, null, null, null, null, null, null, f, null, 1, 1, null, 412760, never, 0, , 45, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 2023-08-28, null, E, 1, null, null, f, f, no, null, 1, null, null, null, null, null, null, null, null, null, none, null, null, null, f, f, null, null, null, f, rfq, null, null).
Statement: INSERT INTO "product_template" ("id", "create_uid", "create_date", "write_uid", "write_date", "active", "allow_journal", "available_threshold", "branch_id", "categ_id", "core_qty", "custom_message", "expense_policy", "first_active_date", "global_class_code", "inventory_availability", "invoice_policy", "is_core", "is_direct_order_product", "is_mo_product", "is_published", "is_transmission", "linked_with_existing_core", "list_price", "name", "produce_delay", "purchase_line_warn", "purchase_method", "purchase_ok", "purchase_requisition", "sale_delay", "sale_line_warn", "sale_ok", "sequence", "service_form_type", "service_tracking", "service_type", "standard_carton_quanity", "tracking", "type", "uom_id", "uom_po_id", "website_sequence", "website_size_x", "website_size_y") VALUES (nextval('product_template_id_seq'), 1038, (now() at time zone 'UTC'), 1038, (now() at time zone 'UTC'), true, false, 0.0, 45, NULL, 1, '', 'no', '2023-08-28', 'E', 'never', 'delivery', false, false, false, false, false, 'no', '1.00', 'LTS3030et951', 0.0, 'no-message', 'receive', true, 'rfq', 0.0, 'no-message', true, 1, 'none', 'no', 'manual', 1, 'none', 'product', 1, 1, 412760, 1, 1) RETURNING idDate: 2023-08-28 18:44:16
9 1 LOG: process ... still waiting for ShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #9
Day Hour Count Aug 28 10 1 - ERROR: process 4086633 still waiting for ShareLock on relation 42418 of database 65946 after 1000.042 ms
Detail: Process holding the lock: 4085838. Wait queue: 4086633.
Statement: CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move(journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move(journal_id, state, payment_state, move_type, date);Date: 2023-08-28 10:21:21
10 1 LOG: process ... still waiting for RowExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #10
Day Hour Count Aug 28 10 1 - ERROR: process 4085838 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.049 ms at character 13
Detail: Process holding the lock: 4086633. Wait queue: 4085838.
Statement: INSERT INTO "account_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "auto_post", "branch_id", "currency_id", "date", "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'), 1018, (now() at time zone 'UTC'), 1018, (now() at time zone 'UTC'), false, 38, 2, '2023-08-28', false, false, -1, 'no_extract_requested', NULL, 1.0, 1018, false, false, 6, 'entry', false, 42104, '03-C/OUT/09842 - [4707Q] 16.5 X 7 Shoe Core RW Q Plus', 'draft', 560010, 1, false, false) RETURNING idDate: 2023-08-28 10:21:11