-
Global information
- Generated on Sat Jul 8 23:50:10 2023
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 217,613 log entries in 8s
- Log start from 2023-07-07 00:04:19 to 2023-07-07 23:59:02
-
Overview
Global Stats
- 815 Number of unique normalized queries
- 29,593 Number of queries
- 3h25m2s Total query duration
- 2023-07-07 00:04:19 First query
- 2023-07-07 23:59:02 Last query
- 43 queries/s at 2023-07-07 12:32:46 Query peak
- 3h25m2s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 3h25m2s Execute total duration
- 45,745 Number of events
- 7 Number of unique normalized events
- 44,432 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
- 29,593 Average queries per session
- 3h25m2s 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
- 43 queries/s Query Peak
- 2023-07-07 12:32:46 Date
SELECT Traffic
Key values
- 43 queries/s Query Peak
- 2023-07-07 11:26:27 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 9 queries/s Query Peak
- 2023-07-07 13:43:48 Date
Queries duration
Key values
- 3h25m2s 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) Jul 07 00 100 0ms 5s562ms 498ms 5s305ms 7s581ms 9s530ms 01 40 0ms 585ms 298ms 1s728ms 6s280ms 6s280ms 02 10 0ms 210ms 150ms 340ms 454ms 454ms 03 14 0ms 186ms 168ms 554ms 554ms 554ms 04 93 0ms 922ms 227ms 4s526ms 5s509ms 5s509ms 05 94 0ms 359ms 241ms 2s516ms 3s194ms 7s628ms 06 67 0ms 1s202ms 234ms 8s692ms 8s692ms 8s692ms 07 9 0ms 180ms 160ms 328ms 356ms 356ms 08 45 0ms 472ms 208ms 748ms 4s985ms 4s985ms 09 215 121ms 3m42s 2s776ms 59s149ms 1m17s 4m24s 10 229 0ms 8s69ms 675ms 9s799ms 11s245ms 15s986ms 11 2,617 120ms 5s138ms 363ms 32s751ms 43s756ms 53s195ms 12 4,447 120ms 19s526ms 381ms 57s256ms 1m3s 1m46s 13 4,879 120ms 6s777ms 379ms 1m1s 1m9s 1m13s 14 3,132 120ms 5s202ms 364ms 33s227ms 39s996ms 46s406ms 15 3,067 120ms 10s206ms 390ms 32s823ms 43s11ms 1m47s 16 1,854 120ms 12s194ms 391ms 24s762ms 27s11ms 29s457ms 17 2,298 120ms 10s183ms 391ms 27s4ms 34s885ms 41s703ms 18 2,861 120ms 11s583ms 448ms 43s613ms 55s902ms 1m9s 19 1,964 120ms 8s638ms 451ms 27s129ms 38s493ms 1m10s 20 1,507 0ms 15s619ms 504ms 35s384ms 55s603ms 1m30s 21 34 0ms 1s139ms 356ms 6s762ms 6s762ms 6s762ms 22 6 0ms 1s315ms 544ms 2s583ms 2s583ms 2s583ms 23 11 0ms 1s383ms 501ms 744ms 1s383ms 1s383ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 07 00 69 0 399ms 1s906ms 3s35ms 7s581ms 01 36 0 300ms 992ms 1s633ms 6s280ms 02 10 0 150ms 298ms 340ms 454ms 03 14 0 168ms 547ms 554ms 554ms 04 89 0 224ms 4s112ms 4s526ms 5s509ms 05 94 0 241ms 693ms 2s516ms 7s628ms 06 65 0 207ms 2s635ms 8s692ms 8s692ms 07 9 0 160ms 310ms 328ms 356ms 08 45 0 208ms 501ms 748ms 4s985ms 09 87 76 3s521ms 2s570ms 56s775ms 4m22s 10 188 0 571ms 4s975ms 7s648ms 9s799ms 11 1,961 0 365ms 19s217ms 24s730ms 35s664ms 12 3,297 0 393ms 33s100ms 43s115ms 58s296ms 13 3,201 0 390ms 37s865ms 46s209ms 58s447ms 14 1,891 0 376ms 16s458ms 19s748ms 29s848ms 15 2,114 0 403ms 19s276ms 25s967ms 33s511ms 16 1,312 0 373ms 14s678ms 17s958ms 20s147ms 17 1,423 0 413ms 13s305ms 20s451ms 37s796ms 18 1,768 0 458ms 22s556ms 28s691ms 32s447ms 19 1,330 0 502ms 14s940ms 21s994ms 56s509ms 20 897 0 551ms 13s564ms 27s76ms 58s707ms 21 19 0 369ms 1s668ms 2s244ms 2s244ms 22 4 0 171ms 135ms 549ms 549ms 23 10 0 481ms 726ms 744ms 1s383ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 07 00 0 24 7 0 718ms 0ms 0ms 5s305ms 01 0 4 0 0 283ms 0ms 0ms 1s132ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 4 0 0 295ms 0ms 0ms 591ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 2 0 1s125ms 0ms 0ms 2s251ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 51 1 0 442ms 391ms 1s384ms 3s593ms 10 0 35 6 0 1s149ms 0ms 326ms 10s340ms 11 58 586 11 0 358ms 3s585ms 6s54ms 12s319ms 12 44 1,080 13 0 345ms 5s769ms 8s359ms 15s302ms 13 48 1,576 21 0 359ms 8s379ms 14s621ms 27s274ms 14 29 1,189 17 0 347ms 6s693ms 10s620ms 18s43ms 15 27 892 21 0 365ms 4s452ms 8s230ms 19s74ms 16 21 507 11 0 435ms 3s15ms 7s49ms 12s146ms 17 44 824 6 0 357ms 4s852ms 7s618ms 14s893ms 18 50 1,029 10 0 431ms 5s66ms 11s133ms 30s810ms 19 34 591 7 0 344ms 2s925ms 4s734ms 15s18ms 20 9 597 3 0 435ms 2s801ms 7s143ms 22s760ms 21 0 15 0 0 339ms 0ms 0ms 5s94ms 22 0 0 2 0 1s291ms 0ms 0ms 2s583ms 23 0 0 1 0 707ms 0ms 0ms 707ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 07 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 Jul 07 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 Jul 07 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 Jul 07 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 Jul 07 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) Jul 07 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 Jul 07 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 Jul 07 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 Jul 07 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
- 20 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 15 47s254ms 1s97ms 19s225ms 3s150ms 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 != 743290 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 != 743290 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2023-07-07 12:13:12
2 4 9s3ms 1s118ms 3s345ms 2s250ms 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" = 3112319, "write_uid" = 1023, "write_date" = (now() at time zone 'UTC') WHERE id IN (743739);
Date: 2023-07-07 13:50:04
3 1 4s418ms 4s418ms 4s418ms 4s418ms 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(?), ?, (now() at time zone ?), ?, (now() at time zone ?), ?, true, ?, ?.?, ?.?, null, ?, null, ?, ?, ?, null, null, ?, ?.?, null, null, ?, ?, ?, null, ?, ?.?, null, ?, ?, ?.?, ?, ?, null, ?, ?) returning id;-
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-07-07', true, 103, 0.0, 0.0, NULL, 1, NULL, 5, 34094, '2023-07-07', NULL, NULL, 0, 0.0, NULL, NULL, 2, 138, 22, NULL, 'C', 0.0, NULL, 'miles', 0, 0.0, 0, 3, NULL, '299', '68121299') RETURNING id;
Date: 2023-07-07 18:16:14
Queries that waited the most
Rank Wait time Query 1 19s225ms 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 != 707233 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 != 707233 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 16:17:41 ]
2 4s960ms 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 != 743711 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 != 743711 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 13:46:06 ]
3 4s418ms 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-07-07', true, 103, 0.0, 0.0, NULL, 1, NULL, 5, 34094, '2023-07-07', NULL, NULL, 0, 0.0, NULL, NULL, 2, 138, 22, NULL, 'C', 0.0, NULL, 'miles', 0, 0.0, 0, 3, NULL, '299', '68121299') RETURNING id;[ Date: 2023-07-07 18:16:14 ]
4 3s345ms UPDATE "account_move" SET "message_main_attachment_id" = 3112319, "write_uid" = 1023, "write_date" = (now() at time zone 'UTC') WHERE id IN (743739);[ Date: 2023-07-07 13:50:04 ]
5 2s908ms 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 != 743569 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 != 743569 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 13:20:30 ]
6 2s846ms 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 != 687015 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 != 687015 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 17:05:50 ]
7 2s423ms UPDATE "account_move" SET "message_main_attachment_id" = 3113195, "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (744489);[ Date: 2023-07-07 17:03:34 ]
8 2s420ms 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 != 744374 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 != 744374 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 16:12:41 ]
9 2s115ms UPDATE "account_move" SET "message_main_attachment_id" = 3113520, "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (744880);[ Date: 2023-07-07 18:16:14 ]
10 1s999ms 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 != 690952 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 != 690952 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 13:24:02 ]
11 1s901ms 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 != 692389 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 != 692389 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 14:09:16 ]
12 1s592ms 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 != 744045 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 != 744045 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 14:49:13 ]
13 1s499ms 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 != 728194 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 != 728194 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 14:45:07 ]
14 1s492ms 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 != 743769 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 != 743769 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 13:59:01 ]
15 1s388ms 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 != 628310 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 != 628310 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 15:10:44 ]
16 1s370ms 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 != 744544 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 != 744544 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 17:17:01 ]
17 1s293ms 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 != 743290 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 != 743290 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 12:13:12 ]
18 1s256ms 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 != 743722 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 != 743722 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 14:12:51 ]
19 1s118ms UPDATE "account_move" SET "message_main_attachment_id" = 3113125, "write_uid" = 1043, "write_date" = (now() at time zone 'UTC') WHERE id IN (744402);[ Date: 2023-07-07 16:26:13 ]
20 1s97ms 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 != 743449 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 != 743449 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-07-07 12:52:55 ]
-
Queries
Queries by type
Key values
- 19,933 Total read queries
- 9,660 Total write queries
Queries by database
Key values
- unknown Main database
- 29,593 Requests
- 3h25m2s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 29,613 Requests
User Request type Count Duration unknown Total 29,613 3h25m14s copy to 76 9m5s cte 77 21s842ms delete 141 3m31s insert 364 1m11s select 19,936 2h15m40s update 9,019 55m23s Duration by user
Key values
- 3h25m14s (unknown) Main time consuming user
User Request type Count Duration unknown Total 29,613 3h25m14s copy to 76 9m5s cte 77 21s842ms delete 141 3m31s insert 364 1m11s select 19,936 2h15m40s update 9,019 55m23s Queries by host
Key values
- unknown Main host
- 29,613 Requests
- 3h25m14s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 29,593 Requests
- 3h25m2s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2023-07-07 17:35:07 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 20,236 100-500ms duration
Slowest individual queries
Rank Duration Query 1 3m42s COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2023-07-07 09:07:09 ]
2 1m13s COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, ref_id, ref) TO stdout;[ Date: 2023-07-07 09:02:11 ]
3 1m11s COPY public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) TO stdout;[ Date: 2023-07-07 09:03:26 ]
4 26s137ms COPY public.website_visitor (id, name, access_token, active, website_id, partner_id, country_id, lang_id, timezone, visit_count, create_date, last_connection_datetime, create_uid, write_uid, write_date) TO stdout;[ Date: 2023-07-07 09:09:13 ]
5 21s323ms COPY public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage, technician_id) TO stdout;[ Date: 2023-07-07 09:08:11 ]
6 19s526ms SELECT "sale_line_report".id FROM "sale_line_report" LEFT JOIN "res_partner" AS "sale_line_report__partner_id" ON ("sale_line_report"."partner_id" = "sale_line_report__partner_id"."id") WHERE (("sale_line_report"."cus_part_route" = 2) AND (("sale_line_report"."id" > '0') AND (((((("sale_line_report"."branch_id" in (37)) AND "sale_line_report"."display_type" IS NULL) AND ((("sale_line_report"."open_qty_fil" > 0.0) AND (("sale_line_report"."state" not in ('draft', 'cancel')) OR "sale_line_report"."state" IS NULL)) AND ("sale_line_report"."move_options" = 'new_product'))) AND ("sale_line_report"."so_line_id" IS NULL AND (unaccent ("sale_line_report"."move_options"::text) ilike unaccent ('%new%')))) AND ("sale_line_report"."on_hand" > 0.0)) AND ("sale_line_report"."partner_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ("res_partner"."fri_deli_day" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private')))))))) ORDER BY "sale_line_report__partner_id"."display_name", "sale_line_report"."date" DESC, "sale_line_report"."id" ASC LIMIT 80;[ Date: 2023-07-07 12:15:31 ]
7 19s456ms SELECT "sale_line_report".id FROM "sale_line_report" LEFT JOIN "res_partner" AS "sale_line_report__partner_id" ON ("sale_line_report"."partner_id" = "sale_line_report__partner_id"."id") WHERE (("sale_line_report"."cus_part_route" = 2) AND (("sale_line_report"."id" > '0') AND (((((("sale_line_report"."branch_id" in (37)) AND "sale_line_report"."display_type" IS NULL) AND ((("sale_line_report"."open_qty_fil" > 0.0) AND (("sale_line_report"."state" not in ('draft', 'cancel')) OR "sale_line_report"."state" IS NULL)) AND ("sale_line_report"."move_options" = 'new_product'))) AND ("sale_line_report"."so_line_id" IS NULL AND (unaccent ("sale_line_report"."move_options"::text) ilike unaccent ('%new%')))) AND ("sale_line_report"."on_hand" > 0.0)) AND ("sale_line_report"."partner_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ("res_partner"."fri_deli_day" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private')))))))) ORDER BY "sale_line_report__partner_id"."display_name", "sale_line_report"."date" DESC, "sale_line_report"."id" ASC LIMIT 80;[ Date: 2023-07-07 12:16:05 ]
8 19s402ms SELECT "sale_line_report".id FROM "sale_line_report" WHERE (("sale_line_report"."cus_part_route" = 2) AND (("sale_line_report"."id" > '0') AND (((((("sale_line_report"."branch_id" in (37)) AND "sale_line_report"."display_type" IS NULL) AND ((("sale_line_report"."open_qty_fil" > 0.0) AND (("sale_line_report"."state" not in ('draft', 'cancel')) OR "sale_line_report"."state" IS NULL)) AND ("sale_line_report"."move_options" = 'new_product'))) AND ("sale_line_report"."so_line_id" IS NULL AND (unaccent ("sale_line_report"."move_options"::text) ilike unaccent ('%new%')))) AND ("sale_line_report"."on_hand" > 0.0)) AND ("sale_line_report"."partner_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ("res_partner"."fri_deli_day" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private')))))))) ORDER BY "sale_line_report"."date" DESC, "sale_line_report"."id" ASC LIMIT 80;[ Date: 2023-07-07 12:14:57 ]
9 17s786ms SELECT "sale_line_report".id FROM "sale_line_report" WHERE (("sale_line_report"."cus_part_route" = 3) AND (("sale_line_report"."id" > '0') AND (((((("sale_line_report"."branch_id" in (37)) AND "sale_line_report"."display_type" IS NULL) AND ((("sale_line_report"."open_qty_fil" > 0.0) AND (("sale_line_report"."state" not in ('draft', 'cancel')) OR "sale_line_report"."state" IS NULL)) AND ("sale_line_report"."move_options" = 'new_product'))) AND ("sale_line_report"."so_line_id" IS NULL AND (unaccent ("sale_line_report"."move_options"::text) ilike unaccent ('%new%')))) AND ("sale_line_report"."on_hand" > 0.0)) AND ("sale_line_report"."partner_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ("res_partner"."fri_deli_day" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private')))))))) ORDER BY "sale_line_report"."date" DESC, "sale_line_report"."id" ASC LIMIT 80;[ Date: 2023-07-07 12:13:29 ]
10 17s452ms SELECT "sale_line_report".id FROM "sale_line_report" WHERE (("sale_line_report"."cus_part_route" = 3) AND (("sale_line_report"."id" > '0') AND (((((("sale_line_report"."branch_id" in (37)) AND "sale_line_report"."display_type" IS NULL) AND ((("sale_line_report"."open_qty_fil" > 0.0) AND (("sale_line_report"."state" not in ('draft', 'cancel')) OR "sale_line_report"."state" IS NULL)) AND ("sale_line_report"."move_options" = 'new_product'))) AND ("sale_line_report"."so_line_id" IS NULL AND (unaccent ("sale_line_report"."move_options"::text) ilike unaccent ('%new%')))) AND ("sale_line_report"."on_hand" > 0.0)) AND ("sale_line_report"."partner_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ("res_partner"."fri_deli_day" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private')))))))) ORDER BY "sale_line_report"."date" DESC, "sale_line_report"."id" ASC LIMIT 80;[ Date: 2023-07-07 12:14:11 ]
11 16s396ms COPY public.website_track (id, visitor_id, page_id, url, visit_datetime, product_id) TO stdout;[ Date: 2023-07-07 09:08:47 ]
12 15s619ms UPDATE "stock_move" SET "date" = '2023-07-07 20:14:54', "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (493901, 493902, 493903, 493904, 493905, 493906, 493907, 493908, 493909, 493910, 493911, 493913, 493914, 493915, 493916, 493917, 493919, 493920, 493921, 493922, 493923, 493924, 493925, 493926, 493927, 493928, 493929);[ Date: 2023-07-07 20:15:10 ]
13 14s795ms COPY public.account_move_line (id, move_id, move_name, date, ref, parent_state, journal_id, company_id, company_currency_id, account_id, account_root_id, sequence, name, quantity, price_unit, discount, debit, credit, balance, amount_currency, price_subtotal, price_total, reconciled, blocked, date_maturity, currency_id, partner_id, product_uom_id, product_id, reconcile_model_id, payment_id, statement_line_id, statement_id, tax_line_id, tax_group_id, tax_base_amount, tax_exigible, tax_repartition_line_id, tax_audit, amount_residual, amount_residual_currency, full_reconcile_id, matching_number, analytic_account_id, display_type, is_rounding_line, exclude_from_invoice_tab, create_uid, create_date, write_uid, write_date, expected_pay_date, internal_note, next_action_date, followup_line_id, followup_date, is_anglo_saxon_line, purchase_line_id, branch_id, branch_name, vehicle_id, move_options, sign_product_qty, sign_price_subtotal, new_product_qty, sale_line_id, child_sale_line_id, main_invoice_line_id, core_bank_transaction, is_rtv_line, core_qty, rebate_amount, cost_price, is_visible_in_report, is_labour, can_be_paid, bal_core_bank_id, repair_line_id, inv_back_order_qty, sale_back_order_qty, product_pricelist_item_id, is_discount, is_sale_tax) TO stdout;[ Date: 2023-07-07 09:00:25 ]
14 12s297ms UPDATE "stock_move" SET "date" = '2023-07-07 12:27:20', "state" = 'done', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (492744, 492746, 492509, 492510, 492512, 492514, 492515, 492516, 492517, 492518, 492519, 492520, 492521, 492522, 492523, 492525, 492526, 492527, 492528, 492530, 492532, 492533);[ Date: 2023-07-07 12:27:34 ]
15 12s194ms UPDATE "stock_move" SET "date" = '2023-07-07 16:32:58', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (487809, 487810, 487811, 487812, 487813, 487783, 487784, 487785, 487786, 487788, 487789, 487790, 487791, 487792, 487794, 487795, 487796, 487797, 487800, 487801, 487802, 487803, 487804, 487805, 487806);[ Date: 2023-07-07 16:33:10 ]
16 11s583ms UPDATE "stock_move" SET "date" = '2023-07-07 18:10:29', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (482648, 482649, 482650, 482651, 482654, 482655, 482656, 482657, 482658, 482659, 482661, 482662, 482663, 482665, 482666, 482667, 482668, 482669, 482670, 482671, 482672, 482673);[ Date: 2023-07-07 18:10:41 ]
17 11s466ms UPDATE "stock_move" SET "date" = '2023-07-07 18:10:03', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (482648, 482649, 482650, 482651, 482654, 482655, 482656, 482657, 482658, 482659, 482661, 482662, 482663, 482665, 482666, 482667, 482668, 482669, 482670, 482671, 482672, 482673);[ Date: 2023-07-07 18:10:14 ]
18 11s307ms UPDATE "stock_move" SET "date" = '2023-07-07 18:10:56', "state" = 'done', "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (482648, 482649, 482650, 482651, 482654, 482655, 482656, 482657, 482658, 482659, 482661, 482662, 482663, 482665, 482666, 482667, 482668, 482669, 482670, 482671, 482672, 482673);[ Date: 2023-07-07 18:11:07 ]
19 10s549ms DELETE FROM sale_order_line WHERE id IN (191377, 191378, 191380, 191381);[ Date: 2023-07-07 20:27:28 ]
20 10s472ms COPY public.base_import_import (id, res_model, file, file_name, file_type, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2023-07-07 09:00:41 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 32m53s 3,309 554ms 1s176ms 596ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 07 09 13 7s532ms 579ms 10 64 37s126ms 580ms 11 305 2m59s 588ms 12 512 5m9s 604ms 13 490 4m54s 601ms 14 354 3m32s 599ms 15 302 3m 598ms 16 172 1m42s 594ms 17 264 2m36s 591ms 18 309 3m4s 596ms 19 335 3m17s 590ms 20 189 1m51s 589ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = '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 ('%%2b10%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2b10%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2b10%'))) 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-07-07 12:48:53 Duration: 1s176ms
-
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 ('%%k06063%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%k06063%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%k06063%'))) 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-07-07 13:54:31 Duration: 1s145ms
-
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 ('%%2b10%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2b10-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2b10-%'))) 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-07-07 12:48:53 Duration: 1s128ms
2 11m12s 2,714 169ms 588ms 247ms select id from product_warehouse_inventory where loc_check_qty < max_product_uom_qty;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 07 11 777 3m8s 242ms 12 1,221 5m8s 252ms 13 716 2m55s 245ms -
select id from product_warehouse_inventory where loc_check_qty < max_product_uom_qty;
Date: 2023-07-07 12:48:52 Duration: 588ms
-
select id from product_warehouse_inventory where loc_check_qty < max_product_uom_qty;
Date: 2023-07-07 12:48:52 Duration: 489ms
-
select id from product_warehouse_inventory where loc_check_qty < max_product_uom_qty;
Date: 2023-07-07 12:48:51 Duration: 479ms
3 8m54s 897 558ms 1s124ms 596ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 07 11 15 8s785ms 585ms 12 52 31s241ms 600ms 13 185 1m52s 607ms 14 55 32s756ms 595ms 15 51 30s665ms 601ms 16 29 17s148ms 591ms 17 93 54s746ms 588ms 18 290 2m52s 594ms 19 93 54s753ms 588ms 20 34 19s878ms 584ms -
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 ('%%pl1369%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%pl1369%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%pl1369%'))) 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-07-07 13:54:31 Duration: 1s124ms
-
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 ('%%pl1369%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%pl1369-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%pl1369-%'))) 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-07-07 13:54:32 Duration: 1s19ms
-
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 ('%%N654%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%N6.5-4-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%N6.5-4-%'))) 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-07-07 13:55:58 Duration: 814ms
4 8m49s 709 699ms 1s436ms 746ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 07 10 3 2s186ms 728ms 11 51 37s525ms 735ms 12 121 1m31s 753ms 13 112 1m23s 744ms 14 100 1m14s 748ms 15 62 46s80ms 743ms 16 58 43s331ms 747ms 17 65 48s890ms 752ms 18 41 30s815ms 751ms 19 61 45s210ms 741ms 20 32 23s829ms 744ms 21 2 1s490ms 745ms 23 1 726ms 726ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%k025273%')) 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 ('%k025273%'))) 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 ('%k025273%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%k025273%')))))) 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-07-07 12:48:53 Duration: 1s436ms
-
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 ('%489xhah%')) 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 ('%489xhah%'))) 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 ('%489xhah%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%489xhah%')))))) 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-07-07 12:31:24 Duration: 1s107ms
-
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 ('%e-10903%')) 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 ('%e-10903%'))) 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 ('%e-10903%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%e-10903%')))))) 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-07-07 16:39:14 Duration: 1s72ms
5 6m32s 1,855 120ms 465ms 211ms 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 #5
Day Hour Count Duration Avg duration Jul 07 00 7 1s31ms 147ms 01 4 634ms 158ms 02 6 929ms 154ms 03 8 1s260ms 157ms 04 4 632ms 158ms 05 19 3s138ms 165ms 06 8 1s210ms 151ms 07 9 1s446ms 160ms 08 14 2s204ms 157ms 09 11 1s737ms 157ms 10 16 2s566ms 160ms 11 16 2s892ms 180ms 12 152 33s628ms 221ms 13 302 1m4s 212ms 14 256 1m5s 254ms 15 183 36s858ms 201ms 16 308 1m9s 224ms 17 174 33s251ms 191ms 18 183 35s328ms 193ms 19 123 25s931ms 210ms 20 44 8s102ms 184ms 21 6 921ms 153ms 22 1 135ms 135ms 23 1 156ms 156ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-07-07 14:50:52') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19509]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",90]', '["pointspring_master","mail.channel",91]', '["pointspring_master","mail.channel",92]', '["pointspring_master","mail.channel",93]', '["pointspring_master","mail.channel",433]', '["pointspring_master","res.partner",19509]', '["pointspring_master","ir.needaction",19509]'))) ORDER BY "bus_bus"."id";
Date: 2023-07-07 14:51:42 Duration: 465ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-07-07 14:50:52') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19539]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",59]', '["pointspring_master","mail.channel",60]', '["pointspring_master","mail.channel",248]', '["pointspring_master","mail.channel",252]', '["pointspring_master","mail.channel",340]', '["pointspring_master","mail.channel",442]', '["pointspring_master","mail.channel",449]', '["pointspring_master","mail.channel",453]', '["pointspring_master","mail.channel",476]', '["pointspring_master","mail.channel",485]', '["pointspring_master","mail.channel",487]', '["pointspring_master","mail.channel",496]', '["pointspring_master","mail.channel",497]', '["pointspring_master","mail.channel",512]', '["pointspring_master","mail.channel",530]', '["pointspring_master","res.partner",19539]', '["pointspring_master","ir.needaction",19539]'))) ORDER BY "bus_bus"."id";
Date: 2023-07-07 14:51:42 Duration: 442ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-07-07 14:50:52') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1017"', '["pointspring_master","calendar.alarm",19555]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",36]', '["pointspring_master","mail.channel",41]', '["pointspring_master","mail.channel",42]', '["pointspring_master","mail.channel",503]', '["pointspring_master","mail.channel",515]', '["pointspring_master","res.partner",19555]', '["pointspring_master","ir.needaction",19555]'))) ORDER BY "bus_bus"."id";
Date: 2023-07-07 14:51:42 Duration: 437ms
6 6m30s 1,897 198ms 429ms 205ms 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 #6
Day Hour Count Duration Avg duration Jul 07 00 9 1s811ms 201ms 01 6 1s204ms 200ms 08 3 597ms 199ms 09 3 596ms 198ms 10 15 2s988ms 199ms 11 140 28s364ms 202ms 12 280 57s701ms 206ms 13 232 48s643ms 209ms 14 316 1m5s 207ms 15 242 49s643ms 205ms 16 109 22s58ms 202ms 17 209 42s901ms 205ms 18 172 35s595ms 206ms 19 120 24s382ms 203ms 20 39 7s995ms 205ms 23 2 401ms 200ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-9ded8a0/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-07-07 15:04:13 Duration: 429ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web_editor.assets_wysiwyg.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-ba98edb/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-07-07 13:55:58 Duration: 383ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.report_assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5826980/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-07-07 14:37:17 Duration: 360ms
7 4m38s 455 208ms 1s825ms 611ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 07 09 3 2s219ms 739ms 11 39 23s366ms 599ms 12 62 37s398ms 603ms 13 78 47s31ms 602ms 14 67 39s239ms 585ms 15 54 31s218ms 578ms 16 29 17s853ms 615ms 17 38 22s799ms 599ms 18 53 38s4ms 717ms 19 13 7s736ms 595ms 20 19 11s337ms 596ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-07-07 18:15:26', "is_done" = true, "state" = 'done', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (492592, 356490, 491573);
Date: 2023-07-07 18:15:28 Duration: 1s825ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-07-07 14:05:52', "is_done" = true, "state" = 'done', "write_uid" = 1238, "write_date" = (now() at time zone 'UTC') WHERE id IN (493178, 493179, 493173);
Date: 2023-07-07 14:05:56 Duration: 1s790ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-07-07 13:44:30', "is_done" = true, "state" = 'done', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (492144, 492146);
Date: 2023-07-07 13:44:33 Duration: 1s706ms
8 4m14s 436 553ms 703ms 584ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 07 00 30 17s134ms 571ms 01 10 5s705ms 570ms 12 13 7s733ms 594ms 13 26 15s103ms 580ms 14 46 26s893ms 584ms 15 12 6s946ms 578ms 16 90 52s417ms 582ms 17 60 35s207ms 586ms 18 63 37s460ms 594ms 19 27 15s832ms 586ms 20 59 34s339ms 582ms -
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 ('%%121%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%12-1%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%12-1%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-07-07 18:09:09 Duration: 703ms
-
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 ('%%hd34003wcsmd%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hd34003wcsmd%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%hd34003wcsmd%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-07-07 19:00:54 Duration: 691ms
-
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 ('%%12170%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%12-170%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%12-170%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-07-07 18:09:10 Duration: 688ms
9 4m5s 603 253ms 2s112ms 407ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 07 09 2 834ms 417ms 10 2 511ms 255ms 11 43 17s184ms 399ms 12 83 37s525ms 452ms 13 107 42s316ms 395ms 14 92 34s947ms 379ms 15 72 26s682ms 370ms 16 35 13s659ms 390ms 17 48 19s486ms 405ms 18 53 23s639ms 446ms 19 28 10s603ms 378ms 20 38 18s555ms 488ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (304648, 317271, 290936, 313789, 290878, 59487);
Date: 2023-07-07 12:27:48 Duration: 2s112ms
-
UPDATE "stock_quant" SET "quantity" = 1.0, "reserved_quantity" = 0.0, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (182633, 33834, 324451, 37710);
Date: 2023-07-07 20:15:15 Duration: 1s795ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (26214, 26346, 27723, 322862, 23870);
Date: 2023-07-07 14:40:23 Duration: 1s522ms
10 3m58s 109 231ms 15s619ms 2s189ms update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 07 09 1 1s224ms 1s224ms 10 1 1s446ms 1s446ms 11 2 1s364ms 682ms 12 7 19s931ms 2s847ms 13 9 13s739ms 1s526ms 14 22 28s919ms 1s314ms 15 9 25s748ms 2s860ms 16 6 21s496ms 3s582ms 17 11 26s189ms 2s380ms 18 26 1m4s 2s465ms 19 12 17s752ms 1s479ms 20 3 16s695ms 5s565ms -
UPDATE "stock_move" SET "date" = '2023-07-07 20:14:54', "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (493901, 493902, 493903, 493904, 493905, 493906, 493907, 493908, 493909, 493910, 493911, 493913, 493914, 493915, 493916, 493917, 493919, 493920, 493921, 493922, 493923, 493924, 493925, 493926, 493927, 493928, 493929);
Date: 2023-07-07 20:15:10 Duration: 15s619ms
-
UPDATE "stock_move" SET "date" = '2023-07-07 12:27:20', "state" = 'done', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (492744, 492746, 492509, 492510, 492512, 492514, 492515, 492516, 492517, 492518, 492519, 492520, 492521, 492522, 492523, 492525, 492526, 492527, 492528, 492530, 492532, 492533);
Date: 2023-07-07 12:27:34 Duration: 12s297ms
-
UPDATE "stock_move" SET "date" = '2023-07-07 16:32:58', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (487809, 487810, 487811, 487812, 487813, 487783, 487784, 487785, 487786, 487788, 487789, 487790, 487791, 487792, 487794, 487795, 487796, 487797, 487800, 487801, 487802, 487803, 487804, 487805, 487806);
Date: 2023-07-07 16:33:10 Duration: 12s194ms
11 3m42s 1 3m42s 3m42s 3m42s copy public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 07 09 1 3m42s 3m42s -
COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;
Date: 2023-07-07 09:07:09 Duration: 3m42s
12 3m33s 1,237 163ms 414ms 172ms 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 #12
Day Hour Count Duration Avg duration Jul 07 09 8 1s364ms 170ms 10 11 1s820ms 165ms 11 118 20s12ms 169ms 12 118 20s669ms 175ms 13 163 27s950ms 171ms 14 195 33s691ms 172ms 15 173 29s737ms 171ms 16 136 23s478ms 172ms 17 88 15s288ms 173ms 18 119 20s546ms 172ms 19 71 12s40ms 169ms 20 37 6s614ms 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 (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-08983%') OR unaccent (res_partner.display_name) ilike unaccent ('%g-08983%') OR unaccent (res_partner.ref) ilike unaccent ('%g-08983%') OR unaccent (res_partner.vat) ilike unaccent ('g-08983')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%g-08983%') desc, unaccent (res_partner.display_name);
Date: 2023-07-07 12:55:08 Duration: 414ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%T-03145%') OR unaccent (res_partner.display_name) ilike unaccent ('%T-03145%') OR unaccent (res_partner.ref) ilike unaccent ('%T-03145%') OR unaccent (res_partner.vat) ilike unaccent ('T-03145')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%T-03145%') desc, unaccent (res_partner.display_name);
Date: 2023-07-07 20:02:57 Duration: 292ms
-
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 ('%c-inv-04515%') OR unaccent (res_partner.display_name) ilike unaccent ('%c-inv-04515%') OR unaccent (res_partner.ref) ilike unaccent ('%c-inv-04515%') OR unaccent (res_partner.vat) ilike unaccent ('c-inv-04515')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%c-inv-04515%') desc, unaccent (res_partner.display_name);
Date: 2023-07-07 17:47:16 Duration: 264ms
13 3m31s 395 121ms 4s424ms 534ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 07 09 1 133ms 133ms 10 1 2s107ms 2s107ms 11 53 39s386ms 743ms 12 49 32s602ms 665ms 13 96 50s995ms 531ms 14 29 11s739ms 404ms 15 23 9s560ms 415ms 16 18 7s236ms 402ms 17 42 14s52ms 334ms 18 35 18s316ms 523ms 19 37 15s843ms 428ms 20 11 9s152ms 832ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1023, "write_date" = (now() at time zone 'UTC') WHERE id IN (493731, 493732, 493733, 493734, 493735, 493736, 493737, 493738);
Date: 2023-07-07 18:43:12 Duration: 4s424ms
-
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (492915, 492916, 492917, 492918, 492919);
Date: 2023-07-07 13:01:50 Duration: 3s574ms
-
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (492556, 492557, 492558, 492559, 492560, 492561);
Date: 2023-07-07 11:07:47 Duration: 3s540ms
14 3m23s 223 872ms 1s220ms 914ms 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 #14
Day Hour Count Duration Avg duration Jul 07 11 2 1s781ms 890ms 12 19 18s249ms 960ms 14 2 1s819ms 909ms 15 22 20s216ms 918ms 16 2 1s769ms 884ms 17 26 23s391ms 899ms 18 28 25s125ms 897ms 19 25 22s622ms 904ms 20 97 1m28s 917ms -
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 ('%200%') 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 ('%200%')))))) 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 ('%200%')))))) 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 ('%200%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%200%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%200%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-07-07 12:32:46 Duration: 1s220ms
-
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 ('%TR22676%') 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 ('%TR22676%')))))) 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 ('%TR22676%')))))) 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 ('%TR22676%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%TR22676%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%TR22676%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 10;
Date: 2023-07-07 20:11:28 Duration: 1s130ms
-
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 ('%OR27549%') 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 ('%OR27549%')))))) 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 ('%OR27549%')))))) 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 ('%OR27549%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%OR27549%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%OR27549%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-07-07 12:38:13 Duration: 1s58ms
15 3m3s 201 875ms 1s177ms 913ms select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 07 11 2 1s769ms 884ms 12 19 17s976ms 946ms 14 2 1s779ms 889ms 15 21 18s952ms 902ms 16 1 880ms 880ms 17 20 18s91ms 904ms 18 21 18s954ms 902ms 19 22 20s9ms 909ms 20 93 1m25s 915ms -
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%200%') 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 ('%200%')))))) 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 ('%200%')))))) 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 ('%200%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%200%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%200%'))));
Date: 2023-07-07 12:32:48 Duration: 1s177ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%neapco%') 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 ('%neapco%')))))) 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 ('%neapco%')))))) 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 ('%neapco%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%neapco%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%neapco%'))));
Date: 2023-07-07 19:29:32 Duration: 1s124ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%TR22%') 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 ('%TR22%')))))) 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 ('%TR22%')))))) 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 ('%TR22%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%TR22%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%TR22%'))));
Date: 2023-07-07 20:11:28 Duration: 1s104ms
16 3m 243 125ms 10s142ms 742ms 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 #16
Day Hour Count Duration Avg duration Jul 07 10 1 8s69ms 8s69ms 11 24 14s710ms 612ms 12 35 26s625ms 760ms 13 35 23s138ms 661ms 14 32 21s469ms 670ms 15 23 18s882ms 820ms 16 18 11s426ms 634ms 17 23 10s136ms 440ms 18 27 18s430ms 682ms 19 17 11s713ms 689ms 20 8 15s904ms 1s988ms -
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 184089, "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 (493901, 493902, 493903, 493905, 493906, 493907, 493908, 493909, 493911, 493912, 493913, 493914, 493915, 493916, 493917, 493918, 493919, 493920, 493921, 493922, 493923, 493924, 493925, 493926, 493927, 493928, 493929);
Date: 2023-07-07 20:14:09 Duration: 10s142ms
-
UPDATE "stock_move" SET "branch_id" = 38, "picking_id" = 183240, "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 (492509, 492510, 492511, 492512, 492513, 492514, 492515, 492516, 492517, 492518, 492519, 492520, 492521, 492522, 492523, 492524, 492525, 492526, 492527, 492528, 492529, 492530, 492531, 492532, 492533);
Date: 2023-07-07 10:13:59 Duration: 8s69ms
-
UPDATE "stock_move" SET "branch_id" = 48, "picking_id" = 183708, "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 (493351, 493352, 493353, 493354, 493355, 493356, 493357, 493358, 493359);
Date: 2023-07-07 15:05:46 Duration: 3s352ms
17 2m38s 130 1s104ms 1s517ms 1s216ms select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 07 11 52 1m3s 1s218ms 12 3 3s430ms 1s143ms 13 12 14s147ms 1s178ms 14 6 7s570ms 1s261ms 15 9 11s172ms 1s241ms 16 4 4s641ms 1s160ms 19 23 27s952ms 1s215ms 20 21 25s783ms 1s227ms -
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-07-07 11:27:28 Duration: 1s517ms
-
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-07-07 14:41:18 Duration: 1s445ms
-
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-07-07 11:33:54 Duration: 1s386ms
18 2m20s 474 120ms 584ms 296ms select min("product_warehouse_inventory".id) as id, count("product_warehouse_inventory".id) AS "warehouse_id_count", sum("product_warehouse_inventory"."qty_available") AS "qty_available", sum("product_warehouse_inventory"."qty_reserve") AS "qty_reserve", sum("product_warehouse_inventory"."min_product_uom_qty") AS "min_product_uom_qty", sum("product_warehouse_inventory"."max_product_uom_qty") AS "max_product_uom_qty", sum("product_warehouse_inventory"."qty_on_order") AS "qty_on_order", sum("product_warehouse_inventory"."qty_on_perm_order") AS "qty_on_perm_order", sum("product_warehouse_inventory"."qty_shipped_not_invoiced") AS "qty_shipped_not_invoiced", sum("product_warehouse_inventory"."qty_in_transist") AS "qty_in_transist", sum("product_warehouse_inventory"."qty_available_last_year") AS "qty_available_last_year", sum("product_warehouse_inventory"."qty_mtd_sold") AS "qty_mtd_sold", sum("product_warehouse_inventory"."qty_ytd_sold") AS "qty_ytd_sold", sum("product_warehouse_inventory"."qty_ytd_transfer_another") AS "qty_ytd_transfer_another", sum("product_warehouse_inventory"."qty_ytd_lost_sales") AS "qty_ytd_lost_sales", sum("product_warehouse_inventory"."qty_last_receive") AS "qty_last_receive", sum("product_warehouse_inventory"."qty_sold_last_year") AS "qty_sold_last_year", sum("product_warehouse_inventory"."qty_ly_transfer_another") AS "qty_ly_transfer_another", sum("product_warehouse_inventory"."mon_1_qty") AS "mon_1_qty", sum("product_warehouse_inventory"."mon_2_qty") AS "mon_2_qty", sum("product_warehouse_inventory"."mon_3_qty") AS "mon_3_qty", sum("product_warehouse_inventory"."mon_4_qty") AS "mon_4_qty", sum("product_warehouse_inventory"."mon_5_qty") AS "mon_5_qty", sum("product_warehouse_inventory"."mon_6_qty") AS "mon_6_qty", sum("product_warehouse_inventory"."mon_7_qty") AS "mon_7_qty", sum("product_warehouse_inventory"."mon_8_qty") AS "mon_8_qty", sum("product_warehouse_inventory"."mon_9_qty") AS "mon_9_qty", sum("product_warehouse_inventory"."mon_10_qty") AS "mon_10_qty", sum("product_warehouse_inventory"."mon_11_qty") AS "mon_11_qty", sum("product_warehouse_inventory"."mon_12_qty") AS "mon_12_qty", sum("product_warehouse_inventory"."unit_cost") AS "unit_cost", sum("product_warehouse_inventory"."loc_check_qty") AS "loc_check_qty", sum("product_warehouse_inventory"."rep_loc_check_qty") AS "rep_loc_check_qty", sum("product_warehouse_inventory"."last_intra_company_qty") AS "last_intra_company_qty", "product_warehouse_inventory"."warehouse_id" AS "warehouse_id" from "product_warehouse_inventory" left join "stock_warehouse" AS "product_warehouse_inventory__warehouse_id" on ("product_warehouse_inventory"."warehouse_id" = "product_warehouse_inventory__warehouse_id"."id") where (("product_warehouse_inventory"."inventory_vendor_id" = ?) and ((((("product_warehouse_inventory"."has_core" = true) or (("product_warehouse_inventory"."has_core" is null or "product_warehouse_inventory"."has_core" = false) and ("product_warehouse_inventory"."is_core" is null or "product_warehouse_inventory"."is_core" = false))) and ("product_warehouse_inventory"."stocking_flag" = true)) and ("product_warehouse_inventory"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where ("psd_custom_inventory_vendor"."purchase_agent_user" = ?)))) and "product_warehouse_inventory"."replenish_branch_id" is not null)) group by "product_warehouse_inventory"."warehouse_id", "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id" order by "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 07 11 109 27s944ms 256ms 12 222 1m10s 315ms 13 143 42s630ms 298ms -
SELECT min("product_warehouse_inventory".id) AS id, count("product_warehouse_inventory".id) AS "warehouse_id_count", sum("product_warehouse_inventory"."qty_available") AS "qty_available", sum("product_warehouse_inventory"."qty_reserve") AS "qty_reserve", sum("product_warehouse_inventory"."min_product_uom_qty") AS "min_product_uom_qty", sum("product_warehouse_inventory"."max_product_uom_qty") AS "max_product_uom_qty", sum("product_warehouse_inventory"."qty_on_order") AS "qty_on_order", sum("product_warehouse_inventory"."qty_on_perm_order") AS "qty_on_perm_order", sum("product_warehouse_inventory"."qty_shipped_not_invoiced") AS "qty_shipped_not_invoiced", sum("product_warehouse_inventory"."qty_in_transist") AS "qty_in_transist", sum("product_warehouse_inventory"."qty_available_last_year") AS "qty_available_last_year", sum("product_warehouse_inventory"."qty_mtd_sold") AS "qty_mtd_sold", sum("product_warehouse_inventory"."qty_ytd_sold") AS "qty_ytd_sold", sum("product_warehouse_inventory"."qty_ytd_transfer_another") AS "qty_ytd_transfer_another", sum("product_warehouse_inventory"."qty_ytd_lost_sales") AS "qty_ytd_lost_sales", sum("product_warehouse_inventory"."qty_last_receive") AS "qty_last_receive", sum("product_warehouse_inventory"."qty_sold_last_year") AS "qty_sold_last_year", sum("product_warehouse_inventory"."qty_ly_transfer_another") AS "qty_ly_transfer_another", sum("product_warehouse_inventory"."mon_1_qty") AS "mon_1_qty", sum("product_warehouse_inventory"."mon_2_qty") AS "mon_2_qty", sum("product_warehouse_inventory"."mon_3_qty") AS "mon_3_qty", sum("product_warehouse_inventory"."mon_4_qty") AS "mon_4_qty", sum("product_warehouse_inventory"."mon_5_qty") AS "mon_5_qty", sum("product_warehouse_inventory"."mon_6_qty") AS "mon_6_qty", sum("product_warehouse_inventory"."mon_7_qty") AS "mon_7_qty", sum("product_warehouse_inventory"."mon_8_qty") AS "mon_8_qty", sum("product_warehouse_inventory"."mon_9_qty") AS "mon_9_qty", sum("product_warehouse_inventory"."mon_10_qty") AS "mon_10_qty", sum("product_warehouse_inventory"."mon_11_qty") AS "mon_11_qty", sum("product_warehouse_inventory"."mon_12_qty") AS "mon_12_qty", sum("product_warehouse_inventory"."unit_cost") AS "unit_cost", sum("product_warehouse_inventory"."loc_check_qty") AS "loc_check_qty", sum("product_warehouse_inventory"."rep_loc_check_qty") AS "rep_loc_check_qty", sum("product_warehouse_inventory"."last_intra_company_qty") AS "last_intra_company_qty", "product_warehouse_inventory"."warehouse_id" as "warehouse_id" FROM "product_warehouse_inventory" LEFT JOIN "stock_warehouse" AS "product_warehouse_inventory__warehouse_id" ON ("product_warehouse_inventory"."warehouse_id" = "product_warehouse_inventory__warehouse_id"."id") WHERE (("product_warehouse_inventory"."inventory_vendor_id" = 3056) AND ((((("product_warehouse_inventory"."has_core" = true) OR (("product_warehouse_inventory"."has_core" IS NULL or "product_warehouse_inventory"."has_core" = false) AND ("product_warehouse_inventory"."is_core" IS NULL or "product_warehouse_inventory"."is_core" = false))) AND ("product_warehouse_inventory"."stocking_flag" = true)) AND ("product_warehouse_inventory"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE ("psd_custom_inventory_vendor"."purchase_agent_user" = 996)))) AND "product_warehouse_inventory"."replenish_branch_id" IS NOT NULL)) GROUP BY "product_warehouse_inventory"."warehouse_id", "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id" ORDER BY "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id";
Date: 2023-07-07 12:48:51 Duration: 584ms
-
SELECT min("product_warehouse_inventory".id) AS id, count("product_warehouse_inventory".id) AS "warehouse_id_count", sum("product_warehouse_inventory"."qty_available") AS "qty_available", sum("product_warehouse_inventory"."qty_reserve") AS "qty_reserve", sum("product_warehouse_inventory"."min_product_uom_qty") AS "min_product_uom_qty", sum("product_warehouse_inventory"."max_product_uom_qty") AS "max_product_uom_qty", sum("product_warehouse_inventory"."qty_on_order") AS "qty_on_order", sum("product_warehouse_inventory"."qty_on_perm_order") AS "qty_on_perm_order", sum("product_warehouse_inventory"."qty_shipped_not_invoiced") AS "qty_shipped_not_invoiced", sum("product_warehouse_inventory"."qty_in_transist") AS "qty_in_transist", sum("product_warehouse_inventory"."qty_available_last_year") AS "qty_available_last_year", sum("product_warehouse_inventory"."qty_mtd_sold") AS "qty_mtd_sold", sum("product_warehouse_inventory"."qty_ytd_sold") AS "qty_ytd_sold", sum("product_warehouse_inventory"."qty_ytd_transfer_another") AS "qty_ytd_transfer_another", sum("product_warehouse_inventory"."qty_ytd_lost_sales") AS "qty_ytd_lost_sales", sum("product_warehouse_inventory"."qty_last_receive") AS "qty_last_receive", sum("product_warehouse_inventory"."qty_sold_last_year") AS "qty_sold_last_year", sum("product_warehouse_inventory"."qty_ly_transfer_another") AS "qty_ly_transfer_another", sum("product_warehouse_inventory"."mon_1_qty") AS "mon_1_qty", sum("product_warehouse_inventory"."mon_2_qty") AS "mon_2_qty", sum("product_warehouse_inventory"."mon_3_qty") AS "mon_3_qty", sum("product_warehouse_inventory"."mon_4_qty") AS "mon_4_qty", sum("product_warehouse_inventory"."mon_5_qty") AS "mon_5_qty", sum("product_warehouse_inventory"."mon_6_qty") AS "mon_6_qty", sum("product_warehouse_inventory"."mon_7_qty") AS "mon_7_qty", sum("product_warehouse_inventory"."mon_8_qty") AS "mon_8_qty", sum("product_warehouse_inventory"."mon_9_qty") AS "mon_9_qty", sum("product_warehouse_inventory"."mon_10_qty") AS "mon_10_qty", sum("product_warehouse_inventory"."mon_11_qty") AS "mon_11_qty", sum("product_warehouse_inventory"."mon_12_qty") AS "mon_12_qty", sum("product_warehouse_inventory"."unit_cost") AS "unit_cost", sum("product_warehouse_inventory"."loc_check_qty") AS "loc_check_qty", sum("product_warehouse_inventory"."rep_loc_check_qty") AS "rep_loc_check_qty", sum("product_warehouse_inventory"."last_intra_company_qty") AS "last_intra_company_qty", "product_warehouse_inventory"."warehouse_id" as "warehouse_id" FROM "product_warehouse_inventory" LEFT JOIN "stock_warehouse" AS "product_warehouse_inventory__warehouse_id" ON ("product_warehouse_inventory"."warehouse_id" = "product_warehouse_inventory__warehouse_id"."id") WHERE (("product_warehouse_inventory"."inventory_vendor_id" = 3021) AND ((((("product_warehouse_inventory"."has_core" = true) OR (("product_warehouse_inventory"."has_core" IS NULL or "product_warehouse_inventory"."has_core" = false) AND ("product_warehouse_inventory"."is_core" IS NULL or "product_warehouse_inventory"."is_core" = false))) AND ("product_warehouse_inventory"."stocking_flag" = true)) AND ("product_warehouse_inventory"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE ("psd_custom_inventory_vendor"."purchase_agent_user" = 996)))) AND "product_warehouse_inventory"."replenish_branch_id" IS NOT NULL)) GROUP BY "product_warehouse_inventory"."warehouse_id", "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id" ORDER BY "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id";
Date: 2023-07-07 12:48:51 Duration: 577ms
-
SELECT min("product_warehouse_inventory".id) AS id, count("product_warehouse_inventory".id) AS "warehouse_id_count", sum("product_warehouse_inventory"."qty_available") AS "qty_available", sum("product_warehouse_inventory"."qty_reserve") AS "qty_reserve", sum("product_warehouse_inventory"."min_product_uom_qty") AS "min_product_uom_qty", sum("product_warehouse_inventory"."max_product_uom_qty") AS "max_product_uom_qty", sum("product_warehouse_inventory"."qty_on_order") AS "qty_on_order", sum("product_warehouse_inventory"."qty_on_perm_order") AS "qty_on_perm_order", sum("product_warehouse_inventory"."qty_shipped_not_invoiced") AS "qty_shipped_not_invoiced", sum("product_warehouse_inventory"."qty_in_transist") AS "qty_in_transist", sum("product_warehouse_inventory"."qty_available_last_year") AS "qty_available_last_year", sum("product_warehouse_inventory"."qty_mtd_sold") AS "qty_mtd_sold", sum("product_warehouse_inventory"."qty_ytd_sold") AS "qty_ytd_sold", sum("product_warehouse_inventory"."qty_ytd_transfer_another") AS "qty_ytd_transfer_another", sum("product_warehouse_inventory"."qty_ytd_lost_sales") AS "qty_ytd_lost_sales", sum("product_warehouse_inventory"."qty_last_receive") AS "qty_last_receive", sum("product_warehouse_inventory"."qty_sold_last_year") AS "qty_sold_last_year", sum("product_warehouse_inventory"."qty_ly_transfer_another") AS "qty_ly_transfer_another", sum("product_warehouse_inventory"."mon_1_qty") AS "mon_1_qty", sum("product_warehouse_inventory"."mon_2_qty") AS "mon_2_qty", sum("product_warehouse_inventory"."mon_3_qty") AS "mon_3_qty", sum("product_warehouse_inventory"."mon_4_qty") AS "mon_4_qty", sum("product_warehouse_inventory"."mon_5_qty") AS "mon_5_qty", sum("product_warehouse_inventory"."mon_6_qty") AS "mon_6_qty", sum("product_warehouse_inventory"."mon_7_qty") AS "mon_7_qty", sum("product_warehouse_inventory"."mon_8_qty") AS "mon_8_qty", sum("product_warehouse_inventory"."mon_9_qty") AS "mon_9_qty", sum("product_warehouse_inventory"."mon_10_qty") AS "mon_10_qty", sum("product_warehouse_inventory"."mon_11_qty") AS "mon_11_qty", sum("product_warehouse_inventory"."mon_12_qty") AS "mon_12_qty", sum("product_warehouse_inventory"."unit_cost") AS "unit_cost", sum("product_warehouse_inventory"."loc_check_qty") AS "loc_check_qty", sum("product_warehouse_inventory"."rep_loc_check_qty") AS "rep_loc_check_qty", sum("product_warehouse_inventory"."last_intra_company_qty") AS "last_intra_company_qty", "product_warehouse_inventory"."warehouse_id" as "warehouse_id" FROM "product_warehouse_inventory" LEFT JOIN "stock_warehouse" AS "product_warehouse_inventory__warehouse_id" ON ("product_warehouse_inventory"."warehouse_id" = "product_warehouse_inventory__warehouse_id"."id") WHERE (("product_warehouse_inventory"."inventory_vendor_id" = 3034) AND ((((("product_warehouse_inventory"."has_core" = true) OR (("product_warehouse_inventory"."has_core" IS NULL or "product_warehouse_inventory"."has_core" = false) AND ("product_warehouse_inventory"."is_core" IS NULL or "product_warehouse_inventory"."is_core" = false))) AND ("product_warehouse_inventory"."stocking_flag" = true)) AND ("product_warehouse_inventory"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE ("psd_custom_inventory_vendor"."purchase_agent_user" = 996)))) AND "product_warehouse_inventory"."replenish_branch_id" IS NOT NULL)) GROUP BY "product_warehouse_inventory"."warehouse_id", "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id" ORDER BY "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id";
Date: 2023-07-07 12:48:51 Duration: 573ms
19 2m17s 185 466ms 3s105ms 745ms update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 07 09 3 1s696ms 565ms 11 9 6s672ms 741ms 12 20 13s840ms 692ms 13 28 19s768ms 706ms 14 15 13s415ms 894ms 15 24 17s760ms 740ms 16 21 14s650ms 697ms 17 25 17s282ms 691ms 18 16 15s256ms 953ms 19 17 12s322ms 724ms 20 7 5s322ms 760ms -
UPDATE "stock_move" SET "date" = '2023-07-07 12:30:30', "is_done" = true, "state" = 'done', "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (478285, 478286, 478267, 478268, 478269, 478270);
Date: 2023-07-07 12:30:38 Duration: 3s105ms
-
UPDATE "stock_move" SET "date" = '2023-07-07 18:29:22', "is_done" = true, "state" = 'done', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (493603, 493604, 493609, 493611, 493708, 490835);
Date: 2023-07-07 18:29:41 Duration: 3s100ms
-
UPDATE "stock_move" SET "date" = '2023-07-07 13:42:36', "is_done" = true, "state" = 'done', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (493093, 493107, 493108, 493109, 493110);
Date: 2023-07-07 13:42:46 Duration: 2s659ms
20 2m17s 762 153ms 551ms 180ms 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 Jul 07 09 8 1s423ms 177ms 10 3 478ms 159ms 11 53 9s155ms 172ms 12 110 19s334ms 175ms 13 139 24s796ms 178ms 14 125 23s28ms 184ms 15 70 12s458ms 177ms 16 42 8s258ms 196ms 17 61 11s7ms 180ms 18 63 11s483ms 182ms 19 30 5s333ms 177ms 20 58 11s148ms 192ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 2000.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 964, "write_date" = (now() at time zone 'UTC') WHERE id IN (148360, 148355, 148358);
Date: 2023-07-07 14:19:37 Duration: 551ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (190096, 190109, 190094);
Date: 2023-07-07 16:03:28 Duration: 523ms
-
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" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (191153, 191154, 191156);
Date: 2023-07-07 18:17:36 Duration: 519ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 3,309 32m53s 554ms 1s176ms 596ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 07 09 13 7s532ms 579ms 10 64 37s126ms 580ms 11 305 2m59s 588ms 12 512 5m9s 604ms 13 490 4m54s 601ms 14 354 3m32s 599ms 15 302 3m 598ms 16 172 1m42s 594ms 17 264 2m36s 591ms 18 309 3m4s 596ms 19 335 3m17s 590ms 20 189 1m51s 589ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = '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 ('%%2b10%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2b10%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2b10%'))) 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-07-07 12:48:53 Duration: 1s176ms
-
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 ('%%k06063%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%k06063%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%k06063%'))) 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-07-07 13:54:31 Duration: 1s145ms
-
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 ('%%2b10%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2b10-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2b10-%'))) 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-07-07 12:48:53 Duration: 1s128ms
2 2,714 11m12s 169ms 588ms 247ms select id from product_warehouse_inventory where loc_check_qty < max_product_uom_qty;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 07 11 777 3m8s 242ms 12 1,221 5m8s 252ms 13 716 2m55s 245ms -
select id from product_warehouse_inventory where loc_check_qty < max_product_uom_qty;
Date: 2023-07-07 12:48:52 Duration: 588ms
-
select id from product_warehouse_inventory where loc_check_qty < max_product_uom_qty;
Date: 2023-07-07 12:48:52 Duration: 489ms
-
select id from product_warehouse_inventory where loc_check_qty < max_product_uom_qty;
Date: 2023-07-07 12:48:51 Duration: 479ms
3 1,897 6m30s 198ms 429ms 205ms 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 Jul 07 00 9 1s811ms 201ms 01 6 1s204ms 200ms 08 3 597ms 199ms 09 3 596ms 198ms 10 15 2s988ms 199ms 11 140 28s364ms 202ms 12 280 57s701ms 206ms 13 232 48s643ms 209ms 14 316 1m5s 207ms 15 242 49s643ms 205ms 16 109 22s58ms 202ms 17 209 42s901ms 205ms 18 172 35s595ms 206ms 19 120 24s382ms 203ms 20 39 7s995ms 205ms 23 2 401ms 200ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-9ded8a0/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-07-07 15:04:13 Duration: 429ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web_editor.assets_wysiwyg.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-ba98edb/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-07-07 13:55:58 Duration: 383ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.report_assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5826980/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-07-07 14:37:17 Duration: 360ms
4 1,855 6m32s 120ms 465ms 211ms 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 #4
Day Hour Count Duration Avg duration Jul 07 00 7 1s31ms 147ms 01 4 634ms 158ms 02 6 929ms 154ms 03 8 1s260ms 157ms 04 4 632ms 158ms 05 19 3s138ms 165ms 06 8 1s210ms 151ms 07 9 1s446ms 160ms 08 14 2s204ms 157ms 09 11 1s737ms 157ms 10 16 2s566ms 160ms 11 16 2s892ms 180ms 12 152 33s628ms 221ms 13 302 1m4s 212ms 14 256 1m5s 254ms 15 183 36s858ms 201ms 16 308 1m9s 224ms 17 174 33s251ms 191ms 18 183 35s328ms 193ms 19 123 25s931ms 210ms 20 44 8s102ms 184ms 21 6 921ms 153ms 22 1 135ms 135ms 23 1 156ms 156ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-07-07 14:50:52') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19509]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",90]', '["pointspring_master","mail.channel",91]', '["pointspring_master","mail.channel",92]', '["pointspring_master","mail.channel",93]', '["pointspring_master","mail.channel",433]', '["pointspring_master","res.partner",19509]', '["pointspring_master","ir.needaction",19509]'))) ORDER BY "bus_bus"."id";
Date: 2023-07-07 14:51:42 Duration: 465ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-07-07 14:50:52') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19539]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",59]', '["pointspring_master","mail.channel",60]', '["pointspring_master","mail.channel",248]', '["pointspring_master","mail.channel",252]', '["pointspring_master","mail.channel",340]', '["pointspring_master","mail.channel",442]', '["pointspring_master","mail.channel",449]', '["pointspring_master","mail.channel",453]', '["pointspring_master","mail.channel",476]', '["pointspring_master","mail.channel",485]', '["pointspring_master","mail.channel",487]', '["pointspring_master","mail.channel",496]', '["pointspring_master","mail.channel",497]', '["pointspring_master","mail.channel",512]', '["pointspring_master","mail.channel",530]', '["pointspring_master","res.partner",19539]', '["pointspring_master","ir.needaction",19539]'))) ORDER BY "bus_bus"."id";
Date: 2023-07-07 14:51:42 Duration: 442ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-07-07 14:50:52') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1017"', '["pointspring_master","calendar.alarm",19555]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",36]', '["pointspring_master","mail.channel",41]', '["pointspring_master","mail.channel",42]', '["pointspring_master","mail.channel",503]', '["pointspring_master","mail.channel",515]', '["pointspring_master","res.partner",19555]', '["pointspring_master","ir.needaction",19555]'))) ORDER BY "bus_bus"."id";
Date: 2023-07-07 14:51:42 Duration: 437ms
5 1,237 3m33s 163ms 414ms 172ms 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 #5
Day Hour Count Duration Avg duration Jul 07 09 8 1s364ms 170ms 10 11 1s820ms 165ms 11 118 20s12ms 169ms 12 118 20s669ms 175ms 13 163 27s950ms 171ms 14 195 33s691ms 172ms 15 173 29s737ms 171ms 16 136 23s478ms 172ms 17 88 15s288ms 173ms 18 119 20s546ms 172ms 19 71 12s40ms 169ms 20 37 6s614ms 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 (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-08983%') OR unaccent (res_partner.display_name) ilike unaccent ('%g-08983%') OR unaccent (res_partner.ref) ilike unaccent ('%g-08983%') OR unaccent (res_partner.vat) ilike unaccent ('g-08983')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%g-08983%') desc, unaccent (res_partner.display_name);
Date: 2023-07-07 12:55:08 Duration: 414ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%T-03145%') OR unaccent (res_partner.display_name) ilike unaccent ('%T-03145%') OR unaccent (res_partner.ref) ilike unaccent ('%T-03145%') OR unaccent (res_partner.vat) ilike unaccent ('T-03145')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%T-03145%') desc, unaccent (res_partner.display_name);
Date: 2023-07-07 20:02:57 Duration: 292ms
-
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 ('%c-inv-04515%') OR unaccent (res_partner.display_name) ilike unaccent ('%c-inv-04515%') OR unaccent (res_partner.ref) ilike unaccent ('%c-inv-04515%') OR unaccent (res_partner.vat) ilike unaccent ('c-inv-04515')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%c-inv-04515%') desc, unaccent (res_partner.display_name);
Date: 2023-07-07 17:47:16 Duration: 264ms
6 897 8m54s 558ms 1s124ms 596ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 07 11 15 8s785ms 585ms 12 52 31s241ms 600ms 13 185 1m52s 607ms 14 55 32s756ms 595ms 15 51 30s665ms 601ms 16 29 17s148ms 591ms 17 93 54s746ms 588ms 18 290 2m52s 594ms 19 93 54s753ms 588ms 20 34 19s878ms 584ms -
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 ('%%pl1369%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%pl1369%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%pl1369%'))) 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-07-07 13:54:31 Duration: 1s124ms
-
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 ('%%pl1369%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%pl1369-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%pl1369-%'))) 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-07-07 13:54:32 Duration: 1s19ms
-
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 ('%%N654%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%N6.5-4-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%N6.5-4-%'))) 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-07-07 13:55:58 Duration: 814ms
7 762 2m17s 153ms 551ms 180ms 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 #7
Day Hour Count Duration Avg duration Jul 07 09 8 1s423ms 177ms 10 3 478ms 159ms 11 53 9s155ms 172ms 12 110 19s334ms 175ms 13 139 24s796ms 178ms 14 125 23s28ms 184ms 15 70 12s458ms 177ms 16 42 8s258ms 196ms 17 61 11s7ms 180ms 18 63 11s483ms 182ms 19 30 5s333ms 177ms 20 58 11s148ms 192ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 2000.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 964, "write_date" = (now() at time zone 'UTC') WHERE id IN (148360, 148355, 148358);
Date: 2023-07-07 14:19:37 Duration: 551ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (190096, 190109, 190094);
Date: 2023-07-07 16:03:28 Duration: 523ms
-
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" = 959, "write_date" = (now() at time zone 'UTC') WHERE id IN (191153, 191154, 191156);
Date: 2023-07-07 18:17:36 Duration: 519ms
8 709 8m49s 699ms 1s436ms 746ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 07 10 3 2s186ms 728ms 11 51 37s525ms 735ms 12 121 1m31s 753ms 13 112 1m23s 744ms 14 100 1m14s 748ms 15 62 46s80ms 743ms 16 58 43s331ms 747ms 17 65 48s890ms 752ms 18 41 30s815ms 751ms 19 61 45s210ms 741ms 20 32 23s829ms 744ms 21 2 1s490ms 745ms 23 1 726ms 726ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%k025273%')) 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 ('%k025273%'))) 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 ('%k025273%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%k025273%')))))) 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-07-07 12:48:53 Duration: 1s436ms
-
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 ('%489xhah%')) 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 ('%489xhah%'))) 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 ('%489xhah%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%489xhah%')))))) 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-07-07 12:31:24 Duration: 1s107ms
-
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 ('%e-10903%')) 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 ('%e-10903%'))) 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 ('%e-10903%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%e-10903%')))))) 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-07-07 16:39:14 Duration: 1s72ms
9 660 1m56s 153ms 357ms 176ms update "sale_order_line" set "invoice_status" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "untaxed_amount_invoiced" = ?, "untaxed_amount_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 07 09 8 1s492ms 186ms 11 40 6s882ms 172ms 12 97 17s57ms 175ms 13 124 22s11ms 177ms 14 102 17s955ms 176ms 15 71 12s405ms 174ms 16 34 6s186ms 181ms 17 42 7s520ms 179ms 18 55 9s575ms 174ms 19 33 5s717ms 173ms 20 54 9s846ms 182ms -
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '5.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '29.55', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 992, "write_date" = (now() at time zone 'UTC') WHERE id IN (187637, 187631);
Date: 2023-07-07 13:59:59 Duration: 357ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '-2.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '-72.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (191265, 191289);
Date: 2023-07-07 20:16:22 Duration: 352ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '2.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '225.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (191286, 191262);
Date: 2023-07-07 20:16:22 Duration: 345ms
10 603 4m5s 253ms 2s112ms 407ms update "stock_quant" set "quantity" = ?.?, "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 Jul 07 09 2 834ms 417ms 10 2 511ms 255ms 11 43 17s184ms 399ms 12 83 37s525ms 452ms 13 107 42s316ms 395ms 14 92 34s947ms 379ms 15 72 26s682ms 370ms 16 35 13s659ms 390ms 17 48 19s486ms 405ms 18 53 23s639ms 446ms 19 28 10s603ms 378ms 20 38 18s555ms 488ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (304648, 317271, 290936, 313789, 290878, 59487);
Date: 2023-07-07 12:27:48 Duration: 2s112ms
-
UPDATE "stock_quant" SET "quantity" = 1.0, "reserved_quantity" = 0.0, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (182633, 33834, 324451, 37710);
Date: 2023-07-07 20:15:15 Duration: 1s795ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (26214, 26346, 27723, 322862, 23870);
Date: 2023-07-07 14:40:23 Duration: 1s522ms
11 532 1m34s 155ms 252ms 178ms update "sale_order_line" set "branch_id" = ?, "currency_id" = ?, "cus_date_order" = ?, "cus_part_route" = ?, "cus_user_id" = ?, "inventory_vendor_id" = ?, "is_service" = false, "margin" = ?, "margin_percent" = ?.?, "order_partner_id" = ?, "price_reduce" = ?, "price_reduce_taxexcl" = ?, "price_reduce_taxinc" = ?, "price_subtotal" = ?, "price_tax" = ?.?, "price_total" = ?, "purchase_price" = ?, "qty_delivered_method" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "salesman_id" = ?, "untaxed_amount_invoiced" = ?, "untaxed_amount_to_invoice" = ?, "warehouse_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 07 11 36 6s357ms 176ms 12 74 13s73ms 176ms 13 54 9s671ms 179ms 14 71 12s761ms 179ms 15 56 9s957ms 177ms 16 36 6s329ms 175ms 17 38 6s662ms 175ms 18 64 11s412ms 178ms 19 66 11s882ms 180ms 20 37 6s597ms 178ms -
UPDATE "sale_order_line" SET "branch_id" = 50, "currency_id" = 2, "cus_date_order" = '2023-07-07 19:02:43', "cus_part_route" = NULL, "cus_user_id" = 995, "inventory_vendor_id" = 2957, "is_service" = false, "margin" = '1.20', "margin_percent" = 0.13043478260869562, "order_partner_id" = 40670, "price_reduce" = '9.20', "price_reduce_taxexcl" = '9.20', "price_reduce_taxinc" = '9.20', "price_subtotal" = '9.20', "price_tax" = 0.0, "price_total" = '9.20', "purchase_price" = '8.00', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 995, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 44, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (191345);
Date: 2023-07-07 20:03:54 Duration: 252ms
-
UPDATE "sale_order_line" SET "branch_id" = 45, "currency_id" = 2, "cus_date_order" = '2023-07-07 13:15:21', "cus_part_route" = NULL, "cus_user_id" = 954, "inventory_vendor_id" = 3069, "is_service" = false, "margin" = '170.44', "margin_percent" = 0.36000337952010814, "order_partner_id" = 41889, "price_reduce" = '118.36', "price_reduce_taxexcl" = '118.36', "price_reduce_taxinc" = '126.65', "price_subtotal" = '473.44', "price_tax" = 33.14, "price_total" = '506.58', "purchase_price" = '75.75', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 954, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 42, "write_uid" = 1021, "write_date" = (now() at time zone 'UTC') WHERE id IN (190971);
Date: 2023-07-07 14:49:46 Duration: 247ms
-
UPDATE "sale_order_line" SET "branch_id" = 50, "currency_id" = 2, "cus_date_order" = '2023-07-07 19:02:43', "cus_part_route" = NULL, "cus_user_id" = 995, "inventory_vendor_id" = 3022, "is_service" = false, "margin" = '102.00', "margin_percent" = 0.4276729559748428, "order_partner_id" = 40670, "price_reduce" = '1.59', "price_reduce_taxexcl" = '1.59', "price_reduce_taxinc" = '1.59', "price_subtotal" = '238.50', "price_tax" = 0.0, "price_total" = '238.50', "purchase_price" = '0.91', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 995, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 44, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (191307);
Date: 2023-07-07 19:37:11 Duration: 242ms
12 474 2m20s 120ms 584ms 296ms select min("product_warehouse_inventory".id) as id, count("product_warehouse_inventory".id) AS "warehouse_id_count", sum("product_warehouse_inventory"."qty_available") AS "qty_available", sum("product_warehouse_inventory"."qty_reserve") AS "qty_reserve", sum("product_warehouse_inventory"."min_product_uom_qty") AS "min_product_uom_qty", sum("product_warehouse_inventory"."max_product_uom_qty") AS "max_product_uom_qty", sum("product_warehouse_inventory"."qty_on_order") AS "qty_on_order", sum("product_warehouse_inventory"."qty_on_perm_order") AS "qty_on_perm_order", sum("product_warehouse_inventory"."qty_shipped_not_invoiced") AS "qty_shipped_not_invoiced", sum("product_warehouse_inventory"."qty_in_transist") AS "qty_in_transist", sum("product_warehouse_inventory"."qty_available_last_year") AS "qty_available_last_year", sum("product_warehouse_inventory"."qty_mtd_sold") AS "qty_mtd_sold", sum("product_warehouse_inventory"."qty_ytd_sold") AS "qty_ytd_sold", sum("product_warehouse_inventory"."qty_ytd_transfer_another") AS "qty_ytd_transfer_another", sum("product_warehouse_inventory"."qty_ytd_lost_sales") AS "qty_ytd_lost_sales", sum("product_warehouse_inventory"."qty_last_receive") AS "qty_last_receive", sum("product_warehouse_inventory"."qty_sold_last_year") AS "qty_sold_last_year", sum("product_warehouse_inventory"."qty_ly_transfer_another") AS "qty_ly_transfer_another", sum("product_warehouse_inventory"."mon_1_qty") AS "mon_1_qty", sum("product_warehouse_inventory"."mon_2_qty") AS "mon_2_qty", sum("product_warehouse_inventory"."mon_3_qty") AS "mon_3_qty", sum("product_warehouse_inventory"."mon_4_qty") AS "mon_4_qty", sum("product_warehouse_inventory"."mon_5_qty") AS "mon_5_qty", sum("product_warehouse_inventory"."mon_6_qty") AS "mon_6_qty", sum("product_warehouse_inventory"."mon_7_qty") AS "mon_7_qty", sum("product_warehouse_inventory"."mon_8_qty") AS "mon_8_qty", sum("product_warehouse_inventory"."mon_9_qty") AS "mon_9_qty", sum("product_warehouse_inventory"."mon_10_qty") AS "mon_10_qty", sum("product_warehouse_inventory"."mon_11_qty") AS "mon_11_qty", sum("product_warehouse_inventory"."mon_12_qty") AS "mon_12_qty", sum("product_warehouse_inventory"."unit_cost") AS "unit_cost", sum("product_warehouse_inventory"."loc_check_qty") AS "loc_check_qty", sum("product_warehouse_inventory"."rep_loc_check_qty") AS "rep_loc_check_qty", sum("product_warehouse_inventory"."last_intra_company_qty") AS "last_intra_company_qty", "product_warehouse_inventory"."warehouse_id" AS "warehouse_id" from "product_warehouse_inventory" left join "stock_warehouse" AS "product_warehouse_inventory__warehouse_id" on ("product_warehouse_inventory"."warehouse_id" = "product_warehouse_inventory__warehouse_id"."id") where (("product_warehouse_inventory"."inventory_vendor_id" = ?) and ((((("product_warehouse_inventory"."has_core" = true) or (("product_warehouse_inventory"."has_core" is null or "product_warehouse_inventory"."has_core" = false) and ("product_warehouse_inventory"."is_core" is null or "product_warehouse_inventory"."is_core" = false))) and ("product_warehouse_inventory"."stocking_flag" = true)) and ("product_warehouse_inventory"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where ("psd_custom_inventory_vendor"."purchase_agent_user" = ?)))) and "product_warehouse_inventory"."replenish_branch_id" is not null)) group by "product_warehouse_inventory"."warehouse_id", "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id" order by "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 07 11 109 27s944ms 256ms 12 222 1m10s 315ms 13 143 42s630ms 298ms -
SELECT min("product_warehouse_inventory".id) AS id, count("product_warehouse_inventory".id) AS "warehouse_id_count", sum("product_warehouse_inventory"."qty_available") AS "qty_available", sum("product_warehouse_inventory"."qty_reserve") AS "qty_reserve", sum("product_warehouse_inventory"."min_product_uom_qty") AS "min_product_uom_qty", sum("product_warehouse_inventory"."max_product_uom_qty") AS "max_product_uom_qty", sum("product_warehouse_inventory"."qty_on_order") AS "qty_on_order", sum("product_warehouse_inventory"."qty_on_perm_order") AS "qty_on_perm_order", sum("product_warehouse_inventory"."qty_shipped_not_invoiced") AS "qty_shipped_not_invoiced", sum("product_warehouse_inventory"."qty_in_transist") AS "qty_in_transist", sum("product_warehouse_inventory"."qty_available_last_year") AS "qty_available_last_year", sum("product_warehouse_inventory"."qty_mtd_sold") AS "qty_mtd_sold", sum("product_warehouse_inventory"."qty_ytd_sold") AS "qty_ytd_sold", sum("product_warehouse_inventory"."qty_ytd_transfer_another") AS "qty_ytd_transfer_another", sum("product_warehouse_inventory"."qty_ytd_lost_sales") AS "qty_ytd_lost_sales", sum("product_warehouse_inventory"."qty_last_receive") AS "qty_last_receive", sum("product_warehouse_inventory"."qty_sold_last_year") AS "qty_sold_last_year", sum("product_warehouse_inventory"."qty_ly_transfer_another") AS "qty_ly_transfer_another", sum("product_warehouse_inventory"."mon_1_qty") AS "mon_1_qty", sum("product_warehouse_inventory"."mon_2_qty") AS "mon_2_qty", sum("product_warehouse_inventory"."mon_3_qty") AS "mon_3_qty", sum("product_warehouse_inventory"."mon_4_qty") AS "mon_4_qty", sum("product_warehouse_inventory"."mon_5_qty") AS "mon_5_qty", sum("product_warehouse_inventory"."mon_6_qty") AS "mon_6_qty", sum("product_warehouse_inventory"."mon_7_qty") AS "mon_7_qty", sum("product_warehouse_inventory"."mon_8_qty") AS "mon_8_qty", sum("product_warehouse_inventory"."mon_9_qty") AS "mon_9_qty", sum("product_warehouse_inventory"."mon_10_qty") AS "mon_10_qty", sum("product_warehouse_inventory"."mon_11_qty") AS "mon_11_qty", sum("product_warehouse_inventory"."mon_12_qty") AS "mon_12_qty", sum("product_warehouse_inventory"."unit_cost") AS "unit_cost", sum("product_warehouse_inventory"."loc_check_qty") AS "loc_check_qty", sum("product_warehouse_inventory"."rep_loc_check_qty") AS "rep_loc_check_qty", sum("product_warehouse_inventory"."last_intra_company_qty") AS "last_intra_company_qty", "product_warehouse_inventory"."warehouse_id" as "warehouse_id" FROM "product_warehouse_inventory" LEFT JOIN "stock_warehouse" AS "product_warehouse_inventory__warehouse_id" ON ("product_warehouse_inventory"."warehouse_id" = "product_warehouse_inventory__warehouse_id"."id") WHERE (("product_warehouse_inventory"."inventory_vendor_id" = 3056) AND ((((("product_warehouse_inventory"."has_core" = true) OR (("product_warehouse_inventory"."has_core" IS NULL or "product_warehouse_inventory"."has_core" = false) AND ("product_warehouse_inventory"."is_core" IS NULL or "product_warehouse_inventory"."is_core" = false))) AND ("product_warehouse_inventory"."stocking_flag" = true)) AND ("product_warehouse_inventory"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE ("psd_custom_inventory_vendor"."purchase_agent_user" = 996)))) AND "product_warehouse_inventory"."replenish_branch_id" IS NOT NULL)) GROUP BY "product_warehouse_inventory"."warehouse_id", "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id" ORDER BY "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id";
Date: 2023-07-07 12:48:51 Duration: 584ms
-
SELECT min("product_warehouse_inventory".id) AS id, count("product_warehouse_inventory".id) AS "warehouse_id_count", sum("product_warehouse_inventory"."qty_available") AS "qty_available", sum("product_warehouse_inventory"."qty_reserve") AS "qty_reserve", sum("product_warehouse_inventory"."min_product_uom_qty") AS "min_product_uom_qty", sum("product_warehouse_inventory"."max_product_uom_qty") AS "max_product_uom_qty", sum("product_warehouse_inventory"."qty_on_order") AS "qty_on_order", sum("product_warehouse_inventory"."qty_on_perm_order") AS "qty_on_perm_order", sum("product_warehouse_inventory"."qty_shipped_not_invoiced") AS "qty_shipped_not_invoiced", sum("product_warehouse_inventory"."qty_in_transist") AS "qty_in_transist", sum("product_warehouse_inventory"."qty_available_last_year") AS "qty_available_last_year", sum("product_warehouse_inventory"."qty_mtd_sold") AS "qty_mtd_sold", sum("product_warehouse_inventory"."qty_ytd_sold") AS "qty_ytd_sold", sum("product_warehouse_inventory"."qty_ytd_transfer_another") AS "qty_ytd_transfer_another", sum("product_warehouse_inventory"."qty_ytd_lost_sales") AS "qty_ytd_lost_sales", sum("product_warehouse_inventory"."qty_last_receive") AS "qty_last_receive", sum("product_warehouse_inventory"."qty_sold_last_year") AS "qty_sold_last_year", sum("product_warehouse_inventory"."qty_ly_transfer_another") AS "qty_ly_transfer_another", sum("product_warehouse_inventory"."mon_1_qty") AS "mon_1_qty", sum("product_warehouse_inventory"."mon_2_qty") AS "mon_2_qty", sum("product_warehouse_inventory"."mon_3_qty") AS "mon_3_qty", sum("product_warehouse_inventory"."mon_4_qty") AS "mon_4_qty", sum("product_warehouse_inventory"."mon_5_qty") AS "mon_5_qty", sum("product_warehouse_inventory"."mon_6_qty") AS "mon_6_qty", sum("product_warehouse_inventory"."mon_7_qty") AS "mon_7_qty", sum("product_warehouse_inventory"."mon_8_qty") AS "mon_8_qty", sum("product_warehouse_inventory"."mon_9_qty") AS "mon_9_qty", sum("product_warehouse_inventory"."mon_10_qty") AS "mon_10_qty", sum("product_warehouse_inventory"."mon_11_qty") AS "mon_11_qty", sum("product_warehouse_inventory"."mon_12_qty") AS "mon_12_qty", sum("product_warehouse_inventory"."unit_cost") AS "unit_cost", sum("product_warehouse_inventory"."loc_check_qty") AS "loc_check_qty", sum("product_warehouse_inventory"."rep_loc_check_qty") AS "rep_loc_check_qty", sum("product_warehouse_inventory"."last_intra_company_qty") AS "last_intra_company_qty", "product_warehouse_inventory"."warehouse_id" as "warehouse_id" FROM "product_warehouse_inventory" LEFT JOIN "stock_warehouse" AS "product_warehouse_inventory__warehouse_id" ON ("product_warehouse_inventory"."warehouse_id" = "product_warehouse_inventory__warehouse_id"."id") WHERE (("product_warehouse_inventory"."inventory_vendor_id" = 3021) AND ((((("product_warehouse_inventory"."has_core" = true) OR (("product_warehouse_inventory"."has_core" IS NULL or "product_warehouse_inventory"."has_core" = false) AND ("product_warehouse_inventory"."is_core" IS NULL or "product_warehouse_inventory"."is_core" = false))) AND ("product_warehouse_inventory"."stocking_flag" = true)) AND ("product_warehouse_inventory"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE ("psd_custom_inventory_vendor"."purchase_agent_user" = 996)))) AND "product_warehouse_inventory"."replenish_branch_id" IS NOT NULL)) GROUP BY "product_warehouse_inventory"."warehouse_id", "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id" ORDER BY "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id";
Date: 2023-07-07 12:48:51 Duration: 577ms
-
SELECT min("product_warehouse_inventory".id) AS id, count("product_warehouse_inventory".id) AS "warehouse_id_count", sum("product_warehouse_inventory"."qty_available") AS "qty_available", sum("product_warehouse_inventory"."qty_reserve") AS "qty_reserve", sum("product_warehouse_inventory"."min_product_uom_qty") AS "min_product_uom_qty", sum("product_warehouse_inventory"."max_product_uom_qty") AS "max_product_uom_qty", sum("product_warehouse_inventory"."qty_on_order") AS "qty_on_order", sum("product_warehouse_inventory"."qty_on_perm_order") AS "qty_on_perm_order", sum("product_warehouse_inventory"."qty_shipped_not_invoiced") AS "qty_shipped_not_invoiced", sum("product_warehouse_inventory"."qty_in_transist") AS "qty_in_transist", sum("product_warehouse_inventory"."qty_available_last_year") AS "qty_available_last_year", sum("product_warehouse_inventory"."qty_mtd_sold") AS "qty_mtd_sold", sum("product_warehouse_inventory"."qty_ytd_sold") AS "qty_ytd_sold", sum("product_warehouse_inventory"."qty_ytd_transfer_another") AS "qty_ytd_transfer_another", sum("product_warehouse_inventory"."qty_ytd_lost_sales") AS "qty_ytd_lost_sales", sum("product_warehouse_inventory"."qty_last_receive") AS "qty_last_receive", sum("product_warehouse_inventory"."qty_sold_last_year") AS "qty_sold_last_year", sum("product_warehouse_inventory"."qty_ly_transfer_another") AS "qty_ly_transfer_another", sum("product_warehouse_inventory"."mon_1_qty") AS "mon_1_qty", sum("product_warehouse_inventory"."mon_2_qty") AS "mon_2_qty", sum("product_warehouse_inventory"."mon_3_qty") AS "mon_3_qty", sum("product_warehouse_inventory"."mon_4_qty") AS "mon_4_qty", sum("product_warehouse_inventory"."mon_5_qty") AS "mon_5_qty", sum("product_warehouse_inventory"."mon_6_qty") AS "mon_6_qty", sum("product_warehouse_inventory"."mon_7_qty") AS "mon_7_qty", sum("product_warehouse_inventory"."mon_8_qty") AS "mon_8_qty", sum("product_warehouse_inventory"."mon_9_qty") AS "mon_9_qty", sum("product_warehouse_inventory"."mon_10_qty") AS "mon_10_qty", sum("product_warehouse_inventory"."mon_11_qty") AS "mon_11_qty", sum("product_warehouse_inventory"."mon_12_qty") AS "mon_12_qty", sum("product_warehouse_inventory"."unit_cost") AS "unit_cost", sum("product_warehouse_inventory"."loc_check_qty") AS "loc_check_qty", sum("product_warehouse_inventory"."rep_loc_check_qty") AS "rep_loc_check_qty", sum("product_warehouse_inventory"."last_intra_company_qty") AS "last_intra_company_qty", "product_warehouse_inventory"."warehouse_id" as "warehouse_id" FROM "product_warehouse_inventory" LEFT JOIN "stock_warehouse" AS "product_warehouse_inventory__warehouse_id" ON ("product_warehouse_inventory"."warehouse_id" = "product_warehouse_inventory__warehouse_id"."id") WHERE (("product_warehouse_inventory"."inventory_vendor_id" = 3034) AND ((((("product_warehouse_inventory"."has_core" = true) OR (("product_warehouse_inventory"."has_core" IS NULL or "product_warehouse_inventory"."has_core" = false) AND ("product_warehouse_inventory"."is_core" IS NULL or "product_warehouse_inventory"."is_core" = false))) AND ("product_warehouse_inventory"."stocking_flag" = true)) AND ("product_warehouse_inventory"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE ("psd_custom_inventory_vendor"."purchase_agent_user" = 996)))) AND "product_warehouse_inventory"."replenish_branch_id" IS NOT NULL)) GROUP BY "product_warehouse_inventory"."warehouse_id", "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id" ORDER BY "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id";
Date: 2023-07-07 12:48:51 Duration: 573ms
13 457 58s118ms 120ms 219ms 127ms select "sale_line_report".id from "sale_line_report" where ("sale_line_report"."real_line_id" in (...)) order by "sale_line_report"."id";Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 07 11 28 3s600ms 128ms 12 49 6s186ms 126ms 13 50 6s335ms 126ms 14 49 6s357ms 129ms 15 59 7s385ms 125ms 16 32 3s991ms 124ms 17 48 5s994ms 124ms 18 49 6s125ms 125ms 19 54 6s887ms 127ms 20 39 5s253ms 134ms -
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (191310)) ORDER BY "sale_line_report"."id";
Date: 2023-07-07 19:42:23 Duration: 219ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (191392)) ORDER BY "sale_line_report"."id";
Date: 2023-07-07 20:44:45 Duration: 215ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (190554)) ORDER BY "sale_line_report"."id";
Date: 2023-07-07 11:13:20 Duration: 210ms
14 455 4m38s 208ms 1s825ms 611ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 07 09 3 2s219ms 739ms 11 39 23s366ms 599ms 12 62 37s398ms 603ms 13 78 47s31ms 602ms 14 67 39s239ms 585ms 15 54 31s218ms 578ms 16 29 17s853ms 615ms 17 38 22s799ms 599ms 18 53 38s4ms 717ms 19 13 7s736ms 595ms 20 19 11s337ms 596ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-07-07 18:15:26', "is_done" = true, "state" = 'done', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (492592, 356490, 491573);
Date: 2023-07-07 18:15:28 Duration: 1s825ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-07-07 14:05:52', "is_done" = true, "state" = 'done', "write_uid" = 1238, "write_date" = (now() at time zone 'UTC') WHERE id IN (493178, 493179, 493173);
Date: 2023-07-07 14:05:56 Duration: 1s790ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-07-07 13:44:30', "is_done" = true, "state" = 'done', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (492144, 492146);
Date: 2023-07-07 13:44:33 Duration: 1s706ms
15 436 4m14s 553ms 703ms 584ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 07 00 30 17s134ms 571ms 01 10 5s705ms 570ms 12 13 7s733ms 594ms 13 26 15s103ms 580ms 14 46 26s893ms 584ms 15 12 6s946ms 578ms 16 90 52s417ms 582ms 17 60 35s207ms 586ms 18 63 37s460ms 594ms 19 27 15s832ms 586ms 20 59 34s339ms 582ms -
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 ('%%121%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%12-1%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%12-1%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-07-07 18:09:09 Duration: 703ms
-
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 ('%%hd34003wcsmd%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hd34003wcsmd%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%hd34003wcsmd%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-07-07 19:00:54 Duration: 691ms
-
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 ('%%12170%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%12-170%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%12-170%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-07-07 18:09:10 Duration: 688ms
16 395 3m31s 121ms 4s424ms 534ms 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 Jul 07 09 1 133ms 133ms 10 1 2s107ms 2s107ms 11 53 39s386ms 743ms 12 49 32s602ms 665ms 13 96 50s995ms 531ms 14 29 11s739ms 404ms 15 23 9s560ms 415ms 16 18 7s236ms 402ms 17 42 14s52ms 334ms 18 35 18s316ms 523ms 19 37 15s843ms 428ms 20 11 9s152ms 832ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1023, "write_date" = (now() at time zone 'UTC') WHERE id IN (493731, 493732, 493733, 493734, 493735, 493736, 493737, 493738);
Date: 2023-07-07 18:43:12 Duration: 4s424ms
-
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (492915, 492916, 492917, 492918, 492919);
Date: 2023-07-07 13:01:50 Duration: 3s574ms
-
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (492556, 492557, 492558, 492559, 492560, 492561);
Date: 2023-07-07 11:07:47 Duration: 3s540ms
17 328 2m16s 121ms 2s99ms 416ms update "stock_quant" set "quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 07 09 5 2s464ms 492ms 11 7 2s149ms 307ms 12 19 7s613ms 400ms 13 37 12s8ms 324ms 14 32 11s761ms 367ms 15 41 16s462ms 401ms 16 26 12s863ms 494ms 17 50 19s700ms 394ms 18 54 31s476ms 582ms 19 22 7s661ms 348ms 20 35 12s334ms 352ms -
UPDATE "stock_quant" SET "quantity" = 2.0, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (318304, 300747, 238937, 272283, 246109, 88446, 85663);
Date: 2023-07-07 16:33:19 Duration: 2s99ms
-
UPDATE "stock_quant" SET "quantity" = 2.0, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (321248, 319626, 219759, 212022, 308858, 292891);
Date: 2023-07-07 18:11:15 Duration: 1s838ms
-
UPDATE "stock_quant" SET "quantity" = 2.0, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (321248, 319626, 219759, 212022, 308858, 292891);
Date: 2023-07-07 18:10:22 Duration: 1s772ms
18 321 1m22s 155ms 2s426ms 256ms update "sale_order_line" set "open_qty_fil" = ?.?, "qty_delivered_method" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 07 10 5 3s996ms 799ms 11 33 7s613ms 230ms 12 48 12s169ms 253ms 13 46 10s822ms 235ms 14 39 8s815ms 226ms 15 31 9s252ms 298ms 16 17 3s618ms 212ms 17 25 5s125ms 205ms 18 30 7s307ms 243ms 19 24 5s502ms 229ms 20 23 8s169ms 355ms -
UPDATE "sale_order_line" SET "open_qty_fil" = 1.0, "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (191361, 191362, 191297, 191268, 191298, 191306, 191357, 191342, 191343, 191345, 191285, 191353, 191292, 191261);
Date: 2023-07-07 20:14:12 Duration: 2s426ms
-
UPDATE "sale_order_line" SET "open_qty_fil" = 1.0, "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (190529, 190530, 190533, 190538, 190539, 190541, 190542, 190543, 190544, 190546, 190549, 190550, 190526, 190527);
Date: 2023-07-07 10:14:02 Duration: 2s245ms
-
UPDATE "sale_order_line" SET "open_qty_fil" = 1.0, "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (190638, 190639, 190641, 190642, 190643, 190644);
Date: 2023-07-07 12:12:45 Duration: 1s58ms
19 272 46s360ms 166ms 219ms 170ms select res_partner.id from "res_partner" where (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 07 11 3 514ms 171ms 12 4 724ms 181ms 13 5 857ms 171ms 14 2 355ms 177ms 15 229 38s946ms 170ms 16 20 3s412ms 170ms 17 1 169ms 169ms 20 8 1s380ms 172ms -
SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%27974%') OR unaccent (res_partner.display_name) ilike unaccent ('%27974%') OR unaccent (res_partner.ref) ilike unaccent ('%27974%') OR unaccent (res_partner.vat) ilike unaccent ('27974')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%27974%') desc, unaccent (res_partner.display_name);
Date: 2023-07-07 15:35:56 Duration: 219ms
-
SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%NOVA RUBBER%') OR unaccent (res_partner.display_name) ilike unaccent ('%NOVA RUBBER%') OR unaccent (res_partner.ref) ilike unaccent ('%NOVA RUBBER%') OR unaccent (res_partner.vat) ilike unaccent ('NOVARUBBER')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%NOVA RUBBER%') desc, unaccent (res_partner.display_name);
Date: 2023-07-07 12:13:26 Duration: 210ms
-
SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%24514%') OR unaccent (res_partner.display_name) ilike unaccent ('%24514%') OR unaccent (res_partner.ref) ilike unaccent ('%24514%') OR unaccent (res_partner.vat) ilike unaccent ('24514')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%24514%') desc, unaccent (res_partner.display_name);
Date: 2023-07-07 15:37:55 Duration: 205ms
20 266 47s790ms 121ms 275ms 179ms 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 ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) 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) order by "product_product"."default_code", coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name"), "product_product"."id" limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 07 10 14 2s449ms 174ms 11 29 5s200ms 179ms 12 30 5s626ms 187ms 13 43 7s957ms 185ms 14 19 3s358ms 176ms 15 9 1s675ms 186ms 16 11 1s911ms 173ms 17 51 8s784ms 172ms 18 9 1s732ms 192ms 19 21 3s890ms 185ms 20 30 5s203ms 173ms -
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 ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%4wtt%'))) 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", COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name"), "product_product"."id" LIMIT 8;
Date: 2023-07-07 15:05:07 Duration: 275ms
-
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 ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%mwco25%'))) 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", COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name"), "product_product"."id" LIMIT 8;
Date: 2023-07-07 14:00:09 Duration: 239ms
-
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 ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%KLK%'))) 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", COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name"), "product_product"."id" LIMIT 8;
Date: 2023-07-07 12:44:11 Duration: 236ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 3m42s 3m42s 3m42s 1 3m42s copy public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 07 09 1 3m42s 3m42s -
COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;
Date: 2023-07-07 09:07:09 Duration: 3m42s
2 231ms 15s619ms 2s189ms 109 3m58s update "stock_move" set "date" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 07 09 1 1s224ms 1s224ms 10 1 1s446ms 1s446ms 11 2 1s364ms 682ms 12 7 19s931ms 2s847ms 13 9 13s739ms 1s526ms 14 22 28s919ms 1s314ms 15 9 25s748ms 2s860ms 16 6 21s496ms 3s582ms 17 11 26s189ms 2s380ms 18 26 1m4s 2s465ms 19 12 17s752ms 1s479ms 20 3 16s695ms 5s565ms -
UPDATE "stock_move" SET "date" = '2023-07-07 20:14:54', "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (493901, 493902, 493903, 493904, 493905, 493906, 493907, 493908, 493909, 493910, 493911, 493913, 493914, 493915, 493916, 493917, 493919, 493920, 493921, 493922, 493923, 493924, 493925, 493926, 493927, 493928, 493929);
Date: 2023-07-07 20:15:10 Duration: 15s619ms
-
UPDATE "stock_move" SET "date" = '2023-07-07 12:27:20', "state" = 'done', "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (492744, 492746, 492509, 492510, 492512, 492514, 492515, 492516, 492517, 492518, 492519, 492520, 492521, 492522, 492523, 492525, 492526, 492527, 492528, 492530, 492532, 492533);
Date: 2023-07-07 12:27:34 Duration: 12s297ms
-
UPDATE "stock_move" SET "date" = '2023-07-07 16:32:58', "state" = 'done', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (487809, 487810, 487811, 487812, 487813, 487783, 487784, 487785, 487786, 487788, 487789, 487790, 487791, 487792, 487794, 487795, 487796, 487797, 487800, 487801, 487802, 487803, 487804, 487805, 487806);
Date: 2023-07-07 16:33:10 Duration: 12s194ms
3 1s104ms 1s517ms 1s216ms 130 2m38s select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 07 11 52 1m3s 1s218ms 12 3 3s430ms 1s143ms 13 12 14s147ms 1s178ms 14 6 7s570ms 1s261ms 15 9 11s172ms 1s241ms 16 4 4s641ms 1s160ms 19 23 27s952ms 1s215ms 20 21 25s783ms 1s227ms -
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-07-07 11:27:28 Duration: 1s517ms
-
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-07-07 14:41:18 Duration: 1s445ms
-
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-07-07 11:33:54 Duration: 1s386ms
4 872ms 1s220ms 914ms 223 3m23s 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 #4
Day Hour Count Duration Avg duration Jul 07 11 2 1s781ms 890ms 12 19 18s249ms 960ms 14 2 1s819ms 909ms 15 22 20s216ms 918ms 16 2 1s769ms 884ms 17 26 23s391ms 899ms 18 28 25s125ms 897ms 19 25 22s622ms 904ms 20 97 1m28s 917ms -
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 ('%200%') 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 ('%200%')))))) 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 ('%200%')))))) 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 ('%200%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%200%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%200%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-07-07 12:32:46 Duration: 1s220ms
-
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 ('%TR22676%') 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 ('%TR22676%')))))) 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 ('%TR22676%')))))) 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 ('%TR22676%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%TR22676%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%TR22676%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 10;
Date: 2023-07-07 20:11:28 Duration: 1s130ms
-
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 ('%OR27549%') 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 ('%OR27549%')))))) 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 ('%OR27549%')))))) 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 ('%OR27549%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%OR27549%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%OR27549%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-07-07 12:38:13 Duration: 1s58ms
5 875ms 1s177ms 913ms 201 3m3s select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 07 11 2 1s769ms 884ms 12 19 17s976ms 946ms 14 2 1s779ms 889ms 15 21 18s952ms 902ms 16 1 880ms 880ms 17 20 18s91ms 904ms 18 21 18s954ms 902ms 19 22 20s9ms 909ms 20 93 1m25s 915ms -
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%200%') 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 ('%200%')))))) 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 ('%200%')))))) 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 ('%200%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%200%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%200%'))));
Date: 2023-07-07 12:32:48 Duration: 1s177ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%neapco%') 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 ('%neapco%')))))) 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 ('%neapco%')))))) 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 ('%neapco%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%neapco%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%neapco%'))));
Date: 2023-07-07 19:29:32 Duration: 1s124ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%TR22%') 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 ('%TR22%')))))) 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 ('%TR22%')))))) 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 ('%TR22%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%TR22%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%TR22%'))));
Date: 2023-07-07 20:11:28 Duration: 1s104ms
6 699ms 1s436ms 746ms 709 8m49s 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 #6
Day Hour Count Duration Avg duration Jul 07 10 3 2s186ms 728ms 11 51 37s525ms 735ms 12 121 1m31s 753ms 13 112 1m23s 744ms 14 100 1m14s 748ms 15 62 46s80ms 743ms 16 58 43s331ms 747ms 17 65 48s890ms 752ms 18 41 30s815ms 751ms 19 61 45s210ms 741ms 20 32 23s829ms 744ms 21 2 1s490ms 745ms 23 1 726ms 726ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%k025273%')) 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 ('%k025273%'))) 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 ('%k025273%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%k025273%')))))) 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-07-07 12:48:53 Duration: 1s436ms
-
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 ('%489xhah%')) 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 ('%489xhah%'))) 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 ('%489xhah%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%489xhah%')))))) 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-07-07 12:31:24 Duration: 1s107ms
-
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 ('%e-10903%')) 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 ('%e-10903%'))) 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 ('%e-10903%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%e-10903%')))))) 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-07-07 16:39:14 Duration: 1s72ms
7 466ms 3s105ms 745ms 185 2m17s update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 07 09 3 1s696ms 565ms 11 9 6s672ms 741ms 12 20 13s840ms 692ms 13 28 19s768ms 706ms 14 15 13s415ms 894ms 15 24 17s760ms 740ms 16 21 14s650ms 697ms 17 25 17s282ms 691ms 18 16 15s256ms 953ms 19 17 12s322ms 724ms 20 7 5s322ms 760ms -
UPDATE "stock_move" SET "date" = '2023-07-07 12:30:30', "is_done" = true, "state" = 'done', "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (478285, 478286, 478267, 478268, 478269, 478270);
Date: 2023-07-07 12:30:38 Duration: 3s105ms
-
UPDATE "stock_move" SET "date" = '2023-07-07 18:29:22', "is_done" = true, "state" = 'done', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (493603, 493604, 493609, 493611, 493708, 490835);
Date: 2023-07-07 18:29:41 Duration: 3s100ms
-
UPDATE "stock_move" SET "date" = '2023-07-07 13:42:36', "is_done" = true, "state" = 'done', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (493093, 493107, 493108, 493109, 493110);
Date: 2023-07-07 13:42:46 Duration: 2s659ms
8 125ms 10s142ms 742ms 243 3m 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 #8
Day Hour Count Duration Avg duration Jul 07 10 1 8s69ms 8s69ms 11 24 14s710ms 612ms 12 35 26s625ms 760ms 13 35 23s138ms 661ms 14 32 21s469ms 670ms 15 23 18s882ms 820ms 16 18 11s426ms 634ms 17 23 10s136ms 440ms 18 27 18s430ms 682ms 19 17 11s713ms 689ms 20 8 15s904ms 1s988ms -
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 184089, "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 (493901, 493902, 493903, 493905, 493906, 493907, 493908, 493909, 493911, 493912, 493913, 493914, 493915, 493916, 493917, 493918, 493919, 493920, 493921, 493922, 493923, 493924, 493925, 493926, 493927, 493928, 493929);
Date: 2023-07-07 20:14:09 Duration: 10s142ms
-
UPDATE "stock_move" SET "branch_id" = 38, "picking_id" = 183240, "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 (492509, 492510, 492511, 492512, 492513, 492514, 492515, 492516, 492517, 492518, 492519, 492520, 492521, 492522, 492523, 492524, 492525, 492526, 492527, 492528, 492529, 492530, 492531, 492532, 492533);
Date: 2023-07-07 10:13:59 Duration: 8s69ms
-
UPDATE "stock_move" SET "branch_id" = 48, "picking_id" = 183708, "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 (493351, 493352, 493353, 493354, 493355, 493356, 493357, 493358, 493359);
Date: 2023-07-07 15:05:46 Duration: 3s352ms
9 208ms 1s825ms 611ms 455 4m38s update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 07 09 3 2s219ms 739ms 11 39 23s366ms 599ms 12 62 37s398ms 603ms 13 78 47s31ms 602ms 14 67 39s239ms 585ms 15 54 31s218ms 578ms 16 29 17s853ms 615ms 17 38 22s799ms 599ms 18 53 38s4ms 717ms 19 13 7s736ms 595ms 20 19 11s337ms 596ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-07-07 18:15:26', "is_done" = true, "state" = 'done', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (492592, 356490, 491573);
Date: 2023-07-07 18:15:28 Duration: 1s825ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-07-07 14:05:52', "is_done" = true, "state" = 'done', "write_uid" = 1238, "write_date" = (now() at time zone 'UTC') WHERE id IN (493178, 493179, 493173);
Date: 2023-07-07 14:05:56 Duration: 1s790ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-07-07 13:44:30', "is_done" = true, "state" = 'done', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (492144, 492146);
Date: 2023-07-07 13:44:33 Duration: 1s706ms
10 554ms 1s176ms 596ms 3,309 32m53s 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 #10
Day Hour Count Duration Avg duration Jul 07 09 13 7s532ms 579ms 10 64 37s126ms 580ms 11 305 2m59s 588ms 12 512 5m9s 604ms 13 490 4m54s 601ms 14 354 3m32s 599ms 15 302 3m 598ms 16 172 1m42s 594ms 17 264 2m36s 591ms 18 309 3m4s 596ms 19 335 3m17s 590ms 20 189 1m51s 589ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = '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 ('%%2b10%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2b10%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2b10%'))) 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-07-07 12:48:53 Duration: 1s176ms
-
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 ('%%k06063%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%k06063%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%k06063%'))) 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-07-07 13:54:31 Duration: 1s145ms
-
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 ('%%2b10%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2b10-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2b10-%'))) 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-07-07 12:48:53 Duration: 1s128ms
11 558ms 1s124ms 596ms 897 8m54s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 07 11 15 8s785ms 585ms 12 52 31s241ms 600ms 13 185 1m52s 607ms 14 55 32s756ms 595ms 15 51 30s665ms 601ms 16 29 17s148ms 591ms 17 93 54s746ms 588ms 18 290 2m52s 594ms 19 93 54s753ms 588ms 20 34 19s878ms 584ms -
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 ('%%pl1369%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%pl1369%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%pl1369%'))) 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-07-07 13:54:31 Duration: 1s124ms
-
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 ('%%pl1369%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%pl1369-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%pl1369-%'))) 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-07-07 13:54:32 Duration: 1s19ms
-
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 ('%%N654%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%N6.5-4-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%N6.5-4-%'))) 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-07-07 13:55:58 Duration: 814ms
12 553ms 703ms 584ms 436 4m14s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 07 00 30 17s134ms 571ms 01 10 5s705ms 570ms 12 13 7s733ms 594ms 13 26 15s103ms 580ms 14 46 26s893ms 584ms 15 12 6s946ms 578ms 16 90 52s417ms 582ms 17 60 35s207ms 586ms 18 63 37s460ms 594ms 19 27 15s832ms 586ms 20 59 34s339ms 582ms -
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 ('%%121%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%12-1%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%12-1%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-07-07 18:09:09 Duration: 703ms
-
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 ('%%hd34003wcsmd%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hd34003wcsmd%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%hd34003wcsmd%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-07-07 19:00:54 Duration: 691ms
-
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 ('%%12170%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%12-170%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%12-170%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-07-07 18:09:10 Duration: 688ms
13 121ms 4s424ms 534ms 395 3m31s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 07 09 1 133ms 133ms 10 1 2s107ms 2s107ms 11 53 39s386ms 743ms 12 49 32s602ms 665ms 13 96 50s995ms 531ms 14 29 11s739ms 404ms 15 23 9s560ms 415ms 16 18 7s236ms 402ms 17 42 14s52ms 334ms 18 35 18s316ms 523ms 19 37 15s843ms 428ms 20 11 9s152ms 832ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1023, "write_date" = (now() at time zone 'UTC') WHERE id IN (493731, 493732, 493733, 493734, 493735, 493736, 493737, 493738);
Date: 2023-07-07 18:43:12 Duration: 4s424ms
-
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (492915, 492916, 492917, 492918, 492919);
Date: 2023-07-07 13:01:50 Duration: 3s574ms
-
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (492556, 492557, 492558, 492559, 492560, 492561);
Date: 2023-07-07 11:07:47 Duration: 3s540ms
14 121ms 2s99ms 416ms 328 2m16s update "stock_quant" set "quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 07 09 5 2s464ms 492ms 11 7 2s149ms 307ms 12 19 7s613ms 400ms 13 37 12s8ms 324ms 14 32 11s761ms 367ms 15 41 16s462ms 401ms 16 26 12s863ms 494ms 17 50 19s700ms 394ms 18 54 31s476ms 582ms 19 22 7s661ms 348ms 20 35 12s334ms 352ms -
UPDATE "stock_quant" SET "quantity" = 2.0, "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (318304, 300747, 238937, 272283, 246109, 88446, 85663);
Date: 2023-07-07 16:33:19 Duration: 2s99ms
-
UPDATE "stock_quant" SET "quantity" = 2.0, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (321248, 319626, 219759, 212022, 308858, 292891);
Date: 2023-07-07 18:11:15 Duration: 1s838ms
-
UPDATE "stock_quant" SET "quantity" = 2.0, "write_uid" = 1006, "write_date" = (now() at time zone 'UTC') WHERE id IN (321248, 319626, 219759, 212022, 308858, 292891);
Date: 2023-07-07 18:10:22 Duration: 1s772ms
15 253ms 2s112ms 407ms 603 4m5s update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 07 09 2 834ms 417ms 10 2 511ms 255ms 11 43 17s184ms 399ms 12 83 37s525ms 452ms 13 107 42s316ms 395ms 14 92 34s947ms 379ms 15 72 26s682ms 370ms 16 35 13s659ms 390ms 17 48 19s486ms 405ms 18 53 23s639ms 446ms 19 28 10s603ms 378ms 20 38 18s555ms 488ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1025, "write_date" = (now() at time zone 'UTC') WHERE id IN (304648, 317271, 290936, 313789, 290878, 59487);
Date: 2023-07-07 12:27:48 Duration: 2s112ms
-
UPDATE "stock_quant" SET "quantity" = 1.0, "reserved_quantity" = 0.0, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (182633, 33834, 324451, 37710);
Date: 2023-07-07 20:15:15 Duration: 1s795ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (26214, 26346, 27723, 322862, 23870);
Date: 2023-07-07 14:40:23 Duration: 1s522ms
16 120ms 584ms 296ms 474 2m20s select min("product_warehouse_inventory".id) as id, count("product_warehouse_inventory".id) AS "warehouse_id_count", sum("product_warehouse_inventory"."qty_available") AS "qty_available", sum("product_warehouse_inventory"."qty_reserve") AS "qty_reserve", sum("product_warehouse_inventory"."min_product_uom_qty") AS "min_product_uom_qty", sum("product_warehouse_inventory"."max_product_uom_qty") AS "max_product_uom_qty", sum("product_warehouse_inventory"."qty_on_order") AS "qty_on_order", sum("product_warehouse_inventory"."qty_on_perm_order") AS "qty_on_perm_order", sum("product_warehouse_inventory"."qty_shipped_not_invoiced") AS "qty_shipped_not_invoiced", sum("product_warehouse_inventory"."qty_in_transist") AS "qty_in_transist", sum("product_warehouse_inventory"."qty_available_last_year") AS "qty_available_last_year", sum("product_warehouse_inventory"."qty_mtd_sold") AS "qty_mtd_sold", sum("product_warehouse_inventory"."qty_ytd_sold") AS "qty_ytd_sold", sum("product_warehouse_inventory"."qty_ytd_transfer_another") AS "qty_ytd_transfer_another", sum("product_warehouse_inventory"."qty_ytd_lost_sales") AS "qty_ytd_lost_sales", sum("product_warehouse_inventory"."qty_last_receive") AS "qty_last_receive", sum("product_warehouse_inventory"."qty_sold_last_year") AS "qty_sold_last_year", sum("product_warehouse_inventory"."qty_ly_transfer_another") AS "qty_ly_transfer_another", sum("product_warehouse_inventory"."mon_1_qty") AS "mon_1_qty", sum("product_warehouse_inventory"."mon_2_qty") AS "mon_2_qty", sum("product_warehouse_inventory"."mon_3_qty") AS "mon_3_qty", sum("product_warehouse_inventory"."mon_4_qty") AS "mon_4_qty", sum("product_warehouse_inventory"."mon_5_qty") AS "mon_5_qty", sum("product_warehouse_inventory"."mon_6_qty") AS "mon_6_qty", sum("product_warehouse_inventory"."mon_7_qty") AS "mon_7_qty", sum("product_warehouse_inventory"."mon_8_qty") AS "mon_8_qty", sum("product_warehouse_inventory"."mon_9_qty") AS "mon_9_qty", sum("product_warehouse_inventory"."mon_10_qty") AS "mon_10_qty", sum("product_warehouse_inventory"."mon_11_qty") AS "mon_11_qty", sum("product_warehouse_inventory"."mon_12_qty") AS "mon_12_qty", sum("product_warehouse_inventory"."unit_cost") AS "unit_cost", sum("product_warehouse_inventory"."loc_check_qty") AS "loc_check_qty", sum("product_warehouse_inventory"."rep_loc_check_qty") AS "rep_loc_check_qty", sum("product_warehouse_inventory"."last_intra_company_qty") AS "last_intra_company_qty", "product_warehouse_inventory"."warehouse_id" AS "warehouse_id" from "product_warehouse_inventory" left join "stock_warehouse" AS "product_warehouse_inventory__warehouse_id" on ("product_warehouse_inventory"."warehouse_id" = "product_warehouse_inventory__warehouse_id"."id") where (("product_warehouse_inventory"."inventory_vendor_id" = ?) and ((((("product_warehouse_inventory"."has_core" = true) or (("product_warehouse_inventory"."has_core" is null or "product_warehouse_inventory"."has_core" = false) and ("product_warehouse_inventory"."is_core" is null or "product_warehouse_inventory"."is_core" = false))) and ("product_warehouse_inventory"."stocking_flag" = true)) and ("product_warehouse_inventory"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where ("psd_custom_inventory_vendor"."purchase_agent_user" = ?)))) and "product_warehouse_inventory"."replenish_branch_id" is not null)) group by "product_warehouse_inventory"."warehouse_id", "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id" order by "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id";Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 07 11 109 27s944ms 256ms 12 222 1m10s 315ms 13 143 42s630ms 298ms -
SELECT min("product_warehouse_inventory".id) AS id, count("product_warehouse_inventory".id) AS "warehouse_id_count", sum("product_warehouse_inventory"."qty_available") AS "qty_available", sum("product_warehouse_inventory"."qty_reserve") AS "qty_reserve", sum("product_warehouse_inventory"."min_product_uom_qty") AS "min_product_uom_qty", sum("product_warehouse_inventory"."max_product_uom_qty") AS "max_product_uom_qty", sum("product_warehouse_inventory"."qty_on_order") AS "qty_on_order", sum("product_warehouse_inventory"."qty_on_perm_order") AS "qty_on_perm_order", sum("product_warehouse_inventory"."qty_shipped_not_invoiced") AS "qty_shipped_not_invoiced", sum("product_warehouse_inventory"."qty_in_transist") AS "qty_in_transist", sum("product_warehouse_inventory"."qty_available_last_year") AS "qty_available_last_year", sum("product_warehouse_inventory"."qty_mtd_sold") AS "qty_mtd_sold", sum("product_warehouse_inventory"."qty_ytd_sold") AS "qty_ytd_sold", sum("product_warehouse_inventory"."qty_ytd_transfer_another") AS "qty_ytd_transfer_another", sum("product_warehouse_inventory"."qty_ytd_lost_sales") AS "qty_ytd_lost_sales", sum("product_warehouse_inventory"."qty_last_receive") AS "qty_last_receive", sum("product_warehouse_inventory"."qty_sold_last_year") AS "qty_sold_last_year", sum("product_warehouse_inventory"."qty_ly_transfer_another") AS "qty_ly_transfer_another", sum("product_warehouse_inventory"."mon_1_qty") AS "mon_1_qty", sum("product_warehouse_inventory"."mon_2_qty") AS "mon_2_qty", sum("product_warehouse_inventory"."mon_3_qty") AS "mon_3_qty", sum("product_warehouse_inventory"."mon_4_qty") AS "mon_4_qty", sum("product_warehouse_inventory"."mon_5_qty") AS "mon_5_qty", sum("product_warehouse_inventory"."mon_6_qty") AS "mon_6_qty", sum("product_warehouse_inventory"."mon_7_qty") AS "mon_7_qty", sum("product_warehouse_inventory"."mon_8_qty") AS "mon_8_qty", sum("product_warehouse_inventory"."mon_9_qty") AS "mon_9_qty", sum("product_warehouse_inventory"."mon_10_qty") AS "mon_10_qty", sum("product_warehouse_inventory"."mon_11_qty") AS "mon_11_qty", sum("product_warehouse_inventory"."mon_12_qty") AS "mon_12_qty", sum("product_warehouse_inventory"."unit_cost") AS "unit_cost", sum("product_warehouse_inventory"."loc_check_qty") AS "loc_check_qty", sum("product_warehouse_inventory"."rep_loc_check_qty") AS "rep_loc_check_qty", sum("product_warehouse_inventory"."last_intra_company_qty") AS "last_intra_company_qty", "product_warehouse_inventory"."warehouse_id" as "warehouse_id" FROM "product_warehouse_inventory" LEFT JOIN "stock_warehouse" AS "product_warehouse_inventory__warehouse_id" ON ("product_warehouse_inventory"."warehouse_id" = "product_warehouse_inventory__warehouse_id"."id") WHERE (("product_warehouse_inventory"."inventory_vendor_id" = 3056) AND ((((("product_warehouse_inventory"."has_core" = true) OR (("product_warehouse_inventory"."has_core" IS NULL or "product_warehouse_inventory"."has_core" = false) AND ("product_warehouse_inventory"."is_core" IS NULL or "product_warehouse_inventory"."is_core" = false))) AND ("product_warehouse_inventory"."stocking_flag" = true)) AND ("product_warehouse_inventory"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE ("psd_custom_inventory_vendor"."purchase_agent_user" = 996)))) AND "product_warehouse_inventory"."replenish_branch_id" IS NOT NULL)) GROUP BY "product_warehouse_inventory"."warehouse_id", "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id" ORDER BY "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id";
Date: 2023-07-07 12:48:51 Duration: 584ms
-
SELECT min("product_warehouse_inventory".id) AS id, count("product_warehouse_inventory".id) AS "warehouse_id_count", sum("product_warehouse_inventory"."qty_available") AS "qty_available", sum("product_warehouse_inventory"."qty_reserve") AS "qty_reserve", sum("product_warehouse_inventory"."min_product_uom_qty") AS "min_product_uom_qty", sum("product_warehouse_inventory"."max_product_uom_qty") AS "max_product_uom_qty", sum("product_warehouse_inventory"."qty_on_order") AS "qty_on_order", sum("product_warehouse_inventory"."qty_on_perm_order") AS "qty_on_perm_order", sum("product_warehouse_inventory"."qty_shipped_not_invoiced") AS "qty_shipped_not_invoiced", sum("product_warehouse_inventory"."qty_in_transist") AS "qty_in_transist", sum("product_warehouse_inventory"."qty_available_last_year") AS "qty_available_last_year", sum("product_warehouse_inventory"."qty_mtd_sold") AS "qty_mtd_sold", sum("product_warehouse_inventory"."qty_ytd_sold") AS "qty_ytd_sold", sum("product_warehouse_inventory"."qty_ytd_transfer_another") AS "qty_ytd_transfer_another", sum("product_warehouse_inventory"."qty_ytd_lost_sales") AS "qty_ytd_lost_sales", sum("product_warehouse_inventory"."qty_last_receive") AS "qty_last_receive", sum("product_warehouse_inventory"."qty_sold_last_year") AS "qty_sold_last_year", sum("product_warehouse_inventory"."qty_ly_transfer_another") AS "qty_ly_transfer_another", sum("product_warehouse_inventory"."mon_1_qty") AS "mon_1_qty", sum("product_warehouse_inventory"."mon_2_qty") AS "mon_2_qty", sum("product_warehouse_inventory"."mon_3_qty") AS "mon_3_qty", sum("product_warehouse_inventory"."mon_4_qty") AS "mon_4_qty", sum("product_warehouse_inventory"."mon_5_qty") AS "mon_5_qty", sum("product_warehouse_inventory"."mon_6_qty") AS "mon_6_qty", sum("product_warehouse_inventory"."mon_7_qty") AS "mon_7_qty", sum("product_warehouse_inventory"."mon_8_qty") AS "mon_8_qty", sum("product_warehouse_inventory"."mon_9_qty") AS "mon_9_qty", sum("product_warehouse_inventory"."mon_10_qty") AS "mon_10_qty", sum("product_warehouse_inventory"."mon_11_qty") AS "mon_11_qty", sum("product_warehouse_inventory"."mon_12_qty") AS "mon_12_qty", sum("product_warehouse_inventory"."unit_cost") AS "unit_cost", sum("product_warehouse_inventory"."loc_check_qty") AS "loc_check_qty", sum("product_warehouse_inventory"."rep_loc_check_qty") AS "rep_loc_check_qty", sum("product_warehouse_inventory"."last_intra_company_qty") AS "last_intra_company_qty", "product_warehouse_inventory"."warehouse_id" as "warehouse_id" FROM "product_warehouse_inventory" LEFT JOIN "stock_warehouse" AS "product_warehouse_inventory__warehouse_id" ON ("product_warehouse_inventory"."warehouse_id" = "product_warehouse_inventory__warehouse_id"."id") WHERE (("product_warehouse_inventory"."inventory_vendor_id" = 3021) AND ((((("product_warehouse_inventory"."has_core" = true) OR (("product_warehouse_inventory"."has_core" IS NULL or "product_warehouse_inventory"."has_core" = false) AND ("product_warehouse_inventory"."is_core" IS NULL or "product_warehouse_inventory"."is_core" = false))) AND ("product_warehouse_inventory"."stocking_flag" = true)) AND ("product_warehouse_inventory"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE ("psd_custom_inventory_vendor"."purchase_agent_user" = 996)))) AND "product_warehouse_inventory"."replenish_branch_id" IS NOT NULL)) GROUP BY "product_warehouse_inventory"."warehouse_id", "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id" ORDER BY "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id";
Date: 2023-07-07 12:48:51 Duration: 577ms
-
SELECT min("product_warehouse_inventory".id) AS id, count("product_warehouse_inventory".id) AS "warehouse_id_count", sum("product_warehouse_inventory"."qty_available") AS "qty_available", sum("product_warehouse_inventory"."qty_reserve") AS "qty_reserve", sum("product_warehouse_inventory"."min_product_uom_qty") AS "min_product_uom_qty", sum("product_warehouse_inventory"."max_product_uom_qty") AS "max_product_uom_qty", sum("product_warehouse_inventory"."qty_on_order") AS "qty_on_order", sum("product_warehouse_inventory"."qty_on_perm_order") AS "qty_on_perm_order", sum("product_warehouse_inventory"."qty_shipped_not_invoiced") AS "qty_shipped_not_invoiced", sum("product_warehouse_inventory"."qty_in_transist") AS "qty_in_transist", sum("product_warehouse_inventory"."qty_available_last_year") AS "qty_available_last_year", sum("product_warehouse_inventory"."qty_mtd_sold") AS "qty_mtd_sold", sum("product_warehouse_inventory"."qty_ytd_sold") AS "qty_ytd_sold", sum("product_warehouse_inventory"."qty_ytd_transfer_another") AS "qty_ytd_transfer_another", sum("product_warehouse_inventory"."qty_ytd_lost_sales") AS "qty_ytd_lost_sales", sum("product_warehouse_inventory"."qty_last_receive") AS "qty_last_receive", sum("product_warehouse_inventory"."qty_sold_last_year") AS "qty_sold_last_year", sum("product_warehouse_inventory"."qty_ly_transfer_another") AS "qty_ly_transfer_another", sum("product_warehouse_inventory"."mon_1_qty") AS "mon_1_qty", sum("product_warehouse_inventory"."mon_2_qty") AS "mon_2_qty", sum("product_warehouse_inventory"."mon_3_qty") AS "mon_3_qty", sum("product_warehouse_inventory"."mon_4_qty") AS "mon_4_qty", sum("product_warehouse_inventory"."mon_5_qty") AS "mon_5_qty", sum("product_warehouse_inventory"."mon_6_qty") AS "mon_6_qty", sum("product_warehouse_inventory"."mon_7_qty") AS "mon_7_qty", sum("product_warehouse_inventory"."mon_8_qty") AS "mon_8_qty", sum("product_warehouse_inventory"."mon_9_qty") AS "mon_9_qty", sum("product_warehouse_inventory"."mon_10_qty") AS "mon_10_qty", sum("product_warehouse_inventory"."mon_11_qty") AS "mon_11_qty", sum("product_warehouse_inventory"."mon_12_qty") AS "mon_12_qty", sum("product_warehouse_inventory"."unit_cost") AS "unit_cost", sum("product_warehouse_inventory"."loc_check_qty") AS "loc_check_qty", sum("product_warehouse_inventory"."rep_loc_check_qty") AS "rep_loc_check_qty", sum("product_warehouse_inventory"."last_intra_company_qty") AS "last_intra_company_qty", "product_warehouse_inventory"."warehouse_id" as "warehouse_id" FROM "product_warehouse_inventory" LEFT JOIN "stock_warehouse" AS "product_warehouse_inventory__warehouse_id" ON ("product_warehouse_inventory"."warehouse_id" = "product_warehouse_inventory__warehouse_id"."id") WHERE (("product_warehouse_inventory"."inventory_vendor_id" = 3034) AND ((((("product_warehouse_inventory"."has_core" = true) OR (("product_warehouse_inventory"."has_core" IS NULL or "product_warehouse_inventory"."has_core" = false) AND ("product_warehouse_inventory"."is_core" IS NULL or "product_warehouse_inventory"."is_core" = false))) AND ("product_warehouse_inventory"."stocking_flag" = true)) AND ("product_warehouse_inventory"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE ("psd_custom_inventory_vendor"."purchase_agent_user" = 996)))) AND "product_warehouse_inventory"."replenish_branch_id" IS NOT NULL)) GROUP BY "product_warehouse_inventory"."warehouse_id", "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id" ORDER BY "product_warehouse_inventory__warehouse_id"."sequence", "product_warehouse_inventory__warehouse_id"."id";
Date: 2023-07-07 12:48:51 Duration: 573ms
17 155ms 2s426ms 256ms 321 1m22s update "sale_order_line" set "open_qty_fil" = ?.?, "qty_delivered_method" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 07 10 5 3s996ms 799ms 11 33 7s613ms 230ms 12 48 12s169ms 253ms 13 46 10s822ms 235ms 14 39 8s815ms 226ms 15 31 9s252ms 298ms 16 17 3s618ms 212ms 17 25 5s125ms 205ms 18 30 7s307ms 243ms 19 24 5s502ms 229ms 20 23 8s169ms 355ms -
UPDATE "sale_order_line" SET "open_qty_fil" = 1.0, "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (191361, 191362, 191297, 191268, 191298, 191306, 191357, 191342, 191343, 191345, 191285, 191353, 191292, 191261);
Date: 2023-07-07 20:14:12 Duration: 2s426ms
-
UPDATE "sale_order_line" SET "open_qty_fil" = 1.0, "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (190529, 190530, 190533, 190538, 190539, 190541, 190542, 190543, 190544, 190546, 190549, 190550, 190526, 190527);
Date: 2023-07-07 10:14:02 Duration: 2s245ms
-
UPDATE "sale_order_line" SET "open_qty_fil" = 1.0, "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (190638, 190639, 190641, 190642, 190643, 190644);
Date: 2023-07-07 12:12:45 Duration: 1s58ms
18 169ms 588ms 247ms 2,714 11m12s select id from product_warehouse_inventory where loc_check_qty < max_product_uom_qty;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 07 11 777 3m8s 242ms 12 1,221 5m8s 252ms 13 716 2m55s 245ms -
select id from product_warehouse_inventory where loc_check_qty < max_product_uom_qty;
Date: 2023-07-07 12:48:52 Duration: 588ms
-
select id from product_warehouse_inventory where loc_check_qty < max_product_uom_qty;
Date: 2023-07-07 12:48:52 Duration: 489ms
-
select id from product_warehouse_inventory where loc_check_qty < max_product_uom_qty;
Date: 2023-07-07 12:48:51 Duration: 479ms
19 120ms 465ms 211ms 1,855 6m32s 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 #19
Day Hour Count Duration Avg duration Jul 07 00 7 1s31ms 147ms 01 4 634ms 158ms 02 6 929ms 154ms 03 8 1s260ms 157ms 04 4 632ms 158ms 05 19 3s138ms 165ms 06 8 1s210ms 151ms 07 9 1s446ms 160ms 08 14 2s204ms 157ms 09 11 1s737ms 157ms 10 16 2s566ms 160ms 11 16 2s892ms 180ms 12 152 33s628ms 221ms 13 302 1m4s 212ms 14 256 1m5s 254ms 15 183 36s858ms 201ms 16 308 1m9s 224ms 17 174 33s251ms 191ms 18 183 35s328ms 193ms 19 123 25s931ms 210ms 20 44 8s102ms 184ms 21 6 921ms 153ms 22 1 135ms 135ms 23 1 156ms 156ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-07-07 14:50:52') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19509]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",90]', '["pointspring_master","mail.channel",91]', '["pointspring_master","mail.channel",92]', '["pointspring_master","mail.channel",93]', '["pointspring_master","mail.channel",433]', '["pointspring_master","res.partner",19509]', '["pointspring_master","ir.needaction",19509]'))) ORDER BY "bus_bus"."id";
Date: 2023-07-07 14:51:42 Duration: 465ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-07-07 14:50:52') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19539]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",59]', '["pointspring_master","mail.channel",60]', '["pointspring_master","mail.channel",248]', '["pointspring_master","mail.channel",252]', '["pointspring_master","mail.channel",340]', '["pointspring_master","mail.channel",442]', '["pointspring_master","mail.channel",449]', '["pointspring_master","mail.channel",453]', '["pointspring_master","mail.channel",476]', '["pointspring_master","mail.channel",485]', '["pointspring_master","mail.channel",487]', '["pointspring_master","mail.channel",496]', '["pointspring_master","mail.channel",497]', '["pointspring_master","mail.channel",512]', '["pointspring_master","mail.channel",530]', '["pointspring_master","res.partner",19539]', '["pointspring_master","ir.needaction",19539]'))) ORDER BY "bus_bus"."id";
Date: 2023-07-07 14:51:42 Duration: 442ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-07-07 14:50:52') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1017"', '["pointspring_master","calendar.alarm",19555]', '["pointspring_master","mail.channel",1]', '["pointspring_master","mail.channel",36]', '["pointspring_master","mail.channel",41]', '["pointspring_master","mail.channel",42]', '["pointspring_master","mail.channel",503]', '["pointspring_master","mail.channel",515]', '["pointspring_master","res.partner",19555]', '["pointspring_master","ir.needaction",19555]'))) ORDER BY "bus_bus"."id";
Date: 2023-07-07 14:51:42 Duration: 437ms
20 198ms 429ms 205ms 1,897 6m30s select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 07 00 9 1s811ms 201ms 01 6 1s204ms 200ms 08 3 597ms 199ms 09 3 596ms 198ms 10 15 2s988ms 199ms 11 140 28s364ms 202ms 12 280 57s701ms 206ms 13 232 48s643ms 209ms 14 316 1m5s 207ms 15 242 49s643ms 205ms 16 109 22s58ms 202ms 17 209 42s901ms 205ms 18 172 35s595ms 206ms 19 120 24s382ms 203ms 20 39 7s995ms 205ms 23 2 401ms 200ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-9ded8a0/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-07-07 15:04:13 Duration: 429ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web_editor.assets_wysiwyg.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-ba98edb/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-07-07 13:55:58 Duration: 383ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.report_assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5826980/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-07-07 14:37:17 Duration: 360ms
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
- 121,187 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 45745 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 44,432 Max number of times the same event was reported
- 45,745 Total events found
Rank Times reported Error 1 44,432 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 07 04 554 05 43,435 06 81 09 1 11 44 12 70 13 32 14 41 15 34 16 26 17 29 18 29 19 35 20 20 23 1 - ERROR: could not serialize access due to concurrent update
Statement: SELECT * FROM website_visitor where id = 4482986 FOR NO KEY UPDATE NOWAIT
Date: 2023-07-07 04:55:03
2 1,287 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 07 00 39 01 41 02 35 03 10 04 11 05 899 06 8 07 40 08 11 09 10 10 23 11 13 12 11 13 12 14 14 15 12 16 21 17 9 18 15 19 12 20 9 21 8 22 12 23 12 - ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "website_visitor"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=67 FOR UPDATE NOWAIT
Date: 2023-07-07 23:50:11
Statement: SELECT * FROM website_visitor where id = 4482987 FOR NO KEY UPDATE NOWAIT
Date: 2023-07-07 05:03:04
3 20 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 07 12 2 13 5 14 4 15 1 16 3 17 3 18 2 - ERROR: process 1580808 still waiting for ShareLock on transaction 194751429 after 1000.051 ms
- ERROR: process 1578792 still waiting for ShareLock on transaction 194758996 after 1000.052 ms
- ERROR: process 1578760 still waiting for ShareLock on transaction 194763222 after 1000.040 ms
Detail: Process holding the lock: 1580120. Wait queue: 1580808.
Context: while updating tuple (1703,35) in relation "account_move"
Statement: UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 743290 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 != 743290 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-07-07 12:13:12
Detail: Process holding the lock: 1581763. Wait queue: 1578792.
Context: while updating tuple (1664,22) in relation "account_move"
Statement: UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 743449 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 != 743449 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-07-07 12:52:55
Detail: Process holding the lock: 1580714. Wait queue: 1578760.
Context: while updating tuple (1753,25) in relation "account_move"
Statement: UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 743569 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 != 743569 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-07-07 13:20:28
4 2 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 07 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-07-07 10:17:01
5 2 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #5
Day Hour Count Jul 07 13 1 14 1 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM monthly_statement_line WHERE id IN (532262, 532172, 532171, 532174, 532213, 532173, 532214, 532215, 532175, 532176, 532219, 532220, 532216, 532217, 532218, 532221, 532177, 532222, 532225, 532226, 532224, 532223, 532228, 532178, 532227, 532229, 532179, 532230, 532180, 532231, 532181, 532182, 532183, 532232, 532233, 532187, 532235, 532234, 532263, 532184, 532185, 532186, 532236, 532189, 532190, 532191, 532238, 532237, 532188, 532192, 532239, 532241, 532240, 532244, 532194, 532193, 532242, 532243, 532245, 532196, 532195, 532211, 532246, 532198, 532200, 532199, 532197, 532248, 532249, 532247, 532201, 532251, 532212, 532250, 532205, 532203, 532202, 532252, 532204, 532207, 532206, 532253, 532254, 532208, 532255, 532209, 532256, 532257, 532258, 532259, 532261, 532210, 532260)
Date: 2023-07-07 13:43:13
6 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Jul 07 20 1 - ERROR: duplicate key value violates unique constraint "fleet_vehicle_vehicle_unit_no_driver_id_unique"
Detail: Key (vehicle_unit_no, driver_id)=(1, 37953) 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'), 979, (now() at time zone 'UTC'), 979, (now() at time zone 'UTC'), '2023-07-07', true, 104, 0.0, 0.0, NULL, 1, NULL, 5, 37953, '2023-07-07', NULL, NULL, 0, 0.0, 'lyb7317', NULL, 2, 153, 25, NULL, '06', 0.0, NULL, 'miles', 0, 0.0, 0, 3, NULL, '1', 'b706918') RETURNING idDate: 2023-07-07 20:10:41
7 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Jul 07 09 1 - ERROR: syntax error at or near ";" at character 741
Statement: UPDATE product_warehouse_inventory set qty_reserve = sumqty from ( select sum(sm.product_uom_qty) as sumqty,pw.product_id ,pw.warehouse_id from product_warehouse_inventory as pw left join stock_move as sm on pw.product_id = sm.product_id and pw.warehouse_id =sm.warehouse_id and pw.company_id = sm.company_id and sm.location_dest_id in (5,15,468) and sm.state not in ('done','draft','cancel') group BY pw.product_id,pw.warehouse_id) as subquery where product_warehouse_inventory.product_id=subquery.product_id and product_warehouse_inventory.warehouse_id =subquery.warehouse_id and product_warehouse_inventory.product_id in (3) and product_warehouse_inventory.warehouse_id = ;
Date: 2023-07-07 09:11:52