-
Global information
- Generated on Tue Mar 14 23:50:40 2023
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 250,956 log entries in 39s
- Log start from 2023-03-13 00:00:05 to 2023-03-13 23:59:18
-
Overview
Global Stats
- 1,181 Number of unique normalized queries
- 88,161 Number of queries
- 14h36m21s Total query duration
- 2023-03-13 00:00:42 First query
- 2023-03-13 23:53:45 Last query
- 55 queries/s at 2023-03-13 12:57:43 Query peak
- 14h36m21s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 14h36m21s Execute total duration
- 4,661 Number of events
- 14 Number of unique normalized events
- 2,511 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
- 88,161 Average queries per session
- 14h36m21s 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
- 55 queries/s Query Peak
- 2023-03-13 12:57:43 Date
SELECT Traffic
Key values
- 45 queries/s Query Peak
- 2023-03-13 12:57:43 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 13 queries/s Query Peak
- 2023-03-13 14:08:23 Date
Queries duration
Key values
- 14h36m21s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
Day Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 13 00 109 0ms 1s670ms 360ms 1s798ms 3s164ms 8s989ms 01 624 0ms 16s64ms 655ms 25s928ms 26s542ms 38s198ms 02 1,089 0ms 23s749ms 841ms 53s702ms 1m 1m9s 03 749 0ms 23s52ms 840ms 46s955ms 59s434ms 1m 04 29 0ms 143ms 128ms 263ms 272ms 638ms 05 32 0ms 518ms 143ms 268ms 390ms 537ms 06 31 0ms 146ms 128ms 241ms 377ms 526ms 07 111 0ms 1s686ms 391ms 2s53ms 5s218ms 7s85ms 08 119 0ms 7s17ms 706ms 6s55ms 7s378ms 18s811ms 09 193 0ms 38s702ms 1s377ms 13s976ms 49s68ms 1m12s 10 517 0ms 3s530ms 429ms 8s807ms 22s488ms 1m3s 11 1,986 120ms 13s230ms 501ms 48s397ms 55s209ms 2m8s 12 8,256 120ms 26s75ms 587ms 2m13s 2m23s 3m8s 13 11,542 120ms 41s617ms 588ms 3m3s 3m32s 3m53s 14 10,861 120ms 1m20s 581ms 3m38s 3m52s 3m55s 15 9,946 120ms 1m5s 652ms 3m30s 4m18s 5m40s 16 7,235 120ms 29s503ms 547ms 1m56s 2m5s 2m19s 17 8,209 120ms 58s616ms 631ms 2m46s 3m21s 4m17s 18 8,366 120ms 2m11s 566ms 2m20s 2m54s 4m29s 19 10,322 120ms 1m15s 623ms 3m29s 4m25s 5m19s 20 5,122 0ms 1m3s 539ms 1m44s 2m9s 2m39s 21 1,679 0ms 16s693ms 522ms 38s466ms 45s779ms 58s531ms 22 987 0ms 22s410ms 541ms 27s520ms 51s902ms 1m1s 23 47 0ms 756ms 186ms 270ms 553ms 2s810ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 13 00 103 0 300ms 759ms 1s757ms 3s164ms 01 440 0 361ms 4s150ms 8s802ms 16s807ms 02 732 0 194ms 3s70ms 5s41ms 17s595ms 03 502 0 204ms 2s494ms 4s381ms 13s440ms 04 29 0 128ms 127ms 263ms 638ms 05 32 0 143ms 131ms 268ms 518ms 06 31 0 128ms 130ms 241ms 387ms 07 86 0 251ms 636ms 1s52ms 2s642ms 08 105 0 570ms 1s451ms 3s807ms 18s811ms 09 99 61 1s449ms 646ms 1s602ms 54s832ms 10 466 0 388ms 2s798ms 3s843ms 44s110ms 11 1,510 0 261ms 7s233ms 16s381ms 34s273ms 12 5,367 0 287ms 36s447ms 43s861ms 1m6s 13 7,753 0 367ms 1m5s 1m21s 1m35s 14 7,011 0 281ms 44s139ms 58s959ms 1m9s 15 7,300 0 293ms 51s437ms 1m2s 1m21s 16 5,206 0 270ms 32s613ms 36s842ms 1m 17 5,644 0 284ms 40s177ms 56s303ms 1m9s 18 6,281 0 262ms 37s704ms 44s614ms 53s605ms 19 7,523 0 233ms 46s405ms 1m2s 1m18s 20 3,761 0 263ms 26s612ms 49s81ms 53s948ms 21 1,221 0 231ms 8s440ms 12s599ms 17s938ms 22 738 0 138ms 2s671ms 3s497ms 4s452ms 23 46 0 173ms 243ms 258ms 553ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 13 00 2 4 0 0 1s400ms 0ms 0ms 0ms 01 32 146 3 0 1s377ms 621ms 7s710ms 24s620ms 02 173 175 9 0 2s166ms 11s962ms 26s578ms 52s789ms 03 83 158 6 0 2s132ms 579ms 16s908ms 48s149ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 1 24 0 0 871ms 0ms 0ms 3s490ms 08 0 13 0 0 1s839ms 0ms 0ms 4s981ms 09 1 30 0 0 1s85ms 0ms 0ms 5s619ms 10 3 35 2 0 883ms 0ms 0ms 5s923ms 11 74 388 0 0 1s297ms 7s4ms 14s392ms 43s594ms 12 353 2,406 9 0 1s187ms 53s603ms 1m9s 1m35s 13 301 3,232 11 0 1s102ms 1m2s 1m24s 2m30s 14 339 3,236 17 0 1s198ms 1m15s 1m32s 2m37s 15 217 2,120 17 0 1s828ms 1m2s 1m46s 3m5s 16 237 1,672 16 0 1s319ms 36s643ms 57s908ms 1m27s 17 228 2,124 80 0 1s462ms 49s564ms 1m18s 2m25s 18 222 1,672 44 0 1s557ms 44s356ms 1m10s 2m6s 19 345 2,162 93 0 1s788ms 1m14s 1m36s 2m55s 20 148 1,161 10 0 1s339ms 25s776ms 1m 1m27s 21 95 349 2 0 1s330ms 7s61ms 17s919ms 36s757ms 22 80 167 0 0 1s747ms 4s917ms 11s35ms 25s703ms 23 0 0 1 0 756ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 13 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Mar 13 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s 23 0 0.00/s Day Hour Count Average Duration Average idle time Mar 13 00 0 0ms 0ms 01 0 0ms 0ms 02 0 0ms 0ms 03 0 0ms 0ms 04 0 0ms 0ms 05 0 0ms 0ms 06 0 0ms 0ms 07 0 0ms 0ms 08 0 0ms 0ms 09 0 0ms 0ms 10 0 0ms 0ms 11 0 0ms 0ms 12 0 0ms 0ms 13 0 0ms 0ms 14 0 0ms 0ms 15 0 0ms 0ms 16 0 0ms 0ms 17 0 0ms 0ms 18 0 0ms 0ms 19 0 0ms 0ms 20 0 0ms 0ms 21 0 0ms 0ms 22 0 0ms 0ms 23 0 0ms 0ms -
Connections
Established Connections
Key values
- 0 connections Connection Peak
- Date
Connections per database
Key values
- unknown Main Database
- 0 connections Total
Connections per user
Key values
- unknown Main User
- 0 connections Total
-
Sessions
Simultaneous sessions
Key values
- 0 sessions Session Peak
- Date
Histogram of session times
Key values
- duration
Sessions per database
Key values
- unknown Main Database
- 0 sessions Total
Sessions per user
Key values
- unknown Main User
- 0 sessions Total
Sessions per host
Key values
- unknown Main Host
- 0 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 0 buffers Checkpoint Peak
- Date
- seconds Highest write time
- seconds Sync time
Checkpoint write buffers (5 minutes period)
NO DATASET
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- Date
Checkpoint Wal files usage (5 minutes period)
NO DATASET
Checkpoints distance
Key values
- 0 Mo Distance Peak
- Date
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Mar 13 00 0 0s 0s 0s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 0 0s 0s 0s 06 0 0s 0s 0s 07 0 0s 0s 0s 08 0 0s 0s 0s 09 0 0s 0s 0s 10 0 0s 0s 0s 11 0 0s 0s 0s 12 0 0s 0s 0s 13 0 0s 0s 0s 14 0 0s 0s 0s 15 0 0s 0s 0s 16 0 0s 0s 0s 17 0 0s 0s 0s 18 0 0s 0s 0s 19 0 0s 0s 0s 20 0 0s 0s 0s 21 0 0s 0s 0s 22 0 0s 0s 0s 23 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 13 00 0 0 0 0 0s 0s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 0 0s 0s 06 0 0 0 0 0s 0s 07 0 0 0 0 0s 0s 08 0 0 0 0 0s 0s 09 0 0 0 0 0s 0s 10 0 0 0 0 0s 0s 11 0 0 0 0 0s 0s 12 0 0 0 0 0s 0s 13 0 0 0 0 0s 0s 14 0 0 0 0 0s 0s 15 0 0 0 0 0s 0s 16 0 0 0 0 0s 0s 17 0 0 0 0 0s 0s 18 0 0 0 0 0s 0s 19 0 0 0 0 0s 0s 20 0 0 0 0 0s 0s 21 0 0 0 0 0s 0s 22 0 0 0 0 0s 0s 23 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Mar 13 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Mar 13 00 0.00 kB 0.00 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 0.00 kB 0.00 kB 06 0.00 kB 0.00 kB 07 0.00 kB 0.00 kB 08 0.00 kB 0.00 kB 09 0.00 kB 0.00 kB 10 0.00 kB 0.00 kB 11 0.00 kB 0.00 kB 12 0.00 kB 0.00 kB 13 0.00 kB 0.00 kB 14 0.00 kB 0.00 kB 15 0.00 kB 0.00 kB 16 0.00 kB 0.00 kB 17 0.00 kB 0.00 kB 18 0.00 kB 0.00 kB 19 0.00 kB 0.00 kB 20 0.00 kB 0.00 kB 21 0.00 kB 0.00 kB 22 0.00 kB 0.00 kB 23 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
Day Hour Count Total size Average size Mar 13 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
Day Hour VACUUMs ANALYZEs Mar 13 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 1,020 locks Total
Type Object Count Total Duration Average Duration (s) AccessExclusiveLock 38 53s367ms 1s404ms tuple 38 53s367ms 1s404ms AccessShareLock 1 2s560ms 2s560ms relation 1 2s560ms 2s560ms ExclusiveLock 1 4s321ms 4s321ms tuple 1 4s321ms 4s321ms ShareLock 980 36m2s 2s206ms relation 3 4s450ms 1s483ms transaction 977 35m57s 2s208ms Total 1,020 37m2s 2s178ms Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 945 25m13s 1s 3s17ms 1s601ms delete from ir_attachment where id in (...);-
DELETE FROM ir_attachment WHERE id IN (1253399, 1253391);
Date: 2023-03-13 12:47:49
-
DELETE FROM ir_attachment WHERE id IN (1251908);
Date: 2023-03-13 12:04:22
-
DELETE FROM ir_attachment WHERE id IN (1254020);
Date: 2023-03-13 13:02:39
2 30 3m55s 1s214ms 45s138ms 7s843ms 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 != 477339 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 != 477339 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2023-03-13 14:25:11
3 2 2m23s 11s160ms 2m11s 1m11s update "product_warehouse_inventory" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "product_warehouse_inventory" SET "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (46784, 47834, 46782, 46783);
Date: 2023-03-13 18:59:07
-
UPDATE "product_warehouse_inventory" SET "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (47630, 47631, 48163, 48164, 48165, 47144, 47145, 47146, 47147, 47148, 47149, 47150, 46645, 46646, 47671, 47672, 47673, 46212, 46647, 46649, 46648, 47176, 47177, 47178, 47179, 47180, 47181, 47182, 47183, 47698, 47699, 47700, 47701, 47702, 47703, 47704, 47705, 47706, 47707, 47708, 47709, 47710, 47711, 47712, 47713, 47206, 47207, 46188, 46189, 46190, 46191, 106610, 46706, 46708, 46707, 46710, 46709, 47731, 45696, 45697, 45698, 45699, 45700, 45701, 47747, 47750, 47748, 47753, 47752, 47754, 47749, 47751, 46748, 46749, 46750, 46751, 46752, 46753, 46754, 46755, 46782, 46783, 46784, 47812, 47813, 47814, 47815, 47819, 47820, 326862, 47829, 47830, 47831, 47832, 47833, 47834, 46811, 46812, 46813, 46814, 46808, 46809, 46810, 47341, 46832, 46833, 46834, 47347, 47860, 47348, 47350, 47349, 47367, 47368, 47369, 45842, 45843, 45844, 46372, 46373, 46903, 46904, 46905, 45884, 45885, 47424, 330051, 330065, 45955, 45979, 46532, 46533, 46534, 46024, 46025, 46026, 46027, 47569, 47570, 47571, 47572, 46042, 46043, 46044, 47096, 47097, 47098, 47099, 45564);
Date: 2023-03-13 18:55:30
4 1 1m2s 1m2s 1m2s 1m2s insert into "account_move_line" ("id", "create_uid", "create_date", "write_uid", "write_date", "account_id", "amount_currency", "blocked", "branch_id", "company_currency_id", "company_id", "credit", "currency_id", "debit", "discount", "display_type", "is_visible_in_report", "move_id", "move_options", "name", "partner_id", "product_id", "product_uom_id", "quantity", "ref", "sequence", "sign_product_qty", "tax_exigible") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), ?, ?, false, ?, ?, ?, ?, ?, ?, ?, null, true, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?.?, true) returning id;-
INSERT INTO "account_move_line" ("id", "create_uid", "create_date", "write_uid", "write_date", "account_id", "amount_currency", "blocked", "branch_id", "company_currency_id", "company_id", "credit", "currency_id", "debit", "discount", "display_type", "is_visible_in_report", "move_id", "move_options", "name", "partner_id", "product_id", "product_uom_id", "quantity", "ref", "sequence", "sign_product_qty", "tax_exigible") VALUES (nextval('account_move_line_id_seq'), 1006, (now() at time zone 'UTC'), 1006, (now() at time zone 'UTC'), 1341, '-18.00', false, 46, 2, 1, '18.00', 2, '0.00', '0.00', NULL, true, 478643, 'new_product', '11-N/IN/03508 - [1] Reg.Automotive Core', 30496, 238647, 1, '1.00', '11-N/IN/03508 - [1] Reg.Automotive Core', 10, 1.0, true) RETURNING id;
Date: 2023-03-13 17:30:17
5 1 49s138ms 49s138ms 49s138ms 49s138ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?.?, ?, ?, ?, ?, ?, true, ?, ?, ?, ?) returning id;-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 994, (now() at time zone 'UTC'), 994, (now() at time zone 'UTC'), false, NULL, 45, 1, '2023-03-13 10:21:52', '2023-03-13 10:21:52', '[8170] LED FLOOD LAMP 12-16V', 66500, 437, 4, 'new_product', '[8170] LED FLOOD LAMP 12-16V', 'I-01190', NULL, 91825, 329, 77.12, '0', 'make_to_stock', 188662, 1, '4.00', true, 45296, 10, 'draft', 42) RETURNING id;
Date: 2023-03-13 15:26:51
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 44, 1, '2023-03-13 17:21:39.453215', '2023-03-13 17:21:39.453215', '[065647] AD-9 Air Dryer', 66667, 429, 4, 'new_product', '[065647] AD-9 Air Dryer', 'B-00666', NULL, 92078, 321, 557.0500000000001, '0', 'make_to_stock', 173392, 1, '1.00', true, 45382, 10, 'draft', 41) RETURNING id;
Date: 2023-03-13 17:22:48
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), false, NULL, 44, 1, '2023-03-13 16:00:00', '2023-03-13 16:00:00', '[109477X] AD-IP Air Dryer', 66667, 429, 4, 'new_product', '[109477X] AD-IP Air Dryer', 'B-00666', NULL, 92078, 321, 160.0, '0', 'make_to_stock', 237298, 1, '1.00', true, 45385, 10, 'draft', 41) RETURNING id;
Date: 2023-03-13 17:22:52
6 7 48s579ms 1s187ms 25s778ms 6s939ms update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (105076);
Date: 2023-03-13 12:27:18
-
UPDATE "sale_order_line" SET "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (105076);
Date: 2023-03-13 12:25:53
-
UPDATE "sale_order_line" SET "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (105077);
Date: 2023-03-13 12:26:31
7 2 44s941ms 8s10ms 36s931ms 22s470ms update "account_move" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "write_uid" = 956, "write_date" = (now() at time zone 'UTC') WHERE id IN (478642);
Date: 2023-03-13 17:30:17
8 4 23s943ms 1s834ms 12s709ms 5s985ms update account_move set write_date = write_date where id = ( select id from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) and sequence_prefix = ( select sequence_prefix from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) order by id desc limit ?) order by sequence_number desc limit ?) returning name;-
UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2023-03-13 14:30:11
9 7 21s694ms 2s180ms 7s150ms 3s99ms 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" = 1257107, "write_uid" = 1031, "write_date" = (now() at time zone 'UTC') WHERE id IN (477326);
Date: 2023-03-13 14:23:41
10 1 18s273ms 18s273ms 18s273ms 18s273ms update "stock_move" set "delay_alert_date" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (126050, 223843, 125958, 223814, 125994, 223818, 125964, 126028, 223824, 126064, 125944, 125950, 285368, 125978, 125982);
Date: 2023-03-13 16:40:21
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (300801, 300770, 300803, 300774, 227944, 300777, 300780, 260333, 300782, 297327, 300787, 300822, 260345, 260347, 300796, 300799);
Date: 2023-03-13 17:10:41
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (260865, 159586, 267141, 225775, 215184, 218073, 256444, 164989);
Date: 2023-03-13 15:27:04
11 1 8s431ms 8s431ms 8s431ms 8s431ms delete from stock_quant where id in (...);-
DELETE FROM stock_quant WHERE id IN (26192, 41838, 239517, 178945, 239613, 239615, 239959, 239960, 46987, 205792, 235877, 235879, 235881, 236489);
Date: 2023-03-13 13:24:29
12 3 7s427ms 2s359ms 2s770ms 2s475ms update "account_move" set "access_token" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "access_token" = '8f6e1159-2756-4f7a-a336-67fa284d22e6', "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (477324);
Date: 2023-03-13 14:23:32
13 3 7s270ms 5s23ms 5s23ms 2s423ms update "account_move" set "is_move_sent" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "is_move_sent" = true, "write_uid" = 980, "write_date" = (now() at time zone 'UTC') WHERE id IN (477864);
Date: 2023-03-13 15:29:03
14 1 7s213ms 7s213ms 7s213ms 7s213ms update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move" SET "date" = '2023-03-13 20:36:32', "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (315305, 315306, 315307, 315308, 315309, 315310, 315311, 315312, 315313, 315314, 315315, 315316, 315317, 315318, 315319, 315320, 315321, 315322, 315323, 315324, 315325, 315326, 315327, 315328, 315329, 315330, 315331, 315332, 315333, 315334, 315335, 315336, 315337, 315338, 315339, 315340);
Date: 2023-03-13 20:37:40
-
UPDATE "stock_move" SET "date" = '2023-03-13 17:51:34', "state" = 'done', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (312322, 314628, 312326, 312328, 312342, 300055, 312343, 312344, 312483, 314660, 312229, 312230, 312235, 312236, 312237, 312366, 300093, 312381, 314617, 314618, 312527, 312529, 312530, 314621, 312297, 312301, 312308, 312309, 312310, 312312, 312313, 312314, 312315, 312444, 312317);
Date: 2023-03-13 17:52:37
-
UPDATE "stock_move" SET "date" = '2023-03-13 20:05:56', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (310340, 310341, 310342, 310343, 310344, 310345, 310346, 310347, 310348, 310349, 310350, 310351, 310352, 310353, 310354, 310355, 310356, 310357, 310358, 310359, 310360, 310361, 310362, 310363, 310365, 310366, 310367, 310368, 310369, 310370, 310371, 310372, 310373, 310374);
Date: 2023-03-13 20:06:57
15 1 6s591ms 6s591ms 6s591ms 6s591ms insert into account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) values (?, ?) on conflict do nothing;-
INSERT INTO account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) VALUES (105005, 2120) ON CONFLICT DO NOTHING;
Date: 2023-03-13 14:08:33
-
INSERT INTO account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) VALUES (105005, 2120) ON CONFLICT DO NOTHING;
Date: 2023-03-13 14:08:33
16 3 5s929ms 1s85ms 2s470ms 1s976ms update "sale_order_line" set "branch_id" = ?, "warehouse_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1149, "write_date" = (now() at time zone 'UTC') WHERE id IN (105632, 105638, 105639, 105609, 105610, 105644, 105619, 105653, 105622, 105659, 105660, 105661);
Date: 2023-03-13 16:31:29
-
UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1149, "write_date" = (now() at time zone 'UTC') WHERE id IN (105632, 105638, 105639, 105609, 105610, 105644, 105619, 105653, 105622, 105659, 105660, 105661);
Date: 2023-03-13 16:31:03
-
UPDATE "sale_order_line" SET "branch_id" = 39, "warehouse_id" = 37, "write_uid" = 1149, "write_date" = (now() at time zone 'UTC') WHERE id IN (105632, 105638, 105639, 105609, 105610, 105644, 105619, 105653, 105622, 105659, 105660, 105661);
Date: 2023-03-13 16:31:18
17 1 3s482ms 3s482ms 3s482ms 3s482ms update "stock_move_line" set "qty_done" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move_line" SET "qty_done" = '8.00', "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (311404);
Date: 2023-03-13 13:08:34
18 1 3s398ms 3s398ms 3s398ms 3s398ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 12:23:32', '2023-03-13 12:23:32', '19 SERIES BASE MOUNT AND HOT WIRE, GRAY', 66251, 5, 429, 'new_product', '[19721] 19 SERIES BASE MOUNT AND HOT WIRE, GRAY', NULL, 'B-02636', 43543, 322, '0', 'make_to_stock', 188862, 1, '6.00', false, 362, 105078, 10, 'draft', 41) RETURNING id;
Date: 2023-03-13 12:26:02
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 15:18:01', '2023-03-13 15:18:01', 'Blade Fuse', 66499, 5, 461, 'new_product', '[82-ANX-30A] Blade Fuse', NULL, 'T-07009', 46209, 354, '0', 'make_to_stock', 209207, 1, '1.00', false, 398, 105543, 10, 'draft', 45) RETURNING id;
Date: 2023-03-13 15:26:51
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 19:00:54', '2023-03-13 19:00:54', 'Automotive Clamp', 66778, 5, 453, 'new_product', '[82-9135] Automotive Clamp', NULL, 'S-03097', 44631, 346, '0', 'make_to_stock', 209310, 1, '1.00', false, 389, 105948, 10, 'draft', 44) RETURNING id;
Date: 2023-03-13 19:02:04
19 2 3s93ms 1s473ms 1s620ms 1s546ms create index if not exists account_move_to_check_idx on account_move (journal_id) where to_check = true; create index if not exists account_move_payment_idx on account_move (journal_id, state, payment_state, move_type, date);-
CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move (journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move (journal_id, state, payment_state, move_type, date);
Date: 2023-03-13 10:27:03
-
CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move (journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move (journal_id, state, payment_state, move_type, date);
Date: 2023-03-13 10:27:18
-
CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move (journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move (journal_id, state, payment_state, move_type, date);
Date: 2023-03-13 10:27:03
20 1 2s995ms 2s995ms 2s995ms 2s995ms update "sale_order_line" set "price_reduce" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "price_reduce" = '0.00', "write_uid" = 1156, "write_date" = (now() at time zone 'UTC') WHERE id IN (105169);
Date: 2023-03-13 13:28:23
-
UPDATE "sale_order_line" SET "price_reduce" = '4.56', "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (105327);
Date: 2023-03-13 14:09:40
-
UPDATE "sale_order_line" SET "price_reduce" = '4.56', "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (105327);
Date: 2023-03-13 14:00:38
21 1 2s560ms 2s560ms 2s560ms 2s560ms select "ir_model_fields".id from "ir_model_fields" where ("ir_model_fields"."model" = ?) order by "ir_model_fields"."name";-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'res.partner') ORDER BY "ir_model_fields"."name";
Date: 2023-03-13 10:27:15
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'res.partner') ORDER BY "ir_model_fields"."name";
Date: 2023-03-13 10:27:15
22 1 1s531ms 1s531ms 1s531ms 1s531ms update "repair_line" set "branch_id" = ?, "partner_id" = ?, "price_subtotal" = ?, "qty_delivered_method" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "repair_margin" = ?, "repair_margin_percent" = ?.?, "repair_purchase_price" = ?, "warehouse_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "repair_line" SET "branch_id" = 46, "partner_id" = 49976, "price_subtotal" = '880.00', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "repair_margin" = '352.00', "repair_margin_percent" = 0.4, "repair_purchase_price" = '66.00', "warehouse_id" = 43, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (21062);
Date: 2023-03-13 19:10:35
-
UPDATE "repair_line" SET "branch_id" = 45, "partner_id" = 34093, "price_subtotal" = '935.00', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "repair_margin" = '374.00', "repair_margin_percent" = 0.4, "repair_purchase_price" = '561.00', "warehouse_id" = 42, "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (21025);
Date: 2023-03-13 17:47:31
-
UPDATE "repair_line" SET "branch_id" = 39, "partner_id" = 33452, "price_subtotal" = '110.00', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "repair_margin" = '44.00', "repair_margin_percent" = 0.4, "repair_purchase_price" = '66.00', "warehouse_id" = 37, "write_uid" = 1031, "write_date" = (now() at time zone 'UTC') WHERE id IN (20966);
Date: 2023-03-13 14:49:11
23 1 1s356ms 1s356ms 1s356ms 1s356ms create unique index if not exists product_product_combination_unique on product_product (product_tmpl_id, combination_indices) where active is true;-
CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is true;
Date: 2023-03-13 10:27:22
-
CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is true;
Date: 2023-03-13 10:26:52
Queries that waited the most
Rank Wait time Query 1 2m11s UPDATE "product_warehouse_inventory" SET "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (46784, 47834, 46782, 46783);[ Date: 2023-03-13 18:59:07 ]
2 1m2s INSERT INTO "account_move_line" ("id", "create_uid", "create_date", "write_uid", "write_date", "account_id", "amount_currency", "blocked", "branch_id", "company_currency_id", "company_id", "credit", "currency_id", "debit", "discount", "display_type", "is_visible_in_report", "move_id", "move_options", "name", "partner_id", "product_id", "product_uom_id", "quantity", "ref", "sequence", "sign_product_qty", "tax_exigible") VALUES (nextval('account_move_line_id_seq'), 1006, (now() at time zone 'UTC'), 1006, (now() at time zone 'UTC'), 1341, '-18.00', false, 46, 2, 1, '18.00', 2, '0.00', '0.00', NULL, true, 478643, 'new_product', '11-N/IN/03508 - [1] Reg.Automotive Core', 30496, 238647, 1, '1.00', '11-N/IN/03508 - [1] Reg.Automotive Core', 10, 1.0, true) RETURNING id;[ Date: 2023-03-13 17:30:17 ]
3 49s138ms INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1003, (now() at time zone 'UTC'), 1003, (now() at time zone 'UTC'), false, NULL, 41, 1, '2023-03-13 16:00:00', '2023-03-13 16:00:00', '[85003] CONNECTOR ELL', 66814, 413, 4, 'new_product', '[85003] CONNECTOR ELL', 'H-00277', NULL, 92342, 305, 4.36, '0', 'make_to_stock', 212114, 1, '30.00', true, 45512, 10, 'draft', 39) RETURNING id;[ Date: 2023-03-13 19:21:54 ]
4 45s138ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 479540 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 479540 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-13 19:45:36 ]
5 36s931ms UPDATE "account_move" SET "write_uid" = 956, "write_date" = (now() at time zone 'UTC') WHERE id IN (478642);[ Date: 2023-03-13 17:30:17 ]
6 28s717ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 478734 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 478734 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-13 17:47:53 ]
7 25s778ms UPDATE "sale_order_line" SET "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (105076);[ Date: 2023-03-13 12:27:17 ]
8 24s834ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 479524 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 479524 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-13 19:44:03 ]
9 24s192ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 435277 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 435277 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-13 17:35:59 ]
10 18s273ms UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (314003);[ Date: 2023-03-13 17:55:51 ]
11 12s709ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-13 19:33:02 ]
12 12s522ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 475023 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 475023 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-13 17:53:26 ]
13 11s160ms UPDATE "product_warehouse_inventory" SET "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (47630, 47631, 48163, 48164, 48165, 47144, 47145, 47146, 47147, 47148, 47149, 47150, 46645, 46646, 47671, 47672, 47673, 46212, 46647, 46649, 46648, 47176, 47177, 47178, 47179, 47180, 47181, 47182, 47183, 47698, 47699, 47700, 47701, 47702, 47703, 47704, 47705, 47706, 47707, 47708, 47709, 47710, 47711, 47712, 47713, 47206, 47207, 46188, 46189, 46190, 46191, 106610, 46706, 46708, 46707, 46710, 46709, 47731, 45696, 45697, 45698, 45699, 45700, 45701, 47747, 47750, 47748, 47753, 47752, 47754, 47749, 47751, 46748, 46749, 46750, 46751, 46752, 46753, 46754, 46755, 46782, 46783, 46784, 47812, 47813, 47814, 47815, 47819, 47820, 326862, 47829, 47830, 47831, 47832, 47833, 47834, 46811, 46812, 46813, 46814, 46808, 46809, 46810, 47341, 46832, 46833, 46834, 47347, 47860, 47348, 47350, 47349, 47367, 47368, 47369, 45842, 45843, 45844, 46372, 46373, 46903, 46904, 46905, 45884, 45885, 47424, 330051, 330065, 45955, 45979, 46532, 46533, 46534, 46024, 46025, 46026, 46027, 47569, 47570, 47571, 47572, 46042, 46043, 46044, 47096, 47097, 47098, 47099, 45564);[ Date: 2023-03-13 18:55:30 ]
14 10s727ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 277532 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 277532 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-13 19:24:00 ]
15 10s202ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 478447 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 478447 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-13 16:53:27 ]
16 8s431ms DELETE FROM stock_quant WHERE id IN (26192, 41838, 239517, 178945, 239613, 239615, 239959, 239960, 46987, 205792, 235877, 235879, 235881, 236489);[ Date: 2023-03-13 13:24:29 ]
17 8s107ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 429743 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 429743 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-13 12:44:47 ]
18 8s10ms UPDATE "account_move" SET "write_uid" = 956, "write_date" = (now() at time zone 'UTC') WHERE id IN (478924);[ Date: 2023-03-13 18:04:02 ]
19 7s882ms UPDATE "sale_order_line" SET "write_uid" = 1140, "write_date" = (now() at time zone 'UTC') WHERE id IN (105005);[ Date: 2023-03-13 14:08:42 ]
20 7s235ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 310428 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 310428 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-03-13 19:08:29 ]
-
Queries
Queries by type
Key values
- 61,986 Total read queries
- 26,175 Total write queries
Queries by database
Key values
- unknown Main database
- 88,161 Requests
- 14h36m21s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 88,169 Requests
User Request type Count Duration unknown Total 88,169 14h36m22s copy to 61 3m36s cte 1,582 4m45s ddl 4 4s760ms delete 320 10m5s insert 2,934 1h16m25s select 61,994 4h50m43s update 21,274 8h10m41s Duration by user
Key values
- 14h36m22s (unknown) Main time consuming user
User Request type Count Duration unknown Total 88,169 14h36m22s copy to 61 3m36s cte 1,582 4m45s ddl 4 4s760ms delete 320 10m5s insert 2,934 1h16m25s select 61,994 4h50m43s update 21,274 8h10m41s Queries by host
Key values
- unknown Main host
- 88,169 Requests
- 14h36m22s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 88,161 Requests
- 14h36m21s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2023-03-13 19:33:30 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 62,362 100-500ms duration
Slowest individual queries
Rank Duration Query 1 2m11s UPDATE "product_warehouse_inventory" SET "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (46784, 47834, 46782, 46783);[ Date: 2023-03-13 18:59:07 ]
2 1m20s UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 91734, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (313870, 313871, 313872, 313873, 313874, 313875, 313876, 313877, 313878, 313879, 313880, 313881, 313882, 313883, 313885, 313886, 313888, 313890, 313892, 313894, 313898, 313900, 313902, 313904, 313906, 313908, 313910, 313912, 313914, 313916, 313919, 313921, 313922, 313923, 313924, 313925, 313926, 313927, 313928, 313929, 313930, 313931);[ Date: 2023-03-13 14:56:48 ]
3 1m15s UPDATE "stock_move" SET "picking_id" = 92287, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);[ Date: 2023-03-13 19:04:16 ]
4 1m15s UPDATE "stock_move" SET "picking_id" = 92277, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);[ Date: 2023-03-13 19:02:54 ]
5 1m9s UPDATE "stock_move" SET "reference" = '02-G/IN/03297', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);[ Date: 2023-03-13 19:05:27 ]
6 1m7s UPDATE "stock_move" SET "reference" = '02-G/IN/03295', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);[ Date: 2023-03-13 19:01:27 ]
7 1m7s UPDATE "stock_move" SET "picking_id" = 92272, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);[ Date: 2023-03-13 19:00:18 ]
8 1m6s UPDATE "stock_move" SET "picking_id" = 92269, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);[ Date: 2023-03-13 18:57:56 ]
9 1m6s UPDATE "stock_move" SET "picking_id" = 92265, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);[ Date: 2023-03-13 18:56:47 ]
10 1m5s UPDATE "stock_move" SET "picking_id" = 91772, "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (164609, 164610, 164613, 164614, 164615, 164616, 164619, 164621, 164622, 164623, 164624, 164625, 164626, 164627, 164628, 164629, 164630, 164631, 164632, 164634, 164635, 164636, 164637, 164639, 164640, 164641, 164643, 164644, 164645, 164648, 164649, 164650, 164604, 164605, 164607);[ Date: 2023-03-13 15:08:49 ]
11 1m5s UPDATE "stock_move" SET "reference" = '02-G/IN/03293', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);[ Date: 2023-03-13 18:59:04 ]
12 1m3s UPDATE "stock_move" SET "date" = '2023-03-13 20:36:32', "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (315305, 315306, 315307, 315308, 315309, 315310, 315311, 315312, 315313, 315314, 315315, 315316, 315317, 315318, 315319, 315320, 315321, 315322, 315323, 315324, 315325, 315326, 315327, 315328, 315329, 315330, 315331, 315332, 315333, 315334, 315335, 315336, 315337, 315338, 315339, 315340);[ Date: 2023-03-13 20:37:40 ]
13 1m2s UPDATE "stock_move" SET "reference" = '03-C/IN/02586', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (164609, 164610, 164613, 164614, 164615, 164616, 164619, 164621, 164622, 164623, 164624, 164625, 164626, 164627, 164628, 164629, 164630, 164631, 164632, 164634, 164635, 164636, 164637, 164639, 164640, 164641, 164643, 164644, 164645, 164648, 164649, 164650, 164604, 164605, 164607);[ Date: 2023-03-13 15:11:00 ]
14 1m2s UPDATE "stock_move" SET "picking_id" = 91776, "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (164609, 164610, 164613, 164614, 164615, 164616, 164619, 164621, 164622, 164623, 164624, 164625, 164626, 164627, 164628, 164629, 164630, 164631, 164632, 164634, 164635, 164636, 164637, 164639, 164640, 164641, 164643, 164644, 164645, 164648, 164649, 164650, 164604, 164605, 164607);[ Date: 2023-03-13 15:09:55 ]
15 58s616ms UPDATE "stock_move" SET "date" = '2023-03-13 17:51:34', "state" = 'done', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (312322, 314628, 312326, 312328, 312342, 300055, 312343, 312344, 312483, 314660, 312229, 312230, 312235, 312236, 312237, 312366, 300093, 312381, 314617, 314618, 312527, 312529, 312530, 314621, 312297, 312301, 312308, 312309, 312310, 312312, 312313, 312314, 312315, 312444, 312317);[ Date: 2023-03-13 17:52:37 ]
16 58s229ms UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 92489, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (315305, 315307, 315308, 315309, 315310, 315311, 315312, 315314, 315315, 315316, 315317, 315318, 315319, 315320, 315321, 315322, 315323, 315324, 315325, 315326, 315327, 315328, 315329, 315331, 315332, 315333, 315334, 315335, 315336, 315337, 315338, 315339, 315340);[ Date: 2023-03-13 20:33:45 ]
17 57s698ms UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (315305, 315307, 315308, 315309, 315310, 315311, 315312, 315314, 315315, 315316, 315317, 315318, 315319, 315320, 315321, 315322, 315323, 315324, 315325, 315326, 315327, 315328, 315329, 315331, 315332, 315333, 315334, 315335, 315336, 315337, 315338, 315339, 315340);[ Date: 2023-03-13 20:36:15 ]
18 57s646ms UPDATE "stock_move" SET "date" = '2023-03-13 20:05:56', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (310340, 310341, 310342, 310343, 310344, 310345, 310346, 310347, 310348, 310349, 310350, 310351, 310352, 310353, 310354, 310355, 310356, 310357, 310358, 310359, 310360, 310361, 310362, 310363, 310365, 310366, 310367, 310368, 310369, 310370, 310371, 310372, 310373, 310374);[ Date: 2023-03-13 20:06:57 ]
19 57s597ms UPDATE "stock_move" SET "date" = '2023-03-13 20:01:59', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (310340, 310341, 310342, 310343, 310344, 310345, 310346, 310347, 310348, 310349, 310350, 310351, 310352, 310353, 310354, 310355, 310356, 310357, 310358, 310359, 310360, 310361, 310362, 310363, 310365, 310366, 310367, 310368, 310369, 310370, 310371, 310372, 310373, 310374);[ Date: 2023-03-13 20:03:00 ]
20 57s266ms UPDATE "stock_move" SET "date" = '2023-03-13 20:03:04', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (310340, 310341, 310342, 310343, 310344, 310345, 310346, 310347, 310348, 310349, 310350, 310351, 310352, 310353, 310354, 310355, 310356, 310357, 310358, 310359, 310360, 310361, 310362, 310363, 310365, 310366, 310367, 310368, 310369, 310370, 310371, 310372, 310373, 310374);[ Date: 2023-03-13 20:04:04 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h2m48s 775 1s442ms 1m3s 4s862ms update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 13 01 6 25s757ms 4s292ms 07 1 1s686ms 1s686ms 09 2 6s617ms 3s308ms 10 3 5s69ms 1s689ms 11 4 23s375ms 5s843ms 12 81 5m10s 3s831ms 13 102 7m56s 4s670ms 14 105 7m5s 4s56ms 15 119 9m3s 4s563ms 16 43 4m6s 5s741ms 17 69 7m54s 6s880ms 18 86 4m33s 3s180ms 19 99 9m23s 5s691ms 20 47 5m42s 7s289ms 21 8 48s659ms 6s82ms -
UPDATE "stock_move" SET "date" = '2023-03-13 20:36:32', "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (315305, 315306, 315307, 315308, 315309, 315310, 315311, 315312, 315313, 315314, 315315, 315316, 315317, 315318, 315319, 315320, 315321, 315322, 315323, 315324, 315325, 315326, 315327, 315328, 315329, 315330, 315331, 315332, 315333, 315334, 315335, 315336, 315337, 315338, 315339, 315340);
Date: 2023-03-13 20:37:40 Duration: 1m3s
-
UPDATE "stock_move" SET "date" = '2023-03-13 17:51:34', "state" = 'done', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (312322, 314628, 312326, 312328, 312342, 300055, 312343, 312344, 312483, 314660, 312229, 312230, 312235, 312236, 312237, 312366, 300093, 312381, 314617, 314618, 312527, 312529, 312530, 314621, 312297, 312301, 312308, 312309, 312310, 312312, 312313, 312314, 312315, 312444, 312317);
Date: 2023-03-13 17:52:37 Duration: 58s616ms
-
UPDATE "stock_move" SET "date" = '2023-03-13 20:05:56', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (310340, 310341, 310342, 310343, 310344, 310345, 310346, 310347, 310348, 310349, 310350, 310351, 310352, 310353, 310354, 310355, 310356, 310357, 310358, 310359, 310360, 310361, 310362, 310363, 310365, 310366, 310367, 310368, 310369, 310370, 310371, 310372, 310373, 310374);
Date: 2023-03-13 20:06:57 Duration: 57s646ms
2 56m9s 1,039 1s461ms 57s698ms 3s243ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 13 00 1 1s651ms 1s651ms 01 5 38s220ms 7s644ms 02 9 36s414ms 4s46ms 03 7 26s309ms 3s758ms 07 2 3s310ms 1s655ms 08 6 10s114ms 1s685ms 11 27 1m11s 2s652ms 12 124 5m51s 2s838ms 13 118 6m1s 3s67ms 14 142 7m7s 3s9ms 15 119 5m14s 2s643ms 16 85 4m57s 3s500ms 17 128 6m39s 3s118ms 18 70 4m47s 4s106ms 19 141 8m20s 3s547ms 20 38 3m25s 5s401ms 21 8 22s326ms 2s790ms 22 9 14s588ms 1s620ms -
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (315305, 315307, 315308, 315309, 315310, 315311, 315312, 315314, 315315, 315316, 315317, 315318, 315319, 315320, 315321, 315322, 315323, 315324, 315325, 315326, 315327, 315328, 315329, 315331, 315332, 315333, 315334, 315335, 315336, 315337, 315338, 315339, 315340);
Date: 2023-03-13 20:36:15 Duration: 57s698ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (313870, 313872, 313873, 313874, 313877, 313878, 313879, 313882, 313883, 313885, 313886, 313888, 313892, 313894, 313898, 313902, 313908, 313912, 313914, 313916, 313919, 313921, 313922, 313931);
Date: 2023-03-13 14:59:31 Duration: 46s344ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (314719, 314720, 314721, 314723, 314724, 314725, 314726, 314727, 314728, 314729, 314730, 314731, 314732, 314733, 314734, 314735, 314736, 314738, 314739, 314740, 314741);
Date: 2023-03-13 18:14:34 Duration: 36s196ms
3 52m17s 1,392 1s417ms 16s190ms 2s253ms update "stock_move" set "current_warehouse_qty" = ?.?, "is_done" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 13 01 6 10s785ms 1s797ms 07 1 1s685ms 1s685ms 09 4 6s740ms 1s685ms 10 3 4s931ms 1s643ms 11 12 27s269ms 2s272ms 12 127 4m16s 2s22ms 13 190 7m20s 2s316ms 14 167 5m52s 2s112ms 15 198 7m38s 2s314ms 16 107 3m49s 2s146ms 17 126 4m40s 2s228ms 18 116 4m9s 2s147ms 19 208 8m7s 2s345ms 20 100 4m40s 2s802ms 21 27 49s934ms 1s849ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (306054, 306057, 306064, 306066, 306067, 306069, 306070, 306072, 306077);
Date: 2023-03-13 13:27:43 Duration: 16s190ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (310087, 310089, 310091, 310092, 310096, 310067, 310069, 310073, 310078);
Date: 2023-03-13 19:20:51 Duration: 15s444ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 0.0, "is_done" = true, "write_uid" = 964, "write_date" = (now() at time zone 'UTC') WHERE id IN (311648, 311650, 311652, 311653, 311656, 311657, 311658, 311659, 311647);
Date: 2023-03-13 13:08:12 Duration: 15s96ms
4 43m8s 4,379 518ms 1s406ms 591ms 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 #4
Day Hour Count Duration Avg duration Mar 13 01 37 20s19ms 541ms 10 17 9s277ms 545ms 11 78 42s420ms 543ms 12 554 5m18s 574ms 13 545 5m33s 612ms 14 657 6m36s 602ms 15 447 4m39s 625ms 16 393 3m45s 572ms 17 365 3m33s 585ms 18 506 5m2s 598ms 19 296 2m54s 588ms 20 430 4m3s 566ms 21 54 29s512ms 546ms -
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 ('%%330%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%330%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%330%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 13:29:50 Duration: 1s406ms
-
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 ('%%103010%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%103010%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%103010%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 14:46:01 Duration: 1s279ms
-
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 ('%%489xfahxa3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%489xfahx-a3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%489xfahx-a3%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 15:26:49 Duration: 1s260ms
5 36m46s 250 1s571ms 1m15s 8s827ms update "stock_move" set "picking_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 13 11 7 19s518ms 2s788ms 12 20 1m30s 4s540ms 13 34 3m1s 5s326ms 14 31 4m44s 9s178ms 15 51 11m59s 14s100ms 16 11 55s547ms 5s49ms 17 25 1m55s 4s617ms 18 20 5m1s 15s73ms 19 48 7m7s 8s902ms 21 3 12s14ms 4s4ms -
UPDATE "stock_move" SET "picking_id" = 92287, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);
Date: 2023-03-13 19:04:16 Duration: 1m15s
-
UPDATE "stock_move" SET "picking_id" = 92277, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);
Date: 2023-03-13 19:02:54 Duration: 1m15s
-
UPDATE "stock_move" SET "picking_id" = 92272, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);
Date: 2023-03-13 19:00:18 Duration: 1m7s
6 28m44s 216 1s541ms 1m9s 7s983ms update "stock_move" set "reference" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 13 11 5 12s3ms 2s400ms 12 20 1m30s 4s542ms 13 33 2m48s 5s91ms 14 28 3m46s 8s78ms 15 44 9m51s 13s434ms 16 10 48s592ms 4s859ms 17 19 1m22s 4s320ms 18 16 3m5s 11s596ms 19 38 5m8s 8s105ms 21 3 12s75ms 4s25ms -
UPDATE "stock_move" SET "reference" = '02-G/IN/03297', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);
Date: 2023-03-13 19:05:27 Duration: 1m9s
-
UPDATE "stock_move" SET "reference" = '02-G/IN/03295', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);
Date: 2023-03-13 19:01:27 Duration: 1m7s
-
UPDATE "stock_move" SET "reference" = '02-G/IN/03293', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);
Date: 2023-03-13 18:59:04 Duration: 1m5s
7 27m27s 832 1s485ms 14s145ms 1s980ms update "stock_move" set "delay_alert_date" = ?, "is_done" = false, "picking_code" = ?, "product_qty" = ?.?, "reference" = ?, "unit_factor" = ?.?, "weight" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 13 01 7 12s507ms 1s786ms 10 2 5s145ms 2s572ms 11 25 46s920ms 1s876ms 12 116 3m38s 1s884ms 13 75 2m26s 1s952ms 14 138 4m50s 2s102ms 15 64 2m4s 1s946ms 16 114 3m25s 1s802ms 17 73 2m27s 2s25ms 18 80 2m42s 2s28ms 19 61 1m58s 1s941ms 20 69 2m33s 2s228ms 21 8 15s467ms 1s933ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '02-G/OUT/06237', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (313890, 313927, 313870, 313875, 313876, 313878, 313910);
Date: 2023-03-13 14:57:15 Duration: 14s145ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '12-S/OUT/02130', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (315328, 315335, 315339, 315340, 315311, 315313);
Date: 2023-03-13 20:34:36 Duration: 10s8ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 2.0, "reference" = '02-G/OUT/06254', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1017, "write_date" = (now() at time zone 'UTC') WHERE id IN (314539, 314544, 314547, 314548, 314549);
Date: 2023-03-13 17:22:24 Duration: 8s755ms
8 25m22s 864 1s405ms 5s285ms 1s762ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 13 01 7 12s181ms 1s740ms 10 3 4s807ms 1s602ms 11 35 57s904ms 1s654ms 12 132 3m54s 1s778ms 13 79 2m25s 1s837ms 14 160 4m47s 1s797ms 15 65 1m58s 1s823ms 16 104 2m53s 1s668ms 17 56 1m36s 1s722ms 18 65 1m54s 1s759ms 19 64 1m55s 1s801ms 20 85 2m27s 1s730ms 21 9 15s35ms 1s670ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 12:23:32', '2023-03-13 12:23:32', '19 SERIES BASE MOUNT AND HOT WIRE, GRAY', 66251, 5, 429, 'new_product', '[19721] 19 SERIES BASE MOUNT AND HOT WIRE, GRAY', NULL, 'B-02636', 43543, 322, '0', 'make_to_stock', 188862, 1, '6.00', false, 362, 105078, 10, 'draft', 41) RETURNING id;
Date: 2023-03-13 12:26:02 Duration: 5s285ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 15:18:01', '2023-03-13 15:18:01', 'Blade Fuse', 66499, 5, 461, 'new_product', '[82-ANX-30A] Blade Fuse', NULL, 'T-07009', 46209, 354, '0', 'make_to_stock', 209207, 1, '1.00', false, 398, 105543, 10, 'draft', 45) RETURNING id;
Date: 2023-03-13 15:26:51 Duration: 2s661ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 19:00:54', '2023-03-13 19:00:54', 'Automotive Clamp', 66778, 5, 453, 'new_product', '[82-9135] Automotive Clamp', NULL, 'S-03097', 44631, 346, '0', 'make_to_stock', 209310, 1, '1.00', false, 389, 105948, 10, 'draft', 44) RETURNING id;
Date: 2023-03-13 19:02:04 Duration: 2s606ms
9 25m3s 10,787 120ms 316ms 139ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where ("product_warehouse_inventory"."product_id" in (...)) order by "product_warehouse_inventory"."warehouse_name";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 13 01 52 6s764ms 130ms 02 373 48s769ms 130ms 03 254 33s193ms 130ms 07 4 525ms 131ms 08 12 1s573ms 131ms 09 12 1s516ms 126ms 10 59 7s995ms 135ms 11 48 6s271ms 130ms 12 306 42s265ms 138ms 13 484 1m9s 142ms 14 754 1m50s 146ms 15 1,254 3m4s 146ms 16 689 1m33s 135ms 17 1,064 2m32s 143ms 18 879 2m7s 144ms 19 1,785 4m9s 139ms 20 1,502 3m21s 133ms 21 684 1m30s 132ms 22 572 1m16s 134ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (191105, 191037, 246991, 246961, 246962, 246992, 246960)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-13 13:20:05 Duration: 316ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (206475)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-13 14:55:04 Duration: 308ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (205982)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-13 15:26:49 Duration: 285ms
10 21m59s 301 1s465ms 1m20s 4s384ms update "stock_move" set "branch_id" = ?, "picking_id" = ?, "related_core_purchase_line_id" = ?, "related_core_repair_line_id" = ?, "related_core_sale_line_id" = ?, "scrapped" = false, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 13 01 1 10s506ms 10s506ms 10 1 3s468ms 3s468ms 11 14 1m 4s290ms 12 40 2m56s 4s420ms 13 38 2m8s 3s391ms 14 43 4m27s 6s225ms 15 34 1m37s 2s877ms 16 32 2m19s 4s359ms 17 22 1m21s 3s700ms 18 26 1m37s 3s767ms 19 29 1m48s 3s728ms 20 19 2m17s 7s216ms 21 2 10s467ms 5s233ms -
UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 91734, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (313870, 313871, 313872, 313873, 313874, 313875, 313876, 313877, 313878, 313879, 313880, 313881, 313882, 313883, 313885, 313886, 313888, 313890, 313892, 313894, 313898, 313900, 313902, 313904, 313906, 313908, 313910, 313912, 313914, 313916, 313919, 313921, 313922, 313923, 313924, 313925, 313926, 313927, 313928, 313929, 313930, 313931);
Date: 2023-03-13 14:56:48 Duration: 1m20s
-
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 92489, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (315305, 315307, 315308, 315309, 315310, 315311, 315312, 315314, 315315, 315316, 315317, 315318, 315319, 315320, 315321, 315322, 315323, 315324, 315325, 315326, 315327, 315328, 315329, 315331, 315332, 315333, 315334, 315335, 315336, 315337, 315338, 315339, 315340);
Date: 2023-03-13 20:33:45 Duration: 58s229ms
-
UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 92487, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (315296, 315297, 315298, 315299, 315300, 315301, 315285, 315286, 315287, 315288, 315289, 315290, 315291, 315292, 315293, 315294, 315295);
Date: 2023-03-13 20:31:19 Duration: 28s822ms
11 18m53s 7,969 123ms 254ms 142ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where (("product_warehouse_inventory"."warehouse_id" = ?) and ("product_warehouse_inventory"."product_id" = ?)) order by "product_warehouse_inventory"."warehouse_name" limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 13 11 668 1m30s 135ms 12 978 2m19s 142ms 13 827 1m58s 143ms 14 756 1m47s 141ms 15 843 1m59s 142ms 16 701 1m38s 140ms 17 408 55s914ms 137ms 18 1,320 3m7s 142ms 19 1,442 3m33s 147ms 20 26 3s521ms 135ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 42) AND ("product_warehouse_inventory"."product_id" = 188650)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-03-13 19:02:24 Duration: 254ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 44) AND ("product_warehouse_inventory"."product_id" = 183483)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-03-13 16:38:59 Duration: 250ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 39) AND ("product_warehouse_inventory"."product_id" = 196609)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-03-13 11:02:02 Duration: 248ms
12 17m39s 7,210 120ms 366ms 146ms 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 #12
Day Hour Count Duration Avg duration Mar 13 00 36 4s643ms 128ms 01 44 5s741ms 130ms 02 100 13s242ms 132ms 03 91 11s970ms 131ms 04 29 3s713ms 128ms 05 29 3s724ms 128ms 06 31 3s983ms 128ms 07 39 5s107ms 130ms 08 26 3s330ms 128ms 09 53 6s855ms 129ms 10 44 5s828ms 132ms 11 130 17s709ms 136ms 12 669 1m38s 146ms 13 973 2m25s 149ms 14 1,000 2m27s 147ms 15 891 2m13s 150ms 16 489 1m10s 144ms 17 593 1m29s 150ms 18 630 1m32s 146ms 19 821 2m6s 154ms 20 323 45s785ms 141ms 21 70 9s844ms 140ms 22 58 7s860ms 135ms 23 41 5s309ms 129ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_common_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5ea4658/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-13 15:26:52 Duration: 366ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_common_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-d41d903/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-13 13:39:41 Duration: 354ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_frontend.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-eedcf2a/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-13 12:57:43 Duration: 350ms
13 14m10s 1,171 665ms 1s365ms 726ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 13 00 15 10s193ms 679ms 02 2 1s393ms 696ms 10 6 4s128ms 688ms 11 23 15s959ms 693ms 12 126 1m29s 706ms 13 145 1m45s 729ms 14 169 2m6s 749ms 15 136 1m40s 742ms 16 115 1m22s 716ms 17 149 1m49s 733ms 18 92 1m6s 719ms 19 113 1m23s 736ms 20 70 48s744ms 696ms 21 10 6s859ms 685ms -
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 ('%l711%')) 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 ('%l711%'))) 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 ('%l711%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%l711%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-03-13 17:21:48 Duration: 1s365ms
-
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 ('%920116%')) 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 ('%920116%'))) 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 ('%920116%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%920116%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-03-13 17:25:25 Duration: 1s259ms
-
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 ('%LGU-6217SSK%')) 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 ('%LGU-6217SSK%'))) 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 ('%LGU-6217SSK%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%LGU-6217SSK%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-03-13 13:53:52 Duration: 1s236ms
14 13m28s 5,680 120ms 320ms 142ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where ("product_warehouse_inventory"."product_tmpl_id" in (...)) order by "product_warehouse_inventory"."warehouse_name";Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 13 00 14 1s820ms 130ms 01 12 1s581ms 131ms 02 2 253ms 126ms 09 12 1s541ms 128ms 10 28 4s538ms 162ms 11 92 12s348ms 134ms 12 514 1m11s 138ms 13 852 2m2s 143ms 14 914 2m12s 144ms 15 882 2m7s 144ms 16 440 1m 137ms 17 570 1m20s 142ms 18 490 1m9s 141ms 19 610 1m28s 145ms 20 202 27s433ms 135ms 21 42 5s495ms 130ms 22 4 531ms 132ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (206456)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-13 13:53:52 Duration: 320ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (216330, 216489, 216801, 216401)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-13 15:26:49 Duration: 314ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (243138)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-13 13:20:05 Duration: 270ms
15 12m47s 1,297 520ms 1s228ms 591ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 13 01 87 47s514ms 546ms 11 4 2s265ms 566ms 12 165 1m33s 569ms 13 331 3m16s 592ms 14 69 44s811ms 649ms 15 63 37s751ms 599ms 16 80 44s591ms 557ms 17 207 2m1s 586ms 18 124 1m12s 581ms 19 150 1m37s 648ms 20 12 7s310ms 609ms 23 5 2s680ms 536ms -
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 ('%%35290%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%352-90%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%352-90%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 19:03:26 Duration: 1s228ms
-
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 ('%%38X11%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%3/8X11%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%3/8X11%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 19:05:32 Duration: 1s129ms
-
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 ('%%3529069%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%352-9069%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%352-9069%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 19:03:26 Duration: 1s128ms
16 12m20s 418 1s417ms 2s734ms 1s771ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, true, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 13 00 2 3s277ms 1s638ms 11 34 1m 1s784ms 12 42 1m15s 1s793ms 13 40 1m14s 1s866ms 14 44 1m20s 1s821ms 15 30 52s899ms 1s763ms 16 48 1m22s 1s722ms 17 68 2m1s 1s793ms 18 16 27s233ms 1s702ms 19 42 1m16s 1s813ms 20 20 33s456ms 1s672ms 21 4 6s455ms 1s613ms 22 28 45s378ms 1s620ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 39, 1, '2023-03-13 13:53:58.720119', 37, 66362, 397, 468, 'new_product', '04-V/INT/02449', NULL, 'Warehouse Inventory Transfer to Fairmont', 91575, 293, '0', 'make_to_stock', 208952, 1, '2.00', true, 10, 43, 'waiting', 37) RETURNING id;
Date: 2023-03-13 13:54:01 Duration: 2s734ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 997, (now() at time zone 'UTC'), 997, (now() at time zone 'UTC'), false, NULL, 38, 1, '2023-03-16 17:35:50.194362', 36, 66683, 389, 468, 'new_product', '03-C/INT/03270', NULL, 'Warehouse Inventory Transfer to Clearfield', 92107, 285, '0', 'make_to_stock', 205525, 1, '8.00', true, 10, 44, 'waiting', 36) RETURNING id;
Date: 2023-03-13 17:35:52 Duration: 2s417ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1010, (now() at time zone 'UTC'), 1010, (now() at time zone 'UTC'), false, NULL, 37, 1, '2023-03-13 19:02:40.118954', 44, 66780, 468, 381, 'new_product', '02-G/INT/03580', NULL, '02-G/INT/03580', 92283, 277, '0', 'make_to_stock', 238963, 1, '1.00', true, 10, 35, 'draft', 35) RETURNING id;
Date: 2023-03-13 19:02:42 Duration: 2s383ms
17 11m59s 792 825ms 1s731ms 908ms 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 #17
Day Hour Count Duration Avg duration Mar 13 11 9 7s697ms 855ms 12 126 1m50s 879ms 13 388 5m55s 915ms 14 32 31s398ms 981ms 15 27 24s177ms 895ms 16 114 1m42s 897ms 17 39 36s553ms 937ms 19 18 18s339ms 1s18ms 20 27 22s829ms 845ms 21 12 10s148ms 845ms -
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 ('%A112056Y2729%') 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 ('%A112056Y2729%')))))) 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 ('%A112056Y2729%')))))) 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 ('%A112056Y2729%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%A112056Y2729%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%A112056Y2729%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-03-13 13:44:00 Duration: 1s731ms
-
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 ('%A112056Y2729%') 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 ('%A112056Y2729%')))))) 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 ('%A112056Y2729%')))))) 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 ('%A112056Y2729%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%A112056Y2729%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%A112056Y2729%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-03-13 13:44:00 Duration: 1s708ms
-
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 ('%s4-120sba%') 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 ('%s4-120sba%')))))) 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 ('%s4-120sba%')))))) 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 ('%s4-120sba%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%s4-120sba%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%s4-120sba%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-03-13 17:25:26 Duration: 1s667ms
18 11m36s 262 1s527ms 29s503ms 2s658ms update "stock_move" set "delay_alert_date" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 13 08 4 11s564ms 2s891ms 11 12 25s621ms 2s135ms 12 33 1m6s 2s13ms 13 44 1m45s 2s390ms 14 40 1m36s 2s421ms 15 26 1m12s 2s774ms 16 15 1m7s 4s522ms 17 40 2m 3s4ms 18 11 27s741ms 2s521ms 19 31 1m31s 2s966ms 20 6 11s80ms 1s846ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (126050, 223843, 125958, 223814, 125994, 223818, 125964, 126028, 223824, 126064, 125944, 125950, 285368, 125978, 125982);
Date: 2023-03-13 16:40:21 Duration: 29s503ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (300801, 300770, 300803, 300774, 227944, 300777, 300780, 260333, 300782, 297327, 300787, 300822, 260345, 260347, 300796, 300799);
Date: 2023-03-13 17:10:41 Duration: 26s328ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (260865, 159586, 267141, 225775, 215184, 218073, 256444, 164989);
Date: 2023-03-13 15:27:04 Duration: 21s351ms
19 11m 729 581ms 1s642ms 905ms 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 #19
Day Hour Count Duration Avg duration Mar 13 11 7 5s885ms 840ms 12 88 1m18s 895ms 13 326 4m58s 914ms 14 23 21s957ms 954ms 15 21 19s490ms 928ms 16 83 1m12s 868ms 17 97 1m29s 926ms 19 24 22s534ms 938ms 20 50 43s92ms 861ms 21 10 8s284ms 828ms -
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 ('%250-4-271-1%') 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 ('%250-4-271-1%')))))) 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 ('%250-4-271-1%')))))) 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 ('%250-4-271-1%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%250-4-271-1%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%250-4-271-1%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-03-13 13:54:00 Duration: 1s642ms
-
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 ('%250-4-%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%250-4-%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%250-4-%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%250-4-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%250-4-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%250-4-%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-03-13 13:54:00 Duration: 1s606ms
-
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 ('%s4-120%') 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 ('%s4-120%')))))) 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 ('%s4-120%')))))) 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 ('%s4-120%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%s4-120%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%s4-120%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-03-13 17:25:26 Duration: 1s543ms
20 10m36s 306 1s477ms 6s927ms 2s78ms update "stock_move" set "delay_alert_date" = ?, "is_done" = false, "picking_code" = ?, "product_qty" = ?.?, "reference" = ?, "scrapped" = false, "unit_factor" = ?.?, "weight" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 13 00 1 1s669ms 1s669ms 02 29 1m26s 2s976ms 03 24 58s899ms 2s454ms 11 8 14s803ms 1s850ms 12 26 51s751ms 1s990ms 13 20 37s493ms 1s874ms 14 20 37s572ms 1s878ms 15 14 25s916ms 1s851ms 16 28 53s97ms 1s896ms 17 35 1m6s 1s890ms 18 9 15s716ms 1s746ms 19 64 2m18s 2s171ms 20 8 14s346ms 1s793ms 21 6 10s701ms 1s783ms 22 14 22s674ms 1s619ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'internal', "product_qty" = 20.0, "reference" = '05-F/INT/01874', "scrapped" = false, "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (313001, 313003, 313005, 312998);
Date: 2023-03-13 02:50:44 Duration: 6s927ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'internal', "product_qty" = 1.0, "reference" = '02-G/INT/03579', "scrapped" = false, "unit_factor" = 1.0, "weight" = '8.00', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (314944, 314929, 314933);
Date: 2023-03-13 19:03:16 Duration: 6s674ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'internal', "product_qty" = 20.0, "reference" = '07-L/INT/01206', "scrapped" = false, "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (312985, 312987, 312989, 312982);
Date: 2023-03-13 02:50:16 Duration: 6s491ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 10,787 25m3s 120ms 316ms 139ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where ("product_warehouse_inventory"."product_id" in (...)) order by "product_warehouse_inventory"."warehouse_name";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 13 01 52 6s764ms 130ms 02 373 48s769ms 130ms 03 254 33s193ms 130ms 07 4 525ms 131ms 08 12 1s573ms 131ms 09 12 1s516ms 126ms 10 59 7s995ms 135ms 11 48 6s271ms 130ms 12 306 42s265ms 138ms 13 484 1m9s 142ms 14 754 1m50s 146ms 15 1,254 3m4s 146ms 16 689 1m33s 135ms 17 1,064 2m32s 143ms 18 879 2m7s 144ms 19 1,785 4m9s 139ms 20 1,502 3m21s 133ms 21 684 1m30s 132ms 22 572 1m16s 134ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (191105, 191037, 246991, 246961, 246962, 246992, 246960)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-13 13:20:05 Duration: 316ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (206475)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-13 14:55:04 Duration: 308ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (205982)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-13 15:26:49 Duration: 285ms
2 7,969 18m53s 123ms 254ms 142ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where (("product_warehouse_inventory"."warehouse_id" = ?) and ("product_warehouse_inventory"."product_id" = ?)) order by "product_warehouse_inventory"."warehouse_name" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 13 11 668 1m30s 135ms 12 978 2m19s 142ms 13 827 1m58s 143ms 14 756 1m47s 141ms 15 843 1m59s 142ms 16 701 1m38s 140ms 17 408 55s914ms 137ms 18 1,320 3m7s 142ms 19 1,442 3m33s 147ms 20 26 3s521ms 135ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 42) AND ("product_warehouse_inventory"."product_id" = 188650)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-03-13 19:02:24 Duration: 254ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 44) AND ("product_warehouse_inventory"."product_id" = 183483)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-03-13 16:38:59 Duration: 250ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 39) AND ("product_warehouse_inventory"."product_id" = 196609)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2023-03-13 11:02:02 Duration: 248ms
3 7,210 17m39s 120ms 366ms 146ms 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 Mar 13 00 36 4s643ms 128ms 01 44 5s741ms 130ms 02 100 13s242ms 132ms 03 91 11s970ms 131ms 04 29 3s713ms 128ms 05 29 3s724ms 128ms 06 31 3s983ms 128ms 07 39 5s107ms 130ms 08 26 3s330ms 128ms 09 53 6s855ms 129ms 10 44 5s828ms 132ms 11 130 17s709ms 136ms 12 669 1m38s 146ms 13 973 2m25s 149ms 14 1,000 2m27s 147ms 15 891 2m13s 150ms 16 489 1m10s 144ms 17 593 1m29s 150ms 18 630 1m32s 146ms 19 821 2m6s 154ms 20 323 45s785ms 141ms 21 70 9s844ms 140ms 22 58 7s860ms 135ms 23 41 5s309ms 129ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_common_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5ea4658/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-13 15:26:52 Duration: 366ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_common_lazy.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-d41d903/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-13 13:39:41 Duration: 354ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/1/web.assets_frontend.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-eedcf2a/1/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-03-13 12:57:43 Duration: 350ms
4 5,680 13m28s 120ms 320ms 142ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where ("product_warehouse_inventory"."product_tmpl_id" in (...)) order by "product_warehouse_inventory"."warehouse_name";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 13 00 14 1s820ms 130ms 01 12 1s581ms 131ms 02 2 253ms 126ms 09 12 1s541ms 128ms 10 28 4s538ms 162ms 11 92 12s348ms 134ms 12 514 1m11s 138ms 13 852 2m2s 143ms 14 914 2m12s 144ms 15 882 2m7s 144ms 16 440 1m 137ms 17 570 1m20s 142ms 18 490 1m9s 141ms 19 610 1m28s 145ms 20 202 27s433ms 135ms 21 42 5s495ms 130ms 22 4 531ms 132ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (206456)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-13 13:53:52 Duration: 320ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (216330, 216489, 216801, 216401)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-13 15:26:49 Duration: 314ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (243138)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2023-03-13 13:20:05 Duration: 270ms
5 4,379 43m8s 518ms 1s406ms 591ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 13 01 37 20s19ms 541ms 10 17 9s277ms 545ms 11 78 42s420ms 543ms 12 554 5m18s 574ms 13 545 5m33s 612ms 14 657 6m36s 602ms 15 447 4m39s 625ms 16 393 3m45s 572ms 17 365 3m33s 585ms 18 506 5m2s 598ms 19 296 2m54s 588ms 20 430 4m3s 566ms 21 54 29s512ms 546ms -
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 ('%%330%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%330%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%330%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 13:29:50 Duration: 1s406ms
-
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 ('%%103010%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%103010%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%103010%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 14:46:01 Duration: 1s279ms
-
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 ('%%489xfahxa3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%489xfahx-a3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%489xfahx-a3%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 15:26:49 Duration: 1s260ms
6 3,974 8m55s 120ms 308ms 134ms select id from product_warehouse_inventory where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 13 00 2 258ms 129ms 01 31 3s929ms 126ms 02 144 18s325ms 127ms 03 67 8s561ms 127ms 07 1 126ms 126ms 09 1 126ms 126ms 10 4 503ms 125ms 11 86 10s945ms 127ms 12 350 46s19ms 131ms 13 384 52s564ms 136ms 14 498 1m8s 138ms 15 383 53s161ms 138ms 16 328 42s538ms 129ms 17 411 56s183ms 136ms 18 374 50s890ms 136ms 19 528 1m13s 138ms 20 228 29s438ms 129ms 21 87 11s60ms 127ms 22 67 8s494ms 126ms -
select id from product_warehouse_inventory where product_id = 239248 and warehouse_id = 41 and company_id = 1;
Date: 2023-03-13 17:22:46 Duration: 308ms
-
select id from product_warehouse_inventory where product_id = 173989 and warehouse_id = 38 and company_id = 1;
Date: 2023-03-13 15:26:52 Duration: 248ms
-
select id from product_warehouse_inventory where product_id = 185096 and warehouse_id = 44 and company_id = 1;
Date: 2023-03-13 18:07:40 Duration: 245ms
7 2,793 8m18s 160ms 365ms 178ms select res_partner.id from "res_partner" where ("res_partner"."active" = true) and (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 13 00 9 1s458ms 162ms 02 1 164ms 164ms 08 1 166ms 166ms 09 3 492ms 164ms 10 7 1s166ms 166ms 11 55 9s205ms 167ms 12 305 53s201ms 174ms 13 352 1m3s 179ms 14 462 1m24s 183ms 15 387 1m11s 185ms 16 407 1m9s 171ms 17 158 27s949ms 176ms 18 180 32s198ms 178ms 19 367 1m6s 180ms 20 89 15s418ms 173ms 21 10 1s646ms 164ms -
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%G-04923%') OR unaccent (res_partner.display_name) ilike unaccent ('%G-04923%') OR unaccent (res_partner.ref) ilike unaccent ('%G-04923%') OR unaccent (res_partner.vat) ilike unaccent ('G-04923')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%G-04923%') desc, unaccent (res_partner.display_name);
Date: 2023-03-13 14:01:21 Duration: 365ms
-
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 ('%I-01040%') OR unaccent (res_partner.display_name) ilike unaccent ('%I-01040%') OR unaccent (res_partner.ref) ilike unaccent ('%I-01040%') OR unaccent (res_partner.vat) ilike unaccent ('I-01040')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%I-01040%') desc, unaccent (res_partner.display_name);
Date: 2023-03-13 14:12:23 Duration: 335ms
-
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 ('%CENTE%') OR unaccent (res_partner.display_name) ilike unaccent ('%CENTE%') OR unaccent (res_partner.ref) ilike unaccent ('%CENTE%') OR unaccent (res_partner.vat) ilike unaccent ('CENTE')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%CENTE%') desc, unaccent (res_partner.display_name);
Date: 2023-03-13 19:35:05 Duration: 329ms
8 1,792 7m17s 192ms 26s75ms 244ms update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 13 01 28 5s744ms 205ms 10 6 1s400ms 233ms 11 45 9s138ms 203ms 12 212 1m28s 417ms 13 333 1m13s 221ms 14 441 1m37s 220ms 15 75 17s57ms 227ms 16 204 45s365ms 222ms 17 164 37s49ms 225ms 18 88 19s299ms 219ms 19 80 18s41ms 225ms 20 102 22s13ms 215ms 21 14 3s19ms 215ms -
UPDATE "sale_order_line" SET "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (105076);
Date: 2023-03-13 12:27:18 Duration: 26s75ms
-
UPDATE "sale_order_line" SET "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (105076);
Date: 2023-03-13 12:25:53 Duration: 5s623ms
-
UPDATE "sale_order_line" SET "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (105077);
Date: 2023-03-13 12:26:31 Duration: 3s135ms
9 1,392 52m17s 1s417ms 16s190ms 2s253ms update "stock_move" set "current_warehouse_qty" = ?.?, "is_done" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 13 01 6 10s785ms 1s797ms 07 1 1s685ms 1s685ms 09 4 6s740ms 1s685ms 10 3 4s931ms 1s643ms 11 12 27s269ms 2s272ms 12 127 4m16s 2s22ms 13 190 7m20s 2s316ms 14 167 5m52s 2s112ms 15 198 7m38s 2s314ms 16 107 3m49s 2s146ms 17 126 4m40s 2s228ms 18 116 4m9s 2s147ms 19 208 8m7s 2s345ms 20 100 4m40s 2s802ms 21 27 49s934ms 1s849ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (306054, 306057, 306064, 306066, 306067, 306069, 306070, 306072, 306077);
Date: 2023-03-13 13:27:43 Duration: 16s190ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (310087, 310089, 310091, 310092, 310096, 310067, 310069, 310073, 310078);
Date: 2023-03-13 19:20:51 Duration: 15s444ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 0.0, "is_done" = true, "write_uid" = 964, "write_date" = (now() at time zone 'UTC') WHERE id IN (311648, 311650, 311652, 311653, 311656, 311657, 311658, 311659, 311647);
Date: 2023-03-13 13:08:12 Duration: 15s96ms
10 1,392 3m15s 123ms 400ms 140ms update "stock_quant" set "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 13 00 1 132ms 132ms 01 7 914ms 130ms 02 7 918ms 131ms 03 6 795ms 132ms 07 1 132ms 132ms 11 28 3s616ms 129ms 12 152 20s767ms 136ms 13 126 18s310ms 145ms 14 190 27s436ms 144ms 15 132 19s383ms 146ms 16 129 17s490ms 135ms 17 153 21s296ms 139ms 18 92 13s93ms 142ms 19 226 32s98ms 142ms 20 117 16s72ms 137ms 21 16 2s87ms 130ms 22 9 1s173ms 130ms -
UPDATE "stock_quant" SET "reserved_quantity" = 0.0, "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (224704, 59780, 62869);
Date: 2023-03-13 19:29:36 Duration: 400ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 1.0, "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (32008);
Date: 2023-03-13 15:26:52 Duration: 297ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 0.0, "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (149898, 149900);
Date: 2023-03-13 13:55:19 Duration: 266ms
11 1,351 3m5s 120ms 302ms 137ms with currency_rate as ( select r.currency_id, coalesce(r.company_id, c.id) as company_id, r.rate, r.name as date_start, ( select name from res_currency_rate r2 where r2.name > r.name and r2.currency_id = r.currency_id and (r2.company_id is null or r2.company_id = c.id) order by r2.name asc limit ?) as date_end from res_currency_rate r join res_company c on (r.company_id is null or r.company_id = c.id)) select l.product_id as product_id, sum(l.price_unit / ( case coalesce(cr.rate, ?) when ? then ?.? else cr.rate end) * l.quantity * ( case when i.move_type in (...) then ? else ? end) * ((? - l.discount) * ?.?)) / nullif (sum(l.quantity * ( case when i.move_type in (...) then ? else ? end)), ?) as avg_unit_price, sum(l.quantity * ( case when i.move_type in (...) then ? else ? end)) as num_qty, sum(abs(l.balance) * ( case when i.move_type in (...) then ? else ? end)) as total, sum(l.quantity * pt.list_price * ( case when i.move_type in (...) then ? else ? end)) as sale_expected from account_move_line l left join account_move i on (l.move_id = i.id) left join product_product product on (product.id = l.product_id) left join product_template pt on (pt.id = product.product_tmpl_id) left join currency_rate cr on (cr.currency_id = i.currency_id and cr.company_id = i.company_id and cr.date_start <= coalesce(i.invoice_date, now()) and (cr.date_end is null or cr.date_end > coalesce(i.invoice_date, now()))) where l.product_id in (...) and i.state in (...) and i.payment_state in (...) and i.move_type in (...) and i.invoice_date between ? and ? and i.company_id = ? and l.display_type is null and l.exclude_from_invoice_tab = false group by l.product_id;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 13 01 3 378ms 126ms 09 2 252ms 126ms 10 7 931ms 133ms 11 13 1s679ms 129ms 12 106 14s158ms 133ms 13 187 25s680ms 137ms 14 207 28s542ms 137ms 15 261 36s670ms 140ms 16 93 12s264ms 131ms 17 128 17s713ms 138ms 18 132 17s913ms 135ms 19 164 22s838ms 139ms 20 34 4s562ms 134ms 21 12 1s583ms 131ms 22 2 253ms 126ms -
WITH currency_rate AS ( SELECT r.currency_id, COALESCE(r.company_id, c.id) as company_id, r.rate, r.name AS date_start, ( SELECT name FROM res_currency_rate r2 WHERE r2.name > r.name AND r2.currency_id = r.currency_id AND (r2.company_id is null or r2.company_id = c.id) ORDER BY r2.name ASC LIMIT 1) AS date_end FROM res_currency_rate r JOIN res_company c ON (r.company_id is null or r.company_id = c.id)) SELECT l.product_id as product_id, SUM(l.price_unit / ( CASE COALESCE(cr.rate, 0) WHEN 0 THEN 1.0 ELSE cr.rate END) * l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END) * ((100 - l.discount) * 0.01)) / NULLIF (SUM(l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)), 0) AS avg_unit_price, SUM(l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS num_qty, SUM(ABS(l.balance) * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS total, SUM(l.quantity * pt.list_price * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS sale_expected FROM account_move_line l LEFT JOIN account_move i ON (l.move_id = i.id) LEFT JOIN product_product product ON (product.id = l.product_id) LEFT JOIN product_template pt ON (pt.id = product.product_tmpl_id) left join currency_rate cr on (cr.currency_id = i.currency_id and cr.company_id = i.company_id and cr.date_start <= COALESCE(i.invoice_date, NOW()) and (cr.date_end IS NULL OR cr.date_end > COALESCE(i.invoice_date, NOW()))) WHERE l.product_id IN (208391) AND i.state IN ('posted') AND i.payment_state IN ('not_paid', 'in_payment', 'paid') AND i.move_type IN ('out_invoice', 'out_refund') AND i.invoice_date BETWEEN '2023-01-01' AND '2023-12-31' AND i.company_id = 1 AND l.display_type IS NULL AND l.exclude_from_invoice_tab = false GROUP BY l.product_id;
Date: 2023-03-13 15:12:11 Duration: 302ms
-
WITH currency_rate AS ( SELECT r.currency_id, COALESCE(r.company_id, c.id) as company_id, r.rate, r.name AS date_start, ( SELECT name FROM res_currency_rate r2 WHERE r2.name > r.name AND r2.currency_id = r.currency_id AND (r2.company_id is null or r2.company_id = c.id) ORDER BY r2.name ASC LIMIT 1) AS date_end FROM res_currency_rate r JOIN res_company c ON (r.company_id is null or r.company_id = c.id)) SELECT l.product_id as product_id, SUM(l.price_unit / ( CASE COALESCE(cr.rate, 0) WHEN 0 THEN 1.0 ELSE cr.rate END) * l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END) * ((100 - l.discount) * 0.01)) / NULLIF (SUM(l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)), 0) AS avg_unit_price, SUM(l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS num_qty, SUM(ABS(l.balance) * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS total, SUM(l.quantity * pt.list_price * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS sale_expected FROM account_move_line l LEFT JOIN account_move i ON (l.move_id = i.id) LEFT JOIN product_product product ON (product.id = l.product_id) LEFT JOIN product_template pt ON (pt.id = product.product_tmpl_id) left join currency_rate cr on (cr.currency_id = i.currency_id and cr.company_id = i.company_id and cr.date_start <= COALESCE(i.invoice_date, NOW()) and (cr.date_end IS NULL OR cr.date_end > COALESCE(i.invoice_date, NOW()))) WHERE l.product_id IN (173770, 173771, 174247, 239405, 174082, 173884, 237289) AND i.state IN ('posted') AND i.payment_state IN ('not_paid', 'in_payment', 'paid') AND i.move_type IN ('out_invoice', 'out_refund') AND i.invoice_date BETWEEN '2023-01-01' AND '2023-12-31' AND i.company_id = 1 AND l.display_type IS NULL AND l.exclude_from_invoice_tab = false GROUP BY l.product_id;
Date: 2023-03-13 15:14:17 Duration: 297ms
-
WITH currency_rate AS ( SELECT r.currency_id, COALESCE(r.company_id, c.id) as company_id, r.rate, r.name AS date_start, ( SELECT name FROM res_currency_rate r2 WHERE r2.name > r.name AND r2.currency_id = r.currency_id AND (r2.company_id is null or r2.company_id = c.id) ORDER BY r2.name ASC LIMIT 1) AS date_end FROM res_currency_rate r JOIN res_company c ON (r.company_id is null or r.company_id = c.id)) SELECT l.product_id as product_id, SUM(l.price_unit / ( CASE COALESCE(cr.rate, 0) WHEN 0 THEN 1.0 ELSE cr.rate END) * l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END) * ((100 - l.discount) * 0.01)) / NULLIF (SUM(l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)), 0) AS avg_unit_price, SUM(l.quantity * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS num_qty, SUM(ABS(l.balance) * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS total, SUM(l.quantity * pt.list_price * ( CASE WHEN i.move_type IN ('out_invoice', 'in_invoice') THEN 1 ELSE - 1 END)) AS sale_expected FROM account_move_line l LEFT JOIN account_move i ON (l.move_id = i.id) LEFT JOIN product_product product ON (product.id = l.product_id) LEFT JOIN product_template pt ON (pt.id = product.product_tmpl_id) left join currency_rate cr on (cr.currency_id = i.currency_id and cr.company_id = i.company_id and cr.date_start <= COALESCE(i.invoice_date, NOW()) and (cr.date_end IS NULL OR cr.date_end > COALESCE(i.invoice_date, NOW()))) WHERE l.product_id IN (228221, 228230, 228231) AND i.state IN ('posted') AND i.payment_state IN ('not_paid', 'in_payment', 'paid') AND i.move_type IN ('out_invoice', 'out_refund') AND i.invoice_date BETWEEN '2023-01-01' AND '2023-12-31' AND i.company_id = 1 AND l.display_type IS NULL AND l.exclude_from_invoice_tab = false GROUP BY l.product_id;
Date: 2023-03-13 19:10:13 Duration: 277ms
12 1,297 12m47s 520ms 1s228ms 591ms 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 Mar 13 01 87 47s514ms 546ms 11 4 2s265ms 566ms 12 165 1m33s 569ms 13 331 3m16s 592ms 14 69 44s811ms 649ms 15 63 37s751ms 599ms 16 80 44s591ms 557ms 17 207 2m1s 586ms 18 124 1m12s 581ms 19 150 1m37s 648ms 20 12 7s310ms 609ms 23 5 2s680ms 536ms -
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 ('%%35290%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%352-90%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%352-90%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 19:03:26 Duration: 1s228ms
-
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 ('%%38X11%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%3/8X11%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%3/8X11%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 19:05:32 Duration: 1s129ms
-
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 ('%%3529069%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%352-9069%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%352-9069%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 19:03:26 Duration: 1s128ms
13 1,254 5m15s 207ms 1s73ms 251ms select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."so_line_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 13 01 23 4s993ms 217ms 10 8 1s818ms 227ms 11 39 8s975ms 230ms 12 189 47s735ms 252ms 13 118 29s694ms 251ms 14 224 1m 268ms 15 73 19s698ms 269ms 16 175 40s643ms 232ms 17 90 22s585ms 250ms 18 94 23s981ms 255ms 19 92 23s611ms 256ms 20 114 28s16ms 245ms 21 15 3s327ms 221ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (105077)) ORDER BY "sale_history_line"."id";
Date: 2023-03-13 12:25:54 Duration: 1s73ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (105552)) ORDER BY "sale_history_line"."id";
Date: 2023-03-13 15:26:41 Duration: 1s36ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (105357)) ORDER BY "sale_history_line"."id";
Date: 2023-03-13 14:14:35 Duration: 1s16ms
14 1,171 14m10s 665ms 1s365ms 726ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 13 00 15 10s193ms 679ms 02 2 1s393ms 696ms 10 6 4s128ms 688ms 11 23 15s959ms 693ms 12 126 1m29s 706ms 13 145 1m45s 729ms 14 169 2m6s 749ms 15 136 1m40s 742ms 16 115 1m22s 716ms 17 149 1m49s 733ms 18 92 1m6s 719ms 19 113 1m23s 736ms 20 70 48s744ms 696ms 21 10 6s859ms 685ms -
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 ('%l711%')) 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 ('%l711%'))) 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 ('%l711%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%l711%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-03-13 17:21:48 Duration: 1s365ms
-
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 ('%920116%')) 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 ('%920116%'))) 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 ('%920116%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%920116%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-03-13 17:25:25 Duration: 1s259ms
-
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 ('%LGU-6217SSK%')) 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 ('%LGU-6217SSK%'))) 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 ('%LGU-6217SSK%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%LGU-6217SSK%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-03-13 13:53:52 Duration: 1s236ms
15 1,049 2m37s 120ms 281ms 150ms 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 #15
Day Hour Count Duration Avg duration Mar 13 12 96 16s274ms 169ms 13 212 32s445ms 153ms 14 96 13s788ms 143ms 15 203 31s882ms 157ms 16 155 22s860ms 147ms 17 141 20s227ms 143ms 18 65 9s106ms 140ms 19 68 9s254ms 136ms 20 13 1s748ms 134ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-03-13 15:04:59') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19496]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",34]', '["pointspring_master","mail.channel",43]', '["pointspring_master","mail.channel",47]', '["pointspring_master","mail.channel",330]', '["pointspring_master","mail.channel",353]', '["pointspring_master","mail.channel",450]', '["pointspring_master","res.partner",19496]', '["pointspring_master","ir.needaction",19496]'))) ORDER BY "bus_bus"."id";
Date: 2023-03-13 15:05:50 Duration: 281ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-03-13 15:04:59') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_951"', '["pointspring_master","calendar.alarm",19489]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",20]', '["pointspring_master","mail.channel",285]', '["pointspring_master","mail.channel",338]', '["pointspring_master","mail.channel",479]', '["pointspring_master","res.partner",19489]', '["pointspring_master","ir.needaction",19489]'))) ORDER BY "bus_bus"."id";
Date: 2023-03-13 15:05:50 Duration: 262ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-03-13 15:04:59') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_950"', '["pointspring_master","calendar.alarm",19488]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",327]', '["pointspring_master","mail.channel",328]', '["pointspring_master","mail.channel",424]', '["pointspring_master","mail.channel",463]', '["pointspring_master","mail.channel",469]', '["pointspring_master","mail.channel",472]', '["pointspring_master","mail.channel",483]', '["pointspring_master","res.partner",19488]', '["pointspring_master","ir.needaction",19488]'))) ORDER BY "bus_bus"."id";
Date: 2023-03-13 15:05:50 Duration: 261ms
16 1,039 56m9s 1s461ms 57s698ms 3s243ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 13 00 1 1s651ms 1s651ms 01 5 38s220ms 7s644ms 02 9 36s414ms 4s46ms 03 7 26s309ms 3s758ms 07 2 3s310ms 1s655ms 08 6 10s114ms 1s685ms 11 27 1m11s 2s652ms 12 124 5m51s 2s838ms 13 118 6m1s 3s67ms 14 142 7m7s 3s9ms 15 119 5m14s 2s643ms 16 85 4m57s 3s500ms 17 128 6m39s 3s118ms 18 70 4m47s 4s106ms 19 141 8m20s 3s547ms 20 38 3m25s 5s401ms 21 8 22s326ms 2s790ms 22 9 14s588ms 1s620ms -
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (315305, 315307, 315308, 315309, 315310, 315311, 315312, 315314, 315315, 315316, 315317, 315318, 315319, 315320, 315321, 315322, 315323, 315324, 315325, 315326, 315327, 315328, 315329, 315331, 315332, 315333, 315334, 315335, 315336, 315337, 315338, 315339, 315340);
Date: 2023-03-13 20:36:15 Duration: 57s698ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (313870, 313872, 313873, 313874, 313877, 313878, 313879, 313882, 313883, 313885, 313886, 313888, 313892, 313894, 313898, 313902, 313908, 313912, 313914, 313916, 313919, 313921, 313922, 313931);
Date: 2023-03-13 14:59:31 Duration: 46s344ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (314719, 314720, 314721, 314723, 314724, 314725, 314726, 314727, 314728, 314729, 314730, 314731, 314732, 314733, 314734, 314735, 314736, 314738, 314739, 314740, 314741);
Date: 2023-03-13 18:14:34 Duration: 36s196ms
17 1,030 10m16s 529ms 1s127ms 598ms 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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 13 00 1 529ms 529ms 07 5 2s743ms 548ms 10 19 10s558ms 555ms 11 1 541ms 541ms 12 59 35s230ms 597ms 13 151 1m35s 632ms 14 38 24s372ms 641ms 15 443 4m23s 595ms 16 51 29s223ms 573ms 17 79 46s430ms 587ms 18 34 19s917ms 585ms 19 79 48s25ms 607ms 20 69 38s730ms 561ms 22 1 548ms 548ms -
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%trifecta%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%trifecta%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%trifecta%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 14:59:21 Duration: 1s127ms
-
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%S35120SBA%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%S35-120SBA%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%S35-120SBA%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 15:26:50 Duration: 1s88ms
-
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%2121351XSpicerDriveline%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%[212135-1X] Spicer Driveline%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%[212135-1X] Spicer Driveline%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 13:11:11 Duration: 1s64ms
18 877 3m19s 193ms 1s31ms 227ms 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 #18
Day Hour Count Duration Avg duration Mar 13 01 1 204ms 204ms 09 5 987ms 197ms 10 3 619ms 206ms 11 16 3s299ms 206ms 12 112 24s209ms 216ms 13 159 35s476ms 223ms 14 153 35s167ms 229ms 15 96 22s577ms 235ms 16 42 8s709ms 207ms 17 60 13s440ms 224ms 18 69 15s979ms 231ms 19 68 17s84ms 251ms 20 55 13s883ms 252ms 21 38 7s752ms 204ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 2.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (100352, 101540, 100966, 101649, 100667);
Date: 2023-03-13 20:08:59 Duration: 1s31ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'to invoice', "open_qty_fil" = 0.0, "qty_delivered" = '1.00', "qty_to_invoice" = '1.00', "untaxed_amount_to_invoice" = '1.19', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (106113, 106115, 106108, 106110);
Date: 2023-03-13 20:37:49 Duration: 803ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 12.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (104234, 104235, 104236);
Date: 2023-03-13 18:00:21 Duration: 676ms
19 864 25m22s 1s405ms 5s285ms 1s762ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 13 01 7 12s181ms 1s740ms 10 3 4s807ms 1s602ms 11 35 57s904ms 1s654ms 12 132 3m54s 1s778ms 13 79 2m25s 1s837ms 14 160 4m47s 1s797ms 15 65 1m58s 1s823ms 16 104 2m53s 1s668ms 17 56 1m36s 1s722ms 18 65 1m54s 1s759ms 19 64 1m55s 1s801ms 20 85 2m27s 1s730ms 21 9 15s35ms 1s670ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 12:23:32', '2023-03-13 12:23:32', '19 SERIES BASE MOUNT AND HOT WIRE, GRAY', 66251, 5, 429, 'new_product', '[19721] 19 SERIES BASE MOUNT AND HOT WIRE, GRAY', NULL, 'B-02636', 43543, 322, '0', 'make_to_stock', 188862, 1, '6.00', false, 362, 105078, 10, 'draft', 41) RETURNING id;
Date: 2023-03-13 12:26:02 Duration: 5s285ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 15:18:01', '2023-03-13 15:18:01', 'Blade Fuse', 66499, 5, 461, 'new_product', '[82-ANX-30A] Blade Fuse', NULL, 'T-07009', 46209, 354, '0', 'make_to_stock', 209207, 1, '1.00', false, 398, 105543, 10, 'draft', 45) RETURNING id;
Date: 2023-03-13 15:26:51 Duration: 2s661ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 19:00:54', '2023-03-13 19:00:54', 'Automotive Clamp', 66778, 5, 453, 'new_product', '[82-9135] Automotive Clamp', NULL, 'S-03097', 44631, 346, '0', 'make_to_stock', 209310, 1, '1.00', false, 389, 105948, 10, 'draft', 44) RETURNING id;
Date: 2023-03-13 19:02:04 Duration: 2s606ms
20 844 2m9s 122ms 673ms 153ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 13 07 1 130ms 130ms 09 4 495ms 123ms 10 3 385ms 128ms 11 25 3s265ms 130ms 12 115 16s895ms 146ms 13 173 25s807ms 149ms 14 139 21s727ms 156ms 15 80 12s262ms 153ms 16 36 5s380ms 149ms 17 91 13s676ms 150ms 18 58 9s345ms 161ms 19 52 8s401ms 161ms 20 43 7s929ms 184ms 21 24 3s523ms 146ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 964, "write_date" = (now() at time zone 'UTC') WHERE id IN (238232, 212021, 238229, 238231, 239032);
Date: 2023-03-13 13:07:48 Duration: 673ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 972, "write_date" = (now() at time zone 'UTC') WHERE id IN (239387, 240027, 239388, 239389);
Date: 2023-03-13 19:45:11 Duration: 562ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 980, "write_date" = (now() at time zone 'UTC') WHERE id IN (42513, 227766);
Date: 2023-03-13 15:26:57 Duration: 543ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1s571ms 1m15s 8s827ms 250 36m46s update "stock_move" set "picking_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 13 11 7 19s518ms 2s788ms 12 20 1m30s 4s540ms 13 34 3m1s 5s326ms 14 31 4m44s 9s178ms 15 51 11m59s 14s100ms 16 11 55s547ms 5s49ms 17 25 1m55s 4s617ms 18 20 5m1s 15s73ms 19 48 7m7s 8s902ms 21 3 12s14ms 4s4ms -
UPDATE "stock_move" SET "picking_id" = 92287, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);
Date: 2023-03-13 19:04:16 Duration: 1m15s
-
UPDATE "stock_move" SET "picking_id" = 92277, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);
Date: 2023-03-13 19:02:54 Duration: 1m15s
-
UPDATE "stock_move" SET "picking_id" = 92272, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);
Date: 2023-03-13 19:00:18 Duration: 1m7s
2 1s541ms 1m9s 7s983ms 216 28m44s update "stock_move" set "reference" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 13 11 5 12s3ms 2s400ms 12 20 1m30s 4s542ms 13 33 2m48s 5s91ms 14 28 3m46s 8s78ms 15 44 9m51s 13s434ms 16 10 48s592ms 4s859ms 17 19 1m22s 4s320ms 18 16 3m5s 11s596ms 19 38 5m8s 8s105ms 21 3 12s75ms 4s25ms -
UPDATE "stock_move" SET "reference" = '02-G/IN/03297', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);
Date: 2023-03-13 19:05:27 Duration: 1m9s
-
UPDATE "stock_move" SET "reference" = '02-G/IN/03295', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);
Date: 2023-03-13 19:01:27 Duration: 1m7s
-
UPDATE "stock_move" SET "reference" = '02-G/IN/03293', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (164480, 164482, 164483, 164485, 164486, 164426, 164427, 164428, 164429, 164431, 164432, 164433, 164434, 164435, 164437, 164439, 164441, 164442, 164443, 164444, 164445, 164446, 164447, 164448, 164449, 164450, 164451, 164452, 164454, 164455, 164457, 164458, 164460, 164462, 164464, 164466, 164470, 164472, 164476, 164479);
Date: 2023-03-13 18:59:04 Duration: 1m5s
3 1s442ms 1m3s 4s862ms 775 1h2m48s update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 13 01 6 25s757ms 4s292ms 07 1 1s686ms 1s686ms 09 2 6s617ms 3s308ms 10 3 5s69ms 1s689ms 11 4 23s375ms 5s843ms 12 81 5m10s 3s831ms 13 102 7m56s 4s670ms 14 105 7m5s 4s56ms 15 119 9m3s 4s563ms 16 43 4m6s 5s741ms 17 69 7m54s 6s880ms 18 86 4m33s 3s180ms 19 99 9m23s 5s691ms 20 47 5m42s 7s289ms 21 8 48s659ms 6s82ms -
UPDATE "stock_move" SET "date" = '2023-03-13 20:36:32', "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (315305, 315306, 315307, 315308, 315309, 315310, 315311, 315312, 315313, 315314, 315315, 315316, 315317, 315318, 315319, 315320, 315321, 315322, 315323, 315324, 315325, 315326, 315327, 315328, 315329, 315330, 315331, 315332, 315333, 315334, 315335, 315336, 315337, 315338, 315339, 315340);
Date: 2023-03-13 20:37:40 Duration: 1m3s
-
UPDATE "stock_move" SET "date" = '2023-03-13 17:51:34', "state" = 'done', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (312322, 314628, 312326, 312328, 312342, 300055, 312343, 312344, 312483, 314660, 312229, 312230, 312235, 312236, 312237, 312366, 300093, 312381, 314617, 314618, 312527, 312529, 312530, 314621, 312297, 312301, 312308, 312309, 312310, 312312, 312313, 312314, 312315, 312444, 312317);
Date: 2023-03-13 17:52:37 Duration: 58s616ms
-
UPDATE "stock_move" SET "date" = '2023-03-13 20:05:56', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (310340, 310341, 310342, 310343, 310344, 310345, 310346, 310347, 310348, 310349, 310350, 310351, 310352, 310353, 310354, 310355, 310356, 310357, 310358, 310359, 310360, 310361, 310362, 310363, 310365, 310366, 310367, 310368, 310369, 310370, 310371, 310372, 310373, 310374);
Date: 2023-03-13 20:06:57 Duration: 57s646ms
4 1s465ms 1m20s 4s384ms 301 21m59s update "stock_move" set "branch_id" = ?, "picking_id" = ?, "related_core_purchase_line_id" = ?, "related_core_repair_line_id" = ?, "related_core_sale_line_id" = ?, "scrapped" = false, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 13 01 1 10s506ms 10s506ms 10 1 3s468ms 3s468ms 11 14 1m 4s290ms 12 40 2m56s 4s420ms 13 38 2m8s 3s391ms 14 43 4m27s 6s225ms 15 34 1m37s 2s877ms 16 32 2m19s 4s359ms 17 22 1m21s 3s700ms 18 26 1m37s 3s767ms 19 29 1m48s 3s728ms 20 19 2m17s 7s216ms 21 2 10s467ms 5s233ms -
UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 91734, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (313870, 313871, 313872, 313873, 313874, 313875, 313876, 313877, 313878, 313879, 313880, 313881, 313882, 313883, 313885, 313886, 313888, 313890, 313892, 313894, 313898, 313900, 313902, 313904, 313906, 313908, 313910, 313912, 313914, 313916, 313919, 313921, 313922, 313923, 313924, 313925, 313926, 313927, 313928, 313929, 313930, 313931);
Date: 2023-03-13 14:56:48 Duration: 1m20s
-
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 92489, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (315305, 315307, 315308, 315309, 315310, 315311, 315312, 315314, 315315, 315316, 315317, 315318, 315319, 315320, 315321, 315322, 315323, 315324, 315325, 315326, 315327, 315328, 315329, 315331, 315332, 315333, 315334, 315335, 315336, 315337, 315338, 315339, 315340);
Date: 2023-03-13 20:33:45 Duration: 58s229ms
-
UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 92487, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (315296, 315297, 315298, 315299, 315300, 315301, 315285, 315286, 315287, 315288, 315289, 315290, 315291, 315292, 315293, 315294, 315295);
Date: 2023-03-13 20:31:19 Duration: 28s822ms
5 1s461ms 57s698ms 3s243ms 1,039 56m9s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 13 00 1 1s651ms 1s651ms 01 5 38s220ms 7s644ms 02 9 36s414ms 4s46ms 03 7 26s309ms 3s758ms 07 2 3s310ms 1s655ms 08 6 10s114ms 1s685ms 11 27 1m11s 2s652ms 12 124 5m51s 2s838ms 13 118 6m1s 3s67ms 14 142 7m7s 3s9ms 15 119 5m14s 2s643ms 16 85 4m57s 3s500ms 17 128 6m39s 3s118ms 18 70 4m47s 4s106ms 19 141 8m20s 3s547ms 20 38 3m25s 5s401ms 21 8 22s326ms 2s790ms 22 9 14s588ms 1s620ms -
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (315305, 315307, 315308, 315309, 315310, 315311, 315312, 315314, 315315, 315316, 315317, 315318, 315319, 315320, 315321, 315322, 315323, 315324, 315325, 315326, 315327, 315328, 315329, 315331, 315332, 315333, 315334, 315335, 315336, 315337, 315338, 315339, 315340);
Date: 2023-03-13 20:36:15 Duration: 57s698ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (313870, 313872, 313873, 313874, 313877, 313878, 313879, 313882, 313883, 313885, 313886, 313888, 313892, 313894, 313898, 313902, 313908, 313912, 313914, 313916, 313919, 313921, 313922, 313931);
Date: 2023-03-13 14:59:31 Duration: 46s344ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (314719, 314720, 314721, 314723, 314724, 314725, 314726, 314727, 314728, 314729, 314730, 314731, 314732, 314733, 314734, 314735, 314736, 314738, 314739, 314740, 314741);
Date: 2023-03-13 18:14:34 Duration: 36s196ms
6 1s527ms 29s503ms 2s658ms 262 11m36s update "stock_move" set "delay_alert_date" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 13 08 4 11s564ms 2s891ms 11 12 25s621ms 2s135ms 12 33 1m6s 2s13ms 13 44 1m45s 2s390ms 14 40 1m36s 2s421ms 15 26 1m12s 2s774ms 16 15 1m7s 4s522ms 17 40 2m 3s4ms 18 11 27s741ms 2s521ms 19 31 1m31s 2s966ms 20 6 11s80ms 1s846ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1007, "write_date" = (now() at time zone 'UTC') WHERE id IN (126050, 223843, 125958, 223814, 125994, 223818, 125964, 126028, 223824, 126064, 125944, 125950, 285368, 125978, 125982);
Date: 2023-03-13 16:40:21 Duration: 29s503ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (300801, 300770, 300803, 300774, 227944, 300777, 300780, 260333, 300782, 297327, 300787, 300822, 260345, 260347, 300796, 300799);
Date: 2023-03-13 17:10:41 Duration: 26s328ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (260865, 159586, 267141, 225775, 215184, 218073, 256444, 164989);
Date: 2023-03-13 15:27:04 Duration: 21s351ms
7 1s417ms 16s190ms 2s253ms 1,392 52m17s update "stock_move" set "current_warehouse_qty" = ?.?, "is_done" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 13 01 6 10s785ms 1s797ms 07 1 1s685ms 1s685ms 09 4 6s740ms 1s685ms 10 3 4s931ms 1s643ms 11 12 27s269ms 2s272ms 12 127 4m16s 2s22ms 13 190 7m20s 2s316ms 14 167 5m52s 2s112ms 15 198 7m38s 2s314ms 16 107 3m49s 2s146ms 17 126 4m40s 2s228ms 18 116 4m9s 2s147ms 19 208 8m7s 2s345ms 20 100 4m40s 2s802ms 21 27 49s934ms 1s849ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (306054, 306057, 306064, 306066, 306067, 306069, 306070, 306072, 306077);
Date: 2023-03-13 13:27:43 Duration: 16s190ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "is_done" = true, "write_uid" = 1038, "write_date" = (now() at time zone 'UTC') WHERE id IN (310087, 310089, 310091, 310092, 310096, 310067, 310069, 310073, 310078);
Date: 2023-03-13 19:20:51 Duration: 15s444ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 0.0, "is_done" = true, "write_uid" = 964, "write_date" = (now() at time zone 'UTC') WHERE id IN (311648, 311650, 311652, 311653, 311656, 311657, 311658, 311659, 311647);
Date: 2023-03-13 13:08:12 Duration: 15s96ms
8 1s477ms 6s927ms 2s78ms 306 10m36s update "stock_move" set "delay_alert_date" = ?, "is_done" = false, "picking_code" = ?, "product_qty" = ?.?, "reference" = ?, "scrapped" = false, "unit_factor" = ?.?, "weight" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 13 00 1 1s669ms 1s669ms 02 29 1m26s 2s976ms 03 24 58s899ms 2s454ms 11 8 14s803ms 1s850ms 12 26 51s751ms 1s990ms 13 20 37s493ms 1s874ms 14 20 37s572ms 1s878ms 15 14 25s916ms 1s851ms 16 28 53s97ms 1s896ms 17 35 1m6s 1s890ms 18 9 15s716ms 1s746ms 19 64 2m18s 2s171ms 20 8 14s346ms 1s793ms 21 6 10s701ms 1s783ms 22 14 22s674ms 1s619ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'internal', "product_qty" = 20.0, "reference" = '05-F/INT/01874', "scrapped" = false, "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (313001, 313003, 313005, 312998);
Date: 2023-03-13 02:50:44 Duration: 6s927ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'internal', "product_qty" = 1.0, "reference" = '02-G/INT/03579', "scrapped" = false, "unit_factor" = 1.0, "weight" = '8.00', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (314944, 314929, 314933);
Date: 2023-03-13 19:03:16 Duration: 6s674ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'internal', "product_qty" = 20.0, "reference" = '07-L/INT/01206', "scrapped" = false, "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (312985, 312987, 312989, 312982);
Date: 2023-03-13 02:50:16 Duration: 6s491ms
9 1s485ms 14s145ms 1s980ms 832 27m27s update "stock_move" set "delay_alert_date" = ?, "is_done" = false, "picking_code" = ?, "product_qty" = ?.?, "reference" = ?, "unit_factor" = ?.?, "weight" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 13 01 7 12s507ms 1s786ms 10 2 5s145ms 2s572ms 11 25 46s920ms 1s876ms 12 116 3m38s 1s884ms 13 75 2m26s 1s952ms 14 138 4m50s 2s102ms 15 64 2m4s 1s946ms 16 114 3m25s 1s802ms 17 73 2m27s 2s25ms 18 80 2m42s 2s28ms 19 61 1m58s 1s941ms 20 69 2m33s 2s228ms 21 8 15s467ms 1s933ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '02-G/OUT/06237', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (313890, 313927, 313870, 313875, 313876, 313878, 313910);
Date: 2023-03-13 14:57:15 Duration: 14s145ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '12-S/OUT/02130', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (315328, 315335, 315339, 315340, 315311, 315313);
Date: 2023-03-13 20:34:36 Duration: 10s8ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 2.0, "reference" = '02-G/OUT/06254', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1017, "write_date" = (now() at time zone 'UTC') WHERE id IN (314539, 314544, 314547, 314548, 314549);
Date: 2023-03-13 17:22:24 Duration: 8s755ms
10 1s417ms 2s734ms 1s771ms 418 12m20s insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, true, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 13 00 2 3s277ms 1s638ms 11 34 1m 1s784ms 12 42 1m15s 1s793ms 13 40 1m14s 1s866ms 14 44 1m20s 1s821ms 15 30 52s899ms 1s763ms 16 48 1m22s 1s722ms 17 68 2m1s 1s793ms 18 16 27s233ms 1s702ms 19 42 1m16s 1s813ms 20 20 33s456ms 1s672ms 21 4 6s455ms 1s613ms 22 28 45s378ms 1s620ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1012, (now() at time zone 'UTC'), 1012, (now() at time zone 'UTC'), false, NULL, 39, 1, '2023-03-13 13:53:58.720119', 37, 66362, 397, 468, 'new_product', '04-V/INT/02449', NULL, 'Warehouse Inventory Transfer to Fairmont', 91575, 293, '0', 'make_to_stock', 208952, 1, '2.00', true, 10, 43, 'waiting', 37) RETURNING id;
Date: 2023-03-13 13:54:01 Duration: 2s734ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 997, (now() at time zone 'UTC'), 997, (now() at time zone 'UTC'), false, NULL, 38, 1, '2023-03-16 17:35:50.194362', 36, 66683, 389, 468, 'new_product', '03-C/INT/03270', NULL, 'Warehouse Inventory Transfer to Clearfield', 92107, 285, '0', 'make_to_stock', 205525, 1, '8.00', true, 10, 44, 'waiting', 36) RETURNING id;
Date: 2023-03-13 17:35:52 Duration: 2s417ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "dest_warehouse_id", "group_id", "location_dest_id", "location_id", "move_options", "name", "note", "origin", "picking_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "sequence", "src_warehouse_id", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1010, (now() at time zone 'UTC'), 1010, (now() at time zone 'UTC'), false, NULL, 37, 1, '2023-03-13 19:02:40.118954', 44, 66780, 468, 381, 'new_product', '02-G/INT/03580', NULL, '02-G/INT/03580', 92283, 277, '0', 'make_to_stock', 238963, 1, '1.00', true, 10, 35, 'draft', 35) RETURNING id;
Date: 2023-03-13 19:02:42 Duration: 2s383ms
11 1s405ms 5s285ms 1s762ms 864 25m22s insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 13 01 7 12s181ms 1s740ms 10 3 4s807ms 1s602ms 11 35 57s904ms 1s654ms 12 132 3m54s 1s778ms 13 79 2m25s 1s837ms 14 160 4m47s 1s797ms 15 65 1m58s 1s823ms 16 104 2m53s 1s668ms 17 56 1m36s 1s722ms 18 65 1m54s 1s759ms 19 64 1m55s 1s801ms 20 85 2m27s 1s730ms 21 9 15s35ms 1s670ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 12:23:32', '2023-03-13 12:23:32', '19 SERIES BASE MOUNT AND HOT WIRE, GRAY', 66251, 5, 429, 'new_product', '[19721] 19 SERIES BASE MOUNT AND HOT WIRE, GRAY', NULL, 'B-02636', 43543, 322, '0', 'make_to_stock', 188862, 1, '6.00', false, 362, 105078, 10, 'draft', 41) RETURNING id;
Date: 2023-03-13 12:26:02 Duration: 5s285ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 15:18:01', '2023-03-13 15:18:01', 'Blade Fuse', 66499, 5, 461, 'new_product', '[82-ANX-30A] Blade Fuse', NULL, 'T-07009', 46209, 354, '0', 'make_to_stock', 209207, 1, '1.00', false, 398, 105543, 10, 'draft', 45) RETURNING id;
Date: 2023-03-13 15:26:51 Duration: 2s661ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 19:00:54', '2023-03-13 19:00:54', 'Automotive Clamp', 66778, 5, 453, 'new_product', '[82-9135] Automotive Clamp', NULL, 'S-03097', 44631, 346, '0', 'make_to_stock', 209310, 1, '1.00', false, 389, 105948, 10, 'draft', 44) RETURNING id;
Date: 2023-03-13 19:02:04 Duration: 2s606ms
12 825ms 1s731ms 908ms 792 11m59s 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 #12
Day Hour Count Duration Avg duration Mar 13 11 9 7s697ms 855ms 12 126 1m50s 879ms 13 388 5m55s 915ms 14 32 31s398ms 981ms 15 27 24s177ms 895ms 16 114 1m42s 897ms 17 39 36s553ms 937ms 19 18 18s339ms 1s18ms 20 27 22s829ms 845ms 21 12 10s148ms 845ms -
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 ('%A112056Y2729%') 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 ('%A112056Y2729%')))))) 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 ('%A112056Y2729%')))))) 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 ('%A112056Y2729%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%A112056Y2729%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%A112056Y2729%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-03-13 13:44:00 Duration: 1s731ms
-
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 ('%A112056Y2729%') 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 ('%A112056Y2729%')))))) 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 ('%A112056Y2729%')))))) 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 ('%A112056Y2729%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%A112056Y2729%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%A112056Y2729%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-03-13 13:44:00 Duration: 1s708ms
-
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 ('%s4-120sba%') 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 ('%s4-120sba%')))))) 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 ('%s4-120sba%')))))) 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 ('%s4-120sba%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%s4-120sba%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%s4-120sba%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-03-13 17:25:26 Duration: 1s667ms
13 581ms 1s642ms 905ms 729 11m 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 #13
Day Hour Count Duration Avg duration Mar 13 11 7 5s885ms 840ms 12 88 1m18s 895ms 13 326 4m58s 914ms 14 23 21s957ms 954ms 15 21 19s490ms 928ms 16 83 1m12s 868ms 17 97 1m29s 926ms 19 24 22s534ms 938ms 20 50 43s92ms 861ms 21 10 8s284ms 828ms -
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 ('%250-4-271-1%') 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 ('%250-4-271-1%')))))) 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 ('%250-4-271-1%')))))) 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 ('%250-4-271-1%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%250-4-271-1%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%250-4-271-1%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-03-13 13:54:00 Duration: 1s642ms
-
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 ('%250-4-%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%250-4-%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%250-4-%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%250-4-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%250-4-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%250-4-%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-03-13 13:54:00 Duration: 1s606ms
-
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 ('%s4-120%') 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 ('%s4-120%')))))) 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 ('%s4-120%')))))) 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 ('%s4-120%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%s4-120%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%s4-120%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-03-13 17:25:26 Duration: 1s543ms
14 665ms 1s365ms 726ms 1,171 14m10s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 13 00 15 10s193ms 679ms 02 2 1s393ms 696ms 10 6 4s128ms 688ms 11 23 15s959ms 693ms 12 126 1m29s 706ms 13 145 1m45s 729ms 14 169 2m6s 749ms 15 136 1m40s 742ms 16 115 1m22s 716ms 17 149 1m49s 733ms 18 92 1m6s 719ms 19 113 1m23s 736ms 20 70 48s744ms 696ms 21 10 6s859ms 685ms -
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 ('%l711%')) 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 ('%l711%'))) 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 ('%l711%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%l711%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-03-13 17:21:48 Duration: 1s365ms
-
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 ('%920116%')) 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 ('%920116%'))) 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 ('%920116%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%920116%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-03-13 17:25:25 Duration: 1s259ms
-
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 ('%LGU-6217SSK%')) 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 ('%LGU-6217SSK%'))) 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 ('%LGU-6217SSK%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%LGU-6217SSK%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-03-13 13:53:52 Duration: 1s236ms
15 529ms 1s127ms 598ms 1,030 10m16s 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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 13 00 1 529ms 529ms 07 5 2s743ms 548ms 10 19 10s558ms 555ms 11 1 541ms 541ms 12 59 35s230ms 597ms 13 151 1m35s 632ms 14 38 24s372ms 641ms 15 443 4m23s 595ms 16 51 29s223ms 573ms 17 79 46s430ms 587ms 18 34 19s917ms 585ms 19 79 48s25ms 607ms 20 69 38s730ms 561ms 22 1 548ms 548ms -
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%trifecta%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%trifecta%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%trifecta%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 14:59:21 Duration: 1s127ms
-
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%S35120SBA%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%S35-120SBA%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%S35-120SBA%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 15:26:50 Duration: 1s88ms
-
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 (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%2121351XSpicerDriveline%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%[212135-1X] Spicer Driveline%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%[212135-1X] Spicer Driveline%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 13:11:11 Duration: 1s64ms
16 520ms 1s228ms 591ms 1,297 12m47s 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 #16
Day Hour Count Duration Avg duration Mar 13 01 87 47s514ms 546ms 11 4 2s265ms 566ms 12 165 1m33s 569ms 13 331 3m16s 592ms 14 69 44s811ms 649ms 15 63 37s751ms 599ms 16 80 44s591ms 557ms 17 207 2m1s 586ms 18 124 1m12s 581ms 19 150 1m37s 648ms 20 12 7s310ms 609ms 23 5 2s680ms 536ms -
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 ('%%35290%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%352-90%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%352-90%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 19:03:26 Duration: 1s228ms
-
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 ('%%38X11%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%3/8X11%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%3/8X11%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 19:05:32 Duration: 1s129ms
-
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 ('%%3529069%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%352-9069%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%352-9069%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 19:03:26 Duration: 1s128ms
17 518ms 1s406ms 591ms 4,379 43m8s 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 #17
Day Hour Count Duration Avg duration Mar 13 01 37 20s19ms 541ms 10 17 9s277ms 545ms 11 78 42s420ms 543ms 12 554 5m18s 574ms 13 545 5m33s 612ms 14 657 6m36s 602ms 15 447 4m39s 625ms 16 393 3m45s 572ms 17 365 3m33s 585ms 18 506 5m2s 598ms 19 296 2m54s 588ms 20 430 4m3s 566ms 21 54 29s512ms 546ms -
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 ('%%330%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%330%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%330%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 13:29:50 Duration: 1s406ms
-
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 ('%%103010%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%103010%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%103010%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 14:46:01 Duration: 1s279ms
-
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 ('%%489xfahxa3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%489xfahx-a3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%489xfahx-a3%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-03-13 15:26:49 Duration: 1s260ms
18 207ms 1s73ms 251ms 1,254 5m15s select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."so_line_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 13 01 23 4s993ms 217ms 10 8 1s818ms 227ms 11 39 8s975ms 230ms 12 189 47s735ms 252ms 13 118 29s694ms 251ms 14 224 1m 268ms 15 73 19s698ms 269ms 16 175 40s643ms 232ms 17 90 22s585ms 250ms 18 94 23s981ms 255ms 19 92 23s611ms 256ms 20 114 28s16ms 245ms 21 15 3s327ms 221ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (105077)) ORDER BY "sale_history_line"."id";
Date: 2023-03-13 12:25:54 Duration: 1s73ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (105552)) ORDER BY "sale_history_line"."id";
Date: 2023-03-13 15:26:41 Duration: 1s36ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (105357)) ORDER BY "sale_history_line"."id";
Date: 2023-03-13 14:14:35 Duration: 1s16ms
19 192ms 26s75ms 244ms 1,792 7m17s update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 13 01 28 5s744ms 205ms 10 6 1s400ms 233ms 11 45 9s138ms 203ms 12 212 1m28s 417ms 13 333 1m13s 221ms 14 441 1m37s 220ms 15 75 17s57ms 227ms 16 204 45s365ms 222ms 17 164 37s49ms 225ms 18 88 19s299ms 219ms 19 80 18s41ms 225ms 20 102 22s13ms 215ms 21 14 3s19ms 215ms -
UPDATE "sale_order_line" SET "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (105076);
Date: 2023-03-13 12:27:18 Duration: 26s75ms
-
UPDATE "sale_order_line" SET "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (105076);
Date: 2023-03-13 12:25:53 Duration: 5s623ms
-
UPDATE "sale_order_line" SET "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (105077);
Date: 2023-03-13 12:26:31 Duration: 3s135ms
20 193ms 1s31ms 227ms 877 3m19s 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 #20
Day Hour Count Duration Avg duration Mar 13 01 1 204ms 204ms 09 5 987ms 197ms 10 3 619ms 206ms 11 16 3s299ms 206ms 12 112 24s209ms 216ms 13 159 35s476ms 223ms 14 153 35s167ms 229ms 15 96 22s577ms 235ms 16 42 8s709ms 207ms 17 60 13s440ms 224ms 18 69 15s979ms 231ms 19 68 17s84ms 251ms 20 55 13s883ms 252ms 21 38 7s752ms 204ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 2.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (100352, 101540, 100966, 101649, 100667);
Date: 2023-03-13 20:08:59 Duration: 1s31ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'to invoice', "open_qty_fil" = 0.0, "qty_delivered" = '1.00', "qty_to_invoice" = '1.00', "untaxed_amount_to_invoice" = '1.19', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (106113, 106115, 106108, 106110);
Date: 2023-03-13 20:37:49 Duration: 803ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 12.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (104234, 104235, 104236);
Date: 2023-03-13 18:00:21 Duration: 676ms
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
- 102,582 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 4661 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 2,511 Max number of times the same event was reported
- 4,661 Total events found
Rank Times reported Error 1 2,511 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 13 00 58 01 132 02 132 03 144 04 76 05 74 06 73 07 75 08 56 09 63 10 65 11 78 12 143 13 204 14 149 15 147 16 114 17 101 18 146 19 138 20 91 21 89 22 83 23 80 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM ir_attachment WHERE id IN (1273663)
Date: 2023-03-13 23:50:13
2 977 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 13 00 22 01 45 02 43 03 53 04 32 05 28 06 27 07 24 08 27 09 20 10 21 11 31 12 78 13 80 14 68 15 80 16 35 17 45 18 42 19 48 20 40 21 32 22 34 23 22 - ERROR: process 2546401 still waiting for ShareLock on transaction 100310203 after 1000.060 ms
- ERROR: process 2546213 still waiting for ShareLock on transaction 100310381 after 1000.047 ms
- ERROR: process 2512066 still waiting for ShareLock on transaction 100310406 after 1000.053 ms
Detail: Process holding the lock: 2512066. Wait queue: 2546401.
Context: while deleting tuple (3408,100) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (1273663)Date: 2023-03-13 23:50:13
Detail: Process holding the lock: 2572204. Wait queue: 2546213.
Context: while deleting tuple (3444,51) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (1273726)Date: 2023-03-13 23:52:36
Detail: Process holding the lock: 2553630. Wait queue: 2512066.
Context: while deleting tuple (3434,19) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (1273730)Date: 2023-03-13 23:52:47
3 737 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 13 01 1 02 2 04 2 06 36 07 8 08 1 09 2 11 19 12 85 13 164 14 70 15 80 16 52 17 95 18 48 19 57 20 14 22 1 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE "bus_presence" SET "last_poll"='2023-03-13 01:18:34',"last_presence"='2023-03-13 01:18:34.465315' WHERE id IN (64)
Date: 2023-03-13 01:18:34
4 270 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 13 00 10 01 8 02 9 03 4 04 5 05 6 06 10 07 30 08 9 09 7 10 27 11 8 12 7 13 13 14 12 15 5 16 12 17 36 18 7 19 14 20 9 21 6 22 5 23 11 - ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "website_visitor"
- ERROR: could not obtain lock on row in relation "res_partner"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=67 FOR UPDATE NOWAIT
Date: 2023-03-13 23:50:40
Statement: SELECT * FROM website_visitor where id = 11575 FOR NO KEY UPDATE NOWAIT
Date: 2023-03-13 13:12:57
Statement: SELECT "customer_rank" FROM res_partner WHERE ID IN (37503) FOR UPDATE NOWAIT; UPDATE res_partner SET "customer_rank" = "customer_rank" + 1 WHERE id IN (37503)
Date: 2023-03-13 13:30:08
5 108 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 13 00 1 01 15 02 4 03 4 04 2 05 4 06 2 07 4 08 2 09 2 10 3 11 3 12 3 13 9 14 6 15 3 16 6 17 4 18 7 19 6 20 5 21 6 22 5 23 2 - ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT "ir_ui_view".id FROM "ir_ui_view" LEFT JOIN "website" AS "ir_ui_view__website_id" ON ("ir_ui_view"."website_id" = "ir_ui_view__website_id"."id") WHERE (("ir_ui_view"."active" = true) AND (("ir_ui_view"."key" = 'http_routing.http_error') AND (("ir_ui_view"."website_id" in (1)) OR "ir_ui_view"."website_id" IS NULL))) ORDER BY "ir_ui_view__website_id"."id" LIMIT 1
Date: 2023-03-13 00:08:06
6 38 LOG: process ... still waiting for AccessExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 13 01 1 02 3 03 5 04 3 10 1 11 1 12 5 13 6 14 1 15 4 17 1 19 3 20 2 21 1 22 1 - ERROR: process 989573 still waiting for AccessExclusiveLock on tuple (3291,182) of relation 43604 of database 65946 after 1000.044 ms
- ERROR: process 985804 still waiting for AccessExclusiveLock on tuple (3384,27) of relation 43604 of database 65946 after 1000.045 ms
- ERROR: process 985715 still waiting for AccessExclusiveLock on tuple (3369,111) of relation 43604 of database 65946 after 1000.046 ms
Detail: Process holding the lock: 985577. Wait queue: 989573.
Statement: DELETE FROM ir_attachment WHERE id IN (1235487)Date: 2023-03-13 01:23:15
Detail: Process holding the lock: 985715. Wait queue: 985804.
Statement: DELETE FROM ir_attachment WHERE id IN (1236576)Date: 2023-03-13 02:02:48
Detail: Process holding the lock: 985804. Wait queue: 985715.
Statement: DELETE FROM ir_attachment WHERE id IN (1236797)Date: 2023-03-13 02:08:40
7 6 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 13 12 2 16 3 18 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 2054178 waits for ShareLock on transaction 100198123; blocked by process 2053246. Process 2053246 waits for ShareLock on transaction 100198039; blocked by process 2054178. Process 2054178: UPDATE "sale_order_line" SET "open_qty_fil"=3.0,"qty_delivered_method"='stock_move',"state"='sale',"write_uid"=952,"write_date"=(now() at time zone 'UTC') WHERE id IN (105076) Process 2053246: UPDATE "sale_order_line" SET "write_uid"=952,"write_date"=(now() at time zone 'UTC') WHERE id IN (105076)
Context: while updating tuple (5034,7) in relation "sale_order_line"
Hint: See server log for query details.
Statement: UPDATE "sale_order_line" SET "open_qty_fil"=3.0,"qty_delivered_method"='stock_move',"state"='sale',"write_uid"=952,"write_date"=(now() at time zone 'UTC') WHERE id IN (105076)Date: 2023-03-13 12:25:53
Detail: Process 2054178 waits for ShareLock on transaction 100198388; blocked by process 2053246. Process 2053246 waits for ShareLock on transaction 100198345; blocked by process 2054178. Process 2054178: UPDATE "sale_order_line" SET "open_qty_fil"=3.0,"qty_delivered_method"='stock_move',"state"='sale',"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (105076) Process 2053246: UPDATE "sale_order_line" SET "write_uid"=952,"write_date"=(now() at time zone 'UTC') WHERE id IN (105076)
Context: while updating tuple (5034,17) in relation "sale_order_line"
Hint: See server log for query details.
Statement: UPDATE "sale_order_line" SET "open_qty_fil"=3.0,"qty_delivered_method"='stock_move',"state"='sale',"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (105076)Date: 2023-03-13 12:27:17
Detail: Process 2310935 waits for ShareLock on transaction 100245993; blocked by process 2302699. Process 2302699 waits for ShareLock on transaction 100245964; blocked by process 2310935. Process 2310935: INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 15:59:30', '2023-03-13 15:59:30', 'Drive Shaft Tubing', 66581, 5, 397, 'new_product', '[N20-30-22-72] Neapco', NULL, 'V-02711', 41302, 290, '0', 'make_to_stock', 172375, 1, '1.00', false, 326, 105605, 10, 'draft', 37) RETURNING id Process 2302699: UPDATE "sale_order_line" SET "branch_id"=39,"warehouse_id"=37,"write_uid"=1149,"write_date"=(now() at time zone 'UTC') WHERE id IN (105632, 105638, 105639, 105609, 105610, 105644, 105619, 105653, 105622, 105659, 105660, 105661)
Context: while updating tuple (24416,7) in relation "product_warehouse_inventory" SQL statement "update product_warehouse_inventory set loc_check_qty = inventory_on_hand.qty_available + inventory_on_order.qty - reserve_inventory.qty where product_id=NEW.product_id and warehouse_id=NEW.warehouse_id and company_id=NEW.company_id" PL/pgSQL function update_loc_check_qty() line 18 at SQL statement
Hint: See server log for query details.
Statement: INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2023-03-13 15:59:30', '2023-03-13 15:59:30', 'Drive Shaft Tubing', 66581, 5, 397, 'new_product', '[N20-30-22-72] Neapco', NULL, 'V-02711', 41302, 290, '0', 'make_to_stock', 172375, 1, '1.00', false, 326, 105605, 10, 'draft', 37) RETURNING idDate: 2023-03-13 16:31:01
8 3 LOG: process ... still waiting for ShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 13 10 3 - ERROR: process 2052673 still waiting for ShareLock on relation 42418 of database 65946 after 1000.055 ms
- ERROR: process 2052673 still waiting for ShareLock on relation 42418 of database 65946 after 1000.059 ms
- ERROR: process 2052673 still waiting for ShareLock on relation 44482 of database 65946 after 1000.062 ms
Detail: Process holding the lock: 2053905. Wait queue: 2052673.
Statement: CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move(journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move(journal_id, state, payment_state, move_type, date);Date: 2023-03-13 10:27:02
Detail: Processes holding the lock: 2053057, 2053478. Wait queue: 2052673.
Statement: CREATE INDEX IF NOT EXISTS account_move_to_check_idx ON account_move(journal_id) WHERE to_check = true; CREATE INDEX IF NOT EXISTS account_move_payment_idx ON account_move(journal_id, state, payment_state, move_type, date);Date: 2023-03-13 10:27:18
Detail: Process holding the lock: 2053905. Wait queue: 2052673.
Statement: CREATE UNIQUE INDEX IF NOT EXISTS product_product_combination_unique ON product_product (product_tmpl_id, combination_indices) WHERE active is trueDate: 2023-03-13 10:27:21
9 3 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 13 13 3 - ERROR: invalid input syntax for type integer: "[87910, 88255, 88269, 88270, 88394, 88420, 88626, 88645, 88888, 89268, 89296, 89297, 89331, 89332, 89333, 89445, 89520, 89693, 89703, 89704, 89756, 89846, 89847, 89876, 89877, 89895, 89896, 89943, 89994, 90063, 90077, 90498, 90502, 90503, 90559, 90642, 90756, 90943, 91095, 91096, 91108, 91109, 91507, 91508, 91594, 91627, 91789, 91845, 91876, 91954, 91955, 92079, 92080, 92081, 92256, 92263, 92662, 92758, 93011, 93021, 93108, 93354, 93377, 93378, 93669, 93767, 93768, 93801, 93919, 93950, 93959, 93986, 94086, 94093, 94094, 94325, 94326, 94334, 94350, 94467, 94468, 94698, 95058]" at character 1258
Statement: SELECT "core_bank_tracking"."id" as "id", "core_bank_tracking"."core_return_3_price" as "core_return_3_price", "core_bank_tracking"."core_bank_due_date" as "core_bank_due_date", "core_bank_tracking"."price" as "price", "core_bank_tracking"."branch_id" as "branch_id", "core_bank_tracking"."owed_quantity" as "owed_quantity", "core_bank_tracking"."date" as "date", "core_bank_tracking"."sold" as "sold", "core_bank_tracking"."balance_entry" as "balance_entry", "core_bank_tracking"."core_return_2_price" as "core_return_2_price", "core_bank_tracking"."qty_remaining_to_balance" as "qty_remaining_to_balance", "core_bank_tracking"."customer_id" as "customer_id", "core_bank_tracking"."custom_apply" as "custom_apply", "core_bank_tracking"."inventory_vendor_id" as "inventory_vendor_id", "core_bank_tracking"."product_id" as "product_id", "core_bank_tracking"."exch" as "exch", "core_bank_tracking"."remaining_sale_qty" as "remaining_sale_qty", "core_bank_tracking"."core_bank_transaction" as "core_bank_transaction", "core_bank_tracking"."qty_to_balance" as "qty_to_balance", "core_bank_tracking"."last_update_user_id" as "last_update_user_id", "core_bank_tracking"."invoice_item" as "invoice_item" FROM "core_bank_tracking" WHERE "core_bank_tracking".id IN ('[87910, 88255, 88269, 88270, 88394, 88420, 88626, 88645, 88888, 89268, 89296, 89297, 89331, 89332, 89333, 89445, 89520, 89693, 89703, 89704, 89756, 89846, 89847, 89876, 89877, 89895, 89896, 89943, 89994, 90063, 90077, 90498, 90502, 90503, 90559, 90642, 90756, 90943, 91095, 91096, 91108, 91109, 91507, 91508, 91594, 91627, 91789, 91845, 91876, 91954, 91955, 92079, 92080, 92081, 92256, 92263, 92662, 92758, 93011, 93021, 93108, 93354, 93377, 93378, 93669, 93767, 93768, 93801, 93919, 93950, 93959, 93986, 94086, 94093, 94094, 94325, 94326, 94334, 94350, 94467, 94468, 94698, 95058]')
Date: 2023-03-13 13:21:54
10 3 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 13 01 1 13 2 - ERROR: null value in column "categ_id" of relation "product_template" violates not-null constraint
Detail: Failing row contains (248045, null, 329121x, 1, null, null, null, product, null, 1.00, null, null, t, t, 1, 1, null, t, null, null, null, null, 996, 2023-03-13 01:29:59.128492, 996, 2023-03-13 01:29:59.128492, manual, no-message, null, no, delivery, 0, none, null, null, null, receive, no-message, null, null, no, 0, null, null, null, null, null, null, null, null, f, null, 1, 1, null, 387235, never, 0, , 45, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 2023-03-13, null, E, 1, null, null, f, f, yes, null, 1, null, null, null, null, null, null, null, null, null, none, null, null, null, f, f, null, null, null, f).
Statement: INSERT INTO "product_template" ("id", "create_uid", "create_date", "write_uid", "write_date", "active", "allow_journal", "available_threshold", "branch_id", "categ_id", "core_qty", "custom_message", "expense_policy", "first_active_date", "global_class_code", "inventory_availability", "invoice_policy", "is_core", "is_direct_order_product", "is_mo_product", "is_published", "is_transmission", "linked_with_existing_core", "list_price", "name", "produce_delay", "purchase_line_warn", "purchase_method", "purchase_ok", "sale_delay", "sale_line_warn", "sale_ok", "sequence", "service_form_type", "service_tracking", "service_type", "standard_carton_quanity", "tracking", "type", "uom_id", "uom_po_id", "website_sequence", "website_size_x", "website_size_y") VALUES (nextval('product_template_id_seq'), 996, (now() at time zone 'UTC'), 996, (now() at time zone 'UTC'), true, false, 0.0, 45, NULL, 1, '', 'no', '2023-03-13', 'E', 'never', 'delivery', false, false, false, false, false, 'yes', '1.00', '329121x', 0.0, 'no-message', 'receive', true, 0.0, 'no-message', true, 1, 'none', 'no', 'manual', 1, 'none', 'product', 1, 1, 387235, 1, 1) RETURNING idDate: 2023-03-13 01:29:59
11 2 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 13 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-03-13 10:26:52
12 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 13 19 1 - ERROR: duplicate key value violates unique constraint "fleet_vehicle_vin_sn_unique"
Detail: Key (vin_sn)=(AM105012) 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'), 978, (now() at time zone 'UTC'), 978, (now() at time zone 'UTC'), '2023-03-13', true, 121, 0.0, 0.0, NULL, 1, NULL, 5, 49976, '2023-03-13', NULL, NULL, 0, 0.0, NULL, NULL, 989, 262, 30, NULL, '10-012', 0.0, NULL, 'miles', 0, 0.0, 0, 3, NULL, '10-012', 'AM105012') RETURNING idDate: 2023-03-13 19:01:17
13 1 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 13 13 1 - ERROR: process 2052677 still waiting for ExclusiveLock on tuple (7536,22) of relation 42418 of database 65946 after 1000.043 ms
Detail: Process holding the lock: 2052651. Wait queue: 2052677.
Statement: UPDATE "account_move" SET "message_main_attachment_id"=1255285,"write_uid"=1015,"write_date"=(now() at time zone 'UTC') WHERE id IN (476965)Date: 2023-03-13 13:32:58
14 1 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 13 10 1 - ERROR: process 2053250 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.047 ms at character 34
Detail: Process holding the lock: 2052673. Wait queue: 2053250.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'res.partner') ORDER BY "ir_model_fields"."name"Date: 2023-03-13 10:27:13