-
Global information
- Generated on Thu Oct 12 00:50:09 2023
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 101,672 log entries in 8s
- Log start from 2023-10-11 00:05:31 to 2023-10-11 23:59:03
-
Overview
Global Stats
- 957 Number of unique normalized queries
- 36,050 Number of queries
- 4h33m Total query duration
- 2023-10-11 00:05:31 First query
- 2023-10-11 23:59:03 Last query
- 46 queries/s at 2023-10-11 18:40:50 Query peak
- 4h33m Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 4h33m Execute total duration
- 1,183 Number of events
- 6 Number of unique normalized events
- 622 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
- 36,050 Average queries per session
- 4h33m 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
- 46 queries/s Query Peak
- 2023-10-11 18:40:50 Date
SELECT Traffic
Key values
- 44 queries/s Query Peak
- 2023-10-11 17:56:48 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 10 queries/s Query Peak
- 2023-10-11 14:06:51 Date
Queries duration
Key values
- 4h33m 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) Oct 11 00 86 0ms 689ms 319ms 2s380ms 5s480ms 5s510ms 01 60 0ms 917ms 295ms 2s749ms 2s769ms 4s464ms 02 30 0ms 1s79ms 379ms 2s91ms 2s356ms 2s356ms 03 4 0ms 3s443ms 2s78ms 8s313ms 8s313ms 8s313ms 04 8 0ms 898ms 422ms 1s705ms 1s705ms 1s705ms 05 0 0ms 0ms 0ms 0ms 0ms 0ms 06 20 0ms 50s994ms 9s136ms 1m1s 1m1s 1m1s 07 37 0ms 5s751ms 544ms 2s648ms 12s974ms 12s974ms 08 96 0ms 3s794ms 340ms 2s724ms 4s234ms 4s748ms 09 118 0ms 3m45s 5s426ms 1m33s 3m53s 3m53s 10 458 0ms 8s82ms 514ms 9s673ms 15s961ms 20s698ms 11 2,627 0ms 7s115ms 389ms 42s79ms 45s907ms 50s599ms 12 3,945 120ms 21s745ms 390ms 43s238ms 45s312ms 57s2ms 13 4,374 120ms 11s526ms 406ms 54s252ms 58s765ms 1m12s 14 4,686 120ms 8m20s 614ms 1m2s 1m48s 8m48s 15 3,445 120ms 7s818ms 438ms 46s476ms 59s308ms 1m27s 16 2,938 120ms 3s968ms 390ms 35s97ms 41s16ms 1m5s 17 3,556 120ms 18s877ms 398ms 41s238ms 47s874ms 1m13s 18 4,637 120ms 14s166ms 408ms 1m 1m32s 1m52s 19 3,111 120ms 5s16ms 386ms 36s762ms 39s120ms 51s680ms 20 1,475 120ms 7s633ms 378ms 18s972ms 22s756ms 38s804ms 21 235 0ms 742ms 356ms 7s912ms 10s821ms 13s54ms 22 79 0ms 2s58ms 1s399ms 35s884ms 1m13s 1m13s 23 25 0ms 13s937ms 1s948ms 14s198ms 16s429ms 16s429ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 11 00 48 0 272ms 398ms 825ms 5s251ms 01 47 0 298ms 1s16ms 2s153ms 4s464ms 02 27 0 400ms 1s485ms 2s91ms 2s356ms 03 0 0 0ms 0ms 0ms 0ms 04 4 0 598ms 1s182ms 1s210ms 1s210ms 05 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 31 0 227ms 523ms 1s461ms 2s648ms 08 93 0 307ms 1s725ms 2s187ms 4s234ms 09 19 87 6s12ms 1m14s 1m32s 3m53s 10 380 0 516ms 6s498ms 8s488ms 20s523ms 11 1,721 0 411ms 20s666ms 29s301ms 37s581ms 12 2,551 0 413ms 27s646ms 33s706ms 40s501ms 13 2,735 0 437ms 28s27ms 44s913ms 48s327ms 14 2,943 0 763ms 28s904ms 42s420ms 8m29s 15 2,018 0 467ms 20s553ms 27s991ms 58s981ms 16 2,098 0 418ms 22s246ms 29s579ms 42s966ms 17 2,336 0 412ms 23s868ms 28s745ms 57s650ms 18 2,503 0 407ms 24s339ms 36s669ms 52s30ms 19 1,978 0 399ms 21s332ms 25s228ms 36s590ms 20 953 0 403ms 10s175ms 14s608ms 31s538ms 21 166 0 372ms 3s534ms 6s523ms 13s54ms 22 79 0 1s399ms 926ms 35s884ms 1m13s 23 14 0 255ms 577ms 693ms 706ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 11 00 6 32 0 0 378ms 0ms 886ms 2s883ms 01 2 11 0 0 281ms 0ms 186ms 1s141ms 02 0 3 0 0 194ms 0ms 0ms 583ms 03 0 0 4 0 2s78ms 0ms 0ms 8s313ms 04 0 4 0 0 247ms 0ms 494ms 495ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 20 0 9s136ms 27s839ms 34s862ms 1m1s 07 0 0 5 0 2s565ms 0ms 0ms 12s827ms 08 0 1 2 0 1s384ms 0ms 0ms 188ms 09 0 12 0 0 248ms 0ms 0ms 1s522ms 10 1 75 2 0 506ms 200ms 536ms 3s929ms 11 22 881 2 0 349ms 7s304ms 11s212ms 17s992ms 12 32 1,341 20 0 348ms 7s716ms 11s222ms 15s631ms 13 28 1,561 43 0 356ms 9s329ms 13s246ms 23s133ms 14 39 1,651 45 0 365ms 9s613ms 13s183ms 20s314ms 15 38 1,319 51 0 400ms 7s982ms 12s789ms 28s398ms 16 28 779 25 0 321ms 4s360ms 5s895ms 13s53ms 17 43 1,149 22 0 372ms 6s921ms 11s16ms 21s719ms 18 46 1,996 89 0 410ms 11s789ms 24s522ms 49s740ms 19 71 1,032 19 0 366ms 6s95ms 12s16ms 22s217ms 20 12 471 39 0 333ms 2s805ms 4s431ms 7s782ms 21 11 58 0 0 317ms 263ms 1s607ms 3s191ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 1 10 0 4s103ms 0ms 3s709ms 16s429ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Oct 11 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 Oct 11 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 Oct 11 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 Oct 11 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 Oct 11 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) Oct 11 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 Oct 11 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 Oct 11 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 Oct 11 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
- 26 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 2 1m4s 30s286ms 34s606ms 32s446ms update "bus_presence" set "last_poll" = ? where id in (...);-
UPDATE "bus_presence" SET "last_poll" = '2023-10-11 17:54:14' WHERE id IN (56);
Date: 2023-10-11 17:54:48
2 9 28s656ms 1s308ms 11s280ms 3s184ms 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 != 940913 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 != 940913 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2023-10-11 14:02:42
3 10 20s125ms 1s543ms 3s681ms 2s12ms update "account_move" set "message_main_attachment_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "message_main_attachment_id" = 3324841, "write_uid" = 1223, "write_date" = (now() at time zone 'UTC') WHERE id IN (940234);
Date: 2023-10-11 12:21:28
4 1 7s537ms 7s537ms 7s537ms 7s537ms update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move" SET "date" = '2023-10-11 13:26:20', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (599511, 599512, 599513, 599514, 599515, 599516, 599517, 599518, 599519, 599520, 599521, 599522, 599523, 599524, 599525, 599526, 599527, 599528, 599529, 599530, 599531, 599532, 599533, 599534, 599535, 599536, 599537, 599538, 599539);
Date: 2023-10-11 13:26:31
-
UPDATE "stock_move" SET "date" = '2023-10-11 15:05:30', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (618404, 618405, 618406, 618407, 618408, 618409, 618410, 618411, 618412, 618413, 618414, 618415, 618416, 618417, 618418, 618419, 618420);
Date: 2023-10-11 15:05:36
-
UPDATE "stock_move" SET "date" = '2023-10-11 15:23:15', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (618272, 618273, 618274, 618275, 618276, 618277, 618278, 618279, 618264, 618265, 618266, 618267, 618268, 618269, 618270, 618271);
Date: 2023-10-11 15:23:20
5 1 3s186ms 3s186ms 3s186ms 3s186ms update "bus_presence" set "last_poll" = ?, "last_presence" = ? where id in (...);-
UPDATE "bus_presence" SET "last_poll" = '2023-10-11 20:26:06', "last_presence" = '2023-10-11 20:25:49.821149' WHERE id IN (152);
Date: 2023-10-11 20:26:09
6 2 2s195ms 1s92ms 1s103ms 1s97ms 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 (254209, 249827, 249480, 255370, 249484, 249485, 255372);
Date: 2023-10-11 15:44:03
-
UPDATE "sale_order_line" SET "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (254882, 254883, 254884, 254862, 254863, 254864, 254865, 254867);
Date: 2023-10-11 12:01:14
-
UPDATE "sale_order_line" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (255622, 255623, 255624, 255625, 255434, 255627, 255638);
Date: 2023-10-11 18:19:22
7 1 1s197ms 1s197ms 1s197ms 1s197ms insert into "sale_advance_payment_inv" ("id", "create_uid", "create_date", "write_uid", "write_date", "advance_payment_method", "amount", "amount_taken", "count", "currency_id", "deduct_down_payments", "deposit_account_id", "due_amount", "fixed_amount", "has_down_payments", "is_cash_sale_order", "is_immediate_payment", "is_self_used", "journal_id", "partner_id", "payment_details", "payment_method_id", "payment_term_id", "product_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), ?, ?, ?, ?, ?, true, ?, ?, ?, false, false, false, false, null, ?, null, null, ?, ?) returning id;-
INSERT INTO "sale_advance_payment_inv" ("id", "create_uid", "create_date", "write_uid", "write_date", "advance_payment_method", "amount", "amount_taken", "count", "currency_id", "deduct_down_payments", "deposit_account_id", "due_amount", "fixed_amount", "has_down_payments", "is_cash_sale_order", "is_immediate_payment", "is_self_used", "journal_id", "partner_id", "payment_details", "payment_method_id", "payment_term_id", "product_id") VALUES (nextval('sale_advance_payment_inv_id_seq'), 1026, (now() at time zone 'UTC'), 1026, (now() at time zone 'UTC'), 'delivered', '0.00', '0.00', 1, 2, true, 1417, '131.76', '0.00', false, false, false, false, NULL, 35502, NULL, NULL, 94, 171436) RETURNING id;
Date: 2023-10-11 13:44:29
Queries that waited the most
Rank Wait time Query 1 34s606ms UPDATE "bus_presence" SET "last_poll" = '2023-10-11 17:54:14' WHERE id IN (56);[ Date: 2023-10-11 17:54:48 ]
2 30s286ms UPDATE "bus_presence" SET "last_poll" = '2023-10-11 17:54:18' WHERE id IN (56);[ Date: 2023-10-11 17:54:48 ]
3 11s280ms 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 != 264197 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 != 264197 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-11 14:04:32 ]
4 7s537ms UPDATE "stock_move" SET "date" = '2023-10-11 15:21:19', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (618200, 618201, 618202, 618203, 618204, 618205);[ Date: 2023-10-11 15:21:29 ]
5 4s159ms 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 != 940949 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 != 940949 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-11 14:08:52 ]
6 3s681ms UPDATE "account_move" SET "message_main_attachment_id" = 3325581, "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (940937);[ Date: 2023-10-11 14:06:47 ]
7 3s445ms UPDATE "account_move" SET "message_main_attachment_id" = 3325210, "write_uid" = 1022, "write_date" = (now() at time zone 'UTC') WHERE id IN (940555);[ Date: 2023-10-11 13:13:21 ]
8 3s186ms UPDATE "bus_presence" SET "last_poll" = '2023-10-11 20:26:06', "last_presence" = '2023-10-11 20:25:49.821149' WHERE id IN (152);[ Date: 2023-10-11 20:26:09 ]
9 2s471ms UPDATE "account_move" SET "message_main_attachment_id" = 3325219, "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (940567);[ Date: 2023-10-11 13:15:15 ]
10 2s464ms 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 != 940727 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 != 940727 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-11 13:39:00 ]
11 2s415ms 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 != 940930 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 != 940930 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-11 14:04:32 ]
12 2s314ms UPDATE "account_move" SET "message_main_attachment_id" = 3325736, "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (941059);[ Date: 2023-10-11 14:21:26 ]
13 2s311ms 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 != 940629 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 != 940629 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-11 13:22:32 ]
14 1s938ms 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 != 941123 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 != 941123 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-11 14:30:41 ]
15 1s662ms UPDATE "account_move" SET "message_main_attachment_id" = 3325510, "write_uid" = 1041, "write_date" = (now() at time zone 'UTC') WHERE id IN (940851);[ Date: 2023-10-11 13:52:24 ]
16 1s543ms UPDATE "account_move" SET "message_main_attachment_id" = 3324841, "write_uid" = 1223, "write_date" = (now() at time zone 'UTC') WHERE id IN (940234);[ Date: 2023-10-11 12:21:28 ]
17 1s522ms 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 != 941121 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 != 941121 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-11 14:30:48 ]
18 1s509ms UPDATE "account_move" SET "message_main_attachment_id" = 3325971, "write_uid" = 1238, "write_date" = (now() at time zone 'UTC') WHERE id IN (941251);[ Date: 2023-10-11 14:56:32 ]
19 1s308ms 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 != 940913 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 != 940913 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-11 14:02:42 ]
20 1s255ms 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 != 874371 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 != 874371 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-11 16:20:35 ]
-
Queries
Queries by type
Key values
- 22,744 Total read queries
- 13,306 Total write queries
Queries by database
Key values
- unknown Main database
- 36,050 Requests
- 4h33m (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 36,062 Requests
User Request type Count Duration unknown Total 36,062 4h33m4s copy to 87 10m31s cte 65 11s822ms delete 398 11m14s insert 379 1m15s select 22,755 2h57m19s update 12,378 1h12m31s Duration by user
Key values
- 4h33m4s (unknown) Main time consuming user
User Request type Count Duration unknown Total 36,062 4h33m4s copy to 87 10m31s cte 65 11s822ms delete 398 11m14s insert 379 1m15s select 22,755 2h57m19s update 12,378 1h12m31s Queries by host
Key values
- unknown Main host
- 36,062 Requests
- 4h33m4s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 36,050 Requests
- 4h33m (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2023-10-11 18:21:19 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 25,083 100-500ms duration
Slowest individual queries
Rank Duration Query 1 8m20s SELECT count(1) FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND ((("product_template"."sale_ok" = true) OR ("product_template"."purchase_ok" = true)) AND ("product_template"."id" not in ( SELECT "product_tmpl_id" FROM "product_warehouse_inventory" WHERE "product_tmpl_id" IS NOT NULL))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL);[ Date: 2023-10-11 14:12:11 ]
2 8m9s 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"."sale_ok" = true) OR ("product_template"."purchase_ok" = true)) AND ("product_template"."id" not in ( SELECT "product_tmpl_id" FROM "product_warehouse_inventory" WHERE "product_tmpl_id" IS NOT NULL))))) 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-10-11 14:03:50 ]
3 3m45s 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-10-11 09:07:49 ]
4 1m27s 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-10-11 09:02:38 ]
5 1m20s 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-10-11 09:04:04 ]
6 50s994ms DELETE FROM account_move_line WHERE id IN (3345957, 3345958, 3345556, 3345557, 3345558, 3345559, 3345560, 3345561, 3345562, 3345563, 3345564, 3345565, 3345566, 3345567, 3345568, 3345569, 3345570, 3345571, 3345572, 3345573, 3345574, 3345575, 3345576, 3345577, 3345578, 3345579, 3345580, 3345581, 3345582, 3345583, 3345584, 3345585, 3345586, 3345587, 3345588, 3345589, 3345590, 3345591, 3345592, 3345593, 3345594, 3345595, 3345596, 3345597);[ Date: 2023-10-11 06:07:13 ]
7 42s670ms 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-10-11 09:10:39 ]
8 32s396ms DELETE FROM account_move_line WHERE id IN (3214077, 3214078, 3214079, 3214080, 3214081, 3214082, 3214083, 3214084, 3214085, 3214086, 3214087, 3214088, 3214089, 3214090, 3214091, 3214092, 3214093, 3214094, 3214095, 3214096, 3214097, 3214098, 3214099, 3214100, 3214101, 3214102, 3345797, 3345798);[ Date: 2023-10-11 06:02:10 ]
9 30s105ms DELETE FROM account_move_line WHERE id IN (3346123, 3346124, 3346125, 3346126, 3346127, 3346128, 3346129, 3346130, 3346131, 3346132, 3346133, 3346134, 3346135, 3346136, 3346137, 3346138, 3346139, 3346140, 3346141, 3346142, 3346143, 3346144, 3351605, 3351606, 3351607, 3351608);[ Date: 2023-10-11 06:08:17 ]
10 27s273ms COPY public.website_track (id, visitor_id, page_id, url, visit_datetime, product_id) TO stdout;[ Date: 2023-10-11 09:09:57 ]
11 21s997ms COPY public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage, technician_id) TO stdout;[ Date: 2023-10-11 09:09:03 ]
12 21s922ms DELETE FROM account_move_line WHERE id IN (3354037, 3354038, 3354039, 3354040, 3354041, 3354042, 3354043, 3354044, 3354045, 3354046, 3354047, 3354048, 3354049, 3354050, 3354051, 3354052, 3354053, 3354114, 3354115);[ Date: 2023-10-11 06:00:58 ]
13 21s745ms SELECT "sale_line_report".id FROM "sale_line_report" WHERE (("sale_line_report"."cus_part_route" = 2) AND (("sale_line_report"."id" > '0') AND (((((("sale_line_report"."branch_id" in (37)) AND "sale_line_report"."display_type" IS NULL) AND ((("sale_line_report"."open_qty_fil" > 0.0) AND (("sale_line_report"."state" not in ('draft', 'cancel')) OR "sale_line_report"."state" IS NULL)) AND ("sale_line_report"."move_options" = 'new_product'))) AND ("sale_line_report"."so_line_id" IS NULL AND (unaccent ("sale_line_report"."move_options"::text) ilike unaccent ('%new%')))) AND ("sale_line_report"."on_hand" > 0.0)) AND ("sale_line_report"."partner_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ("res_partner"."wed_deli_day" = 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')))))))) ORDER BY "sale_line_report"."date" DESC, "sale_line_report"."id" ASC LIMIT 80;[ Date: 2023-10-11 12:11:33 ]
14 21s51ms SELECT "sale_line_report".id FROM "sale_line_report" WHERE (("sale_line_report"."cus_part_route" = 2) AND (("sale_line_report"."id" > '0') AND (((((("sale_line_report"."branch_id" in (37)) AND "sale_line_report"."display_type" IS NULL) AND ((("sale_line_report"."open_qty_fil" > 0.0) AND (("sale_line_report"."state" not in ('draft', 'cancel')) OR "sale_line_report"."state" IS NULL)) AND ("sale_line_report"."move_options" = 'new_product'))) AND ("sale_line_report"."so_line_id" IS NULL AND (unaccent ("sale_line_report"."move_options"::text) ilike unaccent ('%new%')))) AND ("sale_line_report"."on_hand" > 0.0)) AND ("sale_line_report"."partner_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ("res_partner"."wed_deli_day" = 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')))))))) ORDER BY "sale_line_report"."date" DESC, "sale_line_report"."id" ASC LIMIT 80;[ Date: 2023-10-11 12:12:09 ]
15 20s4ms COPY public.account_move_line (id, move_id, move_name, date, ref, parent_state, journal_id, company_id, company_currency_id, account_id, account_root_id, sequence, name, quantity, price_unit, discount, debit, credit, balance, amount_currency, price_subtotal, price_total, reconciled, blocked, date_maturity, currency_id, partner_id, product_uom_id, product_id, reconcile_model_id, payment_id, statement_line_id, statement_id, tax_line_id, tax_group_id, tax_base_amount, tax_exigible, tax_repartition_line_id, tax_audit, amount_residual, amount_residual_currency, full_reconcile_id, matching_number, analytic_account_id, display_type, is_rounding_line, exclude_from_invoice_tab, create_uid, create_date, write_uid, write_date, expected_pay_date, internal_note, next_action_date, followup_line_id, followup_date, is_anglo_saxon_line, purchase_line_id, branch_id, branch_name, vehicle_id, move_options, sign_product_qty, sign_price_subtotal, new_product_qty, sale_line_id, child_sale_line_id, main_invoice_line_id, core_bank_transaction, is_rtv_line, core_qty, rebate_amount, cost_price, is_visible_in_report, is_labour, can_be_paid, bal_core_bank_id, repair_line_id, inv_back_order_qty, sale_back_order_qty, product_pricelist_item_id, is_discount, is_sale_tax, auto_reconcile) TO stdout;[ Date: 2023-10-11 09:00:33 ]
16 18s877ms SELECT "sale_line_report".id FROM "sale_line_report" WHERE (("sale_line_report"."cus_part_route" = 2) AND (("sale_line_report"."id" > '0') AND (((((("sale_line_report"."branch_id" in (37)) AND "sale_line_report"."display_type" IS NULL) AND ((("sale_line_report"."open_qty_fil" > 0.0) AND (("sale_line_report"."state" not in ('draft', 'cancel')) OR "sale_line_report"."state" IS NULL)) AND ("sale_line_report"."move_options" = 'new_product'))) AND ("sale_line_report"."so_line_id" IS NULL AND (unaccent ("sale_line_report"."move_options"::text) ilike unaccent ('%new%')))) AND ("sale_line_report"."on_hand" > 0.0)) AND ("sale_line_report"."partner_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ("res_partner"."thu_deli_day" = 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')))))))) ORDER BY "sale_line_report"."date" DESC, "sale_line_report"."id" ASC LIMIT 80;[ Date: 2023-10-11 17:40:18 ]
17 18s741ms SELECT "sale_line_report".id FROM "sale_line_report" WHERE (("sale_line_report"."cus_part_route" = 2) AND (("sale_line_report"."id" > '0') AND (((((("sale_line_report"."branch_id" in (37)) AND "sale_line_report"."display_type" IS NULL) AND ((("sale_line_report"."open_qty_fil" > 0.0) AND (("sale_line_report"."state" not in ('draft', 'cancel')) OR "sale_line_report"."state" IS NULL)) AND ("sale_line_report"."move_options" = 'new_product'))) AND ("sale_line_report"."so_line_id" IS NULL AND (unaccent ("sale_line_report"."move_options"::text) ilike unaccent ('%new%')))) AND ("sale_line_report"."on_hand" > 0.0)) AND ("sale_line_report"."partner_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ("res_partner"."thu_deli_day" = 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')))))))) ORDER BY "sale_line_report"."date" DESC, "sale_line_report"."id" ASC LIMIT 80;[ Date: 2023-10-11 17:40:47 ]
18 15s967ms SELECT "sale_line_report".id FROM "sale_line_report" WHERE (("sale_line_report"."cus_part_route" = 3) AND (("sale_line_report"."id" > '0') AND (((((("sale_line_report"."branch_id" in (37)) AND "sale_line_report"."display_type" IS NULL) AND ((("sale_line_report"."open_qty_fil" > 0.0) AND (("sale_line_report"."state" not in ('draft', 'cancel')) OR "sale_line_report"."state" IS NULL)) AND ("sale_line_report"."move_options" = 'new_product'))) AND ("sale_line_report"."so_line_id" IS NULL AND (unaccent ("sale_line_report"."move_options"::text) ilike unaccent ('%new%')))) AND ("sale_line_report"."on_hand" > 0.0)) AND ("sale_line_report"."partner_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ("res_partner"."wed_deli_day" = 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')))))))) ORDER BY "sale_line_report"."date" DESC, "sale_line_report"."id" ASC LIMIT 80;[ Date: 2023-10-11 12:10:55 ]
19 15s869ms SELECT "sale_line_report".id FROM "sale_line_report" WHERE (("sale_line_report"."cus_part_route" = 3) AND (("sale_line_report"."id" > '0') AND (((((("sale_line_report"."branch_id" in (37)) AND "sale_line_report"."display_type" IS NULL) AND ((("sale_line_report"."open_qty_fil" > 0.0) AND (("sale_line_report"."state" not in ('draft', 'cancel')) OR "sale_line_report"."state" IS NULL)) AND ("sale_line_report"."move_options" = 'new_product'))) AND ("sale_line_report"."so_line_id" IS NULL AND (unaccent ("sale_line_report"."move_options"::text) ilike unaccent ('%new%')))) AND ("sale_line_report"."on_hand" > 0.0)) AND ("sale_line_report"."partner_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ("res_partner"."wed_deli_day" = 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')))))))) ORDER BY "sale_line_report"."date" DESC, "sale_line_report"."id" ASC LIMIT 80;[ Date: 2023-10-11 12:10:26 ]
20 14s166ms DELETE FROM account_move_line WHERE id IN (3225071, 3225072, 3225073, 3225074, 3225075, 3225076, 3225077, 3225078, 3225079, 3225080, 3353836, 3353837);[ Date: 2023-10-11 18:18:25 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 39m20s 3,812 575ms 1s201ms 619ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."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 Oct 11 02 4 2s356ms 589ms 08 5 3s2ms 600ms 10 220 2m11s 596ms 11 181 1m49s 606ms 12 425 4m21s 615ms 13 501 5m10s 620ms 14 446 4m44s 638ms 15 375 3m53s 622ms 16 464 4m44s 612ms 17 385 3m58s 619ms 18 381 4m1s 633ms 19 289 2m56s 612ms 20 136 1m22s 606ms -
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 ('%%g25170%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%g25170%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%g25170%'))) 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-10-11 14:08:01 Duration: 1s201ms
-
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 ('%%g25170%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%g25170-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%g25170-%'))) 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-10-11 14:08:01 Duration: 1s169ms
-
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 ('%%g251700%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%g25170-0%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%g25170-0%'))) 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-10-11 14:08:01 Duration: 1s94ms
2 11m58s 2,928 120ms 561ms 245ms 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 Oct 11 00 11 1s846ms 167ms 01 3 509ms 169ms 02 3 467ms 155ms 09 2 283ms 141ms 11 179 49s432ms 276ms 12 366 1m34s 257ms 13 382 1m44s 272ms 14 366 1m19s 216ms 15 92 21s429ms 232ms 16 282 1m5s 232ms 17 388 1m31s 234ms 18 369 1m44s 282ms 19 279 1m3s 227ms 20 164 34s976ms 213ms 21 28 5s240ms 187ms 22 6 1s64ms 177ms 23 8 1s485ms 185ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-10-11 18:39:59') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19513]', '["pointspring_master","mail.channel",482]', '["pointspring_master","mail.channel",498]', '["pointspring_master","mail.channel",554]', '["pointspring_master","res.partner",19513]', '["pointspring_master","ir.needaction",19513]'))) ORDER BY "bus_bus"."id";
Date: 2023-10-11 18:40:50 Duration: 561ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-10-11 18:39:59') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19528]', '["pointspring_master","mail.channel",74]', '["pointspring_master","mail.channel",75]', '["pointspring_master","mail.channel",76]', '["pointspring_master","mail.channel",77]', '["pointspring_master","mail.channel",339]', '["pointspring_master","mail.channel",473]', '["pointspring_master","res.partner",19528]', '["pointspring_master","ir.needaction",19528]'))) ORDER BY "bus_bus"."id";
Date: 2023-10-11 18:40:50 Duration: 556ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-10-11 18:39:59') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1025"', '["pointspring_master","calendar.alarm",19563]', '["pointspring_master","mail.channel",249]', '["pointspring_master","mail.channel",250]', '["pointspring_master","mail.channel",251]', '["pointspring_master","mail.channel",451]', '["pointspring_master","mail.channel",460]', '["pointspring_master","mail.channel",513]', '["pointspring_master","res.partner",19563]', '["pointspring_master","ir.needaction",19563]'))) ORDER BY "bus_bus"."id";
Date: 2023-10-11 18:40:50 Duration: 539ms
3 10m52s 2,352 262ms 535ms 277ms 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 Oct 11 00 9 2s412ms 268ms 01 1 268ms 268ms 02 5 1s348ms 269ms 07 9 2s456ms 272ms 08 4 1s56ms 264ms 09 3 816ms 272ms 10 4 1s129ms 282ms 11 147 40s596ms 276ms 12 339 1m33s 276ms 13 321 1m29s 278ms 14 353 1m40s 283ms 15 262 1m13s 279ms 16 207 56s664ms 273ms 17 195 53s362ms 273ms 18 226 1m2s 277ms 19 155 42s739ms 275ms 20 105 28s323ms 269ms 21 7 1s854ms 264ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-11 14:04:43 Duration: 535ms
-
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.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-ba98edb/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-11 15:05:41 Duration: 498ms
-
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.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-ba98edb/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-11 14:09:49 Duration: 471ms
4 10m35s 814 734ms 1s306ms 780ms 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 #4
Day Hour Count Duration Avg duration Oct 11 02 2 1s517ms 758ms 10 3 2s292ms 764ms 11 26 20s96ms 772ms 12 117 1m32s 786ms 13 100 1m18s 785ms 14 114 1m30s 791ms 15 99 1m16s 775ms 16 51 39s628ms 777ms 17 68 53s717ms 789ms 18 99 1m17s 779ms 19 60 46s200ms 770ms 20 75 57s479ms 766ms -
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 ('%17-923%')) 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 ('%17-923%'))) 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 ('%17-923%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%17-923%')))))) 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-10-11 14:06:43 Duration: 1s306ms
-
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 ('%ws3520%')) 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 ('%ws3520%'))) 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 ('%ws3520%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%ws3520%')))))) 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-10-11 12:49:30 Duration: 1s185ms
-
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 ('%210fmmfp%')) 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 ('%210fmmfp%'))) 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 ('%210fmmfp%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%210fmmfp%')))))) 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-10-11 17:55:40 Duration: 1s128ms
5 9m22s 909 581ms 1s33ms 618ms 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 Oct 11 11 9 5s635ms 626ms 12 14 8s513ms 608ms 13 112 1m9s 621ms 14 127 1m20s 634ms 15 44 26s717ms 607ms 16 116 1m11s 617ms 17 154 1m34s 614ms 18 159 1m37s 615ms 19 139 1m26s 620ms 20 35 21s165ms 604ms -
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 ('%%6413400%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%641-3400%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%641-3400%'))) 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-10-11 14:06:40 Duration: 1s33ms
-
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 ('%%shi%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%shi%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%shi%'))) 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-10-11 14:07:18 Duration: 985ms
-
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 ('%%aubk8175%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%aubk8175-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%aubk8175-%'))) 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-10-11 13:14:59 Duration: 893ms
6 8m20s 1 8m20s 8m20s 8m20s select count(?) from "product_template" where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and ((("product_template"."sale_ok" = true) or ("product_template"."purchase_ok" = true)) and ("product_template"."id" not in ( select "product_tmpl_id" from "product_warehouse_inventory" where "product_tmpl_id" is not null))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 11 14 1 8m20s 8m20s -
SELECT count(1) FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND ((("product_template"."sale_ok" = true) OR ("product_template"."purchase_ok" = true)) AND ("product_template"."id" not in ( SELECT "product_tmpl_id" FROM "product_warehouse_inventory" WHERE "product_tmpl_id" IS NOT NULL))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL);
Date: 2023-10-11 14:12:11 Duration: 8m20s
7 8m9s 1 8m9s 8m9s 8m9s 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"."sale_ok" = true) or ("product_template"."purchase_ok" = true)) and ("product_template"."id" not in ( select "product_tmpl_id" from "product_warehouse_inventory" where "product_tmpl_id" is not null))))) 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 Oct 11 14 1 8m9s 8m9s -
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"."sale_ok" = true) OR ("product_template"."purchase_ok" = true)) AND ("product_template"."id" not in ( SELECT "product_tmpl_id" FROM "product_warehouse_inventory" WHERE "product_tmpl_id" IS NOT NULL))))) 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-10-11 14:03:50 Duration: 8m9s
8 6m20s 66 1s153ms 50s994ms 5s766ms delete from account_move_line where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 11 03 2 5s808ms 2s904ms 06 12 2m45s 13s798ms 07 3 10s406ms 3s468ms 13 6 17s748ms 2s958ms 14 10 31s277ms 3s127ms 15 3 9s565ms 3s188ms 16 5 10s625ms 2s125ms 17 3 4s687ms 1s562ms 18 13 1m16s 5s913ms 20 3 10s666ms 3s555ms 23 6 37s353ms 6s225ms -
DELETE FROM account_move_line WHERE id IN (3345957, 3345958, 3345556, 3345557, 3345558, 3345559, 3345560, 3345561, 3345562, 3345563, 3345564, 3345565, 3345566, 3345567, 3345568, 3345569, 3345570, 3345571, 3345572, 3345573, 3345574, 3345575, 3345576, 3345577, 3345578, 3345579, 3345580, 3345581, 3345582, 3345583, 3345584, 3345585, 3345586, 3345587, 3345588, 3345589, 3345590, 3345591, 3345592, 3345593, 3345594, 3345595, 3345596, 3345597);
Date: 2023-10-11 06:07:13 Duration: 50s994ms
-
DELETE FROM account_move_line WHERE id IN (3214077, 3214078, 3214079, 3214080, 3214081, 3214082, 3214083, 3214084, 3214085, 3214086, 3214087, 3214088, 3214089, 3214090, 3214091, 3214092, 3214093, 3214094, 3214095, 3214096, 3214097, 3214098, 3214099, 3214100, 3214101, 3214102, 3345797, 3345798);
Date: 2023-10-11 06:02:10 Duration: 32s396ms
-
DELETE FROM account_move_line WHERE id IN (3346123, 3346124, 3346125, 3346126, 3346127, 3346128, 3346129, 3346130, 3346131, 3346132, 3346133, 3346134, 3346135, 3346136, 3346137, 3346138, 3346139, 3346140, 3346141, 3346142, 3346143, 3346144, 3351605, 3351606, 3351607, 3351608);
Date: 2023-10-11 06:08:17 Duration: 30s105ms
9 5m57s 378 682ms 1s206ms 945ms 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 Oct 11 01 3 2s749ms 916ms 10 15 13s714ms 914ms 11 69 1m4s 939ms 12 21 19s800ms 942ms 13 66 1m2s 947ms 14 42 40s338ms 960ms 15 81 1m16s 948ms 16 6 5s672ms 945ms 17 30 28s507ms 950ms 18 42 39s764ms 946ms 19 3 2s824ms 941ms -
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 ('%429-0003%') 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 ('%429-0003%')))))) 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 ('%429-0003%')))))) 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 ('%429-0003%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%429-0003%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%429-0003%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-11 18:12:37 Duration: 1s206ms
-
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 ('%210661%') 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 ('%210661%')))))) 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 ('%210661%')))))) 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 ('%210661%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%210661%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%210661%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-11 13:38:05 Duration: 1s193ms
-
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 ('%805143%') 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 ('%805143%')))))) 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 ('%805143%')))))) 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 ('%805143%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%805143%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%805143%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-11 13:40:20 Duration: 1s186ms
10 5m2s 553 202ms 2s122ms 546ms 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 #10
Day Hour Count Duration Avg duration Oct 11 11 10 4s878ms 487ms 12 89 51s665ms 580ms 13 77 38s993ms 506ms 14 84 44s303ms 527ms 15 56 32s424ms 579ms 16 38 20s227ms 532ms 17 43 22s747ms 529ms 18 54 30s403ms 563ms 19 91 50s472ms 554ms 20 10 5s325ms 532ms 21 1 693ms 693ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-10-11 15:41:53', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (605705, 605706, 605713);
Date: 2023-10-11 15:41:56 Duration: 2s122ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-10-11 14:10:09', "is_done" = true, "state" = 'done', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (623776, 623778, 623790, 623775);
Date: 2023-10-11 14:10:24 Duration: 2s45ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 8.0, "date" = '2023-10-11 12:15:35', "is_done" = true, "state" = 'done', "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (608657, 608647);
Date: 2023-10-11 12:15:39 Duration: 1s392ms
11 4m50s 849 188ms 5s853ms 342ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 11 09 2 516ms 258ms 11 18 8s47ms 447ms 12 90 33s306ms 370ms 13 156 56s539ms 362ms 14 142 47s198ms 332ms 15 109 35s619ms 326ms 16 57 17s247ms 302ms 17 63 20s753ms 329ms 18 124 39s681ms 320ms 19 37 13s708ms 370ms 20 49 17s498ms 357ms 21 2 729ms 364ms -
UPDATE "stock_quant" SET "quantity" = 2.0, "reserved_quantity" = 0.0, "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (40965, 41097, 40971, 238481, 249233, 320530, 320532, 238485, 238488, 40992, 362747, 41016, 40907, 260045, 40918, 40920, 41064, 350056, 350057, 167404, 40952, 303739);
Date: 2023-10-11 13:26:37 Duration: 5s853ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (365652, 365173, 365655);
Date: 2023-10-11 19:37:55 Duration: 1s571ms
-
UPDATE "stock_quant" SET "quantity" = 3.0, "reserved_quantity" = 0.0, "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (60032, 249955, 60043, 326990, 243950, 322103);
Date: 2023-10-11 11:27:22 Duration: 1s458ms
12 4m15s 619 120ms 4s219ms 412ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 11 00 2 1s113ms 556ms 01 4 1s317ms 329ms 10 4 2s285ms 571ms 11 71 39s293ms 553ms 12 46 23s229ms 504ms 13 53 24s215ms 456ms 14 67 28s917ms 431ms 15 58 29s110ms 501ms 16 40 15s55ms 376ms 17 71 24s177ms 340ms 18 78 23s775ms 304ms 19 98 33s357ms 340ms 20 10 3s24ms 302ms 21 17 6s536ms 384ms -
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (624064, 624065, 624066, 624067, 624068, 624069, 624070, 624060, 624061, 624062, 624063);
Date: 2023-10-11 15:21:28 Duration: 4s219ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (623776, 623777, 623778, 623779, 623780, 623781, 623782, 623783, 623790, 623771, 623774, 623775);
Date: 2023-10-11 14:09:54 Duration: 3s158ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (623793, 623794, 623795, 623796, 623797, 623798, 623799, 623800, 623801, 623802, 623803);
Date: 2023-10-11 14:11:16 Duration: 2s941ms
13 4m1s 1,322 169ms 338ms 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 #13
Day Hour Count Duration Avg duration Oct 11 02 2 342ms 171ms 09 2 417ms 208ms 10 17 2s989ms 175ms 11 34 6s14ms 176ms 12 95 16s909ms 177ms 13 271 49s945ms 184ms 14 204 38s670ms 189ms 15 146 26s542ms 181ms 16 184 33s234ms 180ms 17 113 20s89ms 177ms 18 107 19s899ms 185ms 19 102 18s246ms 178ms 20 45 7s924ms 176ms -
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 ('%f-01043%') OR unaccent (res_partner.display_name) ilike unaccent ('%f-01043%') OR unaccent (res_partner.ref) ilike unaccent ('%f-01043%') OR unaccent (res_partner.vat) ilike unaccent ('f-01043')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%f-01043%') desc, unaccent (res_partner.display_name);
Date: 2023-10-11 18:38:09 Duration: 338ms
-
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 ('%united%') OR unaccent (res_partner.display_name) ilike unaccent ('%united%') OR unaccent (res_partner.ref) ilike unaccent ('%united%') OR unaccent (res_partner.vat) ilike unaccent ('united')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%united%') desc, unaccent (res_partner.display_name);
Date: 2023-10-11 18:44:12 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 ('%t-16405%') OR unaccent (res_partner.display_name) ilike unaccent ('%t-16405%') OR unaccent (res_partner.ref) ilike unaccent ('%t-16405%') OR unaccent (res_partner.vat) ilike unaccent ('t-16405')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%t-16405%') desc, unaccent (res_partner.display_name);
Date: 2023-10-11 14:06:35 Duration: 315ms
14 3m56s 311 297ms 10s539ms 761ms update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 11 09 1 481ms 481ms 11 2 955ms 477ms 12 35 18s905ms 540ms 13 50 38s802ms 776ms 14 36 34s427ms 956ms 15 41 45s982ms 1s121ms 16 15 7s770ms 518ms 17 22 18s633ms 846ms 18 58 34s315ms 591ms 19 15 15s666ms 1s44ms 20 35 20s329ms 580ms 21 1 425ms 425ms -
UPDATE "stock_move" SET "date" = '2023-10-11 13:26:20', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (599511, 599512, 599513, 599514, 599515, 599516, 599517, 599518, 599519, 599520, 599521, 599522, 599523, 599524, 599525, 599526, 599527, 599528, 599529, 599530, 599531, 599532, 599533, 599534, 599535, 599536, 599537, 599538, 599539);
Date: 2023-10-11 13:26:31 Duration: 10s539ms
-
UPDATE "stock_move" SET "date" = '2023-10-11 15:05:30', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (618404, 618405, 618406, 618407, 618408, 618409, 618410, 618411, 618412, 618413, 618414, 618415, 618416, 618417, 618418, 618419, 618420);
Date: 2023-10-11 15:05:36 Duration: 5s660ms
-
UPDATE "stock_move" SET "date" = '2023-10-11 15:23:15', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (618272, 618273, 618274, 618275, 618276, 618277, 618278, 618279, 618264, 618265, 618266, 618267, 618268, 618269, 618270, 618271);
Date: 2023-10-11 15:23:20 Duration: 5s459ms
15 3m54s 246 903ms 1s272ms 953ms 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 #15
Day Hour Count Duration Avg duration Oct 11 10 9 8s295ms 921ms 11 41 38s604ms 941ms 12 10 9s492ms 949ms 13 49 47s282ms 964ms 14 12 11s591ms 965ms 15 52 49s727ms 956ms 16 4 3s773ms 943ms 17 23 21s840ms 949ms 18 43 41s82ms 955ms 19 2 1s866ms 933ms 22 1 918ms 918ms -
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 ('%360%') 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 ('%360%')))))) 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 ('%360%')))))) 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 ('%360%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%360%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%360%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-10-11 15:27:38 Duration: 1s272ms
-
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 ('%210661%') 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 ('%210661%')))))) 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 ('%210661%')))))) 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 ('%210661%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%210661%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%210661%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-10-11 13:33:20 Duration: 1s143ms
-
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 ('%300%') 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 ('%300%')))))) 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 ('%300%')))))) 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 ('%300%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%300%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%300%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-10-11 15:25:44 Duration: 1s109ms
16 3m54s 379 586ms 1s25ms 618ms 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"."type" in (...))) and ("product_product__product_tmpl_id"."company_id" is null or ("product_product__product_tmpl_id"."company_id" = ?))) 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 #16
Day Hour Count Duration Avg duration Oct 11 11 175 1m46s 610ms 12 54 33s220ms 615ms 13 52 32s806ms 630ms 14 32 20s727ms 647ms 17 44 26s778ms 608ms 19 22 13s826ms 628ms -
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 ('%%I202108%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%I202108%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%I202108%'))) AND ("product_product__product_tmpl_id"."type" in ('product', 'consu'))) AND ("product_product__product_tmpl_id"."company_id" IS NULL OR ("product_product__product_tmpl_id"."company_id" = 1))) 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-10-11 14:05:44 Duration: 1s25ms
-
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 ('%%qplaen4715%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%qpl-a-en4715%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%qpl-a-en4715%'))) AND ("product_product__product_tmpl_id"."type" in ('product', 'consu'))) AND ("product_product__product_tmpl_id"."company_id" IS NULL OR ("product_product__product_tmpl_id"."company_id" = 1))) 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-10-11 19:15:55 Duration: 834ms
-
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 ('%%qplaen471%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%qpl-a-en471%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%qpl-a-en471%'))) AND ("product_product__product_tmpl_id"."type" in ('product', 'consu'))) AND ("product_product__product_tmpl_id"."company_id" IS NULL OR ("product_product__product_tmpl_id"."company_id" = 1))) 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-10-11 19:15:55 Duration: 831ms
17 3m52s 383 566ms 754ms 606ms 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 #17
Day Hour Count Duration Avg duration Oct 11 11 39 23s294ms 597ms 12 17 10s441ms 614ms 13 41 25s517ms 622ms 14 73 44s670ms 611ms 15 9 5s399ms 599ms 16 51 31s168ms 611ms 17 17 10s364ms 609ms 18 12 7s121ms 593ms 19 56 33s795ms 603ms 20 33 19s899ms 603ms 21 35 20s674ms 590ms -
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 ('%%345%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%345-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%345-%'))) 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-10-11 16:14:57 Duration: 754ms
-
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 ('%%2657%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2657%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2657%'))) 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-10-11 13:57:46 Duration: 740ms
-
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 ('%%2657%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2657%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2657%'))) 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-10-11 13:57:43 Duration: 731ms
18 3m45s 1 3m45s 3m45s 3m45s 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 Oct 11 09 1 3m45s 3m45s -
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-10-11 09:07:49 Duration: 3m45s
19 3m23s 319 160ms 5s336ms 638ms update "repair_line" set "open_qty_fil" = ?.?, "qty_delivered" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 11 11 2 419ms 209ms 12 1 354ms 354ms 13 8 2s125ms 265ms 14 24 10s280ms 428ms 15 10 2s951ms 295ms 16 13 3s816ms 293ms 17 50 14s356ms 287ms 18 162 2m27s 908ms 19 49 22s283ms 454ms -
UPDATE "repair_line" SET "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "write_uid" = 1019, "write_date" = (now() at time zone 'UTC') WHERE id IN (54145, 54148, 50839, 47806, 50495, 47807, 50625, 47811, 47812, 47813, 47814, 50501, 51528, 50509, 50528, 50529, 50530, 50532, 50533, 50534, 50535, 50536, 50537, 50538, 50539, 50540, 50541, 50544, 50546, 50556);
Date: 2023-10-11 18:59:01 Duration: 5s336ms
-
UPDATE "repair_line" SET "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (53856, 54337, 53858, 53860, 53765, 53861, 53864, 53865, 53868, 53851, 53849, 53850, 54331, 54012, 53853, 53854, 53855);
Date: 2023-10-11 18:44:12 Duration: 3s200ms
-
UPDATE "repair_line" SET "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (53856, 54337, 53858, 53860, 53765, 53861, 53864, 53865, 53868, 53851, 53849, 53850, 54331, 54012, 53853, 53854, 53855);
Date: 2023-10-11 18:45:46 Duration: 3s165ms
20 3m21s 212 902ms 1s180ms 948ms 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 #20
Day Hour Count Duration Avg duration Oct 11 10 6 5s463ms 910ms 11 39 36s416ms 933ms 12 8 7s586ms 948ms 13 40 38s456ms 961ms 14 11 10s534ms 957ms 15 44 41s657ms 946ms 16 3 2s852ms 950ms 17 17 16s150ms 950ms 18 41 39s196ms 956ms 19 2 1s857ms 928ms 22 1 914ms 914ms -
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 ('%805143%') 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 ('%805143%')))))) 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 ('%805143%')))))) 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 ('%805143%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%805143%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%805143%'))));
Date: 2023-10-11 13:40:19 Duration: 1s180ms
-
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 ('%429-%') 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 ('%429-%')))))) 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 ('%429-%')))))) 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 ('%429-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%429-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%429-%'))));
Date: 2023-10-11 18:12:39 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 ('%sfp3030c%') 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 ('%sfp3030c%')))))) 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 ('%sfp3030c%')))))) 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 ('%sfp3030c%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%sfp3030c%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%sfp3030c%'))));
Date: 2023-10-11 12:05:06 Duration: 1s93ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 3,812 39m20s 575ms 1s201ms 619ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."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 Oct 11 02 4 2s356ms 589ms 08 5 3s2ms 600ms 10 220 2m11s 596ms 11 181 1m49s 606ms 12 425 4m21s 615ms 13 501 5m10s 620ms 14 446 4m44s 638ms 15 375 3m53s 622ms 16 464 4m44s 612ms 17 385 3m58s 619ms 18 381 4m1s 633ms 19 289 2m56s 612ms 20 136 1m22s 606ms -
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 ('%%g25170%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%g25170%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%g25170%'))) 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-10-11 14:08:01 Duration: 1s201ms
-
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 ('%%g25170%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%g25170-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%g25170-%'))) 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-10-11 14:08:01 Duration: 1s169ms
-
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 ('%%g251700%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%g25170-0%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%g25170-0%'))) 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-10-11 14:08:01 Duration: 1s94ms
2 2,928 11m58s 120ms 561ms 245ms 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 Oct 11 00 11 1s846ms 167ms 01 3 509ms 169ms 02 3 467ms 155ms 09 2 283ms 141ms 11 179 49s432ms 276ms 12 366 1m34s 257ms 13 382 1m44s 272ms 14 366 1m19s 216ms 15 92 21s429ms 232ms 16 282 1m5s 232ms 17 388 1m31s 234ms 18 369 1m44s 282ms 19 279 1m3s 227ms 20 164 34s976ms 213ms 21 28 5s240ms 187ms 22 6 1s64ms 177ms 23 8 1s485ms 185ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-10-11 18:39:59') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19513]', '["pointspring_master","mail.channel",482]', '["pointspring_master","mail.channel",498]', '["pointspring_master","mail.channel",554]', '["pointspring_master","res.partner",19513]', '["pointspring_master","ir.needaction",19513]'))) ORDER BY "bus_bus"."id";
Date: 2023-10-11 18:40:50 Duration: 561ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-10-11 18:39:59') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19528]', '["pointspring_master","mail.channel",74]', '["pointspring_master","mail.channel",75]', '["pointspring_master","mail.channel",76]', '["pointspring_master","mail.channel",77]', '["pointspring_master","mail.channel",339]', '["pointspring_master","mail.channel",473]', '["pointspring_master","res.partner",19528]', '["pointspring_master","ir.needaction",19528]'))) ORDER BY "bus_bus"."id";
Date: 2023-10-11 18:40:50 Duration: 556ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-10-11 18:39:59') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1025"', '["pointspring_master","calendar.alarm",19563]', '["pointspring_master","mail.channel",249]', '["pointspring_master","mail.channel",250]', '["pointspring_master","mail.channel",251]', '["pointspring_master","mail.channel",451]', '["pointspring_master","mail.channel",460]', '["pointspring_master","mail.channel",513]', '["pointspring_master","res.partner",19563]', '["pointspring_master","ir.needaction",19563]'))) ORDER BY "bus_bus"."id";
Date: 2023-10-11 18:40:50 Duration: 539ms
3 2,352 10m52s 262ms 535ms 277ms 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 Oct 11 00 9 2s412ms 268ms 01 1 268ms 268ms 02 5 1s348ms 269ms 07 9 2s456ms 272ms 08 4 1s56ms 264ms 09 3 816ms 272ms 10 4 1s129ms 282ms 11 147 40s596ms 276ms 12 339 1m33s 276ms 13 321 1m29s 278ms 14 353 1m40s 283ms 15 262 1m13s 279ms 16 207 56s664ms 273ms 17 195 53s362ms 273ms 18 226 1m2s 277ms 19 155 42s739ms 275ms 20 105 28s323ms 269ms 21 7 1s854ms 264ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-11 14:04:43 Duration: 535ms
-
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.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-ba98edb/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-11 15:05:41 Duration: 498ms
-
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.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-ba98edb/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-11 14:09:49 Duration: 471ms
4 1,322 4m1s 169ms 338ms 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 Oct 11 02 2 342ms 171ms 09 2 417ms 208ms 10 17 2s989ms 175ms 11 34 6s14ms 176ms 12 95 16s909ms 177ms 13 271 49s945ms 184ms 14 204 38s670ms 189ms 15 146 26s542ms 181ms 16 184 33s234ms 180ms 17 113 20s89ms 177ms 18 107 19s899ms 185ms 19 102 18s246ms 178ms 20 45 7s924ms 176ms -
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 ('%f-01043%') OR unaccent (res_partner.display_name) ilike unaccent ('%f-01043%') OR unaccent (res_partner.ref) ilike unaccent ('%f-01043%') OR unaccent (res_partner.vat) ilike unaccent ('f-01043')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%f-01043%') desc, unaccent (res_partner.display_name);
Date: 2023-10-11 18:38:09 Duration: 338ms
-
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 ('%united%') OR unaccent (res_partner.display_name) ilike unaccent ('%united%') OR unaccent (res_partner.ref) ilike unaccent ('%united%') OR unaccent (res_partner.vat) ilike unaccent ('united')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%united%') desc, unaccent (res_partner.display_name);
Date: 2023-10-11 18:44:12 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 ('%t-16405%') OR unaccent (res_partner.display_name) ilike unaccent ('%t-16405%') OR unaccent (res_partner.ref) ilike unaccent ('%t-16405%') OR unaccent (res_partner.vat) ilike unaccent ('t-16405')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%t-16405%') desc, unaccent (res_partner.display_name);
Date: 2023-10-11 14:06:35 Duration: 315ms
5 1,212 2m48s 120ms 401ms 138ms 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 #5
Day Hour Count Duration Avg duration Oct 11 00 6 787ms 131ms 01 3 401ms 133ms 02 1 131ms 131ms 07 6 773ms 128ms 08 8 1s27ms 128ms 10 6 786ms 131ms 11 61 8s300ms 136ms 12 147 20s429ms 138ms 13 139 19s366ms 139ms 14 149 21s492ms 144ms 15 117 16s198ms 138ms 16 78 10s711ms 137ms 17 142 19s425ms 136ms 18 137 19s831ms 144ms 19 113 15s443ms 136ms 20 90 12s51ms 133ms 21 9 1s181ms 131ms -
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 (223270))) AND ("sale_report"."date" >= '2022-10-11 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-10-11 14:39:28 Duration: 401ms
-
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 (254268))) AND ("sale_report"."date" >= '2022-10-11 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-10-11 18:50:44 Duration: 369ms
-
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 (206638))) AND ("sale_report"."date" >= '2022-10-11 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-10-11 15:41:33 Duration: 216ms
6 909 9m22s 581ms 1s33ms 618ms 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 #6
Day Hour Count Duration Avg duration Oct 11 11 9 5s635ms 626ms 12 14 8s513ms 608ms 13 112 1m9s 621ms 14 127 1m20s 634ms 15 44 26s717ms 607ms 16 116 1m11s 617ms 17 154 1m34s 614ms 18 159 1m37s 615ms 19 139 1m26s 620ms 20 35 21s165ms 604ms -
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 ('%%6413400%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%641-3400%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%641-3400%'))) 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-10-11 14:06:40 Duration: 1s33ms
-
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 ('%%shi%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%shi%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%shi%'))) 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-10-11 14:07:18 Duration: 985ms
-
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 ('%%aubk8175%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%aubk8175-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%aubk8175-%'))) 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-10-11 13:14:59 Duration: 893ms
7 849 4m50s 188ms 5s853ms 342ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 11 09 2 516ms 258ms 11 18 8s47ms 447ms 12 90 33s306ms 370ms 13 156 56s539ms 362ms 14 142 47s198ms 332ms 15 109 35s619ms 326ms 16 57 17s247ms 302ms 17 63 20s753ms 329ms 18 124 39s681ms 320ms 19 37 13s708ms 370ms 20 49 17s498ms 357ms 21 2 729ms 364ms -
UPDATE "stock_quant" SET "quantity" = 2.0, "reserved_quantity" = 0.0, "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (40965, 41097, 40971, 238481, 249233, 320530, 320532, 238485, 238488, 40992, 362747, 41016, 40907, 260045, 40918, 40920, 41064, 350056, 350057, 167404, 40952, 303739);
Date: 2023-10-11 13:26:37 Duration: 5s853ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (365652, 365173, 365655);
Date: 2023-10-11 19:37:55 Duration: 1s571ms
-
UPDATE "stock_quant" SET "quantity" = 3.0, "reserved_quantity" = 0.0, "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (60032, 249955, 60043, 326990, 243950, 322103);
Date: 2023-10-11 11:27:22 Duration: 1s458ms
8 814 10m35s 734ms 1s306ms 780ms 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 #8
Day Hour Count Duration Avg duration Oct 11 02 2 1s517ms 758ms 10 3 2s292ms 764ms 11 26 20s96ms 772ms 12 117 1m32s 786ms 13 100 1m18s 785ms 14 114 1m30s 791ms 15 99 1m16s 775ms 16 51 39s628ms 777ms 17 68 53s717ms 789ms 18 99 1m17s 779ms 19 60 46s200ms 770ms 20 75 57s479ms 766ms -
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 ('%17-923%')) 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 ('%17-923%'))) 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 ('%17-923%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%17-923%')))))) 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-10-11 14:06:43 Duration: 1s306ms
-
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 ('%ws3520%')) 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 ('%ws3520%'))) 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 ('%ws3520%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%ws3520%')))))) 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-10-11 12:49:30 Duration: 1s185ms
-
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 ('%210fmmfp%')) 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 ('%210fmmfp%'))) 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 ('%210fmmfp%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%210fmmfp%')))))) 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-10-11 17:55:40 Duration: 1s128ms
9 759 2m25s 159ms 717ms 191ms 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 #9
Day Hour Count Duration Avg duration Oct 11 09 2 369ms 184ms 11 30 5s170ms 172ms 12 135 25s478ms 188ms 13 148 28s855ms 194ms 14 149 29s517ms 198ms 15 78 14s969ms 191ms 16 50 9s4ms 180ms 17 50 9s753ms 195ms 18 62 11s763ms 189ms 19 29 5s999ms 206ms 20 24 4s490ms 187ms 21 2 347ms 173ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 0.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (248586, 248587, 248540, 248539);
Date: 2023-10-11 13:07:25 Duration: 717ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1019, "write_date" = (now() at time zone 'UTC') WHERE id IN (216537, 216538, 216540);
Date: 2023-10-11 19:02:43 Duration: 542ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'to invoice', "open_qty_fil" = 0.0, "qty_delivered" = '-4.00', "qty_to_invoice" = '-4.00', "untaxed_amount_to_invoice" = '-103.48', "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (246058, 246059, 246060);
Date: 2023-10-11 14:03:57 Duration: 540ms
10 754 2m47s 174ms 410ms 221ms select id from product_warehouse_inventory where coalesce(loc_check_qty, ?) < coalesce(max_product_uom_qty, ?);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 11 11 340 1m23s 245ms 12 227 48s969ms 215ms 13 18 3s254ms 180ms 18 31 5s762ms 185ms 19 106 19s725ms 186ms 20 32 5s940ms 185ms -
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2023-10-11 12:30:39 Duration: 410ms
-
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2023-10-11 11:36:25 Duration: 389ms
-
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2023-10-11 11:36:26 Duration: 369ms
11 709 2m12s 160ms 540ms 186ms 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 #11
Day Hour Count Duration Avg duration Oct 11 09 2 362ms 181ms 11 30 5s399ms 179ms 12 116 21s415ms 184ms 13 132 24s684ms 187ms 14 138 26s899ms 194ms 15 55 10s52ms 182ms 16 50 9s115ms 182ms 17 46 8s409ms 182ms 18 87 16s465ms 189ms 19 27 5s31ms 186ms 20 24 4s151ms 172ms 21 2 365ms 182ms -
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '-4.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '-103.48', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (246058, 246059, 246060);
Date: 2023-10-11 14:04:31 Duration: 540ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '4.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '20.20', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (254546, 254547);
Date: 2023-10-11 13:12:38 Duration: 386ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '5.38', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (254875, 254877);
Date: 2023-10-11 13:37:35 Duration: 380ms
12 619 4m15s 120ms 4s219ms 412ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 11 00 2 1s113ms 556ms 01 4 1s317ms 329ms 10 4 2s285ms 571ms 11 71 39s293ms 553ms 12 46 23s229ms 504ms 13 53 24s215ms 456ms 14 67 28s917ms 431ms 15 58 29s110ms 501ms 16 40 15s55ms 376ms 17 71 24s177ms 340ms 18 78 23s775ms 304ms 19 98 33s357ms 340ms 20 10 3s24ms 302ms 21 17 6s536ms 384ms -
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (624064, 624065, 624066, 624067, 624068, 624069, 624070, 624060, 624061, 624062, 624063);
Date: 2023-10-11 15:21:28 Duration: 4s219ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (623776, 623777, 623778, 623779, 623780, 623781, 623782, 623783, 623790, 623771, 623774, 623775);
Date: 2023-10-11 14:09:54 Duration: 3s158ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (623793, 623794, 623795, 623796, 623797, 623798, 623799, 623800, 623801, 623802, 623803);
Date: 2023-10-11 14:11:16 Duration: 2s941ms
13 576 1m48s 162ms 392ms 189ms 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 #13
Day Hour Count Duration Avg duration Oct 11 02 1 188ms 188ms 10 2 361ms 180ms 11 14 2s622ms 187ms 12 76 14s254ms 187ms 13 67 13s39ms 194ms 14 77 14s824ms 192ms 15 57 10s758ms 188ms 16 92 17s163ms 186ms 17 44 8s317ms 189ms 18 67 12s717ms 189ms 19 62 11s592ms 186ms 20 17 3s101ms 182ms -
UPDATE "sale_order_line" SET "branch_id" = 45, "currency_id" = 2, "cus_date_order" = '2023-10-11 13:03:42', "cus_part_route" = NULL, "cus_user_id" = 1004, "inventory_vendor_id" = 2965, "is_service" = false, "margin" = '33.62', "margin_percent" = 0.2606201550387597, "order_partner_id" = 40292, "price_reduce" = '129.00', "price_reduce_taxexcl" = '129.00', "price_reduce_taxinc" = '138.03', "price_subtotal" = '129.00', "price_tax" = 9.03, "price_total" = '138.03', "purchase_price" = '95.38', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 1004, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 42, "write_uid" = 1004, "write_date" = (now() at time zone 'UTC') WHERE id IN (255066);
Date: 2023-10-11 13:08:34 Duration: 392ms
-
UPDATE "sale_order_line" SET "branch_id" = 48, "currency_id" = 2, "cus_date_order" = '2023-10-11 14:02:53', "cus_part_route" = NULL, "cus_user_id" = 965, "inventory_vendor_id" = 3076, "is_service" = false, "margin" = '10.49', "margin_percent" = 0.45988601490574316, "order_partner_id" = 35121, "price_reduce" = '22.81', "price_reduce_taxexcl" = '22.81', "price_reduce_taxinc" = '22.81', "price_subtotal" = '22.81', "price_tax" = 0.0, "price_total" = '22.81', "purchase_price" = '12.32', "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" = 965, "write_date" = (now() at time zone 'UTC') WHERE id IN (255195);
Date: 2023-10-11 14:03:25 Duration: 296ms
-
UPDATE "sale_order_line" SET "branch_id" = 44, "currency_id" = 2, "cus_date_order" = '2023-10-11 13:32:25', "cus_part_route" = NULL, "cus_user_id" = 986, "inventory_vendor_id" = 3026, "is_service" = false, "margin" = '110.12', "margin_percent" = 0.2591790623234796, "order_partner_id" = 43543, "price_reduce" = '106.22', "price_reduce_taxexcl" = '106.22', "price_reduce_taxinc" = '106.22', "price_subtotal" = '424.88', "price_tax" = 0.0, "price_total" = '424.88', "purchase_price" = '78.69', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 986, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 41, "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (255123);
Date: 2023-10-11 13:33:19 Duration: 286ms
14 553 5m2s 202ms 2s122ms 546ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 11 11 10 4s878ms 487ms 12 89 51s665ms 580ms 13 77 38s993ms 506ms 14 84 44s303ms 527ms 15 56 32s424ms 579ms 16 38 20s227ms 532ms 17 43 22s747ms 529ms 18 54 30s403ms 563ms 19 91 50s472ms 554ms 20 10 5s325ms 532ms 21 1 693ms 693ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-10-11 15:41:53', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (605705, 605706, 605713);
Date: 2023-10-11 15:41:56 Duration: 2s122ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-10-11 14:10:09', "is_done" = true, "state" = 'done', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (623776, 623778, 623790, 623775);
Date: 2023-10-11 14:10:24 Duration: 2s45ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 8.0, "date" = '2023-10-11 12:15:35', "is_done" = true, "state" = 'done', "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (608657, 608647);
Date: 2023-10-11 12:15:39 Duration: 1s392ms
15 464 2m28s 120ms 1s334ms 320ms update "stock_quant" set "quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 11 11 104 29s482ms 283ms 12 81 26s303ms 324ms 13 56 17s682ms 315ms 14 48 13s931ms 290ms 15 50 18s63ms 361ms 16 12 3s235ms 269ms 17 25 7s47ms 281ms 18 32 11s457ms 358ms 19 49 19s574ms 399ms 20 7 2s73ms 296ms -
UPDATE "stock_quant" SET "quantity" = 2.0, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (333282, 357352, 365136, 364502, 359928);
Date: 2023-10-11 19:31:17 Duration: 1s334ms
-
UPDATE "stock_quant" SET "quantity" = 5.0, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (297324, 357324);
Date: 2023-10-11 18:14:25 Duration: 1s113ms
-
UPDATE "stock_quant" SET "quantity" = 3.0, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (299436, 297803, 344772, 344758);
Date: 2023-10-11 15:11:26 Duration: 1s112ms
16 420 3m1s 179ms 1s981ms 432ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 11 11 138 57s678ms 417ms 12 61 22s205ms 364ms 13 56 21s192ms 378ms 14 47 22s45ms 469ms 15 43 27s966ms 650ms 16 14 6s256ms 446ms 17 28 11s131ms 397ms 18 13 7s42ms 541ms 19 14 4s975ms 355ms 20 6 1s280ms 213ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-11 15:36:00', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (618033, 618034, 618037, 618031);
Date: 2023-10-11 15:36:04 Duration: 1s981ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 3.0, "date" = '2023-10-11 15:35:53', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (618032, 618035, 618029, 618030);
Date: 2023-10-11 15:35:59 Duration: 1s950ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-11 14:48:47', "state" = 'done', "write_uid" = 1041, "write_date" = (now() at time zone 'UTC') WHERE id IN (616440, 616434, 616435, 616437);
Date: 2023-10-11 14:48:51 Duration: 1s897ms
17 418 1m21s 161ms 1s330ms 194ms update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 11 11 47 8s475ms 180ms 12 21 5s31ms 239ms 13 36 6s743ms 187ms 14 23 4s645ms 201ms 15 31 6s833ms 220ms 16 10 1s771ms 177ms 17 8 1s427ms 178ms 18 212 40s773ms 192ms 19 22 4s55ms 184ms 20 8 1s466ms 183ms -
UPDATE "sale_order_line" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (254209, 249827, 249480, 255370, 249484, 249485, 255372);
Date: 2023-10-11 15:44:03 Duration: 1s330ms
-
UPDATE "sale_order_line" SET "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (254882, 254883, 254884, 254862, 254863, 254864, 254865, 254867);
Date: 2023-10-11 12:01:14 Duration: 1s249ms
-
UPDATE "sale_order_line" SET "write_uid" = 1141, "write_date" = (now() at time zone 'UTC') WHERE id IN (255622, 255623, 255624, 255625, 255434, 255627, 255638);
Date: 2023-10-11 18:19:22 Duration: 1s121ms
18 383 3m52s 566ms 754ms 606ms 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 #18
Day Hour Count Duration Avg duration Oct 11 11 39 23s294ms 597ms 12 17 10s441ms 614ms 13 41 25s517ms 622ms 14 73 44s670ms 611ms 15 9 5s399ms 599ms 16 51 31s168ms 611ms 17 17 10s364ms 609ms 18 12 7s121ms 593ms 19 56 33s795ms 603ms 20 33 19s899ms 603ms 21 35 20s674ms 590ms -
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 ('%%345%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%345-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%345-%'))) 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-10-11 16:14:57 Duration: 754ms
-
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 ('%%2657%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2657%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2657%'))) 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-10-11 13:57:46 Duration: 740ms
-
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 ('%%2657%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2657%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2657%'))) 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-10-11 13:57:43 Duration: 731ms
19 379 3m54s 586ms 1s25ms 618ms 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"."type" in (...))) and ("product_product__product_tmpl_id"."company_id" is null or ("product_product__product_tmpl_id"."company_id" = ?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 11 11 175 1m46s 610ms 12 54 33s220ms 615ms 13 52 32s806ms 630ms 14 32 20s727ms 647ms 17 44 26s778ms 608ms 19 22 13s826ms 628ms -
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 ('%%I202108%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%I202108%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%I202108%'))) AND ("product_product__product_tmpl_id"."type" in ('product', 'consu'))) AND ("product_product__product_tmpl_id"."company_id" IS NULL OR ("product_product__product_tmpl_id"."company_id" = 1))) 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-10-11 14:05:44 Duration: 1s25ms
-
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 ('%%qplaen4715%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%qpl-a-en4715%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%qpl-a-en4715%'))) AND ("product_product__product_tmpl_id"."type" in ('product', 'consu'))) AND ("product_product__product_tmpl_id"."company_id" IS NULL OR ("product_product__product_tmpl_id"."company_id" = 1))) 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-10-11 19:15:55 Duration: 834ms
-
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 ('%%qplaen471%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%qpl-a-en471%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%qpl-a-en471%'))) AND ("product_product__product_tmpl_id"."type" in ('product', 'consu'))) AND ("product_product__product_tmpl_id"."company_id" IS NULL OR ("product_product__product_tmpl_id"."company_id" = 1))) 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-10-11 19:15:55 Duration: 831ms
20 378 5m57s 682ms 1s206ms 945ms 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 #20
Day Hour Count Duration Avg duration Oct 11 01 3 2s749ms 916ms 10 15 13s714ms 914ms 11 69 1m4s 939ms 12 21 19s800ms 942ms 13 66 1m2s 947ms 14 42 40s338ms 960ms 15 81 1m16s 948ms 16 6 5s672ms 945ms 17 30 28s507ms 950ms 18 42 39s764ms 946ms 19 3 2s824ms 941ms -
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 ('%429-0003%') 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 ('%429-0003%')))))) 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 ('%429-0003%')))))) 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 ('%429-0003%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%429-0003%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%429-0003%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-11 18:12:37 Duration: 1s206ms
-
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 ('%210661%') 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 ('%210661%')))))) 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 ('%210661%')))))) 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 ('%210661%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%210661%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%210661%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-11 13:38:05 Duration: 1s193ms
-
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 ('%805143%') 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 ('%805143%')))))) 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 ('%805143%')))))) 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 ('%805143%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%805143%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%805143%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-11 13:40:20 Duration: 1s186ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 8m20s 8m20s 8m20s 1 8m20s select count(?) from "product_template" where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and ((("product_template"."sale_ok" = true) or ("product_template"."purchase_ok" = true)) and ("product_template"."id" not in ( select "product_tmpl_id" from "product_warehouse_inventory" where "product_tmpl_id" is not null))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 11 14 1 8m20s 8m20s -
SELECT count(1) FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND ((("product_template"."sale_ok" = true) OR ("product_template"."purchase_ok" = true)) AND ("product_template"."id" not in ( SELECT "product_tmpl_id" FROM "product_warehouse_inventory" WHERE "product_tmpl_id" IS NOT NULL))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL);
Date: 2023-10-11 14:12:11 Duration: 8m20s
2 8m9s 8m9s 8m9s 1 8m9s 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"."sale_ok" = true) or ("product_template"."purchase_ok" = true)) and ("product_template"."id" not in ( select "product_tmpl_id" from "product_warehouse_inventory" where "product_tmpl_id" is not null))))) 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 #2
Day Hour Count Duration Avg duration Oct 11 14 1 8m9s 8m9s -
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"."sale_ok" = true) OR ("product_template"."purchase_ok" = true)) AND ("product_template"."id" not in ( SELECT "product_tmpl_id" FROM "product_warehouse_inventory" WHERE "product_tmpl_id" IS NOT NULL))))) 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-10-11 14:03:50 Duration: 8m9s
3 3m45s 3m45s 3m45s 1 3m45s 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 #3
Day Hour Count Duration Avg duration Oct 11 09 1 3m45s 3m45s -
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-10-11 09:07:49 Duration: 3m45s
4 1s153ms 50s994ms 5s766ms 66 6m20s delete from account_move_line where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 11 03 2 5s808ms 2s904ms 06 12 2m45s 13s798ms 07 3 10s406ms 3s468ms 13 6 17s748ms 2s958ms 14 10 31s277ms 3s127ms 15 3 9s565ms 3s188ms 16 5 10s625ms 2s125ms 17 3 4s687ms 1s562ms 18 13 1m16s 5s913ms 20 3 10s666ms 3s555ms 23 6 37s353ms 6s225ms -
DELETE FROM account_move_line WHERE id IN (3345957, 3345958, 3345556, 3345557, 3345558, 3345559, 3345560, 3345561, 3345562, 3345563, 3345564, 3345565, 3345566, 3345567, 3345568, 3345569, 3345570, 3345571, 3345572, 3345573, 3345574, 3345575, 3345576, 3345577, 3345578, 3345579, 3345580, 3345581, 3345582, 3345583, 3345584, 3345585, 3345586, 3345587, 3345588, 3345589, 3345590, 3345591, 3345592, 3345593, 3345594, 3345595, 3345596, 3345597);
Date: 2023-10-11 06:07:13 Duration: 50s994ms
-
DELETE FROM account_move_line WHERE id IN (3214077, 3214078, 3214079, 3214080, 3214081, 3214082, 3214083, 3214084, 3214085, 3214086, 3214087, 3214088, 3214089, 3214090, 3214091, 3214092, 3214093, 3214094, 3214095, 3214096, 3214097, 3214098, 3214099, 3214100, 3214101, 3214102, 3345797, 3345798);
Date: 2023-10-11 06:02:10 Duration: 32s396ms
-
DELETE FROM account_move_line WHERE id IN (3346123, 3346124, 3346125, 3346126, 3346127, 3346128, 3346129, 3346130, 3346131, 3346132, 3346133, 3346134, 3346135, 3346136, 3346137, 3346138, 3346139, 3346140, 3346141, 3346142, 3346143, 3346144, 3351605, 3351606, 3351607, 3351608);
Date: 2023-10-11 06:08:17 Duration: 30s105ms
5 903ms 1s272ms 953ms 246 3m54s 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 #5
Day Hour Count Duration Avg duration Oct 11 10 9 8s295ms 921ms 11 41 38s604ms 941ms 12 10 9s492ms 949ms 13 49 47s282ms 964ms 14 12 11s591ms 965ms 15 52 49s727ms 956ms 16 4 3s773ms 943ms 17 23 21s840ms 949ms 18 43 41s82ms 955ms 19 2 1s866ms 933ms 22 1 918ms 918ms -
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 ('%360%') 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 ('%360%')))))) 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 ('%360%')))))) 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 ('%360%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%360%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%360%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-10-11 15:27:38 Duration: 1s272ms
-
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 ('%210661%') 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 ('%210661%')))))) 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 ('%210661%')))))) 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 ('%210661%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%210661%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%210661%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-10-11 13:33:20 Duration: 1s143ms
-
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 ('%300%') 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 ('%300%')))))) 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 ('%300%')))))) 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 ('%300%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%300%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%300%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-10-11 15:25:44 Duration: 1s109ms
6 902ms 1s180ms 948ms 212 3m21s 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 #6
Day Hour Count Duration Avg duration Oct 11 10 6 5s463ms 910ms 11 39 36s416ms 933ms 12 8 7s586ms 948ms 13 40 38s456ms 961ms 14 11 10s534ms 957ms 15 44 41s657ms 946ms 16 3 2s852ms 950ms 17 17 16s150ms 950ms 18 41 39s196ms 956ms 19 2 1s857ms 928ms 22 1 914ms 914ms -
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 ('%805143%') 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 ('%805143%')))))) 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 ('%805143%')))))) 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 ('%805143%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%805143%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%805143%'))));
Date: 2023-10-11 13:40:19 Duration: 1s180ms
-
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 ('%429-%') 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 ('%429-%')))))) 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 ('%429-%')))))) 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 ('%429-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%429-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%429-%'))));
Date: 2023-10-11 18:12:39 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 ('%sfp3030c%') 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 ('%sfp3030c%')))))) 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 ('%sfp3030c%')))))) 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 ('%sfp3030c%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%sfp3030c%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%sfp3030c%'))));
Date: 2023-10-11 12:05:06 Duration: 1s93ms
7 682ms 1s206ms 945ms 378 5m57s 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 Oct 11 01 3 2s749ms 916ms 10 15 13s714ms 914ms 11 69 1m4s 939ms 12 21 19s800ms 942ms 13 66 1m2s 947ms 14 42 40s338ms 960ms 15 81 1m16s 948ms 16 6 5s672ms 945ms 17 30 28s507ms 950ms 18 42 39s764ms 946ms 19 3 2s824ms 941ms -
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 ('%429-0003%') 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 ('%429-0003%')))))) 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 ('%429-0003%')))))) 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 ('%429-0003%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%429-0003%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%429-0003%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-11 18:12:37 Duration: 1s206ms
-
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 ('%210661%') 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 ('%210661%')))))) 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 ('%210661%')))))) 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 ('%210661%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%210661%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%210661%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-11 13:38:05 Duration: 1s193ms
-
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 ('%805143%') 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 ('%805143%')))))) 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 ('%805143%')))))) 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 ('%805143%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%805143%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%805143%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-11 13:40:20 Duration: 1s186ms
8 734ms 1s306ms 780ms 814 10m35s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 11 02 2 1s517ms 758ms 10 3 2s292ms 764ms 11 26 20s96ms 772ms 12 117 1m32s 786ms 13 100 1m18s 785ms 14 114 1m30s 791ms 15 99 1m16s 775ms 16 51 39s628ms 777ms 17 68 53s717ms 789ms 18 99 1m17s 779ms 19 60 46s200ms 770ms 20 75 57s479ms 766ms -
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 ('%17-923%')) 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 ('%17-923%'))) 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 ('%17-923%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%17-923%')))))) 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-10-11 14:06:43 Duration: 1s306ms
-
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 ('%ws3520%')) 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 ('%ws3520%'))) 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 ('%ws3520%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%ws3520%')))))) 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-10-11 12:49:30 Duration: 1s185ms
-
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 ('%210fmmfp%')) 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 ('%210fmmfp%'))) 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 ('%210fmmfp%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%210fmmfp%')))))) 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-10-11 17:55:40 Duration: 1s128ms
9 297ms 10s539ms 761ms 311 3m56s update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 11 09 1 481ms 481ms 11 2 955ms 477ms 12 35 18s905ms 540ms 13 50 38s802ms 776ms 14 36 34s427ms 956ms 15 41 45s982ms 1s121ms 16 15 7s770ms 518ms 17 22 18s633ms 846ms 18 58 34s315ms 591ms 19 15 15s666ms 1s44ms 20 35 20s329ms 580ms 21 1 425ms 425ms -
UPDATE "stock_move" SET "date" = '2023-10-11 13:26:20', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (599511, 599512, 599513, 599514, 599515, 599516, 599517, 599518, 599519, 599520, 599521, 599522, 599523, 599524, 599525, 599526, 599527, 599528, 599529, 599530, 599531, 599532, 599533, 599534, 599535, 599536, 599537, 599538, 599539);
Date: 2023-10-11 13:26:31 Duration: 10s539ms
-
UPDATE "stock_move" SET "date" = '2023-10-11 15:05:30', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (618404, 618405, 618406, 618407, 618408, 618409, 618410, 618411, 618412, 618413, 618414, 618415, 618416, 618417, 618418, 618419, 618420);
Date: 2023-10-11 15:05:36 Duration: 5s660ms
-
UPDATE "stock_move" SET "date" = '2023-10-11 15:23:15', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (618272, 618273, 618274, 618275, 618276, 618277, 618278, 618279, 618264, 618265, 618266, 618267, 618268, 618269, 618270, 618271);
Date: 2023-10-11 15:23:20 Duration: 5s459ms
10 160ms 5s336ms 638ms 319 3m23s update "repair_line" set "open_qty_fil" = ?.?, "qty_delivered" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 11 11 2 419ms 209ms 12 1 354ms 354ms 13 8 2s125ms 265ms 14 24 10s280ms 428ms 15 10 2s951ms 295ms 16 13 3s816ms 293ms 17 50 14s356ms 287ms 18 162 2m27s 908ms 19 49 22s283ms 454ms -
UPDATE "repair_line" SET "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "write_uid" = 1019, "write_date" = (now() at time zone 'UTC') WHERE id IN (54145, 54148, 50839, 47806, 50495, 47807, 50625, 47811, 47812, 47813, 47814, 50501, 51528, 50509, 50528, 50529, 50530, 50532, 50533, 50534, 50535, 50536, 50537, 50538, 50539, 50540, 50541, 50544, 50546, 50556);
Date: 2023-10-11 18:59:01 Duration: 5s336ms
-
UPDATE "repair_line" SET "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (53856, 54337, 53858, 53860, 53765, 53861, 53864, 53865, 53868, 53851, 53849, 53850, 54331, 54012, 53853, 53854, 53855);
Date: 2023-10-11 18:44:12 Duration: 3s200ms
-
UPDATE "repair_line" SET "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (53856, 54337, 53858, 53860, 53765, 53861, 53864, 53865, 53868, 53851, 53849, 53850, 54331, 54012, 53853, 53854, 53855);
Date: 2023-10-11 18:45:46 Duration: 3s165ms
11 575ms 1s201ms 619ms 3,812 39m20s 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 #11
Day Hour Count Duration Avg duration Oct 11 02 4 2s356ms 589ms 08 5 3s2ms 600ms 10 220 2m11s 596ms 11 181 1m49s 606ms 12 425 4m21s 615ms 13 501 5m10s 620ms 14 446 4m44s 638ms 15 375 3m53s 622ms 16 464 4m44s 612ms 17 385 3m58s 619ms 18 381 4m1s 633ms 19 289 2m56s 612ms 20 136 1m22s 606ms -
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 ('%%g25170%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%g25170%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%g25170%'))) 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-10-11 14:08:01 Duration: 1s201ms
-
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 ('%%g25170%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%g25170-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%g25170-%'))) 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-10-11 14:08:01 Duration: 1s169ms
-
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 ('%%g251700%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%g25170-0%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%g25170-0%'))) 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-10-11 14:08:01 Duration: 1s94ms
12 581ms 1s33ms 618ms 909 9m22s 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 Oct 11 11 9 5s635ms 626ms 12 14 8s513ms 608ms 13 112 1m9s 621ms 14 127 1m20s 634ms 15 44 26s717ms 607ms 16 116 1m11s 617ms 17 154 1m34s 614ms 18 159 1m37s 615ms 19 139 1m26s 620ms 20 35 21s165ms 604ms -
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 ('%%6413400%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%641-3400%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%641-3400%'))) 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-10-11 14:06:40 Duration: 1s33ms
-
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 ('%%shi%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%shi%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%shi%'))) 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-10-11 14:07:18 Duration: 985ms
-
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 ('%%aubk8175%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%aubk8175-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%aubk8175-%'))) 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-10-11 13:14:59 Duration: 893ms
13 586ms 1s25ms 618ms 379 3m54s 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"."type" in (...))) and ("product_product__product_tmpl_id"."company_id" is null or ("product_product__product_tmpl_id"."company_id" = ?))) 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 Oct 11 11 175 1m46s 610ms 12 54 33s220ms 615ms 13 52 32s806ms 630ms 14 32 20s727ms 647ms 17 44 26s778ms 608ms 19 22 13s826ms 628ms -
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 ('%%I202108%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%I202108%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%I202108%'))) AND ("product_product__product_tmpl_id"."type" in ('product', 'consu'))) AND ("product_product__product_tmpl_id"."company_id" IS NULL OR ("product_product__product_tmpl_id"."company_id" = 1))) 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-10-11 14:05:44 Duration: 1s25ms
-
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 ('%%qplaen4715%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%qpl-a-en4715%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%qpl-a-en4715%'))) AND ("product_product__product_tmpl_id"."type" in ('product', 'consu'))) AND ("product_product__product_tmpl_id"."company_id" IS NULL OR ("product_product__product_tmpl_id"."company_id" = 1))) 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-10-11 19:15:55 Duration: 834ms
-
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 ('%%qplaen471%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%qpl-a-en471%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%qpl-a-en471%'))) AND ("product_product__product_tmpl_id"."type" in ('product', 'consu'))) AND ("product_product__product_tmpl_id"."company_id" IS NULL OR ("product_product__product_tmpl_id"."company_id" = 1))) 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-10-11 19:15:55 Duration: 831ms
14 566ms 754ms 606ms 383 3m52s 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 Oct 11 11 39 23s294ms 597ms 12 17 10s441ms 614ms 13 41 25s517ms 622ms 14 73 44s670ms 611ms 15 9 5s399ms 599ms 16 51 31s168ms 611ms 17 17 10s364ms 609ms 18 12 7s121ms 593ms 19 56 33s795ms 603ms 20 33 19s899ms 603ms 21 35 20s674ms 590ms -
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 ('%%345%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%345-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%345-%'))) 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-10-11 16:14:57 Duration: 754ms
-
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 ('%%2657%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2657%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2657%'))) 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-10-11 13:57:46 Duration: 740ms
-
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 ('%%2657%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2657%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2657%'))) 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-10-11 13:57:43 Duration: 731ms
15 202ms 2s122ms 546ms 553 5m2s 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 Oct 11 11 10 4s878ms 487ms 12 89 51s665ms 580ms 13 77 38s993ms 506ms 14 84 44s303ms 527ms 15 56 32s424ms 579ms 16 38 20s227ms 532ms 17 43 22s747ms 529ms 18 54 30s403ms 563ms 19 91 50s472ms 554ms 20 10 5s325ms 532ms 21 1 693ms 693ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-10-11 15:41:53', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (605705, 605706, 605713);
Date: 2023-10-11 15:41:56 Duration: 2s122ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2023-10-11 14:10:09', "is_done" = true, "state" = 'done', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (623776, 623778, 623790, 623775);
Date: 2023-10-11 14:10:24 Duration: 2s45ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 8.0, "date" = '2023-10-11 12:15:35', "is_done" = true, "state" = 'done', "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (608657, 608647);
Date: 2023-10-11 12:15:39 Duration: 1s392ms
16 179ms 1s981ms 432ms 420 3m1s update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 11 11 138 57s678ms 417ms 12 61 22s205ms 364ms 13 56 21s192ms 378ms 14 47 22s45ms 469ms 15 43 27s966ms 650ms 16 14 6s256ms 446ms 17 28 11s131ms 397ms 18 13 7s42ms 541ms 19 14 4s975ms 355ms 20 6 1s280ms 213ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-11 15:36:00', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (618033, 618034, 618037, 618031);
Date: 2023-10-11 15:36:04 Duration: 1s981ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 3.0, "date" = '2023-10-11 15:35:53', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (618032, 618035, 618029, 618030);
Date: 2023-10-11 15:35:59 Duration: 1s950ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-11 14:48:47', "state" = 'done', "write_uid" = 1041, "write_date" = (now() at time zone 'UTC') WHERE id IN (616440, 616434, 616435, 616437);
Date: 2023-10-11 14:48:51 Duration: 1s897ms
17 120ms 4s219ms 412ms 619 4m15s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 11 00 2 1s113ms 556ms 01 4 1s317ms 329ms 10 4 2s285ms 571ms 11 71 39s293ms 553ms 12 46 23s229ms 504ms 13 53 24s215ms 456ms 14 67 28s917ms 431ms 15 58 29s110ms 501ms 16 40 15s55ms 376ms 17 71 24s177ms 340ms 18 78 23s775ms 304ms 19 98 33s357ms 340ms 20 10 3s24ms 302ms 21 17 6s536ms 384ms -
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (624064, 624065, 624066, 624067, 624068, 624069, 624070, 624060, 624061, 624062, 624063);
Date: 2023-10-11 15:21:28 Duration: 4s219ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (623776, 623777, 623778, 623779, 623780, 623781, 623782, 623783, 623790, 623771, 623774, 623775);
Date: 2023-10-11 14:09:54 Duration: 3s158ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (623793, 623794, 623795, 623796, 623797, 623798, 623799, 623800, 623801, 623802, 623803);
Date: 2023-10-11 14:11:16 Duration: 2s941ms
18 188ms 5s853ms 342ms 849 4m50s update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 11 09 2 516ms 258ms 11 18 8s47ms 447ms 12 90 33s306ms 370ms 13 156 56s539ms 362ms 14 142 47s198ms 332ms 15 109 35s619ms 326ms 16 57 17s247ms 302ms 17 63 20s753ms 329ms 18 124 39s681ms 320ms 19 37 13s708ms 370ms 20 49 17s498ms 357ms 21 2 729ms 364ms -
UPDATE "stock_quant" SET "quantity" = 2.0, "reserved_quantity" = 0.0, "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (40965, 41097, 40971, 238481, 249233, 320530, 320532, 238485, 238488, 40992, 362747, 41016, 40907, 260045, 40918, 40920, 41064, 350056, 350057, 167404, 40952, 303739);
Date: 2023-10-11 13:26:37 Duration: 5s853ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (365652, 365173, 365655);
Date: 2023-10-11 19:37:55 Duration: 1s571ms
-
UPDATE "stock_quant" SET "quantity" = 3.0, "reserved_quantity" = 0.0, "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (60032, 249955, 60043, 326990, 243950, 322103);
Date: 2023-10-11 11:27:22 Duration: 1s458ms
19 120ms 1s334ms 320ms 464 2m28s update "stock_quant" set "quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 11 11 104 29s482ms 283ms 12 81 26s303ms 324ms 13 56 17s682ms 315ms 14 48 13s931ms 290ms 15 50 18s63ms 361ms 16 12 3s235ms 269ms 17 25 7s47ms 281ms 18 32 11s457ms 358ms 19 49 19s574ms 399ms 20 7 2s73ms 296ms -
UPDATE "stock_quant" SET "quantity" = 2.0, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (333282, 357352, 365136, 364502, 359928);
Date: 2023-10-11 19:31:17 Duration: 1s334ms
-
UPDATE "stock_quant" SET "quantity" = 5.0, "write_uid" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (297324, 357324);
Date: 2023-10-11 18:14:25 Duration: 1s113ms
-
UPDATE "stock_quant" SET "quantity" = 3.0, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (299436, 297803, 344772, 344758);
Date: 2023-10-11 15:11:26 Duration: 1s112ms
20 262ms 535ms 277ms 2,352 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 #20
Day Hour Count Duration Avg duration Oct 11 00 9 2s412ms 268ms 01 1 268ms 268ms 02 5 1s348ms 269ms 07 9 2s456ms 272ms 08 4 1s56ms 264ms 09 3 816ms 272ms 10 4 1s129ms 282ms 11 147 40s596ms 276ms 12 339 1m33s 276ms 13 321 1m29s 278ms 14 353 1m40s 283ms 15 262 1m13s 279ms 16 207 56s664ms 273ms 17 195 53s362ms 273ms 18 226 1m2s 277ms 19 155 42s739ms 275ms 20 105 28s323ms 269ms 21 7 1s854ms 264ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-11 14:04:43 Duration: 535ms
-
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.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-ba98edb/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-11 15:05:41 Duration: 498ms
-
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.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-ba98edb/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-11 14:09:49 Duration: 471ms
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
- 38,547 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 1183 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 622 Max number of times the same event was reported
- 1,183 Total events found
Rank Times reported Error 1 622 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Oct 11 00 1 07 2 08 2 10 1 11 57 12 57 13 112 14 136 15 89 16 27 17 34 18 67 19 20 20 10 21 2 22 5 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE "bus_presence" SET "last_poll"='2023-10-11 22:38:58' WHERE id IN (74)
Date: 2023-10-11 22:38:58
2 532 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Oct 11 00 35 01 39 02 35 03 16 04 18 05 15 06 37 07 49 08 17 09 21 10 25 11 23 12 16 13 15 14 13 15 17 16 19 17 16 18 10 19 16 20 15 21 19 22 20 23 26 - ERROR: could not obtain lock on row in relation "ir_cron"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=67 FOR UPDATE NOWAIT
Date: 2023-10-11 21:50:34
3 24 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #3
Day Hour Count Oct 11 12 1 13 7 14 10 15 1 16 1 17 1 18 2 20 1 - ERROR: process 3160631 still waiting for ShareLock on transaction 210760628 after 1000.044 ms
- ERROR: process 3160702 still waiting for ShareLock on transaction 210760881 after 1000.043 ms
- ERROR: process 3476926 still waiting for ShareLock on transaction 210765573 after 1000.038 ms
Detail: Process holding the lock: 3162085. Wait queue: 3160631.
Context: while updating tuple (24466,27) in relation "account_move"
Statement: UPDATE "account_move" SET "message_main_attachment_id"=3325965,"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (941240)Date: 2023-10-11 14:55:08
Detail: Process holding the lock: 3160455. Wait queue: 3160702.
Context: while updating tuple (24510,7) in relation "account_move"
Statement: UPDATE "account_move" SET "message_main_attachment_id"=3325971,"write_uid"=1238,"write_date"=(now() at time zone 'UTC') WHERE id IN (941251)Date: 2023-10-11 14:56:31
Detail: Process holding the lock: 3162027. Wait queue: 3476926.
Context: while updating tuple (683,24) in relation "product_warehouse_inventory" SQL statement "update product_warehouse_inventory set qty_mtd_sold= (COALESCE(Inventory.qty,0) - COALESCE(return_inv.qty,0)) where product_id=NEW.product_id and warehouse_id=NEW.warehouse_id" PL/pgSQL function updated_mtd_sold() line 15 at SQL statement
Statement: UPDATE "stock_move" SET "date"='2023-10-11 15:21:19',"is_done"=true,"state"='done',"write_uid"=982,"write_date"=(now() at time zone 'UTC') WHERE id IN (618200, 618201, 618202, 618203, 618204, 618205)Date: 2023-10-11 15:21:22
4 2 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Oct 11 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-10-11 10:45:35
5 2 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #5
Day Hour Count Oct 11 14 1 17 1 - ERROR: process 3160595 still waiting for ExclusiveLock on tuple (24447,7) of relation 42418 of database 65946 after 1000.049 ms
- ERROR: process 3160378 still waiting for ExclusiveLock on tuple (2,8) of relation 42995 of database 65946 after 1000.047 ms
Detail: Process holding the lock: 3162035. Wait queue: 3160595.
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 != 940930 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 != 940930 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-10-11 14:04:31
Detail: Process holding the lock: 3160377. Wait queue: 3160378.
Statement: UPDATE "bus_presence" SET "last_poll"='2023-10-11 17:54:18' WHERE id IN (56)Date: 2023-10-11 17:54:19
6 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Oct 11 14 1 - ERROR: duplicate key value violates unique constraint "fleet_vehicle_vin_sn_unique"
Detail: Key (vin_sn)=(1XKWDB9X0YR849177) 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'), 1010, (now() at time zone 'UTC'), 1010, (now() at time zone 'UTC'), '2023-10-11', true, 114, 0.0, 0.0, NULL, 1, NULL, 5, 34082, '2023-10-11', NULL, NULL, 0, 0.0, 'AH34963', NULL, 2, 200, 28, NULL, '849177', 0.0, NULL, 'miles', 0, 0.0, 0, 3, NULL, '849177', '1XKWDB9X0YR849177') RETURNING idDate: 2023-10-11 14:26:36