-
Global information
- Generated on Thu Jan 25 00:50:11 2024
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 316,600 log entries in 10s
- Log start from 2024-01-24 00:00:00 to 2024-01-24 23:59:32
-
Overview
Global Stats
- 1,286 Number of unique normalized queries
- 103,856 Number of queries
- 10h38m13s Total query duration
- 2024-01-24 00:00:00 First query
- 2024-01-24 23:59:32 Last query
- 62 queries/s at 2024-01-24 17:33:55 Query peak
- 10h38m13s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 10h38m13s Execute total duration
- 7,409 Number of events
- 11 Number of unique normalized events
- 6,342 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
- 103,856 Average queries per session
- 10h38m13s 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
- 62 queries/s Query Peak
- 2024-01-24 17:33:55 Date
SELECT Traffic
Key values
- 62 queries/s Query Peak
- 2024-01-24 17:33:55 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 13 queries/s Query Peak
- 2024-01-24 12:55:58 Date
Queries duration
Key values
- 10h38m13s 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) Jan 24 00 780 120ms 3s443ms 393ms 15s150ms 19s455ms 27s369ms 01 1,312 0ms 2s288ms 308ms 10s167ms 12s709ms 15s268ms 02 1,307 0ms 467ms 304ms 12s131ms 13s413ms 13s967ms 03 1,455 120ms 4s377ms 297ms 13s989ms 14s232ms 16s746ms 04 629 0ms 1s393ms 296ms 12s524ms 13s265ms 13s913ms 05 69 0ms 429ms 203ms 2s518ms 3s677ms 3s906ms 06 263 0ms 420ms 164ms 2s107ms 3s281ms 4s152ms 07 331 0ms 11s641ms 505ms 15s202ms 18s644ms 43s648ms 08 1,583 120ms 11s584ms 317ms 14s358ms 15s659ms 30s490ms 09 1,500 120ms 3m50s 865ms 59s684ms 1m38s 4m15s 10 2,075 120ms 52s44ms 668ms 55s68ms 1m5s 1m39s 11 1,292 0ms 6s952ms 342ms 11s963ms 13s906ms 27s355ms 12 6,493 120ms 10s315ms 374ms 1m18s 1m26s 2m28s 13 15,528 120ms 20s361ms 351ms 2m14s 2m21s 3m19s 14 12,154 120ms 17s512ms 349ms 1m48s 2m11s 2m43s 15 9,619 120ms 21s54ms 390ms 1m50s 2m7s 2m50s 16 7,877 120ms 10s132ms 357ms 1m19s 1m27s 2m6s 17 7,747 120ms 9s388ms 372ms 1m27s 1m35s 1m58s 18 8,625 120ms 18s435ms 366ms 1m28s 1m40s 1m58s 19 8,846 120ms 53s835ms 334ms 1m17s 1m41s 2m18s 20 7,056 120ms 18s716ms 337ms 1m9s 1m31s 2m25s 21 4,001 120ms 4s467ms 362ms 44s173ms 54s531ms 1m35s 22 2,037 120ms 7s676ms 331ms 21s812ms 29s639ms 37s601ms 23 1,277 120ms 15s912ms 387ms 24s786ms 33s114ms 38s584ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 24 00 708 0 398ms 9s772ms 14s647ms 24s932ms 01 1,312 0 308ms 9s226ms 10s167ms 13s513ms 02 1,307 0 304ms 9s923ms 12s131ms 13s658ms 03 1,453 0 293ms 11s647ms 13s989ms 14s961ms 04 625 0 296ms 7s196ms 11s885ms 13s913ms 05 69 0 203ms 247ms 2s518ms 3s906ms 06 263 0 164ms 1s161ms 2s107ms 4s152ms 07 329 0 468ms 4s710ms 7s430ms 43s648ms 08 1,574 0 308ms 13s51ms 14s358ms 15s891ms 09 1,379 94 764ms 15s591ms 45s88ms 1m45s 10 1,945 0 239ms 11s286ms 15s669ms 17s954ms 11 1,242 0 332ms 10s486ms 11s636ms 13s906ms 12 5,328 0 354ms 47s655ms 55s900ms 1m15s 13 12,602 0 321ms 1m31s 1m38s 2m4s 14 9,855 0 315ms 1m6s 1m25s 2m8s 15 8,496 0 385ms 1m19s 1m37s 1m59s 16 7,001 0 340ms 57s503ms 1m11s 1m18s 17 6,506 0 357ms 59s891ms 1m19s 1m28s 18 7,281 0 337ms 1m 1m13s 1m28s 19 7,801 0 308ms 55s498ms 1m2s 1m13s 20 6,182 0 311ms 47s207ms 56s659ms 1m25s 21 3,183 0 359ms 25s12ms 40s932ms 47s126ms 22 1,805 0 317ms 13s573ms 18s343ms 27s495ms 23 1,255 0 300ms 10s959ms 15s85ms 19s374ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 24 00 2 70 0 0 342ms 0ms 503ms 3s443ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 2 0 3s19ms 0ms 0ms 0ms 04 0 4 0 0 321ms 0ms 0ms 640ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 2 0 6s640ms 0ms 0ms 0ms 08 0 1 3 0 3s578ms 0ms 0ms 749ms 09 0 3 24 0 6s333ms 0ms 0ms 28s897ms 10 0 5 125 0 7s94ms 15s837ms 34s769ms 55s135ms 11 0 50 0 0 580ms 0ms 0ms 1s356ms 12 27 1,129 8 0 465ms 6s288ms 13s779ms 31s125ms 13 132 2,735 47 0 480ms 24s221ms 34s244ms 47s840ms 14 118 2,093 70 0 495ms 18s143ms 27s909ms 41s256ms 15 72 1,004 33 0 434ms 8s408ms 11s79ms 17s433ms 16 36 822 13 0 498ms 7s740ms 11s93ms 24s914ms 17 47 1,170 10 0 449ms 7s410ms 17s47ms 26s411ms 18 35 1,252 47 0 524ms 9s599ms 18s341ms 32s1ms 19 35 989 15 0 534ms 7s558ms 14s765ms 28s13ms 20 11 839 19 0 519ms 5s634ms 12s16ms 30s702ms 21 5 806 5 0 375ms 4s22ms 8s56ms 18s64ms 22 7 220 5 0 438ms 244ms 998ms 12s794ms 23 0 3 19 0 5s356ms 0ms 0ms 20s428ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jan 24 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 Jan 24 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 Jan 24 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 Jan 24 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 Jan 24 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) Jan 24 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 Jan 24 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 Jan 24 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 Jan 24 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
- 43 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 1m54s 1m54s 1m54s 1m54s insert into "edi_856_asn_header" ("id", "create_uid", "create_date", "write_uid", "write_date", "asn_date", "asn_number", "asn_time", "config_id", "edi_file", "errors", "inventory_vendor_id", "notes", "ship_date", "ship_time", "vendor_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), ?, ?, ?, ?, ?, ?, ?, ?, null, null, ?) returning id;-
INSERT INTO "edi_856_asn_header" ("id", "create_uid", "create_date", "write_uid", "write_date", "asn_date", "asn_number", "asn_time", "config_id", "edi_file", "errors", "inventory_vendor_id", "notes", "ship_date", "ship_time", "vendor_id") VALUES (nextval('edi_856_asn_header_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), '2024-01-17', '10981243', '16:45', 2, '1.0" encoding="utf-8" ?> <message> <sender>056715261</sender> <receiver>004498267</receiver> <testindicator>P</testindicator> <asn_num>10981243</asn_num> <asn_date>2024-01-17</asn_date> <asn_time>16:45</asn_time> <act_ship_time>20240117</act_ship_time> <bill_of_land>10981243</bill_of_land> <transport_code>LTL Less Than Trailer Load</transport_code> <fob>Prepaid by Seller</fob> <o_level>1</o_level> <partys> <party> <ship_to>POINT SPRING & DRIVESHAFT CO</ship_to> <qual>ST</qual> <mut_defined>0044982670005</mut_defined> </party> <party> <ship_from>Dana Heavy Vehicle Systems Group, LLC</ship_from> <duns>609696265</duns> <qual>SF</qual> <dunns>609696265</dunns> </party> </partys> <measurements> <msr> <msr_code>Physical Dimensions</msr_code> <msr_qual>144</msr_qual> </msr> <msr> <msr_code>Physical Dimensions</msr_code> <msr_qual>143</msr_qual> </msr> </measurements> <orders> <order> <po_number>F-01467</po_number> <lines> <line> <line_id>000001</line_id> <product_code>2-2-329</product_code> <units_shipped>2</units_shipped> <uom>EA</uom> </line> <line> <line_id>000002</line_id> <product_code>2-4-3331</product_code> <units_shipped>4</units_shipped> <uom>EA</uom> </line> <line> <line_id>000003</line_id> <product_code>5-170X</product_code> <units_shipped>2</units_shipped> <uom>EA</uom> </line> <line> <line_id>000004</line_id> <product_code>5-1410X</product_code> <units_shipped>1</units_shipped> <uom>EA</uom> </line> <line> <line_id>000005</line_id> <product_code>SPL170-4X</product_code> <units_shipped>3</units_shipped> <uom>EA</uom> </line> <line> <line_id>000007</line_id> <product_code>5-153X</product_code> <units_shipped>6</units_shipped> <uom>EA</uom> </line> <line> <line_id>000009</line_id> <product_code>211959X</product_code> <units_shipped>2</units_shipped> <uom>EA</uom> </line> <line> <line_id>000013</line_id> <product_code>SPL250-3X</product_code> <units_shipped>4</units_shipped> <uom>EA</uom> </line> <line> <line_id>000014</line_id> <product_code>10094142</product_code> <units_shipped>4</units_shipped> <uom>EA</uom> </line> </lines> </order> </orders> </message>', '', 2949, 'Actual Ship Time : 20240117 Bill of Lading # : 10981243 Transportation Code : Air Method of Payment : Collect Ship To : POINT SPRING & DRIVESHAFT CO Mutually Defined : 0044982670005 Ship From : Dana Heavy Vehicle Systems Group, LLC Duns # : 609696265 Measurement Code : Physical Dimensions Gross Weight : 144 Measurement Code : Physical Dimensions Gross Weight : 143 ', NULL, NULL, 32769) RETURNING id;
Date: 2024-01-24 09:58:19
2 28 1m20s 4s256ms 6s804ms 2s879ms 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 != 1163362 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 != 1163362 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-01-24 15:58:31
3 2 13s200ms 1s620ms 11s579ms 6s600ms delete from ir_attachment where id in ( select id from ir_attachment where id in (...) for no key update skip locked);-
DELETE FROM ir_attachment WHERE id IN ( SELECT id FROM ir_attachment WHERE id in (4757542) FOR NO KEY UPDATE SKIP LOCKED);
Date: 2024-01-24 08:23:42
-
DELETE FROM ir_attachment WHERE id IN ( SELECT id FROM ir_attachment WHERE id in (4757556) FOR NO KEY UPDATE SKIP LOCKED);
Date: 2024-01-24 08:24:13
-
DELETE FROM ir_attachment WHERE id IN ( SELECT id FROM ir_attachment WHERE id in (4757554) FOR NO KEY UPDATE SKIP LOCKED);
Date: 2024-01-24 08:24:09
4 6 11s151ms 1s78ms 3s428ms 1s858ms 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" = 4769279, "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (1163400);
Date: 2024-01-24 16:15:19
5 3 4s464ms 1s52ms 2s104ms 1s488ms select "ir_model_fields".id from "ir_model_fields" where ("ir_model_fields"."model" = ?) order by "ir_model_fields"."name";-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'psd_custom.inventory_vendor') ORDER BY "ir_model_fields"."name";
Date: 2024-01-24 08:23:56
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'res.partner') ORDER BY "ir_model_fields"."name";
Date: 2024-01-24 08:23:56
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name";
Date: 2024-01-24 08:23:56
6 1 2s978ms 2s978ms 2s978ms 2s978ms update "sale_order" set "amount_total" = ?, "amount_untaxed" = ?, "carrier_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "amount_total" = '1098.61', "amount_untaxed" = '1098.61', "carrier_id" = 69, "write_uid" = 1143, "write_date" = (now() at time zone 'UTC') WHERE id IN (111474);
Date: 2024-01-24 21:39:13
-
UPDATE "sale_order" SET "amount_total" = '1098.61', "amount_untaxed" = '1098.61', "carrier_id" = 69, "write_uid" = 1143, "write_date" = (now() at time zone 'UTC') WHERE id IN (111474);
Date: 2024-01-24 21:39:13
7 1 2s289ms 2s289ms 2s289ms 2s289ms update "sale_order" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "write_uid" = 1255, "write_date" = (now() at time zone 'UTC') WHERE id IN (111361);
Date: 2024-01-24 17:29:59
8 1 1s973ms 1s973ms 1s973ms 1s973ms select f.name, d.json_value from ir_default d join ir_model_fields f on d.field_id = f.id where f.model = ? and (d.user_id is null or d.user_id = ?) and (d.company_id is null or d.company_id = ?) and d.condition is null order by d.user_id, d.company_id, d.id;-
SELECT f.name, d.json_value FROM ir_default d JOIN ir_model_fields f ON d.field_id = f.id WHERE f.model = 'ir.attachment' AND (d.user_id IS NULL OR d.user_id = 1) AND (d.company_id IS NULL OR d.company_id = 1) AND d.condition IS NULL ORDER BY d.user_id, d.company_id, d.id;
Date: 2024-01-24 08:23:56
-
SELECT f.name, d.json_value FROM ir_default d JOIN ir_model_fields f ON d.field_id = f.id WHERE f.model = 'ir.attachment' AND (d.user_id IS NULL OR d.user_id = 1) AND (d.company_id IS NULL OR d.company_id = 1) AND d.condition IS NULL ORDER BY d.user_id, d.company_id, d.id;
Date: 2024-01-24 08:23:56
Queries that waited the most
Rank Wait time Query 1 1m54s INSERT INTO "edi_856_asn_header" ("id", "create_uid", "create_date", "write_uid", "write_date", "asn_date", "asn_number", "asn_time", "config_id", "edi_file", "errors", "inventory_vendor_id", "notes", "ship_date", "ship_time", "vendor_id") VALUES (nextval('edi_856_asn_header_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), '2024-01-17', '10981243', '16:45', 2, '1.0" encoding="utf-8" ?> <message> <sender>056715261</sender> <receiver>004498267</receiver> <testindicator>P</testindicator> <asn_num>10981243</asn_num> <asn_date>2024-01-17</asn_date> <asn_time>16:45</asn_time> <act_ship_time>20240117</act_ship_time> <bill_of_land>10981243</bill_of_land> <transport_code>LTL Less Than Trailer Load</transport_code> <fob>Prepaid by Seller</fob> <o_level>1</o_level> <partys> <party> <ship_to>POINT SPRING & DRIVESHAFT CO</ship_to> <qual>ST</qual> <mut_defined>0044982670005</mut_defined> </party> <party> <ship_from>Dana Heavy Vehicle Systems Group, LLC</ship_from> <duns>609696265</duns> <qual>SF</qual> <dunns>609696265</dunns> </party> </partys> <measurements> <msr> <msr_code>Physical Dimensions</msr_code> <msr_qual>144</msr_qual> </msr> <msr> <msr_code>Physical Dimensions</msr_code> <msr_qual>143</msr_qual> </msr> </measurements> <orders> <order> <po_number>F-01467</po_number> <lines> <line> <line_id>000001</line_id> <product_code>2-2-329</product_code> <units_shipped>2</units_shipped> <uom>EA</uom> </line> <line> <line_id>000002</line_id> <product_code>2-4-3331</product_code> <units_shipped>4</units_shipped> <uom>EA</uom> </line> <line> <line_id>000003</line_id> <product_code>5-170X</product_code> <units_shipped>2</units_shipped> <uom>EA</uom> </line> <line> <line_id>000004</line_id> <product_code>5-1410X</product_code> <units_shipped>1</units_shipped> <uom>EA</uom> </line> <line> <line_id>000005</line_id> <product_code>SPL170-4X</product_code> <units_shipped>3</units_shipped> <uom>EA</uom> </line> <line> <line_id>000007</line_id> <product_code>5-153X</product_code> <units_shipped>6</units_shipped> <uom>EA</uom> </line> <line> <line_id>000009</line_id> <product_code>211959X</product_code> <units_shipped>2</units_shipped> <uom>EA</uom> </line> <line> <line_id>000013</line_id> <product_code>SPL250-3X</product_code> <units_shipped>4</units_shipped> <uom>EA</uom> </line> <line> <line_id>000014</line_id> <product_code>10094142</product_code> <units_shipped>4</units_shipped> <uom>EA</uom> </line> </lines> </order> </orders> </message>', '', 2949, 'Actual Ship Time : 20240117 Bill of Lading # : 10981243 Transportation Code : Air Method of Payment : Collect Ship To : POINT SPRING & DRIVESHAFT CO Mutually Defined : 0044982670005 Ship From : Dana Heavy Vehicle Systems Group, LLC Duns # : 609696265 Measurement Code : Physical Dimensions Gross Weight : 144 Measurement Code : Physical Dimensions Gross Weight : 143 ', NULL, NULL, 32769) RETURNING id;[ Date: 2024-01-24 09:58:19 ]
2 11s579ms DELETE FROM ir_attachment WHERE id IN ( SELECT id FROM ir_attachment WHERE id in (4757542) FOR NO KEY UPDATE SKIP LOCKED);[ Date: 2024-01-24 08:23:42 ]
3 6s804ms 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 != 1068191 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 != 1068191 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 17:00:47 ]
4 6s785ms 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 != 1162972 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 != 1162972 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 14:34:57 ]
5 6s525ms 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 != 1163457 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 != 1163457 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 17:00:47 ]
6 4s771ms 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 != 1162939 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 != 1162939 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 14:33:36 ]
7 4s648ms 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 != 1162599 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 != 1162599 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 13:56:30 ]
8 4s256ms 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 != 1163362 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 != 1163362 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 15:58:31 ]
9 3s812ms 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 != 1162454 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 != 1162454 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 13:39:26 ]
10 3s545ms 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 != 1163099 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 != 1163099 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 14:53:00 ]
11 3s428ms UPDATE "account_move" SET "message_main_attachment_id" = 4768308, "write_uid" = 1023, "write_date" = (now() at time zone 'UTC') WHERE id IN (1163316);[ Date: 2024-01-24 15:39:48 ]
12 3s355ms 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 != 1162973 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 != 1162973 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 14:34:44 ]
13 3s325ms 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 != 1160045 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 != 1160045 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 18:42:10 ]
14 2s995ms 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 != 1163093 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 != 1163093 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 14:58:20 ]
15 2s978ms UPDATE "sale_order" SET "amount_total" = '1098.61', "amount_untaxed" = '1098.61', "carrier_id" = 69, "write_uid" = 1143, "write_date" = (now() at time zone 'UTC') WHERE id IN (111474);[ Date: 2024-01-24 21:39:13 ]
16 2s772ms 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 != 1162408 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 != 1162408 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 13:38:09 ]
17 2s558ms 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 != 1162941 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 != 1162941 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 14:33:36 ]
18 2s460ms UPDATE "account_move" SET "message_main_attachment_id" = 4767329, "write_uid" = 972, "write_date" = (now() at time zone 'UTC') WHERE id IN (1163191);[ Date: 2024-01-24 15:05:01 ]
19 2s458ms 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 != 1162682 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 != 1162682 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-01-24 14:04:59 ]
20 2s289ms UPDATE "sale_order" SET "write_uid" = 1255, "write_date" = (now() at time zone 'UTC') WHERE id IN (111361);[ Date: 2024-01-24 17:29:59 ]
-
Queries
Queries by type
Key values
- 89,501 Total read queries
- 14,355 Total write queries
Queries by database
Key values
- unknown Main database
- 103,856 Requests
- 10h38m13s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 104,177 Requests
User Request type Count Duration unknown Total 104,177 10h39m50s copy to 94 12m16s cte 87 18s551ms ddl 5 2s99ms delete 447 26m15s insert 527 2m8s select 89,806 8h14m33s update 13,211 1h44m15s Duration by user
Key values
- 10h39m50s (unknown) Main time consuming user
User Request type Count Duration unknown Total 104,177 10h39m50s copy to 94 12m16s cte 87 18s551ms ddl 5 2s99ms delete 447 26m15s insert 527 2m8s select 89,806 8h14m33s update 13,211 1h44m15s Queries by host
Key values
- unknown Main host
- 104,177 Requests
- 10h39m50s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 103,856 Requests
- 10h38m13s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-01-24 17:49:36 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 86,915 100-500ms duration
Slowest individual queries
Rank Duration Query 1 3m50s COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2024-01-24 09:08:39 ]
2 1m38s COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, ref_id, ref) TO stdout;[ Date: 2024-01-24 09:03:08 ]
3 1m32s COPY public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) TO stdout;[ Date: 2024-01-24 09:04:48 ]
4 1m4s 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: 2024-01-24 09:12:24 ]
5 53s835ms DELETE FROM account_move_line WHERE id IN (3775862, 3775863, 3775864, 3775865, 3775866, 3775867, 3775868, 3775869, 3775870, 3775871, 3775872, 3775873, 3775874, 3775875, 3775876, 3775877, 3775878, 3775879, 3775880, 3775881, 3775882, 3775883, 3775884, 3775885, 3775886, 3775887, 3775888, 3775889, 3775890, 3775891, 3775892, 3775893, 3775894, 3775895, 3980847, 3980848);[ Date: 2024-01-24 19:16:14 ]
6 52s44ms DELETE FROM account_move_line WHERE id IN (4055197, 4055198, 4055199, 4055150, 4055151, 4055152, 4055153, 4055154, 4055155, 4055156, 4055157, 4055158, 4055159, 4055160, 4055161, 4055162, 4055163, 4055164, 4055165, 4055166, 4055167, 4055168, 4055169, 4055170, 4055171, 4055172, 4055173, 4055174, 4055175, 4055176, 4055177, 4055178, 4055179, 4055180, 4055181, 4055182);[ Date: 2024-01-24 10:37:30 ]
7 41s465ms DELETE FROM account_move_line WHERE id IN (4048192, 4048193, 4046083, 4046084, 4046085, 4046086, 4046087, 4046088, 4046089, 4046090, 4046091, 4046092, 4046093, 4046094, 4046095, 4046096, 4046097, 4046098, 4046099, 4046100, 4046101, 4046102, 4046103, 4046104, 4046105, 4046106, 4046107, 4046108, 4046109);[ Date: 2024-01-24 10:20:00 ]
8 41s218ms COPY public.website_track (id, visitor_id, page_id, url, visit_datetime, product_id) TO stdout;[ Date: 2024-01-24 09:11:19 ]
9 40s387ms DELETE FROM account_move_line WHERE id IN (4058895, 4058896, 4058897, 4058898, 4058899, 4058900, 4058901, 4058902, 4058903, 4058904, 4058905, 4058906, 4058907, 4058908, 4058909, 4058910, 4058911, 4058912, 4058913, 4058914, 4058915, 4058916, 4058917, 4058918, 4058919, 4058920, 4058921, 4058922);[ Date: 2024-01-24 10:20:46 ]
10 37s525ms DELETE FROM account_move_line WHERE id IN (4004320, 4004321, 3996410, 3996411, 3996412, 3996413, 3996414, 3996415, 3996416, 3996417, 3996418, 3996419, 3996420, 3996421, 3996422, 3996423, 3996424, 3996425, 3996426, 3996427, 3996428, 3996429, 3996430, 3996431, 3996432, 3996433);[ Date: 2024-01-24 10:16:27 ]
11 37s273ms DELETE FROM account_move_line WHERE id IN (3951081, 3951082, 3951083, 3951084, 3951085, 3951086, 3951087, 3951088, 3951089, 3951090, 3951091, 3951092, 3951093, 3951094, 3951095, 3951096, 3951097, 3951098, 3951099, 3951100, 3951101, 3951102, 3951103, 3951104, 4002781, 4002782);[ Date: 2024-01-24 10:15:31 ]
12 28s798ms DELETE FROM account_move_line WHERE id IN (4019962, 4019963, 4030147, 4030148, 4038743, 4038744, 4038745, 4038746, 4038747, 4038748, 4038749, 4038750, 4038751, 4038752, 4038753, 4038754, 4038755, 4038756, 4038757, 4038758);[ Date: 2024-01-24 10:04:00 ]
13 28s549ms DELETE FROM account_move_line WHERE id IN (4027663, 4027664, 4013296, 4013297, 4013298, 4013299, 4013300, 4013301, 4013302, 4013303, 4013304, 4013305, 4013306, 4013307, 4013308, 4013309, 4013310, 4013311, 4013312, 4013313);[ Date: 2024-01-24 10:08:43 ]
14 27s456ms DELETE FROM account_move_line WHERE id IN (4054933, 4054934, 4054935, 4050845, 4050846, 4050847, 4050848, 4050849, 4050850, 4050851, 4050852, 4050853, 4050854, 4050855, 4050856, 4050857, 4050858, 4050859, 4050860);[ Date: 2024-01-24 10:26:42 ]
15 27s112ms DELETE FROM account_move_line WHERE id IN (3948081, 3948082, 4036685, 4036686, 3941627, 3941628, 3941629, 3941630, 3941631, 3941632, 3941633, 3941634, 3941635, 3941636, 3941637, 3941638, 3941639, 3941640, 3941641);[ Date: 2024-01-24 09:57:29 ]
16 26s222ms DELETE FROM account_move_line WHERE id IN (3995612, 3995613, 3995614, 3995615, 3995616, 3995617, 3995618, 3995619, 3995620, 3995621, 3995622, 3995623, 3995624, 3995625, 3995626, 3995627, 4047028, 4047029);[ Date: 2024-01-24 10:01:50 ]
17 26s11ms COPY public.account_move_line (id, move_id, move_name, date, ref, parent_state, journal_id, company_id, company_currency_id, account_id, account_root_id, sequence, name, quantity, price_unit, discount, debit, credit, balance, amount_currency, price_subtotal, price_total, reconciled, blocked, date_maturity, currency_id, partner_id, product_uom_id, product_id, reconcile_model_id, payment_id, statement_line_id, statement_id, tax_line_id, tax_group_id, tax_base_amount, tax_exigible, tax_repartition_line_id, tax_audit, amount_residual, amount_residual_currency, full_reconcile_id, matching_number, analytic_account_id, display_type, is_rounding_line, exclude_from_invoice_tab, create_uid, create_date, write_uid, write_date, expected_pay_date, internal_note, next_action_date, followup_line_id, followup_date, is_anglo_saxon_line, purchase_line_id, branch_id, branch_name, vehicle_id, move_options, sign_product_qty, sign_price_subtotal, new_product_qty, sale_line_id, child_sale_line_id, main_invoice_line_id, core_bank_transaction, is_rtv_line, core_qty, rebate_amount, cost_price, is_visible_in_report, is_labour, can_be_paid, bal_core_bank_id, repair_line_id, inv_back_order_qty, sale_back_order_qty, product_pricelist_item_id, is_discount, is_sale_tax, auto_reconcile, is_writeoff, is_extra_line, is_carry_forward) TO stdout;[ Date: 2024-01-24 09:00:41 ]
18 25s820ms DELETE FROM account_move_line WHERE id IN (4058600, 4058601, 4058602, 4058603, 4058604, 4058605, 4058606, 4058607, 4058608, 4058609, 4058610, 4058611, 4058612, 4058613, 4058614, 4058615, 4058616, 4058617);[ Date: 2024-01-24 10:13:56 ]
19 22s992ms DELETE FROM account_move_line WHERE id IN (4058763, 4058764, 4058765, 4058766, 4058767, 4058768, 4058769, 4058770, 4058771, 4058772, 4058773, 4058774, 4058775, 4058776, 4058777, 4058778);[ Date: 2024-01-24 10:25:22 ]
20 22s890ms DELETE FROM account_move_line WHERE id IN (4011019, 4011020, 4011021, 4011022, 4011023, 4011024, 4011025, 4011026, 4011027, 4011028, 4009622, 4009623, 4011041, 4011042, 4009586, 4009587);[ Date: 2024-01-24 09:58:07 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2h28m7s 25,462 320ms 1s618ms 349ms 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 #1
Day Hour Count Duration Avg duration Jan 24 00 219 1m13s 333ms 01 1,014 5m36s 331ms 02 1,105 6m7s 332ms 03 1,109 6m10s 334ms 04 441 2m27s 334ms 07 93 31s701ms 340ms 08 1,270 7m5s 334ms 09 880 4m52s 332ms 10 861 4m47s 334ms 11 988 5m26s 330ms 12 1,809 10m25s 345ms 13 2,361 14m54s 379ms 14 1,727 10m36s 368ms 15 1,597 9m36s 361ms 16 1,521 8m58s 353ms 17 1,090 6m23s 351ms 18 1,419 8m27s 357ms 19 1,418 8m30s 360ms 20 1,424 8m19s 350ms 21 1,232 7m 341ms 22 1,025 5m42s 333ms 23 859 4m52s 340ms -
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.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-a54df00/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-01-24 13:23:15 Duration: 1s618ms
-
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.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-a54df00/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-01-24 17:07:36 Duration: 1s356ms
-
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.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-01-24 14:27:45 Duration: 1s311ms
2 1h51m5s 30,333 120ms 1s727ms 219ms select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 24 00 235 40s728ms 173ms 01 267 49s254ms 184ms 02 197 29s697ms 150ms 03 279 44s32ms 157ms 04 166 31s244ms 188ms 05 57 10s919ms 191ms 06 246 40s906ms 166ms 07 121 23s576ms 194ms 08 254 44s104ms 173ms 09 310 53s553ms 172ms 10 248 39s529ms 159ms 11 170 35s299ms 207ms 12 1,165 3m23s 175ms 13 4,451 14m41s 198ms 14 3,575 11m52s 199ms 15 3,253 12m15s 226ms 16 2,691 12m15s 273ms 17 2,807 15m6s 322ms 18 2,794 10m37s 227ms 19 3,155 10m31s 200ms 20 2,210 7m21s 199ms 21 972 3m23s 208ms 22 450 1m21s 181ms 23 260 52s526ms 202ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-01-24 17:06:44') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19535]', '["pointspring_master","mail.channel",241]', '["pointspring_master","mail.channel",435]', '["pointspring_master","mail.channel",452]', '["pointspring_master","mail.channel",460]', '["pointspring_master","mail.channel",471]', '["pointspring_master","mail.channel",530]', '["pointspring_master","mail.channel",590]', '["pointspring_master","res.partner",19535]', '["pointspring_master","ir.needaction",19535]'))) ORDER BY "bus_bus"."id";
Date: 2024-01-24 17:07:35 Duration: 1s727ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-01-24 17:06:44') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19497]', '["pointspring_master","mail.channel",24]', '["pointspring_master","mail.channel",25]', '["pointspring_master","mail.channel",26]', '["pointspring_master","mail.channel",532]', '["pointspring_master","mail.channel",591]', '["pointspring_master","res.partner",19497]', '["pointspring_master","ir.needaction",19497]'))) ORDER BY "bus_bus"."id";
Date: 2024-01-24 17:07:35 Duration: 1s716ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-01-24 17:06:44') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1019"', '["pointspring_master","calendar.alarm",19557]', '["pointspring_master","mail.channel",154]', '["pointspring_master","mail.channel",155]', '["pointspring_master","mail.channel",156]', '["pointspring_master","mail.channel",536]', '["pointspring_master","res.partner",19557]', '["pointspring_master","ir.needaction",19557]'))) ORDER BY "bus_bus"."id";
Date: 2024-01-24 17:07:35 Duration: 1s684ms
3 44m49s 3,839 615ms 1s984ms 700ms 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 #3
Day Hour Count Duration Avg duration Jan 24 00 106 1m7s 636ms 12 304 3m29s 689ms 13 476 5m55s 747ms 14 608 7m19s 722ms 15 359 4m9s 694ms 16 420 4m48s 687ms 17 436 4m56s 679ms 18 305 3m28s 682ms 19 248 2m59s 721ms 20 331 3m54s 707ms 21 180 1m58s 657ms 22 66 42s923ms 650ms -
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 ('%%m087%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%m-087%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%m-087%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 13:23:15 Duration: 1s984ms
-
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 ('%%343%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%343-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%343-%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 19:43:38 Duration: 1s885ms
-
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 ('%%m08%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%m-08%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%m-08%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 13:23:15 Duration: 1s883ms
4 19m1s 120 1s416ms 53s835ms 9s510ms delete from account_move_line where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 24 03 1 4s377ms 4s377ms 07 1 11s641ms 11s641ms 09 12 2m11s 10s980ms 10 78 13m15s 10s205ms 13 1 3s112ms 3s112ms 14 4 12s317ms 3s79ms 17 2 4s412ms 2s206ms 18 5 15s86ms 3s17ms 19 4 1m2s 15s667ms 20 2 5s878ms 2s939ms 23 10 1m34s 9s401ms -
DELETE FROM account_move_line WHERE id IN (3775862, 3775863, 3775864, 3775865, 3775866, 3775867, 3775868, 3775869, 3775870, 3775871, 3775872, 3775873, 3775874, 3775875, 3775876, 3775877, 3775878, 3775879, 3775880, 3775881, 3775882, 3775883, 3775884, 3775885, 3775886, 3775887, 3775888, 3775889, 3775890, 3775891, 3775892, 3775893, 3775894, 3775895, 3980847, 3980848);
Date: 2024-01-24 19:16:14 Duration: 53s835ms
-
DELETE FROM account_move_line WHERE id IN (4055197, 4055198, 4055199, 4055150, 4055151, 4055152, 4055153, 4055154, 4055155, 4055156, 4055157, 4055158, 4055159, 4055160, 4055161, 4055162, 4055163, 4055164, 4055165, 4055166, 4055167, 4055168, 4055169, 4055170, 4055171, 4055172, 4055173, 4055174, 4055175, 4055176, 4055177, 4055178, 4055179, 4055180, 4055181, 4055182);
Date: 2024-01-24 10:37:30 Duration: 52s44ms
-
DELETE FROM account_move_line WHERE id IN (4048192, 4048193, 4046083, 4046084, 4046085, 4046086, 4046087, 4046088, 4046089, 4046090, 4046091, 4046092, 4046093, 4046094, 4046095, 4046096, 4046097, 4046098, 4046099, 4046100, 4046101, 4046102, 4046103, 4046104, 4046105, 4046106, 4046107, 4046108, 4046109);
Date: 2024-01-24 10:20:00 Duration: 41s465ms
5 14m5s 979 786ms 1s758ms 863ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jan 24 00 3 2s411ms 803ms 01 2 1s618ms 809ms 11 3 2s556ms 852ms 12 61 50s928ms 834ms 13 159 2m22s 896ms 14 136 1m58s 871ms 15 100 1m26s 864ms 16 101 1m26s 860ms 17 103 1m26s 839ms 18 110 1m37s 883ms 19 74 1m3s 855ms 20 73 1m1s 838ms 21 36 30s221ms 839ms 22 18 14s903ms 827ms -
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 ('%880XRAH%')) 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 ('%880XRAH%'))) 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 ('%880XRAH%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%880XRAH%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-01-24 18:37:32 Duration: 1s758ms
-
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 ('%2181%')) 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 ('%2181%'))) 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 ('%2181%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%2181%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-01-24 16:01:25 Duration: 1s696ms
-
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 ('%12039%')) 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 ('%12039%'))) 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 ('%12039%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%12039%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-01-24 13:36:25 Duration: 1s695ms
6 10m39s 608 965ms 1s910ms 1s52ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 24 00 6 5s881ms 980ms 01 3 2s954ms 984ms 07 6 5s845ms 974ms 11 21 20s619ms 981ms 12 114 2m2s 1s72ms 13 80 1m26s 1s79ms 14 66 1m11s 1s78ms 15 42 42s951ms 1s22ms 16 72 1m16s 1s61ms 17 24 24s302ms 1s12ms 18 18 18s806ms 1s44ms 19 114 1m59s 1s51ms 21 36 36s343ms 1s9ms 22 6 5s944ms 990ms -
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 ('%M65404%') 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 ('%M65404%')))))) 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 ('%M65404%')))))) 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 ('%M65404%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%M65404%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%M65404%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-01-24 16:19:12 Duration: 1s910ms
-
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 ('%PL1362-4%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%PL1362-4%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%PL1362-4%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%PL1362-4%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%PL1362-4%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%PL1362-4%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-01-24 12:59:27 Duration: 1s654ms
-
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 ('%21-P-572%') 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 ('%21-P-572%')))))) 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 ('%21-P-572%')))))) 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 ('%21-P-572%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%21-P-572%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%21-P-572%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-01-24 12:58:52 Duration: 1s560ms
7 10m6s 374 1s496ms 2s547ms 1s622ms select "sale_history_line".id from "sale_history_line" where ((("sale_history_line"."inventory_vendor_id" = ?) and ("sale_history_line"."product_name" = ?)) and (((((("sale_history_line"."invoice_date" >= ?) and ("sale_history_line"."invoice_date" <= ?)) or (("sale_history_line"."invoice_date" >= ?) and ("sale_history_line"."invoice_date" <= ?))) or (("sale_history_line"."invoice_date" >= ?) and ("sale_history_line"."invoice_date" <= ?))) and (("sale_history_line"."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 ("sale_history_line"."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 (?)))))) and ((unaccent ("sale_history_line"."product_name"::text) not ilike unaccent (?)) or "sale_history_line"."product_name" is null))) order by "sale_history_line"."invoice_date" desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 24 15 374 10m6s 1s622ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ((("sale_history_line"."inventory_vendor_id" = 3065) AND ("sale_history_line"."product_name" = 'RS15120R410-TM01972')) AND (((((("sale_history_line"."invoice_date" >= '2022-01-01') AND ("sale_history_line"."invoice_date" <= '2022-12-31')) OR (("sale_history_line"."invoice_date" >= '2023-01-01') AND ("sale_history_line"."invoice_date" <= '2023-12-31'))) OR (("sale_history_line"."invoice_date" >= '2024-01-01') AND ("sale_history_line"."invoice_date" <= '2024-12-31'))) AND (("sale_history_line"."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 ('%psd power%')))) OR ("sale_history_line"."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 ('%valley truck%')))))) AND ((unaccent ("sale_history_line"."product_name"::text) not ilike unaccent ('%_c%')) OR "sale_history_line"."product_name" IS NULL))) ORDER BY "sale_history_line"."invoice_date" DESC;
Date: 2024-01-24 15:11:00 Duration: 2s547ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ((("sale_history_line"."inventory_vendor_id" = 3065) AND ("sale_history_line"."product_name" = 'RTLO16713A')) AND (((((("sale_history_line"."invoice_date" >= '2022-01-01') AND ("sale_history_line"."invoice_date" <= '2022-12-31')) OR (("sale_history_line"."invoice_date" >= '2023-01-01') AND ("sale_history_line"."invoice_date" <= '2023-12-31'))) OR (("sale_history_line"."invoice_date" >= '2024-01-01') AND ("sale_history_line"."invoice_date" <= '2024-12-31'))) AND (("sale_history_line"."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 ('%psd power%')))) OR ("sale_history_line"."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 ('%valley truck%')))))) AND ((unaccent ("sale_history_line"."product_name"::text) not ilike unaccent ('%_c%')) OR "sale_history_line"."product_name" IS NULL))) ORDER BY "sale_history_line"."invoice_date" DESC;
Date: 2024-01-24 15:11:51 Duration: 2s44ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ((("sale_history_line"."inventory_vendor_id" = 3103) AND ("sale_history_line"."product_name" = '29532370')) AND (((((("sale_history_line"."invoice_date" >= '2022-01-01') AND ("sale_history_line"."invoice_date" <= '2022-12-31')) OR (("sale_history_line"."invoice_date" >= '2023-01-01') AND ("sale_history_line"."invoice_date" <= '2023-12-31'))) OR (("sale_history_line"."invoice_date" >= '2024-01-01') AND ("sale_history_line"."invoice_date" <= '2024-12-31'))) AND (("sale_history_line"."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 ('%psd power%')))) OR ("sale_history_line"."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 ('%valley truck%')))))) AND ((unaccent ("sale_history_line"."product_name"::text) not ilike unaccent ('%_c%')) OR "sale_history_line"."product_name" IS NULL))) ORDER BY "sale_history_line"."invoice_date" DESC;
Date: 2024-01-24 15:13:28 Duration: 2s39ms
8 9m4s 777 607ms 1s988ms 701ms 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 #8
Day Hour Count Duration Avg duration Jan 24 12 146 1m37s 669ms 13 73 55s778ms 764ms 14 43 30s877ms 718ms 15 111 1m17s 694ms 16 116 1m23s 719ms 17 72 47s364ms 657ms 18 91 1m1s 678ms 19 84 1m2s 747ms 20 31 20s743ms 669ms 21 8 5s820ms 727ms 22 2 1s262ms 631ms -
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 ('%%2030%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%20-30%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%20-30%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 16:08:57 Duration: 1s988ms
-
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 ('%%203%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%20-3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%20-3%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 16:08:57 Duration: 1s919ms
-
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 ('%%2030%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%20-30-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%20-30-%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 16:08:57 Duration: 1s593ms
9 8m11s 795 139ms 12s296ms 618ms 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 Jan 24 10 1 845ms 845ms 11 8 6s527ms 815ms 12 39 28s53ms 719ms 13 174 1m55s 662ms 14 219 2m12s 603ms 15 52 30s290ms 582ms 16 42 26s544ms 632ms 17 65 40s160ms 617ms 18 80 43s694ms 546ms 19 50 29s930ms 598ms 20 30 15s853ms 528ms 21 34 21s543ms 633ms 23 1 439ms 439ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (411009, 303972, 380647, 196616, 306633, 409226, 393003, 223280, 255984, 252082, 353811, 399860, 409723, 344285, 424766);
Date: 2024-01-24 13:41:52 Duration: 12s296ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (147106, 147081, 144367, 146999, 147069);
Date: 2024-01-24 19:09:42 Duration: 4s506ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (363561, 245659, 29428);
Date: 2024-01-24 17:29:42 Duration: 2s694ms
10 8m7s 526 422ms 8s206ms 927ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 24 11 2 1s781ms 890ms 12 20 16s831ms 841ms 13 101 1m38s 979ms 14 90 1m20s 893ms 15 36 31s400ms 872ms 16 36 32s251ms 895ms 17 44 36s739ms 834ms 18 88 1m21s 927ms 19 58 1m3s 1s90ms 20 25 21s350ms 854ms 21 26 23s90ms 888ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2024-01-24 19:19:02', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (766060, 766061, 766064, 766068, 766070, 766072, 766073, 766074, 766075, 766076, 766077);
Date: 2024-01-24 19:19:20 Duration: 8s206ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 3.0, "date" = '2024-01-24 19:19:02', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (766058, 766059, 766062, 766065, 766067);
Date: 2024-01-24 19:19:12 Duration: 3s663ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2024-01-24 13:36:21', "is_done" = true, "state" = 'done', "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (776952, 776953);
Date: 2024-01-24 13:36:25 Duration: 2s641ms
11 6m42s 2,905 120ms 475ms 138ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where (("product_warehouse_inventory"."warehouse_id" = ?) and ("product_warehouse_inventory"."product_id" = ?)) order by "product_warehouse_inventory"."warehouse_name" limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 24 12 137 18s874ms 137ms 13 539 1m17s 143ms 14 724 1m40s 138ms 15 386 53s169ms 137ms 16 175 23s584ms 134ms 17 236 32s986ms 139ms 18 298 39s960ms 134ms 19 54 7s999ms 148ms 20 330 44s564ms 135ms 21 26 3s400ms 130ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 43) AND ("product_warehouse_inventory"."product_id" = 186632)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-01-24 17:51:17 Duration: 475ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 43) AND ("product_warehouse_inventory"."product_id" = 185221)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-01-24 17:51:18 Duration: 369ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 43) AND ("product_warehouse_inventory"."product_id" = 186600)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-01-24 17:51:17 Duration: 358ms
12 5m59s 1,517 214ms 567ms 236ms 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 #12
Day Hour Count Duration Avg duration Jan 24 00 13 2s887ms 222ms 12 272 1m3s 231ms 13 467 1m53s 242ms 14 41 10s53ms 245ms 15 44 10s323ms 234ms 16 35 8s514ms 243ms 17 154 35s412ms 229ms 18 50 12s130ms 242ms 19 244 57s691ms 236ms 20 70 16s760ms 239ms 21 127 29s436ms 231ms -
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (322404)) ORDER BY "sale_line_report"."id";
Date: 2024-01-24 19:56:33 Duration: 567ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (322513)) ORDER BY "sale_line_report"."id";
Date: 2024-01-24 13:02:18 Duration: 413ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (322906)) ORDER BY "sale_line_report"."id";
Date: 2024-01-24 16:11:55 Duration: 364ms
13 5m49s 304 142ms 10s132ms 1s150ms 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 #13
Day Hour Count Duration Avg duration Jan 24 00 4 4s763ms 1s190ms 12 22 33s631ms 1s528ms 13 38 47s119ms 1s239ms 14 42 42s635ms 1s15ms 15 40 31s485ms 787ms 16 32 42s512ms 1s328ms 17 32 38s802ms 1s212ms 18 26 25s692ms 988ms 19 19 24s413ms 1s284ms 20 25 29s739ms 1s189ms 21 21 22s372ms 1s65ms 22 3 6s523ms 2s174ms -
UPDATE "stock_move" SET "branch_id" = 46, "picking_id" = 327614, "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 (779942, 779943, 779944, 779945, 779946, 779947, 779948, 779949, 779950, 779951, 779952, 779953, 779954, 779955, 779956, 779957, 779958, 779959, 779960, 779961, 779962, 779963, 779964);
Date: 2024-01-24 16:44:00 Duration: 10s132ms
-
UPDATE "stock_move" SET "branch_id" = 48, "picking_id" = 327788, "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 (780288, 780289, 780275, 780276, 780277, 780278, 780279, 780280, 780281, 780282, 780283, 780284, 780285, 780286, 780287);
Date: 2024-01-24 18:58:40 Duration: 7s530ms
-
UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 327163, "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 (779250, 779251, 779252, 779253, 779255, 779256, 779257, 779259, 779261, 779262, 779263);
Date: 2024-01-24 13:06:14 Duration: 7s187ms
14 5m38s 324 962ms 1s621ms 1s45ms 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 Jan 24 00 13 12s851ms 988ms 07 6 5s863ms 977ms 11 9 8s860ms 984ms 12 55 1m 1s92ms 13 16 17s598ms 1s99ms 14 44 45s251ms 1s28ms 15 28 29s258ms 1s44ms 16 40 41s784ms 1s44ms 17 31 32s357ms 1s43ms 18 4 4s197ms 1s49ms 19 45 47s146ms 1s47ms 21 21 21s370ms 1s17ms 22 6 6s73ms 1s12ms 23 6 5s946ms 991ms -
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 ('%PL1362-4%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%PL1362-4%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%PL1362-4%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%PL1362-4%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%PL1362-4%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%PL1362-4%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-01-24 12:59:27 Duration: 1s621ms
-
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 ('%343-4025%') 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 ('%343-4025%')))))) 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 ('%343-4025%')))))) 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 ('%343-4025%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%343-4025%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%343-4025%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-01-24 12:46:09 Duration: 1s507ms
-
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 ('%BA29100%') 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 ('%BA29100%')))))) 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 ('%BA29100%')))))) 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 ('%BA29100%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%BA29100%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%BA29100%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-01-24 13:53:37 Duration: 1s399ms
15 5m34s 244 141ms 16s620ms 1s372ms 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 #15
Day Hour Count Duration Avg duration Jan 24 10 1 1s187ms 1s187ms 11 1 1s118ms 1s118ms 12 4 4s597ms 1s149ms 13 54 1m27s 1s618ms 14 77 2m 1s564ms 15 25 25s17ms 1s 16 11 16s66ms 1s460ms 17 14 15s200ms 1s85ms 18 28 29s98ms 1s39ms 19 12 17s359ms 1s446ms 20 10 10s580ms 1s58ms 21 6 6s700ms 1s116ms 23 1 164ms 164ms -
UPDATE "stock_move" SET "date" = '2024-01-24 13:41:20', "is_done" = true, "state" = 'done', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (779488, 779474, 779475, 779476, 779477, 779478, 779479, 779480, 779481, 779482, 779483, 779484, 779485, 779486, 779487);
Date: 2024-01-24 13:41:37 Duration: 16s620ms
-
UPDATE "stock_move" SET "date" = '2024-01-24 14:33:43', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (775475, 775476, 775477, 775478, 775479, 775480, 775481, 775482, 775483, 775484, 775485, 775486, 775487, 775488, 775489, 775490, 775491, 775492, 775493, 775494, 775495);
Date: 2024-01-24 14:33:56 Duration: 12s205ms
-
UPDATE "stock_move" SET "date" = '2024-01-24 14:31:04', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (775456, 775457, 775458, 775459, 775460, 775447, 775448, 775449, 775450, 775451, 775452, 775453, 775454, 775455);
Date: 2024-01-24 14:31:13 Duration: 8s895ms
16 5m31s 468 624ms 1s303ms 709ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jan 24 12 3 1s989ms 663ms 13 77 55s694ms 723ms 14 41 30s31ms 732ms 15 17 11s765ms 692ms 16 17 11s341ms 667ms 17 20 13s677ms 683ms 18 22 16s116ms 732ms 19 51 35s14ms 686ms 20 214 2m32s 712ms 21 2 1s289ms 644ms 22 4 2s535ms 633ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%shipping%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%shipping%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%shipping%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 20:20:31 Duration: 1s303ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%shipping%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%shipping%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%shipping%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 20:20:30 Duration: 1s231ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%shipping%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%shipping%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%shipping%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 20:20:31 Duration: 1s221ms
17 5m31s 646 138ms 9s601ms 512ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 24 00 4 1s17ms 254ms 12 54 41s332ms 765ms 13 136 1m31s 669ms 14 103 45s180ms 438ms 15 62 25s327ms 408ms 16 53 20s585ms 388ms 17 70 28s635ms 409ms 18 65 37s682ms 579ms 19 38 19s708ms 518ms 20 31 11s289ms 364ms 21 23 6s592ms 286ms 22 7 2s756ms 393ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (779179, 779181, 779183, 779184, 779185, 779186, 779187, 779188, 779189, 779190, 779191, 779192, 779193, 779194, 779195, 779196);
Date: 2024-01-24 12:58:14 Duration: 9s601ms
-
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (779489, 779490, 779491, 779492, 779493, 779494, 779495, 779496, 779497, 779498, 779499, 779500, 779501, 779502, 779503);
Date: 2024-01-24 13:41:13 Duration: 8s16ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (780192, 780193, 780194, 780197, 780177, 780178, 780179, 780180, 780181, 780182, 780183, 780184, 780185, 780190, 780191);
Date: 2024-01-24 18:16:13 Duration: 6s758ms
18 5m27s 1,645 176ms 1s276ms 199ms 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 #18
Day Hour Count Duration Avg duration Jan 24 00 1 184ms 184ms 10 1 181ms 181ms 11 6 1s115ms 185ms 12 99 18s869ms 190ms 13 207 43s435ms 209ms 14 255 51s553ms 202ms 15 147 28s983ms 197ms 16 242 46s981ms 194ms 17 191 38s131ms 199ms 18 134 26s850ms 200ms 19 116 23s574ms 203ms 20 217 42s513ms 195ms 21 26 4s964ms 190ms 22 3 557ms 185ms -
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-06181%') OR unaccent (res_partner.display_name) ilike unaccent ('%t-06181%') OR unaccent (res_partner.ref) ilike unaccent ('%t-06181%') OR unaccent (res_partner.vat) ilike unaccent ('t-06181')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%t-06181%') desc, unaccent (res_partner.display_name);
Date: 2024-01-24 17:07:35 Duration: 1s276ms
-
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 ('%14600%') OR unaccent (res_partner.display_name) ilike unaccent ('%14600%') OR unaccent (res_partner.ref) ilike unaccent ('%14600%') OR unaccent (res_partner.vat) ilike unaccent ('14600')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%14600%') desc, unaccent (res_partner.display_name);
Date: 2024-01-24 13:07:35 Duration: 626ms
-
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 ('%14229%') OR unaccent (res_partner.display_name) ilike unaccent ('%14229%') OR unaccent (res_partner.ref) ilike unaccent ('%14229%') OR unaccent (res_partner.vat) ilike unaccent ('14229')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%14229%') desc, unaccent (res_partner.display_name);
Date: 2024-01-24 13:07:35 Duration: 578ms
19 4m46s 273 962ms 1s589ms 1s50ms 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 #19
Day Hour Count Duration Avg duration Jan 24 00 13 12s894ms 991ms 07 6 5s843ms 973ms 11 5 4s915ms 983ms 12 48 51s859ms 1s80ms 13 15 15s745ms 1s49ms 14 34 36s177ms 1s64ms 15 26 26s781ms 1s30ms 16 33 34s899ms 1s57ms 17 30 31s239ms 1s41ms 18 3 3s145ms 1s48ms 19 31 33s709ms 1s87ms 21 19 19s676ms 1s35ms 22 5 5s7ms 1s1ms 23 5 4s998ms 999ms -
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 ('%PL1362-4%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%PL1362-4%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%PL1362-4%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%PL1362-4%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%PL1362-4%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%PL1362-4%'))));
Date: 2024-01-24 12:59:29 Duration: 1s589ms
-
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 ('%21-P-572%') 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 ('%21-P-572%')))))) 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 ('%21-P-572%')))))) 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 ('%21-P-572%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%21-P-572%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%21-P-572%'))));
Date: 2024-01-24 12:58:40 Duration: 1s542ms
-
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 ('%94902-%') 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 ('%94902-%')))))) 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 ('%94902-%')))))) 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 ('%94902-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%94902-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%94902-%'))));
Date: 2024-01-24 16:58:35 Duration: 1s316ms
20 4m45s 1,502 158ms 1s433ms 189ms select min("sale_report".id) as id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" AS "product_id" from "sale_report" left join "product_product" AS "sale_report__product_id" on ("sale_report"."product_id" = "sale_report__product_id"."id") left join "product_template" AS "sale_report__product_id__product_tmpl_id" on ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") left join "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" on ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" and "sale_report__product_id__product_tmpl_id__name"."type" = ? and "sale_report__product_id__product_tmpl_id__name"."name" = ? and "sale_report__product_id__product_tmpl_id__name"."lang" = ? and "sale_report__product_id__product_tmpl_id__name"."value" != ?) where ((("sale_report"."state" in (...)) and ("sale_report"."product_id" in (...))) and ("sale_report"."date" >= ?)) and ("sale_report"."company_id" is null or ("sale_report"."company_id" in (...))) group by "sale_report"."product_id", "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" order by "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jan 24 00 5 861ms 172ms 01 4 684ms 171ms 11 3 543ms 181ms 12 72 13s356ms 185ms 13 261 52s41ms 199ms 14 180 35s735ms 198ms 15 169 31s914ms 188ms 16 141 27s134ms 192ms 17 109 19s670ms 180ms 18 195 36s315ms 186ms 19 164 31s660ms 193ms 20 92 16s565ms 180ms 21 74 13s261ms 179ms 22 32 5s384ms 168ms 23 1 200ms 200ms -
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (226475))) AND ("sale_report"."date" >= '2023-01-24 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-01-24 16:10:14 Duration: 1s433ms
-
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (261310))) AND ("sale_report"."date" >= '2023-01-24 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-01-24 14:42:08 Duration: 1s144ms
-
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (195397))) AND ("sale_report"."date" >= '2023-01-24 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-01-24 18:25:43 Duration: 611ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 30,333 1h51m5s 120ms 1s727ms 219ms select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 24 00 235 40s728ms 173ms 01 267 49s254ms 184ms 02 197 29s697ms 150ms 03 279 44s32ms 157ms 04 166 31s244ms 188ms 05 57 10s919ms 191ms 06 246 40s906ms 166ms 07 121 23s576ms 194ms 08 254 44s104ms 173ms 09 310 53s553ms 172ms 10 248 39s529ms 159ms 11 170 35s299ms 207ms 12 1,165 3m23s 175ms 13 4,451 14m41s 198ms 14 3,575 11m52s 199ms 15 3,253 12m15s 226ms 16 2,691 12m15s 273ms 17 2,807 15m6s 322ms 18 2,794 10m37s 227ms 19 3,155 10m31s 200ms 20 2,210 7m21s 199ms 21 972 3m23s 208ms 22 450 1m21s 181ms 23 260 52s526ms 202ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-01-24 17:06:44') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19535]', '["pointspring_master","mail.channel",241]', '["pointspring_master","mail.channel",435]', '["pointspring_master","mail.channel",452]', '["pointspring_master","mail.channel",460]', '["pointspring_master","mail.channel",471]', '["pointspring_master","mail.channel",530]', '["pointspring_master","mail.channel",590]', '["pointspring_master","res.partner",19535]', '["pointspring_master","ir.needaction",19535]'))) ORDER BY "bus_bus"."id";
Date: 2024-01-24 17:07:35 Duration: 1s727ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-01-24 17:06:44') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19497]', '["pointspring_master","mail.channel",24]', '["pointspring_master","mail.channel",25]', '["pointspring_master","mail.channel",26]', '["pointspring_master","mail.channel",532]', '["pointspring_master","mail.channel",591]', '["pointspring_master","res.partner",19497]', '["pointspring_master","ir.needaction",19497]'))) ORDER BY "bus_bus"."id";
Date: 2024-01-24 17:07:35 Duration: 1s716ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-01-24 17:06:44') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1019"', '["pointspring_master","calendar.alarm",19557]', '["pointspring_master","mail.channel",154]', '["pointspring_master","mail.channel",155]', '["pointspring_master","mail.channel",156]', '["pointspring_master","mail.channel",536]', '["pointspring_master","res.partner",19557]', '["pointspring_master","ir.needaction",19557]'))) ORDER BY "bus_bus"."id";
Date: 2024-01-24 17:07:35 Duration: 1s684ms
2 25,462 2h28m7s 320ms 1s618ms 349ms 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 #2
Day Hour Count Duration Avg duration Jan 24 00 219 1m13s 333ms 01 1,014 5m36s 331ms 02 1,105 6m7s 332ms 03 1,109 6m10s 334ms 04 441 2m27s 334ms 07 93 31s701ms 340ms 08 1,270 7m5s 334ms 09 880 4m52s 332ms 10 861 4m47s 334ms 11 988 5m26s 330ms 12 1,809 10m25s 345ms 13 2,361 14m54s 379ms 14 1,727 10m36s 368ms 15 1,597 9m36s 361ms 16 1,521 8m58s 353ms 17 1,090 6m23s 351ms 18 1,419 8m27s 357ms 19 1,418 8m30s 360ms 20 1,424 8m19s 350ms 21 1,232 7m 341ms 22 1,025 5m42s 333ms 23 859 4m52s 340ms -
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.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-a54df00/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-01-24 13:23:15 Duration: 1s618ms
-
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.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-a54df00/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-01-24 17:07:36 Duration: 1s356ms
-
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.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-01-24 14:27:45 Duration: 1s311ms
3 3,839 44m49s 615ms 1s984ms 700ms 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 #3
Day Hour Count Duration Avg duration Jan 24 00 106 1m7s 636ms 12 304 3m29s 689ms 13 476 5m55s 747ms 14 608 7m19s 722ms 15 359 4m9s 694ms 16 420 4m48s 687ms 17 436 4m56s 679ms 18 305 3m28s 682ms 19 248 2m59s 721ms 20 331 3m54s 707ms 21 180 1m58s 657ms 22 66 42s923ms 650ms -
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 ('%%m087%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%m-087%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%m-087%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 13:23:15 Duration: 1s984ms
-
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 ('%%343%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%343-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%343-%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 19:43:38 Duration: 1s885ms
-
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 ('%%m08%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%m-08%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%m-08%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 13:23:15 Duration: 1s883ms
4 2,905 6m42s 120ms 475ms 138ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where (("product_warehouse_inventory"."warehouse_id" = ?) and ("product_warehouse_inventory"."product_id" = ?)) order by "product_warehouse_inventory"."warehouse_name" limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 24 12 137 18s874ms 137ms 13 539 1m17s 143ms 14 724 1m40s 138ms 15 386 53s169ms 137ms 16 175 23s584ms 134ms 17 236 32s986ms 139ms 18 298 39s960ms 134ms 19 54 7s999ms 148ms 20 330 44s564ms 135ms 21 26 3s400ms 130ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 43) AND ("product_warehouse_inventory"."product_id" = 186632)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-01-24 17:51:17 Duration: 475ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 43) AND ("product_warehouse_inventory"."product_id" = 185221)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-01-24 17:51:18 Duration: 369ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 43) AND ("product_warehouse_inventory"."product_id" = 186600)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-01-24 17:51:17 Duration: 358ms
5 1,645 5m27s 176ms 1s276ms 199ms 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 Jan 24 00 1 184ms 184ms 10 1 181ms 181ms 11 6 1s115ms 185ms 12 99 18s869ms 190ms 13 207 43s435ms 209ms 14 255 51s553ms 202ms 15 147 28s983ms 197ms 16 242 46s981ms 194ms 17 191 38s131ms 199ms 18 134 26s850ms 200ms 19 116 23s574ms 203ms 20 217 42s513ms 195ms 21 26 4s964ms 190ms 22 3 557ms 185ms -
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-06181%') OR unaccent (res_partner.display_name) ilike unaccent ('%t-06181%') OR unaccent (res_partner.ref) ilike unaccent ('%t-06181%') OR unaccent (res_partner.vat) ilike unaccent ('t-06181')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%t-06181%') desc, unaccent (res_partner.display_name);
Date: 2024-01-24 17:07:35 Duration: 1s276ms
-
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 ('%14600%') OR unaccent (res_partner.display_name) ilike unaccent ('%14600%') OR unaccent (res_partner.ref) ilike unaccent ('%14600%') OR unaccent (res_partner.vat) ilike unaccent ('14600')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%14600%') desc, unaccent (res_partner.display_name);
Date: 2024-01-24 13:07:35 Duration: 626ms
-
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 ('%14229%') OR unaccent (res_partner.display_name) ilike unaccent ('%14229%') OR unaccent (res_partner.ref) ilike unaccent ('%14229%') OR unaccent (res_partner.vat) ilike unaccent ('14229')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%14229%') desc, unaccent (res_partner.display_name);
Date: 2024-01-24 13:07:35 Duration: 578ms
6 1,517 5m59s 214ms 567ms 236ms 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 #6
Day Hour Count Duration Avg duration Jan 24 00 13 2s887ms 222ms 12 272 1m3s 231ms 13 467 1m53s 242ms 14 41 10s53ms 245ms 15 44 10s323ms 234ms 16 35 8s514ms 243ms 17 154 35s412ms 229ms 18 50 12s130ms 242ms 19 244 57s691ms 236ms 20 70 16s760ms 239ms 21 127 29s436ms 231ms -
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (322404)) ORDER BY "sale_line_report"."id";
Date: 2024-01-24 19:56:33 Duration: 567ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (322513)) ORDER BY "sale_line_report"."id";
Date: 2024-01-24 13:02:18 Duration: 413ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (322906)) ORDER BY "sale_line_report"."id";
Date: 2024-01-24 16:11:55 Duration: 364ms
7 1,502 4m45s 158ms 1s433ms 189ms select min("sale_report".id) as id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" AS "product_id" from "sale_report" left join "product_product" AS "sale_report__product_id" on ("sale_report"."product_id" = "sale_report__product_id"."id") left join "product_template" AS "sale_report__product_id__product_tmpl_id" on ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") left join "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" on ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" and "sale_report__product_id__product_tmpl_id__name"."type" = ? and "sale_report__product_id__product_tmpl_id__name"."name" = ? and "sale_report__product_id__product_tmpl_id__name"."lang" = ? and "sale_report__product_id__product_tmpl_id__name"."value" != ?) where ((("sale_report"."state" in (...)) and ("sale_report"."product_id" in (...))) and ("sale_report"."date" >= ?)) and ("sale_report"."company_id" is null or ("sale_report"."company_id" in (...))) group by "sale_report"."product_id", "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" order by "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 24 00 5 861ms 172ms 01 4 684ms 171ms 11 3 543ms 181ms 12 72 13s356ms 185ms 13 261 52s41ms 199ms 14 180 35s735ms 198ms 15 169 31s914ms 188ms 16 141 27s134ms 192ms 17 109 19s670ms 180ms 18 195 36s315ms 186ms 19 164 31s660ms 193ms 20 92 16s565ms 180ms 21 74 13s261ms 179ms 22 32 5s384ms 168ms 23 1 200ms 200ms -
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (226475))) AND ("sale_report"."date" >= '2023-01-24 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-01-24 16:10:14 Duration: 1s433ms
-
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (261310))) AND ("sale_report"."date" >= '2023-01-24 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-01-24 14:42:08 Duration: 1s144ms
-
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (195397))) AND ("sale_report"."date" >= '2023-01-24 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-01-24 18:25:43 Duration: 611ms
8 1,319 3m45s 138ms 1s314ms 171ms select min("account_move".id) as id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" AS "debit_origin_id" from "account_move" left join "account_move" AS "account_move__debit_origin_id" on ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") where ("account_move"."debit_origin_id" in (...)) and ("account_move"."company_id" is null or ("account_move"."company_id" in (...))) group by "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" order by "account_move__debit_origin_id"."invoice_date_due";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jan 24 10 2 301ms 150ms 11 6 956ms 159ms 12 69 11s878ms 172ms 13 199 35s116ms 176ms 14 245 43s696ms 178ms 15 112 19s330ms 172ms 16 130 22s158ms 170ms 17 165 27s428ms 166ms 18 148 24s389ms 164ms 19 67 11s169ms 166ms 20 144 24s187ms 167ms 21 32 4s974ms 155ms -
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1161019)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-01-24 17:07:36 Duration: 1s314ms
-
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1151228)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-01-24 16:08:56 Duration: 690ms
-
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1163156)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-01-24 14:57:27 Duration: 626ms
9 1,193 2m58s 121ms 724ms 149ms select count(?) from mail_tracking_value v left join mail_message m on (v.mail_message_id = m.id) join purchase_order po on (po.id = m.res_id) where m.create_date >= ? and m.model = ? and m.message_type = ? and v.old_value_char = ? and v.new_value_char = ? and po.company_id = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jan 24 08 3 628ms 209ms 10 27 5s643ms 209ms 11 7 1s239ms 177ms 12 29 4s885ms 168ms 13 98 14s604ms 149ms 14 195 28s783ms 147ms 15 147 22s251ms 151ms 16 140 20s942ms 149ms 17 101 13s781ms 136ms 18 149 21s522ms 144ms 19 112 17s136ms 153ms 20 162 24s119ms 148ms 21 17 2s530ms 148ms 22 5 641ms 128ms 23 1 127ms 127ms -
SELECT COUNT(1) FROM mail_tracking_value v LEFT JOIN mail_message m ON (v.mail_message_id = m.id) JOIN purchase_order po ON (po.id = m.res_id) WHERE m.create_date >= '2024-01-17 10:03:03' AND m.model = 'purchase.order' AND m.message_type = 'notification' AND v.old_value_char = 'RFQ' AND v.new_value_char = 'RFQ Sent' AND po.company_id = 1;
Date: 2024-01-24 10:03:04 Duration: 724ms
-
SELECT COUNT(1) FROM mail_tracking_value v LEFT JOIN mail_message m ON (v.mail_message_id = m.id) JOIN purchase_order po ON (po.id = m.res_id) WHERE m.create_date >= '2024-01-17 19:06:42' AND m.model = 'purchase.order' AND m.message_type = 'notification' AND v.old_value_char = 'RFQ' AND v.new_value_char = 'RFQ Sent' AND po.company_id = 1;
Date: 2024-01-24 19:06:42 Duration: 689ms
-
SELECT COUNT(1) FROM mail_tracking_value v LEFT JOIN mail_message m ON (v.mail_message_id = m.id) JOIN purchase_order po ON (po.id = m.res_id) WHERE m.create_date >= '2024-01-17 18:37:31' AND m.model = 'purchase.order' AND m.message_type = 'notification' AND v.old_value_char = 'RFQ' AND v.new_value_char = 'RFQ Sent' AND po.company_id = 1;
Date: 2024-01-24 18:37:32 Duration: 614ms
10 1,121 2m32s 120ms 670ms 136ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where ("product_warehouse_inventory"."product_tmpl_id" in (...)) order by "product_warehouse_inventory"."warehouse_name";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 24 00 1 120ms 120ms 01 1 126ms 126ms 11 3 369ms 123ms 12 36 4s790ms 133ms 13 280 38s975ms 139ms 14 153 21s81ms 137ms 15 126 16s763ms 133ms 16 97 13s13ms 134ms 17 78 10s279ms 131ms 18 146 20s345ms 139ms 19 112 15s308ms 136ms 20 56 7s357ms 131ms 21 28 3s853ms 137ms 22 4 594ms 148ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (241590)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-01-24 18:55:37 Duration: 670ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (194271)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-01-24 13:30:53 Duration: 269ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_tmpl_id" in (241586)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-01-24 18:54:14 Duration: 256ms
11 979 14m5s 786ms 1s758ms 863ms 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 #11
Day Hour Count Duration Avg duration Jan 24 00 3 2s411ms 803ms 01 2 1s618ms 809ms 11 3 2s556ms 852ms 12 61 50s928ms 834ms 13 159 2m22s 896ms 14 136 1m58s 871ms 15 100 1m26s 864ms 16 101 1m26s 860ms 17 103 1m26s 839ms 18 110 1m37s 883ms 19 74 1m3s 855ms 20 73 1m1s 838ms 21 36 30s221ms 839ms 22 18 14s903ms 827ms -
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 ('%880XRAH%')) 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 ('%880XRAH%'))) 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 ('%880XRAH%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%880XRAH%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-01-24 18:37:32 Duration: 1s758ms
-
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 ('%2181%')) 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 ('%2181%'))) 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 ('%2181%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%2181%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-01-24 16:01:25 Duration: 1s696ms
-
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 ('%12039%')) 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 ('%12039%'))) 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 ('%12039%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%12039%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-01-24 13:36:25 Duration: 1s695ms
12 969 2m28s 132ms 2s794ms 153ms update "stock_quant" set "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jan 24 00 8 1s113ms 139ms 12 69 10s109ms 146ms 13 171 26s891ms 157ms 14 126 19s749ms 156ms 15 69 10s390ms 150ms 16 88 15s642ms 177ms 17 104 15s267ms 146ms 18 96 14s292ms 148ms 19 59 8s742ms 148ms 20 118 17s853ms 151ms 21 49 7s162ms 146ms 22 12 1s706ms 142ms -
UPDATE "stock_quant" SET "reserved_quantity" = 0.0, "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (155036, 29471, 370848, 370854, 29607, 29609, 175402, 175403, 392894, 393283, 399812, 364503, 364508, 393185, 414179, 357356, 29676, 284654, 29678);
Date: 2024-01-24 16:45:25 Duration: 2s794ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 0.0, "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (88904, 410753, 88900, 91719);
Date: 2024-01-24 13:12:22 Duration: 579ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 0.0, "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (57765, 251151);
Date: 2024-01-24 14:13:18 Duration: 310ms
13 954 2m26s 120ms 685ms 153ms 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"."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 (unaccent ("product_product"."barcode"::text) ilike unaccent (?)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name");Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jan 24 00 1 121ms 121ms 01 1 140ms 140ms 11 1 152ms 152ms 12 23 3s283ms 142ms 13 221 35s178ms 159ms 14 123 18s876ms 153ms 15 109 17s578ms 161ms 16 88 12s883ms 146ms 17 40 6s744ms 168ms 18 180 27s52ms 150ms 19 99 14s421ms 145ms 20 49 7s270ms 148ms 21 17 2s390ms 140ms 22 2 289ms 144ms -
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"."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 (unaccent ("product_product"."barcode"::text) ilike unaccent ('%98013%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name");
Date: 2024-01-24 17:51:17 Duration: 685ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE ("product_template"."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 (unaccent ("product_product"."barcode"::text) ilike unaccent ('%kn20025%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name");
Date: 2024-01-24 14:16:56 Duration: 667ms
-
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"."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 (unaccent ("product_product"."barcode"::text) ilike unaccent ('%3228qc%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name");
Date: 2024-01-24 15:04:55 Duration: 647ms
14 911 2m13s 128ms 603ms 146ms select "account_move".id from "account_move" where (("account_move"."edi_810_id" in (...)) and (("account_move"."id" not in (...)) or "account_move"."id" is null)) order by "account_move"."invoice_date_due";Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jan 24 03 17 2s446ms 143ms 07 17 2s795ms 164ms 09 117 17s64ms 145ms 10 673 1m38s 146ms 23 87 12s832ms 147ms -
SELECT "account_move".id FROM "account_move" WHERE (("account_move"."edi_810_id" in (44355)) AND (("account_move"."id" not in (1149837)) OR "account_move"."id" IS NULL)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-01-24 10:02:01 Duration: 603ms
-
SELECT "account_move".id FROM "account_move" WHERE (("account_move"."edi_810_id" in (40235)) AND (("account_move"."id" not in (1144936)) OR "account_move"."id" IS NULL)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-01-24 07:06:25 Duration: 589ms
-
SELECT "account_move".id FROM "account_move" WHERE (("account_move"."edi_810_id" in (44389)) AND (("account_move"."id" not in (1161860, 1161861)) OR "account_move"."id" IS NULL)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-01-24 10:07:29 Duration: 209ms
15 891 1m59s 120ms 327ms 134ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where ("product_warehouse_inventory"."product_id" in (...)) order by "product_warehouse_inventory"."warehouse_name";Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jan 24 01 1 121ms 121ms 12 10 1s321ms 132ms 13 60 9s25ms 150ms 14 47 6s556ms 139ms 15 35 4s877ms 139ms 16 26 3s555ms 136ms 17 21 2s901ms 138ms 18 21 2s777ms 132ms 19 564 1m14s 132ms 20 26 3s458ms 133ms 21 44 5s650ms 128ms 22 36 4s769ms 132ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (194709)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-01-24 19:43:37 Duration: 327ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (236251)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-01-24 13:36:23 Duration: 323ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (238632)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-01-24 13:24:06 Duration: 298ms
16 840 1m59s 120ms 552ms 141ms select "sale_order_line".id from "sale_order_line" where (((("sale_order_line"."product_id" = ?) and ("sale_order_line"."order_id" in ( select "sale_order".id from "sale_order" where ("sale_order"."branch_id" in ( select "res_branch".id from "res_branch" where ("res_branch"."id" = ?)))))) and ("sale_order_line"."open_qty_fil" > ?.?)) and (("sale_order_line"."state" not in (...)) or "sale_order_line"."state" is null)) order by "sale_order_line"."id" asc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jan 24 12 20 2s792ms 139ms 13 190 27s312ms 143ms 14 221 32s336ms 146ms 15 128 17s439ms 136ms 16 57 8s639ms 151ms 17 59 7s932ms 134ms 18 71 10s18ms 141ms 19 8 1s15ms 126ms 20 86 11s763ms 136ms -
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 226996) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '38')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2024-01-24 16:08:56 Duration: 552ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 174428) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '45')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2024-01-24 16:08:56 Duration: 342ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 198881) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '45')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2024-01-24 13:54:51 Duration: 266ms
17 808 1m49s 120ms 463ms 135ms select id from product_warehouse_inventory where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 24 00 3 367ms 122ms 11 1 122ms 122ms 12 73 9s666ms 132ms 13 233 31s532ms 135ms 14 155 21s215ms 136ms 15 75 10s118ms 134ms 16 39 5s527ms 141ms 17 39 5s51ms 129ms 18 91 12s902ms 141ms 19 48 6s514ms 135ms 20 36 4s900ms 136ms 21 13 1s650ms 126ms 22 2 250ms 125ms -
select id from product_warehouse_inventory where product_id = 205699 and warehouse_id = 37 and company_id = 1;
Date: 2024-01-24 18:05:56 Duration: 463ms
-
select id from product_warehouse_inventory where product_id = 184358 and warehouse_id = 43 and company_id = 1;
Date: 2024-01-24 16:48:07 Duration: 355ms
-
select id from product_warehouse_inventory where product_id = 237132 and warehouse_id = 40 and company_id = 1;
Date: 2024-01-24 14:16:56 Duration: 339ms
18 795 8m11s 139ms 12s296ms 618ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 24 10 1 845ms 845ms 11 8 6s527ms 815ms 12 39 28s53ms 719ms 13 174 1m55s 662ms 14 219 2m12s 603ms 15 52 30s290ms 582ms 16 42 26s544ms 632ms 17 65 40s160ms 617ms 18 80 43s694ms 546ms 19 50 29s930ms 598ms 20 30 15s853ms 528ms 21 34 21s543ms 633ms 23 1 439ms 439ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (411009, 303972, 380647, 196616, 306633, 409226, 393003, 223280, 255984, 252082, 353811, 399860, 409723, 344285, 424766);
Date: 2024-01-24 13:41:52 Duration: 12s296ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (147106, 147081, 144367, 146999, 147069);
Date: 2024-01-24 19:09:42 Duration: 4s506ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (363561, 245659, 29428);
Date: 2024-01-24 17:29:42 Duration: 2s694ms
19 777 9m4s 607ms 1s988ms 701ms 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 #19
Day Hour Count Duration Avg duration Jan 24 12 146 1m37s 669ms 13 73 55s778ms 764ms 14 43 30s877ms 718ms 15 111 1m17s 694ms 16 116 1m23s 719ms 17 72 47s364ms 657ms 18 91 1m1s 678ms 19 84 1m2s 747ms 20 31 20s743ms 669ms 21 8 5s820ms 727ms 22 2 1s262ms 631ms -
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 ('%%2030%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%20-30%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%20-30%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 16:08:57 Duration: 1s988ms
-
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 ('%%203%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%20-3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%20-3%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 16:08:57 Duration: 1s919ms
-
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 ('%%2030%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%20-30-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%20-30-%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 16:08:57 Duration: 1s593ms
20 764 3m35s 233ms 1s231ms 281ms 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 Jan 24 10 1 318ms 318ms 11 14 3s491ms 249ms 12 49 12s869ms 262ms 13 165 49s297ms 298ms 14 171 47s767ms 279ms 15 51 15s34ms 294ms 16 39 10s592ms 271ms 17 85 22s600ms 265ms 18 73 18s723ms 256ms 19 51 14s99ms 276ms 20 26 6s719ms 258ms 21 39 13s928ms 357ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 0.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (315680, 315684, 7665, 315676, 315679);
Date: 2024-01-24 21:32:01 Duration: 1s231ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 0.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (78267, 78269, 78270, 78263);
Date: 2024-01-24 21:44:49 Duration: 1s17ms
-
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" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (243346, 236855, 307766, 242247);
Date: 2024-01-24 17:28:03 Duration: 1s8ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1s416ms 53s835ms 9s510ms 120 19m1s delete from account_move_line where id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 24 03 1 4s377ms 4s377ms 07 1 11s641ms 11s641ms 09 12 2m11s 10s980ms 10 78 13m15s 10s205ms 13 1 3s112ms 3s112ms 14 4 12s317ms 3s79ms 17 2 4s412ms 2s206ms 18 5 15s86ms 3s17ms 19 4 1m2s 15s667ms 20 2 5s878ms 2s939ms 23 10 1m34s 9s401ms -
DELETE FROM account_move_line WHERE id IN (3775862, 3775863, 3775864, 3775865, 3775866, 3775867, 3775868, 3775869, 3775870, 3775871, 3775872, 3775873, 3775874, 3775875, 3775876, 3775877, 3775878, 3775879, 3775880, 3775881, 3775882, 3775883, 3775884, 3775885, 3775886, 3775887, 3775888, 3775889, 3775890, 3775891, 3775892, 3775893, 3775894, 3775895, 3980847, 3980848);
Date: 2024-01-24 19:16:14 Duration: 53s835ms
-
DELETE FROM account_move_line WHERE id IN (4055197, 4055198, 4055199, 4055150, 4055151, 4055152, 4055153, 4055154, 4055155, 4055156, 4055157, 4055158, 4055159, 4055160, 4055161, 4055162, 4055163, 4055164, 4055165, 4055166, 4055167, 4055168, 4055169, 4055170, 4055171, 4055172, 4055173, 4055174, 4055175, 4055176, 4055177, 4055178, 4055179, 4055180, 4055181, 4055182);
Date: 2024-01-24 10:37:30 Duration: 52s44ms
-
DELETE FROM account_move_line WHERE id IN (4048192, 4048193, 4046083, 4046084, 4046085, 4046086, 4046087, 4046088, 4046089, 4046090, 4046091, 4046092, 4046093, 4046094, 4046095, 4046096, 4046097, 4046098, 4046099, 4046100, 4046101, 4046102, 4046103, 4046104, 4046105, 4046106, 4046107, 4046108, 4046109);
Date: 2024-01-24 10:20:00 Duration: 41s465ms
2 1s496ms 2s547ms 1s622ms 374 10m6s select "sale_history_line".id from "sale_history_line" where ((("sale_history_line"."inventory_vendor_id" = ?) and ("sale_history_line"."product_name" = ?)) and (((((("sale_history_line"."invoice_date" >= ?) and ("sale_history_line"."invoice_date" <= ?)) or (("sale_history_line"."invoice_date" >= ?) and ("sale_history_line"."invoice_date" <= ?))) or (("sale_history_line"."invoice_date" >= ?) and ("sale_history_line"."invoice_date" <= ?))) and (("sale_history_line"."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 ("sale_history_line"."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 (?)))))) and ((unaccent ("sale_history_line"."product_name"::text) not ilike unaccent (?)) or "sale_history_line"."product_name" is null))) order by "sale_history_line"."invoice_date" desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 24 15 374 10m6s 1s622ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ((("sale_history_line"."inventory_vendor_id" = 3065) AND ("sale_history_line"."product_name" = 'RS15120R410-TM01972')) AND (((((("sale_history_line"."invoice_date" >= '2022-01-01') AND ("sale_history_line"."invoice_date" <= '2022-12-31')) OR (("sale_history_line"."invoice_date" >= '2023-01-01') AND ("sale_history_line"."invoice_date" <= '2023-12-31'))) OR (("sale_history_line"."invoice_date" >= '2024-01-01') AND ("sale_history_line"."invoice_date" <= '2024-12-31'))) AND (("sale_history_line"."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 ('%psd power%')))) OR ("sale_history_line"."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 ('%valley truck%')))))) AND ((unaccent ("sale_history_line"."product_name"::text) not ilike unaccent ('%_c%')) OR "sale_history_line"."product_name" IS NULL))) ORDER BY "sale_history_line"."invoice_date" DESC;
Date: 2024-01-24 15:11:00 Duration: 2s547ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ((("sale_history_line"."inventory_vendor_id" = 3065) AND ("sale_history_line"."product_name" = 'RTLO16713A')) AND (((((("sale_history_line"."invoice_date" >= '2022-01-01') AND ("sale_history_line"."invoice_date" <= '2022-12-31')) OR (("sale_history_line"."invoice_date" >= '2023-01-01') AND ("sale_history_line"."invoice_date" <= '2023-12-31'))) OR (("sale_history_line"."invoice_date" >= '2024-01-01') AND ("sale_history_line"."invoice_date" <= '2024-12-31'))) AND (("sale_history_line"."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 ('%psd power%')))) OR ("sale_history_line"."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 ('%valley truck%')))))) AND ((unaccent ("sale_history_line"."product_name"::text) not ilike unaccent ('%_c%')) OR "sale_history_line"."product_name" IS NULL))) ORDER BY "sale_history_line"."invoice_date" DESC;
Date: 2024-01-24 15:11:51 Duration: 2s44ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ((("sale_history_line"."inventory_vendor_id" = 3103) AND ("sale_history_line"."product_name" = '29532370')) AND (((((("sale_history_line"."invoice_date" >= '2022-01-01') AND ("sale_history_line"."invoice_date" <= '2022-12-31')) OR (("sale_history_line"."invoice_date" >= '2023-01-01') AND ("sale_history_line"."invoice_date" <= '2023-12-31'))) OR (("sale_history_line"."invoice_date" >= '2024-01-01') AND ("sale_history_line"."invoice_date" <= '2024-12-31'))) AND (("sale_history_line"."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 ('%psd power%')))) OR ("sale_history_line"."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 ('%valley truck%')))))) AND ((unaccent ("sale_history_line"."product_name"::text) not ilike unaccent ('%_c%')) OR "sale_history_line"."product_name" IS NULL))) ORDER BY "sale_history_line"."invoice_date" DESC;
Date: 2024-01-24 15:13:28 Duration: 2s39ms
3 141ms 16s620ms 1s372ms 244 5m34s 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 #3
Day Hour Count Duration Avg duration Jan 24 10 1 1s187ms 1s187ms 11 1 1s118ms 1s118ms 12 4 4s597ms 1s149ms 13 54 1m27s 1s618ms 14 77 2m 1s564ms 15 25 25s17ms 1s 16 11 16s66ms 1s460ms 17 14 15s200ms 1s85ms 18 28 29s98ms 1s39ms 19 12 17s359ms 1s446ms 20 10 10s580ms 1s58ms 21 6 6s700ms 1s116ms 23 1 164ms 164ms -
UPDATE "stock_move" SET "date" = '2024-01-24 13:41:20', "is_done" = true, "state" = 'done', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (779488, 779474, 779475, 779476, 779477, 779478, 779479, 779480, 779481, 779482, 779483, 779484, 779485, 779486, 779487);
Date: 2024-01-24 13:41:37 Duration: 16s620ms
-
UPDATE "stock_move" SET "date" = '2024-01-24 14:33:43', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (775475, 775476, 775477, 775478, 775479, 775480, 775481, 775482, 775483, 775484, 775485, 775486, 775487, 775488, 775489, 775490, 775491, 775492, 775493, 775494, 775495);
Date: 2024-01-24 14:33:56 Duration: 12s205ms
-
UPDATE "stock_move" SET "date" = '2024-01-24 14:31:04', "is_done" = true, "state" = 'done', "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (775456, 775457, 775458, 775459, 775460, 775447, 775448, 775449, 775450, 775451, 775452, 775453, 775454, 775455);
Date: 2024-01-24 14:31:13 Duration: 8s895ms
4 142ms 10s132ms 1s150ms 304 5m49s update "stock_move" set "branch_id" = ?, "picking_id" = ?, "related_core_purchase_line_id" = ?, "related_core_repair_line_id" = ?, "related_core_sale_line_id" = ?, "scrapped" = false, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 24 00 4 4s763ms 1s190ms 12 22 33s631ms 1s528ms 13 38 47s119ms 1s239ms 14 42 42s635ms 1s15ms 15 40 31s485ms 787ms 16 32 42s512ms 1s328ms 17 32 38s802ms 1s212ms 18 26 25s692ms 988ms 19 19 24s413ms 1s284ms 20 25 29s739ms 1s189ms 21 21 22s372ms 1s65ms 22 3 6s523ms 2s174ms -
UPDATE "stock_move" SET "branch_id" = 46, "picking_id" = 327614, "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 (779942, 779943, 779944, 779945, 779946, 779947, 779948, 779949, 779950, 779951, 779952, 779953, 779954, 779955, 779956, 779957, 779958, 779959, 779960, 779961, 779962, 779963, 779964);
Date: 2024-01-24 16:44:00 Duration: 10s132ms
-
UPDATE "stock_move" SET "branch_id" = 48, "picking_id" = 327788, "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 (780288, 780289, 780275, 780276, 780277, 780278, 780279, 780280, 780281, 780282, 780283, 780284, 780285, 780286, 780287);
Date: 2024-01-24 18:58:40 Duration: 7s530ms
-
UPDATE "stock_move" SET "branch_id" = 37, "picking_id" = 327163, "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 (779250, 779251, 779252, 779253, 779255, 779256, 779257, 779259, 779261, 779262, 779263);
Date: 2024-01-24 13:06:14 Duration: 7s187ms
5 965ms 1s910ms 1s52ms 608 10m39s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jan 24 00 6 5s881ms 980ms 01 3 2s954ms 984ms 07 6 5s845ms 974ms 11 21 20s619ms 981ms 12 114 2m2s 1s72ms 13 80 1m26s 1s79ms 14 66 1m11s 1s78ms 15 42 42s951ms 1s22ms 16 72 1m16s 1s61ms 17 24 24s302ms 1s12ms 18 18 18s806ms 1s44ms 19 114 1m59s 1s51ms 21 36 36s343ms 1s9ms 22 6 5s944ms 990ms -
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 ('%M65404%') 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 ('%M65404%')))))) 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 ('%M65404%')))))) 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 ('%M65404%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%M65404%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%M65404%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-01-24 16:19:12 Duration: 1s910ms
-
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 ('%PL1362-4%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%PL1362-4%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%PL1362-4%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%PL1362-4%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%PL1362-4%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%PL1362-4%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-01-24 12:59:27 Duration: 1s654ms
-
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 ('%21-P-572%') 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 ('%21-P-572%')))))) 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 ('%21-P-572%')))))) 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 ('%21-P-572%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%21-P-572%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%21-P-572%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-01-24 12:58:52 Duration: 1s560ms
6 962ms 1s589ms 1s50ms 273 4m46s select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 24 00 13 12s894ms 991ms 07 6 5s843ms 973ms 11 5 4s915ms 983ms 12 48 51s859ms 1s80ms 13 15 15s745ms 1s49ms 14 34 36s177ms 1s64ms 15 26 26s781ms 1s30ms 16 33 34s899ms 1s57ms 17 30 31s239ms 1s41ms 18 3 3s145ms 1s48ms 19 31 33s709ms 1s87ms 21 19 19s676ms 1s35ms 22 5 5s7ms 1s1ms 23 5 4s998ms 999ms -
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 ('%PL1362-4%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%PL1362-4%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%PL1362-4%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%PL1362-4%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%PL1362-4%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%PL1362-4%'))));
Date: 2024-01-24 12:59:29 Duration: 1s589ms
-
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 ('%21-P-572%') 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 ('%21-P-572%')))))) 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 ('%21-P-572%')))))) 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 ('%21-P-572%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%21-P-572%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%21-P-572%'))));
Date: 2024-01-24 12:58:40 Duration: 1s542ms
-
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 ('%94902-%') 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 ('%94902-%')))))) 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 ('%94902-%')))))) 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 ('%94902-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%94902-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%94902-%'))));
Date: 2024-01-24 16:58:35 Duration: 1s316ms
7 962ms 1s621ms 1s45ms 324 5m38s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 24 00 13 12s851ms 988ms 07 6 5s863ms 977ms 11 9 8s860ms 984ms 12 55 1m 1s92ms 13 16 17s598ms 1s99ms 14 44 45s251ms 1s28ms 15 28 29s258ms 1s44ms 16 40 41s784ms 1s44ms 17 31 32s357ms 1s43ms 18 4 4s197ms 1s49ms 19 45 47s146ms 1s47ms 21 21 21s370ms 1s17ms 22 6 6s73ms 1s12ms 23 6 5s946ms 991ms -
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 ('%PL1362-4%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%PL1362-4%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%PL1362-4%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%PL1362-4%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%PL1362-4%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%PL1362-4%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-01-24 12:59:27 Duration: 1s621ms
-
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 ('%343-4025%') 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 ('%343-4025%')))))) 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 ('%343-4025%')))))) 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 ('%343-4025%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%343-4025%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%343-4025%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-01-24 12:46:09 Duration: 1s507ms
-
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 ('%BA29100%') 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 ('%BA29100%')))))) 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 ('%BA29100%')))))) 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 ('%BA29100%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%BA29100%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%BA29100%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-01-24 13:53:37 Duration: 1s399ms
8 422ms 8s206ms 927ms 526 8m7s 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 #8
Day Hour Count Duration Avg duration Jan 24 11 2 1s781ms 890ms 12 20 16s831ms 841ms 13 101 1m38s 979ms 14 90 1m20s 893ms 15 36 31s400ms 872ms 16 36 32s251ms 895ms 17 44 36s739ms 834ms 18 88 1m21s 927ms 19 58 1m3s 1s90ms 20 25 21s350ms 854ms 21 26 23s90ms 888ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2024-01-24 19:19:02', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (766060, 766061, 766064, 766068, 766070, 766072, 766073, 766074, 766075, 766076, 766077);
Date: 2024-01-24 19:19:20 Duration: 8s206ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 3.0, "date" = '2024-01-24 19:19:02', "is_done" = true, "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (766058, 766059, 766062, 766065, 766067);
Date: 2024-01-24 19:19:12 Duration: 3s663ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2024-01-24 13:36:21', "is_done" = true, "state" = 'done', "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (776952, 776953);
Date: 2024-01-24 13:36:25 Duration: 2s641ms
9 786ms 1s758ms 863ms 979 14m5s 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 #9
Day Hour Count Duration Avg duration Jan 24 00 3 2s411ms 803ms 01 2 1s618ms 809ms 11 3 2s556ms 852ms 12 61 50s928ms 834ms 13 159 2m22s 896ms 14 136 1m58s 871ms 15 100 1m26s 864ms 16 101 1m26s 860ms 17 103 1m26s 839ms 18 110 1m37s 883ms 19 74 1m3s 855ms 20 73 1m1s 838ms 21 36 30s221ms 839ms 22 18 14s903ms 827ms -
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 ('%880XRAH%')) 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 ('%880XRAH%'))) 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 ('%880XRAH%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%880XRAH%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-01-24 18:37:32 Duration: 1s758ms
-
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 ('%2181%')) 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 ('%2181%'))) 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 ('%2181%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%2181%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-01-24 16:01:25 Duration: 1s696ms
-
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 ('%12039%')) 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 ('%12039%'))) 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 ('%12039%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%12039%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-01-24 13:36:25 Duration: 1s695ms
10 624ms 1s303ms 709ms 468 5m31s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 24 12 3 1s989ms 663ms 13 77 55s694ms 723ms 14 41 30s31ms 732ms 15 17 11s765ms 692ms 16 17 11s341ms 667ms 17 20 13s677ms 683ms 18 22 16s116ms 732ms 19 51 35s14ms 686ms 20 214 2m32s 712ms 21 2 1s289ms 644ms 22 4 2s535ms 633ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%shipping%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%shipping%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%shipping%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 20:20:31 Duration: 1s303ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%shipping%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%shipping%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%shipping%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 20:20:30 Duration: 1s231ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%shipping%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%shipping%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%shipping%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 20:20:31 Duration: 1s221ms
11 607ms 1s988ms 701ms 777 9m4s 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 Jan 24 12 146 1m37s 669ms 13 73 55s778ms 764ms 14 43 30s877ms 718ms 15 111 1m17s 694ms 16 116 1m23s 719ms 17 72 47s364ms 657ms 18 91 1m1s 678ms 19 84 1m2s 747ms 20 31 20s743ms 669ms 21 8 5s820ms 727ms 22 2 1s262ms 631ms -
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 ('%%2030%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%20-30%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%20-30%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 16:08:57 Duration: 1s988ms
-
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 ('%%203%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%20-3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%20-3%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 16:08:57 Duration: 1s919ms
-
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 ('%%2030%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%20-30-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%20-30-%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 16:08:57 Duration: 1s593ms
12 615ms 1s984ms 700ms 3,839 44m49s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jan 24 00 106 1m7s 636ms 12 304 3m29s 689ms 13 476 5m55s 747ms 14 608 7m19s 722ms 15 359 4m9s 694ms 16 420 4m48s 687ms 17 436 4m56s 679ms 18 305 3m28s 682ms 19 248 2m59s 721ms 20 331 3m54s 707ms 21 180 1m58s 657ms 22 66 42s923ms 650ms -
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 ('%%m087%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%m-087%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%m-087%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 13:23:15 Duration: 1s984ms
-
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 ('%%343%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%343-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%343-%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 19:43:38 Duration: 1s885ms
-
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 ('%%m08%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%m-08%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%m-08%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-01-24 13:23:15 Duration: 1s883ms
13 139ms 12s296ms 618ms 795 8m11s update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jan 24 10 1 845ms 845ms 11 8 6s527ms 815ms 12 39 28s53ms 719ms 13 174 1m55s 662ms 14 219 2m12s 603ms 15 52 30s290ms 582ms 16 42 26s544ms 632ms 17 65 40s160ms 617ms 18 80 43s694ms 546ms 19 50 29s930ms 598ms 20 30 15s853ms 528ms 21 34 21s543ms 633ms 23 1 439ms 439ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (411009, 303972, 380647, 196616, 306633, 409226, 393003, 223280, 255984, 252082, 353811, 399860, 409723, 344285, 424766);
Date: 2024-01-24 13:41:52 Duration: 12s296ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (147106, 147081, 144367, 146999, 147069);
Date: 2024-01-24 19:09:42 Duration: 4s506ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (363561, 245659, 29428);
Date: 2024-01-24 17:29:42 Duration: 2s694ms
14 138ms 9s601ms 512ms 646 5m31s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jan 24 00 4 1s17ms 254ms 12 54 41s332ms 765ms 13 136 1m31s 669ms 14 103 45s180ms 438ms 15 62 25s327ms 408ms 16 53 20s585ms 388ms 17 70 28s635ms 409ms 18 65 37s682ms 579ms 19 38 19s708ms 518ms 20 31 11s289ms 364ms 21 23 6s592ms 286ms 22 7 2s756ms 393ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (779179, 779181, 779183, 779184, 779185, 779186, 779187, 779188, 779189, 779190, 779191, 779192, 779193, 779194, 779195, 779196);
Date: 2024-01-24 12:58:14 Duration: 9s601ms
-
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (779489, 779490, 779491, 779492, 779493, 779494, 779495, 779496, 779497, 779498, 779499, 779500, 779501, 779502, 779503);
Date: 2024-01-24 13:41:13 Duration: 8s16ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (780192, 780193, 780194, 780197, 780177, 780178, 780179, 780180, 780181, 780182, 780183, 780184, 780185, 780190, 780191);
Date: 2024-01-24 18:16:13 Duration: 6s758ms
15 320ms 1s618ms 349ms 25,462 2h28m7s 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 #15
Day Hour Count Duration Avg duration Jan 24 00 219 1m13s 333ms 01 1,014 5m36s 331ms 02 1,105 6m7s 332ms 03 1,109 6m10s 334ms 04 441 2m27s 334ms 07 93 31s701ms 340ms 08 1,270 7m5s 334ms 09 880 4m52s 332ms 10 861 4m47s 334ms 11 988 5m26s 330ms 12 1,809 10m25s 345ms 13 2,361 14m54s 379ms 14 1,727 10m36s 368ms 15 1,597 9m36s 361ms 16 1,521 8m58s 353ms 17 1,090 6m23s 351ms 18 1,419 8m27s 357ms 19 1,418 8m30s 360ms 20 1,424 8m19s 350ms 21 1,232 7m 341ms 22 1,025 5m42s 333ms 23 859 4m52s 340ms -
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.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-a54df00/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-01-24 13:23:15 Duration: 1s618ms
-
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.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-a54df00/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-01-24 17:07:36 Duration: 1s356ms
-
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.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-01-24 14:27:45 Duration: 1s311ms
16 233ms 1s231ms 281ms 764 3m35s 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 #16
Day Hour Count Duration Avg duration Jan 24 10 1 318ms 318ms 11 14 3s491ms 249ms 12 49 12s869ms 262ms 13 165 49s297ms 298ms 14 171 47s767ms 279ms 15 51 15s34ms 294ms 16 39 10s592ms 271ms 17 85 22s600ms 265ms 18 73 18s723ms 256ms 19 51 14s99ms 276ms 20 26 6s719ms 258ms 21 39 13s928ms 357ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 0.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (315680, 315684, 7665, 315676, 315679);
Date: 2024-01-24 21:32:01 Duration: 1s231ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 0.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (78267, 78269, 78270, 78263);
Date: 2024-01-24 21:44:49 Duration: 1s17ms
-
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" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (243346, 236855, 307766, 242247);
Date: 2024-01-24 17:28:03 Duration: 1s8ms
17 214ms 567ms 236ms 1,517 5m59s 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 #17
Day Hour Count Duration Avg duration Jan 24 00 13 2s887ms 222ms 12 272 1m3s 231ms 13 467 1m53s 242ms 14 41 10s53ms 245ms 15 44 10s323ms 234ms 16 35 8s514ms 243ms 17 154 35s412ms 229ms 18 50 12s130ms 242ms 19 244 57s691ms 236ms 20 70 16s760ms 239ms 21 127 29s436ms 231ms -
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (322404)) ORDER BY "sale_line_report"."id";
Date: 2024-01-24 19:56:33 Duration: 567ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (322513)) ORDER BY "sale_line_report"."id";
Date: 2024-01-24 13:02:18 Duration: 413ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (322906)) ORDER BY "sale_line_report"."id";
Date: 2024-01-24 16:11:55 Duration: 364ms
18 120ms 1s727ms 219ms 30,333 1h51m5s 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 #18
Day Hour Count Duration Avg duration Jan 24 00 235 40s728ms 173ms 01 267 49s254ms 184ms 02 197 29s697ms 150ms 03 279 44s32ms 157ms 04 166 31s244ms 188ms 05 57 10s919ms 191ms 06 246 40s906ms 166ms 07 121 23s576ms 194ms 08 254 44s104ms 173ms 09 310 53s553ms 172ms 10 248 39s529ms 159ms 11 170 35s299ms 207ms 12 1,165 3m23s 175ms 13 4,451 14m41s 198ms 14 3,575 11m52s 199ms 15 3,253 12m15s 226ms 16 2,691 12m15s 273ms 17 2,807 15m6s 322ms 18 2,794 10m37s 227ms 19 3,155 10m31s 200ms 20 2,210 7m21s 199ms 21 972 3m23s 208ms 22 450 1m21s 181ms 23 260 52s526ms 202ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-01-24 17:06:44') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19535]', '["pointspring_master","mail.channel",241]', '["pointspring_master","mail.channel",435]', '["pointspring_master","mail.channel",452]', '["pointspring_master","mail.channel",460]', '["pointspring_master","mail.channel",471]', '["pointspring_master","mail.channel",530]', '["pointspring_master","mail.channel",590]', '["pointspring_master","res.partner",19535]', '["pointspring_master","ir.needaction",19535]'))) ORDER BY "bus_bus"."id";
Date: 2024-01-24 17:07:35 Duration: 1s727ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-01-24 17:06:44') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19497]', '["pointspring_master","mail.channel",24]', '["pointspring_master","mail.channel",25]', '["pointspring_master","mail.channel",26]', '["pointspring_master","mail.channel",532]', '["pointspring_master","mail.channel",591]', '["pointspring_master","res.partner",19497]', '["pointspring_master","ir.needaction",19497]'))) ORDER BY "bus_bus"."id";
Date: 2024-01-24 17:07:35 Duration: 1s716ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-01-24 17:06:44') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1019"', '["pointspring_master","calendar.alarm",19557]', '["pointspring_master","mail.channel",154]', '["pointspring_master","mail.channel",155]', '["pointspring_master","mail.channel",156]', '["pointspring_master","mail.channel",536]', '["pointspring_master","res.partner",19557]', '["pointspring_master","ir.needaction",19557]'))) ORDER BY "bus_bus"."id";
Date: 2024-01-24 17:07:35 Duration: 1s684ms
19 176ms 1s276ms 199ms 1,645 5m27s 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 #19
Day Hour Count Duration Avg duration Jan 24 00 1 184ms 184ms 10 1 181ms 181ms 11 6 1s115ms 185ms 12 99 18s869ms 190ms 13 207 43s435ms 209ms 14 255 51s553ms 202ms 15 147 28s983ms 197ms 16 242 46s981ms 194ms 17 191 38s131ms 199ms 18 134 26s850ms 200ms 19 116 23s574ms 203ms 20 217 42s513ms 195ms 21 26 4s964ms 190ms 22 3 557ms 185ms -
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-06181%') OR unaccent (res_partner.display_name) ilike unaccent ('%t-06181%') OR unaccent (res_partner.ref) ilike unaccent ('%t-06181%') OR unaccent (res_partner.vat) ilike unaccent ('t-06181')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%t-06181%') desc, unaccent (res_partner.display_name);
Date: 2024-01-24 17:07:35 Duration: 1s276ms
-
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 ('%14600%') OR unaccent (res_partner.display_name) ilike unaccent ('%14600%') OR unaccent (res_partner.ref) ilike unaccent ('%14600%') OR unaccent (res_partner.vat) ilike unaccent ('14600')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%14600%') desc, unaccent (res_partner.display_name);
Date: 2024-01-24 13:07:35 Duration: 626ms
-
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 ('%14229%') OR unaccent (res_partner.display_name) ilike unaccent ('%14229%') OR unaccent (res_partner.ref) ilike unaccent ('%14229%') OR unaccent (res_partner.vat) ilike unaccent ('14229')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%14229%') desc, unaccent (res_partner.display_name);
Date: 2024-01-24 13:07:35 Duration: 578ms
20 158ms 1s433ms 189ms 1,502 4m45s select min("sale_report".id) as id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" AS "product_id" from "sale_report" left join "product_product" AS "sale_report__product_id" on ("sale_report"."product_id" = "sale_report__product_id"."id") left join "product_template" AS "sale_report__product_id__product_tmpl_id" on ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") left join "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" on ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" and "sale_report__product_id__product_tmpl_id__name"."type" = ? and "sale_report__product_id__product_tmpl_id__name"."name" = ? and "sale_report__product_id__product_tmpl_id__name"."lang" = ? and "sale_report__product_id__product_tmpl_id__name"."value" != ?) where ((("sale_report"."state" in (...)) and ("sale_report"."product_id" in (...))) and ("sale_report"."date" >= ?)) and ("sale_report"."company_id" is null or ("sale_report"."company_id" in (...))) group by "sale_report"."product_id", "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" order by "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jan 24 00 5 861ms 172ms 01 4 684ms 171ms 11 3 543ms 181ms 12 72 13s356ms 185ms 13 261 52s41ms 199ms 14 180 35s735ms 198ms 15 169 31s914ms 188ms 16 141 27s134ms 192ms 17 109 19s670ms 180ms 18 195 36s315ms 186ms 19 164 31s660ms 193ms 20 92 16s565ms 180ms 21 74 13s261ms 179ms 22 32 5s384ms 168ms 23 1 200ms 200ms -
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (226475))) AND ("sale_report"."date" >= '2023-01-24 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-01-24 16:10:14 Duration: 1s433ms
-
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (261310))) AND ("sale_report"."date" >= '2023-01-24 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-01-24 14:42:08 Duration: 1s144ms
-
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (195397))) AND ("sale_report"."date" >= '2023-01-24 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-01-24 18:25:43 Duration: 611ms
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
- 118,900 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 7409 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 6,342 Max number of times the same event was reported
- 7,409 Total events found
Rank Times reported Error 1 6,342 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Jan 24 00 47 01 242 02 303 03 288 04 121 07 21 08 364 09 225 10 207 11 215 12 473 13 606 14 399 15 377 16 427 17 259 18 306 19 359 20 294 21 310 22 248 23 251 - ERROR: could not serialize access due to concurrent update
Statement: DELETE FROM ir_attachment WHERE id IN ( SELECT id FROM ir_attachment WHERE id in (4777922) FOR NO KEY UPDATE SKIP LOCKED )
Date: 2024-01-24 22:50:15
2 956 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Jan 24 00 35 01 41 02 31 03 21 04 19 05 21 06 26 07 92 08 92 09 56 10 197 11 20 12 21 13 22 14 24 15 21 16 31 17 26 18 20 19 19 20 20 21 37 22 23 23 41 - 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: 2024-01-24 22:50:24
Statement: SELECT * FROM website_visitor where id = 11158400 FOR NO KEY UPDATE NOWAIT
Date: 2024-01-24 16:07:38
3 58 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #3
Day Hour Count Jan 24 01 1 02 2 03 4 04 1 07 1 08 2 09 19 12 3 13 5 14 5 15 2 16 5 17 1 19 2 20 4 21 1 - ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT value FROM ir_translation WHERE lang='en_US' AND type in ('code') AND src='%s' AND md5(src)=md5('%s')
Date: 2024-01-24 13:53:01
4 33 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #4
Day Hour Count Jan 24 09 1 13 9 14 12 15 4 16 1 17 2 18 2 21 2 - ERROR: process 199983 still waiting for ShareLock on transaction 233952202 after 1000.044 ms
- ERROR: process 3820182 still waiting for ShareLock on transaction 233880758 after 1000.048 ms
- ERROR: process 4168164 still waiting for ShareLock on transaction 233882031 after 1000.052 ms
Detail: Process holding the lock: 159059. Wait queue: 199983.
Context: while updating tuple (4831,49) 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 != 1160045 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 != 1160045 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-01-24 18:42:08
Detail: Process holding the lock: 4175937. Wait queue: 3820182.
Context: while updating tuple (4513,44) 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 != 1162599 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 != 1162599 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-01-24 13:56:26
Detail: Process holding the lock: 4167622. Wait queue: 4168164.
Context: while updating tuple (4602,6) in relation "account_move"
Statement: UPDATE "account_move" SET "message_main_attachment_id"=4765316,"write_uid"=1267,"write_date"=(now() at time zone 'UTC') WHERE id IN (1162632)Date: 2024-01-24 14:00:14
5 4 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #5
Day Hour Count Jan 24 08 4 - ERROR: process 3819833 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.046 ms at character 34
- ERROR: process 3819713 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.042 ms at character 93
- ERROR: process 3819804 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.046 ms at character 34
Detail: Process holding the lock: 3820896. Wait queue: 3819833, 3819713, 3819804.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'psd_custom.inventory_vendor') ORDER BY "ir_model_fields"."name"Date: 2024-01-24 08:23:55
Detail: Process holding the lock: 3820896. Wait queue: 3819833, 3819713, 3819804, 3819803.
Statement: SELECT f.name, d.json_value FROM ir_default d JOIN ir_model_fields f ON d.field_id=f.id WHERE f.model='ir.attachment' AND (d.user_id IS NULL OR d.user_id=1) AND (d.company_id IS NULL OR d.company_id=1) AND d.condition IS NULL ORDER BY d.user_id, d.company_id, d.idDate: 2024-01-24 08:23:55
Detail: Process holding the lock: 3820896. Wait queue: 3819833, 3819713, 3819804, 3819803, 3820092.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'res.partner') ORDER BY "ir_model_fields"."name"Date: 2024-01-24 08:23:56
6 4 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #6
Day Hour Count Jan 24 14 2 15 1 17 1 - ERROR: process 4175332 still waiting for ExclusiveLock on tuple (4593,44) of relation 42418 of database 65946 after 1000.042 ms
- ERROR: process 4175459 still waiting for ExclusiveLock on tuple (4642,23) of relation 42418 of database 65946 after 1000.054 ms
- ERROR: process 151367 still waiting for ExclusiveLock on tuple (4647,34) of relation 42418 of database 65946 after 1000.052 ms
Detail: Process holding the lock: 3819874. Wait queue: 4175332.
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 != 1162941 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 != 1162941 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-01-24 14:33:35
Detail: Process holding the lock: 4169854. Wait queue: 4175459, 3821013.
Statement: UPDATE "account_move" SET "message_main_attachment_id"=4766365,"write_uid"=1005,"write_date"=(now() at time zone 'UTC') WHERE id IN (1162944)Date: 2024-01-24 14:33:50
Detail: Process holding the lock: 152748. Wait queue: 151367.
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 != 1163293 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 != 1163293 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-01-24 15:39:47
7 3 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #7
Day Hour Count Jan 24 17 2 21 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 450912 waits for ShareLock on transaction 234089537; blocked by process 586207. Process 586207 waits for ShareLock on transaction 234089547; blocked by process 450912. Process 450912: UPDATE "sale_order_line" SET "branch_id"=48,"open_qty_fil"=12.0,"qty_delivered_method"='stock_move',"state"='sale',"warehouse_id"=45,"write_uid"=1143,"write_date"=(now() at time zone 'UTC') WHERE id IN (323384) Process 586207: UPDATE "sale_order" SET "amount_total"='1098.61',"amount_untaxed"='1098.61',"carrier_id"=69,"write_uid"=1143,"write_date"=(now() at time zone 'UTC') WHERE id IN (111474)
Context: while updating tuple (16363,22) in relation "sale_order_line"
Hint: See server log for query details.
Statement: UPDATE "sale_order_line" SET "branch_id"=48,"open_qty_fil"=12.0,"qty_delivered_method"='stock_move',"state"='sale',"warehouse_id"=45,"write_uid"=1143,"write_date"=(now() at time zone 'UTC') WHERE id IN (323384)Date: 2024-01-24 21:39:13
Detail: Process 206239 waits for ShareLock on transaction 233936297; blocked by process 152747. Process 152747 waits for ShareLock on transaction 233936254; blocked by process 206239. Process 206239: UPDATE "sale_order" SET "carrier_id"=69,"write_uid"=1255,"write_date"=(now() at time zone 'UTC') WHERE id IN (111361) Process 152747: UPDATE "stock_move" SET "branch_id"=50,"picking_id"=327668,"related_core_purchase_line_id"=NULL,"related_core_repair_line_id"=NULL,"related_core_sale_line_id"=323036,"scrapped"=false,"state"='assigned',"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (780070)
Context: while updating tuple (740,30) in relation "sale_order"
Hint: See server log for query details.
Statement: UPDATE "sale_order" SET "carrier_id"=69,"write_uid"=1255,"write_date"=(now() at time zone 'UTC') WHERE id IN (111361)Date: 2024-01-24 17:29:53
Detail: Process 152747 waits for ShareLock on transaction 233936312; blocked by process 206239. Process 206239 waits for ShareLock on transaction 233936297; blocked by process 152747. Process 152747: UPDATE "sale_order_line" SET "branch_id"=50,"open_qty_fil"=2.0,"qty_delivered_method"='stock_move',"state"='sale',"warehouse_id"=44,"write_uid"=1255,"write_date"=(now() at time zone 'UTC') WHERE id IN (323036) Process 206239: UPDATE "sale_order_line" SET "write_uid"=1255,"write_date"=(now() at time zone 'UTC') WHERE id IN (323036, 323037, 323038)
Context: while updating tuple (16323,5) in relation "sale_order_line"
Hint: See server log for query details.
Statement: UPDATE "sale_order_line" SET "branch_id"=50,"open_qty_fil"=2.0,"qty_delivered_method"='stock_move',"state"='sale',"warehouse_id"=44,"write_uid"=1255,"write_date"=(now() at time zone 'UTC') WHERE id IN (323036)Date: 2024-01-24 17:29:55
8 3 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #8
Day Hour Count Jan 24 14 2 17 1 - ERROR: null value in column "name" of relation "product_template" violates not-null constraint
- ERROR: null value in column "categ_id" of relation "product_template" violates not-null constraint
Detail: Failing row contains (262654, null, null, 1, null, null, null, product, 11530, 0.00, null, null, t, t, 1, 1, null, t, null, null, null, null, 1026, 2024-01-24 14:12:26.113211, 1026, 2024-01-24 14:12:26.113211, manual, no-message, null, no, delivery, 0, none, null, null, null, receive, no-message, null, null, no, 0, null, null, null, null, null, null, null, null, f, null, 1, 1, null, 454435, never, 0, , null, null, null, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, null, null, null, 2024-01-24, 2024-01-24, null, E, 1, null, null, f, f, no, null, 1, null, 2924, null, null, null, null, null, null, null, none, null, null, null, f, f, null, null, null, f, rfq, null, null, null, null).
Statement: INSERT INTO "product_template" ("id", "create_uid", "create_date", "write_uid", "write_date", "active", "allow_journal", "available_threshold", "base_current_cost", "base_part_cost", "best", "better", "branch_id", "categ_id", "core_qty", "current_cost", "custom_message", "default_code", "expense_policy", "first_active_date", "global_class_code", "inventory_availability", "inventory_vendor_id", "invoice_policy", "is_core", "is_direct_order_product", "is_mo_product", "is_published", "is_transmission", "linked_with_existing_core", "list_jobber", "list_price", "min_sell_price", "name", "price_update_date", "produce_delay", "purchase_cost", "purchase_line_warn", "purchase_method", "purchase_ok", "purchase_requisition", "rebate_cost", "sale_delay", "sale_line_warn", "sale_ok", "sequence", "service_form_type", "service_tracking", "service_type", "standard_carton_quanity", "tracking", "type", "uom_id", "uom_po_id", "website_sequence", "website_size_x", "website_size_y") VALUES (nextval('product_template_id_seq'), 1026, (now() at time zone 'UTC'), 1026, (now() at time zone 'UTC'), true, false, 0.0, 0.0, 0.0, 0.0, 0.0, NULL, 11530, 1, 0.0, '', NULL, 'no', '2024-01-24', 'E', 'never', 2924, 'delivery', false, false, false, false, false, 'no', 0.0, '0.00', 0.0, NULL, '2024-01-24', 0.0, 0.0, 'no-message', 'receive', true, 'rfq', 0.0, 0.0, 'no-message', true, 1, 'none', 'no', 'manual', 1, 'none', 'product', 1, 1, 454435, 1, 1) RETURNING idDate: 2024-01-24 14:12:26
Detail: Failing row contains (262679, null, sg17500, 1, null, null, null, product, null, 1.00, null, null, t, t, 1, 1, null, t, null, null, null, null, 990, 2024-01-24 17:28:30.215734, 990, 2024-01-24 17:28:30.215734, manual, no-message, null, no, delivery, 0, none, null, null, null, receive, no-message, null, null, no, 0, null, null, null, null, null, null, null, null, f, null, 1, 1, null, 454530, never, 0, , 48, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 2024-01-24, null, E, 1, null, null, f, f, no, null, 1, null, null, null, null, null, null, null, null, null, none, null, null, null, f, f, null, null, null, f, rfq, null, null, null, null).
Statement: INSERT INTO "product_template" ("id", "create_uid", "create_date", "write_uid", "write_date", "active", "allow_journal", "available_threshold", "branch_id", "categ_id", "core_qty", "custom_message", "expense_policy", "first_active_date", "global_class_code", "inventory_availability", "invoice_policy", "is_core", "is_direct_order_product", "is_mo_product", "is_published", "is_transmission", "linked_with_existing_core", "list_price", "name", "produce_delay", "purchase_line_warn", "purchase_method", "purchase_ok", "purchase_requisition", "sale_delay", "sale_line_warn", "sale_ok", "sequence", "service_form_type", "service_tracking", "service_type", "standard_carton_quanity", "tracking", "type", "uom_id", "uom_po_id", "website_sequence", "website_size_x", "website_size_y") VALUES (nextval('product_template_id_seq'), 990, (now() at time zone 'UTC'), 990, (now() at time zone 'UTC'), true, false, 0.0, 48, NULL, 1, '', 'no', '2024-01-24', 'E', 'never', 'delivery', false, false, false, false, false, 'no', '1.00', 'sg17500', 0.0, 'no-message', 'receive', true, 'rfq', 0.0, 'no-message', true, 1, 'none', 'no', 'manual', 1, 'none', 'product', 1, 1, 454530, 1, 1) RETURNING idDate: 2024-01-24 17:28:30
9 2 LOG: process ... still waiting for RowExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #9
Day Hour Count Jan 24 08 2 - ERROR: process 3820079 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.051 ms
- ERROR: process 3819761 still waiting for RowExclusiveLock on relation 42418 of database 65946 after 1000.050 ms
Detail: Process holding the lock: 3820896. Wait queue: 3820079.
Statement: DELETE FROM ir_attachment WHERE id IN ( SELECT id FROM ir_attachment WHERE id in (4757542) FOR NO KEY UPDATE SKIP LOCKED )Date: 2024-01-24 08:23:31
Detail: Process holding the lock: 3820896. Wait queue: 3819761.
Statement: DELETE FROM ir_attachment WHERE id IN ( SELECT id FROM ir_attachment WHERE id in (4757556) FOR NO KEY UPDATE SKIP LOCKED )Date: 2024-01-24 08:24:12
10 2 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #10
Day Hour Count Jan 24 14 1 19 1 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM monthly_statement_line WHERE id IN (880888, 880889, 880890, 880891, 880892, 880893, 880908, 880894, 880896, 880895, 880897, 880898, 880909, 880899, 880900, 880901, 880903, 880902, 880904, 880910, 880905, 880906, 880907)
Date: 2024-01-24 14:08:07
11 2 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Jan 24 08 2 - ERROR: could not create unique index "vendor_account_master_unique_acc_no"
Detail: Key (account_number)=(0002609) is duplicated.
Statement: ALTER TABLE "vendor_account_master" ADD CONSTRAINT "vendor_account_master_unique_acc_no" unique (account_number)Date: 2024-01-24 08:23:30