-
Global information
- Generated on Fri Oct 20 00:50:12 2023
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 110,390 log entries in 11s
- Log start from 2023-10-19 00:00:24 to 2023-10-19 23:59:02
-
Overview
Global Stats
- 1,061 Number of unique normalized queries
- 39,381 Number of queries
- 5h8m11s Total query duration
- 2023-10-19 00:10:49 First query
- 2023-10-19 23:59:02 Last query
- 53 queries/s at 2023-10-19 15:40:20 Query peak
- 5h8m11s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 5h8m11s Execute total duration
- 1,068 Number of events
- 10 Number of unique normalized events
- 517 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
- 39,381 Average queries per session
- 5h8m11s 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
- 53 queries/s Query Peak
- 2023-10-19 15:40:20 Date
SELECT Traffic
Key values
- 53 queries/s Query Peak
- 2023-10-19 15:40:20 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 8 queries/s Query Peak
- 2023-10-19 14:17:46 Date
Queries duration
Key values
- 5h8m11s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
Day Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 19 00 118 0ms 1s446ms 591ms 4s19ms 18s43ms 33s341ms 01 6 0ms 195ms 176ms 368ms 692ms 692ms 02 19 0ms 744ms 243ms 853ms 862ms 862ms 03 92 0ms 1s519ms 400ms 6s145ms 7s120ms 7s120ms 04 16 0ms 917ms 310ms 1s694ms 1s719ms 1s719ms 05 15 0ms 282ms 204ms 777ms 1s115ms 1s115ms 06 20 0ms 8s199ms 1s79ms 19s568ms 19s568ms 19s568ms 07 20 0ms 402ms 208ms 578ms 1s819ms 1s819ms 08 134 0ms 3s423ms 362ms 2s793ms 4s787ms 6s843ms 09 433 0ms 3m45s 2s211ms 1m12s 1m33s 3m52s 10 1,201 0ms 4s316ms 476ms 36s33ms 39s953ms 41s788ms 11 1,995 120ms 8s347ms 454ms 43s191ms 48s297ms 53s572ms 12 3,957 120ms 21s426ms 429ms 49s458ms 55s764ms 59s729ms 13 4,472 120ms 6s276ms 396ms 48s278ms 1m 1m2s 14 4,746 120ms 23s39ms 422ms 1m2s 1m5s 1m13s 15 4,580 120ms 28s24ms 497ms 1m4s 1m41s 1m43s 16 3,498 120ms 13s184ms 401ms 44s98ms 49s779ms 1m1s 17 4,545 120ms 3m29s 630ms 1m45s 3m39s 4m3s 18 3,024 120ms 11s813ms 385ms 33s24ms 37s436ms 39s222ms 19 4,505 120ms 9s871ms 383ms 58s952ms 1m4s 1m17s 20 1,650 120ms 9s626ms 433ms 23s648ms 37s565ms 1m10s 21 232 0ms 4s322ms 430ms 7s316ms 10s290ms 13s833ms 22 59 0ms 11s357ms 604ms 2s375ms 7s550ms 14s632ms 23 44 0ms 21s384ms 2s59ms 14s396ms 21s526ms 23s824ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 19 00 94 0 684ms 1s93ms 3s641ms 33s341ms 01 6 0 176ms 0ms 368ms 692ms 02 19 0 243ms 814ms 853ms 862ms 03 60 0 466ms 3s564ms 4s813ms 5s951ms 04 12 0 329ms 847ms 1s190ms 1s211ms 05 15 0 204ms 570ms 777ms 1s115ms 06 15 0 167ms 787ms 1s226ms 1s226ms 07 20 0 208ms 351ms 578ms 1s819ms 08 126 0 356ms 1s883ms 2s793ms 6s843ms 09 238 87 2s790ms 44s398ms 1m12s 3m52s 10 1,162 0 482ms 34s663ms 35s873ms 40s782ms 11 1,570 0 483ms 19s96ms 35s482ms 48s297ms 12 2,679 0 474ms 28s642ms 35s695ms 54s338ms 13 2,900 0 414ms 26s876ms 36s713ms 46s918ms 14 3,281 0 456ms 39s146ms 50s215ms 1m2s 15 3,428 0 526ms 50s553ms 59s827ms 1m27s 16 2,441 0 413ms 28s602ms 37s21ms 49s406ms 17 3,475 0 501ms 39s24ms 1m1s 1m42s 18 2,118 0 382ms 21s271ms 24s804ms 31s799ms 19 3,134 0 377ms 31s2ms 40s519ms 51s979ms 20 1,036 0 467ms 14s53ms 17s562ms 41s175ms 21 184 0 470ms 3s604ms 7s316ms 12s920ms 22 44 0 354ms 1s189ms 1s708ms 2s719ms 23 28 0 233ms 702ms 895ms 1s183ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 19 00 0 24 0 0 226ms 0ms 0ms 1s231ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 32 0 0 276ms 193ms 1s84ms 2s943ms 04 0 4 0 0 253ms 0ms 0ms 508ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 5 0 3s814ms 0ms 0ms 19s74ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 8 0 0 459ms 0ms 0ms 1s192ms 09 0 106 2 0 469ms 214ms 2s160ms 7s246ms 10 0 39 0 0 282ms 0ms 0ms 2s802ms 11 4 415 6 0 347ms 1s755ms 4s130ms 11s999ms 12 22 1,220 31 0 334ms 6s8ms 12s392ms 20s349ms 13 27 1,509 30 0 363ms 7s984ms 14s750ms 22s6ms 14 24 1,394 40 0 346ms 8s240ms 10s692ms 15s566ms 15 31 1,084 34 0 409ms 7s722ms 11s406ms 22s375ms 16 34 1,001 18 0 374ms 5s252ms 8s294ms 17s666ms 17 50 993 24 0 1s51ms 6s947ms 11s704ms 3m27s 18 22 849 28 0 394ms 5s421ms 8s366ms 16s428ms 19 22 1,296 35 0 397ms 8s683ms 12s742ms 26s896ms 20 13 597 2 0 377ms 3s568ms 6s25ms 11s175ms 21 1 45 1 0 282ms 192ms 566ms 2s221ms 22 1 13 1 0 1s337ms 0ms 187ms 11s357ms 23 0 1 15 0 5s255ms 0ms 7s166ms 23s824ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Oct 19 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Oct 19 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s 23 0 0.00/s Day Hour Count Average Duration Average idle time Oct 19 00 0 0ms 0ms 01 0 0ms 0ms 02 0 0ms 0ms 03 0 0ms 0ms 04 0 0ms 0ms 05 0 0ms 0ms 06 0 0ms 0ms 07 0 0ms 0ms 08 0 0ms 0ms 09 0 0ms 0ms 10 0 0ms 0ms 11 0 0ms 0ms 12 0 0ms 0ms 13 0 0ms 0ms 14 0 0ms 0ms 15 0 0ms 0ms 16 0 0ms 0ms 17 0 0ms 0ms 18 0 0ms 0ms 19 0 0ms 0ms 20 0 0ms 0ms 21 0 0ms 0ms 22 0 0ms 0ms 23 0 0ms 0ms -
Connections
Established Connections
Key values
- 0 connections Connection Peak
- Date
Connections per database
Key values
- unknown Main Database
- 0 connections Total
Connections per user
Key values
- unknown Main User
- 0 connections Total
-
Sessions
Simultaneous sessions
Key values
- 0 sessions Session Peak
- Date
Histogram of session times
Key values
- duration
Sessions per database
Key values
- unknown Main Database
- 0 sessions Total
Sessions per user
Key values
- unknown Main User
- 0 sessions Total
Sessions per host
Key values
- unknown Main Host
- 0 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 0 buffers Checkpoint Peak
- Date
- seconds Highest write time
- seconds Sync time
Checkpoint write buffers (5 minutes period)
NO DATASET
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- Date
Checkpoint Wal files usage (5 minutes period)
NO DATASET
Checkpoints distance
Key values
- 0 Mo Distance Peak
- Date
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Oct 19 00 0 0s 0s 0s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 0 0s 0s 0s 06 0 0s 0s 0s 07 0 0s 0s 0s 08 0 0s 0s 0s 09 0 0s 0s 0s 10 0 0s 0s 0s 11 0 0s 0s 0s 12 0 0s 0s 0s 13 0 0s 0s 0s 14 0 0s 0s 0s 15 0 0s 0s 0s 16 0 0s 0s 0s 17 0 0s 0s 0s 18 0 0s 0s 0s 19 0 0s 0s 0s 20 0 0s 0s 0s 21 0 0s 0s 0s 22 0 0s 0s 0s 23 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Oct 19 00 0 0 0 0 0s 0s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 0 0s 0s 06 0 0 0 0 0s 0s 07 0 0 0 0 0s 0s 08 0 0 0 0 0s 0s 09 0 0 0 0 0s 0s 10 0 0 0 0 0s 0s 11 0 0 0 0 0s 0s 12 0 0 0 0 0s 0s 13 0 0 0 0 0s 0s 14 0 0 0 0 0s 0s 15 0 0 0 0 0s 0s 16 0 0 0 0 0s 0s 17 0 0 0 0 0s 0s 18 0 0 0 0 0s 0s 19 0 0 0 0 0s 0s 20 0 0 0 0 0s 0s 21 0 0 0 0 0s 0s 22 0 0 0 0 0s 0s 23 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Oct 19 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Oct 19 00 0.00 kB 0.00 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 0.00 kB 0.00 kB 06 0.00 kB 0.00 kB 07 0.00 kB 0.00 kB 08 0.00 kB 0.00 kB 09 0.00 kB 0.00 kB 10 0.00 kB 0.00 kB 11 0.00 kB 0.00 kB 12 0.00 kB 0.00 kB 13 0.00 kB 0.00 kB 14 0.00 kB 0.00 kB 15 0.00 kB 0.00 kB 16 0.00 kB 0.00 kB 17 0.00 kB 0.00 kB 18 0.00 kB 0.00 kB 19 0.00 kB 0.00 kB 20 0.00 kB 0.00 kB 21 0.00 kB 0.00 kB 22 0.00 kB 0.00 kB 23 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
Day Hour Count Total size Average size Oct 19 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
Day Hour VACUUMs ANALYZEs Oct 19 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
- 19 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 11 49s286ms 1s564ms 25s243ms 4s480ms 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 = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 932598 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 932598 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2023-10-19 15:06:13
2 4 14s245ms 1s110ms 8s206ms 3s561ms 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" = 3345315, "write_uid" = 961, "write_date" = (now() at time zone 'UTC') WHERE id IN (956917);
Date: 2023-10-19 14:48:42
3 1 5s663ms 5s663ms 5s663ms 5s663ms update "stock_move" set "scrapped" = false, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move" SET "scrapped" = false, "state" = 'confirmed', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (635720, 635719);
Date: 2023-10-19 14:59:12
-
UPDATE "stock_move" SET "scrapped" = false, "state" = 'waiting', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (635820);
Date: 2023-10-19 15:28:29
-
UPDATE "stock_move" SET "scrapped" = false, "state" = 'confirmed', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (635712, 635711);
Date: 2023-10-19 14:57:12
4 2 4s781ms 2s250ms 2s530ms 2s390ms update "sale_order" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "write_uid" = 1143, "write_date" = (now() at time zone 'UTC') WHERE id IN (89595);
Date: 2023-10-19 13:10:10
5 1 2s684ms 2s684ms 2s684ms 2s684ms 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" = 'product.template') ORDER BY "ir_model_fields"."name";
Date: 2023-10-19 10:18:54
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name";
Date: 2023-10-19 10:18:54
Queries that waited the most
Rank Wait time Query 1 25s243ms 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 != 957431 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 != 957431 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-19 16:29:31 ]
2 8s206ms UPDATE "account_move" SET "message_main_attachment_id" = 3344440, "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (956301);[ Date: 2023-10-19 13:06:30 ]
3 5s663ms UPDATE "stock_move" SET "scrapped" = false, "state" = 'waiting', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (635818);[ Date: 2023-10-19 15:28:27 ]
4 4s629ms 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 != 946396 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 != 946396 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-19 13:46:15 ]
5 3s985ms 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 != 956585 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 != 956585 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-19 13:58:10 ]
6 3s406ms 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 != 956077 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 != 956077 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-19 12:19:23 ]
7 2s889ms 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 != 956439 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 != 956439 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-19 13:31:47 ]
8 2s765ms UPDATE "account_move" SET "message_main_attachment_id" = 3344679, "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (956441);[ Date: 2023-10-19 13:31:47 ]
9 2s684ms SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name";[ Date: 2023-10-19 10:18:54 ]
10 2s530ms UPDATE "sale_order" SET "write_uid" = 1151, "write_date" = (now() at time zone 'UTC') WHERE id IN (89835);[ Date: 2023-10-19 19:27:23 ]
11 2s456ms 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 != 956433 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 != 956433 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-19 13:31:47 ]
12 2s250ms UPDATE "sale_order" SET "write_uid" = 1143, "write_date" = (now() at time zone 'UTC') WHERE id IN (89595);[ Date: 2023-10-19 13:10:10 ]
13 2s163ms UPDATE "account_move" SET "message_main_attachment_id" = 3344692, "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (956449);[ Date: 2023-10-19 13:32:26 ]
14 1s564ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 932598 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 932598 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-19 15:06:13 ]
15 1s497ms 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 != 956627 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 != 956627 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-19 14:04:53 ]
16 1s403ms 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 != 956457 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 != 956457 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-19 13:33:12 ]
17 1s142ms 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 != 956278 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 != 956278 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-19 13:13:10 ]
18 1s110ms UPDATE "account_move" SET "message_main_attachment_id" = 3345315, "write_uid" = 961, "write_date" = (now() at time zone 'UTC') WHERE id IN (956917);[ Date: 2023-10-19 14:48:42 ]
19 1s66ms 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 != 956440 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 != 956440 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2023-10-19 13:31:35 ]
-
Queries
Queries by type
Key values
- 28,085 Total read queries
- 11,296 Total write queries
Queries by database
Key values
- unknown Main database
- 39,381 Requests
- 5h8m11s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 39,384 Requests
User Request type Count Duration unknown Total 39,384 5h8m13s copy to 87 10m38s cte 56 11s636ms delete 272 20m31s insert 251 50s658ms select 28,087 3h34m25s update 10,631 1h1m34s Duration by user
Key values
- 5h8m13s (unknown) Main time consuming user
User Request type Count Duration unknown Total 39,384 5h8m13s copy to 87 10m38s cte 56 11s636ms delete 272 20m31s insert 251 50s658ms select 28,087 3h34m25s update 10,631 1h1m34s Queries by host
Key values
- unknown Main host
- 39,384 Requests
- 5h8m13s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 39,381 Requests
- 5h8m11s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2023-10-19 15:24:47 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 27,633 100-500ms duration
Slowest individual queries
Rank Duration Query 1 3m45s COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2023-10-19 09:07:52 ]
2 3m29s DELETE FROM stock_inventory_line WHERE id IN (2863448, 2864195, 2860845, 2860846, 2860847, 2860848, 2862637, 2863944, 2863627, 2863816, 2863833, 2863370, 2863202, 2863541, 2860849, 2860850, 2860851, 2863980, 2863722, 2862502, 2862994, 2860852, 2860853, 2863076, 2863075, 2863307, 2863308, 2864123, 2864124, 2860854, 2863137, 2863171, 2863378, 2862532, 2863846, 2862583, 2860855, 2862559, 2860856, 2864125, 2862685, 2863312, 2863921, 2860857, 2860858, 2860859, 2864196, 2860860, 2862909, 2860861, 2863913, 2862455, 2862872, 2860862, 2863872, 2864245, 2863147, 2863494, 2860863, 2862964, 2860864, 2863467, 2860865, 2860866, 2860867, 2860868, 2863155, 2863080, 2860869, 2860870, 2862867, 2860871, 2860872, 2860873, 2862541, 2860874, 2860875, 2860876, 2860877, 2863070, 2860878, 2860879, 2863253, 2863337, 2862557, 2860880, 2860881, 2860882, 2860883, 2860884, 2860885, 2860886, 2863901, 2860887, 2860888, 2860889, 2860890, 2860891, 2860892, 2860893, 2860894, 2860895, 2860896, 2860897, 2863198, 2860898, 2863071, 2862474, 2860899, 2860900, 2860901, 2860902, 2862863, 2860903, 2863201, 2860904, 2863225, 2860905, 2860906, 2860907, 2864016, 2862369, 2862709, 2860908, 2860909, 2860910, 2860911, 2863904, 2860912, 2863855, 2863435, 2860913, 2860914, 2860915, 2860916, 2860917, 2864001, 2860918, 2862392, 2862823, 2860919, 2863140, 2863236, 2862534, 2864035, 2862705, 2863776, 2863229, 2863288, 2862419, 2862531, 2863334, 2863920, 2860920, 2860921, 2862389, 2860922, 2860923, 2860924, 2860925, 2860926, 2862706, 2863536, 2860927, 2862379, 2860928, 2864248, 2863738, 2864197, 2860929, 2864242, 2863210, 2864096, 2862756, 2860930, 2864079, 2863884, 2864243, 2860931, 2864246, 2860932, 2862786, 2860933, 2864198, 2864199, 2862374, 2864056, 2860934, 2860935, 2860936, 2860937, 2863141, 2860938, 2863346, 2860939, 2860940, 2862741, 2863608, 2863142, 2860941, 2860942, 2860943, 2860944, 2860945, 2860946, 2863196, 2860947, 2860948, 2860949, 2860950, 2860951, 2860952, 2860953, 2860954, 2860955, 2863854, 2860956, 2860957, 2862661, 2863170, 2863143, 2860958, 2863123, 2863227, 2860959, 2864104, 2860960, 2862409, 2860961, 2863542, 2862947, 2863223, 2862914, 2863349, 2862475, 2863403, 2860962, 2864158, 2860963, 2863932, 2863242, 2860964, 2860965, 2860966, 2860967, 2862581, 2860968, 2863200, 2864200, 2864201, 2864202, 2864121, 2863040, 2863086, 2862721, 2862591, 2860969, 2863357, 2863857, 2860970, 2863365, 2860971, 2863144, 2860972, 2860973, 2860974, 2863910, 2863858, 2860975, 2860976, 2860977, 2860978, 2860979, 2862797, 2860980, 2863399, 2863400, 2860981, 2862560, 2860982, 2860983, 2860984, 2863360, 2864203, 2860985, 2862957, 2860986, 2860987, 2862477, 2860988, 2862930, 2860989, 2863951, 2860990, 2860991, 2863405, 2863259, 2860992, 2860993, 2860994, 2862828, 2862829, 2860995, 2862668, 2863012, 2860996, 2862680, 2860997, 2863319, 2862662, 2863111, 2860998, 2862522, 2860999, 2861000, 2861001, 2861002, 2863302, 2863843, 2862615, 2863473, 2863598, 2864154, 2862826, 2861003, 2861004, 2864022, 2864029, 2861005, 2864092, 2863330, 2861006, 2863394, 2863568, 2863401, 2862926, 2863597, 2862577, 2863709, 2862441, 2861007, 2862337, 2862798, 2863838, 2863054, 2861008, 2861009, 2861010, 2861011, 2862888, 2863118, 2862743, 2862736, 2862759, 2861012, 2863233, 2861013, 2862587, 2863520, 2864080, 2864103, 2863034, 2863802, 2862737, 2861014, 2864186, 2861015, 2863096, 2863044, 2863010, 2863354, 2863546, 2861016, 2863194, 2863003, 2863891, 2862570, 2863531, 2863954, 2861017, 2861018, 2863004, 2861019, 2862552, 2863600, 2861020, 2861021, 2863108, 2861022, 2863180, 2861023, 2863724, 2862595, 2861024, 2863191, 2863084, 2863083, 2862942, 2861025, 2861026, 2861027, 2863720, 2861028, 2861029, 2861030, 2861031, 2863633, 2863578, 2863632, 2863112, 2862649, 2864147, 2861032, 2861033, 2862361, 2863538, 2861034, 2862667, 2861035, 2861036, 2861037, 2862574, 2861038, 2863073, 2863072, 2861039, 2861040, 2861041, 2863035, 2861042, 2861043, 2862425, 2863637, 2862579, 2864068, 2863636, 2861044, 2861045, 2862916, 2861046, 2861047, 2862483, 2861048, 2863407, 2862833, 2862832, 2862830, 2863661, 2864044, 2863046, 2863146, 2861049, 2862700, 2863755, 2863023, 2861050, 2864175, 2864034, 2861051, 2861052, 2861053, 2862937, 2862400, 2861054, 2861055, 2861056, 2861057, 2861058, 2861059, 2861060, 2861061, 2861062, 2863031, 2864172, 2863981, 2862639, 2862427, 2863005, 2862492, 2861063, 2862543, 2862701, 2861064, 2862518, 2862544, 2861065, 2864009, 2861066, 2861067, 2861068, 2863769, 2863737, 2861069, 2861070, 2862498, 2862550, 2862699, 2861071, 2863097, 2861072, 2864023, 2861073, 2863100, 2863475, 2861074, 2863336, 2862643, 2862619, 2861075, 2862521, 2863784, 2863342, 2861076, 2862893, 2861077, 2861078, 2863358, 2863984, 2863635, 2861079, 2862565, 2864003, 2863595, 2861080, 2861081, 2863310, 2862997, 2861082, 2861083, 2862996, 2861084, 2863919, 2861085, 2863292, 2862772, 2861086, 2862495, 2861087, 2861088, 2861089, 2861090, 2861091, 2863257, 2861092, 2863763, 2861093, 2863875, 2861094, 2861095, 2863876, 2863673, 2862671, 2862946, 2862640, 2862811, 2862445, 2861096, 2862642, 2861097, 2861098, 2863247, 2863041, 2861099, 2861100, 2861101, 2863982, 2861102, 2862620, 2861103, 2863332, 2861104, 2863042, 2862429, 2863272, 2861105, 2863178, 2863246, 2864204, 2863518, 2861106, 2862985, 2863391, 2861107, 2863053, 2861108, 2863283, 2862605, 2863643, 2863284, 2863736, 2861109, 2861110, 2863221, 2863009, 2861111, 2862391, 2861112, 2862687, 2863406, 2863486, 2861113, 2863408, 2862895, 2863149, 2863068, 2863713, 2863819, 2862805, 2862975, 2863861, 2863749, 2864167, 2863748, 2861114, 2862787, 2862651, 2861115, 2861116, 2861117, 2861118, 2861119, 2863679, 2863564, 2861120, 2863024, 2861121, 2861122, 2861123, 2861124, 2861125, 2863081, 2861126, 2863558, 2861127, 2861128, 2863619, 2861129, 2861130, 2863607, 2863482, 2863026, 2863630, 2861131, 2861132, 2861133, 2861134, 2861135, 2861136, 2861137, 2863956, 2863280, 2861138, 2861139, 2861140, 2861141, 2863589, 2864055, 2863522, 2863491, 2864205, 2863105, 2861142, 2861143, 2862598, 2862572, 2862655, 2863234, 2861144, 2861145, 2862905, 2862648, 2863404, 2862622, 2864059, 2861146, 2864060, 2861147, 2862730, 2861148, 2861149, 2862464, 2861150, 2861151, 2864149, 2861152, 2864091, 2863881, 2863043, 2863696, 2863631, 2861153, 2863047, 2862428, 2863350, 2862965, 2861154, 2863311, 2863067, 2862459, 2863852, 2863851, 2862368, 2861155, 2863186, 2861156, 2863074, 2862652, 2863899, 2861157, 2861158, 2861159, 2861160, 2861161, 2861162, 2861163, 2861164, 2864135, 2864134, 2864136, 2861165, 2862698, 2862944, 2863098, 2863117, 2863513, 2861166, 2861167, 2862841, 2862702, 2861168, 2862468, 2863511, 2863525, 2864051, 2864052, 2862682, 2862746, 2863699, 2862686, 2861169, 2862594, 2862716, 2861170, 2862424, 2861171, 2864038, 2863255, 2864024, 2863217, 2863931, 2861172, 2864062, 2863826, 2863134, 2863298, 2864054, 2863924, 2862747, 2862695, 2863581, 2863523, 2863187, 2861173, 2863189, 2863278, 2863341, 2861174, 2861175, 2861176, 2861177, 2861178, 2863172, 2861179, 2861180, 2861181, 2861182, 2862749, 2861183, 2861184, 2862744, 2863936, 2864178, 2863680, 2861185, 2862899, 2862799, 2863978, 2861186, 2863817, 2863864, 2861187, 2863725, 2864046, 2863675, 2863519, 2862907, 2862634, 2863950, 2861188, 2863874, 2863732, 2863324, 2863689, 2861189, 2863827, 2863687, 2864139, 2861190, 2862394, 2862607, 2861191, 2861192, 2861193, 2863972, 2862630, 2863477, 2863107, 2863021, 2861194, 2861195, 2863798, 2863431, 2861196, 2863454, 2863173, 2861197, 2861198, 2861199, 2861200, 2861201, 2862503, 2863681, 2863682, 2864005, 2863965, 2861202, 2863490, 2862399, 2863174, 2862745, 2863890, 2863524, 2863175, 2863176, 2861203, 2861204, 2861205, 2861206, 2863554, 2861207, 2863603, 2861208, 2863577, 2861209, 2861210, 2864006, 2863825, 2861211, 2863451, 2864188, 2861212, 2861213, 2861214, 2863780, 2861215, 2862941, 2862472, 2861216, 2863188, 2863424, 2862564, 2863562, 2863313, 2863135, 2864066, 2863423, 2863240, 2863489, 2861217, 2861218, 2862938, 2861219, 2863279, 2861220, 2861221, 2861222, 2861223, 2863469, 2861224, 2861225, 2861226, 2861227, 2861228, 2863927, 2863560, 2862384, 2862385, 2863452, 2861229, 2861230, 2863078, 2862547, 2862625, 2861231, 2863935, 2862432, 2863079, 2861232, 2861233, 2863601, 2861234, 2863277, 2863933, 2862451, 2861235, 2862360, 2861236, 2862493, 2861237, 2863045, 2861238, 2861239, 2863691, 2864126, 2864019, 2863565, 2861240, 2863758, 2861241, 2863683, 2864008, 2861242, 2863022, 2863314, 2863082, 2862626, 2862683, 2862562, 2863136, 2864127, 2862654, 2861243, 2863640, 2862870, 2863925, 2861244, 2863865, 2863917, 2863821, 2862602, 2862748, 2861245, 2862836, 2863289, 2861246, 2862386, 2862590, 2862517, 2864101, 2863207, 2861247, 2861248, 2864156, 2861249, 2864102, 2863014, 2861250, 2861251, 2862554, 2863208, 2861252, 2862936, 2862674, 2861253, 2861254, 2861255, 2862339, 2861256, 2862528, 2861257, 2861258, 2862366, 2861259, 2863061, 2863582, 2861260, 2864148, 2861261, 2862983, 2861262, 2861263, 2862524, 2861264, 2861265, 2862505, 2862694, 2864191, 2863113, 2861266, 2861267);[ Date: 2023-10-19 17:25:03 ]
3 3m29s DELETE FROM stock_inventory_line WHERE id IN (2861738, 2861739, 2863653, 2861740, 2861741, 2861742, 2861743, 2861744, 2861745, 2861746, 2861747, 2861748, 2861749, 2861750, 2861751, 2861752, 2861753, 2861754, 2861755, 2861756, 2863439, 2863656, 2861757, 2861758, 2861759, 2863655, 2863649, 2862777, 2861760, 2861761, 2863443, 2861762, 2861763, 2863651, 2861764, 2861765, 2862784, 2862781, 2861766, 2861767, 2862782, 2863812, 2861768, 2861769, 2861770, 2862352, 2861771, 2863811, 2863805, 2863444, 2863110, 2861772, 2861773, 2861774, 2861775, 2861776, 2862344, 2862345, 2862465, 2862801, 2861777, 2861778, 2863109, 2864069, 2864053, 2862420, 2862658, 2861779, 2864168, 2864117, 2863345, 2863799, 2861780, 2863204, 2861781, 2861782, 2861783, 2864144, 2861784, 2863672, 2861785, 2862788, 2861786, 2861787, 2862714, 2862851, 2861788, 2861789, 2861790, 2861791, 2861792, 2861793, 2861794, 2863468, 2861795, 2862578, 2861796, 2861797, 2863130, 2864004, 2863185, 2863962, 2863678, 2863639, 2862497, 2863167, 2863975, 2861798, 2861799, 2862462, 2861800, 2863398, 2863533, 2862892, 2863660, 2863764, 2862742, 2862896, 2862599, 2861801, 2862664, 2862434, 2861802, 2862641, 2862886, 2862430, 2862932, 2862928, 2863926, 2861803, 2861804, 2861805, 2861806, 2861807, 2864114, 2864047, 2861808, 2861809, 2862645, 2861810, 2862499, 2863177, 2862356, 2861811, 2863474, 2861812, 2862478, 2863030, 2863948, 2862436, 2862853, 2861813, 2863228, 2864153, 2861814, 2861815, 2863421, 2862416, 2863309, 2863027, 2861816, 2863772, 2861817, 2861818, 2861819, 2862945, 2862998, 2861820, 2862760, 2861821, 2861822, 2861823, 2863575, 2861824, 2861825, 2863252, 2862765, 2864179, 2861826, 2863923, 2863488, 2861827, 2861828, 2863335, 2864157, 2863574, 2861829, 2864173, 2861830, 2861831, 2862395, 2861832, 2861833, 2863576, 2862750, 2863224, 2864131, 2861834, 2861835, 2861836, 2864118, 2861837, 2861838, 2861839, 2863232, 2862433, 2863392, 2862825, 2862766, 2863226, 2863230, 2864189, 2863114, 2861840, 2863882, 2861841, 2861842, 2861843, 2861844, 2862512, 2863122, 2862383, 2861845, 2862834, 2863949, 2863759, 2862452, 2861846, 2861847, 2862659, 2861848, 2862761, 2864070, 2862576, 2863663, 2863262, 2863960, 2863961, 2864026, 2863892, 2863101, 2864087, 2861849, 2861850, 2862734, 2864002, 2861851, 2864067, 2862542, 2861852, 2864237, 2863432, 2862504, 2861853, 2864097, 2863304, 2861854, 2863049, 2864057, 2864181, 2861855, 2864182, 2863848, 2861856, 2864165, 2862511, 2861857, 2861858, 2861859, 2861860, 2863968, 2863645, 2863702, 2861861, 2863540, 2861862, 2861863, 2861864, 2861865, 2861866, 2862881, 2861867, 2861868, 2861869, 2862891, 2862539, 2862447, 2861870, 2861871, 2863328, 2864082, 2863329, 2862693, 2861872, 2861873, 2863065, 2861874, 2861875, 2864115, 2861876, 2863192, 2864169, 2861877, 2861878, 2861879, 2862880, 2864170, 2863153, 2863770, 2861880, 2861881, 2861882, 2861883, 2861884, 2861885, 2861886, 2862703, 2861887, 2861888, 2862672, 2863771, 2861889, 2863895, 2863896, 2863705, 2863710, 2863711, 2861890, 2863869, 2862790, 2862791, 2862792, 2861891, 2861892, 2861893, 2863559, 2861894, 2861895, 2862739, 2861896, 2861897, 2861898, 2861899, 2861900, 2861901, 2861902, 2861903, 2863688, 2861904, 2864162, 2862722, 2861905, 2863545, 2863801, 2861906, 2863903, 2863866, 2861907, 2861908, 2862538, 2863008, 2861909, 2862876, 2861910, 2863351, 2862849, 2861911, 2863596, 2863594, 2861912, 2863943, 2862545, 2861913, 2862449, 2864238, 2863162, 2861914, 2862558, 2862546, 2861915, 2863088, 2863500, 2864145, 2863751, 2861916, 2863561, 2862365, 2861917, 2863686, 2861918, 2864007, 2862446, 2863281, 2862900, 2863273, 2862586, 2862954, 2863320, 2862901, 2861919, 2861920, 2861921, 2862952, 2862692, 2864073, 2864074, 2864072, 2863977, 2863976, 2863800, 2864183, 2861922, 2861923, 2862575, 2861924, 2863642, 2863057, 2861925, 2861926, 2863667, 2861927, 2862729, 2863617, 2861928, 2862987, 2861929, 2863498, 2863476, 2861930, 2864032, 2862857, 2861931, 2863616, 2863294, 2861932, 2862724, 2861933, 2862953, 2861934, 2863193, 2863756, 2863842, 2864071, 2863019, 2862689, 2862380, 2864014, 2864031, 2863570, 2862877, 2862817, 2862341, 2861935, 2861936, 2863867, 2864137, 2862838, 2861937, 2861938, 2862822, 2861939, 2861940, 2864132, 2862820, 2863017, 2861941, 2862728, 2863957, 2863841, 2861942, 2861943, 2863195, 2863417, 2863484, 2861944, 2861945, 2861946, 2861947, 2863729, 2862421, 2861948, 2862656, 2861949, 2861950, 2861951, 2863871, 2861952, 2861953, 2861954, 2863374, 2862827, 2861955, 2863058, 2862974, 2863402, 2863007, 2861956, 2863517, 2864111, 2861957, 2863327, 2861958, 2863604, 2863371, 2863664, 2863567, 2861959, 2863727, 2863624, 2863703, 2863760, 2862815, 2861960, 2862973, 2862490, 2863908, 2861961, 2861962, 2861963, 2862812, 2863510, 2863897, 2862355, 2861964, 2861965, 2862961, 2861966, 2861967, 2861968, 2861969, 2863506, 2861970, 2861971, 2861972, 2861973, 2863090, 2861974, 2861975, 2863483, 2863641, 2864161, 2863922, 2863133, 2861976, 2861977, 2861978, 2863102, 2862335, 2861979, 2861980, 2861981, 2861982, 2861983, 2863620, 2861984, 2861985, 2861986, 2861987, 2863588, 2861988, 2861989, 2861990, 2861991, 2862357, 2863397, 2863463, 2861992, 2862986, 2861993, 2861994, 2861995, 2863535, 2863880, 2863766, 2861996, 2862752, 2862753, 2863095, 2861997, 2862949, 2862551, 2861998, 2863211, 2861999, 2863460, 2863497, 2862663, 2862887, 2862000, 2862879, 2863250, 2862955, 2862001, 2862002, 2862362, 2862003, 2862718, 2862004, 2862005, 2862006, 2862858, 2863698, 2862007, 2864160, 2862906, 2862363, 2863414, 2863429, 2862008, 2862009, 2863033, 2862902, 2862968, 2862818, 2862010, 2862011, 2862012, 2862013, 2862014, 2862015, 2863048, 2863166, 2862016, 2863331, 2863366, 2862017, 2862018, 2862407, 2862019, 2863789, 2862020, 2863206, 2863487, 2862021, 2863797, 2863850, 2863275, 2862022, 2862023, 2863556, 2862406, 2862024, 2863606, 2863941, 2863783, 2862025, 2863790, 2863787, 2862026, 2863788, 2863795, 2863502, 2863942, 2864085, 2864086, 2863815, 2862027, 2863344, 2863537, 2862028, 2863478, 2862029, 2862408, 2862631, 2862030, 2863883, 2863325, 2863382, 2862031, 2863840, 2864116, 2863268, 2863557, 2862032, 2863290, 2862582, 2863000, 2862033, 2862034, 2863644, 2862035, 2863388, 2862417, 2863695, 2863179, 2862036, 2862037, 2862038, 2862039, 2862040, 2863906, 2863998, 2864130, 2862041, 2862042, 2862043, 2863244, 2862044, 2862045, 2862046, 2862047, 2862048, 2862049, 2862050, 2862051, 2862052, 2863001, 2863774, 2863002, 2862053, 2862751, 2863704, 2863707, 2862054, 2862610, 2862609, 2863765, 2863706, 2863718, 2862676, 2863646, 2863573, 2863813, 2863719, 2862055, 2862056, 2862057, 2863411, 2863395, 2862058, 2864013, 2862059, 2863245, 2863059, 2863814, 2862060, 2862061, 2862665, 2862732, 2862062, 2863999, 2863265, 2863412, 2864049, 2862063, 2862064, 2862978, 2862065, 2862890, 2862393, 2863291, 2862725, 2863547, 2862066, 2863739, 2862067, 2862068, 2862069, 2863248, 2863553, 2862673, 2862553, 2863472, 2862070, 2862071, 2862354, 2862072, 2862073, 2862388, 2862074, 2862075, 2862076, 2862077, 2862735, 2862467, 2863013, 2864159, 2862078, 2862079, 2864084, 2862540, 2862809, 2864081, 2863390, 2863907, 2862878, 2863958, 2862080, 2862081, 2862555, 2862082, 2862989, 2862083, 2862084, 2863300, 2863697, 2862085, 2863120, 2863121, 2863089, 2863740, 2863820, 2863301, 2862422, 2862086, 2862087, 2863712, 2862088, 2862089, 2862367, 2863359, 2863385, 2863534, 2862090, 2862405, 2862404, 2862091, 2862571, 2862092, 2862093, 2863761, 2862592, 2862094, 2862095, 2862096, 2862097, 2863094, 2863621, 2862098, 2862990, 2862099, 2862100, 2862101, 2863662, 2863952, 2862102, 2862103, 2862104, 2862105, 2862106, 2864190, 2862364, 2862107, 2863752, 2862108, 2863276, 2863930, 2862740, 2862922, 2863700, 2862624, 2863602, 2863750, 2862109, 2862110, 2862111, 2863375, 2862738, 2862589, 2862690, 2863218, 2862112, 2862113, 2862114, 2862460, 2862115, 2862116, 2864146, 2863347, 2863507, 2863528, 2862117, 2862118, 2862119, 2862717, 2862120, 2863509, 2863623, 2864150, 2862121, 2862122, 2862123, 2863481, 2862124, 2863668, 2863986, 2862125, 2862126, 2862127, 2863303, 2863628, 2863124, 2862410, 2862128, 2863485, 2862129, 2862697, 2863380, 2863449, 2863306, 2862130, 2863504, 2862131, 2862132, 2863461, 2863669, 2862133, 2862134, 2862135, 2862136, 2862137, 2862138, 2862139, 2862140, 2862141, 2864187, 2862653, 2862874, 2863459, 2863212, 2863160, 2863579, 2862142, 2862143, 2862144, 2862910, 2862145, 2862146, 2862147, 2863409, 2863823, 2862148, 2862149, 2863963, 2863747, 2863887, 2864100, 2862536, 2862537, 2862800, 2863315, 2863063, 2862150, 2862151, 2862152, 2863125, 2862153, 2863158, 2862681, 2862154, 2862155, 2862397, 2862156, 2863316, 2862157, 2862158, 2862159, 2862160, 2862161, 2862162, 2862163, 2863209, 2862453, 2862359, 2862164, 2863381, 2862165, 2863612, 2862824, 2862847, 2862873, 2862166, 2862167, 2862423, 2863670, 2862168, 2863744, 2862169, 2862373, 2862170, 2864099, 2863824, 2862171, 2863161, 2863693, 2863450, 2863159, 2862519, 2863157, 2863741, 2863767, 2863743, 2862172, 2864174, 2862173, 2863742, 2862174, 2862175, 2862176, 2862520);[ Date: 2023-10-19 17:31:59 ]
4 3m27s DELETE FROM stock_inventory_line WHERE id IN (2863754, 2863115, 2863613, 2861268, 2863674, 2862939, 2862868, 2863216, 2861269, 2861270, 2861271, 2862638, 2862988, 2861272, 2862921, 2863028, 2861273, 2862566, 2862470, 2861274, 2861275, 2863138, 2861276, 2861277, 2863241, 2862684, 2861278, 2863465, 2863131, 2861279, 2862471, 2862500, 2861280, 2863685, 2863466, 2862917, 2863239, 2864061, 2863427, 2863428, 2861281, 2861282, 2861283, 2861284, 2861285, 2862999, 2863847, 2861286, 2862636, 2861287, 2861288, 2862992, 2863609, 2861289, 2861290, 2864027, 2861291, 2862859, 2864119, 2862982, 2864037, 2863087, 2863551, 2861292, 2861293, 2863503, 2863853, 2863285, 2863733, 2861294, 2861295, 2861296, 2861297, 2861298, 2863863, 2861299, 2864109, 2862806, 2864163, 2861300, 2863051, 2861301, 2861302, 2861303, 2863425, 2861304, 2862593, 2863305, 2864064, 2863496, 2864166, 2863873, 2862771, 2862600, 2862979, 2861305, 2863775, 2862920, 2861306, 2863011, 2863389, 2862387, 2862960, 2862396, 2862372, 2861307, 2862967, 2861308, 2861309, 2861310, 2862608, 2863420, 2863387, 2861311, 2863701, 2861312, 2862669, 2863928, 2862614, 2863126, 2863837, 2862506, 2862515, 2863286, 2863282, 2862513, 2861313, 2863015, 2863379, 2861314, 2863615, 2862657, 2863778, 2864206, 2863862, 2864244, 2863264, 2863583, 2861315, 2862481, 2861316, 2861317, 2862650, 2862530, 2863974, 2863870, 2862549, 2862448, 2862845, 2863032, 2863062, 2863456, 2863916, 2861318, 2862573, 2861319, 2861320, 2863267, 2862390, 2862454, 2862915, 2862758, 2861321, 2861322, 2861323, 2862810, 2862814, 2861324, 2862398, 2864207, 2862414, 2862415, 2863037, 2861325, 2862353, 2861326, 2861327, 2862940, 2863127, 2862869, 2863569, 2863355, 2863934, 2861328, 2862923, 2863238, 2863340, 2862793, 2862713, 2862529, 2863132, 2861329, 2863492, 2863900, 2863905, 2864128, 2861330, 2862501, 2863690, 2861331, 2863060, 2863839, 2861332, 2861333, 2864208, 2863955, 2861334, 2863165, 2863326, 2861335, 2861336, 2862628, 2862696, 2862375, 2863446, 2863626, 2863512, 2863413, 2861337, 2863006, 2862618, 2864045, 2862894, 2862819, 2863592, 2861338, 2861339, 2861340, 2861341, 2861342, 2864209, 2863296, 2862816, 2863550, 2863610, 2863584, 2861343, 2863348, 2863116, 2864210, 2861344, 2863020, 2863479, 2861345, 2864211, 2863038, 2864212, 2864213, 2864214, 2862846, 2861346, 2861347, 2864215, 2864241, 2864216, 2861348, 2863333, 2862844, 2861349, 2861350, 2864217, 2861351, 2861352, 2861353, 2862647, 2864218, 2864219, 2864220, 2861354, 2862794, 2861355, 2861356, 2861357, 2861358, 2863338, 2864221, 2862584, 2862585, 2863828, 2863163, 2863213, 2864088, 2864222, 2864223, 2861359, 2861360, 2864224, 2864247, 2864225, 2864226, 2864227, 2864228, 2864229, 2864230, 2861361, 2864231, 2864232, 2861362, 2864239, 2861363, 2861364, 2864233, 2864234, 2864235, 2861365, 2861366, 2863018, 2861367, 2862731, 2861368, 2861369, 2864058, 2864143, 2861370, 2863205, 2862911, 2864025, 2863939, 2864021, 2863888, 2863983, 2863361, 2863818, 2863879, 2864042, 2863237, 2863914, 2863677, 2863676, 2862898, 2862426, 2863458, 2863317, 2862903, 2862606, 2863730, 2863128, 2863447, 2863369, 2863152, 2863985, 2863150, 2862523, 2862981, 2861371, 2863717, 2863151, 2863878, 2863822, 2863889, 2863634, 2862413, 2863164, 2864122, 2863297, 2861372, 2863947, 2863629, 2861373, 2863148, 2863708, 2863119, 2862516, 2863728, 2863368, 2862482, 2862496, 2862840, 2861374, 2863591, 2861375, 2861376, 2861377, 2861378, 2861379, 2861380, 2861381, 2864164, 2861382, 2861383, 2861384, 2861385, 2861386, 2861387, 2862918, 2861388, 2862807, 2863832, 2861389, 2861390, 2861391, 2863471, 2863069, 2863422, 2861392, 2861393, 2861394, 2862850, 2861395, 2863714, 2862411, 2861396, 2861397, 2861398, 2863183, 2862789, 2861399, 2863215, 2861400, 2863270, 2861401, 2864240, 2861402, 2861403, 2864236, 2862733, 2861404, 2863665, 2861405, 2861406, 2861407, 2861408, 2862644, 2863029, 2861409, 2863614, 2864090, 2864180, 2863416, 2862860, 2863530, 2863529, 2861410, 2863064, 2862842, 2861411, 2861412, 2861413, 2861414, 2863721, 2861415, 2861416, 2863339, 2861417, 2863077, 2863563, 2861418, 2864033, 2863830, 2861419, 2861420, 2861421, 2863831, 2863829, 2862494, 2863912, 2862977, 2864106, 2862617, 2861422, 2864107, 2862727, 2862646, 2863050, 2864108, 2863671, 2863544, 2861423, 2861424, 2861425, 2861426, 2863988, 2863716, 2861427, 2863543, 2861428, 2861429, 2861430, 2863989, 2861431, 2861432, 2861433, 2863990, 2862403, 2863746, 2861434, 2861435, 2863745, 2863991, 2861436, 2861437, 2863992, 2863993, 2863994, 2861438, 2861439, 2863953, 2861440, 2861441, 2861442, 2861443, 2862457, 2861444, 2862670, 2861445, 2861446, 2861447, 2861448, 2861449, 2861450, 2861451, 2863501, 2861452, 2861453, 2861454, 2861455, 2861456, 2861457, 2861458, 2861459, 2861460, 2863995, 2863996, 2863997, 2862848, 2861461, 2861462, 2861463, 2861464, 2861465, 2863091, 2862456, 2862377, 2861466, 2861467, 2864142, 2864138, 2864050, 2861468, 2861469, 2862402, 2864000, 2863966, 2862688, 2861470, 2863877, 2863254, 2864120, 2861471, 2861472, 2861473, 2863505, 2863426, 2863666, 2862925, 2862933, 2863258, 2863587, 2861474, 2861475, 2861476, 2863362, 2862720, 2861477, 2861478, 2862808, 2862831, 2861479, 2862660, 2861480, 2861481, 2862444, 2861482, 2862821, 2862715, 2861483, 2863263, 2861484, 2861485, 2863363, 2862443, 2862726, 2864028, 2861486, 2862769, 2862966, 2864098, 2863929, 2863781, 2862919, 2861487, 2861488, 2861489, 2861490, 2863462, 2861491, 2863453, 2861492, 2861493, 2861494, 2861495, 2863918, 2861496, 2862678, 2861497, 2863514, 2861498, 2862435, 2862943, 2862437, 2862438, 2862439, 2863909, 2861499, 2862635, 2861500, 2861501, 2861502, 2861503, 2862929, 2863845, 2862711, 2861504, 2863555, 2862376, 2861505, 2861506, 2862757, 2862479, 2863599, 2863055, 2863056, 2863393, 2862927, 2863856, 2861507, 2861508, 2862889, 2861509, 2861510, 2861511, 2862995, 2862931, 2861512, 2861513, 2861514, 2862450, 2863773, 2861515, 2862510, 2863734, 2861516, 2861517, 2861518, 2862675, 2861519, 2861520, 2861521, 2861522, 2861523, 2861524, 2862342, 2862871, 2863433, 2863638, 2863222, 2863796, 2863364, 2861525, 2861526, 2861527, 2863156, 2864048, 2861528, 2864036, 2862489, 2861529, 2861530, 2861531, 2861532, 2863782, 2863383, 2862563, 2861533, 2861534, 2861535, 2861536, 2863464, 2861537, 2861538, 2861539, 2861540, 2861541, 2863129, 2861542, 2861543, 2863967, 2861544, 2861545, 2863868, 2863694, 2862864, 2862908, 2862913, 2863197, 2861546, 2862935, 2862768, 2862767, 2861547, 2862854, 2861548, 2863418, 2861549, 2863526, 2863893, 2861550, 2863987, 2864112, 2862984, 2861551, 2861552, 2861553, 2861554, 2861555, 2862865, 2862469, 2861556, 2863184, 2862338, 2861557, 2864105, 2863859, 2861558, 2863915, 2862934, 2861559, 2861560, 2861561, 2862533, 2861562, 2863269, 2861563, 2861564, 2861565, 2861566, 2863352, 2861567, 2863353, 2862852, 2863271, 2862378, 2861568, 2861569, 2863860, 2862677, 2863169, 2863886, 2862875, 2863261, 2863235, 2862679, 2861570, 2863753, 2862959, 2862958, 2863911, 2861571, 2861572, 2864018, 2861573, 2861574, 2863219, 2861575, 2863457, 2861576, 2862882, 2862855, 2862775, 2861577, 2861578, 2861579, 2862779, 2861580, 2861581, 2861582, 2861583, 2861584, 2861585, 2861586, 2861587, 2861588, 2861589, 2861590, 2861591, 2861592, 2861593, 2861594, 2863437, 2861595, 2861596, 2863552, 2863652, 2861597, 2862948, 2861598, 2862774, 2861599, 2861600, 2861601, 2861602, 2861603, 2861604, 2861605, 2861606, 2861607, 2861608, 2861609, 2861610, 2861611, 2861612, 2862773, 2861613, 2863650, 2861614, 2861615, 2861616, 2861617, 2861618, 2861619, 2861620, 2861621, 2861622, 2861623, 2861624, 2861625, 2861626, 2861627, 2861628, 2861629, 2861630, 2861631, 2863438, 2861632, 2861633, 2861634, 2863807, 2861635, 2861636, 2861637, 2863803, 2861638, 2863806, 2861639, 2862486, 2861640, 2861641, 2861642, 2861643, 2861644, 2861645, 2861646, 2861647, 2861648, 2861649, 2861650, 2863808, 2861651, 2861652, 2861653, 2861654, 2863445, 2861655, 2861656, 2861657, 2861658, 2861659, 2861660, 2861661, 2862883, 2861662, 2861663, 2862347, 2861664, 2861665, 2861666, 2861667, 2861668, 2861669, 2861670, 2861671, 2861672, 2861673, 2861674, 2861675, 2861676, 2861677, 2861678, 2861679, 2861680, 2861681, 2861682, 2861683, 2861684, 2861685, 2861686, 2861687, 2861688, 2861689, 2861690, 2863436, 2861691, 2863723, 2862485, 2862785, 2861692, 2861693, 2862569, 2861694, 2863440, 2863515, 2863516, 2862348, 2862349, 2861695, 2863809, 2861696, 2862795, 2862350, 2862837, 2861697, 2862783, 2863376, 2862351, 2863377, 2861698, 2861699, 2862802, 2862803, 2862804, 2862412, 2863220, 2863441, 2862346, 2862778, 2863266, 2861700, 2862856, 2861701, 2861702, 2861703, 2861704, 2863654, 2861705, 2861706, 2862776, 2861707, 2863659, 2861708, 2861709, 2861710, 2861711, 2861712, 2863016, 2861713, 2862884, 2861714, 2861715, 2861716, 2864041, 2864040, 2861717, 2863804, 2861718, 2861719, 2861720, 2861721, 2861722, 2861723, 2861724, 2862780, 2861725, 2861726, 2863657, 2861727, 2861728, 2861729, 2861730, 2861731, 2863648, 2862885, 2863658, 2861732, 2863442, 2863810, 2861733, 2861734, 2861735, 2861736, 2861737);[ Date: 2023-10-19 17:28:30 ]
5 1m27s COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, ref_id, ref) TO stdout;[ Date: 2023-10-19 09:02:39 ]
6 1m24s DELETE FROM stock_inventory_line WHERE id IN (2862177, 2862340, 2863768, 2862358, 2862178, 2862179, 2864176, 2863979, 2864171, 2862180, 2863190, 2862487, 2862181, 2862182, 2862183, 2863480, 2863455, 2862184, 2862623, 2864113, 2863938, 2862185, 2862588, 2862186, 2862187, 2863214, 2863785, 2862188, 2862956, 2862189, 2862843, 2862190, 2862191, 2862371, 2862192, 2864192, 2862839, 2862897, 2862193, 2862194, 2862195, 2863548, 2863757, 2862476, 2862633, 2863964, 2864015, 2862196, 2862197, 2862198, 2864017, 2862488, 2863844, 2862508, 2862507, 2863946, 2863885, 2862509, 2863894, 2864078, 2862601, 2863849, 2863039, 2864152, 2864076, 2864077, 2862199, 2862442, 2862200, 2863493, 2863323, 2862370, 2863099, 2862201, 2862202, 2862203, 2862204, 2863585, 2862971, 2862970, 2864110, 2863792, 2863793, 2862205, 2862206, 2863199, 2863145, 2862972, 2862207, 2862208, 2862969, 2863260, 2862418, 2862473, 2862209, 2862567, 2862568, 2863243, 2863419, 2862993, 2864083, 2862210, 2862211, 2862951, 2862950, 2863356, 2862212, 2863959, 2863973, 2862381, 2864075, 2863299, 2863618, 2863726, 2862691, 2863367, 2863605, 2862213, 2862214, 2862215, 2862216, 2862980, 2863762, 2862217, 2862218, 2862219, 2862220, 2862755, 2862221, 2862222, 2862223, 2862224, 2862225, 2862226, 2862227, 2863521, 2864063, 2862228, 2862866, 2862229, 2862230, 2863777, 2862231, 2863154, 2862712, 2862232, 2862912, 2862233, 2862991, 2862234, 2862235, 2863580, 2862236, 2862237, 2863508, 2863622, 2863384, 2863434, 2863470, 2862238, 2862239, 2862240, 2862463, 2863103, 2862466, 2863104, 2862241, 2863295, 2864133, 2862382, 2862242, 2862548, 2862243, 2862244, 2862764, 2862245, 2862246, 2864020, 2863539, 2863251, 2862247, 2862632, 2863731, 2862248, 2862249, 2863092, 2862250, 2862251, 2862252, 2863396, 2863322, 2864141, 2862440, 2863566, 2864185, 2863203, 2862762, 2862763, 2863647, 2862904, 2862253, 2862254, 2864140, 2863898, 2862255, 2862719, 2862256, 2862257, 2864184, 2862258, 2862259, 2862963, 2863249, 2863415, 2862962, 2863532, 2862260, 2864030, 2862261, 2862262, 2862629, 2862514, 2862556, 2862263, 2862561, 2863940, 2862401, 2864151, 2862526, 2862708, 2862264, 2862265, 2862266, 2862267, 2864043, 2864177, 2862621, 2862268, 2862458, 2862269, 2863318, 2864010, 2864065, 2862270, 2863971, 2864011, 2862707, 2862271, 2863692, 2862272, 2862273, 2862274, 2862527, 2863293, 2862862, 2862861, 2863066, 2864012, 2863499, 2863093, 2862275, 2863495, 2863549, 2863168, 2863527, 2863321, 2863571, 2862525, 2862484, 2863373, 2863181, 2863715, 2862276, 2863025, 2862277, 2863836, 2862278, 2864193, 2863835, 2862279, 2863586, 2862280, 2862281, 2862336, 2862282, 2862283, 2862284, 2862285, 2862723, 2863256, 2862286, 2862287, 2862288, 2862289, 2862704, 2864039, 2862580, 2862976, 2863945, 2862290, 2862291, 2863611, 2862292, 2862597, 2862596, 2863590, 2862293, 2862294, 2862295, 2862296, 2863834, 2862603, 2862770, 2863287, 2863372, 2862297, 2862298, 2862299, 2862300, 2862301, 2863182, 2862302, 2862666, 2863085, 2862303, 2863902, 2862604, 2862304, 2862305, 2862306, 2862307, 2864094, 2864095, 2864093, 2863430, 2862754, 2862308, 2863735, 2863386, 2862309, 2863106, 2863274, 2862491, 2862310, 2862431, 2864129, 2862311, 2862627, 2863036, 2863684, 2863937, 2862312, 2863625, 2863410, 2863791, 2862835, 2862535, 2863231, 2862611, 2862924, 2863052, 2862710, 2862480, 2863139, 2863593, 2862796, 2862343, 2862313, 2862314, 2862315, 2862316, 2862317, 2862318, 2862319, 2862320, 2862321, 2862322, 2863779, 2862616, 2862323, 2862813, 2863969, 2862612, 2862324, 2862613, 2863343, 2864089, 2862325, 2864194, 2862326, 2862327, 2864155, 2862328, 2863572, 2862329, 2862461, 2862330, 2862331, 2862332, 2862333, 2863970, 2862334, 2863794, 2863786);[ Date: 2023-10-19 17:33:23 ]
7 1m21s COPY public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) TO stdout;[ Date: 2023-10-19 09:04:06 ]
8 44s212ms COPY public.website_visitor (id, name, access_token, active, website_id, partner_id, country_id, lang_id, timezone, visit_count, create_date, last_connection_datetime, create_uid, write_uid, write_date) TO stdout;[ Date: 2023-10-19 09:10:46 ]
9 34s957ms SELECT account_move_line.account_id, 0 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-09-30')) AND (("account_move_line"."date" >= '2023-09-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 1 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-08-31')) AND (("account_move_line"."date" >= '2023-08-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 2 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-07-31')) AND (("account_move_line"."date" >= '2023-07-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 3 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-06-30')) AND (("account_move_line"."date" >= '2023-06-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 4 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-05-31')) AND (("account_move_line"."date" >= '2023-05-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 5 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-04-30')) AND (("account_move_line"."date" >= '2023-04-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 6 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-03-31')) AND (("account_move_line"."date" >= '2023-03-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 7 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-02-28')) AND (("account_move_line"."date" >= '2023-02-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 8 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-01-31')) AND (("account_move_line"."date" >= '2023-01-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 9 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2022-12-31')) AND (("account_move_line"."date" >= '2022-12-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 10 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2022-11-30')) AND (("account_move_line"."date" >= '2022-11-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 11 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2022-10-31')) AND (("account_move_line"."date" >= '2022-10-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 12 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2022-09-30')) AND (("account_move_line"."date" >= '2022-09-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 13 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2022-08-31')) AND (("account_move_line"."date" >= '2022-08-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 14 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2022-07-31')) AND (("account_move_line"."date" >= '2022-07-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id;[ Date: 2023-10-19 17:11:58 ]
10 33s708ms SELECT account_move_line.account_id, 0 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-09-30')) AND (("account_move_line"."date" >= '2023-09-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 1 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-08-31')) AND (("account_move_line"."date" >= '2023-08-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 2 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-07-31')) AND (("account_move_line"."date" >= '2023-07-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 3 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-06-30')) AND (("account_move_line"."date" >= '2023-06-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 4 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-05-31')) AND (("account_move_line"."date" >= '2023-05-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 5 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-04-30')) AND (("account_move_line"."date" >= '2023-04-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 6 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-03-31')) AND (("account_move_line"."date" >= '2023-03-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 7 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-02-28')) AND (("account_move_line"."date" >= '2023-02-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 8 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2023-01-31')) AND (("account_move_line"."date" >= '2023-01-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 9 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2022-12-31')) AND (("account_move_line"."date" >= '2022-12-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 10 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2022-11-30')) AND (("account_move_line"."date" >= '2022-11-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 11 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2022-10-31')) AND (("account_move_line"."date" >= '2022-10-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 12 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2022-09-30')) AND (("account_move_line"."date" >= '2022-09-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 13 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2022-08-31')) AND (("account_move_line"."date" >= '2022-08-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id UNION ALL SELECT account_move_line.account_id, 14 AS period_index, COALESCE(SUM(ROUND(1 * account_move_line.balance * currency_table.rate, currency_table.precision)), 0.0) AS balance FROM "account_move_line" LEFT JOIN "account_move" AS "account_move_line__move_id" ON ("account_move_line"."move_id" = "account_move_line__move_id"."id") JOIN (VALUES (1, 1.0, 2)) AS currency_table(company_id, rate, precision) ON currency_table.company_id = account_move_line.company_id WHERE (((((((("account_move_line"."display_type" not in ('line_section','line_note')) OR "account_move_line"."display_type" IS NULL) AND (("account_move_line__move_id"."state" != 'cancel') OR "account_move_line__move_id"."state" IS NULL)) AND ("account_move_line"."company_id" = 1)) AND ("account_move_line"."date" <= '2022-07-31')) AND (("account_move_line"."date" >= '2022-07-01') OR ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" in (SELECT "account_account_type".id FROM "account_account_type" WHERE ("account_account_type"."include_initial_balance" = true))) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1))))))) AND ("account_move_line__move_id"."state" = 'posted')) AND ("account_move_line"."account_id" in (SELECT "account_account".id FROM "account_account" WHERE ("account_account"."user_type_id" = 17) AND ("account_account"."company_id" IS NULL OR ("account_account"."company_id" in (1)))))) AND ("account_move_line"."company_id" IS NULL OR ("account_move_line"."company_id" in (1))) GROUP BY account_move_line.account_id;[ Date: 2023-10-19 17:36:17 ]
11 28s353ms COPY public.website_track (id, visitor_id, page_id, url, visit_datetime, product_id) TO stdout;[ Date: 2023-10-19 09:10:02 ]
12 28s24ms SELECT "account_move".id FROM "account_move" WHERE (((("account_move"."move_type" in ('out_invoice', 'out_refund')) OR ("account_move"."non_inventory_entry" = true)) AND ("account_move"."move_type" in ('out_invoice', 'out_refund'))) AND (((((((((((((((((((((((((((((((((((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05775%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05775%'))) OR FALSE) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00250%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00250%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14507%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14507%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06218%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06218%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06228%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06228%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06215%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06215%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00251%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00251%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06217%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06217%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06219%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06219%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06221%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06221%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06222%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06222%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05810%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05810%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05811%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05811%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06295%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06295%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14609%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14609%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14654%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14654%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14611%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14611%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14636%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14636%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14616%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14616%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06298%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06298%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14610%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14610%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14612%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14612%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14731%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14731%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14704%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14704%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14730%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14730%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14685%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14685%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05899%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05899%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05901%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05901%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05897%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05897%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05902%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05902%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14711%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14711%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05900%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05900%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05900%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05900%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06220%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06220%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06220%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06220%'))) OR FALSE))) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) ORDER BY "account_move"."invoice_date_due" LIMIT 80;[ Date: 2023-10-19 15:14:47 ]
13 28s8ms SELECT "account_move".id FROM "account_move" WHERE (((("account_move"."move_type" in ('out_invoice', 'out_refund')) OR ("account_move"."non_inventory_entry" = true)) AND ("account_move"."move_type" in ('out_invoice', 'out_refund'))) AND (((((((((((((((((((((((((((((((((((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05775%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05775%'))) OR FALSE) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00250%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00250%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14507%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14507%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06218%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06218%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06228%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06228%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06215%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06215%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00251%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00251%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06217%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06217%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06219%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06219%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06221%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06221%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06222%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06222%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05810%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05810%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05811%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05811%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06295%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06295%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14609%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14609%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14654%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14654%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14611%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14611%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14636%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14636%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14616%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14616%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06298%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06298%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14610%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14610%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14612%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14612%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14731%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14731%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14704%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14704%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14730%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14730%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14685%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14685%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05899%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05899%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05901%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05901%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05897%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05897%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05902%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05902%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14711%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14711%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05900%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05900%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05900%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05900%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06220%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06220%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06220%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06220%'))) OR FALSE))) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) ORDER BY "account_move"."invoice_date_due" LIMIT 80;[ Date: 2023-10-19 15:14:42 ]
14 27s998ms SELECT "account_move".id FROM "account_move" WHERE (((("account_move"."move_type" in ('out_invoice', 'out_refund')) OR ("account_move"."non_inventory_entry" = true)) AND ("account_move"."move_type" in ('out_invoice', 'out_refund'))) AND (((((((((((((((((((((((((((((((((((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05775%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05775%'))) OR FALSE) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00250%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00250%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14507%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14507%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06218%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06218%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06228%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06228%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06215%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06215%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00251%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00251%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06217%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06217%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06219%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06219%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06221%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06221%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06222%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06222%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05810%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05810%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05811%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05811%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06295%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06295%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14609%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14609%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14654%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14654%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14611%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14611%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14636%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14636%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14616%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14616%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06298%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06298%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14610%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14610%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14612%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14612%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14731%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14731%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14704%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14704%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14730%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14730%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14685%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14685%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05899%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05899%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05901%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05901%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05897%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05897%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05902%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05902%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14711%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14711%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05900%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05900%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05900%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05900%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06220%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06220%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06220%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06220%'))) OR FALSE))) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) ORDER BY "account_move"."invoice_date_due" LIMIT 80;[ Date: 2023-10-19 15:09:31 ]
15 27s964ms SELECT "account_move".id FROM "account_move" WHERE (((("account_move"."move_type" in ('out_invoice', 'out_refund')) OR ("account_move"."non_inventory_entry" = true)) AND ("account_move"."move_type" in ('out_invoice', 'out_refund'))) AND (((((((((((((((((((((((((((((((((((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05775%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05775%'))) OR FALSE) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00250%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00250%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14507%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14507%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06218%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06218%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06228%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06228%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06215%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06215%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00251%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00251%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06217%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06217%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06219%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06219%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06221%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06221%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06222%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06222%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05810%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05810%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05811%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05811%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06295%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06295%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14609%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14609%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14654%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14654%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14611%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14611%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14636%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14636%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14616%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14616%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06298%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06298%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14610%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14610%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14612%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14612%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14731%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14731%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14704%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14704%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14730%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14730%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14685%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14685%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05899%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05899%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05901%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05901%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05897%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05897%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05902%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05902%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14711%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14711%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05900%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05900%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05900%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05900%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06220%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06220%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06220%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06220%'))) OR FALSE))) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) ORDER BY "account_move"."invoice_date_due" LIMIT 80;[ Date: 2023-10-19 15:15:31 ]
16 27s238ms SELECT "account_move".id FROM "account_move" WHERE (((("account_move"."move_type" in ('out_invoice', 'out_refund')) OR ("account_move"."non_inventory_entry" = true)) AND ("account_move"."move_type" in ('out_invoice', 'out_refund'))) AND ((((((((((((((((((((((((((((((((((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05775%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05775%'))) OR FALSE) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00250%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00250%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14507%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14507%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06218%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06218%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06228%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06228%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06215%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06215%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00251%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00251%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06217%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06217%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06219%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06219%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06221%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06221%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06222%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06222%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05810%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05810%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05811%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05811%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06295%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06295%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14609%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14609%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14654%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14654%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14611%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14611%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14636%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14636%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14616%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14616%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06298%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06298%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14610%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14610%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14612%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14612%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14731%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14731%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14704%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14704%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14730%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14730%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14685%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14685%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05899%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05899%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05901%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05901%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05897%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05897%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05902%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05902%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14711%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14711%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05900%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05900%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05900%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05900%'))) OR FALSE))) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) ORDER BY "account_move"."invoice_date_due" LIMIT 80;[ Date: 2023-10-19 15:06:15 ]
17 26s561ms SELECT "account_move".id FROM "account_move" WHERE (((("account_move"."move_type" in ('out_invoice', 'out_refund')) OR ("account_move"."non_inventory_entry" = true)) AND ("account_move"."move_type" in ('out_invoice', 'out_refund'))) AND ((((((((((((((((((((((((((((((((((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05775%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05775%'))) OR FALSE) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00250%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00250%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14507%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14507%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06218%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06218%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06228%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06228%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06215%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06215%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00251%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00251%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06217%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06217%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06219%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06219%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06221%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06221%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06222%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06222%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05810%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05810%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05811%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05811%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06295%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06295%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14609%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14609%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14654%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14654%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14611%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14611%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14636%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14636%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14616%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14616%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06298%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06298%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14610%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14610%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14612%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14612%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14731%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14731%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14704%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14704%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14730%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14730%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14685%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14685%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05899%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05899%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05901%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05901%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05897%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05897%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05902%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05902%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14711%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14711%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05900%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05900%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05900%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05900%'))) OR FALSE))) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) ORDER BY "account_move"."invoice_date_due" LIMIT 80;[ Date: 2023-10-19 15:07:10 ]
18 25s906ms SELECT "account_move".id FROM "account_move" WHERE (((("account_move"."move_type" in ('out_invoice', 'out_refund')) OR ("account_move"."non_inventory_entry" = true)) AND ("account_move"."move_type" in ('out_invoice', 'out_refund'))) AND (((((((((((((((((((((((((((((((((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05775%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05775%'))) OR FALSE) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00250%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00250%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14507%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14507%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06218%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06218%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06228%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06228%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06215%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06215%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00251%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00251%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06217%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06217%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06219%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06219%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06221%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06221%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06222%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06222%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05810%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05810%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05811%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05811%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06295%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06295%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14609%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14609%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14654%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14654%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14611%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14611%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14636%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14636%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14616%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14616%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06298%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06298%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14610%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14610%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14612%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14612%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14731%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14731%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14704%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14704%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14730%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14730%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14685%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14685%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05899%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05899%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05901%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05901%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05897%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05897%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05902%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05902%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14711%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14711%'))) OR FALSE))) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) ORDER BY "account_move"."invoice_date_due" LIMIT 80;[ Date: 2023-10-19 15:04:38 ]
19 25s884ms SELECT "account_move".id FROM "account_move" WHERE (((("account_move"."move_type" in ('out_invoice', 'out_refund')) OR ("account_move"."non_inventory_entry" = true)) AND ("account_move"."move_type" in ('out_invoice', 'out_refund'))) AND (((((((((((((((((((((((((((((((((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05775%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05775%'))) OR FALSE) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00250%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00250%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14507%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14507%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06218%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06218%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06228%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06228%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06215%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06215%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00251%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00251%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06217%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06217%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06219%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06219%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06221%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06221%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06222%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06222%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05810%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05810%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05811%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05811%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06295%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06295%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14609%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14609%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14654%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14654%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14611%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14611%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14636%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14636%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14616%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14616%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06298%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06298%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14610%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14610%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14612%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14612%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14731%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14731%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14704%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14704%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14730%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14730%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14685%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14685%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05899%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05899%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05901%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05901%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05897%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05897%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05902%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05902%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14711%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14711%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14711%'))) OR FALSE))) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) ORDER BY "account_move"."invoice_date_due" LIMIT 80;[ Date: 2023-10-19 15:05:46 ]
20 25s425ms SELECT "account_move".id FROM "account_move" WHERE (((("account_move"."move_type" in ('out_invoice', 'out_refund')) OR ("account_move"."non_inventory_entry" = true)) AND ("account_move"."move_type" in ('out_invoice', 'out_refund'))) AND ((((((((((((((((((((((((((((((((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05775%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05775%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05775%'))) OR FALSE) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00250%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00250%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00250%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14507%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14507%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14507%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06218%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06218%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06218%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06228%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06228%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06228%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06215%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06215%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06215%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-rinv-00251%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-rinv-00251%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-rinv-00251%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06217%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06217%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06217%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06219%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06219%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06219%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06221%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06221%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06221%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06222%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06222%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06222%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05810%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05810%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05810%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05811%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05811%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05811%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06295%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06295%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06295%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14609%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14609%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14609%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14654%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14654%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14654%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14611%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14611%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14611%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14636%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14636%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14636%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14616%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14616%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14616%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%b-inv-06298%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%b-inv-06298%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%b-inv-06298%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14610%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14610%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14610%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14612%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14612%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14612%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14731%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14731%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14731%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14704%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14704%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14704%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14730%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14730%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14730%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%t-inv-14685%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%t-inv-14685%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%t-inv-14685%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05899%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05899%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05899%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05901%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05901%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05901%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05897%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05897%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05897%'))) OR FALSE)) OR (((((unaccent ("account_move"."name"::text) ilike unaccent ('%v-inv-05902%')) OR (unaccent ("account_move"."invoice_origin"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."ref"::text) ilike unaccent ('%v-inv-05902%'))) OR (unaccent ("account_move"."payment_reference"::text) ilike unaccent ('%v-inv-05902%'))) OR FALSE))) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) ORDER BY "account_move"."invoice_date_due" LIMIT 80;[ Date: 2023-10-19 15:03:11 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 36m37s 3,505 576ms 1s305ms 626ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 19 00 6 3s641ms 606ms 03 40 23s856ms 596ms 09 69 41s471ms 601ms 10 52 31s830ms 612ms 11 288 2m57s 617ms 12 470 4m57s 632ms 13 514 5m21s 626ms 14 355 3m43s 629ms 15 423 4m26s 629ms 16 234 2m26s 627ms 17 428 4m33s 639ms 18 329 3m24s 620ms 19 189 1m59s 633ms 20 48 29s728ms 619ms 21 54 32s377ms 599ms 22 6 3s564ms 594ms -
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 ('%%24x3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%24x3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%24x3%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:29:19 Duration: 1s305ms
-
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 ('%%24x30%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%24x30%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%24x30%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:29:19 Duration: 1s254ms
-
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 ('%%rg040%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%rg040%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%rg040%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:03:57 Duration: 1s21ms
2 21m14s 4,673 120ms 771ms 272ms select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 19 00 14 2s459ms 175ms 01 6 1s61ms 176ms 02 13 2s479ms 190ms 03 11 2s163ms 196ms 04 8 1s551ms 193ms 05 6 1s115ms 185ms 06 11 2s14ms 183ms 07 8 1s337ms 167ms 08 23 4s96ms 178ms 09 19 3s753ms 197ms 10 19 3s526ms 185ms 11 159 35s586ms 223ms 12 244 1m8s 280ms 13 559 2m16s 244ms 14 721 2m56s 244ms 15 642 3m24s 318ms 16 419 2m16s 325ms 17 686 3m39s 319ms 18 549 2m19s 254ms 19 274 1m11s 262ms 20 216 48s181ms 223ms 21 29 5s255ms 181ms 22 15 2s780ms 185ms 23 22 3s975ms 180ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-10-19 16:48:20') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_972"', '["pointspring_master","calendar.alarm",19510]', '["pointspring_master","mail.channel",84]', '["pointspring_master","mail.channel",85]', '["pointspring_master","mail.channel",86]', '["pointspring_master","mail.channel",87]', '["pointspring_master","mail.channel",531]', '["pointspring_master","res.partner",19510]', '["pointspring_master","ir.needaction",19510]'))) ORDER BY "bus_bus"."id";
Date: 2023-10-19 16:49:11 Duration: 771ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-10-19 16:48:20') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1013"', '["pointspring_master","calendar.alarm",19551]', '["pointspring_master","mail.channel",94]', '["pointspring_master","mail.channel",95]', '["pointspring_master","mail.channel",96]', '["pointspring_master","mail.channel",97]', '["pointspring_master","mail.channel",98]', '["pointspring_master","mail.channel",338]', '["pointspring_master","res.partner",19551]', '["pointspring_master","ir.needaction",19551]'))) ORDER BY "bus_bus"."id";
Date: 2023-10-19 16:49:11 Duration: 745ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-10-19 15:39:29') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1017"', '["pointspring_master","calendar.alarm",19555]', '["pointspring_master","mail.channel",36]', '["pointspring_master","mail.channel",41]', '["pointspring_master","mail.channel",42]', '["pointspring_master","mail.channel",503]', '["pointspring_master","mail.channel",515]', '["pointspring_master","mail.channel",563]', '["pointspring_master","res.partner",19555]', '["pointspring_master","ir.needaction",19555]'))) ORDER BY "bus_bus"."id";
Date: 2023-10-19 15:40:20 Duration: 741ms
3 14m4s 2,994 267ms 556ms 282ms select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 19 00 9 2s540ms 282ms 02 2 539ms 269ms 03 1 270ms 270ms 07 6 1s638ms 273ms 08 11 3s13ms 273ms 09 4 1s89ms 272ms 10 5 1s495ms 299ms 11 189 52s746ms 279ms 12 407 1m54s 281ms 13 416 1m57s 282ms 14 437 2m4s 284ms 15 318 1m30s 283ms 16 227 1m3s 280ms 17 227 1m3s 281ms 18 160 44s417ms 277ms 19 381 1m48s 285ms 20 187 51s779ms 276ms 21 3 805ms 268ms 22 4 1s91ms 272ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-9ded8a0/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-19 19:36:14 Duration: 556ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-9ded8a0/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-19 14:57:59 Duration: 455ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.report_assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5826980/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-19 12:30:40 Duration: 442ms
4 13m8s 1,256 575ms 977ms 627ms 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 #4
Day Hour Count Duration Avg duration Oct 19 11 9 5s415ms 601ms 12 58 36s418ms 627ms 13 171 1m49s 637ms 14 87 54s298ms 624ms 15 97 1m 626ms 16 257 2m38s 618ms 17 258 2m45s 643ms 18 99 1m1s 618ms 19 131 1m21s 624ms 20 89 54s406ms 611ms -
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 ('%%n634%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%n6.3-4%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%n6.3-4%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:40:13 Duration: 977ms
-
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 ('%%34%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%3/4%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%3/4%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 16:57:23 Duration: 920ms
-
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 ('%%N250701%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%N250-70-1%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%N250-70-1%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:37:07 Duration: 881ms
5 11m58s 6 647ms 3m29s 1m59s delete from stock_inventory_line where id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 19 17 5 11m57s 2m23s 18 1 647ms 647ms -
DELETE FROM stock_inventory_line WHERE id IN (2863448, 2864195, 2860845, 2860846, 2860847, 2860848, 2862637, 2863944, 2863627, 2863816, 2863833, 2863370, 2863202, 2863541, 2860849, 2860850, 2860851, 2863980, 2863722, 2862502, 2862994, 2860852, 2860853, 2863076, 2863075, 2863307, 2863308, 2864123, 2864124, 2860854, 2863137, 2863171, 2863378, 2862532, 2863846, 2862583, 2860855, 2862559, 2860856, 2864125, 2862685, 2863312, 2863921, 2860857, 2860858, 2860859, 2864196, 2860860, 2862909, 2860861, 2863913, 2862455, 2862872, 2860862, 2863872, 2864245, 2863147, 2863494, 2860863, 2862964, 2860864, 2863467, 2860865, 2860866, 2860867, 2860868, 2863155, 2863080, 2860869, 2860870, 2862867, 2860871, 2860872, 2860873, 2862541, 2860874, 2860875, 2860876, 2860877, 2863070, 2860878, 2860879, 2863253, 2863337, 2862557, 2860880, 2860881, 2860882, 2860883, 2860884, 2860885, 2860886, 2863901, 2860887, 2860888, 2860889, 2860890, 2860891, 2860892, 2860893, 2860894, 2860895, 2860896, 2860897, 2863198, 2860898, 2863071, 2862474, 2860899, 2860900, 2860901, 2860902, 2862863, 2860903, 2863201, 2860904, 2863225, 2860905, 2860906, 2860907, 2864016, 2862369, 2862709, 2860908, 2860909, 2860910, 2860911, 2863904, 2860912, 2863855, 2863435, 2860913, 2860914, 2860915, 2860916, 2860917, 2864001, 2860918, 2862392, 2862823, 2860919, 2863140, 2863236, 2862534, 2864035, 2862705, 2863776, 2863229, 2863288, 2862419, 2862531, 2863334, 2863920, 2860920, 2860921, 2862389, 2860922, 2860923, 2860924, 2860925, 2860926, 2862706, 2863536, 2860927, 2862379, 2860928, 2864248, 2863738, 2864197, 2860929, 2864242, 2863210, 2864096, 2862756, 2860930, 2864079, 2863884, 2864243, 2860931, 2864246, 2860932, 2862786, 2860933, 2864198, 2864199, 2862374, 2864056, 2860934, 2860935, 2860936, 2860937, 2863141, 2860938, 2863346, 2860939, 2860940, 2862741, 2863608, 2863142, 2860941, 2860942, 2860943, 2860944, 2860945, 2860946, 2863196, 2860947, 2860948, 2860949, 2860950, 2860951, 2860952, 2860953, 2860954, 2860955, 2863854, 2860956, 2860957, 2862661, 2863170, 2863143, 2860958, 2863123, 2863227, 2860959, 2864104, 2860960, 2862409, 2860961, 2863542, 2862947, 2863223, 2862914, 2863349, 2862475, 2863403, 2860962, 2864158, 2860963, 2863932, 2863242, 2860964, 2860965, 2860966, 2860967, 2862581, 2860968, 2863200, 2864200, 2864201, 2864202, 2864121, 2863040, 2863086, 2862721, 2862591, 2860969, 2863357, 2863857, 2860970, 2863365, 2860971, 2863144, 2860972, 2860973, 2860974, 2863910, 2863858, 2860975, 2860976, 2860977, 2860978, 2860979, 2862797, 2860980, 2863399, 2863400, 2860981, 2862560, 2860982, 2860983, 2860984, 2863360, 2864203, 2860985, 2862957, 2860986, 2860987, 2862477, 2860988, 2862930, 2860989, 2863951, 2860990, 2860991, 2863405, 2863259, 2860992, 2860993, 2860994, 2862828, 2862829, 2860995, 2862668, 2863012, 2860996, 2862680, 2860997, 2863319, 2862662, 2863111, 2860998, 2862522, 2860999, 2861000, 2861001, 2861002, 2863302, 2863843, 2862615, 2863473, 2863598, 2864154, 2862826, 2861003, 2861004, 2864022, 2864029, 2861005, 2864092, 2863330, 2861006, 2863394, 2863568, 2863401, 2862926, 2863597, 2862577, 2863709, 2862441, 2861007, 2862337, 2862798, 2863838, 2863054, 2861008, 2861009, 2861010, 2861011, 2862888, 2863118, 2862743, 2862736, 2862759, 2861012, 2863233, 2861013, 2862587, 2863520, 2864080, 2864103, 2863034, 2863802, 2862737, 2861014, 2864186, 2861015, 2863096, 2863044, 2863010, 2863354, 2863546, 2861016, 2863194, 2863003, 2863891, 2862570, 2863531, 2863954, 2861017, 2861018, 2863004, 2861019, 2862552, 2863600, 2861020, 2861021, 2863108, 2861022, 2863180, 2861023, 2863724, 2862595, 2861024, 2863191, 2863084, 2863083, 2862942, 2861025, 2861026, 2861027, 2863720, 2861028, 2861029, 2861030, 2861031, 2863633, 2863578, 2863632, 2863112, 2862649, 2864147, 2861032, 2861033, 2862361, 2863538, 2861034, 2862667, 2861035, 2861036, 2861037, 2862574, 2861038, 2863073, 2863072, 2861039, 2861040, 2861041, 2863035, 2861042, 2861043, 2862425, 2863637, 2862579, 2864068, 2863636, 2861044, 2861045, 2862916, 2861046, 2861047, 2862483, 2861048, 2863407, 2862833, 2862832, 2862830, 2863661, 2864044, 2863046, 2863146, 2861049, 2862700, 2863755, 2863023, 2861050, 2864175, 2864034, 2861051, 2861052, 2861053, 2862937, 2862400, 2861054, 2861055, 2861056, 2861057, 2861058, 2861059, 2861060, 2861061, 2861062, 2863031, 2864172, 2863981, 2862639, 2862427, 2863005, 2862492, 2861063, 2862543, 2862701, 2861064, 2862518, 2862544, 2861065, 2864009, 2861066, 2861067, 2861068, 2863769, 2863737, 2861069, 2861070, 2862498, 2862550, 2862699, 2861071, 2863097, 2861072, 2864023, 2861073, 2863100, 2863475, 2861074, 2863336, 2862643, 2862619, 2861075, 2862521, 2863784, 2863342, 2861076, 2862893, 2861077, 2861078, 2863358, 2863984, 2863635, 2861079, 2862565, 2864003, 2863595, 2861080, 2861081, 2863310, 2862997, 2861082, 2861083, 2862996, 2861084, 2863919, 2861085, 2863292, 2862772, 2861086, 2862495, 2861087, 2861088, 2861089, 2861090, 2861091, 2863257, 2861092, 2863763, 2861093, 2863875, 2861094, 2861095, 2863876, 2863673, 2862671, 2862946, 2862640, 2862811, 2862445, 2861096, 2862642, 2861097, 2861098, 2863247, 2863041, 2861099, 2861100, 2861101, 2863982, 2861102, 2862620, 2861103, 2863332, 2861104, 2863042, 2862429, 2863272, 2861105, 2863178, 2863246, 2864204, 2863518, 2861106, 2862985, 2863391, 2861107, 2863053, 2861108, 2863283, 2862605, 2863643, 2863284, 2863736, 2861109, 2861110, 2863221, 2863009, 2861111, 2862391, 2861112, 2862687, 2863406, 2863486, 2861113, 2863408, 2862895, 2863149, 2863068, 2863713, 2863819, 2862805, 2862975, 2863861, 2863749, 2864167, 2863748, 2861114, 2862787, 2862651, 2861115, 2861116, 2861117, 2861118, 2861119, 2863679, 2863564, 2861120, 2863024, 2861121, 2861122, 2861123, 2861124, 2861125, 2863081, 2861126, 2863558, 2861127, 2861128, 2863619, 2861129, 2861130, 2863607, 2863482, 2863026, 2863630, 2861131, 2861132, 2861133, 2861134, 2861135, 2861136, 2861137, 2863956, 2863280, 2861138, 2861139, 2861140, 2861141, 2863589, 2864055, 2863522, 2863491, 2864205, 2863105, 2861142, 2861143, 2862598, 2862572, 2862655, 2863234, 2861144, 2861145, 2862905, 2862648, 2863404, 2862622, 2864059, 2861146, 2864060, 2861147, 2862730, 2861148, 2861149, 2862464, 2861150, 2861151, 2864149, 2861152, 2864091, 2863881, 2863043, 2863696, 2863631, 2861153, 2863047, 2862428, 2863350, 2862965, 2861154, 2863311, 2863067, 2862459, 2863852, 2863851, 2862368, 2861155, 2863186, 2861156, 2863074, 2862652, 2863899, 2861157, 2861158, 2861159, 2861160, 2861161, 2861162, 2861163, 2861164, 2864135, 2864134, 2864136, 2861165, 2862698, 2862944, 2863098, 2863117, 2863513, 2861166, 2861167, 2862841, 2862702, 2861168, 2862468, 2863511, 2863525, 2864051, 2864052, 2862682, 2862746, 2863699, 2862686, 2861169, 2862594, 2862716, 2861170, 2862424, 2861171, 2864038, 2863255, 2864024, 2863217, 2863931, 2861172, 2864062, 2863826, 2863134, 2863298, 2864054, 2863924, 2862747, 2862695, 2863581, 2863523, 2863187, 2861173, 2863189, 2863278, 2863341, 2861174, 2861175, 2861176, 2861177, 2861178, 2863172, 2861179, 2861180, 2861181, 2861182, 2862749, 2861183, 2861184, 2862744, 2863936, 2864178, 2863680, 2861185, 2862899, 2862799, 2863978, 2861186, 2863817, 2863864, 2861187, 2863725, 2864046, 2863675, 2863519, 2862907, 2862634, 2863950, 2861188, 2863874, 2863732, 2863324, 2863689, 2861189, 2863827, 2863687, 2864139, 2861190, 2862394, 2862607, 2861191, 2861192, 2861193, 2863972, 2862630, 2863477, 2863107, 2863021, 2861194, 2861195, 2863798, 2863431, 2861196, 2863454, 2863173, 2861197, 2861198, 2861199, 2861200, 2861201, 2862503, 2863681, 2863682, 2864005, 2863965, 2861202, 2863490, 2862399, 2863174, 2862745, 2863890, 2863524, 2863175, 2863176, 2861203, 2861204, 2861205, 2861206, 2863554, 2861207, 2863603, 2861208, 2863577, 2861209, 2861210, 2864006, 2863825, 2861211, 2863451, 2864188, 2861212, 2861213, 2861214, 2863780, 2861215, 2862941, 2862472, 2861216, 2863188, 2863424, 2862564, 2863562, 2863313, 2863135, 2864066, 2863423, 2863240, 2863489, 2861217, 2861218, 2862938, 2861219, 2863279, 2861220, 2861221, 2861222, 2861223, 2863469, 2861224, 2861225, 2861226, 2861227, 2861228, 2863927, 2863560, 2862384, 2862385, 2863452, 2861229, 2861230, 2863078, 2862547, 2862625, 2861231, 2863935, 2862432, 2863079, 2861232, 2861233, 2863601, 2861234, 2863277, 2863933, 2862451, 2861235, 2862360, 2861236, 2862493, 2861237, 2863045, 2861238, 2861239, 2863691, 2864126, 2864019, 2863565, 2861240, 2863758, 2861241, 2863683, 2864008, 2861242, 2863022, 2863314, 2863082, 2862626, 2862683, 2862562, 2863136, 2864127, 2862654, 2861243, 2863640, 2862870, 2863925, 2861244, 2863865, 2863917, 2863821, 2862602, 2862748, 2861245, 2862836, 2863289, 2861246, 2862386, 2862590, 2862517, 2864101, 2863207, 2861247, 2861248, 2864156, 2861249, 2864102, 2863014, 2861250, 2861251, 2862554, 2863208, 2861252, 2862936, 2862674, 2861253, 2861254, 2861255, 2862339, 2861256, 2862528, 2861257, 2861258, 2862366, 2861259, 2863061, 2863582, 2861260, 2864148, 2861261, 2862983, 2861262, 2861263, 2862524, 2861264, 2861265, 2862505, 2862694, 2864191, 2863113, 2861266, 2861267);
Date: 2023-10-19 17:25:03 Duration: 3m29s
-
DELETE FROM stock_inventory_line WHERE id IN (2861738, 2861739, 2863653, 2861740, 2861741, 2861742, 2861743, 2861744, 2861745, 2861746, 2861747, 2861748, 2861749, 2861750, 2861751, 2861752, 2861753, 2861754, 2861755, 2861756, 2863439, 2863656, 2861757, 2861758, 2861759, 2863655, 2863649, 2862777, 2861760, 2861761, 2863443, 2861762, 2861763, 2863651, 2861764, 2861765, 2862784, 2862781, 2861766, 2861767, 2862782, 2863812, 2861768, 2861769, 2861770, 2862352, 2861771, 2863811, 2863805, 2863444, 2863110, 2861772, 2861773, 2861774, 2861775, 2861776, 2862344, 2862345, 2862465, 2862801, 2861777, 2861778, 2863109, 2864069, 2864053, 2862420, 2862658, 2861779, 2864168, 2864117, 2863345, 2863799, 2861780, 2863204, 2861781, 2861782, 2861783, 2864144, 2861784, 2863672, 2861785, 2862788, 2861786, 2861787, 2862714, 2862851, 2861788, 2861789, 2861790, 2861791, 2861792, 2861793, 2861794, 2863468, 2861795, 2862578, 2861796, 2861797, 2863130, 2864004, 2863185, 2863962, 2863678, 2863639, 2862497, 2863167, 2863975, 2861798, 2861799, 2862462, 2861800, 2863398, 2863533, 2862892, 2863660, 2863764, 2862742, 2862896, 2862599, 2861801, 2862664, 2862434, 2861802, 2862641, 2862886, 2862430, 2862932, 2862928, 2863926, 2861803, 2861804, 2861805, 2861806, 2861807, 2864114, 2864047, 2861808, 2861809, 2862645, 2861810, 2862499, 2863177, 2862356, 2861811, 2863474, 2861812, 2862478, 2863030, 2863948, 2862436, 2862853, 2861813, 2863228, 2864153, 2861814, 2861815, 2863421, 2862416, 2863309, 2863027, 2861816, 2863772, 2861817, 2861818, 2861819, 2862945, 2862998, 2861820, 2862760, 2861821, 2861822, 2861823, 2863575, 2861824, 2861825, 2863252, 2862765, 2864179, 2861826, 2863923, 2863488, 2861827, 2861828, 2863335, 2864157, 2863574, 2861829, 2864173, 2861830, 2861831, 2862395, 2861832, 2861833, 2863576, 2862750, 2863224, 2864131, 2861834, 2861835, 2861836, 2864118, 2861837, 2861838, 2861839, 2863232, 2862433, 2863392, 2862825, 2862766, 2863226, 2863230, 2864189, 2863114, 2861840, 2863882, 2861841, 2861842, 2861843, 2861844, 2862512, 2863122, 2862383, 2861845, 2862834, 2863949, 2863759, 2862452, 2861846, 2861847, 2862659, 2861848, 2862761, 2864070, 2862576, 2863663, 2863262, 2863960, 2863961, 2864026, 2863892, 2863101, 2864087, 2861849, 2861850, 2862734, 2864002, 2861851, 2864067, 2862542, 2861852, 2864237, 2863432, 2862504, 2861853, 2864097, 2863304, 2861854, 2863049, 2864057, 2864181, 2861855, 2864182, 2863848, 2861856, 2864165, 2862511, 2861857, 2861858, 2861859, 2861860, 2863968, 2863645, 2863702, 2861861, 2863540, 2861862, 2861863, 2861864, 2861865, 2861866, 2862881, 2861867, 2861868, 2861869, 2862891, 2862539, 2862447, 2861870, 2861871, 2863328, 2864082, 2863329, 2862693, 2861872, 2861873, 2863065, 2861874, 2861875, 2864115, 2861876, 2863192, 2864169, 2861877, 2861878, 2861879, 2862880, 2864170, 2863153, 2863770, 2861880, 2861881, 2861882, 2861883, 2861884, 2861885, 2861886, 2862703, 2861887, 2861888, 2862672, 2863771, 2861889, 2863895, 2863896, 2863705, 2863710, 2863711, 2861890, 2863869, 2862790, 2862791, 2862792, 2861891, 2861892, 2861893, 2863559, 2861894, 2861895, 2862739, 2861896, 2861897, 2861898, 2861899, 2861900, 2861901, 2861902, 2861903, 2863688, 2861904, 2864162, 2862722, 2861905, 2863545, 2863801, 2861906, 2863903, 2863866, 2861907, 2861908, 2862538, 2863008, 2861909, 2862876, 2861910, 2863351, 2862849, 2861911, 2863596, 2863594, 2861912, 2863943, 2862545, 2861913, 2862449, 2864238, 2863162, 2861914, 2862558, 2862546, 2861915, 2863088, 2863500, 2864145, 2863751, 2861916, 2863561, 2862365, 2861917, 2863686, 2861918, 2864007, 2862446, 2863281, 2862900, 2863273, 2862586, 2862954, 2863320, 2862901, 2861919, 2861920, 2861921, 2862952, 2862692, 2864073, 2864074, 2864072, 2863977, 2863976, 2863800, 2864183, 2861922, 2861923, 2862575, 2861924, 2863642, 2863057, 2861925, 2861926, 2863667, 2861927, 2862729, 2863617, 2861928, 2862987, 2861929, 2863498, 2863476, 2861930, 2864032, 2862857, 2861931, 2863616, 2863294, 2861932, 2862724, 2861933, 2862953, 2861934, 2863193, 2863756, 2863842, 2864071, 2863019, 2862689, 2862380, 2864014, 2864031, 2863570, 2862877, 2862817, 2862341, 2861935, 2861936, 2863867, 2864137, 2862838, 2861937, 2861938, 2862822, 2861939, 2861940, 2864132, 2862820, 2863017, 2861941, 2862728, 2863957, 2863841, 2861942, 2861943, 2863195, 2863417, 2863484, 2861944, 2861945, 2861946, 2861947, 2863729, 2862421, 2861948, 2862656, 2861949, 2861950, 2861951, 2863871, 2861952, 2861953, 2861954, 2863374, 2862827, 2861955, 2863058, 2862974, 2863402, 2863007, 2861956, 2863517, 2864111, 2861957, 2863327, 2861958, 2863604, 2863371, 2863664, 2863567, 2861959, 2863727, 2863624, 2863703, 2863760, 2862815, 2861960, 2862973, 2862490, 2863908, 2861961, 2861962, 2861963, 2862812, 2863510, 2863897, 2862355, 2861964, 2861965, 2862961, 2861966, 2861967, 2861968, 2861969, 2863506, 2861970, 2861971, 2861972, 2861973, 2863090, 2861974, 2861975, 2863483, 2863641, 2864161, 2863922, 2863133, 2861976, 2861977, 2861978, 2863102, 2862335, 2861979, 2861980, 2861981, 2861982, 2861983, 2863620, 2861984, 2861985, 2861986, 2861987, 2863588, 2861988, 2861989, 2861990, 2861991, 2862357, 2863397, 2863463, 2861992, 2862986, 2861993, 2861994, 2861995, 2863535, 2863880, 2863766, 2861996, 2862752, 2862753, 2863095, 2861997, 2862949, 2862551, 2861998, 2863211, 2861999, 2863460, 2863497, 2862663, 2862887, 2862000, 2862879, 2863250, 2862955, 2862001, 2862002, 2862362, 2862003, 2862718, 2862004, 2862005, 2862006, 2862858, 2863698, 2862007, 2864160, 2862906, 2862363, 2863414, 2863429, 2862008, 2862009, 2863033, 2862902, 2862968, 2862818, 2862010, 2862011, 2862012, 2862013, 2862014, 2862015, 2863048, 2863166, 2862016, 2863331, 2863366, 2862017, 2862018, 2862407, 2862019, 2863789, 2862020, 2863206, 2863487, 2862021, 2863797, 2863850, 2863275, 2862022, 2862023, 2863556, 2862406, 2862024, 2863606, 2863941, 2863783, 2862025, 2863790, 2863787, 2862026, 2863788, 2863795, 2863502, 2863942, 2864085, 2864086, 2863815, 2862027, 2863344, 2863537, 2862028, 2863478, 2862029, 2862408, 2862631, 2862030, 2863883, 2863325, 2863382, 2862031, 2863840, 2864116, 2863268, 2863557, 2862032, 2863290, 2862582, 2863000, 2862033, 2862034, 2863644, 2862035, 2863388, 2862417, 2863695, 2863179, 2862036, 2862037, 2862038, 2862039, 2862040, 2863906, 2863998, 2864130, 2862041, 2862042, 2862043, 2863244, 2862044, 2862045, 2862046, 2862047, 2862048, 2862049, 2862050, 2862051, 2862052, 2863001, 2863774, 2863002, 2862053, 2862751, 2863704, 2863707, 2862054, 2862610, 2862609, 2863765, 2863706, 2863718, 2862676, 2863646, 2863573, 2863813, 2863719, 2862055, 2862056, 2862057, 2863411, 2863395, 2862058, 2864013, 2862059, 2863245, 2863059, 2863814, 2862060, 2862061, 2862665, 2862732, 2862062, 2863999, 2863265, 2863412, 2864049, 2862063, 2862064, 2862978, 2862065, 2862890, 2862393, 2863291, 2862725, 2863547, 2862066, 2863739, 2862067, 2862068, 2862069, 2863248, 2863553, 2862673, 2862553, 2863472, 2862070, 2862071, 2862354, 2862072, 2862073, 2862388, 2862074, 2862075, 2862076, 2862077, 2862735, 2862467, 2863013, 2864159, 2862078, 2862079, 2864084, 2862540, 2862809, 2864081, 2863390, 2863907, 2862878, 2863958, 2862080, 2862081, 2862555, 2862082, 2862989, 2862083, 2862084, 2863300, 2863697, 2862085, 2863120, 2863121, 2863089, 2863740, 2863820, 2863301, 2862422, 2862086, 2862087, 2863712, 2862088, 2862089, 2862367, 2863359, 2863385, 2863534, 2862090, 2862405, 2862404, 2862091, 2862571, 2862092, 2862093, 2863761, 2862592, 2862094, 2862095, 2862096, 2862097, 2863094, 2863621, 2862098, 2862990, 2862099, 2862100, 2862101, 2863662, 2863952, 2862102, 2862103, 2862104, 2862105, 2862106, 2864190, 2862364, 2862107, 2863752, 2862108, 2863276, 2863930, 2862740, 2862922, 2863700, 2862624, 2863602, 2863750, 2862109, 2862110, 2862111, 2863375, 2862738, 2862589, 2862690, 2863218, 2862112, 2862113, 2862114, 2862460, 2862115, 2862116, 2864146, 2863347, 2863507, 2863528, 2862117, 2862118, 2862119, 2862717, 2862120, 2863509, 2863623, 2864150, 2862121, 2862122, 2862123, 2863481, 2862124, 2863668, 2863986, 2862125, 2862126, 2862127, 2863303, 2863628, 2863124, 2862410, 2862128, 2863485, 2862129, 2862697, 2863380, 2863449, 2863306, 2862130, 2863504, 2862131, 2862132, 2863461, 2863669, 2862133, 2862134, 2862135, 2862136, 2862137, 2862138, 2862139, 2862140, 2862141, 2864187, 2862653, 2862874, 2863459, 2863212, 2863160, 2863579, 2862142, 2862143, 2862144, 2862910, 2862145, 2862146, 2862147, 2863409, 2863823, 2862148, 2862149, 2863963, 2863747, 2863887, 2864100, 2862536, 2862537, 2862800, 2863315, 2863063, 2862150, 2862151, 2862152, 2863125, 2862153, 2863158, 2862681, 2862154, 2862155, 2862397, 2862156, 2863316, 2862157, 2862158, 2862159, 2862160, 2862161, 2862162, 2862163, 2863209, 2862453, 2862359, 2862164, 2863381, 2862165, 2863612, 2862824, 2862847, 2862873, 2862166, 2862167, 2862423, 2863670, 2862168, 2863744, 2862169, 2862373, 2862170, 2864099, 2863824, 2862171, 2863161, 2863693, 2863450, 2863159, 2862519, 2863157, 2863741, 2863767, 2863743, 2862172, 2864174, 2862173, 2863742, 2862174, 2862175, 2862176, 2862520);
Date: 2023-10-19 17:31:59 Duration: 3m29s
-
DELETE FROM stock_inventory_line WHERE id IN (2863754, 2863115, 2863613, 2861268, 2863674, 2862939, 2862868, 2863216, 2861269, 2861270, 2861271, 2862638, 2862988, 2861272, 2862921, 2863028, 2861273, 2862566, 2862470, 2861274, 2861275, 2863138, 2861276, 2861277, 2863241, 2862684, 2861278, 2863465, 2863131, 2861279, 2862471, 2862500, 2861280, 2863685, 2863466, 2862917, 2863239, 2864061, 2863427, 2863428, 2861281, 2861282, 2861283, 2861284, 2861285, 2862999, 2863847, 2861286, 2862636, 2861287, 2861288, 2862992, 2863609, 2861289, 2861290, 2864027, 2861291, 2862859, 2864119, 2862982, 2864037, 2863087, 2863551, 2861292, 2861293, 2863503, 2863853, 2863285, 2863733, 2861294, 2861295, 2861296, 2861297, 2861298, 2863863, 2861299, 2864109, 2862806, 2864163, 2861300, 2863051, 2861301, 2861302, 2861303, 2863425, 2861304, 2862593, 2863305, 2864064, 2863496, 2864166, 2863873, 2862771, 2862600, 2862979, 2861305, 2863775, 2862920, 2861306, 2863011, 2863389, 2862387, 2862960, 2862396, 2862372, 2861307, 2862967, 2861308, 2861309, 2861310, 2862608, 2863420, 2863387, 2861311, 2863701, 2861312, 2862669, 2863928, 2862614, 2863126, 2863837, 2862506, 2862515, 2863286, 2863282, 2862513, 2861313, 2863015, 2863379, 2861314, 2863615, 2862657, 2863778, 2864206, 2863862, 2864244, 2863264, 2863583, 2861315, 2862481, 2861316, 2861317, 2862650, 2862530, 2863974, 2863870, 2862549, 2862448, 2862845, 2863032, 2863062, 2863456, 2863916, 2861318, 2862573, 2861319, 2861320, 2863267, 2862390, 2862454, 2862915, 2862758, 2861321, 2861322, 2861323, 2862810, 2862814, 2861324, 2862398, 2864207, 2862414, 2862415, 2863037, 2861325, 2862353, 2861326, 2861327, 2862940, 2863127, 2862869, 2863569, 2863355, 2863934, 2861328, 2862923, 2863238, 2863340, 2862793, 2862713, 2862529, 2863132, 2861329, 2863492, 2863900, 2863905, 2864128, 2861330, 2862501, 2863690, 2861331, 2863060, 2863839, 2861332, 2861333, 2864208, 2863955, 2861334, 2863165, 2863326, 2861335, 2861336, 2862628, 2862696, 2862375, 2863446, 2863626, 2863512, 2863413, 2861337, 2863006, 2862618, 2864045, 2862894, 2862819, 2863592, 2861338, 2861339, 2861340, 2861341, 2861342, 2864209, 2863296, 2862816, 2863550, 2863610, 2863584, 2861343, 2863348, 2863116, 2864210, 2861344, 2863020, 2863479, 2861345, 2864211, 2863038, 2864212, 2864213, 2864214, 2862846, 2861346, 2861347, 2864215, 2864241, 2864216, 2861348, 2863333, 2862844, 2861349, 2861350, 2864217, 2861351, 2861352, 2861353, 2862647, 2864218, 2864219, 2864220, 2861354, 2862794, 2861355, 2861356, 2861357, 2861358, 2863338, 2864221, 2862584, 2862585, 2863828, 2863163, 2863213, 2864088, 2864222, 2864223, 2861359, 2861360, 2864224, 2864247, 2864225, 2864226, 2864227, 2864228, 2864229, 2864230, 2861361, 2864231, 2864232, 2861362, 2864239, 2861363, 2861364, 2864233, 2864234, 2864235, 2861365, 2861366, 2863018, 2861367, 2862731, 2861368, 2861369, 2864058, 2864143, 2861370, 2863205, 2862911, 2864025, 2863939, 2864021, 2863888, 2863983, 2863361, 2863818, 2863879, 2864042, 2863237, 2863914, 2863677, 2863676, 2862898, 2862426, 2863458, 2863317, 2862903, 2862606, 2863730, 2863128, 2863447, 2863369, 2863152, 2863985, 2863150, 2862523, 2862981, 2861371, 2863717, 2863151, 2863878, 2863822, 2863889, 2863634, 2862413, 2863164, 2864122, 2863297, 2861372, 2863947, 2863629, 2861373, 2863148, 2863708, 2863119, 2862516, 2863728, 2863368, 2862482, 2862496, 2862840, 2861374, 2863591, 2861375, 2861376, 2861377, 2861378, 2861379, 2861380, 2861381, 2864164, 2861382, 2861383, 2861384, 2861385, 2861386, 2861387, 2862918, 2861388, 2862807, 2863832, 2861389, 2861390, 2861391, 2863471, 2863069, 2863422, 2861392, 2861393, 2861394, 2862850, 2861395, 2863714, 2862411, 2861396, 2861397, 2861398, 2863183, 2862789, 2861399, 2863215, 2861400, 2863270, 2861401, 2864240, 2861402, 2861403, 2864236, 2862733, 2861404, 2863665, 2861405, 2861406, 2861407, 2861408, 2862644, 2863029, 2861409, 2863614, 2864090, 2864180, 2863416, 2862860, 2863530, 2863529, 2861410, 2863064, 2862842, 2861411, 2861412, 2861413, 2861414, 2863721, 2861415, 2861416, 2863339, 2861417, 2863077, 2863563, 2861418, 2864033, 2863830, 2861419, 2861420, 2861421, 2863831, 2863829, 2862494, 2863912, 2862977, 2864106, 2862617, 2861422, 2864107, 2862727, 2862646, 2863050, 2864108, 2863671, 2863544, 2861423, 2861424, 2861425, 2861426, 2863988, 2863716, 2861427, 2863543, 2861428, 2861429, 2861430, 2863989, 2861431, 2861432, 2861433, 2863990, 2862403, 2863746, 2861434, 2861435, 2863745, 2863991, 2861436, 2861437, 2863992, 2863993, 2863994, 2861438, 2861439, 2863953, 2861440, 2861441, 2861442, 2861443, 2862457, 2861444, 2862670, 2861445, 2861446, 2861447, 2861448, 2861449, 2861450, 2861451, 2863501, 2861452, 2861453, 2861454, 2861455, 2861456, 2861457, 2861458, 2861459, 2861460, 2863995, 2863996, 2863997, 2862848, 2861461, 2861462, 2861463, 2861464, 2861465, 2863091, 2862456, 2862377, 2861466, 2861467, 2864142, 2864138, 2864050, 2861468, 2861469, 2862402, 2864000, 2863966, 2862688, 2861470, 2863877, 2863254, 2864120, 2861471, 2861472, 2861473, 2863505, 2863426, 2863666, 2862925, 2862933, 2863258, 2863587, 2861474, 2861475, 2861476, 2863362, 2862720, 2861477, 2861478, 2862808, 2862831, 2861479, 2862660, 2861480, 2861481, 2862444, 2861482, 2862821, 2862715, 2861483, 2863263, 2861484, 2861485, 2863363, 2862443, 2862726, 2864028, 2861486, 2862769, 2862966, 2864098, 2863929, 2863781, 2862919, 2861487, 2861488, 2861489, 2861490, 2863462, 2861491, 2863453, 2861492, 2861493, 2861494, 2861495, 2863918, 2861496, 2862678, 2861497, 2863514, 2861498, 2862435, 2862943, 2862437, 2862438, 2862439, 2863909, 2861499, 2862635, 2861500, 2861501, 2861502, 2861503, 2862929, 2863845, 2862711, 2861504, 2863555, 2862376, 2861505, 2861506, 2862757, 2862479, 2863599, 2863055, 2863056, 2863393, 2862927, 2863856, 2861507, 2861508, 2862889, 2861509, 2861510, 2861511, 2862995, 2862931, 2861512, 2861513, 2861514, 2862450, 2863773, 2861515, 2862510, 2863734, 2861516, 2861517, 2861518, 2862675, 2861519, 2861520, 2861521, 2861522, 2861523, 2861524, 2862342, 2862871, 2863433, 2863638, 2863222, 2863796, 2863364, 2861525, 2861526, 2861527, 2863156, 2864048, 2861528, 2864036, 2862489, 2861529, 2861530, 2861531, 2861532, 2863782, 2863383, 2862563, 2861533, 2861534, 2861535, 2861536, 2863464, 2861537, 2861538, 2861539, 2861540, 2861541, 2863129, 2861542, 2861543, 2863967, 2861544, 2861545, 2863868, 2863694, 2862864, 2862908, 2862913, 2863197, 2861546, 2862935, 2862768, 2862767, 2861547, 2862854, 2861548, 2863418, 2861549, 2863526, 2863893, 2861550, 2863987, 2864112, 2862984, 2861551, 2861552, 2861553, 2861554, 2861555, 2862865, 2862469, 2861556, 2863184, 2862338, 2861557, 2864105, 2863859, 2861558, 2863915, 2862934, 2861559, 2861560, 2861561, 2862533, 2861562, 2863269, 2861563, 2861564, 2861565, 2861566, 2863352, 2861567, 2863353, 2862852, 2863271, 2862378, 2861568, 2861569, 2863860, 2862677, 2863169, 2863886, 2862875, 2863261, 2863235, 2862679, 2861570, 2863753, 2862959, 2862958, 2863911, 2861571, 2861572, 2864018, 2861573, 2861574, 2863219, 2861575, 2863457, 2861576, 2862882, 2862855, 2862775, 2861577, 2861578, 2861579, 2862779, 2861580, 2861581, 2861582, 2861583, 2861584, 2861585, 2861586, 2861587, 2861588, 2861589, 2861590, 2861591, 2861592, 2861593, 2861594, 2863437, 2861595, 2861596, 2863552, 2863652, 2861597, 2862948, 2861598, 2862774, 2861599, 2861600, 2861601, 2861602, 2861603, 2861604, 2861605, 2861606, 2861607, 2861608, 2861609, 2861610, 2861611, 2861612, 2862773, 2861613, 2863650, 2861614, 2861615, 2861616, 2861617, 2861618, 2861619, 2861620, 2861621, 2861622, 2861623, 2861624, 2861625, 2861626, 2861627, 2861628, 2861629, 2861630, 2861631, 2863438, 2861632, 2861633, 2861634, 2863807, 2861635, 2861636, 2861637, 2863803, 2861638, 2863806, 2861639, 2862486, 2861640, 2861641, 2861642, 2861643, 2861644, 2861645, 2861646, 2861647, 2861648, 2861649, 2861650, 2863808, 2861651, 2861652, 2861653, 2861654, 2863445, 2861655, 2861656, 2861657, 2861658, 2861659, 2861660, 2861661, 2862883, 2861662, 2861663, 2862347, 2861664, 2861665, 2861666, 2861667, 2861668, 2861669, 2861670, 2861671, 2861672, 2861673, 2861674, 2861675, 2861676, 2861677, 2861678, 2861679, 2861680, 2861681, 2861682, 2861683, 2861684, 2861685, 2861686, 2861687, 2861688, 2861689, 2861690, 2863436, 2861691, 2863723, 2862485, 2862785, 2861692, 2861693, 2862569, 2861694, 2863440, 2863515, 2863516, 2862348, 2862349, 2861695, 2863809, 2861696, 2862795, 2862350, 2862837, 2861697, 2862783, 2863376, 2862351, 2863377, 2861698, 2861699, 2862802, 2862803, 2862804, 2862412, 2863220, 2863441, 2862346, 2862778, 2863266, 2861700, 2862856, 2861701, 2861702, 2861703, 2861704, 2863654, 2861705, 2861706, 2862776, 2861707, 2863659, 2861708, 2861709, 2861710, 2861711, 2861712, 2863016, 2861713, 2862884, 2861714, 2861715, 2861716, 2864041, 2864040, 2861717, 2863804, 2861718, 2861719, 2861720, 2861721, 2861722, 2861723, 2861724, 2862780, 2861725, 2861726, 2863657, 2861727, 2861728, 2861729, 2861730, 2861731, 2863648, 2862885, 2863658, 2861732, 2863442, 2863810, 2861733, 2861734, 2861735, 2861736, 2861737);
Date: 2023-10-19 17:28:30 Duration: 3m27s
6 10m58s 835 748ms 1s170ms 789ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 19 09 1 762ms 762ms 10 4 3s80ms 770ms 11 53 41s290ms 779ms 12 100 1m19s 792ms 13 125 1m39s 794ms 14 105 1m24s 801ms 15 112 1m28s 786ms 16 63 49s566ms 786ms 17 88 1m8s 783ms 18 73 57s463ms 787ms 19 76 59s848ms 787ms 20 34 26s294ms 773ms 21 1 761ms 761ms -
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 ('%033-04567%')) 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 ('%033-04567%'))) 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 ('%033-04567%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%033-04567%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-10-19 12:40:22 Duration: 1s170ms
-
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 ('%gre-pf5ss%')) 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 ('%gre-pf5ss%'))) 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 ('%gre-pf5ss%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%gre-pf5ss%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-10-19 18:34:13 Duration: 1s96ms
-
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 ('%1/2x16%')) 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 ('%1/2x16%'))) 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 ('%1/2x16%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%1/2x16%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-10-19 14:59:04 Duration: 1s58ms
7 8m41s 1,062 480ms 721ms 491ms select "item_list_line".id from "item_list_line" where ("item_list_line"."product_id" in (...)) order by "item_list_line"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 19 10 1,018 8m18s 489ms 11 4 2s62ms 515ms 13 4 2s125ms 531ms 14 12 6s503ms 541ms 16 4 2s214ms 553ms 17 10 5s50ms 505ms 18 6 2s978ms 496ms 19 2 1s3ms 501ms 20 2 1s33ms 516ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (255119)) ORDER BY "item_list_line"."id";
Date: 2023-10-19 14:07:20 Duration: 721ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (255132)) ORDER BY "item_list_line"."id";
Date: 2023-10-19 16:00:58 Duration: 639ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (254663)) ORDER BY "item_list_line"."id";
Date: 2023-10-19 10:43:07 Duration: 612ms
8 6m44s 652 582ms 854ms 620ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 19 12 128 1m19s 623ms 13 37 23s59ms 623ms 14 48 29s666ms 618ms 15 131 1m20s 616ms 16 140 1m26s 614ms 17 67 42s596ms 635ms 18 18 10s982ms 610ms 19 79 48s840ms 618ms 20 4 2s465ms 616ms -
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 ('%%M70%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%M70-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%M70-%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:40:13 Duration: 854ms
-
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 ('%%hd70036rsd%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hd70036rsd%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%hd70036rsd%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:40:12 Duration: 838ms
-
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 ('%%013004%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%013-004%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%013-004%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 12:24:03 Duration: 813ms
9 6m32s 2,100 175ms 464ms 187ms 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 #9
Day Hour Count Duration Avg duration Oct 19 09 7 1s255ms 179ms 10 9 1s718ms 190ms 11 95 17s187ms 180ms 12 183 34s443ms 188ms 13 118 22s159ms 187ms 14 557 1m44s 187ms 15 571 1m47s 187ms 16 213 40s402ms 189ms 17 81 15s196ms 187ms 18 121 22s271ms 184ms 19 112 20s832ms 186ms 20 29 5s234ms 180ms 21 4 722ms 180ms -
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%g-02096%') OR unaccent (res_partner.display_name) ilike unaccent ('%g-02096%') OR unaccent (res_partner.ref) ilike unaccent ('%g-02096%') OR unaccent (res_partner.vat) ilike unaccent ('g-02096')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%g-02096%') desc, unaccent (res_partner.display_name);
Date: 2023-10-19 16:39:08 Duration: 464ms
-
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 ('%allison%') OR unaccent (res_partner.display_name) ilike unaccent ('%allison%') OR unaccent (res_partner.ref) ilike unaccent ('%allison%') OR unaccent (res_partner.vat) ilike unaccent ('allison')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%allison%') desc, unaccent (res_partner.display_name);
Date: 2023-10-19 14:23:02 Duration: 405ms
-
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 ('%n-01110%') OR unaccent (res_partner.display_name) ilike unaccent ('%n-01110%') OR unaccent (res_partner.ref) ilike unaccent ('%n-01110%') OR unaccent (res_partner.vat) ilike unaccent ('n-01110')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%n-01110%') desc, unaccent (res_partner.display_name);
Date: 2023-10-19 15:23:05 Duration: 359ms
10 6m17s 393 916ms 1s203ms 959ms 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 #10
Day Hour Count Duration Avg duration Oct 19 09 6 5s533ms 922ms 11 60 56s964ms 949ms 12 51 49s301ms 966ms 13 27 26s325ms 975ms 14 27 26s241ms 971ms 15 30 28s858ms 961ms 16 66 1m2s 950ms 19 87 1m24s 966ms 20 39 37s5ms 948ms -
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 ('%38610%') 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 ('%38610%')))))) 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 ('%38610%')))))) 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 ('%38610%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%38610%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%38610%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-19 16:38:06 Duration: 1s203ms
-
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 ('%e-9010-l%') 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 ('%e-9010-l%')))))) 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 ('%e-9010-l%')))))) 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 ('%e-9010-l%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%e-9010-l%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%e-9010-l%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-19 13:03:52 Duration: 1s194ms
-
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 ('%as1141%') 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 ('%as1141%')))))) 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 ('%as1141%')))))) 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 ('%as1141%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%as1141%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%as1141%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-19 14:47:08 Duration: 1s175ms
11 5m59s 642 202ms 2s148ms 559ms 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 #11
Day Hour Count Duration Avg duration Oct 19 09 2 1s152ms 576ms 11 2 955ms 477ms 12 68 37s504ms 551ms 13 94 48s482ms 515ms 14 63 35s740ms 567ms 15 59 35s82ms 594ms 16 103 59s985ms 582ms 17 47 24s969ms 531ms 18 30 19s261ms 642ms 19 98 54s981ms 561ms 20 74 40s173ms 542ms 21 2 901ms 450ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-19 16:29:58', "is_done" = true, "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (632912, 632915, 632918);
Date: 2023-10-19 16:30:01 Duration: 2s148ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-19 19:59:38', "is_done" = true, "state" = 'done', "write_uid" = 1041, "write_date" = (now() at time zone 'UTC') WHERE id IN (580824, 580826);
Date: 2023-10-19 19:59:40 Duration: 1s448ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-19 19:52:28', "is_done" = true, "state" = 'done', "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (636752, 636753);
Date: 2023-10-19 19:52:30 Duration: 1s414ms
12 4m5s 256 903ms 1s175ms 958ms 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 #12
Day Hour Count Duration Avg duration Oct 19 00 2 1s836ms 918ms 09 6 5s478ms 913ms 11 54 51s776ms 958ms 12 26 24s820ms 954ms 13 9 9s63ms 1s7ms 14 24 23s709ms 987ms 15 24 23s97ms 962ms 16 15 14s184ms 945ms 19 43 41s190ms 957ms 20 53 50s200ms 947ms -
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 ('%mv-3%') 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 ('%mv-3%')))))) 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 ('%mv-3%')))))) 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 ('%mv-3%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%mv-3%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%mv-3%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-10-19 13:31:19 Duration: 1s175ms
-
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 ('%as11%') 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 ('%as11%')))))) 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 ('%as11%')))))) 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 ('%as11%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%as11%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%as11%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-10-19 14:47:08 Duration: 1s174ms
-
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 ('%nt110%') 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 ('%nt110%')))))) 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 ('%nt110%')))))) 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 ('%nt110%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%nt110%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%nt110%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-10-19 14:42:31 Duration: 1s162ms
13 4m1s 51 3s801ms 11s813ms 4s745ms delete from sale_order_line where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 19 09 1 3s801ms 3s801ms 11 3 11s715ms 3s905ms 12 3 15s714ms 5s238ms 13 6 23s129ms 3s854ms 14 3 15s833ms 5s277ms 15 7 35s563ms 5s80ms 16 5 19s652ms 3s930ms 17 6 27s463ms 4s577ms 18 7 35s12ms 5s1ms 19 7 34s884ms 4s983ms 20 1 4s11ms 4s11ms 21 1 3s860ms 3s860ms 22 1 11s357ms 11s357ms -
DELETE FROM sale_order_line WHERE id IN (260757, 260773, 260789);
Date: 2023-10-19 18:49:51 Duration: 11s813ms
-
DELETE FROM sale_order_line WHERE id IN (261449, 261450, 261451);
Date: 2023-10-19 22:01:35 Duration: 11s357ms
-
DELETE FROM sale_order_line WHERE id IN (255537, 255538);
Date: 2023-10-19 15:28:23 Duration: 8s122ms
14 3m58s 691 193ms 2s214ms 344ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 19 09 11 5s421ms 492ms 11 11 3s130ms 284ms 12 81 30s792ms 380ms 13 136 47s32ms 345ms 14 124 41s572ms 335ms 15 79 28s745ms 363ms 16 43 13s628ms 316ms 17 64 21s93ms 329ms 18 54 19s35ms 352ms 19 67 21s749ms 324ms 20 19 5s518ms 290ms 21 2 513ms 256ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1223, "write_date" = (now() at time zone 'UTC') WHERE id IN (368326, 368328, 368329, 368330, 368331, 368332, 368333, 368334);
Date: 2023-10-19 12:46:12 Duration: 2s214ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (47081, 365586, 364883);
Date: 2023-10-19 13:00:50 Duration: 1s296ms
-
UPDATE "stock_quant" SET "quantity" = 2.0, "reserved_quantity" = 0.0, "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (347088, 46562);
Date: 2023-10-19 19:52:32 Duration: 1s58ms
15 3m45s 1 3m45s 3m45s 3m45s copy public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 19 09 1 3m45s 3m45s -
COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;
Date: 2023-10-19 09:07:52 Duration: 3m45s
16 3m36s 225 894ms 1s205ms 960ms 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 #16
Day Hour Count Duration Avg duration Oct 19 00 2 1s857ms 928ms 09 6 5s484ms 914ms 11 52 49s928ms 960ms 12 22 21s530ms 978ms 13 8 8s67ms 1s8ms 14 18 17s485ms 971ms 15 21 20s435ms 973ms 16 15 14s552ms 970ms 19 37 35s146ms 949ms 20 44 41s528ms 943ms -
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 ('%6.5-70-18x%') 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 ('%6.5-70-18x%')))))) 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 ('%6.5-70-18x%')))))) 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 ('%6.5-70-18x%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%6.5-70-18x%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%6.5-70-18x%'))));
Date: 2023-10-19 11:43:29 Duration: 1s205ms
-
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 ('%172.2002A%') 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 ('%172.2002A%')))))) 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 ('%172.2002A%')))))) 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 ('%172.2002A%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%172.2002A%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%172.2002A%'))));
Date: 2023-10-19 15:47:52 Duration: 1s159ms
-
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 ('%4000%') 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 ('%4000%')))))) 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 ('%4000%')))))) 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 ('%4000%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%4000%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%4000%'))));
Date: 2023-10-19 12:32:46 Duration: 1s142ms
17 3m15s 1,056 175ms 315ms 185ms select res_partner.id from "res_partner" where (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 19 11 2 375ms 187ms 13 36 6s618ms 183ms 15 8 1s558ms 194ms 16 8 1s456ms 182ms 17 21 3s986ms 189ms 18 113 20s492ms 181ms 19 866 2m40s 185ms 20 2 372ms 186ms -
SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%12774%') OR unaccent (res_partner.display_name) ilike unaccent ('%12774%') OR unaccent (res_partner.ref) ilike unaccent ('%12774%') OR unaccent (res_partner.vat) ilike unaccent ('12774')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%12774%') desc, unaccent (res_partner.display_name);
Date: 2023-10-19 19:23:56 Duration: 315ms
-
SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%5994%') OR unaccent (res_partner.display_name) ilike unaccent ('%5994%') OR unaccent (res_partner.ref) ilike unaccent ('%5994%') OR unaccent (res_partner.vat) ilike unaccent ('5994')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%5994%') desc, unaccent (res_partner.display_name);
Date: 2023-10-19 19:21:01 Duration: 298ms
-
SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%28209%') OR unaccent (res_partner.display_name) ilike unaccent ('%28209%') OR unaccent (res_partner.ref) ilike unaccent ('%28209%') OR unaccent (res_partner.vat) ilike unaccent ('28209')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%28209%') desc, unaccent (res_partner.display_name);
Date: 2023-10-19 19:14:50 Duration: 273ms
18 3m4s 37 1s184ms 21s384ms 4s987ms delete from account_move_line where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 19 06 3 14s142ms 4s714ms 12 4 11s9ms 2s752ms 13 5 15s626ms 3s125ms 14 3 12s43ms 4s14ms 15 5 26s464ms 5s292ms 16 3 19s623ms 6s541ms 17 1 2s382ms 2s382ms 18 3 11s851ms 3s950ms 19 1 1s222ms 1s222ms 23 9 1m10s 7s795ms -
DELETE FROM account_move_line WHERE id IN (3368842, 3368843, 3368844, 3368845, 3368846, 3368847, 3368848, 3368849, 3368850, 3368851, 3368852, 3368853, 3368854, 3368855, 3368856, 3368857, 3415589, 3415590);
Date: 2023-10-19 23:25:03 Duration: 21s384ms
-
DELETE FROM account_move_line WHERE id IN (3180057, 3180058, 3417507, 3417508, 3417509, 3417510, 3417511, 3417512, 3417513, 3417514, 3417515, 3417516, 3417517);
Date: 2023-10-19 23:06:41 Duration: 15s431ms
-
DELETE FROM account_move_line WHERE id IN (3416219, 3416220, 3416221, 3416222, 3416223, 3416224, 3416225, 3416226, 3416227, 3416228, 3416229);
Date: 2023-10-19 16:29:17 Duration: 13s184ms
19 3m3s 1,274 120ms 831ms 143ms 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 #19
Day Hour Count Duration Avg duration Oct 19 00 2 275ms 137ms 03 1 121ms 121ms 09 1 134ms 134ms 10 6 813ms 135ms 11 72 10s428ms 144ms 12 162 23s184ms 143ms 13 205 29s720ms 144ms 14 153 21s740ms 142ms 15 159 22s889ms 143ms 16 100 13s970ms 139ms 17 145 21s367ms 147ms 18 78 11s412ms 146ms 19 126 18s471ms 146ms 20 51 7s187ms 140ms 21 5 661ms 132ms 22 7 917ms 131ms 23 1 131ms 131ms -
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (190902))) AND ("sale_report"."date" >= '2022-10-19 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2023-10-19 17:10:12 Duration: 831ms
-
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 (204691))) AND ("sale_report"."date" >= '2022-10-19 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2023-10-19 13:56:51 Duration: 538ms
-
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 (206699))) AND ("sale_report"."date" >= '2022-10-19 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2023-10-19 19:36:15 Duration: 486ms
20 2m59s 152 1s107ms 1s375ms 1s183ms select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 19 13 10 11s706ms 1s170ms 14 25 30s61ms 1s202ms 15 8 9s768ms 1s221ms 16 5 6s231ms 1s246ms 17 15 18s302ms 1s220ms 18 22 25s804ms 1s172ms 19 45 53s83ms 1s179ms 20 9 10s190ms 1s132ms 21 13 14s748ms 1s134ms -
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-10-19 14:04:07 Duration: 1s375ms
-
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-10-19 19:25:38 Duration: 1s321ms
-
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-10-19 14:04:08 Duration: 1s318ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 4,673 21m14s 120ms 771ms 272ms 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 Oct 19 00 14 2s459ms 175ms 01 6 1s61ms 176ms 02 13 2s479ms 190ms 03 11 2s163ms 196ms 04 8 1s551ms 193ms 05 6 1s115ms 185ms 06 11 2s14ms 183ms 07 8 1s337ms 167ms 08 23 4s96ms 178ms 09 19 3s753ms 197ms 10 19 3s526ms 185ms 11 159 35s586ms 223ms 12 244 1m8s 280ms 13 559 2m16s 244ms 14 721 2m56s 244ms 15 642 3m24s 318ms 16 419 2m16s 325ms 17 686 3m39s 319ms 18 549 2m19s 254ms 19 274 1m11s 262ms 20 216 48s181ms 223ms 21 29 5s255ms 181ms 22 15 2s780ms 185ms 23 22 3s975ms 180ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-10-19 16:48:20') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_972"', '["pointspring_master","calendar.alarm",19510]', '["pointspring_master","mail.channel",84]', '["pointspring_master","mail.channel",85]', '["pointspring_master","mail.channel",86]', '["pointspring_master","mail.channel",87]', '["pointspring_master","mail.channel",531]', '["pointspring_master","res.partner",19510]', '["pointspring_master","ir.needaction",19510]'))) ORDER BY "bus_bus"."id";
Date: 2023-10-19 16:49:11 Duration: 771ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-10-19 16:48:20') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1013"', '["pointspring_master","calendar.alarm",19551]', '["pointspring_master","mail.channel",94]', '["pointspring_master","mail.channel",95]', '["pointspring_master","mail.channel",96]', '["pointspring_master","mail.channel",97]', '["pointspring_master","mail.channel",98]', '["pointspring_master","mail.channel",338]', '["pointspring_master","res.partner",19551]', '["pointspring_master","ir.needaction",19551]'))) ORDER BY "bus_bus"."id";
Date: 2023-10-19 16:49:11 Duration: 745ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2023-10-19 15:39:29') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1017"', '["pointspring_master","calendar.alarm",19555]', '["pointspring_master","mail.channel",36]', '["pointspring_master","mail.channel",41]', '["pointspring_master","mail.channel",42]', '["pointspring_master","mail.channel",503]', '["pointspring_master","mail.channel",515]', '["pointspring_master","mail.channel",563]', '["pointspring_master","res.partner",19555]', '["pointspring_master","ir.needaction",19555]'))) ORDER BY "bus_bus"."id";
Date: 2023-10-19 15:40:20 Duration: 741ms
2 3,505 36m37s 576ms 1s305ms 626ms 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 #2
Day Hour Count Duration Avg duration Oct 19 00 6 3s641ms 606ms 03 40 23s856ms 596ms 09 69 41s471ms 601ms 10 52 31s830ms 612ms 11 288 2m57s 617ms 12 470 4m57s 632ms 13 514 5m21s 626ms 14 355 3m43s 629ms 15 423 4m26s 629ms 16 234 2m26s 627ms 17 428 4m33s 639ms 18 329 3m24s 620ms 19 189 1m59s 633ms 20 48 29s728ms 619ms 21 54 32s377ms 599ms 22 6 3s564ms 594ms -
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 ('%%24x3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%24x3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%24x3%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:29:19 Duration: 1s305ms
-
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 ('%%24x30%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%24x30%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%24x30%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:29:19 Duration: 1s254ms
-
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 ('%%rg040%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%rg040%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%rg040%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:03:57 Duration: 1s21ms
3 2,994 14m4s 267ms 556ms 282ms select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 19 00 9 2s540ms 282ms 02 2 539ms 269ms 03 1 270ms 270ms 07 6 1s638ms 273ms 08 11 3s13ms 273ms 09 4 1s89ms 272ms 10 5 1s495ms 299ms 11 189 52s746ms 279ms 12 407 1m54s 281ms 13 416 1m57s 282ms 14 437 2m4s 284ms 15 318 1m30s 283ms 16 227 1m3s 280ms 17 227 1m3s 281ms 18 160 44s417ms 277ms 19 381 1m48s 285ms 20 187 51s779ms 276ms 21 3 805ms 268ms 22 4 1s91ms 272ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-9ded8a0/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-19 19:36:14 Duration: 556ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-9ded8a0/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-19 14:57:59 Duration: 455ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.report_assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5826980/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-19 12:30:40 Duration: 442ms
4 2,100 6m32s 175ms 464ms 187ms select res_partner.id from "res_partner" where ("res_partner"."active" = true) and (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 19 09 7 1s255ms 179ms 10 9 1s718ms 190ms 11 95 17s187ms 180ms 12 183 34s443ms 188ms 13 118 22s159ms 187ms 14 557 1m44s 187ms 15 571 1m47s 187ms 16 213 40s402ms 189ms 17 81 15s196ms 187ms 18 121 22s271ms 184ms 19 112 20s832ms 186ms 20 29 5s234ms 180ms 21 4 722ms 180ms -
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%g-02096%') OR unaccent (res_partner.display_name) ilike unaccent ('%g-02096%') OR unaccent (res_partner.ref) ilike unaccent ('%g-02096%') OR unaccent (res_partner.vat) ilike unaccent ('g-02096')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%g-02096%') desc, unaccent (res_partner.display_name);
Date: 2023-10-19 16:39:08 Duration: 464ms
-
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 ('%allison%') OR unaccent (res_partner.display_name) ilike unaccent ('%allison%') OR unaccent (res_partner.ref) ilike unaccent ('%allison%') OR unaccent (res_partner.vat) ilike unaccent ('allison')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%allison%') desc, unaccent (res_partner.display_name);
Date: 2023-10-19 14:23:02 Duration: 405ms
-
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 ('%n-01110%') OR unaccent (res_partner.display_name) ilike unaccent ('%n-01110%') OR unaccent (res_partner.ref) ilike unaccent ('%n-01110%') OR unaccent (res_partner.vat) ilike unaccent ('n-01110')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%n-01110%') desc, unaccent (res_partner.display_name);
Date: 2023-10-19 15:23:05 Duration: 359ms
5 1,274 3m3s 120ms 831ms 143ms select min("sale_report".id) as id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" AS "product_id" from "sale_report" left join "product_product" AS "sale_report__product_id" on ("sale_report"."product_id" = "sale_report__product_id"."id") left join "product_template" AS "sale_report__product_id__product_tmpl_id" on ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") left join "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" on ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" and "sale_report__product_id__product_tmpl_id__name"."type" = ? and "sale_report__product_id__product_tmpl_id__name"."name" = ? and "sale_report__product_id__product_tmpl_id__name"."lang" = ? and "sale_report__product_id__product_tmpl_id__name"."value" != ?) where ((("sale_report"."state" in (...)) and ("sale_report"."product_id" in (...))) and ("sale_report"."date" >= ?)) and ("sale_report"."company_id" is null or ("sale_report"."company_id" in (...))) group by "sale_report"."product_id", "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" order by "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 19 00 2 275ms 137ms 03 1 121ms 121ms 09 1 134ms 134ms 10 6 813ms 135ms 11 72 10s428ms 144ms 12 162 23s184ms 143ms 13 205 29s720ms 144ms 14 153 21s740ms 142ms 15 159 22s889ms 143ms 16 100 13s970ms 139ms 17 145 21s367ms 147ms 18 78 11s412ms 146ms 19 126 18s471ms 146ms 20 51 7s187ms 140ms 21 5 661ms 132ms 22 7 917ms 131ms 23 1 131ms 131ms -
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (190902))) AND ("sale_report"."date" >= '2022-10-19 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2023-10-19 17:10:12 Duration: 831ms
-
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 (204691))) AND ("sale_report"."date" >= '2022-10-19 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2023-10-19 13:56:51 Duration: 538ms
-
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 (206699))) AND ("sale_report"."date" >= '2022-10-19 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2023-10-19 19:36:15 Duration: 486ms
6 1,256 13m8s 575ms 977ms 627ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 19 11 9 5s415ms 601ms 12 58 36s418ms 627ms 13 171 1m49s 637ms 14 87 54s298ms 624ms 15 97 1m 626ms 16 257 2m38s 618ms 17 258 2m45s 643ms 18 99 1m1s 618ms 19 131 1m21s 624ms 20 89 54s406ms 611ms -
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 ('%%n634%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%n6.3-4%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%n6.3-4%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:40:13 Duration: 977ms
-
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 ('%%34%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%3/4%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%3/4%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 16:57:23 Duration: 920ms
-
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 ('%%N250701%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%N250-70-1%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%N250-70-1%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:37:07 Duration: 881ms
7 1,062 8m41s 480ms 721ms 491ms select "item_list_line".id from "item_list_line" where ("item_list_line"."product_id" in (...)) order by "item_list_line"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 19 10 1,018 8m18s 489ms 11 4 2s62ms 515ms 13 4 2s125ms 531ms 14 12 6s503ms 541ms 16 4 2s214ms 553ms 17 10 5s50ms 505ms 18 6 2s978ms 496ms 19 2 1s3ms 501ms 20 2 1s33ms 516ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (255119)) ORDER BY "item_list_line"."id";
Date: 2023-10-19 14:07:20 Duration: 721ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (255132)) ORDER BY "item_list_line"."id";
Date: 2023-10-19 16:00:58 Duration: 639ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (254663)) ORDER BY "item_list_line"."id";
Date: 2023-10-19 10:43:07 Duration: 612ms
8 1,056 3m15s 175ms 315ms 185ms select res_partner.id from "res_partner" where (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 19 11 2 375ms 187ms 13 36 6s618ms 183ms 15 8 1s558ms 194ms 16 8 1s456ms 182ms 17 21 3s986ms 189ms 18 113 20s492ms 181ms 19 866 2m40s 185ms 20 2 372ms 186ms -
SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%12774%') OR unaccent (res_partner.display_name) ilike unaccent ('%12774%') OR unaccent (res_partner.ref) ilike unaccent ('%12774%') OR unaccent (res_partner.vat) ilike unaccent ('12774')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%12774%') desc, unaccent (res_partner.display_name);
Date: 2023-10-19 19:23:56 Duration: 315ms
-
SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%5994%') OR unaccent (res_partner.display_name) ilike unaccent ('%5994%') OR unaccent (res_partner.ref) ilike unaccent ('%5994%') OR unaccent (res_partner.vat) ilike unaccent ('5994')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%5994%') desc, unaccent (res_partner.display_name);
Date: 2023-10-19 19:21:01 Duration: 298ms
-
SELECT res_partner.id FROM "res_partner" WHERE (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%28209%') OR unaccent (res_partner.display_name) ilike unaccent ('%28209%') OR unaccent (res_partner.ref) ilike unaccent ('%28209%') OR unaccent (res_partner.vat) ilike unaccent ('28209')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%28209%') desc, unaccent (res_partner.display_name);
Date: 2023-10-19 19:14:50 Duration: 273ms
9 842 2m43s 164ms 841ms 194ms update "sale_order_line" set "invoice_status" = ?, "open_qty_fil" = ?.?, "qty_delivered" = ?, "qty_to_invoice" = ?, "untaxed_amount_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 19 00 1 365ms 365ms 09 22 4s129ms 187ms 11 13 2s957ms 227ms 12 106 20s210ms 190ms 13 165 31s107ms 188ms 14 141 27s109ms 192ms 15 98 20s137ms 205ms 16 69 14s98ms 204ms 17 61 11s546ms 189ms 18 56 11s212ms 200ms 19 82 15s470ms 188ms 20 26 4s891ms 188ms 21 2 360ms 180ms -
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 5.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1016, "write_date" = (now() at time zone 'UTC') WHERE id IN (255167, 255181, 255166, 255183);
Date: 2023-10-19 15:06:12 Duration: 841ms
-
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" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (250873, 250866, 236595, 250871);
Date: 2023-10-19 11:37:35 Duration: 733ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 25.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 977, "write_date" = (now() at time zone 'UTC') WHERE id IN (258312, 258313, 258311);
Date: 2023-10-19 14:39:30 Duration: 519ms
10 835 10m58s 748ms 1s170ms 789ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 19 09 1 762ms 762ms 10 4 3s80ms 770ms 11 53 41s290ms 779ms 12 100 1m19s 792ms 13 125 1m39s 794ms 14 105 1m24s 801ms 15 112 1m28s 786ms 16 63 49s566ms 786ms 17 88 1m8s 783ms 18 73 57s463ms 787ms 19 76 59s848ms 787ms 20 34 26s294ms 773ms 21 1 761ms 761ms -
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 ('%033-04567%')) 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 ('%033-04567%'))) 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 ('%033-04567%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%033-04567%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-10-19 12:40:22 Duration: 1s170ms
-
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 ('%gre-pf5ss%')) 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 ('%gre-pf5ss%'))) 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 ('%gre-pf5ss%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%gre-pf5ss%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-10-19 18:34:13 Duration: 1s96ms
-
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 ('%1/2x16%')) 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 ('%1/2x16%'))) 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 ('%1/2x16%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%1/2x16%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-10-19 14:59:04 Duration: 1s58ms
11 780 2m29s 164ms 585ms 191ms update "sale_order_line" set "invoice_status" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "untaxed_amount_invoiced" = ?, "untaxed_amount_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 19 09 21 4s5ms 190ms 11 9 1s883ms 209ms 12 104 20s47ms 192ms 13 148 28s65ms 189ms 14 138 26s27ms 188ms 15 82 15s915ms 194ms 16 63 12s100ms 192ms 17 55 10s684ms 194ms 18 43 8s198ms 190ms 19 87 16s532ms 190ms 20 28 5s221ms 186ms 21 2 375ms 187ms -
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '-2.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '-44.22', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1015, "write_date" = (now() at time zone 'UTC') WHERE id IN (261121, 261118, 261119);
Date: 2023-10-19 16:29:29 Duration: 585ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '37.98', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1223, "write_date" = (now() at time zone 'UTC') WHERE id IN (255352, 255353);
Date: 2023-10-19 12:47:43 Duration: 390ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '30.18', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 994, "write_date" = (now() at time zone 'UTC') WHERE id IN (260704, 260703);
Date: 2023-10-19 13:31:45 Duration: 382ms
12 691 3m58s 193ms 2s214ms 344ms update "stock_quant" set "quantity" = ?.?, "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 Oct 19 09 11 5s421ms 492ms 11 11 3s130ms 284ms 12 81 30s792ms 380ms 13 136 47s32ms 345ms 14 124 41s572ms 335ms 15 79 28s745ms 363ms 16 43 13s628ms 316ms 17 64 21s93ms 329ms 18 54 19s35ms 352ms 19 67 21s749ms 324ms 20 19 5s518ms 290ms 21 2 513ms 256ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1223, "write_date" = (now() at time zone 'UTC') WHERE id IN (368326, 368328, 368329, 368330, 368331, 368332, 368333, 368334);
Date: 2023-10-19 12:46:12 Duration: 2s214ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (47081, 365586, 364883);
Date: 2023-10-19 13:00:50 Duration: 1s296ms
-
UPDATE "stock_quant" SET "quantity" = 2.0, "reserved_quantity" = 0.0, "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (347088, 46562);
Date: 2023-10-19 19:52:32 Duration: 1s58ms
13 652 6m44s 582ms 854ms 620ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 19 12 128 1m19s 623ms 13 37 23s59ms 623ms 14 48 29s666ms 618ms 15 131 1m20s 616ms 16 140 1m26s 614ms 17 67 42s596ms 635ms 18 18 10s982ms 610ms 19 79 48s840ms 618ms 20 4 2s465ms 616ms -
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 ('%%M70%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%M70-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%M70-%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:40:13 Duration: 854ms
-
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 ('%%hd70036rsd%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hd70036rsd%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%hd70036rsd%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:40:12 Duration: 838ms
-
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 ('%%013004%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%013-004%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%013-004%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 12:24:03 Duration: 813ms
14 642 5m59s 202ms 2s148ms 559ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 19 09 2 1s152ms 576ms 11 2 955ms 477ms 12 68 37s504ms 551ms 13 94 48s482ms 515ms 14 63 35s740ms 567ms 15 59 35s82ms 594ms 16 103 59s985ms 582ms 17 47 24s969ms 531ms 18 30 19s261ms 642ms 19 98 54s981ms 561ms 20 74 40s173ms 542ms 21 2 901ms 450ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-19 16:29:58', "is_done" = true, "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (632912, 632915, 632918);
Date: 2023-10-19 16:30:01 Duration: 2s148ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-19 19:59:38', "is_done" = true, "state" = 'done', "write_uid" = 1041, "write_date" = (now() at time zone 'UTC') WHERE id IN (580824, 580826);
Date: 2023-10-19 19:59:40 Duration: 1s448ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-19 19:52:28', "is_done" = true, "state" = 'done', "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (636752, 636753);
Date: 2023-10-19 19:52:30 Duration: 1s414ms
15 552 1m46s 166ms 371ms 192ms update "sale_order_line" set "branch_id" = ?, "currency_id" = ?, "cus_date_order" = ?, "cus_part_route" = ?, "cus_user_id" = ?, "inventory_vendor_id" = ?, "is_service" = false, "margin" = ?, "margin_percent" = ?.?, "order_partner_id" = ?, "price_reduce" = ?, "price_reduce_taxexcl" = ?, "price_reduce_taxinc" = ?, "price_subtotal" = ?, "price_tax" = ?.?, "price_total" = ?, "purchase_price" = ?, "qty_delivered_method" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "salesman_id" = ?, "untaxed_amount_invoiced" = ?, "untaxed_amount_to_invoice" = ?, "warehouse_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 19 00 3 567ms 189ms 10 12 2s317ms 193ms 11 41 7s872ms 192ms 12 72 13s945ms 193ms 13 76 14s417ms 189ms 14 58 11s241ms 193ms 15 55 10s545ms 191ms 16 53 10s47ms 189ms 17 57 11s399ms 199ms 18 58 11s253ms 194ms 19 40 7s564ms 189ms 20 9 1s659ms 184ms 21 15 2s858ms 190ms 22 3 567ms 189ms -
UPDATE "sale_order_line" SET "branch_id" = 46, "currency_id" = 2, "cus_date_order" = '2023-10-19 17:07:07', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = 3043, "is_service" = false, "margin" = '519.99', "margin_percent" = 0.4399983076662718, "order_partner_id" = 34094, "price_reduce" = '1181.80', "price_reduce_taxexcl" = '1181.80', "price_reduce_taxinc" = '1252.71', "price_subtotal" = '1181.80', "price_tax" = 70.91, "price_total" = '1252.71', "purchase_price" = '661.81', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 985, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 43, "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (261177);
Date: 2023-10-19 17:07:52 Duration: 371ms
-
UPDATE "sale_order_line" SET "branch_id" = 48, "currency_id" = 2, "cus_date_order" = '2023-10-19 18:44:36', "cus_part_route" = NULL, "cus_user_id" = 965, "inventory_vendor_id" = 2987, "is_service" = false, "margin" = '12.16', "margin_percent" = 0.40997977073499664, "order_partner_id" = 46209, "price_reduce" = '29.66', "price_reduce_taxexcl" = '29.66', "price_reduce_taxinc" = '29.66', "price_subtotal" = '29.66', "price_tax" = 0.0, "price_total" = '29.66', "purchase_price" = '17.50', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 965, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 45, "write_uid" = 979, "write_date" = (now() at time zone 'UTC') WHERE id IN (261330);
Date: 2023-10-19 18:45:10 Duration: 296ms
-
UPDATE "sale_order_line" SET "branch_id" = 46, "currency_id" = 2, "cus_date_order" = '2023-10-19 17:07:07', "cus_part_route" = NULL, "cus_user_id" = 985, "inventory_vendor_id" = 3042, "is_service" = false, "margin" = '2.96', "margin_percent" = 0.5068493150684932, "order_partner_id" = 34094, "price_reduce" = '1.46', "price_reduce_taxexcl" = '1.46', "price_reduce_taxinc" = '1.55', "price_subtotal" = '5.84', "price_tax" = 0.35000000000000003, "price_total" = '6.19', "purchase_price" = '0.72', "qty_delivered_method" = 'stock_move', "qty_invoiced" = '0.00', "qty_to_invoice" = '0.00', "salesman_id" = 985, "untaxed_amount_invoiced" = '0.00', "untaxed_amount_to_invoice" = '0.00', "warehouse_id" = 43, "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (261181);
Date: 2023-10-19 17:11:46 Duration: 274ms
16 434 2m48s 122ms 3s856ms 387ms update "stock_quant" set "quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 19 00 2 520ms 260ms 09 2 1s14ms 507ms 11 3 1s96ms 365ms 12 30 10s75ms 335ms 13 48 14s481ms 301ms 14 62 20s690ms 333ms 15 35 12s377ms 353ms 16 73 30s573ms 418ms 17 24 8s937ms 372ms 18 21 15s586ms 742ms 19 81 32s458ms 400ms 20 53 20s486ms 386ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (25095, 25096, 315153, 29329, 29330, 315155, 276127, 324643, 324644, 314929, 210102, 256701, 160592, 29269, 210646, 29270, 368602, 27508, 27510, 27514);
Date: 2023-10-19 18:25:42 Duration: 3s856ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (368807, 368808, 368809, 368810, 368811, 368812, 368813, 368814, 368815, 368816, 368817, 368818, 368819, 368820, 368821, 368822, 368823, 368824, 368825, 368826, 368827);
Date: 2023-10-19 16:01:48 Duration: 3s457ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (368576, 243809, 45730, 368577, 25220, 274536, 31377, 170203, 311199);
Date: 2023-10-19 18:30:18 Duration: 2s348ms
17 424 2m52s 120ms 3s430ms 407ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 19 09 1 1s128ms 1s128ms 10 2 587ms 293ms 11 17 7s462ms 438ms 12 47 15s383ms 327ms 13 56 23s127ms 412ms 14 46 16s737ms 363ms 15 35 14s142ms 404ms 16 31 8s926ms 287ms 17 63 34s179ms 542ms 18 44 21s186ms 481ms 19 59 20s617ms 349ms 20 22 8s374ms 380ms 22 1 947ms 947ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (636591, 636592, 636593, 636594, 636595, 636596, 636597, 636598, 636601, 636602, 636603, 636605, 636606);
Date: 2023-10-19 19:21:53 Duration: 3s430ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (636110, 636111, 636112, 636113, 636114, 636115, 636116, 636117);
Date: 2023-10-19 17:14:19 Duration: 2s838ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (635480, 635501, 635503, 635504, 635505, 635506, 635509, 635510, 635479, 635512, 635481);
Date: 2023-10-19 13:52:34 Duration: 2s759ms
18 393 6m17s 916ms 1s203ms 959ms 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 #18
Day Hour Count Duration Avg duration Oct 19 09 6 5s533ms 922ms 11 60 56s964ms 949ms 12 51 49s301ms 966ms 13 27 26s325ms 975ms 14 27 26s241ms 971ms 15 30 28s858ms 961ms 16 66 1m2s 950ms 19 87 1m24s 966ms 20 39 37s5ms 948ms -
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 ('%38610%') 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 ('%38610%')))))) 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 ('%38610%')))))) 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 ('%38610%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%38610%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%38610%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-19 16:38:06 Duration: 1s203ms
-
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 ('%e-9010-l%') 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 ('%e-9010-l%')))))) 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 ('%e-9010-l%')))))) 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 ('%e-9010-l%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%e-9010-l%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%e-9010-l%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-19 13:03:52 Duration: 1s194ms
-
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 ('%as1141%') 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 ('%as1141%')))))) 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 ('%as1141%')))))) 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 ('%as1141%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%as1141%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%as1141%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-19 14:47:08 Duration: 1s175ms
19 338 2m25s 164ms 3s47ms 429ms update "sale_order_line" set "qty_delivered_method" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 19 09 3 3s960ms 1s320ms 11 8 2s523ms 315ms 12 65 22s910ms 352ms 13 54 26s987ms 499ms 14 48 20s318ms 423ms 15 32 14s999ms 468ms 16 25 9s963ms 398ms 17 23 11s426ms 496ms 18 23 7s166ms 311ms 19 41 16s118ms 393ms 20 13 6s568ms 505ms 21 2 393ms 196ms 22 1 1s783ms 1s783ms -
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (260460, 260461, 260462, 260463, 260464, 260465, 260466, 260467, 260468, 260469, 260470, 260471, 260473, 260474, 260475, 260476, 260478);
Date: 2023-10-19 09:36:02 Duration: 3s47ms
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "state" = 'done', "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (198368, 198369, 198371, 198372, 198947, 198374, 198375, 198378, 198361, 198362, 198364, 198365, 198366, 198367);
Date: 2023-10-19 13:56:20 Duration: 2s662ms
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (224640, 224642, 224624, 224626, 224628, 224632, 224636, 224637, 224638, 224639);
Date: 2023-10-19 17:33:31 Duration: 1s985ms
20 336 1m39s 182ms 571ms 295ms select id from product_warehouse_inventory where coalesce(loc_check_qty, ?) < coalesce(max_product_uom_qty, ?);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 19 12 18 3s454ms 191ms 17 309 1m34s 304ms 19 9 1s757ms 195ms -
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2023-10-19 17:11:47 Duration: 571ms
-
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2023-10-19 17:11:48 Duration: 535ms
-
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2023-10-19 17:11:47 Duration: 532ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 3m45s 3m45s 3m45s 1 3m45s copy public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 19 09 1 3m45s 3m45s -
COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;
Date: 2023-10-19 09:07:52 Duration: 3m45s
2 647ms 3m29s 1m59s 6 11m58s delete from stock_inventory_line where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 19 17 5 11m57s 2m23s 18 1 647ms 647ms -
DELETE FROM stock_inventory_line WHERE id IN (2863448, 2864195, 2860845, 2860846, 2860847, 2860848, 2862637, 2863944, 2863627, 2863816, 2863833, 2863370, 2863202, 2863541, 2860849, 2860850, 2860851, 2863980, 2863722, 2862502, 2862994, 2860852, 2860853, 2863076, 2863075, 2863307, 2863308, 2864123, 2864124, 2860854, 2863137, 2863171, 2863378, 2862532, 2863846, 2862583, 2860855, 2862559, 2860856, 2864125, 2862685, 2863312, 2863921, 2860857, 2860858, 2860859, 2864196, 2860860, 2862909, 2860861, 2863913, 2862455, 2862872, 2860862, 2863872, 2864245, 2863147, 2863494, 2860863, 2862964, 2860864, 2863467, 2860865, 2860866, 2860867, 2860868, 2863155, 2863080, 2860869, 2860870, 2862867, 2860871, 2860872, 2860873, 2862541, 2860874, 2860875, 2860876, 2860877, 2863070, 2860878, 2860879, 2863253, 2863337, 2862557, 2860880, 2860881, 2860882, 2860883, 2860884, 2860885, 2860886, 2863901, 2860887, 2860888, 2860889, 2860890, 2860891, 2860892, 2860893, 2860894, 2860895, 2860896, 2860897, 2863198, 2860898, 2863071, 2862474, 2860899, 2860900, 2860901, 2860902, 2862863, 2860903, 2863201, 2860904, 2863225, 2860905, 2860906, 2860907, 2864016, 2862369, 2862709, 2860908, 2860909, 2860910, 2860911, 2863904, 2860912, 2863855, 2863435, 2860913, 2860914, 2860915, 2860916, 2860917, 2864001, 2860918, 2862392, 2862823, 2860919, 2863140, 2863236, 2862534, 2864035, 2862705, 2863776, 2863229, 2863288, 2862419, 2862531, 2863334, 2863920, 2860920, 2860921, 2862389, 2860922, 2860923, 2860924, 2860925, 2860926, 2862706, 2863536, 2860927, 2862379, 2860928, 2864248, 2863738, 2864197, 2860929, 2864242, 2863210, 2864096, 2862756, 2860930, 2864079, 2863884, 2864243, 2860931, 2864246, 2860932, 2862786, 2860933, 2864198, 2864199, 2862374, 2864056, 2860934, 2860935, 2860936, 2860937, 2863141, 2860938, 2863346, 2860939, 2860940, 2862741, 2863608, 2863142, 2860941, 2860942, 2860943, 2860944, 2860945, 2860946, 2863196, 2860947, 2860948, 2860949, 2860950, 2860951, 2860952, 2860953, 2860954, 2860955, 2863854, 2860956, 2860957, 2862661, 2863170, 2863143, 2860958, 2863123, 2863227, 2860959, 2864104, 2860960, 2862409, 2860961, 2863542, 2862947, 2863223, 2862914, 2863349, 2862475, 2863403, 2860962, 2864158, 2860963, 2863932, 2863242, 2860964, 2860965, 2860966, 2860967, 2862581, 2860968, 2863200, 2864200, 2864201, 2864202, 2864121, 2863040, 2863086, 2862721, 2862591, 2860969, 2863357, 2863857, 2860970, 2863365, 2860971, 2863144, 2860972, 2860973, 2860974, 2863910, 2863858, 2860975, 2860976, 2860977, 2860978, 2860979, 2862797, 2860980, 2863399, 2863400, 2860981, 2862560, 2860982, 2860983, 2860984, 2863360, 2864203, 2860985, 2862957, 2860986, 2860987, 2862477, 2860988, 2862930, 2860989, 2863951, 2860990, 2860991, 2863405, 2863259, 2860992, 2860993, 2860994, 2862828, 2862829, 2860995, 2862668, 2863012, 2860996, 2862680, 2860997, 2863319, 2862662, 2863111, 2860998, 2862522, 2860999, 2861000, 2861001, 2861002, 2863302, 2863843, 2862615, 2863473, 2863598, 2864154, 2862826, 2861003, 2861004, 2864022, 2864029, 2861005, 2864092, 2863330, 2861006, 2863394, 2863568, 2863401, 2862926, 2863597, 2862577, 2863709, 2862441, 2861007, 2862337, 2862798, 2863838, 2863054, 2861008, 2861009, 2861010, 2861011, 2862888, 2863118, 2862743, 2862736, 2862759, 2861012, 2863233, 2861013, 2862587, 2863520, 2864080, 2864103, 2863034, 2863802, 2862737, 2861014, 2864186, 2861015, 2863096, 2863044, 2863010, 2863354, 2863546, 2861016, 2863194, 2863003, 2863891, 2862570, 2863531, 2863954, 2861017, 2861018, 2863004, 2861019, 2862552, 2863600, 2861020, 2861021, 2863108, 2861022, 2863180, 2861023, 2863724, 2862595, 2861024, 2863191, 2863084, 2863083, 2862942, 2861025, 2861026, 2861027, 2863720, 2861028, 2861029, 2861030, 2861031, 2863633, 2863578, 2863632, 2863112, 2862649, 2864147, 2861032, 2861033, 2862361, 2863538, 2861034, 2862667, 2861035, 2861036, 2861037, 2862574, 2861038, 2863073, 2863072, 2861039, 2861040, 2861041, 2863035, 2861042, 2861043, 2862425, 2863637, 2862579, 2864068, 2863636, 2861044, 2861045, 2862916, 2861046, 2861047, 2862483, 2861048, 2863407, 2862833, 2862832, 2862830, 2863661, 2864044, 2863046, 2863146, 2861049, 2862700, 2863755, 2863023, 2861050, 2864175, 2864034, 2861051, 2861052, 2861053, 2862937, 2862400, 2861054, 2861055, 2861056, 2861057, 2861058, 2861059, 2861060, 2861061, 2861062, 2863031, 2864172, 2863981, 2862639, 2862427, 2863005, 2862492, 2861063, 2862543, 2862701, 2861064, 2862518, 2862544, 2861065, 2864009, 2861066, 2861067, 2861068, 2863769, 2863737, 2861069, 2861070, 2862498, 2862550, 2862699, 2861071, 2863097, 2861072, 2864023, 2861073, 2863100, 2863475, 2861074, 2863336, 2862643, 2862619, 2861075, 2862521, 2863784, 2863342, 2861076, 2862893, 2861077, 2861078, 2863358, 2863984, 2863635, 2861079, 2862565, 2864003, 2863595, 2861080, 2861081, 2863310, 2862997, 2861082, 2861083, 2862996, 2861084, 2863919, 2861085, 2863292, 2862772, 2861086, 2862495, 2861087, 2861088, 2861089, 2861090, 2861091, 2863257, 2861092, 2863763, 2861093, 2863875, 2861094, 2861095, 2863876, 2863673, 2862671, 2862946, 2862640, 2862811, 2862445, 2861096, 2862642, 2861097, 2861098, 2863247, 2863041, 2861099, 2861100, 2861101, 2863982, 2861102, 2862620, 2861103, 2863332, 2861104, 2863042, 2862429, 2863272, 2861105, 2863178, 2863246, 2864204, 2863518, 2861106, 2862985, 2863391, 2861107, 2863053, 2861108, 2863283, 2862605, 2863643, 2863284, 2863736, 2861109, 2861110, 2863221, 2863009, 2861111, 2862391, 2861112, 2862687, 2863406, 2863486, 2861113, 2863408, 2862895, 2863149, 2863068, 2863713, 2863819, 2862805, 2862975, 2863861, 2863749, 2864167, 2863748, 2861114, 2862787, 2862651, 2861115, 2861116, 2861117, 2861118, 2861119, 2863679, 2863564, 2861120, 2863024, 2861121, 2861122, 2861123, 2861124, 2861125, 2863081, 2861126, 2863558, 2861127, 2861128, 2863619, 2861129, 2861130, 2863607, 2863482, 2863026, 2863630, 2861131, 2861132, 2861133, 2861134, 2861135, 2861136, 2861137, 2863956, 2863280, 2861138, 2861139, 2861140, 2861141, 2863589, 2864055, 2863522, 2863491, 2864205, 2863105, 2861142, 2861143, 2862598, 2862572, 2862655, 2863234, 2861144, 2861145, 2862905, 2862648, 2863404, 2862622, 2864059, 2861146, 2864060, 2861147, 2862730, 2861148, 2861149, 2862464, 2861150, 2861151, 2864149, 2861152, 2864091, 2863881, 2863043, 2863696, 2863631, 2861153, 2863047, 2862428, 2863350, 2862965, 2861154, 2863311, 2863067, 2862459, 2863852, 2863851, 2862368, 2861155, 2863186, 2861156, 2863074, 2862652, 2863899, 2861157, 2861158, 2861159, 2861160, 2861161, 2861162, 2861163, 2861164, 2864135, 2864134, 2864136, 2861165, 2862698, 2862944, 2863098, 2863117, 2863513, 2861166, 2861167, 2862841, 2862702, 2861168, 2862468, 2863511, 2863525, 2864051, 2864052, 2862682, 2862746, 2863699, 2862686, 2861169, 2862594, 2862716, 2861170, 2862424, 2861171, 2864038, 2863255, 2864024, 2863217, 2863931, 2861172, 2864062, 2863826, 2863134, 2863298, 2864054, 2863924, 2862747, 2862695, 2863581, 2863523, 2863187, 2861173, 2863189, 2863278, 2863341, 2861174, 2861175, 2861176, 2861177, 2861178, 2863172, 2861179, 2861180, 2861181, 2861182, 2862749, 2861183, 2861184, 2862744, 2863936, 2864178, 2863680, 2861185, 2862899, 2862799, 2863978, 2861186, 2863817, 2863864, 2861187, 2863725, 2864046, 2863675, 2863519, 2862907, 2862634, 2863950, 2861188, 2863874, 2863732, 2863324, 2863689, 2861189, 2863827, 2863687, 2864139, 2861190, 2862394, 2862607, 2861191, 2861192, 2861193, 2863972, 2862630, 2863477, 2863107, 2863021, 2861194, 2861195, 2863798, 2863431, 2861196, 2863454, 2863173, 2861197, 2861198, 2861199, 2861200, 2861201, 2862503, 2863681, 2863682, 2864005, 2863965, 2861202, 2863490, 2862399, 2863174, 2862745, 2863890, 2863524, 2863175, 2863176, 2861203, 2861204, 2861205, 2861206, 2863554, 2861207, 2863603, 2861208, 2863577, 2861209, 2861210, 2864006, 2863825, 2861211, 2863451, 2864188, 2861212, 2861213, 2861214, 2863780, 2861215, 2862941, 2862472, 2861216, 2863188, 2863424, 2862564, 2863562, 2863313, 2863135, 2864066, 2863423, 2863240, 2863489, 2861217, 2861218, 2862938, 2861219, 2863279, 2861220, 2861221, 2861222, 2861223, 2863469, 2861224, 2861225, 2861226, 2861227, 2861228, 2863927, 2863560, 2862384, 2862385, 2863452, 2861229, 2861230, 2863078, 2862547, 2862625, 2861231, 2863935, 2862432, 2863079, 2861232, 2861233, 2863601, 2861234, 2863277, 2863933, 2862451, 2861235, 2862360, 2861236, 2862493, 2861237, 2863045, 2861238, 2861239, 2863691, 2864126, 2864019, 2863565, 2861240, 2863758, 2861241, 2863683, 2864008, 2861242, 2863022, 2863314, 2863082, 2862626, 2862683, 2862562, 2863136, 2864127, 2862654, 2861243, 2863640, 2862870, 2863925, 2861244, 2863865, 2863917, 2863821, 2862602, 2862748, 2861245, 2862836, 2863289, 2861246, 2862386, 2862590, 2862517, 2864101, 2863207, 2861247, 2861248, 2864156, 2861249, 2864102, 2863014, 2861250, 2861251, 2862554, 2863208, 2861252, 2862936, 2862674, 2861253, 2861254, 2861255, 2862339, 2861256, 2862528, 2861257, 2861258, 2862366, 2861259, 2863061, 2863582, 2861260, 2864148, 2861261, 2862983, 2861262, 2861263, 2862524, 2861264, 2861265, 2862505, 2862694, 2864191, 2863113, 2861266, 2861267);
Date: 2023-10-19 17:25:03 Duration: 3m29s
-
DELETE FROM stock_inventory_line WHERE id IN (2861738, 2861739, 2863653, 2861740, 2861741, 2861742, 2861743, 2861744, 2861745, 2861746, 2861747, 2861748, 2861749, 2861750, 2861751, 2861752, 2861753, 2861754, 2861755, 2861756, 2863439, 2863656, 2861757, 2861758, 2861759, 2863655, 2863649, 2862777, 2861760, 2861761, 2863443, 2861762, 2861763, 2863651, 2861764, 2861765, 2862784, 2862781, 2861766, 2861767, 2862782, 2863812, 2861768, 2861769, 2861770, 2862352, 2861771, 2863811, 2863805, 2863444, 2863110, 2861772, 2861773, 2861774, 2861775, 2861776, 2862344, 2862345, 2862465, 2862801, 2861777, 2861778, 2863109, 2864069, 2864053, 2862420, 2862658, 2861779, 2864168, 2864117, 2863345, 2863799, 2861780, 2863204, 2861781, 2861782, 2861783, 2864144, 2861784, 2863672, 2861785, 2862788, 2861786, 2861787, 2862714, 2862851, 2861788, 2861789, 2861790, 2861791, 2861792, 2861793, 2861794, 2863468, 2861795, 2862578, 2861796, 2861797, 2863130, 2864004, 2863185, 2863962, 2863678, 2863639, 2862497, 2863167, 2863975, 2861798, 2861799, 2862462, 2861800, 2863398, 2863533, 2862892, 2863660, 2863764, 2862742, 2862896, 2862599, 2861801, 2862664, 2862434, 2861802, 2862641, 2862886, 2862430, 2862932, 2862928, 2863926, 2861803, 2861804, 2861805, 2861806, 2861807, 2864114, 2864047, 2861808, 2861809, 2862645, 2861810, 2862499, 2863177, 2862356, 2861811, 2863474, 2861812, 2862478, 2863030, 2863948, 2862436, 2862853, 2861813, 2863228, 2864153, 2861814, 2861815, 2863421, 2862416, 2863309, 2863027, 2861816, 2863772, 2861817, 2861818, 2861819, 2862945, 2862998, 2861820, 2862760, 2861821, 2861822, 2861823, 2863575, 2861824, 2861825, 2863252, 2862765, 2864179, 2861826, 2863923, 2863488, 2861827, 2861828, 2863335, 2864157, 2863574, 2861829, 2864173, 2861830, 2861831, 2862395, 2861832, 2861833, 2863576, 2862750, 2863224, 2864131, 2861834, 2861835, 2861836, 2864118, 2861837, 2861838, 2861839, 2863232, 2862433, 2863392, 2862825, 2862766, 2863226, 2863230, 2864189, 2863114, 2861840, 2863882, 2861841, 2861842, 2861843, 2861844, 2862512, 2863122, 2862383, 2861845, 2862834, 2863949, 2863759, 2862452, 2861846, 2861847, 2862659, 2861848, 2862761, 2864070, 2862576, 2863663, 2863262, 2863960, 2863961, 2864026, 2863892, 2863101, 2864087, 2861849, 2861850, 2862734, 2864002, 2861851, 2864067, 2862542, 2861852, 2864237, 2863432, 2862504, 2861853, 2864097, 2863304, 2861854, 2863049, 2864057, 2864181, 2861855, 2864182, 2863848, 2861856, 2864165, 2862511, 2861857, 2861858, 2861859, 2861860, 2863968, 2863645, 2863702, 2861861, 2863540, 2861862, 2861863, 2861864, 2861865, 2861866, 2862881, 2861867, 2861868, 2861869, 2862891, 2862539, 2862447, 2861870, 2861871, 2863328, 2864082, 2863329, 2862693, 2861872, 2861873, 2863065, 2861874, 2861875, 2864115, 2861876, 2863192, 2864169, 2861877, 2861878, 2861879, 2862880, 2864170, 2863153, 2863770, 2861880, 2861881, 2861882, 2861883, 2861884, 2861885, 2861886, 2862703, 2861887, 2861888, 2862672, 2863771, 2861889, 2863895, 2863896, 2863705, 2863710, 2863711, 2861890, 2863869, 2862790, 2862791, 2862792, 2861891, 2861892, 2861893, 2863559, 2861894, 2861895, 2862739, 2861896, 2861897, 2861898, 2861899, 2861900, 2861901, 2861902, 2861903, 2863688, 2861904, 2864162, 2862722, 2861905, 2863545, 2863801, 2861906, 2863903, 2863866, 2861907, 2861908, 2862538, 2863008, 2861909, 2862876, 2861910, 2863351, 2862849, 2861911, 2863596, 2863594, 2861912, 2863943, 2862545, 2861913, 2862449, 2864238, 2863162, 2861914, 2862558, 2862546, 2861915, 2863088, 2863500, 2864145, 2863751, 2861916, 2863561, 2862365, 2861917, 2863686, 2861918, 2864007, 2862446, 2863281, 2862900, 2863273, 2862586, 2862954, 2863320, 2862901, 2861919, 2861920, 2861921, 2862952, 2862692, 2864073, 2864074, 2864072, 2863977, 2863976, 2863800, 2864183, 2861922, 2861923, 2862575, 2861924, 2863642, 2863057, 2861925, 2861926, 2863667, 2861927, 2862729, 2863617, 2861928, 2862987, 2861929, 2863498, 2863476, 2861930, 2864032, 2862857, 2861931, 2863616, 2863294, 2861932, 2862724, 2861933, 2862953, 2861934, 2863193, 2863756, 2863842, 2864071, 2863019, 2862689, 2862380, 2864014, 2864031, 2863570, 2862877, 2862817, 2862341, 2861935, 2861936, 2863867, 2864137, 2862838, 2861937, 2861938, 2862822, 2861939, 2861940, 2864132, 2862820, 2863017, 2861941, 2862728, 2863957, 2863841, 2861942, 2861943, 2863195, 2863417, 2863484, 2861944, 2861945, 2861946, 2861947, 2863729, 2862421, 2861948, 2862656, 2861949, 2861950, 2861951, 2863871, 2861952, 2861953, 2861954, 2863374, 2862827, 2861955, 2863058, 2862974, 2863402, 2863007, 2861956, 2863517, 2864111, 2861957, 2863327, 2861958, 2863604, 2863371, 2863664, 2863567, 2861959, 2863727, 2863624, 2863703, 2863760, 2862815, 2861960, 2862973, 2862490, 2863908, 2861961, 2861962, 2861963, 2862812, 2863510, 2863897, 2862355, 2861964, 2861965, 2862961, 2861966, 2861967, 2861968, 2861969, 2863506, 2861970, 2861971, 2861972, 2861973, 2863090, 2861974, 2861975, 2863483, 2863641, 2864161, 2863922, 2863133, 2861976, 2861977, 2861978, 2863102, 2862335, 2861979, 2861980, 2861981, 2861982, 2861983, 2863620, 2861984, 2861985, 2861986, 2861987, 2863588, 2861988, 2861989, 2861990, 2861991, 2862357, 2863397, 2863463, 2861992, 2862986, 2861993, 2861994, 2861995, 2863535, 2863880, 2863766, 2861996, 2862752, 2862753, 2863095, 2861997, 2862949, 2862551, 2861998, 2863211, 2861999, 2863460, 2863497, 2862663, 2862887, 2862000, 2862879, 2863250, 2862955, 2862001, 2862002, 2862362, 2862003, 2862718, 2862004, 2862005, 2862006, 2862858, 2863698, 2862007, 2864160, 2862906, 2862363, 2863414, 2863429, 2862008, 2862009, 2863033, 2862902, 2862968, 2862818, 2862010, 2862011, 2862012, 2862013, 2862014, 2862015, 2863048, 2863166, 2862016, 2863331, 2863366, 2862017, 2862018, 2862407, 2862019, 2863789, 2862020, 2863206, 2863487, 2862021, 2863797, 2863850, 2863275, 2862022, 2862023, 2863556, 2862406, 2862024, 2863606, 2863941, 2863783, 2862025, 2863790, 2863787, 2862026, 2863788, 2863795, 2863502, 2863942, 2864085, 2864086, 2863815, 2862027, 2863344, 2863537, 2862028, 2863478, 2862029, 2862408, 2862631, 2862030, 2863883, 2863325, 2863382, 2862031, 2863840, 2864116, 2863268, 2863557, 2862032, 2863290, 2862582, 2863000, 2862033, 2862034, 2863644, 2862035, 2863388, 2862417, 2863695, 2863179, 2862036, 2862037, 2862038, 2862039, 2862040, 2863906, 2863998, 2864130, 2862041, 2862042, 2862043, 2863244, 2862044, 2862045, 2862046, 2862047, 2862048, 2862049, 2862050, 2862051, 2862052, 2863001, 2863774, 2863002, 2862053, 2862751, 2863704, 2863707, 2862054, 2862610, 2862609, 2863765, 2863706, 2863718, 2862676, 2863646, 2863573, 2863813, 2863719, 2862055, 2862056, 2862057, 2863411, 2863395, 2862058, 2864013, 2862059, 2863245, 2863059, 2863814, 2862060, 2862061, 2862665, 2862732, 2862062, 2863999, 2863265, 2863412, 2864049, 2862063, 2862064, 2862978, 2862065, 2862890, 2862393, 2863291, 2862725, 2863547, 2862066, 2863739, 2862067, 2862068, 2862069, 2863248, 2863553, 2862673, 2862553, 2863472, 2862070, 2862071, 2862354, 2862072, 2862073, 2862388, 2862074, 2862075, 2862076, 2862077, 2862735, 2862467, 2863013, 2864159, 2862078, 2862079, 2864084, 2862540, 2862809, 2864081, 2863390, 2863907, 2862878, 2863958, 2862080, 2862081, 2862555, 2862082, 2862989, 2862083, 2862084, 2863300, 2863697, 2862085, 2863120, 2863121, 2863089, 2863740, 2863820, 2863301, 2862422, 2862086, 2862087, 2863712, 2862088, 2862089, 2862367, 2863359, 2863385, 2863534, 2862090, 2862405, 2862404, 2862091, 2862571, 2862092, 2862093, 2863761, 2862592, 2862094, 2862095, 2862096, 2862097, 2863094, 2863621, 2862098, 2862990, 2862099, 2862100, 2862101, 2863662, 2863952, 2862102, 2862103, 2862104, 2862105, 2862106, 2864190, 2862364, 2862107, 2863752, 2862108, 2863276, 2863930, 2862740, 2862922, 2863700, 2862624, 2863602, 2863750, 2862109, 2862110, 2862111, 2863375, 2862738, 2862589, 2862690, 2863218, 2862112, 2862113, 2862114, 2862460, 2862115, 2862116, 2864146, 2863347, 2863507, 2863528, 2862117, 2862118, 2862119, 2862717, 2862120, 2863509, 2863623, 2864150, 2862121, 2862122, 2862123, 2863481, 2862124, 2863668, 2863986, 2862125, 2862126, 2862127, 2863303, 2863628, 2863124, 2862410, 2862128, 2863485, 2862129, 2862697, 2863380, 2863449, 2863306, 2862130, 2863504, 2862131, 2862132, 2863461, 2863669, 2862133, 2862134, 2862135, 2862136, 2862137, 2862138, 2862139, 2862140, 2862141, 2864187, 2862653, 2862874, 2863459, 2863212, 2863160, 2863579, 2862142, 2862143, 2862144, 2862910, 2862145, 2862146, 2862147, 2863409, 2863823, 2862148, 2862149, 2863963, 2863747, 2863887, 2864100, 2862536, 2862537, 2862800, 2863315, 2863063, 2862150, 2862151, 2862152, 2863125, 2862153, 2863158, 2862681, 2862154, 2862155, 2862397, 2862156, 2863316, 2862157, 2862158, 2862159, 2862160, 2862161, 2862162, 2862163, 2863209, 2862453, 2862359, 2862164, 2863381, 2862165, 2863612, 2862824, 2862847, 2862873, 2862166, 2862167, 2862423, 2863670, 2862168, 2863744, 2862169, 2862373, 2862170, 2864099, 2863824, 2862171, 2863161, 2863693, 2863450, 2863159, 2862519, 2863157, 2863741, 2863767, 2863743, 2862172, 2864174, 2862173, 2863742, 2862174, 2862175, 2862176, 2862520);
Date: 2023-10-19 17:31:59 Duration: 3m29s
-
DELETE FROM stock_inventory_line WHERE id IN (2863754, 2863115, 2863613, 2861268, 2863674, 2862939, 2862868, 2863216, 2861269, 2861270, 2861271, 2862638, 2862988, 2861272, 2862921, 2863028, 2861273, 2862566, 2862470, 2861274, 2861275, 2863138, 2861276, 2861277, 2863241, 2862684, 2861278, 2863465, 2863131, 2861279, 2862471, 2862500, 2861280, 2863685, 2863466, 2862917, 2863239, 2864061, 2863427, 2863428, 2861281, 2861282, 2861283, 2861284, 2861285, 2862999, 2863847, 2861286, 2862636, 2861287, 2861288, 2862992, 2863609, 2861289, 2861290, 2864027, 2861291, 2862859, 2864119, 2862982, 2864037, 2863087, 2863551, 2861292, 2861293, 2863503, 2863853, 2863285, 2863733, 2861294, 2861295, 2861296, 2861297, 2861298, 2863863, 2861299, 2864109, 2862806, 2864163, 2861300, 2863051, 2861301, 2861302, 2861303, 2863425, 2861304, 2862593, 2863305, 2864064, 2863496, 2864166, 2863873, 2862771, 2862600, 2862979, 2861305, 2863775, 2862920, 2861306, 2863011, 2863389, 2862387, 2862960, 2862396, 2862372, 2861307, 2862967, 2861308, 2861309, 2861310, 2862608, 2863420, 2863387, 2861311, 2863701, 2861312, 2862669, 2863928, 2862614, 2863126, 2863837, 2862506, 2862515, 2863286, 2863282, 2862513, 2861313, 2863015, 2863379, 2861314, 2863615, 2862657, 2863778, 2864206, 2863862, 2864244, 2863264, 2863583, 2861315, 2862481, 2861316, 2861317, 2862650, 2862530, 2863974, 2863870, 2862549, 2862448, 2862845, 2863032, 2863062, 2863456, 2863916, 2861318, 2862573, 2861319, 2861320, 2863267, 2862390, 2862454, 2862915, 2862758, 2861321, 2861322, 2861323, 2862810, 2862814, 2861324, 2862398, 2864207, 2862414, 2862415, 2863037, 2861325, 2862353, 2861326, 2861327, 2862940, 2863127, 2862869, 2863569, 2863355, 2863934, 2861328, 2862923, 2863238, 2863340, 2862793, 2862713, 2862529, 2863132, 2861329, 2863492, 2863900, 2863905, 2864128, 2861330, 2862501, 2863690, 2861331, 2863060, 2863839, 2861332, 2861333, 2864208, 2863955, 2861334, 2863165, 2863326, 2861335, 2861336, 2862628, 2862696, 2862375, 2863446, 2863626, 2863512, 2863413, 2861337, 2863006, 2862618, 2864045, 2862894, 2862819, 2863592, 2861338, 2861339, 2861340, 2861341, 2861342, 2864209, 2863296, 2862816, 2863550, 2863610, 2863584, 2861343, 2863348, 2863116, 2864210, 2861344, 2863020, 2863479, 2861345, 2864211, 2863038, 2864212, 2864213, 2864214, 2862846, 2861346, 2861347, 2864215, 2864241, 2864216, 2861348, 2863333, 2862844, 2861349, 2861350, 2864217, 2861351, 2861352, 2861353, 2862647, 2864218, 2864219, 2864220, 2861354, 2862794, 2861355, 2861356, 2861357, 2861358, 2863338, 2864221, 2862584, 2862585, 2863828, 2863163, 2863213, 2864088, 2864222, 2864223, 2861359, 2861360, 2864224, 2864247, 2864225, 2864226, 2864227, 2864228, 2864229, 2864230, 2861361, 2864231, 2864232, 2861362, 2864239, 2861363, 2861364, 2864233, 2864234, 2864235, 2861365, 2861366, 2863018, 2861367, 2862731, 2861368, 2861369, 2864058, 2864143, 2861370, 2863205, 2862911, 2864025, 2863939, 2864021, 2863888, 2863983, 2863361, 2863818, 2863879, 2864042, 2863237, 2863914, 2863677, 2863676, 2862898, 2862426, 2863458, 2863317, 2862903, 2862606, 2863730, 2863128, 2863447, 2863369, 2863152, 2863985, 2863150, 2862523, 2862981, 2861371, 2863717, 2863151, 2863878, 2863822, 2863889, 2863634, 2862413, 2863164, 2864122, 2863297, 2861372, 2863947, 2863629, 2861373, 2863148, 2863708, 2863119, 2862516, 2863728, 2863368, 2862482, 2862496, 2862840, 2861374, 2863591, 2861375, 2861376, 2861377, 2861378, 2861379, 2861380, 2861381, 2864164, 2861382, 2861383, 2861384, 2861385, 2861386, 2861387, 2862918, 2861388, 2862807, 2863832, 2861389, 2861390, 2861391, 2863471, 2863069, 2863422, 2861392, 2861393, 2861394, 2862850, 2861395, 2863714, 2862411, 2861396, 2861397, 2861398, 2863183, 2862789, 2861399, 2863215, 2861400, 2863270, 2861401, 2864240, 2861402, 2861403, 2864236, 2862733, 2861404, 2863665, 2861405, 2861406, 2861407, 2861408, 2862644, 2863029, 2861409, 2863614, 2864090, 2864180, 2863416, 2862860, 2863530, 2863529, 2861410, 2863064, 2862842, 2861411, 2861412, 2861413, 2861414, 2863721, 2861415, 2861416, 2863339, 2861417, 2863077, 2863563, 2861418, 2864033, 2863830, 2861419, 2861420, 2861421, 2863831, 2863829, 2862494, 2863912, 2862977, 2864106, 2862617, 2861422, 2864107, 2862727, 2862646, 2863050, 2864108, 2863671, 2863544, 2861423, 2861424, 2861425, 2861426, 2863988, 2863716, 2861427, 2863543, 2861428, 2861429, 2861430, 2863989, 2861431, 2861432, 2861433, 2863990, 2862403, 2863746, 2861434, 2861435, 2863745, 2863991, 2861436, 2861437, 2863992, 2863993, 2863994, 2861438, 2861439, 2863953, 2861440, 2861441, 2861442, 2861443, 2862457, 2861444, 2862670, 2861445, 2861446, 2861447, 2861448, 2861449, 2861450, 2861451, 2863501, 2861452, 2861453, 2861454, 2861455, 2861456, 2861457, 2861458, 2861459, 2861460, 2863995, 2863996, 2863997, 2862848, 2861461, 2861462, 2861463, 2861464, 2861465, 2863091, 2862456, 2862377, 2861466, 2861467, 2864142, 2864138, 2864050, 2861468, 2861469, 2862402, 2864000, 2863966, 2862688, 2861470, 2863877, 2863254, 2864120, 2861471, 2861472, 2861473, 2863505, 2863426, 2863666, 2862925, 2862933, 2863258, 2863587, 2861474, 2861475, 2861476, 2863362, 2862720, 2861477, 2861478, 2862808, 2862831, 2861479, 2862660, 2861480, 2861481, 2862444, 2861482, 2862821, 2862715, 2861483, 2863263, 2861484, 2861485, 2863363, 2862443, 2862726, 2864028, 2861486, 2862769, 2862966, 2864098, 2863929, 2863781, 2862919, 2861487, 2861488, 2861489, 2861490, 2863462, 2861491, 2863453, 2861492, 2861493, 2861494, 2861495, 2863918, 2861496, 2862678, 2861497, 2863514, 2861498, 2862435, 2862943, 2862437, 2862438, 2862439, 2863909, 2861499, 2862635, 2861500, 2861501, 2861502, 2861503, 2862929, 2863845, 2862711, 2861504, 2863555, 2862376, 2861505, 2861506, 2862757, 2862479, 2863599, 2863055, 2863056, 2863393, 2862927, 2863856, 2861507, 2861508, 2862889, 2861509, 2861510, 2861511, 2862995, 2862931, 2861512, 2861513, 2861514, 2862450, 2863773, 2861515, 2862510, 2863734, 2861516, 2861517, 2861518, 2862675, 2861519, 2861520, 2861521, 2861522, 2861523, 2861524, 2862342, 2862871, 2863433, 2863638, 2863222, 2863796, 2863364, 2861525, 2861526, 2861527, 2863156, 2864048, 2861528, 2864036, 2862489, 2861529, 2861530, 2861531, 2861532, 2863782, 2863383, 2862563, 2861533, 2861534, 2861535, 2861536, 2863464, 2861537, 2861538, 2861539, 2861540, 2861541, 2863129, 2861542, 2861543, 2863967, 2861544, 2861545, 2863868, 2863694, 2862864, 2862908, 2862913, 2863197, 2861546, 2862935, 2862768, 2862767, 2861547, 2862854, 2861548, 2863418, 2861549, 2863526, 2863893, 2861550, 2863987, 2864112, 2862984, 2861551, 2861552, 2861553, 2861554, 2861555, 2862865, 2862469, 2861556, 2863184, 2862338, 2861557, 2864105, 2863859, 2861558, 2863915, 2862934, 2861559, 2861560, 2861561, 2862533, 2861562, 2863269, 2861563, 2861564, 2861565, 2861566, 2863352, 2861567, 2863353, 2862852, 2863271, 2862378, 2861568, 2861569, 2863860, 2862677, 2863169, 2863886, 2862875, 2863261, 2863235, 2862679, 2861570, 2863753, 2862959, 2862958, 2863911, 2861571, 2861572, 2864018, 2861573, 2861574, 2863219, 2861575, 2863457, 2861576, 2862882, 2862855, 2862775, 2861577, 2861578, 2861579, 2862779, 2861580, 2861581, 2861582, 2861583, 2861584, 2861585, 2861586, 2861587, 2861588, 2861589, 2861590, 2861591, 2861592, 2861593, 2861594, 2863437, 2861595, 2861596, 2863552, 2863652, 2861597, 2862948, 2861598, 2862774, 2861599, 2861600, 2861601, 2861602, 2861603, 2861604, 2861605, 2861606, 2861607, 2861608, 2861609, 2861610, 2861611, 2861612, 2862773, 2861613, 2863650, 2861614, 2861615, 2861616, 2861617, 2861618, 2861619, 2861620, 2861621, 2861622, 2861623, 2861624, 2861625, 2861626, 2861627, 2861628, 2861629, 2861630, 2861631, 2863438, 2861632, 2861633, 2861634, 2863807, 2861635, 2861636, 2861637, 2863803, 2861638, 2863806, 2861639, 2862486, 2861640, 2861641, 2861642, 2861643, 2861644, 2861645, 2861646, 2861647, 2861648, 2861649, 2861650, 2863808, 2861651, 2861652, 2861653, 2861654, 2863445, 2861655, 2861656, 2861657, 2861658, 2861659, 2861660, 2861661, 2862883, 2861662, 2861663, 2862347, 2861664, 2861665, 2861666, 2861667, 2861668, 2861669, 2861670, 2861671, 2861672, 2861673, 2861674, 2861675, 2861676, 2861677, 2861678, 2861679, 2861680, 2861681, 2861682, 2861683, 2861684, 2861685, 2861686, 2861687, 2861688, 2861689, 2861690, 2863436, 2861691, 2863723, 2862485, 2862785, 2861692, 2861693, 2862569, 2861694, 2863440, 2863515, 2863516, 2862348, 2862349, 2861695, 2863809, 2861696, 2862795, 2862350, 2862837, 2861697, 2862783, 2863376, 2862351, 2863377, 2861698, 2861699, 2862802, 2862803, 2862804, 2862412, 2863220, 2863441, 2862346, 2862778, 2863266, 2861700, 2862856, 2861701, 2861702, 2861703, 2861704, 2863654, 2861705, 2861706, 2862776, 2861707, 2863659, 2861708, 2861709, 2861710, 2861711, 2861712, 2863016, 2861713, 2862884, 2861714, 2861715, 2861716, 2864041, 2864040, 2861717, 2863804, 2861718, 2861719, 2861720, 2861721, 2861722, 2861723, 2861724, 2862780, 2861725, 2861726, 2863657, 2861727, 2861728, 2861729, 2861730, 2861731, 2863648, 2862885, 2863658, 2861732, 2863442, 2863810, 2861733, 2861734, 2861735, 2861736, 2861737);
Date: 2023-10-19 17:28:30 Duration: 3m27s
3 1s184ms 21s384ms 4s987ms 37 3m4s delete from account_move_line where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 19 06 3 14s142ms 4s714ms 12 4 11s9ms 2s752ms 13 5 15s626ms 3s125ms 14 3 12s43ms 4s14ms 15 5 26s464ms 5s292ms 16 3 19s623ms 6s541ms 17 1 2s382ms 2s382ms 18 3 11s851ms 3s950ms 19 1 1s222ms 1s222ms 23 9 1m10s 7s795ms -
DELETE FROM account_move_line WHERE id IN (3368842, 3368843, 3368844, 3368845, 3368846, 3368847, 3368848, 3368849, 3368850, 3368851, 3368852, 3368853, 3368854, 3368855, 3368856, 3368857, 3415589, 3415590);
Date: 2023-10-19 23:25:03 Duration: 21s384ms
-
DELETE FROM account_move_line WHERE id IN (3180057, 3180058, 3417507, 3417508, 3417509, 3417510, 3417511, 3417512, 3417513, 3417514, 3417515, 3417516, 3417517);
Date: 2023-10-19 23:06:41 Duration: 15s431ms
-
DELETE FROM account_move_line WHERE id IN (3416219, 3416220, 3416221, 3416222, 3416223, 3416224, 3416225, 3416226, 3416227, 3416228, 3416229);
Date: 2023-10-19 16:29:17 Duration: 13s184ms
4 3s801ms 11s813ms 4s745ms 51 4m1s delete from sale_order_line where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 19 09 1 3s801ms 3s801ms 11 3 11s715ms 3s905ms 12 3 15s714ms 5s238ms 13 6 23s129ms 3s854ms 14 3 15s833ms 5s277ms 15 7 35s563ms 5s80ms 16 5 19s652ms 3s930ms 17 6 27s463ms 4s577ms 18 7 35s12ms 5s1ms 19 7 34s884ms 4s983ms 20 1 4s11ms 4s11ms 21 1 3s860ms 3s860ms 22 1 11s357ms 11s357ms -
DELETE FROM sale_order_line WHERE id IN (260757, 260773, 260789);
Date: 2023-10-19 18:49:51 Duration: 11s813ms
-
DELETE FROM sale_order_line WHERE id IN (261449, 261450, 261451);
Date: 2023-10-19 22:01:35 Duration: 11s357ms
-
DELETE FROM sale_order_line WHERE id IN (255537, 255538);
Date: 2023-10-19 15:28:23 Duration: 8s122ms
5 1s107ms 1s375ms 1s183ms 152 2m59s select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 19 13 10 11s706ms 1s170ms 14 25 30s61ms 1s202ms 15 8 9s768ms 1s221ms 16 5 6s231ms 1s246ms 17 15 18s302ms 1s220ms 18 22 25s804ms 1s172ms 19 45 53s83ms 1s179ms 20 9 10s190ms 1s132ms 21 13 14s748ms 1s134ms -
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-10-19 14:04:07 Duration: 1s375ms
-
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-10-19 19:25:38 Duration: 1s321ms
-
select max(id) from sale_history_line where product_name is not null group by product_name, inventory_short_vendor_name;
Date: 2023-10-19 14:04:08 Duration: 1s318ms
6 894ms 1s205ms 960ms 225 3m36s select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 19 00 2 1s857ms 928ms 09 6 5s484ms 914ms 11 52 49s928ms 960ms 12 22 21s530ms 978ms 13 8 8s67ms 1s8ms 14 18 17s485ms 971ms 15 21 20s435ms 973ms 16 15 14s552ms 970ms 19 37 35s146ms 949ms 20 44 41s528ms 943ms -
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 ('%6.5-70-18x%') 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 ('%6.5-70-18x%')))))) 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 ('%6.5-70-18x%')))))) 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 ('%6.5-70-18x%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%6.5-70-18x%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%6.5-70-18x%'))));
Date: 2023-10-19 11:43:29 Duration: 1s205ms
-
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 ('%172.2002A%') 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 ('%172.2002A%')))))) 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 ('%172.2002A%')))))) 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 ('%172.2002A%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%172.2002A%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%172.2002A%'))));
Date: 2023-10-19 15:47:52 Duration: 1s159ms
-
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 ('%4000%') 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 ('%4000%')))))) 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 ('%4000%')))))) 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 ('%4000%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%4000%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%4000%'))));
Date: 2023-10-19 12:32:46 Duration: 1s142ms
7 916ms 1s203ms 959ms 393 6m17s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 19 09 6 5s533ms 922ms 11 60 56s964ms 949ms 12 51 49s301ms 966ms 13 27 26s325ms 975ms 14 27 26s241ms 971ms 15 30 28s858ms 961ms 16 66 1m2s 950ms 19 87 1m24s 966ms 20 39 37s5ms 948ms -
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 ('%38610%') 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 ('%38610%')))))) 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 ('%38610%')))))) 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 ('%38610%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%38610%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%38610%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-19 16:38:06 Duration: 1s203ms
-
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 ('%e-9010-l%') 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 ('%e-9010-l%')))))) 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 ('%e-9010-l%')))))) 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 ('%e-9010-l%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%e-9010-l%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%e-9010-l%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-19 13:03:52 Duration: 1s194ms
-
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 ('%as1141%') 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 ('%as1141%')))))) 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 ('%as1141%')))))) 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 ('%as1141%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%as1141%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%as1141%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2023-10-19 14:47:08 Duration: 1s175ms
8 903ms 1s175ms 958ms 256 4m5s 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 #8
Day Hour Count Duration Avg duration Oct 19 00 2 1s836ms 918ms 09 6 5s478ms 913ms 11 54 51s776ms 958ms 12 26 24s820ms 954ms 13 9 9s63ms 1s7ms 14 24 23s709ms 987ms 15 24 23s97ms 962ms 16 15 14s184ms 945ms 19 43 41s190ms 957ms 20 53 50s200ms 947ms -
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 ('%mv-3%') 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 ('%mv-3%')))))) 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 ('%mv-3%')))))) 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 ('%mv-3%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%mv-3%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%mv-3%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-10-19 13:31:19 Duration: 1s175ms
-
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 ('%as11%') 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 ('%as11%')))))) 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 ('%as11%')))))) 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 ('%as11%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%as11%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%as11%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-10-19 14:47:08 Duration: 1s174ms
-
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 ('%nt110%') 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 ('%nt110%')))))) 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 ('%nt110%')))))) 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 ('%nt110%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%nt110%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%nt110%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2023-10-19 14:42:31 Duration: 1s162ms
9 748ms 1s170ms 789ms 835 10m58s 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 Oct 19 09 1 762ms 762ms 10 4 3s80ms 770ms 11 53 41s290ms 779ms 12 100 1m19s 792ms 13 125 1m39s 794ms 14 105 1m24s 801ms 15 112 1m28s 786ms 16 63 49s566ms 786ms 17 88 1m8s 783ms 18 73 57s463ms 787ms 19 76 59s848ms 787ms 20 34 26s294ms 773ms 21 1 761ms 761ms -
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 ('%033-04567%')) 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 ('%033-04567%'))) 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 ('%033-04567%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%033-04567%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-10-19 12:40:22 Duration: 1s170ms
-
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 ('%gre-pf5ss%')) 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 ('%gre-pf5ss%'))) 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 ('%gre-pf5ss%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%gre-pf5ss%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-10-19 18:34:13 Duration: 1s96ms
-
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 ('%1/2x16%')) 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 ('%1/2x16%'))) 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 ('%1/2x16%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%1/2x16%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2023-10-19 14:59:04 Duration: 1s58ms
10 575ms 977ms 627ms 1,256 13m8s 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 #10
Day Hour Count Duration Avg duration Oct 19 11 9 5s415ms 601ms 12 58 36s418ms 627ms 13 171 1m49s 637ms 14 87 54s298ms 624ms 15 97 1m 626ms 16 257 2m38s 618ms 17 258 2m45s 643ms 18 99 1m1s 618ms 19 131 1m21s 624ms 20 89 54s406ms 611ms -
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 ('%%n634%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%n6.3-4%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%n6.3-4%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:40:13 Duration: 977ms
-
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 ('%%34%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%3/4%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%3/4%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 16:57:23 Duration: 920ms
-
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 ('%%N250701%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%N250-70-1%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%N250-70-1%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:37:07 Duration: 881ms
11 576ms 1s305ms 626ms 3,505 36m37s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 19 00 6 3s641ms 606ms 03 40 23s856ms 596ms 09 69 41s471ms 601ms 10 52 31s830ms 612ms 11 288 2m57s 617ms 12 470 4m57s 632ms 13 514 5m21s 626ms 14 355 3m43s 629ms 15 423 4m26s 629ms 16 234 2m26s 627ms 17 428 4m33s 639ms 18 329 3m24s 620ms 19 189 1m59s 633ms 20 48 29s728ms 619ms 21 54 32s377ms 599ms 22 6 3s564ms 594ms -
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 ('%%24x3%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%24x3%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%24x3%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:29:19 Duration: 1s305ms
-
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 ('%%24x30%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%24x30%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%24x30%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:29:19 Duration: 1s254ms
-
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 ('%%rg040%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%rg040%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%rg040%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:03:57 Duration: 1s21ms
12 582ms 854ms 620ms 652 6m44s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 19 12 128 1m19s 623ms 13 37 23s59ms 623ms 14 48 29s666ms 618ms 15 131 1m20s 616ms 16 140 1m26s 614ms 17 67 42s596ms 635ms 18 18 10s982ms 610ms 19 79 48s840ms 618ms 20 4 2s465ms 616ms -
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 ('%%M70%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%M70-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%M70-%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:40:13 Duration: 854ms
-
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 ('%%hd70036rsd%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hd70036rsd%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%hd70036rsd%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 17:40:12 Duration: 838ms
-
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 ('%%013004%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%013-004%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%013-004%'))) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2023-10-19 12:24:03 Duration: 813ms
13 202ms 2s148ms 559ms 642 5m59s update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 19 09 2 1s152ms 576ms 11 2 955ms 477ms 12 68 37s504ms 551ms 13 94 48s482ms 515ms 14 63 35s740ms 567ms 15 59 35s82ms 594ms 16 103 59s985ms 582ms 17 47 24s969ms 531ms 18 30 19s261ms 642ms 19 98 54s981ms 561ms 20 74 40s173ms 542ms 21 2 901ms 450ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-19 16:29:58', "is_done" = true, "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (632912, 632915, 632918);
Date: 2023-10-19 16:30:01 Duration: 2s148ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-19 19:59:38', "is_done" = true, "state" = 'done', "write_uid" = 1041, "write_date" = (now() at time zone 'UTC') WHERE id IN (580824, 580826);
Date: 2023-10-19 19:59:40 Duration: 1s448ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2023-10-19 19:52:28', "is_done" = true, "state" = 'done', "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (636752, 636753);
Date: 2023-10-19 19:52:30 Duration: 1s414ms
14 480ms 721ms 491ms 1,062 8m41s select "item_list_line".id from "item_list_line" where ("item_list_line"."product_id" in (...)) order by "item_list_line"."id";Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 19 10 1,018 8m18s 489ms 11 4 2s62ms 515ms 13 4 2s125ms 531ms 14 12 6s503ms 541ms 16 4 2s214ms 553ms 17 10 5s50ms 505ms 18 6 2s978ms 496ms 19 2 1s3ms 501ms 20 2 1s33ms 516ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (255119)) ORDER BY "item_list_line"."id";
Date: 2023-10-19 14:07:20 Duration: 721ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (255132)) ORDER BY "item_list_line"."id";
Date: 2023-10-19 16:00:58 Duration: 639ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (254663)) ORDER BY "item_list_line"."id";
Date: 2023-10-19 10:43:07 Duration: 612ms
15 164ms 3s47ms 429ms 338 2m25s update "sale_order_line" set "qty_delivered_method" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 19 09 3 3s960ms 1s320ms 11 8 2s523ms 315ms 12 65 22s910ms 352ms 13 54 26s987ms 499ms 14 48 20s318ms 423ms 15 32 14s999ms 468ms 16 25 9s963ms 398ms 17 23 11s426ms 496ms 18 23 7s166ms 311ms 19 41 16s118ms 393ms 20 13 6s568ms 505ms 21 2 393ms 196ms 22 1 1s783ms 1s783ms -
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "state" = 'sale', "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (260460, 260461, 260462, 260463, 260464, 260465, 260466, 260467, 260468, 260469, 260470, 260471, 260473, 260474, 260475, 260476, 260478);
Date: 2023-10-19 09:36:02 Duration: 3s47ms
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "state" = 'done', "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (198368, 198369, 198371, 198372, 198947, 198374, 198375, 198378, 198361, 198362, 198364, 198365, 198366, 198367);
Date: 2023-10-19 13:56:20 Duration: 2s662ms
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "state" = 'done', "write_uid" = 991, "write_date" = (now() at time zone 'UTC') WHERE id IN (224640, 224642, 224624, 224626, 224628, 224632, 224636, 224637, 224638, 224639);
Date: 2023-10-19 17:33:31 Duration: 1s985ms
16 120ms 3s430ms 407ms 424 2m52s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 19 09 1 1s128ms 1s128ms 10 2 587ms 293ms 11 17 7s462ms 438ms 12 47 15s383ms 327ms 13 56 23s127ms 412ms 14 46 16s737ms 363ms 15 35 14s142ms 404ms 16 31 8s926ms 287ms 17 63 34s179ms 542ms 18 44 21s186ms 481ms 19 59 20s617ms 349ms 20 22 8s374ms 380ms 22 1 947ms 947ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (636591, 636592, 636593, 636594, 636595, 636596, 636597, 636598, 636601, 636602, 636603, 636605, 636606);
Date: 2023-10-19 19:21:53 Duration: 3s430ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (636110, 636111, 636112, 636113, 636114, 636115, 636116, 636117);
Date: 2023-10-19 17:14:19 Duration: 2s838ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (635480, 635501, 635503, 635504, 635505, 635506, 635509, 635510, 635479, 635512, 635481);
Date: 2023-10-19 13:52:34 Duration: 2s759ms
17 122ms 3s856ms 387ms 434 2m48s update "stock_quant" set "quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 19 00 2 520ms 260ms 09 2 1s14ms 507ms 11 3 1s96ms 365ms 12 30 10s75ms 335ms 13 48 14s481ms 301ms 14 62 20s690ms 333ms 15 35 12s377ms 353ms 16 73 30s573ms 418ms 17 24 8s937ms 372ms 18 21 15s586ms 742ms 19 81 32s458ms 400ms 20 53 20s486ms 386ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (25095, 25096, 315153, 29329, 29330, 315155, 276127, 324643, 324644, 314929, 210102, 256701, 160592, 29269, 210646, 29270, 368602, 27508, 27510, 27514);
Date: 2023-10-19 18:25:42 Duration: 3s856ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (368807, 368808, 368809, 368810, 368811, 368812, 368813, 368814, 368815, 368816, 368817, 368818, 368819, 368820, 368821, 368822, 368823, 368824, 368825, 368826, 368827);
Date: 2023-10-19 16:01:48 Duration: 3s457ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (368576, 243809, 45730, 368577, 25220, 274536, 31377, 170203, 311199);
Date: 2023-10-19 18:30:18 Duration: 2s348ms
18 193ms 2s214ms 344ms 691 3m58s update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 19 09 11 5s421ms 492ms 11 11 3s130ms 284ms 12 81 30s792ms 380ms 13 136 47s32ms 345ms 14 124 41s572ms 335ms 15 79 28s745ms 363ms 16 43 13s628ms 316ms 17 64 21s93ms 329ms 18 54 19s35ms 352ms 19 67 21s749ms 324ms 20 19 5s518ms 290ms 21 2 513ms 256ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1223, "write_date" = (now() at time zone 'UTC') WHERE id IN (368326, 368328, 368329, 368330, 368331, 368332, 368333, 368334);
Date: 2023-10-19 12:46:12 Duration: 2s214ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (47081, 365586, 364883);
Date: 2023-10-19 13:00:50 Duration: 1s296ms
-
UPDATE "stock_quant" SET "quantity" = 2.0, "reserved_quantity" = 0.0, "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (347088, 46562);
Date: 2023-10-19 19:52:32 Duration: 1s58ms
19 182ms 571ms 295ms 336 1m39s select id from product_warehouse_inventory where coalesce(loc_check_qty, ?) < coalesce(max_product_uom_qty, ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 19 12 18 3s454ms 191ms 17 309 1m34s 304ms 19 9 1s757ms 195ms -
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2023-10-19 17:11:47 Duration: 571ms
-
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2023-10-19 17:11:48 Duration: 535ms
-
select id from product_warehouse_inventory where COALESCE(loc_check_qty, 0) < COALESCE(max_product_uom_qty, 0);
Date: 2023-10-19 17:11:47 Duration: 532ms
20 267ms 556ms 282ms 2,994 14m4s select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 19 00 9 2s540ms 282ms 02 2 539ms 269ms 03 1 270ms 270ms 07 6 1s638ms 273ms 08 11 3s13ms 273ms 09 4 1s89ms 272ms 10 5 1s495ms 299ms 11 189 52s746ms 279ms 12 407 1m54s 281ms 13 416 1m57s 282ms 14 437 2m4s 284ms 15 318 1m30s 283ms 16 227 1m3s 280ms 17 227 1m3s 281ms 18 160 44s417ms 277ms 19 381 1m48s 285ms 20 187 51s779ms 276ms 21 3 805ms 268ms 22 4 1s91ms 272ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-9ded8a0/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-19 19:36:14 Duration: 556ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-9ded8a0/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-19 14:57:59 Duration: 455ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.report_assets_common.css'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5826980/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2023-10-19 12:30:40 Duration: 442ms
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
- 41,631 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 1068 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 517 Max number of times the same event was reported
- 1,068 Total events found
Rank Times reported Error 1 517 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Oct 19 00 30 01 44 02 25 03 15 04 20 05 21 06 23 07 19 08 17 09 18 10 32 11 22 12 20 13 19 14 19 15 18 16 16 17 15 18 17 19 17 20 15 21 20 22 16 23 39 - ERROR: could not obtain lock on row in relation "ir_cron"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=67 FOR UPDATE NOWAIT
Date: 2023-10-19 18:50:08
2 511 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #2
Day Hour Count Oct 19 00 24 08 1 09 2 11 70 12 50 13 66 14 62 15 41 16 47 17 25 18 50 19 48 20 24 22 1 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE "bus_presence" SET "last_poll"='2023-10-19 18:50:15',"last_presence"='2023-10-19 18:49:03.073989' WHERE id IN (83)
Date: 2023-10-19 18:50:15
3 16 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #3
Day Hour Count Oct 19 12 1 13 9 14 2 15 2 16 1 19 1 - ERROR: process 2494677 still waiting for ShareLock on transaction 212348619 after 1000.067 ms
- ERROR: process 1972929 still waiting for ShareLock on transaction 212281375 after 1000.045 ms
- ERROR: process 1974137 still waiting for ShareLock on transaction 212282060 after 1000.054 ms
Detail: Process holding the lock: 2501410. Wait queue: 2494677.
Context: while updating tuple (2959,18) in relation "sale_order"
Statement: UPDATE "sale_order" SET "write_uid"=1151,"write_date"=(now() at time zone 'UTC') WHERE id IN (89835)Date: 2023-10-19 19:27:22
Detail: Process holding the lock: 1972599. Wait queue: 1972929.
Context: while updating tuple (23478,25) in relation "account_move"
Statement: UPDATE "account_move" SET "message_main_attachment_id"=3344440,"write_uid"=999,"write_date"=(now() at time zone 'UTC') WHERE id IN (956301)Date: 2023-10-19 13:06:22
Detail: Process holding the lock: 1974179. Wait queue: 1974137.
Context: while updating tuple (2870,36) in relation "sale_order"
Statement: UPDATE "sale_order" SET "write_uid"=1143,"write_date"=(now() at time zone 'UTC') WHERE id IN (89595)Date: 2023-10-19 13:10:09
4 15 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #4
Day Hour Count Oct 19 15 15 - ERROR: null value in column "name" of relation "repair_line" violates not-null constraint
Detail: Failing row contains (55437, null, 8335, 1, add, null, null, 0.00, null, 1.00, null, null, 453, 15, null, null, draft, 1013, 2023-10-19 15:44:33.164997, 1013, 2023-10-19 15:44:33.164997, new_product, null, line_note, t, 10, null, f, 0.00, null, null, 0.00, null, null, null, null, null, 0, null, 0, null, no, f, f, 0.00, null, null, null, f, null, null, null, null, null).
Statement: INSERT INTO "repair_line" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_id", "core_qty", "display_type", "invoice_status", "is_call_for_price_prod", "is_delivery", "is_visible_in_report", "location_dest_id", "location_id", "lot_id", "manual_price_changed", "move_options", "name", "open_qty_fil", "price_unit", "product_id", "product_pricelist_item_id", "product_uom", "product_uom_qty", "qty_delivered", "qty_delivered_manual", "rebate_amount", "repair_id", "ro_line_id", "sequence", "state", "tick", "type") VALUES (nextval('repair_line_id_seq'), 1013, (now() at time zone 'UTC'), 1013, (now() at time zone 'UTC'), 1, 0.0, 'line_note', 'no', false, false, true, 15, 453, NULL, false, 'new_product', NULL, 0.0, '0.00', NULL, NULL, NULL, '1.00', '0.00', '0.00', '0.00', 8335, NULL, 10, 'draft', false, 'add') RETURNING idDate: 2023-10-19 15:44:33
5 2 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #5
Day Hour Count Oct 19 13 2 - ERROR: process 1975159 still waiting for ExclusiveLock on tuple (23982,7) of relation 42418 of database 65946 after 1000.042 ms
- ERROR: process 1972930 still waiting for ExclusiveLock on tuple (23982,7) of relation 42418 of database 65946 after 1000.052 ms
Detail: Process holding the lock: 1972928. Wait queue: 1975159, 1972930.
Statement: UPDATE "account_move" SET "message_main_attachment_id"=3344679,"write_uid"=999,"write_date"=(now() at time zone 'UTC') WHERE id IN (956441)Date: 2023-10-19 13:31:45
Detail: Process holding the lock: 1972928. Wait queue: 1975159, 1972930.
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 != 956433 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 != 956433 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2023-10-19 13:31:45
6 2 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Oct 19 10 2 - ERROR: could not create unique index "vendor_account_master_unique_acc_no"
Detail: Key (account_number)=(P10394) is duplicated.
Statement: ALTER TABLE "vendor_account_master" ADD CONSTRAINT "vendor_account_master_unique_acc_no" unique (account_number)Date: 2023-10-19 10:18:32
7 2 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #7
Day Hour Count Oct 19 14 2 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM monthly_statement_line WHERE id IN (743081, 743083, 743084, 743085, 743086, 743087, 743088, 743082, 743089, 743090, 743091, 743092, 743093, 743094, 743095, 743096, 743097, 743118, 743098, 743100, 743099, 743101, 743105, 743106, 743103, 743102, 743104, 743107, 743108, 743109, 743110, 743119, 743111, 743112, 743113, 743115, 743114, 743116, 743117)
Date: 2023-10-19 14:08:09
8 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #8
Day Hour Count Oct 19 08 1 - ERROR: syntax error at or near "rom" at character 1
Statement: rom stock_move sm left join product_warehouse_inventory pwi on sm.product_id = pwi.product_id and sm.warehouse_id =pwi.warehouse_id left join stock_location s_loc on sm.location_id = s_loc.id left join product_product pp on pwi.product_id = pp.id left join product_template pt on pt.id = pp.product_tmpl_id where sm.state not in ('done', 'cancel') and s_loc.usage in ('transit','supplier') and sm.sale_line_id is null and sm.repair_line_id is null and (sm.is_core = False or sm.is_core is NULL) group by sm.product_id, pwi.qty_on_order, sm.warehouse_id having sum(sm.product_uom_qty) != (pwi.qty_on_order) order by sm.warehouse_id;
Date: 2023-10-19 08:35:15
9 1 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #9
Day Hour Count Oct 19 15 1 - ERROR: deadlock detected
Detail: Process 1972926 waits for ShareLock on transaction 212303703; blocked by process 1973286. Process 1973286 waits for ShareLock on transaction 212303702; blocked by process 1972926. Process 1972926: UPDATE "sale_order_line" SET "currency_id"=2,"cus_part_route"=NULL,"cus_user_id"=965,"margin"='65.52',"margin_percent"=0.30066079295154186,"order_partner_id"=39666,"purchase_price"='6.35',"salesman_id"=965,"write_uid"=1263,"write_date"=(now() at time zone 'UTC') WHERE id IN (260318) Process 1973286: UPDATE "sale_order" SET "partner_id"=39666,"partner_invoice_id"=39666,"partner_shipping_id"=39666,"write_uid"=1263,"write_date"=(now() at time zone 'UTC') WHERE id IN (89455)
Context: while updating tuple (12585,2) in relation "sale_order_line"
Hint: See server log for query details.
Statement: UPDATE "sale_order_line" SET "currency_id"=2,"cus_part_route"=NULL,"cus_user_id"=965,"margin"='65.52',"margin_percent"=0.30066079295154186,"order_partner_id"=39666,"purchase_price"='6.35',"salesman_id"=965,"write_uid"=1263,"write_date"=(now() at time zone 'UTC') WHERE id IN (260318)Date: 2023-10-19 15:07:41
10 1 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #10
Day Hour Count Oct 19 10 1 - ERROR: process 1972936 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.060 ms at character 34
Detail: Process holding the lock: 1973729. Wait queue: 1972936.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'product.template') ORDER BY "ir_model_fields"."name"Date: 2023-10-19 10:18:52