-
Global information
- Generated on Sat May 18 00:50:22 2024
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 244,660 log entries in 21s
- Log start from 2024-05-17 00:00:01 to 2024-05-17 23:59:50
-
Overview
Global Stats
- 1,333 Number of unique normalized queries
- 84,162 Number of queries
- 9h9m40s Total query duration
- 2024-05-17 00:00:01 First query
- 2024-05-17 23:59:50 Last query
- 75 queries/s at 2024-05-17 12:55:37 Query peak
- 9h9m40s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 9h9m40s Execute total duration
- 1,294 Number of events
- 8 Number of unique normalized events
- 850 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
- 84,162 Average queries per session
- 9h9m40s 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
- 75 queries/s Query Peak
- 2024-05-17 12:55:37 Date
SELECT Traffic
Key values
- 75 queries/s Query Peak
- 2024-05-17 12:55:37 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 9 queries/s Query Peak
- 2024-05-17 12:17:53 Date
Queries duration
Key values
- 9h9m40s 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) May 17 00 413 120ms 791ms 217ms 3s433ms 9s929ms 17s291ms 01 479 120ms 1s142ms 226ms 4s324ms 13s529ms 17s535ms 02 487 120ms 720ms 226ms 4s330ms 11s484ms 13s797ms 03 488 120ms 821ms 250ms 8s244ms 11s255ms 18s244ms 04 488 120ms 1s146ms 191ms 4s963ms 7s154ms 13s54ms 05 539 120ms 918ms 196ms 2s511ms 6s16ms 22s342ms 06 509 120ms 781ms 184ms 2s166ms 2s915ms 18s682ms 07 636 120ms 7s659ms 290ms 7s562ms 17s750ms 32s735ms 08 624 120ms 33s824ms 326ms 9s208ms 19s926ms 35s567ms 09 852 120ms 4m33s 1s229ms 1m 1m45s 5m17s 10 771 120ms 1s407ms 203ms 6s874ms 8s79ms 10s386ms 11 4,774 120ms 1m26s 439ms 1m24s 1m40s 2m1s 12 10,447 120ms 22s908ms 415ms 2m8s 2m59s 4m6s 13 10,295 120ms 41s941ms 399ms 1m55s 2m13s 2m26s 14 7,986 120ms 10s961ms 338ms 1m15s 1m17s 2m19s 15 9,159 120ms 1m52s 347ms 1m29s 2m 3m2s 16 6,944 120ms 8s900ms 343ms 1m20s 1m32s 1m37s 17 6,986 120ms 12s640ms 447ms 1m40s 1m48s 1m48s 18 7,331 120ms 11s8ms 410ms 1m22s 2m25s 2m43s 19 7,474 120ms 19s918ms 428ms 1m49s 2m2s 2m30s 20 3,382 120ms 10s632ms 335ms 48s149ms 55s199ms 1m7s 21 1,357 120ms 2s342ms 262ms 14s168ms 20s401ms 28s470ms 22 464 120ms 5s224ms 230ms 3s5ms 9s41ms 17s939ms 23 1,277 120ms 42s235ms 714ms 48s239ms 1m1s 1m19s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 17 00 412 0 217ms 926ms 3s433ms 12s204ms 01 478 0 226ms 1s51ms 4s324ms 14s202ms 02 487 0 226ms 1s198ms 4s330ms 11s937ms 03 488 0 250ms 2s162ms 8s244ms 12s38ms 04 486 0 190ms 1s294ms 4s963ms 8s756ms 05 539 0 196ms 1s687ms 2s511ms 13s932ms 06 509 0 184ms 1s683ms 2s166ms 10s287ms 07 628 0 264ms 3s298ms 7s562ms 17s750ms 08 610 0 320ms 2s626ms 9s208ms 23s438ms 09 650 106 1s314ms 17s353ms 53s400ms 2m5s 10 757 0 199ms 3s371ms 5s365ms 8s362ms 11 3,982 0 434ms 48s602ms 1m11s 1m51s 12 8,621 0 393ms 1m20s 1m38s 2m54s 13 7,974 0 369ms 1m17s 1m32s 1m54s 14 6,445 0 303ms 45s97ms 53s685ms 1m15s 15 7,453 0 320ms 55s459ms 1m13s 2m10s 16 5,923 0 322ms 47s666ms 1m3s 1m26s 17 5,663 0 373ms 49s224ms 1m8s 1m37s 18 6,061 0 374ms 46s701ms 1m17s 2m19s 19 5,759 0 360ms 55s298ms 1m12s 1m44s 20 2,689 0 286ms 21s738ms 30s306ms 41s680ms 21 1,158 0 247ms 8s461ms 13s812ms 23s357ms 22 455 0 219ms 1s891ms 2s670ms 11s280ms 23 1,134 0 316ms 7s454ms 10s682ms 1m3s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 17 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 1 0 0 368ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 2 0 0 352ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 8 0 0 2s299ms 0ms 0ms 710ms 08 0 13 0 0 618ms 0ms 0ms 0ms 09 0 96 0 0 562ms 0ms 0ms 9s868ms 10 0 14 0 0 407ms 0ms 0ms 0ms 11 48 733 11 0 460ms 5s504ms 9s670ms 19s624ms 12 81 1,709 31 0 518ms 16s87ms 20s88ms 27s352ms 13 141 2,117 58 0 502ms 18s168ms 27s931ms 42s339ms 14 82 1,417 35 0 489ms 13s861ms 16s676ms 23s176ms 15 35 1,632 30 0 467ms 12s444ms 17s693ms 35s407ms 16 36 968 11 0 465ms 7s413ms 11s59ms 19s302ms 17 42 1,259 19 0 761ms 14s298ms 28s450ms 52s35ms 18 44 1,175 41 0 586ms 11s349ms 21s161ms 30s303ms 19 124 1,549 29 0 661ms 17s72ms 36s54ms 42s250ms 20 15 656 20 0 523ms 5s198ms 11s531ms 24s177ms 21 6 193 0 0 350ms 283ms 814ms 7s155ms 22 0 8 1 0 825ms 0ms 0ms 563ms 23 0 0 143 0 3s870ms 0ms 22s601ms 44s424ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare May 17 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 May 17 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 May 17 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 May 17 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 May 17 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) May 17 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 May 17 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 May 17 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 May 17 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
- 40 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 2 2m22s 39s625ms 1m42s 1m11s update "bus_presence" set "last_poll" = ? where id in (...);-
UPDATE "bus_presence" SET "last_poll" = '2024-05-17 13:42:48' WHERE id IN (222);
Date: 2024-05-17 13:44:31
2 24 1m18s 3s792ms 10s380ms 3s253ms update account_move set write_date = write_date where id = ( select id from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) and id != ? and sequence_prefix = ( select sequence_prefix from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) and id != ? order by id desc limit ?) order by sequence_number desc limit ?) returning name;-
UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 1418261 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 != 1418261 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-05-17 18:26:30
3 6 13s501ms 1s723ms 3s694ms 2s250ms update "account_move" set "message_main_attachment_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "message_main_attachment_id" = 5426846, "write_uid" = 979, "write_date" = (now() at time zone 'UTC') WHERE id IN (1417677);
Date: 2024-05-17 15:43:32
4 1 3s382ms 3s382ms 3s382ms 3s382ms update product_warehouse_inventory set replenish_branch_id = ? where id = ?;-
update product_warehouse_inventory set replenish_branch_id = 41 where id = 65321;
Date: 2024-05-17 07:59:25
5 3 3s111ms 1s3ms 1s61ms 1s37ms update "sale_order_line" set "cus_part_route" = ?, "cus_user_id" = ?, "order_partner_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "cus_part_route" = 32, "cus_user_id" = 1009, "order_partner_id" = 33977, "write_uid" = 1291, "write_date" = (now() at time zone 'UTC') WHERE id IN (391707, 390809, 391771, 391772);
Date: 2024-05-17 11:42:31
-
UPDATE "sale_order_line" SET "cus_part_route" = 32, "cus_user_id" = 1009, "order_partner_id" = 33977, "write_uid" = 1291, "write_date" = (now() at time zone 'UTC') WHERE id IN (391707, 390809, 391771, 391772);
Date: 2024-05-17 11:41:54
-
UPDATE "sale_order_line" SET "cus_part_route" = 32, "cus_user_id" = 1009, "order_partner_id" = 33977, "write_uid" = 1291, "write_date" = (now() at time zone 'UTC') WHERE id IN (391707, 390809, 391771, 391772);
Date: 2024-05-17 11:35:45
6 1 2s737ms 2s737ms 2s737ms 2s737ms update "stock_picking" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_picking" SET "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (415184, 415185);
Date: 2024-05-17 17:55:09
7 1 1s957ms 1s957ms 1s957ms 1s957ms delete from monthly_statement_line where id in (...);-
DELETE FROM monthly_statement_line WHERE id IN (1071428, 1071427, 1071522, 1071429, 1071430, 1071431, 1071433, 1071434, 1071435, 1071436, 1071432, 1071438, 1071439, 1071440, 1071441, 1071442, 1071523, 1071524, 1071437, 1071445, 1071447, 1071448, 1071446, 1071443, 1071444, 1071449, 1071452, 1071450, 1071451, 1071453, 1071457, 1071458, 1071456, 1071455, 1071454, 1071462, 1071463, 1071464, 1071465, 1071466, 1071459, 1071460, 1071461, 1071470, 1071471, 1071467, 1071468, 1071469, 1071472, 1071473, 1071474, 1071476, 1071475, 1071477, 1071478, 1071479, 1071480, 1071481, 1071482, 1071483, 1071485, 1071486, 1071487, 1071484, 1071491, 1071492, 1071488, 1071489, 1071490, 1071493, 1071494, 1071495, 1071496, 1071499, 1071497, 1071498, 1071525, 1071500, 1071501, 1071502, 1071503, 1071504, 1071505, 1071506, 1071507, 1071509, 1071510, 1071511, 1071508, 1071516, 1071517, 1071518, 1071514, 1071513, 1071515, 1071512, 1071519, 1071520, 1071521);
Date: 2024-05-17 11:56:55
8 1 1s902ms 1s902ms 1s902ms 1s902ms update "repair_line" set "qty_delivered_method" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "repair_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (85716, 85717, 85718, 85719, 85720, 85721, 85722, 85723, 85724, 85725, 85726, 85727, 85740, 85741, 85742, 85743, 85744, 85745, 85746, 85747);
Date: 2024-05-17 19:02:48
-
UPDATE "repair_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85728, 85729, 85730, 85731, 85732, 85735, 85736, 85737, 85738, 85739, 82444, 82445, 82446, 82447, 82448, 84726, 84727);
Date: 2024-05-17 19:55:11
-
UPDATE "repair_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 1043, "write_date" = (now() at time zone 'UTC') WHERE id IN (85632, 85633, 85634, 85625, 85626, 85627, 85628, 85629, 85630);
Date: 2024-05-17 19:03:59
9 1 1s591ms 1s591ms 1s591ms 1s591ms update "account_move" set "access_token" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "access_token" = '79cfd34e-ca4d-4aae-bc7a-4b0b8f071d12', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (1417076);
Date: 2024-05-17 13:56:53
Queries that waited the most
Rank Wait time Query 1 1m42s UPDATE "bus_presence" SET "last_poll" = '2024-05-17 13:42:48' WHERE id IN (222);[ Date: 2024-05-17 13:44:31 ]
2 39s625ms UPDATE "bus_presence" SET "last_poll" = '2024-05-17 13:43:52' WHERE id IN (222);[ Date: 2024-05-17 13:44:31 ]
3 10s380ms 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 != 1416763 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 != 1416763 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 13:14:34 ]
4 6s543ms 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 != 1416459 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 != 1416459 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 12:18:43 ]
5 5s941ms 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 != 1416738 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 != 1416738 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 13:09:49 ]
6 5s523ms 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 != 1412820 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 != 1412820 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 12:03:39 ]
7 4s663ms 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 != 1416566 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 != 1416566 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 12:34:14 ]
8 4s389ms 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 != 1159354 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 != 1159354 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 12:24:18 ]
9 3s792ms 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 != 1418261 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 != 1418261 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 18:26:30 ]
10 3s694ms UPDATE "account_move" SET "message_main_attachment_id" = 5426019, "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (1416763);[ Date: 2024-05-17 13:09:49 ]
11 3s566ms 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 != 1229756 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 != 1229756 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 12:25:31 ]
12 3s382ms update product_warehouse_inventory set replenish_branch_id = 41 where id = 65321;[ Date: 2024-05-17 07:59:25 ]
13 3s254ms 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 != 1416898 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 != 1416898 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 13:34:35 ]
14 3s115ms 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 != 1417130 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 != 1417130 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 14:06:47 ]
15 2s737ms UPDATE "stock_picking" SET "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (415184, 415185);[ Date: 2024-05-17 17:55:09 ]
16 2s527ms 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 != 1416677 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 != 1416677 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 12:51:51 ]
17 2s517ms UPDATE "account_move" SET "message_main_attachment_id" = 5426470, "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (1417239);[ Date: 2024-05-17 14:23:25 ]
18 2s517ms 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 != 1412820 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 != 1412820 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 12:03:39 ]
19 2s478ms 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 != 1416468 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 != 1416468 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 12:25:34 ]
20 2s321ms 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 != 1417106 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 != 1417106 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-05-17 14:00:04 ]
-
Queries
Queries by type
Key values
- 69,361 Total read queries
- 14,801 Total write queries
Queries by database
Key values
- unknown Main database
- 84,162 Requests
- 9h9m40s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 84,224 Requests
User Request type Count Duration unknown Total 84,224 9h9m49s copy to 106 14m cte 62 14s664ms delete 429 17m24s insert 654 2m55s select 69,422 6h34m54s update 13,551 2h20s Duration by user
Key values
- 9h9m49s (unknown) Main time consuming user
User Request type Count Duration unknown Total 84,224 9h9m49s copy to 106 14m cte 62 14s664ms delete 429 17m24s insert 654 2m55s select 69,422 6h34m54s update 13,551 2h20s Queries by host
Key values
- unknown Main host
- 84,224 Requests
- 9h9m49s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 84,162 Requests
- 9h9m40s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-05-17 16:09:23 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 65,493 100-500ms duration
Slowest individual queries
Rank Duration Query 1 4m33s COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2024-05-17 09:10:12 ]
2 1m54s COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, ref_id, ref) TO stdout;[ Date: 2024-05-17 09:03:44 ]
3 1m52s SELECT "mail_message".id FROM "mail_message" WHERE ((unaccent ("mail_message"."subject"::text) ilike unaccent ('%LTS Spring Brakes%')) OR (unaccent ("mail_message"."body"::text) ilike unaccent ('%LTS Spring Brakes%'))) ORDER BY "mail_message"."id" DESC LIMIT 80;[ Date: 2024-05-17 15:20:22 ]
4 1m43s COPY public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) TO stdout;[ Date: 2024-05-17 09:05:38 ]
5 1m26s SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (265883)) ORDER BY "item_list_line"."id";[ Date: 2024-05-17 11:33:40 ]
6 42s235ms DELETE FROM account_move_line WHERE id IN (4901072, 4901073, 4901074, 4901075, 4901076, 4901077, 4901078, 4901079, 4901080, 4901081, 4901082, 4901083, 4901084, 4901085, 4901086, 4901087, 4901088, 4901089, 4901090, 4901091, 4901092, 4901093, 4947795, 4947796);[ Date: 2024-05-17 23:50:45 ]
7 42s192ms COPY public.website_track (id, visitor_id, page_id, url, visit_datetime, product_id) TO stdout;[ Date: 2024-05-17 09:13:48 ]
8 41s941ms SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2024-05-17'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2024-05-17'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2024-05-17'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2024-05-17'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;[ Date: 2024-05-17 13:50:22 ]
9 41s789ms SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2024-05-17'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2024-05-17'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2024-05-17'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2024-05-17'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;[ Date: 2024-05-17 13:51:08 ]
10 40s522ms SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2024-05-17'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2024-05-17'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2024-05-17'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2024-05-17'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;[ Date: 2024-05-17 13:47:44 ]
11 39s909ms SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2024-05-17'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2024-05-17'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2024-05-17'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2024-05-17'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;[ Date: 2024-05-17 13:49:37 ]
12 39s48ms DELETE FROM account_move_line WHERE id IN (4869045, 4869046, 4869047, 4869048, 4869049, 4869050, 4869051, 4869052, 4869053, 4869054, 4869055, 4869056, 4869057, 4869058, 4869059, 4869060, 4869061, 4869062, 4869063, 4869064, 4948715, 4948716);[ Date: 2024-05-17 23:54:52 ]
13 38s698ms SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2024-05-17'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2024-05-17'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2024-05-17'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2024-05-17'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;[ Date: 2024-05-17 13:48:26 ]
14 33s824ms SELECT "product_product".id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (("product_product"."id" not in (5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,19544,19545,19546,19547,19548,19549,19550,19551,19552,19553,19554,19555,19556,19557,19558,19559,19560,19561,19562,19563,19564,19565,19566,19567,19568,19569,19570,19571,19572,19573,19574,19575,19576,19577,19578,19579,19580,19581,19582,19583,19584,19585,19586,19587,19588,19589,19590,19591,19592,19593,19594,19595,19596,19597,19598,19599,19600,19601,19602,19603,19604,19605,19606,19607,19608,19609,19610,19611,19612,19613,19614,19615,19616,19617,19618,19619,19620,19621,19622,19623,19624,19625,19626,19627,19628,19629,19630,19631,19632,19633,19634,19635,19636,19637,19638,19639,19640,19641,19642,19643,19644,19645,19646,19647,19648,19649,19650,19651,19652,19653,19654,19655,19656,19657,19658,19659,19660,19661,19662,19663,19664,19665,19666,19667,19668,19669,19670,19671,19672,19673,19674,19675,19676,19677,19678,19679,19680,19681,19682,19683,19684,19685,19686,19687,19688,19689,19690,19691,19692,19693,19694,19695,19696,19697,19698,19699,19700,19701,19702,19703,19704,19705,19706,19707,19708,19709,19710,19711,19712,19713,19714,19715,19716,19717,19718,19719,19720,19721,19722,19723,19724,19725,19726,19727,19728,19729,19730,19731,19732,19733,19734,19735,19736,19737,19738,19739,19740,19741,19742,19743,19744,19745,19746,19747,19748,19749,19750,19751,19752,19753,19754,19755,19756,19757,19758,19759,19760,19761,19762,19763,19764,19765,19766,19767,19768,19769,19770,19771,19772,19773,19774,19775,19776,19777,19778,19779,19780,19781,19782,19783,19784,19785,19786,19787,19788,19789,19790,19791,19792,19793,19794,19795,19796,19797,19798,19799,19800,19801,19802,19803,19804,19805,19806,19807,19808,19809,19810,19811,19812,19813,19814,19815,19816,19817,19818,19819,19820,19821,19822,19823,19824,19825,19826,19827,19828,19829,19830,19831,19832,19833,19834,19835,19836,19837,19838,19839,19840,19841,19842,19843,19844,19845,19846,19847,19848,19849,19850,19851,19852,19853,19854,19855,19856,19857,19858,19859,19860,19861,19862,19863,19864,19865,19866,19867,19868,19869,19870,19871,19872,19873,19874,19875,19876,19877,19878,19879,19880,19881,19882,19883,19884,19885,19886,19887,19888,19889,19890,19891,19892,19893,19894,19895,19896,19897,19898,19899,19900,19901,19902,19903,19904,19905,19906,19907,19908,19909,19910,19911,19912,19913,19914,19915,19916,19917,19918,19919,19920,19921,19922,19923,19924,19925,19926,19927,19928,19929,19930,19931,19932,19933,19934,19935,19936,19937,19938,19939,19940,19941,19942,19943,19944,19945,19946,19947,19948,19949,19950,19951,19952,19953,19954,19955,19956,19957,19958,19959,19960,19961,19962,19963,19964,19965,19966,19967,19968,19969,19970,19971,19972,19973,19974,19975,19976,19977,19978,19979,19980,19981,19982,19983,19984,19985,19986,19987,19988,19989,19990,19991,19992,19993,19994,19995,19996,19997,19998,19999,20000,20001,20002,20003,20004,20005,20006,20007,20008,20009,20010,20011,20012,20013,20014,20015,20016,20017,20018,20019,20020,20021,20022,20023,20024,20025,20026,20027,20028,20029,20030,20031,20032,20033,20034,20035,20036,20037,20038,20039,20040,20041,20042,20043,20044,20045,20046,20047,20048,20049,20050,20051,20052,20053,20054,20055,20056,20057,20058,20059,20060,20061,20062,20063,20064,20065,20066,20067,20068,20069,20070,20071,20072,20073,20074,20075,20076,20077,20078,20079,20080,20081,20082,20083,20084,20085,20086,20087,20088,20089,20090,20091,20092,20093,20094,20095,20096,20097,20098,20099,20100,20101,20102,20103,20104,20105,20106,20107,20108,20109,20110,20111,20112,20113,20114,20115,20116,20117,20118,20119,20120,20121,20122,20123,20124,20125,20126,20127,20128,20129,20130,20131,20132,20133,20134,20135,20136,20137,20138,20139,20140,20141,20142,20143,20144,20145,20146,20147,20148,20149,20150,20151,20152,20153,20154,20155,20156,20157,20158,20159,20160,20161,20162,20163,20164,20165,20166,20167,20168,20169,20170,20171,20172,20173,20174,20175,20176,20177,20178,20179,20180,20181,20182,20183,20184,20185,20186,20187,20188,20189,20190,20191,20192,20193,20194,20195,20196,20197,20198,20199,20200,20201,20202,20203,20204,20205,20206,20207,20208,20209,20210,20211,20212,20213,20214,20215,20216,20217,20218,20219,20220,20221,20222,20223,20224,20225,20226,20227,20228,20229,20230,20231,20232,20233,20234,20235,20236,20237,20238,20239,20240,20241,20242,20243,20244,20245,20246,20247,20248,20249,20250,20251,20252,20253,20254,20255,20256,20257,20258,20259,20260,20261,20262,20263,20264,20265,20266,20267,20268,20269,20270,20271,20272,20273,20274,20275,20276,20277,20278,20279,20280,20281,20282,20283,20284,20285,20286,20287,20288,20289,20290,20291,20292,20293,20294,20295,20296,20297,20298,20299,20300,20301,20302,20303,20304,20305,20306,20307,20308,20309,20310,20311,20312,20313,20314,20315,20316,20317,20318,20319,20320,20321,20322,20323,20324,20325,20326,20327,20328,20329,20330,20331,20332,20333,20334,20335,20336,20337,20338,20339,20340,20341,20342,20343,20344,20345,20346,20347,20348,20349,20350,20351,20352,20353,20354,20355,20356,20357,20358,20359,20360,20361,20362,20363,20364,20365,20366,20367,20368,20369,20370,20371,20372,20373,20374,20375,20376,20377,20378,20379,20380,20381,20382,20383,20384,20385,20386,20387,20388,20389,20390,20391,20392,20393,20394,20395,20396,20397,20398,20399,20400,20401,20402,20403,20404,20405,20406,20407,20408,20409,20410,20411,20412,20413,20414,20415,20416,20417,20418,20419,20420,20421,20422,20423,20424,20425,20426,20427,20428,20429,20430,20431,20432,20433,20434,20435,20436,20437,20438,20439,20440,20441,20442,20443,20444,20445,20446,20447,20448,20449,20450,20451,20452,20453,20454,20455,20456,20457,20458,20459,20460,20461,20462,20463,20464,20465,20466,20467,20468,20469,20470,20471,20472,20473,20474,20475,20476,20477,20478,20479,20480,20481,20482,20483,20484,20485,20486,20487,20488,20489,20490,20491,20492,20493,20494,20495,20496,20497,20498,20499,20500,20501,20502,20503,20504,20505,20506,20507,20508,20509,20510,20511,20512,20513,20514,20515,20516,20517,20518,20519,20520,20521,20522,20523,20524,20525,20526,20527,20528,20529,20530,20531,20532,20533,20534,20535,20536,20537,20538,20539,20540,20541,20542,20543,20544,20545,20546,20547,20548,20549,20550,20551,20552,20553,20554,20555,20556,20557,20558,20559,20560,20561,20562,20563,20564,20565,20566,20567,20568,20569,20570,20571,20572,20573,20574,20575,20576,20577,20578,20579,20580,20581,20582,20583,20584,20585,20586,20587,20588,20589,20590,20591,20592,20593,20594,20595,20596,20597,20598,20599,20600,20601,20602,20603,20604,20605,20606,20607,20608,20609,20610,20611,20612,20613,20614,20615,20616,20617,20618,20619,20620,20621,20622,20623,20624,20625,20626,20627,20628,20629,20630,20631,20632,20633,20634,20635,20636,20637,20638,20639,20640,20641,20642,20643,20644,20645,20646,20647,20648,20649,20650,20651,20652,20653,20654,20655,20656,20657,20658,20659,20660,20661,20662,20663,20664,20665,20666,20667,20668,20669,20670,20671,20672,20673,20674,20675,20676,20677,20678,20679,20680,20681,20682,20683,20684,20685,20686,20687,20688,20689,20690,20691,20692,20693,20694,20695,20696,20697,20698,20699,20700,20701,20702,20703,20704,20705,20706,20707,20708,20709,20710,20711,20712,20713,20714,20715,20716,20717,20718,20719,20720,20721,20722,20723,20724,20725,20726,20727,20728,20729,20730,20731,20732,20733,20734,20735,20736,20737,20738,20739,20740,20741,20742,20743,20744,20745,20746,20747,20748,20749,20750,20751,20752,20753,20754,20755,20756,20757,20758,20759,20760,20761,20762,20763,20764,20765,20766,20767,20768,20769,20770,20771,20772,20773,20774,20775,20776,20777,20778,20779,20780,20781,20782,20783,20784,20785,20786,20787,20788,20789,20790,20791,20792,20793,20794,20795,20796,20797,20798,20799,20800,20801,20802,20803,20804,20805,20806,20807,20808,20809,20810,20811,20812,20813,20814,20815,20816,20817,20818,20819,20820,20821,20822,20823,20824,20825,20826,20827,20828,20829,20830,20831,20832,20833,20834,20835,20836,20837,20838,20839,20840,20841,20842,20843,20844,20845,20846,20847,20848,20849,20850,20851,20852,20853,20854,20855,20856,20857,20858,20859,20860,20861,20862,20863,20864,20865,20866,20867,20868,20869,20870,20871,20872,20873,20874,20875,20876,20877,20878,20879,20880,20881,20882,20883,20884,20885,20886,20887,20888,20889,20890,20891,20892,20893,20894,20895,20896,20897,20898,20899,20900,20901,20902,20903,20904,20905,20906,20907,20908,20909,20910,20911,20912,20913,20914,20915,20916,20917,20918,20919,20920,20921,20922,20923,20924,20925,20926,20927,20928,20929,20930,20931,20932,20933,20934,20935,20936,20937,20938,20939,20940,20941,20942,20943,20944,20945,20946,20947,20948,20949,20950,20951,20952,20953,20954,20955,20956,20957,20958,20959,20960,20961,20962,20963,20964,20965,20966,20967,20968,20969,20970,20971,20972,20973,20974,20975,20976,20977,20978,20979,20980,20981,20982,20983,20984,20985,20986,20987,20988,20989,20990,20991,20992,20993,20994,20995,20996,20997,20998,20999,21000,21001,21002,21003,21004,21005,21006,21007,21008,21009,21010,21011,21012,21013,21014,21015,21016,21017,21018,21019,21020,21021,21022,21023,21024,21025,21026,21027,21028,21029,21030,21031,21032,21033,21034,21035,21036,21037,21038,21039,21040,21041,21042,21043,21044,21045,21046,21047,21048,21049,21050,21051,21052,21053,21054,21055,21056,21057,21058,21059,21060,21061,21062,21063,21064,21065,21066,21067,21068,21069,21070,21071,21072,21073,21074,21075,21076,21077,21078,21079,21080,21081,21082,21083,21084,21085,21086,21087,21088,21089,21090,21091,21092,21093,21094,21095,21096,21097,21098,21099,21100,21101,21102,21103,21104,21105,21106,21107,21108,21109,21110,21111,21112,21113,21114,21115,21116,21117,21118,21119,21120,21121,21122,21123,21124,21125,21126,21127,21128,21129,21130,21131,21132,21133,21134,21135,21136,21137,21138,21139,21140,21141,21142,21143,21144,21145,21146,21147,21148,21149,21150,21151,21152,21153,21154,21155,21156,21157,21158,21159,21160,21161,21162,21163,21164,21165,21166,21167,21168,21169,21170,21171,21172,21173,21174,21175,21176,21177,21178,21179,21180,21181,21182,21183,21184,21185,21186,21187,21188,21189,21190,21191,21192,21193,21194,21195,21196,21197,21198,21199,21200,21201,21202,21203,21204,21205,21206,21207,21208,21209,21210,21211,21212,21213,21214,21215,21216,21217,21218,21219,21220,21221,21222,21223,21224,21225,21226,21227,21228,21229,21230,21231,21232,21233,21234,21235,21236,21237,21238,21239,21240,21241,21242,21243,21244,21245,21246,21247,21248,21249,21250,21251,21252,21253,21254,21255,21256,21257,21258,21259,21260,21261,21262,21263,21264,21265,21266,21267,21268,21269,21270,21271,21272,21273,21274,21275,21276,21277,21278,21279,21280,21281,21282,21283,21284,21285,21286,21287,21288,21289,21290,21291,21292,21293,21294,21295,21296,21297,21298,21299,21300,21301,21302,21303,21304,21305,21306,21307,21308,21309,21310,21311,21312,21313,21314,21315,21316,21317,21318,21319,21320,21321,21322,21323,21324,21325,21326,21327,21328,21329,21330,21331,21332,21333,21334,21335,21336,21337,21338,21339,21340,21341,21342,21343,21344,21345,21346,21347,21348,21349,21350,21351,21352,21353,21354,21355,21356,21357,21358,21359,21360,21361,21362,21363,21364,21365,21366,21367,21368,21369,21370,21371,21372,21373,21374,21375,21376,21377,21378,21379,21380,21381,21382,21383,21384,21385,21386,21387,21388,21389,21390,21391,21392,21393,21394,21395,21396,21397,21398,21399,21400,21401,21402,21403,21404,21405,21406,21407,21408,21409,21410,21411,21412,21413,21414,21415,21416,21417,21418,21419,21420,21421,21422,21423,21424,21425,21426,21427,21428,21429,21430,21431,21432,21433,21434,21435,21436,21437,21438,21439,21440,21441,21442,21443,21444,21445,21446,21447,21448,21449,21450,21451,21452,21453,21454,21455,21456,21457,21458,21459,21460,21461,21462,21463,21464,21465,21466,21467,21468,21469,21470,21471,21472,21473,21474,21475,21476,21477,21478,21479,21480,21481,21482,21483,21484,21485,21486,21487,21488,21489,21490,21491,21492,21493,21494,21495,21496,21497,21498,21499,21500,21501,21502,21503,21504,21505,21506,21507,21508,21509,21510,21511,21512,21513,21514,21515,21516,21517,21518,21519,21520,21521,21522,21523,21524,21525,21526,21527,21528,21529,21530,21531,21532,21533,21534,21535,21536,21537,21538,21539,21540,21541,21542,21543,21544,21545,21546,21547,21548,21549,21550,21551,21552,21553,21554,21555,21556,21557,21558,21559,21560,21561,21562,21563,21564,21565,21566,21567,21568,21569,21570,21571,21572,21573,21574,21575,21576,21577,21578,21579,21580,21581,21582,21583,21584,21585,21586,21587,21588,21589,21590,21591,21592,21593,21594,21595,21596,21597,21598,21599,21600,21601,21602,21603,21604,21605,21606,21607,21608,21609,21610,21611,21612,21613,21614,21615,21616,21617,21618,21619,21620,21621,21622,21623,21624,21625,21626,21627,21628,21629,21630,21631,21632,21633,21634,21635,21636,21637,21638,21639,21640,21641,21642,21643,21644,21645,21646,21647,21648,21649,21650,21651,21652,21653,21654,21655,21656,21657,21658,21659,21660,21661,21662,21663,21664,21665,21666,21667,21668,21669,21670,21671,21672,21673,21674,21675,21676,21677,21678,21679,21680,21681,21682,21683,21684,21685,21686,21687,21688,21689,21690,21691,21692,21693,21694,21695,21696,21697,21698,21699,21700,21701,21702,21703,21704,21705,21706,21707,21708,21709,21710,21711,21712,21713,21714,21715,21716,21717,21718,21719,21720,21721,21722,21723,21724,21725,21726,21727,21728,21729,21730,21731,21732,21733,21734,21735,21736,21737,21738,21739,21740,21741,21742,21743,21744,21745,21746,21747,21748,21749,21750,21751,21752,21753,21754,21755,21756,21757,21758,21759,21760,21761,21762,21763,21764,21765,21766,21767,21768,21769,21770,21771,21772,21773,21774,21775,21776,21777,21778,21779,21780,21781,21782,21783,21784,21785,21786,21787,21788,21789,21790,21791,21792,21793,21794,21795,21796,21797,21798,21799,21800,21801,21802,21803,21804,21805,21806,21807,21808,21809,21810,21811,21812,21813,21814,21815,21816,21817,21818,21819,21820,21821,21822,21823,21824,21825,21826,21827,21828,21829,21830,21831,21832,21833,21834,21835,21836,21837,21838,21839,21840,21841,21842,21843,21844,21845,21846,21847,21848,21849,21850,21851,21852,21853,21854,21855,21856,21857,21858,21859,21860,21861,21862,21863,21864,21865,21866,21867,21868,21869,21870,21871,21872,21873,21874,21875,21876,21877,21878,21879,21880,21881,21882,21883,21884,21885,21886,21887,21888,21889,21890,21891,21892,21893,21894,21895,21896,21897,21898,21899,21900,21901,21902,21903,21904,21905,21906,21907,21908,21909,21910,21911,21912,21913,21914,21915,21916,21917,21918,21919,21920,21921,21922,21923,21924,21925,21926,21927,21928,21929,21930,21931,21932,21933,21934,21935,21936,21937,21938,21939,21940,21941,21942,21943,21944,21945,21946,21947,21948,21949,21950,21951,21952,21953,21954,21955,21956,21957,21958,21959,21960,21961,21962,21963,21964,21965,21966,21967,21968,21969,21970,21971,21972,21973,21974,21975,21976,21977,21978,21979,21980,21981,21982,21983,21984,21985,21986,21987,21988,21989,21990,21991,21992,21993,21994,21995,21996,21997,21998,21999,22000,22001,22002,22003,22004,22005,22006,22007,22008,22009,22010,22011,22012,22013,22014,22015,22016,22017,22018,22019,22020,22021,22022,22023,22024,22025,22026,22027,22028,22029,22030,22031,22032,22033,22034,22035,22036,22037,22038,22039,22040,22041,22042,22043,22044,22045,22046,22047,22048,22049,22050,22051,22052,22053,22054,22055,22056,22057,22058,22059,22060,22061,22062,22063,22064,22065,22066,22067,22068,22069,22070,22071,22072,22073,22074,22075,22076,22077,22078,22079,22080,22081,22082,22083,22084,22085,22086,22087,22088,22089,22090,22091,22092,22093,22094,22095,22096,22097,22098,22099,22100,22101,22102,22103,22104,22105,22106,22107,22108,22109,22110,22111,22112,22113,22114,22115,22116,22117,22118,22119,22120,22121,22122,22123,22124,22125,22126,22127,22128,22129,22130,22131,22132,22133,22134,22135,22136,22137,22138,22139,22140,22141,22142,22143,22144,22145,22146,22147,22148,22149,22150,22151,22152,22153,22154,22155,22156,22157,22158,22159,22160,22161,22162,22163,22164,22165,22166,22167,22168,22169,22170,22171,22172,22173,22174,22175,22176,22177,22178,22179,22180,22181,22182,22183,22184,22185,22186,22187,22188,22189,22190,22191,22192,22193,22194,22195,22196,22197,22198,22199,22200,22201,22202,22203,22204,22205,22206,22207,22208,22209,22210,22211,22212,22213,22214,22215,22216,22217,22218,22219,22220,22221,22222,22223,22224,22225,22226,22227,22228,22229,22230,22231,22232,22233,22234,22235,22236,22237,22238,22239,22240,22241,22242,22243,22244,22245,22246,22247,22248,22249,22250,22251,22252,22253,22254,22255,22256,22257,22258,22259,22260,22261,22262,22263,22264,22265,22266,22267,22268,22269,22270,22271,22272,22273,22274,22275,22276,22277,22278,22279,22280,22281,22282,22283,22284,22285,22286,22287,22288,22289,22290,22291,22292,22293,22294,22295,22296,22297,22298,22299,22300,22301,22302,22303,22304,22305,22306,22307,22308,22309,22310,22311,22312,22313,22314,22315,22316,22317,22318,22319,22320,22321,22322,22323,22324,22325,22326,22327,22328,22329,22330,22331,22332,22333,22334,22335,22336,22337,22338,22339,22340,22341,22342,22343,22344,22345,22346,22347,22348,22349,22350,22351,22352,22353,22354,22355,22356,22357,22358,22359,22360,22361,22362,22363,22364,22365,22366,22367,22368,22369,22370,22371,22372,22373,22374,22375,22376,22377,22378,22379,22380,22381,22382,22383,22384,22385,22386,22387,22388,22389,22390,22391,22392,22393,22394,22395,22396,22397,22398,22399,22400,22401,22402,22403,22404,22405,22406,22407,22408,22409,22410,22411,22412,22413,22414,22415,22416,22417,22418,22419,22420,22421,22422,22423,22424,22425,22426,22427,22428,22429,22430,22431,22432,22433,22434,22435,22436,22437,22438,22439,22440,22441,22442,22443,22444,22445,22446,22447,22448,22449,22450,22451,22452,22453,22454,22455,22456,22457,22458,22459,22460,22461,22462,22463,22464,22465,22466,22467,22468,22469,22470,22471,22472,22473,22474,22475,22476,22477,22478,22479,22480,22481,22482,22483,22484,22485,22486,22487,22488,22489,22490,22491,22492,22493,22494,22495,22496,22497,22498,22499,22500,22501,22502,22503,22504,22505,22506,22507,22508,22509,22510,22511,22512,22513,22514,22515,22516,22517,22518,22519,22520,22521,22522,22523,22524,22525,22526,22527,22528,22529,22530,22531,22532,22533,22534,22535,22536,22537,22538,22539,22540,22541,22542,22543,22544,22545,22546,22547,22548,22549,22550,22551,22552,22553,22554,22555,22556,22557,22558,22559,22560,22561,22562,22563,22564,22565,22566,22567,22568,22569,22570,22571,22572,22573,22574,22575,22576,22577,22578,22579,22580,22581,22582,22583,22584,22585,22586,22587,22588,22589,22590,22591,22592,22593,22594,22595,22596,22597,22598,22599,22600,22601,22602,22603,22604,22605,22606,22607,22608,22609,22610,22611,22612,22613,22614,22615,22616,22617,22618,22619,22620,22621,22622,22623,22624,22625,22626,22627,22628,22629,22630,22631,22632,22633,22634,22635,22636,22637,22638,22639,22640,22641,22642,22643,22644,22645,22646,22647,22648,22649,22650,22651,22652,22653,22654,22655,22656,22657,22658,22659,22660,22661,22662,22663,22664,22665,22666,22667,22668,22669,22670,22671,22672,22673,22674,22675,22676,22677,22678,22679,22680,22681,22682,22683,22684,22685,22686,22687,22688,22689,22690,22691,22692,22693,22694,22695,22696,22697,22698,22699,22700,22701,22702,22703,22704,22705,22706,22707,22708,22709,22710,22711,22712,22713,22714,22715,22716,22717,22718,22719,22720,22721,22722,22723,22724,22725,22726,22727,22728,22729,22730,22731,22732,22733,22734,22735,22736,22737,22738,22739,22740,22741,22742,22743,22744,22745,22746,22747,22748,22749,22750,22751,22752,22753,22754,22755,22756,22757,22758,22759,22760,22761,22762,22763,22764,22765,22766,22767,22768,22769,22770,22771,22772,22773,22774,22775,22776,22777,22778,22779,22780,22781,22782,22783,22784,22785,22786,22787,22788,22789,22790,22791,22792,22793,22794,22795,22796,22797,22798,22799,22800,22801,22802,22803,22804,22805,22806,22807,22808,22809,22810,22811,22812,22813,22814,22815,22816,22817,22818,22819,22820,22821,22822,22823,22824,22825,22826,22827,22828,22829,22830,22831,22832,22833,22834,22835,22836,22837,22838,22839,22840,22841,22842,22843,22844,22845,22846,22847,22848,22849,22850,22851,22852,22853,22854,22855,22856,22857,22858,22859,22860,22861,22862,22863,22864,22865,22866,22867,22868,22869,22870,22871,22872,22873,22874,22875,22876,22877,22878,22879,22880,22881,22882,22883,22884,22885,22886,22887,22888,22889,22890,22891,22892,22893,22894,22895,22896,22897,22898,22899,22900,22901,22902,22903,22904,22905,22906,22907,22908,22909,22910,22911,22912,22913,22914,22915,22916,22917,22918,22919,22920,22921,22922,22923,22924,22925,22926,22927,22928,22929,22930,22931,22932,22933,22934,22935,22936,22937,22938,22939,22940,22941,22942,22943,22944,22945,22946,22947,22948,22949,22950,22951,22952,22953,22954,22955,22956,22957,22958,22959,22960,22961,22962,22963,22964,22965,22966,22967,22968,22969,22970,22971,22972,22973,22974,22975,22976,22977,22978,22979,22980,22981,22982,22983,22984,22985,22986,22987,22988,22989,22990,22991,22992,22993,22994,22995,22996,22997,22998,22999,23000,23001,23002,23003,23004,23005,23006,23007,23008,23009,23010,23011,23012,23013,23014,23015,23016,23017,23018,23019,23020,23021,23022,23023,23024,23025,23026,23027,23028,23029,23030,23031,23032,23033,23034,23035,23036,23037,23038,23039,23040,23041,23042,23043,23044,23045,23046,23047,23048,23049,23050,23051,23052,23053,23054,23055,23056,23057,23058,23059,23060,23061,23062,23063,23064,23065,23066,23067,23068,23069,23070,23071,23072,23073,23074,23075,23076,23077,23078,23079,23080,23081,23082,23083,23084,23085,23086,23087,23088,23089,23090,23091,23092,23093,23094,23095,23096,23097,23098,23099,23100,23101,23102,23103,23104,23105,23106,23107,23108,23109,23110,23111,23112,23113,23114,23115,23116,23117,23118,23119,23120,23121,23122,23123,23124,23125,23126,23127,23128,23129,23130,23131,23132,23133,23134,23135,23136,23137,23138,23139,23140,23141,23142,23143,23144,23145,23146,23147,23148,23149,23150,23151,23152,23153,23154,23155,23156,23157,23158,23159,23160,23161,23162,23163,23164,23165,23166,23167,23168,23169,23170,23171,23172,23173,23174,23175,23176,23177,23178,23179,23180,23181,23182,23183,23184,23185,23186,23187,23188,23189,23190,23191,23192,23193,23194,23195,23196,23197,23198,23199,23200,23201,23202,23203,23204,23205,23206,23207,23208,23209,23210,23211,23212,23213,23214,23215,23216,23217,23218,23219,23220,23221,23222,23223,23224,23225,23226,23227,23228,23229,23230,23231,23232,23233,23234,23235,23236,23237,23238,23239,23240,23241,23242,23243,23244,23245,23246,23247,23248,23249,23250,23251,23252,23253,23254,23255,23256,23257,23258,23259,23260,23261,23262,23263,23264,23265,23266,23267,23268,23269,23270,23271,23272,23273,23274,23275,23276,23277,23278,23279,23280,23281,23282,23283,23284,23285,23286,23287,23288,23289,23290,23291,23292,23293,23294,23295,23296,23297,23298,23299,23300,23301,23302,23303,23304,23305,23306,23307,23308,23309,23310,23311,23312,23313,23314,23315,23316,23317,23318,23319,23320,23321,23322,23323,23324,23325,23326,23327,23328,23329,23330,23331,23332,23333,23334,23335,23336,23337,23338,23339,23340,23341,23342,23343,23344,23345,23346,23347,23348,23349,23350,23351,23352,23353,23354,23355,23356,23357,23358,23359,23360,23361,23362,23363,23364,23365,23366,23367,23368,23369,23370,23371,23372,23373,23374,23375,23376,23377,23378,23379,23380,23381,23382,23383,23384,23385,23386,23387,23388,23389,23390,23391,23392,23393,23394,23395,23396,23397,23398,23399,23400,23401,23402,23403,23404,23405,23406,23407,23408,23409,23410,23411,23412,23413,23414,23415,23416,23417,23418,23419,23420,23421,23422,23423,23424,23425,23426,23427,23428,23429,23430,23431,23432,23433,23434,23435,23436,23437,23438,23439,23440,23441,23442,23443,23444,23445,23446,23447,23448,23449,23450,23451,23452,23453,23454,23455,23456,23457,23458,23459,23460,23461,23462,23463,23464,23465,23466,23467,23468,23469,23470,23471,23472,23473,23474,23475,23476,23477,23478,23479,23480,23481,23482,23483,23484,23485,23486,23487,23488,23489,23490,23491,23492,23493,23494,23495,23496,23497,23498,23499,23500,23501,23502,23503,23504,23505,23506,23507,23508,23509,23510,23511,23512,23513,23514,23515,23516,23517,23518,23519,23520,23521,23522,23523,23524,23525,23526,23527,23528,23529,23530,23531,23532,23533,23534,23535,23536,23537,23538,23539,23540,23541,23542,23543,23544,23545,23546,23547,23548,23549,23550,23551,23552,23553,23554,23555,23556,23557,23558,23559,23560,23561,23562,23563,23564,23565,23566,23567,23568,23569,23570,23571,23572,23573,23574,23575,23576,23577,23578,23579,23580,23581,23582,23583,23584,23585,23586,23587,23588,23589,23590,23591,23592,23593,23594,23595,23596,23597,23598,23599,23600,23601,23602,23603,23604,23605,23606,23607,23608,23609,23610,23611,23612,23613,23614,23615,23616,23617,23618,23619,23620,23621,23622,23623,23624,23625,23626,23627,23628,23629,23630,23631,23632,23633,23634,23635,23636,23637,23638,23639,23640,23641,23642,23643,23644,23645,23646,23647,23648,23649,23650,23651,23652,23653,23654,23655,23656,23657,23658,23659,23660,23661,23662,23663,23664,23665,23666,23667,23668,23669,23670,23671,23672,23673,23674,23675,23676,23677,23678,23679,23680,23681,23682,23683,23684,23685,23686,23687,23688,23689,23690,23691,23692,23693,23694,23695,23696,23697,23698,23699,23700,23701,23702,23703,23704,23705,23706,23707,23708,23709,23710,23711,23712,23713,23714,23715,23716,23717,23718,23719,23720,23721,23722,23723,23724,23725,23726,23727,23728,23729,23730,23731,23732,23733,23734,23735,23736,23737,23738,23739,23740,23741,23742,23743,23744,23745,23746,23747,23748,23749,23750,23751,23752,23753,23754,23755,23756,23757,23758,23759,23760,23761,23762,23763,23764,23765,23766,23767,23768,23769,23770,23771,23772,23773,23774,23775,23776,23777,23778,23779,23780,23781,23782,23783,23784,23785,23786,23787,23788,23789,23790,23791,23792,23793,23794,23795,23796,23797,23798,23799,23800,23801,23802,23803,23804,23805,23806,23807,23808,23809,23810,23811,23812,23813,23814,23815,23816,23817,23818,23819,23820,23821,23822,23823,23824,23825,23826,23827,23828,23829,23830,23831,23832,23833,23834,23835,23836,23837,23838,23839,23840,23841,23842,23843,23844,23845,23846,23847,23848,23849,23850,23851,23852,23853,23854,23855,23856,23857,23858,23859,23860,23861,23862,23863,23864,23865,23866,23867,23868,23869,23870,23871,23872,23873,23874,23875,23876,23877,23878,23879,23880,23881,23882,23883,23884,23885,23886,23887,23888,23889,23890,23891,23892,23893,23894,23895,23896,23897,23898,23899,23900,23901,23902,23903,23904,23905,23906,23907,23908,23909,23910,23911,23912,23913,23914,23915,23916,23917,23918,23919,23920,23921,23922,23923,23924,23925,23926,23927,23928,23929,23930,23931,23932,23933,23934,23935,23936,23937,23938,23939,23940,23941,23942,23943,23944,23945,23946,23947,23948,23949,23950,23951,23952,23953,23954,23955,23956,23957,23958,23959,23960,23961,23962,23963,23964,23965,23966,23967,23968,23969,23970,23971,23972,23973,23974,23975,23976,23977,23978,23979,23980,23981,23982,23983,23984,23985,23986,23987,23988,23989,23990,23991,23992,23993,23994,23995,23996,23997,23998,23999,24000,24001,24002,24003,24004,24005,24006,24007,24008,24009,24010,24011,24012,24013,24014,24015,24016,24017,24018,24019,24020,24021,24022,24023,24024,24025,24026,24027,24028,24029,24030,24031,24032,24033,24034,24035,24036,24037,24038,24039,24040,24041,24042,24043,24044,24045,24046,24047,24048,24049,24050,24051,24052,24053,24054,24055,24056,24057,24058,24059,24060,24061,24062,24063,24064,24065,24066,24067,24068,24069,24070,24071,24072,24073,24074,24075,24076,24077,24078,24079,24080,24081,24082,24083,24084,24085,24086,24087,24088,24089,24090,24091,24092,24093,24094,24095,24096,24097,24098,24099,24100,24101,24102,24103,24104,24105,24106,24107,24108,24109,24110,24111,24112,24113,24114,24115,24116,24117,24118,24119,24120,24121,24122,24123,24124,24125,24126,24127,24128,24129,24130,24131,24132,24133,24134,24135,24136,24137,24138,24139,24140,24141,24142,24143,24144,24145,24146,24147,24148,24149,24150,24151,24152,24153,24154,24155,24156,24157,24158,24159,24160,24161,24162,24163,24164,24165,24166,24167,24168,24169,24170,24171,24172,24173,24174,24175,24176,24177,24178,24179,24180,24181,24182,24183,24184,24185,24186,24187,24188,24189,24190,24191,24192,24193,24194,24195,24196,24197,24198,24199,24200,24201,24202,24203,24204,24205,24206,24207,24208,24209,24210,24211,24212,24213,24214,24215,24216,24217,24218,24219,24220,24221,24222,24223,24224,24225,24226,24227,24228,24229,24230,24231,24232,24233,24234,24235,24236,24237,24238,24239,24240,24241,24242,24243,24244,24245,24246,24247,24248,24249,24250,24251,24252,24253,24254,24255,24256,24257,24258,24259,24260,24261,24262,24263,24264,24265,24266,24267,24268,24269,24270,24271,24272,24273,24274,24275,24276,24277,24278,24279,24280,24281,24282,24283,24284,24285,24286,24287,24288,24289,24290,24291,24292,24293,24294,24295,24296,24297,24298,24299,24300,24301,24302,24303,24304,24305,24306,24307,24308,24309,24310,24311,24312,24313,24314,24315,24316,24317,24318,24319,24320,24321,24322,24323,24324,24325,24326,24327,24328,24329,24330,24331,24332,24333,24334,24335,24336,24337,24338,24339,24340,24341,24342,24343,24344,24345,24346,24347,24348,24349,24350,24351,24352,24353,24354,24355,24356,24357,24358,24359,24360,24361,24362,24363,24364,24365,24366,24367,24368,24369,24370,24371,24372,24373,24374,24375,24376,24377,24378,24379,24380,24381,24382,24383,24384,24385,24386,24387,24388,24389,24390,24391,24392,24393,24394,24395,24396,24397,24398,24399,24400,24401,24402,24403,24404,24405,24406,24407,24408,24409,24410,24411,24412,24413,24414,24415,24416,24417,24418,24419,24420,24421,24422,24423,24424,24425,24426,24427,24428,24429,24430,24431,24432,24433,24434,24435,24436,24437,24438,24439,24440,24441,24442,24443,24444,24445,24446,24447,24448,24449,24450,24451,24452,24453,24454,24455,24456,24457,24458,24459,24460,24461,24462,24463,24464,24465,24466,24467,24468,24469,24470,24471,24472,24473,24474,24475,24476,24477,24478,24479,24480,24481,24482,24483,24484,24485,24486,24487,24488,24489,24490,24491,24492,24493,24494,24495,24496,24497,24498,24499,24500,24501,24502,24503,24504,24505,24506,24507,24508,24509,24510,24511,24512,24513,24514,24515,24516,24517,24518,24519,24520,24521,24522,24523,24524,24525,24526,24527,24528,24529,24530,24531,24532,24533,24534,24535,24536,24537,24538,24539,24540,24541,24542,24543,24544,24545,24546,24547,24548,24549,24550,24551,24552,24553,24554,24555,24556,24557,24558,24559,24560,24561,24562,24563,24564,24565,24566,24567,24568,24569,24570,24571,24572,24573,24574,24575,24576,24577,24578,24579,24580,24581,24582,24583,24584,24585,24586,24587,24588,24589,24590,24591,24592,24593,24594,24595,24596,24597,24598,24599,24600,24601,24602,24603,24604,24605,24606,24607,24608,24609,24610,24611,24612,24613,24614,24615,24616,24617,24618,24619,24620,24621,24622,24623,24624,24625,24626,24627,24628,24629,24630,24631,24632,24633,24634,24635,24636,24637,24638,24639,24640,24641,24642,24643,24644,24645,24646,24647,24648,24649,24650,24651,24652,24653,24654,24655,24656,24657,24658,24659,24660,24661,24662,24663,24664,24665,24666,24667,24668,24669,24670,24671,24672,24673,24674,24675,24676,24677,24678,24679,24680,24681,24682,24683,24684,24685,24686,24687,24688,24689,24690,24691,24692,24693,24694,24695,24696,24697,24698,24699,24700,24701,24702,24703,24704,24705,24706,24707,24708,24709,24710,24711,24712,24713,24714,24715,24716,24717,24718,24719,24720,24721,24722,24723,24724,24725,24726,24727,24728,24729,24730,24731,24732,24733,24734,24735,24736,24737,24738,24739,24740,24741,24742,24743,24744,24745,24746,24747,24748,24749,24750,24751,24752,24753,24754,24755,24756,24757,24758,24759,24760,24761,24762,24763,24764,24765,24766,24767,24768,24769,24770,24771,24772,24773,24774,24775,24776,24777,24778,24779,24780,24781,24782,24783,24784,24785,24786,24787,24788,24789,24790,24791,24792,24793,24794,24795,24796,24797,24798,24799,24800,24801,24802,24803,24804,24805,24806,24807,24808,24809,24810,24811,24812,24813,24814,24815,24816,24817,24819,24820,24821,24822,24823,24824,24825,24826,24827,24828,24829,24830,24831,24832,24833,24834,24835,24836,24837,24838,24839,24840,24841,24842,24843,24844,24845,24846,24847,24848,24849,24850,24851,24852,24853,24854,24855,24856,24857,24858,24859,24860,24861,24862,24863,24864,24865,24866,24867,24868,24869,24870,24871,24872,24873,24874,24875,24876,24877,24878,24879,24880,24881,24882,24883,24884,24885,24886,24887,24888,24889,24890,24891,24892,24893,24894,24895,24896,24897,24898,24899,24900,24901,24902,24903,24904,24905,24906,24907,24908,24909,24910,24911,24912,24913,24914,24915,24916,24917,24918,24919,24920,24921,24922,24923,24924,24925,24926,24927,24928,24929,24930,24931,24932,24933,24934,24935,24936,24937,24938,24939,24940,24941,24942,24943,24944,24945,24946,24947,24948,24949,24950,24951,24952,24953,24954,24955,24956,24957,24958,24959,24960,24961,24962,24963,24964,24965,24966,24967,24968,24969,24970,24971,24972,24973,24974,24975,24976,24977,24978,24979,24980,24981,24982,24983,24984,24985,24986,24987,24988,24989,24990,24991,24992,24993,24994,24995,24996,24997,24998,24999,25000,25001,25002,25003,25004,25005,25006,25007,25008,25009,25010,25011,25012,25013,25014,25015,25016,25017,25018,25019,25020,25021,25022,25023,25024,25025,25026,25027,25028,25029,25030,25031,25032,25033,25034,25035,25036,25037,25038,25039,25040,25041,25042,25043,25044,25045,25046,25047,25048,25049,25050,25051,25052,25053,25054,25055,25056,25057,25058,25059,25060,25061,25062,25063,25064,25065,25066,25067,25068,25069,25070,25071,25072,25073,25074,25075,25076,25077,25078,25079,25080,25081,25082,25083,25084,25085,25086,25087,25088,25089,25090,25091,25092,25093,25094,25095,25096,25097,25098,25099,25100,25101,25102,25103,25104,25105,25106,25107,25108,25109,25110,25111,25112,25113,25114,25115,25116,25117,25118,25119,25120,25121,25122,25123,25124,25125,25126,25127,25128,25129,25130,25131,25132,25133,25134,25135,25136,25137,25138,25139,25140,25141,25142,25143,25144,25145,25146,25147,25148,25149,25150,25151,25152,25153,25154,25155,25156,25157,25158,25159,25160,25161,25162,25163,25164,25165,25166,25167,25168,25169,25170,25171,25172,25173,25174,25175,25176,25177,25178,25179,25180,25181,25182,25183,25184,25185,25186,25187,25188,25189,25190,25191,25192,25193,25194,25195,25196,25197,25198,25199,25200,25201,25202,25203,25204,25205,25206,25207,25208,25209,25210,25211,25212,25213,25214,25215,25216,25217,25218,25219,25220,25221,25222,25223,25224,25225,25226,25227,25228,25229,25230,25231,25232,25233,25234,25235,25236,25237,25238,25239,25240,25241,25242,25243,25244,25245,25246,25247,25248,25249,25250,25251,25252,25253,25254,25255,25256,25257,25258,25259,25260,25261,25262,25263,25264,25265,25266,25267,25268,25269,25270,25271,25272,25273,25274,25275,25276,25277,25278,25279,25280,25281,25282,25283,25284,25285,25286,25287,25288,25289,25290,25291,25292,25293,25294,25295,25296,25297,25298,25299,25300,25301,25302,25303,25304,25305,25306,25307,25308,25309,25310,25311,25312,25313,25314,25315,25316,25317,25318,25319,25320,25321,25322,25323,25324,25325,25326,25327,25328,25329,25330,25331,25332,25333,25334,25335,25336,25337,25338,25339,25340,25341,25342,25343,25344,25345,25346,25347,25348,25349,25350,25351,25352,25353,25354,25355,25356,25357,25358,25359,25360,25361,25362,25363,25364,25365,25366,25367,25368,25369,25370,25371,25372,25373,25374,25375,25376,25377,25378,25379,25380,25381,25382,25383,25384,25385,25386,25387,25388,25389,25390,25391,25392,25393,25394,25395,25396,25397,25398,25399,25400,25401,25402,25403,25404,25405,25406,25407,25408,25409,25410,25411,25412,25413,25414,25415,25416,25417,25418,25419,25420,25421,25422,25423,25424,25425,25426,25427,25428,25429,25430,25431,25432,25433,25434,25435,25436,25437,25438,25439,25440,25441,25442,25443,25444,25445,25446,25447,25448,25449,25450,25451,25452,25453,25454,25455,25456,25457,25458,25459,25460,25461,25462,25463,25464,25465,25466,25467,25468,25469,25470,25471,25472,25473,25474,25475,25476,25477,25478,25479,25480,25481,25482,25483,25484,25485,25486,25487,25488,25489,25490,25491,25492,25493,25494,25495,25496,25497,25498,25499,25500,25501,25502,25503,25504,25505,25506,25507,25508,25509,25510,25511,25512,25513,25514,25515,25516,25517,25518,25519,25520,25521,25522,25523,25524,25525,25526,25527,25528,25529,25530,25531,25532,25533,25534,25535,25536,25537,25538,25539,25540,25541,25542,25543,25544,25545,25546,25547,25548,25549,25550,25551,25552,25553,25554,25555,25556,25557,25558,25559,25560,25561,25562,25563,25564,25565,25566,25567,25568,25569,25570,25571,25572,25573,25574,25575,25576,25577,25578,25579,25580,25581,25582,25583,25584,25585,25586,25587,25588,25589,25590,25591,25592,25593,25594,25595,25596,25597,25598,25599,25600,25601,25602,25603,25604,25605,25606,25607,25608,25609,25610,25611,25612,25613,25614,25615,25616,25617,25618,25619,25620,25621,25622,25623,25624,25625,25626,25627,25628,25629,25630,25631,25632,25633,25634,25635,25636,25637,25638,25639,25640,25641,25642,25643,25644,25645,25646,25647,25648,25649,25650,25651,25652,25653,25654,25655,25656,25657,25658,25659,25660,25661,25662,25663,25664,25665,25666,25667,25668,25669,25670,25671,25672,25673,25674,25675,25676,25677,25678,25679,25680,25681,25682,25683,25684,25685,25686,25687,25688,25689,25690,25691,25692,25693,25694,25695,25696,25697,25698,25699,25700,25701,25702,25703,25704,25705,25706,25707,25708,25709,25710,25711,25712,25713,25714,25715,25716,25717,25718,25719,25720,25721,25722,25723,25724,25725,25726,25727,25728,25729,25730,25731,25732,25733,25734,25735,25736,25737,25738,25739,25740,25741,25742,25743,25744,25745,25746,25747,25748,25749,25750,25751,25752,25753,25754,25755,25756,25757,25758,25759,25760,25761,25762,25763,25764,25765,25766,25767,25768,25769,25770,25771,25772,25774,25775,25776,25777,25778,25779,25780,25781,25782,25783,25784,25785,25786,25787,25788,25789,25790,25791,25792,25793,25794,25795,25796,25797,25798,25799,25800,25801,25802,25803,25804,25805,25806,25807,25808,25809,25810,25811,25812,25813,25814,25815,25816,25817,25818,25819,25820,25821,25822,25823,25824,25825,25826,25827,25828,25829,25830,25831,25832,25833,25834,25835,25836,25837,25838,25839,25840,25841,25842,25843,25844,25845,25846,25847,25848,25849,25850,25851,25852,25853,25854,25855,25856,25857,25858,25859,25860,25861,25862,25863,25864,25865,25866,25867,25868,25869,25870,25871,25872,25873,25874,25875,25876,25877,25878,25879,25880,25881,25882,25883,25884,25885,25886,25887,25888,25889,25890,25891,25892,25893,25894,25895,25896,25897,25898,25899,25900,25901,25902,25903,25904,25905,25906,25907,25908,25909,25910,25911,25912,25913,25914,25915,25916,25917,25918,25919,25920,25921,25922,25923,25924,25925,25926,25927,25928,25929,25930,25931,25932,25933,25934,25935,25936,25937,25938,25939,25940,25941,25942,25943,25944,25945,25946,25947,25948,25949,25950,25951,25952,25953,25954,25955,25956,25957,25958,25959,25960,25961,25962,25963,25964,25965,25966,25967,25968,25969,25970,25971,25972,25973,25974,25975,25976,25977,25978,25979,25980,25981,25982,25983,25984,25985,25986,25987,25988,25989,25990,25991,25992,25993,25994,25995,25996,25997,25998,25999,26000,26001,26002,26003,26004,26005,26006,26007,26008,26009,26010,26011,26012,26013,26014,26015,26016,26017,26018,26019,26020,26021,26022,26023,26024,26025,26026,26027,26028,26029,26030,26031,26032,26033,26034,26035,26036,26037,26038,26039,26040,26041,26042,26043,26044,26045,26046,26047,26048,26049,26050,26051,26052,26053,26054,26055,26056,26057,26058,26059,26060,26061,26062,26063,26064,26065,26066,26067,26068,26069,26070,26071,26072,26073,26074,26075,26076,26077,26078,26079,26080,26081,26082,26083,26084,26085,26086,26087,26088,26089,26090,26091,26092,26093,26094,26095,26096,26097,26098,26099,26100,26101,26102,26103,26104,26105,26106,26107,26108,26109,26110,26111,26112,26113,26114,26115,26116,26117,26118,26119,26120,26121,26122,26123,26124,26125,26126,26127,26128,26129,26130,26131,26132,26133,26134,26135,26136,26137,26138,26139,26140,26141,26142,26143,26144,26145,26146,26147,26148,26149,26150,26151,26152,26153,26154,26155,26156,26157,26158,26159,26160,26161,26162,26163,26164,26165,26166,26167,26168,26169,26170,26171,26172,26173,26174,26175,26176,26177,26178,26179,26180,26181,26182,26183,26184,26185,26186,26187,26188,26189,26190,26191,26192,26193,26194,26195,26196,26197,26198,26199,26200,26201,26202,26203,26204,26205,26206,26207,26208,26209,26210,26211,26212,26213,26214,26215,26216,26217,26218,26219,26220,26221,26222,26223,26224,26225,26226,26227,26228,26229,26230,26231,26232,26233,26234,26235,26236,26237,26238,26239,26240,26241,26242,26243,26244,26245,26246,26247,26248,26249,26250,26251,26252,26253,26254,26255,26256,26257,26258,26259,26260,26261,26262,26263,26264,26265,26266,26267,26268,26269,26270,26271,26272,26273,26274,26275,26276,26277,26278,26279,26280,26281,26282,26283,26284,26285,26286,26287,26288,26289,26290,26291,26292,26293,26294,26295,26296,26297,26298,26299,26300,26301,26302,26303,26304,26305,26306,26307,26308,26309,26310,26311,26312,26313,26314,26315,26316,26317,26318,26319,26320,26321,26322,26323,26324,26325,26326,26327,26328,26329,26330,26331,26332,26333,26334,26335,26336,26337,26338,26339,26340,26341,26342,26343,26344,26345,26346,26347,26348,26349,26350,26351,26352,26353,26354,26355,26356,26357,26358,26359,26360,26361,26362,26363,26364,26365,26366,26367,26368,26369,26370,26371,26372,26373,26374,26375,26376,26377,26378,26379,26380,26381,26382,26383,26384,26385,26386,26387,26388,26389,26390,26391,26392,26393,26394,26395,26396,26397,26398,26399,26400,26401,26402,26403,26404,26405,26406,26407,26408,26409,26410,26411,26412,26413,26414,26415,26416,26417,26418,26419,26420,26421,26422,26423,26424,26425,26426,26427,26428,26429,26430,26431,26432,26433,26434,26435,26436,26437,26438,26439,26440,26441,26442,26443,26444,26445,26446,26447,26448,26449,26450,26451,26452,26453,26454,26455,26456,26457,26458,26459,26460,26461,26462,26463,26464,26465,26466,26467,26468,26469,26470,26471,26472,26473,26474,26475,26476,26477,26478,26479,26480,26481,26482,26483,26484,26485,26486,26487,26488,26489,26490,26491,26492,26493,26494,26495,26496,26497,26498,26499,26500,26501,26502,26503,26504,26505,26506,26507,26508,26509,26510,26511,26512,26513,26514,26515,26516,26517,26518,26519,26520,26521,26522,26523,26524,26525,26526,26527,26528,26529,26530,26531,26532,26533,26534,26535,26536,26537,26538,26539,26540,26541,26542,26543,26544,26545,26546,26547,26548,26549,26550,26551,26552,26553,26554,26555,26556,26557,26558,26559,26560,26561,26562,26563,26564,26565,26566,26567,26568,26569,26570,26571,26572,26573,26574,26575,26576,26577,26578,26579,26580,26581,26582,26583,26584,26585,26586,26587,26588,26589,26590,26591,26592,26593,26594,26595,26596,26597,26598,26599,26600,26601,26602,26603,26604,26605,26606,26607,26608,26609,26610,26611,26612,26613,26614,26615,26616,26617,26618,26619,26620,26621,26622,26623,26624,26625,26626,26627,26628,26629,26630,26631,26632,26633,26634,26635,26636,26637,26638,26639,26640,26641,26642,26643,26644,26645,26646,26647,26648,26649,26650,26651,26652,26653,26654,26655,26656,26657,26658,26659,26660,26661,26662,26663,26664,26665,26666,26667,26668,26669,26670,26671,26672,26673,26674,26675,26676,26677,26678,26679,26680,26681,26682,26683,26684,26685,26686,26687,26688,26689,26690,26691,26692,26693,26694,26695,26696,26697,26698,26699,26700,26701,26702,26703,26704,26705,26706,26707,26708,26709,26710,26711,26712,26713,26714,26715,26716,26717,26718,26719,26720,26721,26722,26723,26724,26725,26726,26727,26728,26729,26730,26731,26732,26733,26734,26735,26736,26737,26738,26739,26740,26741,26742,26743,26744,26745,26746,26747,26748,26749,26750,26751,26752,26753,26754,26755,26756,26757,26758,26759,26760,26761,26762,26763,26764,26765,26766,26767,26768,26769,26770,26771,26772,26773,26774,26775,26776,26777,26778,26779,26780,26781,26782,26783,26784,26785,26786,26787,26788,26789,26790,26791,26792,26793,26794,26795,26796,26797,26798,26799,26800,26801,26802,26803,26804,26805,26806,26807,26808,26809,26810,26811,26812,26813,26814,26815,26816,26817,26818,26819,26820,26821,26822,26823,26824,26825,26826,26827,26828,26829,26830,26831,26832,26833,26834,26835,26836,26837,26838,26839,26840,26841,26842,26843,26844,26845,26846,26847,26848,26849,26850,26851,26852,26853,26854,26855,26856,26857,26858,26859,26860,26861,26862,26863,26864,26865,26866,26867,26868,26869,26870,26871,26872,26873,26874,26875,26876,26877,26878,26879,26880,26881,26882,26883,26884,26885,26886,26887,26888,26889,26890,26891,26892,26893,26894,26895,26896,26897,26898,26899,26900,26901,26902,26903,26904,26905,26906,26907,26908,26909,26910,26911,26912,26913,26914,26915,26916,26917,26918,26919,26920,26921,26922,26923,26924,26925,26926,26927,26928,26929,26930,26931,26932,26933,26934,26935,26936,26937,26938,26939,26940,26941,26942,26943,26944,26945,26946,26947,26948,26949,26950,26951,26952,26953,26954,26955,26956,26957,26958,26959,26960,26961,26962,26963,26964,26965,26966,26967,26968,26969,26970,26971,26972,26973,26974,26975,26976,26977,26978,26979,26980,26981,26982,26983,26984,26985,26986,26987,26988,26989,26990,26991,26992,26993,26994,26995,26996,26997,26998,26999,27000,27001,27002,27003,27004,27005,27006,27007,27008,27009,27010,27011,27012,27013,27014,27015,27016,27017,27018,27019,27020,27021,27022,27023,27024,27025,27026,27027,27028,27029,27030,27031,27032,27033,27034,27035,27036,27037,27038,27039,27040,27041,27042,27043,27044,27045,27046,27047,27048,27049,27050,27051,27052,27053,27054,27055,27056,27057,27058,27059,27060,27061,27062,27063,27064,27065,27066,27067,27068,27069,27070,27071,27072,27073,27074,27075,27076,27077,27078,27079,27080,27081,27082,27083,27084,27085,27086,27087,27088,27089,27090,27091,27092,27093,27094,27095,27096,27097,27098,27099,27100,27101,27102,27103,27104,27105,27106,27107,27108,27109,27110,27111,27112,27113,27114,27115,27116,27117,27118,27119,27120,27121,27122,27123,27124,27125,27126,27127,27128,27129,27130,27131,27132,27133,27134,27135,27136,27137,27138,27139,27140,27141,27142,27143,27144,27145,27146,27147,27148,27149,27150,27151,27152,27153,27154,27155,27156,27157,27158,27159,27160,27161,27162,27163,27164,27165,27166,27167,27168,27169,27170,27171,27172,27173,27174,27175,27176,27177,27178,27179,27180,27181,27182,27183,27184,27185,27186,27187,27188,27189,27190,27191,27192,27193,27194,27195,27196,27197,27198,27199,27200,27201,27202,27203,27204,27205,27206,27207,27208,27209,27210,27211,27212,27213,27214,27215,27216,27217,27218,27219,27220,27221,27222,27223,27224,27225,27226,27227,27228,27229,27230,27231,27232,27233,27234,27235,27236,27237,27238,27239,27240,27241,27242,27243,27244,27245,27246,27247,27248,27249,27250,27251,27252,27253,27254,27255,27256,27257,27258,27259,27260,27261,27262,27263,27264,27265,27266,27267,27268,27269,27270,27271,27272,27273,27274,27275,27276,27277,27278,27279,27280,27281,27282,27283,27284,27285,27286,27287,27288,27289,27290,27291,27292,27293,27294,27295,27296,27297,27298,27299,27300,27301,27302,27303,27304,27305,27306,27307,27308,27309,27310,27311,27312,27313,27314,27315,27316,27317,27318,27319,27320,27321,27322,27323,27324,27325,27326,27327,27328,27329,27330,27331,27332,27333,27334,27335,27336,27337,27338,27339,27340,27341,27342,27343,27344,27345,27346,27347,27348,27349,27350,27351,27352,27353,27354,27355,27356,27357,27358,27359,27360,27361,27362,27363,27364,27365,27366,27367,27368,27369,27370,27371,27372,27373,27374,27375,27376,27377,27378,27379,27380,27381,27382,27383,27384,27385,27386,27387,27388,27389,27390,27391,27392,27393,27394,27395,27396,27397,27398,27399,27400,27401,27402,27403,27404,27405,27406,27407,27408,27409,27410,27411,27412,27413,27414,27415,27416,27417,27418,27419,27420,27421,27422,27423,27424,27425,27426,27427,27428,27429,27430,27431,27432,27433,27434,27435,27436,27437,27438,27439,27440,27441,27442,27443,27444,27445,27446,27447,27448,27449,27450,27451,27452,27453,27454,27455,27456,27457,27458,27459,27460,27461,27462,27463,27464,27465,27466,27467,27468,27469,27470,27471,27472,27473,27474,27475,27476,27477,27478,27479,27480,27481,27482,27483,27484,27485,27486,27487,27488,27489,27490,27491,27492,27493,27494,27495,27496,27497,27498,27499,27500,27501,27502,27503,27504,27505,27506,27507,27508,27509,27510,27511,27512,27513,27514,27515,27516,27517,27518,27519,27520,27521,27522,27523,27524,27525,27526,27527,27528,27529,27530,27531,27532,27533,27534,27535,27536,27537,27538,27539,27540,27541,27542,27543,27544,27545,27546,27547,27548,27549,27550,27551,27552,27553,27554,27555,27556,27557,27558,27559,27560,27561,27562,27563,27564,27565,27566,27567,27568,27569,27570,27571,27572,27573,27574,27575,27576,27577,27578,27579,27580,27581,27582,27583,27584,27585,27586,27587,27588,27589,27590,27591,27592,27593,27594,27595,27596,27597,27598,27599,27600,27601,27602,27603,27604,27605,27606,27607,27608,27609,27610,27611,27612,27613,27614,27615,27616,27617,27618,27619,27620,27621,27622,27623,27624,27625,27626,27627,27628,27629,27630,27631,27632,27633,27634,27635,27636,27637,27638,27639,27640,27641,27642,27643,27644,27645,27646,27647,27648,27649,27650,27651,27652,27653,27654,27655,27656,27657,27658,27659,27660,27661,27662,27663,27664,27665,27666,27667,27668,27669,27670,27671,27672,27673,27674,27675,27676,27677,27678,27679,27680,27681,27682,27683,27684,27685,27686,27687,27688,27689,27690,27691,27692,27693,27694,27695,27696,27697,27698,27699,27700,27701,27702,27703,27704,27705,27706,27707,27708,27709,27710,27711,27712,27713,27714,27715,27716,27717,27718,27719,27720,27721,27722,27723,27724,27725,27726,27727,27728,27729,27730,27731,27732,27733,27734,27735,27736,27737,27738,27739,27740,27741,27742,27743,27744,27745,27746,27747,27748,27749,27750,27751,27752,27753,27754,27755,27756,27757,27758,27759,27760,27761,27762,27763,27764,27765,27766,27767,27768,27769,27770,27771,27772,27773,27774,27775,27776,27777,27778,27779,27780,27781,27782,27783,27784,27785,27786,27787,27788,27789,27790,27791,27792,27793,27794,27795,27796,27797,27798,27799,27800,27801,27802,27803,27804,27805,27806,27807,27808,27809,27810,27811,27812,27813,27814,27815,27816,27817,27818,27819,27820,27821,27822,27823,27824,27825,27826,27827,27828,27829,27830,27831,27832,27833,27834,27835,27836,27837,27838,27839,27840,27841,27842,27843,27844,27845,27846,27847,27848,27849,27850,27851,27852,27853,27854,27855,27856,27857,27858,27859,27860,27861,27862,27863,27864,27865,27866,27867,27868,27869,27870,27871,27872,27873,27874,27875,27876,27877,27878,27879,27880,27881,27882,27883,27884,27885,27886,27887,27888,27889,27890,27891,27892,27893,27894,27895,27896,27897,27898,27899,27900,27901,27902,27903,27904,27905,27906,27907,27908,27909,27910,27911,27912,27913,27914,27915,27916,27917,27918,27919,27920,27921,27922,27923,27924,27925,27926,27927,27928,27929,27930,27931,27932,27933,27934,27935,27936,27937,27938,27939,27940,27941,27942,27943,27944,27945,27946,27947,27948,27949,27950,27951,27952,27953,27954,27955,27956,27957,27958,27959,27960,27961,27962,27963,27964,27965,27966,27967,27968,27969,27970,27971,27972,27973,27974,27975,27976,27977,27978,27979,27980,27981,27982,27983,27984,27985,27986,27987,27988,27989,27990,27991,27992,27993,27994,27995,27996,27997,27998,27999,28000,28001,28002,28003,28004,28005,28006,28007,28008,28009,28010,28011,28012,28013,28014,28015,28016,28017,28018,28019,28020,28021,28022,28023,28024,28025,28026,28027,28028,28029,28030,28031,28032,28033,28034,28035,28036,28037,28038,28039,28040,28041,28042,28043,28044,28045,28046,28047,28048,28049,28050,28051,28052,28053,28054,28055,28056,28057,28058,28059,28060,28061,28062,28063,28064,28065,28066,28067,28068,28069,28070,28071,28072,28073,28074,28075,28076,28077,28078,28079,28080,28081,28082,28083,28084,28085,28086,28087,28088,28089,28090,28091,28092,28093,28094,28095,28096,28097,28098,28099,28100,28101,28102,28103,28104,28105,28106,28107,28108,28109,28110,28111,28112,28113,28114,28115,28116,28117,28118,28119,28120,28121,28122,28123,28124,28125,28126,28127,28128,28129,28130,28131,28132,28133,28134,28135,28136,28137,28138,28139,28140,28141,28142,28143,28144,28145,28146,28147,28148,28149,28150,28151,28152,28153,28154,28155,28156,28157,28158,28159,28160,28161,28162,28163,28164,28165,28166,28167,28168,28169,28170,28171,28172,28173,28174,28175,28176,28177,28178,28179,28180,28181,28182,28183,28184,28185,28186,28187,28188,28189,28190,28191,28192,28193,28194,28195,28196,28197,28198,28199,28200,28201,28202,28203,28204,28205,28206,28207,28208,28209,28210,28211,28212,28213,28214,28215,28216,28217,28218,28219,28220,28221,28222,28223,28224,28225,28226,28227,28228,28229,28230,28231,28232,28233,28234,28235,28236,28237,28238,28239,28240,28241,28242,28243,28244,28245,28246,28247,28248,28249,28250,28251,28252,28253,28254,28255,28256,28257,28258,28259,28260,28261,28262,28263,28264,28265,28266,28267,28268,28269,28270,28271,28272,28273,28274,28275,28276,28277,28278,28279,28280,28281,28282,28283,28284,28285,28286,28287,28288,28289,28290,28291,28292,28293,28294,28295,28296,28297,28298,28299,28300,28301,28302,28303,28304,28305,28306,28307,28308,28309,28310,28311,28312,28313,28314,28315,28316,28317,28318,28319,28320,28321,28322,28323,28324,28325,28326,28327,28328,28329,28330,28331,28332,28333,28334,28335,28336,28337,28338,28339,28340,28341,28342,28343,28344,28345,28346,28347,28348,28349,28350,28351,28352,28353,28354,28355,28356,28357,28358,28359,28360,28361,28362,28363,28364,28365,28366,28367,28368,28369,28370,28371,28372,28373,28374,28375,28376,28377,28378,28379,28380,28381,28382,28383,28384,28385,28386,28387,28388,28389,28390,28391,28392,28393,28394,28395,28396,28397,28398,28399,28400,28401,28402,28403,28404,28405,28406,28407,28408,28409,28410,28411,28412,28413,28414,28415,28416,28417,28418,28419,28420,28421,28422,28423,28424,28425,28426,28427,28428,28429,28430,28431,28432,28433,28434,28435,28436,28437,28438,28439,28440,28441,28442,28443,28444,28445,28446,28447,28448,28449,28450,28451,28452,28453,28454,28455,28456,28457,28458,28459,28460,28461,28462,28463,28464,28465,28466,28467,28468,28469,28470,28471,28472,28473,28474,28475,28476,28477,28478,28479,28480,28481,28482,28483,28484,28485,28486,28487,28488,28489,28490,28491,28492,28493,28494,28495,28496,28497,28498,28499,28500,28501,28502,28503,28504,28505,28506,28507,28508,28509,28510,28511,28512,28513,28514,28515,28516,28517,28518,28519,28520,28521,28522,28523,28524,28525,28526,28527,28528,28529,28530,28531,28532,28533,28534,28535,28536,28537,28538,28539,28540,28541,28542,28543,28544,28545,28546,28547,28548,28549,28550,28551,28552,28553,28554,28555,28556,28557,28558,28559,28560,28561,28562,28563,28564,28565,28566,28567,28568,28569,28570,28571,28572,28573,28574,28575,28576,28577,28578,28579,28580,28581,28582,28583,28584,28585,28586,28587,28588,28589,28590,28591,28592,28593,28594,28595,28596,28597,28598,28599,28600,28601,28602,28603,28604,28605,28606,28607,28608,28609,28610,28611,28612,28613,28614,28615,28616,28617,28618,28619,28620,28621,28622,28623,28624,28625,28626,28627,28628,28629,28630,28631,28632,28633,28634,28635,28636,28637,28638,28639,28640,28641,28642,28643,28644,28645,28646,28647,28648,28649,28650,28651,28652,28653,28654,28655,28656,28657,28658,28659,28660,28661,28662,28663,28664,28665,28666,28667,28668,28669,28670,28671,28672,28673,28674,28675,28676,28677,28678,28679,28680,28681,28682,28683,28684,28685,28686,28687,28688,28689,28690,28691,28692,28693,28694,28695,28696,28697,28698,28699,28700,28701,28702,28703,28704,28705,28706,28707,28708,28709,28710,28711,28712,28713,28714,28715,28716,28717,28718,28719,28720,28721,28722,28723,28724,28725,28726,28727,28728,28729,28730,28731,28732,28733,28734,28735,28736,28737,28738,28739,28740,28741,28742,28743,28744,28745,28746,28747,28748,28749,28750,28751,28752,28753,28754,28755,28756,28757,28758,28759,28760,28761,28762,28763,28764,28765,28766,28767,28768,28769,28770,28771,28772,28773,28774,28775,28776,28777,28778,28779,28780,28781,28782,28783,28784,28785,28786,28787,28788,28789,28790,28791,28792,28793,28794,28795,28796,28797,28798,28799,28800,28801,28802,28803,28804,28805,28806,28807,28808,28809,28810,28811,28812,28813,28814,28815,28816,28817,28818,28819,28820,28821,28822,28823,28824,28825,28826,28827,28828,28829,28830,28831,28832,28833,28834,28835,28836,28837,28838,28839,28840,28841,28842,28843,28844,28845,28846,28847,28848,28849,28850,28851,28852,28853,28854,28855,28856,28857,28858,28859,28860,28861,28862,28863,28864,28865,28866,28867,28868,28869,28870,28871,28872,28873,28874,28875,28876,28877,28878,28879,28880,28881,28882,28883,28884,28885,28886,28887,28888,28889,28890,28891,28892,28893,28894,28895,28896,28897,28898,28899,28900,28901,28902,28903,28904,28905,28906,28907,28908,28909,28910,28911,28912,28913,28914,28915,28916,28917,28918,28919,28920,28921,28922,28923,28924,28925,28926,28927,28928,28929,28930,28931,28932,28933,28934,28935,28936,28937,28938,28939,28940,28941,28942,28943,28944,28945,28946,28947,28948,28949,28950,28951,28952,28953,28954,28955,28956,28957,28958,28959,28960,28961,28962,28963,28964,28965,28966,28967,28968,28969,28970,28971,28972,28973,28974,28975,28976,28977,28978,28979,28980,28981,28982,28983,28984,28985,28986,28987,28988,28989,28990,28991,28992,28993,28994,28995,28996,28997,28998,28999,29000,29001,29002,29003,29004,29005,29006,29007,29008,29009,29010,29011,29012,29013,29014,29015,29016,29017,29018,29019,29020,29021,29022,29023,29024,29025,29026,29027,29028,29029,29030,29031,29032,29033,29034,29035,29036,29037,29038,29039,29040,29041,29042,29043,29044,29045,29046,29047,29048,29049,29050,29051,29052,29053,29054,29055,29056,29057,29058,29059,29060,29061,29062,29063,29064,29065,29066,29067,29068,29069,29070,29071,29072,29073,29074,29075,29076,29077,29078,29079,29080,29081,29082,29083,29084,29085,29086,29087,29088,29089,29090,29091,29092,29093,29094,29095,29096,29097,29098,29099,29100,29101,29102,29103,29104,29105,29106,29107,29108,29109,29110,29111,29112,29113,29114,29115,29116,29117,29118,29119,29120,29121,29122,29123,29124,29125,29126,29127,29128,29129,29130,29131,29132,29133,29134,29135,29136,29137,29138,29139,29140,29141,29142,29143,29144,29145,29146,29147,29148,29149,29150,29151,29152,29153,29154,29155,29156,29157,29158,29159,29160,29161,29162,29163,29164,29165,29166,29167,29168,29169,29170,29171,29172,29173,29174,29175,29176,29177,29178,29179,29180,29181,29182,29183,29184,29185,29186,29187,29188,29189,29190,29191,29192,29193,29194,29195,29196,29197,29198,29199,29200,29201,29202,29203,29204,29205,29206,29207,29208,29209,29210,29211,29212,29213,29214,29215,29216,29217,29218,29219,29220,29221,29222,29223,29224,29225,29226,29227,29228,29229,29230,29231,29232,29233,29234,29235,29236,29237,29238,29239,29240,29241,29242,29243,29244,29245,29246,29247,29248,29249,29250,29251,29252,29253,29254,29255,29256,29257,29258,29259,29260,29261,29262,29263,29264,29265,29266,29267,29268,29269,29270,29271,29272,29273,29274,29275,29276,29277,29278,29279,29280,29281,29282,29283,29284,29285,29286,29287,29288,29289,29290,29291,29292,29293,29294,29295,29296,29297,29298,29299,29300,29301,29302,29303,29304,29305,29306,29307,29308,29309,29310,29311,29312,29313,29314,29315,29316,29317,29318,29319,29320,29321,29322,29323,29324,29325,29326,29327,29328,29329,29330,29331,29332,29333,29334,29335,29336,29337,29338,29339,29340,29341,29342,29343,29344,29345,29346,29347,29348,29349,29350,29351,29352,29353,29354,29355,29356,29357,29358,29359,29360,29361,29362,29363,29364,29365,29366,29367,29368,29369,29370,29371,29372,29373,29374,29375,29376,29377,29378,29379,29380,29381,29382,29383,29384,29385,29386,29387,29388,29389,29390,29391,29392,29393,29394,29395,29396,29397,29398,29399,29400,29401,29402,29403,29404,29405,29406,29407,29408,29409,29410,29411,29412,29413,29414,29415,29416,29417,29418,29419,29420,29421,29422,29423,29424,29425,29426,29427,29428,29429,29430,29431,29432,29433,29434,29435,29436,29437,29438,29439,29440,29441,29442,29443,29444,29445,29446,29447,29448,29449,29450,29451,29452,29453,29454,29455,29456,29457,29458,29459,29460,29461,29462,29463,29464,29465,29466,29467,29468,29469,29470,29471,29472,29473,29474,29475,29476,29477,29478,29479,29480,29481,29482,29483,29484,29485,29486,29487,29488,29489,29490,29491,29492,29493,29494,29495,29496,29497,29498,29499,29500,29501,29502,29503,29504,29505,29506,29507,29508,29509,29510,29511,29512,29513,29514,29515,29516,29517,29518,29519,29520,29521,29522,29523,29524,29525,29526,29527,29528,29529,29530,29531,29532,29533,29534,29535,29536,29537,29538,29539,29540,29541,29542,29543,29544,29545,29546,29547,29548,29549,29550,29551,29552,29553,29554,29555,29556,29557,29558,29559,29560,29561,29562,29563,29564,29565,29566,29567,29568,29569,29570,29571,29572,29573,29574,29575,29576,29577,29578,29579,29580,29581,29582,29583,29584,29585,29586,29587,29588,29589,29590,29591,29592,29593,29594,29595,29596,29597,29598,29599,29600,29601,29602,29603,29604,29605,29606,29607,29608,29609,29610,29611,29612,29613,29614,29615,29616,29617,29618,29619,29620,29621,29622,29623,29624,29625,29626,29627,29628,29629,29630,29631,29632,29633,29634,29635,29636,29637,29638,29639,29640,29641,29642,29643,29644,29645,29646,29647,29648,29649,29650,29651,29652,29653,29654,29655,29656,29657,29658,29659,29660,29661,29662,29663,29664,29665,29666,29667,29668,29669,29670,29671,29672,29673,29674,29675,29676,29677,29678,29679,29680,29681,29682,29683,29684,29685,29686,29687,29688,29689,29690,29691,29692,29693,29694,29695,29696,29697,29698,29699,29700,29701,29702,29703,29704,29705,29706,29707,29708,29709,29710,29711,29712,29713,29714,29715,29716,29717,29718,29719,29720,29721,29722,29723,29724,29725,29726,29727,29728,29729,29730,29731,29732,29733,29734,29735,29736,29737,29738,29739,29740,29741,29742,29743,29744,29745,29746,29747,29748,29749,29750,29751,29752,29753,29754,29755,29756,29757,29758,29759,29760,29761,29762,29763,29764,29765,29766,29767,29768,29769,29770,29771,29772,29773,29774,29775,29776,29777,29778,29779,29780,29781,29782,29783,29784,29785,29786,29787,29788,29789,29790,29791,29792,29793,29794,29795,29796,29797,29798,29799,29800,29801,29802,29803,29804,29805,29806,29807,29808,29809,29810,29811,29812,29813,29814,29815,29816,29817,29818,29819,29820,29821,29822,29823,29824,29825,29826,29827,29828,29829,29830,29831,29832,29833,29834,29835,29836,29837,29838,29839,29840,29841,29842,29843,29844,29845,29846,29847,29848,29849,29850,29851,29852,29853,29854,29855,29856,29857,29858,29859,29860,29861,29862,29863,29864,29865,29866,29867,29868,29869,29870,29871,29872,29873,29874,29875,29876,29877,29878,29879,29880,29881,29882,29883,29884,29885,29886,29887,29888,29889,29890,29891,29892,29893,29894,29895,29896,29897,29898,29899,29900,29901,29902,29903,29904,29905,29906,29907,29908,29909,29910,29911,29912,29913,29914,29915,29916,29917,29918,29919,29920,29921,29922,29923,29924,29925,29926,29927,29928,29929,29930,29931,29932,29933,29934,29935,29936,29937,29938,29939,29940,29941,29942,29943,29944,29945,29946,29947,29948,29949,29950,29951,29952,29953,29954,29955,29956,29957,29958,29959,29960,29961,29962,29963,29964,29965,29966,29967,29968,29969,29970,29971,29972,29973,29974,29975,29976,29977,29978,29979,29980,29981,29982,29983,29984,29985,29986,29987,29988,29989,29990,29991,29992,29993,29994,29995,29996,29997,29998,29999,30000,30001,30002,30003,30004,30005,30006,30007,30008,30009,30010,30011,30012,30013,30014,30015,30016,30017,30018,30019,30020,30021,30022,30023,30024,30025,30026,30027,30028,30029,30030,30031,30032,30033,30034,30035,30036,30037,30038,30039,30040,30041,30042,30043,30044,30045,30046,30047,30048,30049,30050,30051,30052,30053,30054,30055,30056,30057,30058,30059,30060,30061,30062,30063,30064,30065,30066,30067,30068,30069,30070,30071,30072,30073,30074,30075,30076,30077,30078,30079,30080,30081,30082,30083,30084,30085,30086,30087,30088,30089,30090,30091,30092,30093,30094,30095,30096,30097,30098,30099,30100,30101,30102,30103,30104,30105,30106,30107,30108,30109,30110,30111,30112,30113,30114,30115,30116,30117,30118,30119,30120,30121,30122,30123,30124,30125,30126,30127,30128,30129,30130,30131,30132,30133,30134,30135,30136,30137,30138,30139,30140,30141,30142,30143,30144,30145,30146,30147,30148,30149,30150,30151,30152,30153,30154,30155,30156,30157,30158,30159,30160,30161,30162,30163,30164,30165,30166,30167,30168,30169,30170,30171,30172,30173,30174,30175,30176,30177,30178,30179,30180,30181,30182,30183,30184,30185,30186,30187,30188,30189,30190,30191,30192,30193,30194,30195,30196,30197,30198,30199,30200,30201,30202,30203,30204,30205,30206,30207,30208,30209,30210,30211,30212,30213,30214,30215,30216,30217,30218,30219,30220,30221,30222,30223,30224,30225,30226,30227,30228,30229,30230,30231,30232,30233,30234,30235,30236,30237,30238,30239,30240,30241,30242,30243,30244,30245,30246,30247,30248,30249,30250,30251,30252,30253,30254,30255,30256,30257,30258,30259,30260,30261,30262,30263,30264,30265,30266,30267,30268,30269,30270,30271,30272,30273,30274,30275,30276,30277,30278,30279,30280,30281,30282,30283,30284,30285,30286,30287,30288,30289,30290,30291,30292,30293,30294,30295,30296,30297,30298,30299,30300,30301,30302,30303,30304,30305,30306,30307,30308,30309,30310,30311,30312,30313,30314,30315,30316,30317,30318,30319,30320,30321,30322,30323,30324,30325,30326,30327,30328,30329,30330,30331,30332,30333,30334,30335,30336,30337,30338,30339,30340,30341,30342,30343,30344,30345,30346,30347,30348,30349,30350,30351,30352,30353,30354,30355,30356,30357,30358,30359,30360,30361,30362,30363,30364,30365,30366,30367,30368,30369,30370,30371,30372,30373,30374,30375,30376,30377,30378,30379,30380,30381,30382,30383,30384,30385,30386,30387,30388,30389,30390,30391,30392,30393,30394,30395,30396,30397,30398,30399,30400,30401,30402,30403,30404,30405,30406,30407,30408,30409,30410,30411,30412,30413,30414,30415,30416,30417,30418,30419,30420,30421,30422,30423,30424,30425,30426,30427,30428,30429,30430,30431,30432,30433,30434,30435,30436,30437,30438,30439,30440,30441,30442,30443,30444,30445,30446,30447,30448,30449,30450,30451,30452,30453,30454,30455,30456,30457,30458,30459,30460,30461,30462,30463,30464,30465,30466,30467,30468,30469,30470,30471,30472,30473,30474,30475,30476,30477,30478,30479,30480,30481,30482,30483,30484,30485,30486,30487,30488,30489,30490,30491,30492,30493,30494,30495,30496,30497,30498,30499,30500,30501,30502,30503,30504,30505,30506,30507,30508,30509,30510,30511,30512,30513,30514,30515,30516,30517,30518,30519,30520,30521,30522,30523,30524,30525,30526,30527,30528,30529,30530,30531,30532,30533,30534,30535,30536,30537,30538,30539,30540,30541,30542,30543,30544,30545,30546,30547,30548,30549,30550,30551,30552,30553,30554,30555,30556,30557,30558,30559,30560,30561,30562,30563,30564,30565,30566,30567,30568,30569,30570,30571,30572,30573,30574,30575,30576,30577,30578,30579,30580,30581,30582,30583,30584,30585,30586,30587,30588,30589,30590,30591,30592,30593,30594,30595,30596,30597,30598,30599,30600,30601,30602,30603,30604,30605,30606,30607,30608,30609,30610,30611,30612,30613,30614,30615,30616,30617,30618,30619,30620,30621,30622,30623,30624,30625,30626,30627,30628,30629,30630,30631,30632,30633,30634,30635,30636,30637,30638,30639,30640,30641,30642,30643,30644,30645,30646,30647,30648,30649,30650,30651,30652,30653,30654,30655,30656,30657,30658,30659,30660,30661,30662,30663,30664,30665,30666,30667,30668,30669,30670,30671,30672,30673,30674,30675,30676,30677,30678,30679,30680,30681,30682,30683,30684,30685,30686,30687,30688,30689,30690,30691,30692,30693,30694,30695,30696,30697,30698,30699,30700,30701,30702,30703,30704,30705,30706,30707,30708,30709,30710,30711,30712,30713,30714,30715,30716,30717,30718,30719,30720,30721,30722,30723,30724,30725,30726,30727,30728,30729,30730,30731,30732,30733,30734,30735,30736,30737,30738,30739,30740,30741,30742,30743,30744,30745,30746,30747,30748,30749,30750,30751,30752,30753,30754,30755,30756,30757,30758,30759,30760,30761,30762,30763,30764,30765,30766,30767,30768,30769,30770,30771,30772,30773,30774,30775,30776,30777,30778,30779,30780,30781,30782,30783,30784,30785,30786,30787,30788,30789,30790,30791,30792,30793,30794,30795,30796,30797,30798,30799,30800,30801,30802,30803,30804,30805,30806,30807,30808,30809,30810,30811,30812,30813,30814,30815,30816,30817,30818,30819,30820,30821,30822,30823,30824,30825,30826,30827,30828,30829,30830,30831,30832,30833,30834,30835,30836,30837,30838,30839,30840,30841,30842,30843,30844,30845,30846,30847,30848,30849,30850,30851,30852,30853,30854,30855,30856,30857,30858,30859,30860,30861,30862,30863,30864,30865,30866,30867,30868,30869,30870,30871,30872,30873,30874,30875,30876,30877,30878,30879,30880,30881,30882,30883,30884,30885,30886,30887,30888,30889,30890,30891,30892,30893,30894,30895,30896,30897,30898,30899,30900,30901,30902,30903,30904,30905,30906,30907,30908,30909,30910,30911,30912,30913,30914,30915,30916,30917,30918,30919,30920,30921,30922,30923,30924,30925,30926,30927,30928,30929,30930,30931,30932,30933,30934,30935,30936,30937,30938,30939,30940,30941,30942,30943,30944,30945,30946,30947,30948,30949,30950,30951,30952,30953,30954,30955,30956,30957,30958,30959,30960,30961,30962,30963,30964,30965,30966,30967,30968,30969,30970,30971,30972,30973,30974,30975,30976,30977,30978,30979,30980,30981,30982,30983,30984,30985,30986,30987,30988,30989,30990,30991,30992,30993,30994,30995,30996,30997,30998,30999,31000,31001,31002,31003,31004,31005,31006,31007,31008,31009,31010,31011,31012,31013,31014,31015,31016,31017,31018,31019,31020,31021,31022,31023,31024,31025,31026,31027,31028,31029,31030,31031,31032,31033,31034,31035,31036,31037,31038,31039,31040,31041,31042,31043,31044,31045,31046,31047,31048,31049,31050,31051,31052,31053,31054,31055,31056,31057,31058,31059,31060,31061,31062,31063,31064,31065,31066,31067,31068,31069,31070,31071,31072,31073,31074,31075,31076,31077,31078,31079,31080,31081,31082,31083,31084,31085,31086,31087,31088,31089,31090,31091,31092,31093,31094,31095,31096,31097,31098,31099,31100,31101,31102,31103,31104,31105,31106,31107,31108,31109,31110,31111,31112,31113,31114,31115,31116,31117,31118,31119,31120,31121,31122,31123,31124,31125,31126,31127,31128,31129,31130,31131,31132,31133,31134,31135,31136,31137,31138,31139,31140,31141,31142,31143,31144,31145,31146,31147,31148,31149,31150,31151,31152,31153,31154,31155,31156,31157,31158,31159,31160,31161,31162,31163,31164,31165,31166,31167,31168,31169,31170,31171,31172,31173,31174,31175,31176,31177,31178,31179,31180,31181,31182,31183,31184,31185,31186,31187,31188,31189,31190,31191,31192,31193,31194,31195,31196,31197,31198,31199,31200,31201,31202,31203,31204,31205,31206,31207,31208,31209,31210,31211,31212,31213,31214,31215,31216,31217,31218,31219,31220,31221,31222,31223,31224,31225,31226,31227,31228,31229,31230,31231,31232,31233,31234,31235,31236,31237,31238,31239,31240,31241,31242,31243,31244,31245,31246,31247,31248,31249,31250,31251,31252,31253,31254,31255,31256,31257,31258,31259,31260,31261,31262,31263,31264,31265,31266,31267,31268,31269,31270,31271,31272,31273,31274,31275,31276,31277,31278,31279,31280,31281,31282,31283,31284,31285,31286,31287,31288,31289,31290,31291,31292,31293,31294,31295,31296,31297,31298,31299,31300,31301,31302,31303,31304,31305,31306,31307,31308,31309,31310,31311,31312,31313,31314,31315,31316,31317,31318,31319,31320,31321,31322,31323,31324,31325,31326,31327,31328,31329,31330,31331,31332,31333,31334,31335,31336,31337,31338,31339,31340,31341,31342,31343,31344,31345,31346,31347,31348,31349,31350,31351,31352,31353,31354,31355,31356,31357,31358,31359,31360,31361,31362,31363,31364,31365,31366,31367,31368,31369,31370,31371,31372,31373,31374,31375,31376,31377,31378,31379,31380,31381,31382,31383,31384,31385,31386,31387,31388,31389,31390,31391,31392,31393,31394,31395,31396,31397,31398,31399,31400,31401,31402,31403,31404,31405,31406,31407,31408,31409,31410,31411,31412,31413,31414,31415,31416,31417,31418,31419,31420,31421,31422,31423,31424,31425,31426,31427,31428,31429,31430,31431,31432,31433,31434,31435,31436,31437,31438,31439,31440,31441,31442,31443,31444,31445,31446,31447,31448,31449,31450,31451,31452,31453,31454,31455,31456,31457,31458,31459,31460,31461,31462,31463,31464,31465,31466,31467,31468,31469,31470,31471,31472,31473,31474,31475,31476,31477,31478,31479,31480,31481,31482,31483,31484,31485,31486,31487,31488,31489,31490,31491,31492,31493,31494,31495,31496,31497,31498,31499,31500,31501,31502,31503,31504,31505,31506,31507,31508,31509,31510,31511,31512,31513,31514,31515,31516,31517,31518,31519,31520,31521,31522,31523,31524,31525,31526,31527,31528,31529,31530,31531,31532,31533,31534,31535,31536,31537,31538,31539,31540,31541,31542,31543,31544,31545,31546,31547,31548,31549,31550,31551,31552,31553,31554,31555,31556,31557,31558,31559,31560,31561,31562,31563,31564,31565,31566,31567,31568,31569,31570,31571,31572,31573,31574,31575,31576,31577,31578,31579,31580,31581,31582,31583,31584,31585,31586,31587,31588,31589,31590,31591,31592,31593,31594,31595,31596,31597,31598,31599,31600,31601,31602,31603,31604,31605,31606,31607,31608,31609,31610,31611,31612,31613,31614,31615,31616,31617,31618,31619,31620,31621,31622,31623,31624,31625,31626,31627,31628,31629,31630,31631,31632,31633,31634,31635,31636,31637,31638,31639,31640,31641,31642,31643,31644,31645,31646,31647,31648,31649,31650,31651,31652,31653,31654,31655,31656,31657,31658,31659,31660,31661,31662,31663,31664,31665,31666,31667,31668,31669,31670,31671,31672,31673,31674,31675,31676,31677,31678,31679,31680,31681,31682,31683,31684,31685,31686,31687,31688,31689,31690,31691,31692,31693,31694,31695,31696,31697,31698,31699,31700,31701,31702,31703,31704,31705,31706,31707,31708,31709,31710,31711,31712,31713,31714,31715,31716,31717,31718,31719,31720,31721,31722,31723,31724,31725,31726,31727,31728,31729,31730,31731,31732,31733,31734,31735,31736,31737,31738,31739,31740,31741,31742,31743,31744,31745,31746,31747,31748,31749,31750,31751,31752,31753,31754,31755,31756,31757,31758,31759,31760,31761,31762,31763,31764,31765,31766,31767,31768,31769,31770,31771,31772,31773,31774,31775,31776,31777,31778,31779,31780,31781,31782,31783,31784,31785,31786,31787,31788,31789,31790,31791,31792,31793,31794,31795,31796,31797,31798,31799,31800,31801,31802,31803,31804,31805,31806,31807,31808,31809,31810,31811,31812,31813,31814,31815,31816,31817,31818,31819,31820,31821,31822,31823,31824,31825,31826,31827,31828,31829,31830,31831,31832,31833,31834,31835,31836,31837,31838,31839,31840,31841,31842,31843,31844,31845,31846,31847,31848,31849,31850,31851,31852,31853,31854,31855,31856,31857,31858,31859,31860,31861,31862,31863,31864,31865,31866,31867,31868,31869,31870,31871,31872,31873,31874,31875,31876,31877,31878,31879,31880,31881,31882,31883,31884,31885,31886,31887,31888,31889,31890,31891,31892,31893,31894,31895,31896,31897,31898,31899,31900,31901,31902,31903,31904,31905,31906,31907,31908,31909,31910,31911,31912,31913,31914,31915,31916,31917,31918,31919,31920,31921,31922,31923,31924,31925,31926,31927,31928,31929,31930,31931,31932,31933,31934,31935,31936,31937,31938,31939,31940,31941,31942,31943,31944,31945,31946,31947,31948,31949,31950,31951,31952,31953,31954,31955,31956,31957,31958,31959,31960,31961,31962,31963,31964,31965,31966,31967,31968,31969,31970,31971,31972,31973,31975,31976,31977,31978,31979,31980,31981,31982,31983,31984,31985,31986,31987,31988,31989,31990,31991,31992,31993,31994,31995,31996,31997,31998,31999,32000,32001,32002,32003,32004,32005,32006,32007,32008,32009,32010,32011,32012,32013,32014,32015,32016,32017,32018,32019,32020,32021,32022,32023,32024,32025,32026,32027,32028,32029,32030,32031,32032,32033,32034,32035,32036,32037,32038,32039,32040,32041,32042,32043,32044,32045,32046,32047,32048,32049,32050,32051,32052,32053,32054,32055,32056,32057,32058,32059,32060,32061,32062,32063,32064,32065,32066,32067,32068,32069,32070,32071,32072,32073,32074,32075,32076,32077,32078,32079,32080,32081,32082,32083,32084,32085,32086,32087,32088,32089,32090,32091,32092,32093,32094,32095,32096,32097,32098,32099,32100,32101,32102,32103,32104,32105,32106,32107,32108,32109,32110,32111,32112,32113,32114,32115,32116,32117,32118,32119,32120,32121,32122,32123,32124,32125,32126,32127,32128,32129,32130,32131,32132,32133,32134,32135,32136,32137,32138,32139,32140,32141,32142,32143,32144,32145,32146,32147,32148,32149,32150,32151,32152,32153,32154,32155,32156,32157,32158,32159,32160,32161,32162,32163,32164,32165,32166,32167,32168,32169,32170,32171,32172,32173,32174,32175,32176,32177,32178,32179,32180,32181,32182,32183,32184,32185,32186,32187,32188,32189,32190,32191,32192,32193,32194,32195,32196,32197,32198,32199,32200,32201,32202,32203,32204,32205,32206,32207,32208,32209,32210,32211,32212,32213,32214,32215,32216,32217,32218,32219,32220,32221,32222,32223,32224,32225,32226,32227,32228,32229,32230,32231,32232,32233,32234,32235,32236,32237,32238,32239,32240,32241,32242,32243,32244,32245,32246,32247,32248,32249,32250,32251,32252,32253,32254,32255,32256,32257,32258,32259,32260,32261,32262,32263,32264,32265,32266,32267,32268,32269,32270,32271,32272,32273,32274,32275,32276,32277,32278,32279,32280,32281,32282,32283,32284,32285,32286,32287,32288,32289,32290,32291,32292,32293,32294,32295,32296,32297,32298,32299,32300,32301,32302,32303,32304,32305,32306,32307,32308,32309,32310,32311,32312,32313,32314,32315,32316,32317,32318,32319,32320,32321,32322,32323,32324,32325,32326,32327,32328,32329,32330,32331,32332,32333,32334,32335,32336,32337,32338,32339,32340,32341,32342,32343,32344,32345,32346,32347,32348,32349,32350,32351,32352,32353,32354,32355,32356,32357,32358,32359,32360,32361,32362,32363,32364,32365,32366,32367,32368,32369,32370,32371,32372,32373,32374,32375,32376,32377,32378,32379,32380,32381,32382,32383,32384,32385,32386,32387,32388,32389,32390,32391,32392,32393,32394,32395,32396,32397,32398,32399,32400,32401,32402,32403,32404,32405,32406,32407,32408,32409,32410,32411,32412,32413,32414,32415,32416,32417,32418,32419,32420,32421,32422,32423,32424,32425,32426,32427,32428,32429,32430,32431,32432,32433,32434,32435,32436,32437,32438,32439,32440,32441,32442,32443,32444,32445,32446,32447,32448,32449,32450,32451,32452,32453,32454,32455,32456,32457,32458,32459,32460,32461,32462,32463,32464,32465,32466,32467,32468,32469,32470,32471,32472,32473,32474,32475,32476,32477,32478,32479,32480,32481,32482,32483,32484,32485,32486,32487,32488,32489,32490,32491,32492,32493,32494,32495,32496,32497,32498,32499,32500,32501,32502,32503,32504,32505,32506,32507,32508,32509,32510,32511,32512,32513,32514,32515,32516,32517,32518,32519,32520,32521,32522,32523,32524,32525,32526,32527,32528,32529,32530,32531,32532,32533,32534,32535,32536,32537,32538,32539,32540,32541,32542,32543,32544,32545,32546,32547,32548,32549,32550,32551,32552,32553,32554,32555,32556,32557,32558,32559,32560,32561,32562,32563,32564,32565,32566,32567,32568,32569,32570,32571,32572,32573,32574,32575,32576,32577,32578,32579,32580,32581,32582,32583,32584,32585,32586,32587,32588,32589,32590,32591,32592,32593,32594,32595,32596,32597,32598,32599,32600,32601,32602,32603,32604,32605,32606,32607,32608,32609,32610,32611,32612,32613,32614,32615,32616,32617,32618,32619,32620,32621,32622,32623,32624,32625,32626,32627,32628,32629,32630,32631,32632,32633,32634,32635,32636,32637,32638,32639,32640,32641,32642,32643,32644,32645,32646,32647,32648,32649,32650,32651,32652,32653,32654,32655,32656,32657,32658,32659,32660,32661,32662,32663,32664,32665,32666,32667,32668,32669,32670,32671,32672,32673,32674,32675,32676,32677,32678,32679,32680,32681,32682,32683,32684,32685,32686,32687,32688,32689,32690,32691,32692,32693,32694,32695,32696,32697,32698,32699,32700,32701,32702,32703,32704,32705,32706,32707,32708,32709,32710,32711,32712,32713,32714,32715,32716,32717,32718,32719,32720,32721,32722,32723,32724,32725,32726,32727,32728,32729,32730,32731,32732,32733,32734,32735,32736,32737,32738,32739,32740,32741,32742,32743,32744,32745,32746,32747,32748,32749,32750,32751,32752,32753,32754,32755,32756,32757,32758,32759,32760,32761,32762,32763,32764,32765,32766,32767,32768,32769,32770,32771,32772,32773,32774,32775,32776,32777,32778,32779,32780,32781,32782,32783,32784,32785,32786,32787,32788,32789,32790,32791,32792,32793,32794,32795,32796,32797,32798,32799,32800,32801,32802,32803,32804,32805,32806,32807,32808,32809,32810,32811,32812,32813,32814,32815,32816,32817,32818,32819,32820,32821,32822,32823,32824,32825,32826,32827,32828,32829,32830,32831,32832,32833,32834,32835,32836,32837,32838,32839,32840,32841,32842,32843,32844,32845,32846,32847,32848,32849,32850,32851,32852,32853,32854,32855,32856,32857,32858,32859,32860,32861,32862,32863,32864,32865,32866,32867,32868,32869,32870,32871,32872,32873,32874,32875,32876,32877,32878,32879,32880,32881,32882,32883,32884,32885,32886,32887,32888,32889,32890,32891,32892,32893,32894,32895,32896,32897,32898,32899,32900,32901,32902,32903,32904,32905,32906,32907,32908,32909,32910,32911,32912,32913,32914,32915,32916,32917,32918,32919,32920,32921,32922,32923,32924,32925,32926,32927,32928,32929,32930,32931,32932,32933,32934,32935,32936,32937,32938,32939,32940,32941,32942,32943,32944,32945,32946,32947,32948,32949,32950,32951,32952,32953,32954,32955,32956,32957,32958,32959,32960,32961,32962,32963,32964,32965,32966,32967,32968,32969,32970,32971,32972,32973,32974,32975,32976,32977,32978,32979,32980,32981,32982,32983,32984,32985,32986,32987,32988,32989,32990,32991,32992,32993,32994,32995,32996,32997,32998,32999,33000,33001,33002,33003,33004,33005,33006,33007,33008,33009,33010,33011,33012,33013,33014,33015,33016,33017,33018,33019,33020,33021,33022,33023,33024,33025,33026,33027,33028,33029,33030,33031,33032,33033,33034,33035,33036,33037,33038,33039,33040,33041,33042,33043,33044,33045,33046,33047,33048,33049,33050,33051,33052,33053,33054,33055,33056,33057,33058,33059,33060,33061,33062,33063,33064,33065,33066,33067,33068,33069,33070,33071,33072,33073,33074,33075,33076,33077,33078,33079,33080,33081,33082,33083,33084,33085,33086,33087,33088,33089,33090,33091,33092,33093,33094,33095,33096,33097,33098,33099,33100,33101,33102,33103,33104,33105,33106,33107,33108,33109,33110,33111,33112,33113,33114,33115,33116,33117,33118,33119,33120,33121,33122,33123,33124,33125,33126,33127,33128,33129,33130,33131,33132,33133,33134,33135,33136,33137,33138,33139,33140,33141,33142,33143,33144,33145,33146,33147,33148,33149,33150,33151,33152,33153,33154,33155,33156,33157,33158,33159,33160,33161,33162,33163,33164,33165,33166,33167,33168,33169,33170,33171,33172,33173,33174,33175,33176,33177,33178,33179,33180,33181,33182,33183,33184,33185,33186,33187,33188,33189,33190,33191,33192,33193,33194,33195,33196,33197,33198,33199,33200,33201,33202,33203,33204,33205,33206,33207,33208,33209,33210,33211,33212,33213,33214,33215,33216,33217,33218,33219,33220,33221,33222,33223,33224,33225,33226,33227,33228,33229,33230,33231,33232,33233,33234,33235,33236,33237,33238,33239,33240,33241,33242,33243,33244,33245,33246,33247,33248,33249,33250,33251,33252,33253,33254,33255,33256,33257,33258,33259,33260,33261,33262,33263,33264,33265,33266,33267,33268,33269,33270,33271,33272,33273,33274,33275,33276,33277,33278,33279,33280,33281,33282,33283,33284,33285,33286,33287,33288,33289,33290,33291,33292,33293,33294,33295,33296,33297,33298,33299,33300,33301,33302,33303,33304,33305,33306,33307,33308,33309,33310,33311,33312,33313,33314,33315,33316,33317,33318,33319,33320,33321,33322,33323,33324,33325,33326,33327,33328,33329,33330,33331,33332,33333,33334,33335,33336,33337,33338,33339,33340,33341,33342,33343,33344,33345,33346,33347,33348,33349,33350,33351,33352,33353,33354,33355,33356,33357,33358,33359,33360,33361,33362,33363,33364,33365,33366,33367,33368,33369,33370,33371,33372,33373,33374,33375,33376,33377,33378,33379,33380,33381,33382,33383,33384,33385,33386,33387,33388,33389,33390,33391,33392,33393,33394,33395,33396,33397,33398,33399,33400,33401,33402,33403,33404,33405,33406,33407,33408,33409,33410,33411,33412,33413,33414,33415,33416,33417,33418,33419,33420,33421,33422,33423,33424,33425,33426,33427,33428,33429,33430,33431,33432,33433,33434,33435,33436,33437,33438,33439,33440,33441,33442,33443,33444,33445,33446,33447,33448,33449,33450,33451,33452,33453,33454,33455,33456,33457,33458,33459,33460,33461,33462,33463,33464,33465,33466,33467,33468,33469,33470,33471,33472,33473,33474,33475,33476,33477,33478,33479,33480,33481,33482,33483,33484,33485,33486,33487,33488,33489,33490,33491,33492,33493,33494,33495,33496,33497,33498,33499,33500,33501,33502,33503,33504,33505,33506,33507,33508,33509,33510,33511,33512,33513,33514,33515,33516,33517,33518,33519,33520,33521,33522,33523,33524,33525,33526,33527,33528,33529,33530,33531,33532,33533,33534,33535,33536,33537,33538,33539,33540,33541,33542,33543,33544,33545,33546,33547,33548,33549,33550,33551,33552,33553,33554,33555,33556,33557,33558,33559,33560,33561,33562,33563,33564,33565,33566,33567,33568,33569,33570,33571,33572,33573,33574,33575,33576,33577,33578,33579,33580,33581,33582,33583,33584,33585,33586,33587,33588,33589,33590,33591,33592,33593,33594,33595,33596,33597,33598,33599,33600,33601,33602,33603,33604,33605,33606,33607,33608,33609,33610,33611,33612,33613,33614,33615,33616,33617,33618,33619,33620,33621,33622,33623,33624,33625,33626,33627,33628,33629,33630,33631,33632,33633,33634,33635,33636,33637,33638,33639,33640,33641,33642,33643,33644,33645,33646,33647,33648,33649,33650,33651,33652,33653,33654,33655,33656,33657,33658,33659,33660,33661,33662,33663,33664,33665,33666,33667,33668,33669,33670,33671,33672,33673,33674,33675,33676,33677,33678,33679,33680,33681,33682,33683,33684,33685,33686,33687,33688,33689,33690,33691,33692,33693,33694,33695,33696,33697,33698,33699,33700,33701,33702,33703,33704,33705,33706,33707,33708,33709,33710,33711,33712,33713,33714,33715,33716,33717,33718,33719,33720,33721,33722,33723,33724,33725,33726,33727,33728,33729,33730,33731,33732,33733,33734,33735,33736,33737,33738,33739,33740,33741,33742,33743,33744,33745,33746,33747,33748,33749,33750,33751,33752,33753,33754,33755,33756,33757,33758,33759,33760,33761,33762,33763,33764,33765,33766,33767,33768,33769,33770,33771,33772,33773,33774,33775,33776,33777,33778,33779,33780,33781,33782,33783,33784,33785,33786,33787,33788,33789,33790,33791,33792,33793,33794,33795,33796,33797,33798,33799,33800,33801,33802,33803,33804,33805,33806,33807,33808,33809,33810,33811,33812,33813,33814,33815,33816,33817,33818,33819,33820,33821,33822,33823,33824,33825,33826,33827,33828,33829,33830,33831,33832,33833,33834,33835,33836,33837,33838,33839,33840,33841,33842,33843,33844,33845,33846,33847,33848,33849,33850,33851,33852,33853,33854,33855,33856,33857,33858,33859,33860,33861,33862,33863,33864,33865,33866,33867,33868,33869,33870,33871,33872,33873,33874,33875,33876,33877,33878,33879,33880,33881,33882,33883,33884,33885,33886,33887,33888,33889,33890,33891,33892,33893,33894,33895,33896,33897,33898,33899,33900,33901,33902,33903,33904,33905,33906,33907,33908,33909,33910,33911,33912,33913,33914,33915,33916,33917,33918,33919,33920,33921,33922,33923,33924,33925,33926,33927,33928,33929,33930,33931,33932,33933,33934,33935,33936,33937,33938,33939,33940,33941,33942,33943,33944,33945,33946,33947,33948,33949,33950,33951,33952,33953,33954,33955,33956,33957,33958,33959,33960,33961,33962,33963,33964,33965,33966,33967,33968,33969,33970,33971,33972,33973,33974,33975,33976,33977,33978,33979,33980,33981,33982,33983,33984,33985,33986,33987,33988,33989,33990,33991,33992,33993,33994,33995,33996,33997,33998,33999,34000,34001,34002,34003,34004,34005,34006,34007,34008,34009,34010,34011,34012,34013,34014,34015,34016,34017,34018,34019,34020,34021,34022,34023,34024,34025,34026,34027,34028,34029,34030,34031,34032,34033,34034,34035,34036,34037,34038,34039,34040,34041,34042,34043,34044,34045,34046,34047,34048,34049,34050,34051,34052,34053,34054,34055,34056,34057,34058,34059,34060,34061,34062,34063,34064,34065,34066,34067,34068,34069,34070,34071,34072,34073,34074,34075,34076,34077,34078,34079,34080,34081,34082,34083,34084,34085,34086,34087,34088,34089,34090,34091,34092,34093,34094,34095,34096,34097,34098,34099,34100,34101,34102,34103,34104,34105,34106,34107,34108,34109,34110,34111,34112,34113,34114,34115,34116,34117,34118,34119,34120,34121,34122,34123,34124,34125,34126,34127,34128,34129,34130,34131,34132,34133,34134,34135,34136,34137,34138,34139,34140,34141,34142,34143,34144,34145,34146,34147,34148,34149,34150,34151,34152,34153,34154,34155,34156,34157,34158,34159,34160,34161,34162,34163,34164,34165,34166,34167,34168,34169,34170,34171,34172,34173,34174,34175,34176,34177,34178,34179,34180,34181,34182,34183,34184,34185,34186,34187,34188,34189,34190,34191,34192,34193,34194,34195,34196,34197,34198,34199,34200,34201,34202,34203,34204,34205,34206,34207,34208,34209,34210,34211,34212,34213,34214,34215,34216,34217,34218,34219,34220,34221,34222,34223,34224,34225,34226,34227,34228,34229,34230,34231,34232,34233,34234,34235,34236,34237,34238,34239,34240,34241,34242,34243,34244,34245,34246,34247,34248,34249,34250,34251,34252,34253,34254,34255,34256,34257,34258,34259,34260,34261,34262,34263,34264,34265,34266,34267,34268,34269,34270,34271,34272,34273,34274,34275,34276,34277,34278,34279,34280,34281,34282,34283,34284,34285,34286,34287,34288,34289,34290,34291,34292,34293,34294,34295,34296,34297,34298,34299,34300,34301,34302,34303,34304,34305,34306,34307,34308,34309,34310,34311,34312,34313,34314,34315,34316,34317,34318,34319,34320,34321,34322,34323,34324,34325,34326,34327,34328,34329,34330,34331,34332,34333,34334,34335,34336,34337,34338,34339,34340,34341,34342,34344,34345,34346,34347,34348,34349,34350,34351,34352,34353,34354,34355,34356,34357,34358,34359,34360,34361,34362,34363,34364,34365,34366,34367,34368,34369,34370,34371,34372,34373,34374,34375,34376,34377,34378,34379,34380,34381,34382,34383,34384,34385,34386,34387,34388,34389,34390,34391,34392,34393,34394,34395,34396,34397,34398,34399,34400,34401,34402,34403,34404,34405,34406,34407,34408,34409,34410,34411,34412,34413,34414,34415,34416,34417,34418,34419,34420,34421,34422,34423,34424,34425,34426,34427,34428,34429,34430,34431,34432,34433,34434,34435,34436,34437,34438,34439,34440,34441,34442,34443,34444,34445,34446,34447,34448,34449,34450,34451,34452,34453,34454,34455,34456,34457,34458,34459,34460,34461,34462,34463,34464,34465,34466,34467,34468,34469,34470,34471,34472,34473,34474,34475,34476,34477,34478,34479,34480,34481,34482,34483,34484,34485,34486,34487,34488,34489,34490,34491,34492,34493,34494,34495,34496,34497,34498,34499,34500,34501,34502,34503,34504,34505,34506,34507,34508,34509,34510,34511,34512,34513,34514,34515,34516,34517,34518,34519,34520,34521,34522,34523,34524,34525,34526,34527,34528,34529,34530,34531,34532,34533,34534,34535,34536,34537,34538,34539,34540,34541,34542,34543,34544,34545,34546,34547,34548,34549,34550,34551,34552,34553,34554,34555,34556,34557,34558,34559,34560,34561,34562,34563,34564,34565,34566,34567,34568,34569,34570,34571,34572,34573,34574,34575,34576,34577,34578,34579,34580,34581,34582,34583,34584,34585,34586,34587,34588,34589,34590,34591,34592,34593,34594,34595,34596,34597,34598,34599,34600,34601,34602,34603,34604,34605,34606,34607,34608,34609,34610,34611,34612,34613,34614,34615,34616,34617,34618,34619,34620,34621,34622,34623,34624,34625,34626,34627,34628,34629,34630,34631,34632,34633,34634,34635,34636,34637,34638,34639,34640,34641,34642,34643,34644,34645,34646,34647,34648,34649,34650,34651,34652,34653,34654,34655,34656,34657,34658,34659,34660,34661,34662,34663,34664,34665,34666,34667,34668,34669,34670,34671,34672,34673,34674,34675,34676,34677,34678,34679,34680,34681,34682,34683,34684,34685,34686,34687,34688,34689,34690,34691,34692,34693,34694,34695,34696,34697,34698,34699,34700,34701,34702,34703,34704,34705,34706,34707,34708,34709,34710,34711,34712,34713,34714,34715,34716,34717,34718,34719,34720,34721,34722,34723,34724,34725,34726,34727,34728,34729,34730,34731,34732,34733,34734,34735,34736,34737,34738,34739,34740,34741,34742,34743,34744,34745,34746,34747,34748,34749,34750,34751,34752,34753,34754,34755,34756,34757,34758,34759,34760,34761,34762,34763,34764,34765,34766,34767,34768,34769,34770,34771,34772,34773,34774,34775,34776,34777,34778,34779,34780,34781,34782,34783,34784,34785,34786,34787,34788,34789,34790,34791,34792,34793,34794,34795,34796,34797,34798,34799,34800,34801,34802,34803,34804,34805,34806,34807,34808,34809,34810,34811,34812,34813,34814,34815,34816,34817,34818,34819,34820,34821,34822,34823,34824,34825,34826,34827,34828,34829,34830,34831,34832,34833,34834,34835,34836,34837,34838,34839,34840,34841,34842,34843,34844,34845,34846,34847,34848,34849,34850,34851,34852,34853,34854,34855,34856,34857,34858,34859,34860,34861,34862,34863,34864,34865,34866,34867,34868,34869,34870,34871,34872,34873,34874,34875,34876,34877,34878,34879,34880,34881,34882,34883,34884,34885,34886,34887,34888,34889,34890,34891,34892,34893,34894,34895,34896,34897,34898,34899,34900,34901,34902,34903,34904,34905,34906,34907,34908,34909,34910,34911,34912,34913,34914,34915,34916,34917,34918,34919,34920,34921,34922,34923,34924,34925,34926,34927,34928,34929,34930,34931,34932,34933,34934,34935,34936,34937,34938,34939,34940,34941,34942,34943,34944,34945,34946,34947,34948,34949,34950,34951,34952,34953,34954,34955,34956,34957,34958,34959,34960,34961,34962,34963,34964,34965,34966,34967,34968,34969,34970,34971,34972,34973,34974,34975,34976,34977,34978,34979,34980,34981,34982,34983,34984,34985,34986,34987,34988,34989,34990,34991,34992,34993,34994,34995,34996,34997,34998,34999,35000,35001,35002,35003,35004,35005,35006,35007,35008,35009,35010,35011,35012,35013,35014,35015,35016,35017,35018,35019,35020,35021,35022,35023,35024,35025,35026,35027,35028,35029,35030,35031,35032,35033,35034,35035,35036,35037,35038,35039,35040,35041,35042,35043,35044,35045,35046,35047,35048,35049,35050,35051,35052,35053,35054,35055,35056,35057,35058,35059,35060,35061,35062,35063,35064,35066,35067,35068,35069,35070,35071,35072,35073,35074,35075,35076,35077,35078,35079,35080,35081,35082,35083,35084,35085,35086,35087,35088,35089,35090,35091,35092,35093,35094,35095,35096,35097,35098,35099,35100,35101,35102,35103,35104,35105,35106,35107,35108,35109,35110,35111,35112,35113,35114,35115,35116,35117,35118,35119,35120,35121,35122,35123,35124,35125,35126,35127,35128,35129,35130,35131,35132,35133,35134,35135,35136,35137,35138,35139,35140,35141,35142,35143,35144,35145,35146,35147,35148,35149,35150,35151,35152,35153,35154,35155,35156,35157,35158,35159,35160,35161,35162,35163,35164,35165,35166,35167,35168,35169,35170,35171,35172,35173,35174,35175,35176,35177,35178,35179,35180,35181,35182,35183,35184,35185,35186,35187,35188,35189,35190,35191,35192,35193,35194,35195,35196,35197,35198,35199,35200,35201,35202,35203,35204,35205,35206,35207,35208,35209,35210,35211,35212,35213,35214,35215,35216,35217,35218,35219,35220,35221,35222,35223,35224,35225,35226,35227,35228,35229,35230,35231,35232,35233,35234,35235,35236,35237,35238,35239,35240,35241,35242,35243,35244,35245,35246,35247,35248,35249,35250,35251,35252,35253,35254,35255,35256,35257,35258,35259,35260,35261,35262,35263,35264,35265,35266,35267,35268,35269,35270,35271,35272,35273,35274,35275,35276,35277,35278,35279,35280,35281,35282,35283,35284,35285,35286,35287,35288,35289,35290,35291,35292,35293,35294,35295,35296,35297,35298,35299,35300,35301,35302,35303,35304,35305,35306,35307,35308,35309,35310,35311,35312,35313,35314,35315,35316,35317,35318,35319,35320,35321,35322,35323,35324,35325,35326,35327,35328,35329,35330,35331,35332,35333,35334,35335,35336,35337,35338,35339,35340,35341,35342,35343,35344,35345,35346,35347,35348,35349,35350,35351,35352,35353,35354,35355,35356,35357,35358,35359,35360,35361,35362,35363,35364,35365,35366,35367,35368,35369,35370,35371,35372,35373,35374,35375,35376,35377,35378,35379,35380,35381,35382,35383,35384,35385,35386,35387,35388,35389,35390,35391,35392,35393,35394,35395,35396,35397,35398,35399,35400,35401,35402,35403,35404,35405,35406,35407,35408,35409,35410,35411,35412,35413,35414,35415,35416,35417,35418,35419,35420,35421,35422,35423,35424,35425,35426,35427,35428,35429,35430,35431,35432,35433,35434,35435,35436,35437,35438,35439,35440,35441,35442,35443,35444,35445,35446,35447,35448,35449,35450,35451,35452,35453,35454,35455,35456,35457,35458,35459,35460,35461,35462,35463,35464,35465,35466,35467,35468,35469,35470,35471,35472,35473,35474,35475,35476,35477,35478,35479,35480,35481,35482,35483,35484,55393,55394,55395,55396,55397,55398,55399,55400,55401,55402,55403,55404,55405,55406,55407,55408,55409,55410,55411,55412,55413,55414,55415,55416,55417,55418,55419,55420,55421,55422,55423,55424,55425,55426,55427,55428,55429,55430,55431,55432,55433,55434,55435,55436,55437,55438,55439,55440,55441,55442,55443,55444,55445,55446,55447,55448,55449,55450,55451,55452,55453,55454,55455,55456,55457,55458,55459,55460,55461,55462,55463,55464,55465,55466,55467,55468,55469,55470,55471,55472,55473,55474,55475,55476,55477,55478,55479,55480,55481,55482,55483,55484,55485,55486,55487,55488,55489,55490,55491,55492,55493,55494,55495,55496,55497,55498,55499,55500,55501,55502,55503,55504,55505,55506,55507,55508,55509,55510,55511,55512,55513,55514,55515,55516,55517,55518,55519,55520,55521,55522,55523,55524,55525,55526,55527,55528,55529,55530,55531,55532,55533,55534,55535,55536,55537,55538,55539,55540,55541,55542,55543,55544,55545,55546,55547,55548,55549,55550,55551,55552,55553,55554,55555,55556,55557,55558,55559,55560,55561,55562,55563,55564,55565,55566,55567,55568,55569,55570,55571,55574,55575,55576,55577,55578,55579,55580,55581,55582,55583,55584,55585,55586,55587,55588,55589,55590,55591,55592,55593,55594,55595,55596,55597,55598,55599,55600,55601,55602,55604,55605,55606,55607,55608,55609,55610,55611,55612,55613,55614,55615,55616,55617,55618,55619,55620,55621,55622,55623,55624,55625,55626,55627,55628,55629,55630,55631,55632,55633,55634,55635,55636,55637,55638,55639,55640,55641,55642,55643,55644,55645,55646,55647,55648,55649,55650,55651,55652,55653,55654,55655,55656,55657,55658,55659,55660,55661,55662,55663,55664,55665,55666,55667,55668,55669,55670,55671,55672,55673,55675,55676,55677,55678,55679,55680,55681,55682,55683,55684,55685,55686,55687,55688,55689,55690,55691,55692,55693,55694,55695,55696,55697,55698,55699,55700,55701,55702,55703,55704,55705,55706,55707,55708,55709,55710,55711,55712,55713,55714,55715,55716,55717,55718,55719,55720,55721,55722,55723,55724,55725,55726,55727,55728,55729,55732,55733,55734,55735,55736,55737,55738,55739,55740,55741,55742,55743,55744,55745,55746,55747,55748,55749,55750,55751,55752,55753,55754,55755,55756,55757,55758,55759,55760,55761,55762,55763,55764,55765,55766,55767,55768,55769,55770,55771,55772,55773,55774,55775,55776,55777,55778,55779,55780,55781,55782,55783,55784,55785,55786,55787,55788,55789,55790,55791,55792,55793,55794,55795,55796,55797,55798,55799,55800,55801,55802,55803,55804,55805,55806,55807,55808,55809,55810,55811,55812,55813,55814,55815,55816,55817,55818,55819,55820,55821,55822,55823,55824,55825,55826,55827,55828,55829,55830,55831,55832,55833,55834,55835,55836,55837,55838,55839,55840,55841,55842,55843,55844,55845,55846,55847,55848,55849,55850,55851,55852,55853,55854,55855,55856,55857,55858,55859,55860,55861,55862,55863,55864,55865,55866,55867,55868,55869,55870,55871,55872,55873,55874,55875,55876,55877,55878,55879,55880,55881,55882,55883,55884,55885,55886,55887,55888,55889,55890,55891,55892,55893,55894,55895,55896,55897,55898,55899,55900,55901,55902,55903,55904,55905,55906,55907,55908,55909,55910,55911,55912,55913,55914,55915,55916,55917,55918,55919,55920,55921,55922,55923,55924,55925,55926,55927,55928,55929,55930,55931,55932,55933,55934,55935,55936,55937,55938,55939,55940,55941,55942,55943,55944,55945,55946,55947,55948,55949,55950,55951,55952,55953,55954,55955,55956,55957,55958,55959,55960,55961,55962,55963,55964,55965,55966,55967,55968,55969,55970,55971,55972,55973,55974,55975,55976,55977,55978,55979,55980,55981,55982,559[...];[ Date: 2024-05-17 08:02:36 ]
15 32s773ms COPY public.account_move_line (id, move_id, move_name, date, ref, parent_state, journal_id, company_id, company_currency_id, account_id, account_root_id, sequence, name, quantity, price_unit, discount, debit, credit, balance, amount_currency, price_subtotal, price_total, reconciled, blocked, date_maturity, currency_id, partner_id, product_uom_id, product_id, reconcile_model_id, payment_id, statement_line_id, statement_id, tax_line_id, tax_group_id, tax_base_amount, tax_exigible, tax_repartition_line_id, tax_audit, amount_residual, amount_residual_currency, full_reconcile_id, matching_number, analytic_account_id, display_type, is_rounding_line, exclude_from_invoice_tab, create_uid, create_date, write_uid, write_date, expected_pay_date, internal_note, next_action_date, followup_line_id, followup_date, is_anglo_saxon_line, purchase_line_id, branch_id, branch_name, vehicle_id, move_options, sign_product_qty, sign_price_subtotal, new_product_qty, sale_line_id, child_sale_line_id, main_invoice_line_id, core_bank_transaction, is_rtv_line, core_qty, rebate_amount, cost_price, is_visible_in_report, is_labour, can_be_paid, bal_core_bank_id, repair_line_id, inv_back_order_qty, sale_back_order_qty, product_pricelist_item_id, is_discount, is_sale_tax, auto_reconcile, is_writeoff, is_extra_line, is_carry_forward) TO stdout;[ Date: 2024-05-17 09:00:52 ]
16 27s945ms DELETE FROM account_move_line WHERE id IN (4948309, 4948310, 4948311, 4948312, 4948313, 4948314, 4948315, 4948316, 4948317, 4948318, 4948319, 4948320, 4948321, 4948322, 4947846, 4947847);[ Date: 2024-05-17 23:49:17 ]
17 27s919ms DELETE FROM account_move_line WHERE id IN (4951257, 4951258, 4951042, 4951043, 4951044, 4951045, 4951046, 4951047, 4951048, 4951049, 4951050, 4951051, 4951052, 4951053, 4951054, 4951055);[ Date: 2024-05-17 23:37:53 ]
18 26s246ms DELETE FROM account_move_line WHERE id IN (4954285, 4954286, 4955292, 4955293, 4955294, 4955295, 4955296, 4955297, 4955298, 4955076, 4955077, 4955078, 4955079, 4955080, 4955081);[ Date: 2024-05-17 23:43:53 ]
19 22s908ms SELECT "sale_line_report".id FROM "sale_line_report" WHERE (("sale_line_report"."cus_part_route" = 3) AND (("sale_line_report"."id" > '0') AND (((((("sale_line_report"."branch_id" in (37)) AND "sale_line_report"."display_type" IS NULL) AND ((("sale_line_report"."open_qty_fil" > 0.0) AND (("sale_line_report"."state" not in ('draft', 'cancel')) OR "sale_line_report"."state" IS NULL)) AND ("sale_line_report"."move_options" = 'new_product'))) AND ("sale_line_report"."so_line_id" IS NULL AND (unaccent ("sale_line_report"."move_options"::text) ilike unaccent ('%new%')))) AND ("sale_line_report"."on_hand" > 0.0)) AND ("sale_line_report"."partner_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ("res_partner"."fri_deli_day" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private')))))))) ORDER BY "sale_line_report"."date" DESC, "sale_line_report"."id" ASC LIMIT 80;[ Date: 2024-05-17 12:16:25 ]
20 21s964ms COPY public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage, technician_id, inventory_vendor_id, product_type) TO stdout;[ Date: 2024-05-17 09:12:24 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2h22m1s 29,520 120ms 2s422ms 288ms 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 May 17 00 161 53s387ms 331ms 01 232 1m11s 308ms 02 239 1m15s 315ms 03 229 1m24s 369ms 04 238 54s337ms 228ms 05 276 1m6s 242ms 06 223 47s544ms 213ms 07 271 1m31s 339ms 08 291 1m40s 345ms 09 318 1m35s 300ms 10 331 49s984ms 151ms 11 1,169 5m24s 277ms 12 3,671 21m1s 343ms 13 3,346 15m53s 284ms 14 2,854 10m58s 230ms 15 3,299 13m36s 247ms 16 2,655 12m34s 284ms 17 2,837 14m54s 315ms 18 2,723 14m17s 314ms 19 2,717 14m37s 322ms 20 921 3m17s 214ms 21 195 44s238ms 226ms 22 180 54s851ms 304ms 23 144 33s186ms 230ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-17 12:50:47') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19584]', '["pointspring_master","mail.channel",140]', '["pointspring_master","mail.channel",247]', '["pointspring_master","mail.channel",336]', '["pointspring_master","mail.channel",433]', '["pointspring_master","mail.channel",498]', '["pointspring_master","res.partner",19584]', '["pointspring_master","ir.needaction",19584]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-17 12:51:39 Duration: 2s422ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-17 12:50:47') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1018"', '["pointspring_master","calendar.alarm",19556]', '["pointspring_master","mail.channel",111]', '["pointspring_master","mail.channel",112]', '["pointspring_master","mail.channel",369]', '["pointspring_master","mail.channel",430]', '["pointspring_master","mail.channel",475]', '["pointspring_master","mail.channel",542]', '["pointspring_master","res.partner",19556]', '["pointspring_master","ir.needaction",19556]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-17 12:51:39 Duration: 2s359ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-17 12:50:47') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1028"', '["pointspring_master","calendar.alarm",19566]', '["pointspring_master","mail.channel",242]', '["pointspring_master","mail.channel",431]', '["pointspring_master","mail.channel",505]', '["pointspring_master","mail.channel",523]', '["pointspring_master","res.partner",19566]', '["pointspring_master","ir.needaction",19566]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-17 12:51:39 Duration: 2s359ms
2 45m19s 3,761 632ms 1s740ms 723ms 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 May 17 11 374 4m22s 701ms 12 708 8m41s 736ms 13 551 6m52s 748ms 14 330 3m59s 726ms 15 280 3m23s 726ms 16 247 2m55s 709ms 17 244 2m58s 730ms 18 434 5m8s 711ms 19 377 4m30s 716ms 20 144 1m39s 692ms 21 72 47s970ms 666ms -
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 ('%%924%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%924%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%924%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 13:36:49 Duration: 1s740ms
-
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 ('%%12%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1/2%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%1/2%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 16:37:20 Duration: 1s703ms
-
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 ('%%CORES51OnHand%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%CORES) (51 On Hand)%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%CORES) (51 On Hand)%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 17:48:35 Duration: 1s626ms
3 17m11s 2,363 396ms 1s316ms 436ms 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 May 17 00 3 1s249ms 416ms 03 6 2s470ms 411ms 05 2 837ms 418ms 06 11 4s470ms 406ms 07 2 802ms 401ms 08 7 2s857ms 408ms 09 9 3s656ms 406ms 10 15 6s139ms 409ms 11 189 1m20s 424ms 12 409 3m4s 451ms 13 316 2m21s 447ms 14 249 1m47s 432ms 15 245 1m48s 441ms 16 167 1m13s 438ms 17 225 1m37s 432ms 18 204 1m27s 430ms 19 225 1m35s 425ms 20 64 26s608ms 415ms 21 10 3s998ms 399ms 22 2 827ms 413ms 23 3 1s197ms 399ms -
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.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5826980/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-17 15:56:01 Duration: 1s316ms
-
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/%-904d16a/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-17 16:19:20 Duration: 1s286ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-17 17:05:30 Duration: 1s169ms
4 13m45s 5,761 131ms 617ms 143ms select current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages as real_size, (tblpages - est_tblpages_ff) * bs as bloat_size, case when tblpages - est_tblpages_ff > ? then ? * (tblpages - est_tblpages_ff) / tblpages::float else ? end as bloat_ratio from ( select ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / ?) as est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * ?))) + ceil(toasttuples / ?) as est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na from ( select (? + tpl_hdr_size + tpl_data_size + (? * ma) - case when tpl_hdr_size % ma = ? then ma else tpl_hdr_size % ma end - case when ceil(tpl_data_size)::int % ma = ? then ma else ceil(tpl_data_size)::int % ma end) as tpl_size, bs - page_hdr as size_per_block, (heappages + toastpages) as tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na from ( select tbl.oid as tblid, ns.nspname as schemaname, tbl.relname as tblname, tbl.reltuples, tbl.relpages as heappages, coalesce(toast.relpages, ?) as toastpages, coalesce(toast.reltuples, ?) as toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ?) from ?)::smallint, ?) as fillfactor, current_setting(?)::numeric as bs, case when version() ~ ? or version() ~ ? then ? else ? end as ma, ? as page_hdr, case when current_setting(?)::integer < ? then ? else ? end + case when max(coalesce(null_frac, ?)) > ? then (? + count(*)) / ? else ?::int end + ? as tpl_hdr_size, sum((? - coalesce(s.null_frac, ?)) * coalesce(s.avg_width, ?)) as tpl_data_size, bool_or(att.atttypid = ?::regtype) or count(att.attname) <> count(s.attname) as is_na from pg_attribute as att join pg_class as tbl on att.attrelid = tbl.oid join pg_namespace as ns on ns.oid = tbl.relnamespace left join pg_stats as s on s.schemaname = ns.nspname and s.tablename = tbl.relname and s.attname = att.attname left join pg_class as toast on tbl.reltoastrelid = toast.oid where att.attnum > ? and not att.attisdropped and tbl.relkind = ? group by ?, ?, ?, ?, ?, ?, ?, ?, ?, ? order by ?, ?) as s) as s2) as s3 where not is_na and schemaname || ? || tblname in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 17 00 240 33s149ms 138ms 01 240 33s79ms 137ms 02 240 33s60ms 137ms 03 240 33s37ms 137ms 04 240 33s65ms 137ms 05 240 33s222ms 138ms 06 240 33s254ms 138ms 07 240 33s326ms 138ms 08 240 33s362ms 139ms 09 240 33s248ms 138ms 10 240 33s315ms 138ms 11 240 34s930ms 145ms 12 240 38s567ms 160ms 13 240 37s514ms 156ms 14 240 36s68ms 150ms 15 240 36s318ms 151ms 16 241 35s436ms 147ms 17 240 35s942ms 149ms 18 240 35s909ms 149ms 19 240 36s136ms 150ms 20 240 34s118ms 142ms 21 240 33s421ms 139ms 22 240 33s87ms 137ms 23 240 33s349ms 138ms -
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END + 0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_enum', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_amop', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_locks', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_trigger', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_policies', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_extension', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_roles', 'pg_catalog.pg_transform', 'pg_catalog.pg_stats', 'pg_catalog.pg_range', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_cast', 'pg_catalog.pg_depend', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_publication', 'pg_catalog.pg_type', 'pg_catalog.pg_amproc', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_class', 'pg_catalog.pg_collation', 'pg_catalog.pg_rules', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_description', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_attribute', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_indexes', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_conversion', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_policy', 'pg_catalog.pg_matviews', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_proc', 'pg_catalog.pg_language', 'pg_catalog.pg_sequence', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_inherits', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_settings', 'pg_catalog.pg_namespace', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_group', 'pg_catalog.pg_subscription', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_operator', 'pg_catalog.pg_database', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_constraint', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_tables', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_index', 'pg_catalog.pg_am', 'pg_catalog.pg_views', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_user', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_cursors', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_opclass', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_statio_sys_indexes', 'information_schema.constraint_column_usage', 'information_schema.triggered_update_columns', 'information_schema.role_column_grants', 'information_schema.routine_privileges', 'information_schema.routine_column_usage', 'information_schema.role_routine_grants', 'information_schema.sql_features', 'information_schema.table_privileges', 'information_schema.user_mappings', 'information_schema.view_routine_usage', 'information_schema.attributes', 'information_schema.routine_routine_usage', 'information_schema.column_udt_usage', 'information_schema.column_domain_usage', 'information_schema.schemata', 'information_schema.routine_table_usage', 'information_schema.views', 'information_schema.information_schema_catalog_name', 'information_schema.column_privileges', 'information_schema.view_table_usage', 'information_schema.role_udt_grants', 'information_schema.foreign_data_wrapper_options', 'information_schema.check_constraint_routine_usage', 'information_schema.character_sets', 'information_schema.routines', 'information_schema.referential_constraints', 'information_schema.sql_sizing', 'information_schema.table_constraints', 'information_schema.data_type_privileges', 'information_schema.role_usage_grants', 'information_schema.administrable_role_authorizations', 'information_schema.view_column_usage', 'information_schema.sql_implementation_info', 'information_schema.tables', 'information_schema.domain_constraints', 'information_schema.column_column_usage', 'information_schema.user_defined_types', 'information_schema.constraint_table_usage', 'information_schema.domains', 'information_schema.enabled_roles', 'information_schema.routine_sequence_usage', 'information_schema.role_table_grants', 'information_schema.column_options', 'information_schema.foreign_table_options', 'information_schema.domain_udt_usage', 'information_schema.foreign_tables', 'information_schema.collation_character_set_applicability', 'information_schema.collations', 'information_schema.key_column_usage', 'information_schema.sequences', 'information_schema.foreign_data_wrappers', 'information_schema.check_constraints', 'information_schema.parameters', 'information_schema.udt_privileges', 'information_schema.applicable_roles', 'information_schema.triggers', 'information_schema.foreign_server_options', 'information_schema.foreign_servers', 'information_schema.user_mapping_options', 'information_schema.columns', 'information_schema.element_types', 'information_schema.usage_privileges', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-05-17 12:49:04 Duration: 617ms
-
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END + 0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_opclass', 'pg_catalog.pg_trigger', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_subscription', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_enum', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_collation', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_namespace', 'pg_catalog.pg_operator', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_locks', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_settings', 'pg_catalog.pg_inherits', 'pg_catalog.pg_language', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_constraint', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_class', 'pg_catalog.pg_amproc', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_sequence', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_am', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_rules', 'pg_catalog.pg_cursors', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_policies', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_roles', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_index', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_policy', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_group', 'pg_catalog.pg_description', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_type', 'pg_catalog.pg_proc', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_range', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_amop', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_views', 'pg_catalog.pg_stats', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_attribute', 'pg_catalog.pg_tables', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_cast', 'pg_catalog.pg_conversion', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_matviews', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_depend', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_extension', 'pg_catalog.pg_transform', 'pg_catalog.pg_publication', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_database', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_user', 'pg_catalog.pg_stat_replication_slots', 'information_schema.parameters', 'information_schema.routine_sequence_usage', 'information_schema.foreign_data_wrappers', 'information_schema.role_usage_grants', 'information_schema.foreign_data_wrapper_options', 'information_schema.column_domain_usage', 'information_schema.domain_udt_usage', 'information_schema.key_column_usage', 'information_schema.role_routine_grants', 'information_schema.sql_sizing', 'information_schema.triggers', 'information_schema.user_defined_types', 'information_schema.foreign_table_options', 'information_schema.character_sets', 'information_schema.role_column_grants', 'information_schema.view_table_usage', 'information_schema.user_mappings', 'information_schema.domain_constraints', 'information_schema.schemata', 'information_schema.sql_implementation_info', 'information_schema.usage_privileges', 'information_schema.constraint_column_usage', 'information_schema.enabled_roles', 'information_schema.foreign_tables', 'information_schema.domains', 'information_schema.sql_features', 'information_schema.view_column_usage', 'information_schema.collations', 'information_schema.column_column_usage', 'information_schema.routine_column_usage', 'information_schema.table_privileges', 'information_schema.referential_constraints', 'information_schema.element_types', 'information_schema.tables', 'information_schema.sequences', 'information_schema.role_table_grants', 'information_schema.triggered_update_columns', 'information_schema.column_privileges', 'information_schema.column_udt_usage', 'information_schema.routines', 'information_schema.constraint_table_usage', 'information_schema.column_options', 'information_schema.user_mapping_options', 'information_schema.attributes', 'information_schema.check_constraints', 'information_schema.applicable_roles', 'information_schema.views', 'information_schema.udt_privileges', 'information_schema.data_type_privileges', 'information_schema.columns', 'information_schema.table_constraints', 'information_schema.routine_table_usage', 'information_schema.role_udt_grants', 'information_schema.foreign_servers', 'information_schema.routine_privileges', 'information_schema.routine_routine_usage', 'information_schema.check_constraint_routine_usage', 'information_schema.collation_character_set_applicability', 'information_schema.view_routine_usage', 'information_schema.foreign_server_options', 'information_schema.information_schema_catalog_name', 'information_schema.administrable_role_authorizations', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-05-17 11:43:04 Duration: 556ms
-
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END + 0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('public.pg_stat_statements', 'public.pg_stat_statements_info', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_range', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_cursors', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_settings', 'pg_catalog.pg_stats', 'pg_catalog.pg_amop', 'pg_catalog.pg_amproc', 'pg_catalog.pg_conversion', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_class', 'pg_catalog.pg_inherits', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_roles', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_matviews', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_subscription', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_locks', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_sequences', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_constraint', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_rules', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_attribute', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_proc', 'pg_catalog.pg_enum', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_policy', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_depend', 'pg_catalog.pg_am', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_collation', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_cast', 'pg_catalog.pg_namespace', 'pg_catalog.pg_views', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_group', 'pg_catalog.pg_operator', 'pg_catalog.pg_language', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_publication', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_policies', 'pg_catalog.pg_opclass', 'pg_catalog.pg_trigger', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_user', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_description', 'pg_catalog.pg_sequence', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_index', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_type', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_extension', 'pg_catalog.pg_tables', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_database', 'pg_catalog.pg_transform', 'information_schema.column_domain_usage', 'information_schema.routines', 'information_schema.schemata', 'information_schema.foreign_data_wrapper_options', 'information_schema.information_schema_catalog_name', 'information_schema.administrable_role_authorizations', 'information_schema.role_table_grants', 'information_schema.data_type_privileges', 'information_schema.attributes', 'information_schema.user_defined_types', 'information_schema.constraint_table_usage', 'information_schema.enabled_roles', 'information_schema.role_usage_grants', 'information_schema.element_types', 'information_schema.foreign_table_options', 'information_schema.columns', 'information_schema.column_udt_usage', 'information_schema.routine_sequence_usage', 'information_schema.character_sets', 'information_schema.view_table_usage', 'information_schema.column_column_usage', 'information_schema.domains', 'information_schema.role_routine_grants', 'information_schema.usage_privileges', 'information_schema.domain_constraints', 'information_schema.collations', 'information_schema.collation_character_set_applicability', 'information_schema.parameters', 'information_schema.view_routine_usage', 'information_schema.foreign_tables', 'information_schema.check_constraints', 'information_schema.domain_udt_usage', 'information_schema.routine_table_usage', 'information_schema.sql_sizing', 'information_schema.triggers', 'information_schema.column_privileges', 'information_schema.table_privileges', 'information_schema.tables', 'information_schema.triggered_update_columns', 'information_schema.referential_constraints', 'information_schema.sql_features', 'information_schema.table_constraints', 'information_schema.foreign_data_wrappers', 'information_schema.foreign_server_options', 'information_schema.foreign_servers', 'information_schema.sequences', 'information_schema.check_constraint_routine_usage', 'information_schema.constraint_column_usage', 'information_schema.applicable_roles', 'information_schema.routine_privileges', 'information_schema.views', 'information_schema.udt_privileges', 'information_schema.user_mapping_options', 'information_schema.role_column_grants', 'information_schema.user_mappings', 'information_schema.view_column_usage', 'information_schema.sql_implementation_info', 'information_schema.key_column_usage', 'information_schema.routine_routine_usage', 'information_schema.role_udt_grants', 'information_schema.column_options', 'information_schema.routine_column_usage');
Date: 2024-05-17 13:58:49 Duration: 492ms
5 12m2s 804 818ms 2s461ms 899ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 17 10 1 836ms 836ms 11 60 52s399ms 873ms 12 105 1m36s 919ms 13 101 1m32s 915ms 14 72 1m4s 901ms 15 72 1m4s 902ms 16 112 1m38s 883ms 17 125 1m52s 898ms 18 72 1m4s 898ms 19 68 1m1s 897ms 20 14 12s142ms 867ms 21 2 1s687ms 843ms -
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 ('%200004%')) 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 ('%200004%'))) 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 ('%200004%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%200004%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-05-17 13:53:55 Duration: 2s461ms
-
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 ('%2-1153%')) 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 ('%2-1153%'))) 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 ('%2-1153%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%2-1153%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-05-17 19:23:09 Duration: 1s678ms
-
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 ('%02%')) 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 ('%02%'))) 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 ('%02%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%02%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-05-17 14:00:16 Duration: 1s490ms
6 11m54s 984 635ms 2s202ms 725ms 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 May 17 11 54 39s386ms 729ms 12 23 18s578ms 807ms 13 59 43s927ms 744ms 14 57 41s605ms 729ms 15 108 1m19s 736ms 16 127 1m29s 705ms 17 267 3m10s 712ms 18 163 1m57s 722ms 19 119 1m28s 744ms 20 7 4s882ms 697ms -
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 ('%%10895%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10895%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%10895%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 18:41:01 Duration: 2s202ms
-
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 ('%%N632%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%N6.3-2%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%N6.3-2%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 19:23:08 Duration: 2s163ms
-
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 ('%%N6328%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%N6.3-28%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%N6.3-28%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 19:23:08 Duration: 2s128ms
7 11m52s 711 160ms 5s235ms 1s2ms update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 17 08 3 3s224ms 1s74ms 09 7 6s435ms 919ms 11 23 20s628ms 896ms 12 113 1m47s 950ms 13 109 1m45s 964ms 14 52 48s511ms 932ms 15 60 55s379ms 922ms 16 34 31s54ms 913ms 17 81 1m22s 1s16ms 18 63 1m6s 1s61ms 19 110 2m12s 1s206ms 20 52 50s2ms 961ms 21 4 3s233ms 808ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2024-05-17 19:59:23', "is_done" = true, "state" = 'done', "write_uid" = 964, "write_date" = (now() at time zone 'UTC') WHERE id IN (935457, 935458, 935459, 935452, 935454, 935455);
Date: 2024-05-17 19:59:33 Duration: 5s235ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2024-05-17 19:12:40', "is_done" = true, "state" = 'done', "write_uid" = 1285, "write_date" = (now() at time zone 'UTC') WHERE id IN (954483, 954487);
Date: 2024-05-17 19:12:46 Duration: 3s9ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2024-05-17 13:21:24', "is_done" = true, "state" = 'done', "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (953168, 953169, 953172);
Date: 2024-05-17 13:21:29 Duration: 2s865ms
8 10m15s 151 1s715ms 42s235ms 4s75ms delete from account_move_line where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 17 11 3 7s153ms 2s384ms 12 2 10s667ms 5s333ms 13 6 20s397ms 3s399ms 14 2 9s16ms 4s508ms 15 8 39s581ms 4s947ms 16 4 23s314ms 5s828ms 18 1 3s609ms 3s609ms 23 125 8m21s 4s13ms -
DELETE FROM account_move_line WHERE id IN (4901072, 4901073, 4901074, 4901075, 4901076, 4901077, 4901078, 4901079, 4901080, 4901081, 4901082, 4901083, 4901084, 4901085, 4901086, 4901087, 4901088, 4901089, 4901090, 4901091, 4901092, 4901093, 4947795, 4947796);
Date: 2024-05-17 23:50:45 Duration: 42s235ms
-
DELETE FROM account_move_line WHERE id IN (4869045, 4869046, 4869047, 4869048, 4869049, 4869050, 4869051, 4869052, 4869053, 4869054, 4869055, 4869056, 4869057, 4869058, 4869059, 4869060, 4869061, 4869062, 4869063, 4869064, 4948715, 4948716);
Date: 2024-05-17 23:54:52 Duration: 39s48ms
-
DELETE FROM account_move_line WHERE id IN (4948309, 4948310, 4948311, 4948312, 4948313, 4948314, 4948315, 4948316, 4948317, 4948318, 4948319, 4948320, 4948321, 4948322, 4947846, 4947847);
Date: 2024-05-17 23:49:17 Duration: 27s945ms
9 9m31s 788 616ms 2s744ms 725ms 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 #9
Day Hour Count Duration Avg duration May 17 11 1 662ms 662ms 12 141 1m43s 732ms 13 72 52s592ms 730ms 14 59 43s621ms 739ms 15 45 34s123ms 758ms 16 45 32s49ms 712ms 17 67 47s560ms 709ms 18 223 2m44s 736ms 19 58 42s20ms 724ms 20 77 51s348ms 666ms -
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 ('%%SP04%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%SP04%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%SP04%'))) 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: 2024-05-17 18:41:03 Duration: 2s744ms
-
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 ('%%SP04%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%SP04-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%SP04-%'))) 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: 2024-05-17 18:41:03 Duration: 2s381ms
-
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 ('%%SP0%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%SP0%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%SP0%'))) 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: 2024-05-17 18:41:02 Duration: 2s270ms
10 8m 767 159ms 4s461ms 626ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 17 08 3 2s237ms 745ms 09 12 7s929ms 660ms 10 1 463ms 463ms 11 28 14s559ms 519ms 12 125 1m23s 664ms 13 170 1m38s 581ms 14 82 50s617ms 617ms 15 83 56s550ms 681ms 16 36 22s693ms 630ms 17 54 29s935ms 554ms 18 49 33s321ms 680ms 19 86 56s241ms 653ms 20 34 22s530ms 662ms 21 4 1s901ms 475ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1028, "write_date" = (now() at time zone 'UTC') WHERE id IN (482185, 482187, 482188, 482189, 482190, 482191, 482192);
Date: 2024-05-17 18:46:17 Duration: 4s461ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1022, "write_date" = (now() at time zone 'UTC') WHERE id IN (482215, 482216, 482217, 482218, 481465);
Date: 2024-05-17 20:05:52 Duration: 2s967ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1223, "write_date" = (now() at time zone 'UTC') WHERE id IN (481348, 481349, 481351, 481352, 481353);
Date: 2024-05-17 12:40:03 Duration: 2s471ms
11 6m11s 297 163ms 8s517ms 1s249ms update "stock_move" set "branch_id" = ?, "picking_id" = ?, "related_core_purchase_line_id" = ?, "related_core_repair_line_id" = ?, "related_core_sale_line_id" = ?, "scrapped" = false, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 17 11 19 26s371ms 1s387ms 12 51 1m7s 1s321ms 13 49 1m4s 1s313ms 14 40 39s498ms 987ms 15 24 29s592ms 1s233ms 16 19 17s58ms 897ms 17 18 16s709ms 928ms 18 33 46s970ms 1s423ms 19 27 44s31ms 1s630ms 20 16 16s723ms 1s45ms 21 1 2s342ms 2s342ms -
UPDATE "stock_move" SET "branch_id" = 46, "picking_id" = 414713, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (953472, 953473, 953474, 953476, 953477, 953478, 953479, 953480, 953481, 953482, 953468, 953469, 953470, 953471);
Date: 2024-05-17 13:08:30 Duration: 8s517ms
-
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 415290, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (954498, 954499, 954500, 954501, 954502, 954503, 954504, 954505);
Date: 2024-05-17 19:15:34 Duration: 6s751ms
-
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 415325, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (954543, 954544, 954545, 954546, 954547, 954548, 954549, 954550);
Date: 2024-05-17 19:23:36 Duration: 6s621ms
12 5m57s 613 156ms 19s918ms 582ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 17 11 38 17s5ms 447ms 12 68 28s678ms 421ms 13 85 55s100ms 648ms 14 64 26s789ms 418ms 15 45 21s377ms 475ms 16 44 23s899ms 543ms 17 112 49s40ms 437ms 18 49 28s77ms 573ms 19 78 1m35s 1s222ms 20 29 11s335ms 390ms 21 1 649ms 649ms -
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (954592, 954593, 954594, 954595, 954596, 954579, 954580, 954581, 954582, 954583, 954584, 954585, 954586, 954587, 954588, 954589, 954590, 954591);
Date: 2024-05-17 19:28:40 Duration: 19s918ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (954442, 954443, 954444, 954445, 954446, 954447, 954448, 954449, 954450, 954451, 954452, 954453, 954456, 954460, 954461);
Date: 2024-05-17 19:01:37 Duration: 7s417ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (954561, 954562, 954563, 954564, 954565, 954566, 954567, 954568, 954569, 954570, 954571, 954572, 954573, 954574, 954576, 954577, 954578);
Date: 2024-05-17 19:28:20 Duration: 5s989ms
13 5m21s 275 258ms 5s884ms 1s169ms update "repair_line" set "open_qty_fil" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 17 11 11 8s575ms 779ms 12 9 7s883ms 875ms 13 4 2s211ms 552ms 14 7 4s56ms 579ms 15 11 5s958ms 541ms 16 7 8s57ms 1s151ms 17 186 3m53s 1s253ms 18 33 47s353ms 1s434ms 19 6 3s960ms 660ms 20 1 523ms 523ms -
UPDATE "repair_line" SET "open_qty_fil" = 1.0, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85663, 85665, 85666, 85667, 85668, 85675, 85677, 85680, 85682, 85683, 85684, 85688, 85689, 85690, 85702, 85706, 85711, 85713, 83299, 83300, 84976);
Date: 2024-05-17 18:19:16 Duration: 5s884ms
-
UPDATE "repair_line" SET "open_qty_fil" = 1.0, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85663, 85665, 85666, 85667, 85668, 85675, 85677, 85680, 85682, 85683, 85684, 85688, 85689, 85690, 85702, 85706, 85711, 85713, 83299, 83300, 84976);
Date: 2024-05-17 18:15:18 Duration: 5s854ms
-
UPDATE "repair_line" SET "open_qty_fil" = 1.0, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85665, 85666, 85667, 85668, 83299, 85702, 83300, 85675, 85677, 85680, 84976, 85682, 85683, 85684, 85688, 85689, 85690, 85663);
Date: 2024-05-17 17:52:50 Duration: 5s707ms
14 5m19s 1,770 161ms 1s594ms 180ms select coalesce(sum(pwi.max_product_uom_qty), ?) as tmq from forecasted_data fd inner join item_supply_plan as isp on isp.id = fd.item_supply_plan_id inner join product_warehouse_inventory pwi on fd.product_id = pwi.product_id and isp.branch_id = pwi.replenish_branch_id where isp.id = ? and fd.product_id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 17 15 429 1m20s 187ms 16 521 1m35s 184ms 17 24 4s534ms 188ms 18 89 18s63ms 202ms 19 56 10s813ms 193ms 20 348 58s971ms 169ms 21 303 50s952ms 168ms -
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 41988 and fd.product_id = 215636;
Date: 2024-05-17 16:50:43 Duration: 1s594ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 41828 and fd.product_id = 204333;
Date: 2024-05-17 18:33:34 Duration: 1s219ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 41828 and fd.product_id = 204327;
Date: 2024-05-17 18:33:35 Duration: 810ms
15 5m14s 85 259ms 10s701ms 3s705ms update "repair_line" set "invoice_status" = ?, "qty_delivered" = ?, "qty_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 17 11 11 7s953ms 723ms 12 7 7s862ms 1s123ms 13 2 2s159ms 1s79ms 14 3 3s703ms 1s234ms 15 3 5s507ms 1s835ms 16 7 7s396ms 1s56ms 17 43 3m48s 5s308ms 18 6 47s964ms 7s994ms 19 2 3s609ms 1s804ms 20 1 538ms 538ms -
UPDATE "repair_line" SET "invoice_status" = 'no', "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85663, 85664, 85665, 85666, 85667, 85668, 85669, 85670, 85671, 85673, 85675, 85677, 85679, 85680, 85682, 85683, 85684, 85685, 85686, 85687, 85688, 85689, 85690, 85692, 85694, 85702, 85706, 85711, 83299, 83300, 84976, 84980);
Date: 2024-05-17 18:08:45 Duration: 10s701ms
-
UPDATE "repair_line" SET "invoice_status" = 'no', "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85663, 85664, 85665, 85666, 85667, 85668, 85669, 85670, 85671, 85673, 85675, 85677, 85679, 85680, 85682, 85683, 85684, 85685, 85686, 85687, 85688, 85689, 85690, 85692, 85694, 85702, 85706, 83299, 83300, 84976, 84980);
Date: 2024-05-17 17:55:30 Duration: 9s524ms
-
UPDATE "repair_line" SET "invoice_status" = 'no', "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85663, 85664, 85665, 85666, 85667, 85668, 85669, 85670, 85671, 85673, 85675, 85677, 85679, 85680, 85682, 85683, 85684, 85685, 85686, 85687, 85688, 85689, 85690, 85692, 85694, 85702, 85706, 85711, 85713, 83299, 83300, 84976, 84980);
Date: 2024-05-17 18:19:10 Duration: 9s354ms
16 5m8s 240 163ms 15s169ms 1s285ms update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 17 09 3 3s775ms 1s258ms 10 2 1s596ms 798ms 11 3 2s769ms 923ms 12 32 42s841ms 1s338ms 13 60 1m3s 1s54ms 14 33 31s496ms 954ms 15 33 38s581ms 1s169ms 16 13 13s836ms 1s64ms 17 18 18s541ms 1s30ms 18 15 18s703ms 1s246ms 19 17 52s215ms 3s71ms 20 11 20s960ms 1s905ms -
UPDATE "stock_move" SET "date" = '2024-05-17 19:34:14', "is_done" = true, "state" = 'done', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (954561, 954562, 954563, 954564, 954565, 954566, 954567, 954568, 954569, 954570, 954571, 954572, 954573, 954574, 954575, 954576, 954577, 954578);
Date: 2024-05-17 19:34:29 Duration: 15s169ms
-
UPDATE "stock_move" SET "date" = '2024-05-17 19:55:13', "is_done" = true, "state" = 'done', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (954436, 954437, 954438, 954439, 954427, 954428, 954429, 954430, 954431);
Date: 2024-05-17 19:55:26 Duration: 7s599ms
-
UPDATE "stock_move" SET "date" = '2024-05-17 19:02:50', "is_done" = true, "state" = 'done', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (954442, 954443, 954448, 954453, 954454, 954455, 954457, 954458, 954459);
Date: 2024-05-17 19:03:01 Duration: 7s253ms
17 4m59s 1,598 164ms 1s181ms 187ms select res_partner.id from "res_partner" where (("res_partner"."active" = true) and (((unaccent ("res_partner"."name"::text) ilike unaccent (?)) or (unaccent ("res_partner"."ref"::text) ilike unaccent (?))) or (unaccent ("res_partner"."display_name"::text) ilike unaccent (?)))) 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 #17
Day Hour Count Duration Avg duration May 17 05 1 200ms 200ms 06 1 173ms 173ms 07 6 1s22ms 170ms 09 2 340ms 170ms 10 3 507ms 169ms 11 93 16s881ms 181ms 12 211 40s125ms 190ms 13 215 40s862ms 190ms 14 256 47s795ms 186ms 15 303 57s189ms 188ms 16 147 27s61ms 184ms 17 51 10s341ms 202ms 18 82 16s689ms 203ms 19 53 10s216ms 192ms 20 140 24s115ms 172ms 21 34 5s736ms 168ms -
SELECT res_partner.id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (((unaccent ("res_partner"."name"::text) ilike unaccent ('%d-inv-04577%')) OR (unaccent ("res_partner"."ref"::text) ilike unaccent ('%d-inv-04577%'))) OR (unaccent ("res_partner"."display_name"::text) ilike unaccent ('%d-inv-04577%')))) 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 ('%d-inv-04577%') OR unaccent (res_partner.display_name) ilike unaccent ('%d-inv-04577%') OR unaccent (res_partner.ref) ilike unaccent ('%d-inv-04577%') OR unaccent (res_partner.vat) ilike unaccent ('d-inv-04577')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%d-inv-04577%') desc, unaccent (res_partner.display_name);
Date: 2024-05-17 15:15:06 Duration: 1s181ms
-
SELECT res_partner.id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (((unaccent ("res_partner"."name"::text) ilike unaccent ('%17484%')) OR (unaccent ("res_partner"."ref"::text) ilike unaccent ('%17484%'))) OR (unaccent ("res_partner"."display_name"::text) ilike unaccent ('%17484%')))) 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 ('%17484%') OR unaccent (res_partner.display_name) ilike unaccent ('%17484%') OR unaccent (res_partner.ref) ilike unaccent ('%17484%') OR unaccent (res_partner.vat) ilike unaccent ('17484')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%17484%') desc, unaccent (res_partner.display_name);
Date: 2024-05-17 18:20:13 Duration: 1s84ms
-
SELECT res_partner.id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (((unaccent ("res_partner"."name"::text) ilike unaccent ('%590741%')) OR (unaccent ("res_partner"."ref"::text) ilike unaccent ('%590741%'))) OR (unaccent ("res_partner"."display_name"::text) ilike unaccent ('%590741%')))) 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 ('%590741%') OR unaccent (res_partner.display_name) ilike unaccent ('%590741%') OR unaccent (res_partner.ref) ilike unaccent ('%590741%') OR unaccent (res_partner.vat) ilike unaccent ('590741')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%590741%') desc, unaccent (res_partner.display_name);
Date: 2024-05-17 17:05:30 Duration: 656ms
18 4m43s 45 5s224ms 16s13ms 6s292ms delete from sale_order_line where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 17 12 5 28s76ms 5s615ms 13 6 32s555ms 5s425ms 14 5 38s110ms 7s622ms 15 4 27s484ms 6s871ms 16 4 21s462ms 5s365ms 17 3 22s631ms 7s543ms 18 4 21s953ms 5s488ms 19 7 48s425ms 6s917ms 20 6 37s224ms 6s204ms 22 1 5s224ms 5s224ms -
DELETE FROM sale_order_line WHERE id IN (408121, 408122, 408123);
Date: 2024-05-17 19:28:11 Duration: 16s13ms
-
DELETE FROM sale_order_line WHERE id IN (407725, 407726);
Date: 2024-05-17 14:55:23 Duration: 10s961ms
-
DELETE FROM sale_order_line WHERE id IN (407733, 407734);
Date: 2024-05-17 14:56:28 Duration: 10s770ms
19 4m37s 487 157ms 2s529ms 569ms update "stock_quant" set "quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 17 09 8 3s68ms 383ms 10 1 461ms 461ms 11 25 11s787ms 471ms 12 49 21s879ms 446ms 13 65 31s532ms 485ms 14 58 29s285ms 504ms 15 46 25s557ms 555ms 16 25 13s799ms 551ms 17 40 23s3ms 575ms 18 46 37s466ms 814ms 19 84 1m2s 742ms 20 40 17s221ms 430ms -
UPDATE "stock_quant" SET "quantity" = 10.0, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (453801, 385104, 421653, 31766, 246203);
Date: 2024-05-17 18:36:28 Duration: 2s529ms
-
UPDATE "stock_quant" SET "quantity" = 12.0, "write_uid" = 964, "write_date" = (now() at time zone 'UTC') WHERE id IN (264346, 29236);
Date: 2024-05-17 13:08:30 Duration: 1s949ms
-
UPDATE "stock_quant" SET "quantity" = 10.0, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (385104, 453801, 246203, 31766);
Date: 2024-05-17 18:18:47 Duration: 1s911ms
20 4m33s 1 4m33s 4m33s 4m33s 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 #20
Day Hour Count Duration Avg duration May 17 09 1 4m33s 4m33s -
COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;
Date: 2024-05-17 09:10:12 Duration: 4m33s
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 29,520 2h22m1s 120ms 2s422ms 288ms 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 May 17 00 161 53s387ms 331ms 01 232 1m11s 308ms 02 239 1m15s 315ms 03 229 1m24s 369ms 04 238 54s337ms 228ms 05 276 1m6s 242ms 06 223 47s544ms 213ms 07 271 1m31s 339ms 08 291 1m40s 345ms 09 318 1m35s 300ms 10 331 49s984ms 151ms 11 1,169 5m24s 277ms 12 3,671 21m1s 343ms 13 3,346 15m53s 284ms 14 2,854 10m58s 230ms 15 3,299 13m36s 247ms 16 2,655 12m34s 284ms 17 2,837 14m54s 315ms 18 2,723 14m17s 314ms 19 2,717 14m37s 322ms 20 921 3m17s 214ms 21 195 44s238ms 226ms 22 180 54s851ms 304ms 23 144 33s186ms 230ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-17 12:50:47') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19584]', '["pointspring_master","mail.channel",140]', '["pointspring_master","mail.channel",247]', '["pointspring_master","mail.channel",336]', '["pointspring_master","mail.channel",433]', '["pointspring_master","mail.channel",498]', '["pointspring_master","res.partner",19584]', '["pointspring_master","ir.needaction",19584]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-17 12:51:39 Duration: 2s422ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-17 12:50:47') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1018"', '["pointspring_master","calendar.alarm",19556]', '["pointspring_master","mail.channel",111]', '["pointspring_master","mail.channel",112]', '["pointspring_master","mail.channel",369]', '["pointspring_master","mail.channel",430]', '["pointspring_master","mail.channel",475]', '["pointspring_master","mail.channel",542]', '["pointspring_master","res.partner",19556]', '["pointspring_master","ir.needaction",19556]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-17 12:51:39 Duration: 2s359ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-17 12:50:47') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1028"', '["pointspring_master","calendar.alarm",19566]', '["pointspring_master","mail.channel",242]', '["pointspring_master","mail.channel",431]', '["pointspring_master","mail.channel",505]', '["pointspring_master","mail.channel",523]', '["pointspring_master","res.partner",19566]', '["pointspring_master","ir.needaction",19566]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-17 12:51:39 Duration: 2s359ms
2 5,761 13m45s 131ms 617ms 143ms select current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages as real_size, (tblpages - est_tblpages_ff) * bs as bloat_size, case when tblpages - est_tblpages_ff > ? then ? * (tblpages - est_tblpages_ff) / tblpages::float else ? end as bloat_ratio from ( select ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / ?) as est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * ?))) + ceil(toasttuples / ?) as est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na from ( select (? + tpl_hdr_size + tpl_data_size + (? * ma) - case when tpl_hdr_size % ma = ? then ma else tpl_hdr_size % ma end - case when ceil(tpl_data_size)::int % ma = ? then ma else ceil(tpl_data_size)::int % ma end) as tpl_size, bs - page_hdr as size_per_block, (heappages + toastpages) as tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na from ( select tbl.oid as tblid, ns.nspname as schemaname, tbl.relname as tblname, tbl.reltuples, tbl.relpages as heappages, coalesce(toast.relpages, ?) as toastpages, coalesce(toast.reltuples, ?) as toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ?) from ?)::smallint, ?) as fillfactor, current_setting(?)::numeric as bs, case when version() ~ ? or version() ~ ? then ? else ? end as ma, ? as page_hdr, case when current_setting(?)::integer < ? then ? else ? end + case when max(coalesce(null_frac, ?)) > ? then (? + count(*)) / ? else ?::int end + ? as tpl_hdr_size, sum((? - coalesce(s.null_frac, ?)) * coalesce(s.avg_width, ?)) as tpl_data_size, bool_or(att.atttypid = ?::regtype) or count(att.attname) <> count(s.attname) as is_na from pg_attribute as att join pg_class as tbl on att.attrelid = tbl.oid join pg_namespace as ns on ns.oid = tbl.relnamespace left join pg_stats as s on s.schemaname = ns.nspname and s.tablename = tbl.relname and s.attname = att.attname left join pg_class as toast on tbl.reltoastrelid = toast.oid where att.attnum > ? and not att.attisdropped and tbl.relkind = ? group by ?, ?, ?, ?, ?, ?, ?, ?, ?, ? order by ?, ?) as s) as s2) as s3 where not is_na and schemaname || ? || tblname in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 17 00 240 33s149ms 138ms 01 240 33s79ms 137ms 02 240 33s60ms 137ms 03 240 33s37ms 137ms 04 240 33s65ms 137ms 05 240 33s222ms 138ms 06 240 33s254ms 138ms 07 240 33s326ms 138ms 08 240 33s362ms 139ms 09 240 33s248ms 138ms 10 240 33s315ms 138ms 11 240 34s930ms 145ms 12 240 38s567ms 160ms 13 240 37s514ms 156ms 14 240 36s68ms 150ms 15 240 36s318ms 151ms 16 241 35s436ms 147ms 17 240 35s942ms 149ms 18 240 35s909ms 149ms 19 240 36s136ms 150ms 20 240 34s118ms 142ms 21 240 33s421ms 139ms 22 240 33s87ms 137ms 23 240 33s349ms 138ms -
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END + 0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_enum', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_amop', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_locks', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_trigger', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_policies', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_extension', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_roles', 'pg_catalog.pg_transform', 'pg_catalog.pg_stats', 'pg_catalog.pg_range', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_cast', 'pg_catalog.pg_depend', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_publication', 'pg_catalog.pg_type', 'pg_catalog.pg_amproc', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_class', 'pg_catalog.pg_collation', 'pg_catalog.pg_rules', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_description', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_attribute', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_indexes', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_conversion', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_policy', 'pg_catalog.pg_matviews', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_proc', 'pg_catalog.pg_language', 'pg_catalog.pg_sequence', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_inherits', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_settings', 'pg_catalog.pg_namespace', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_group', 'pg_catalog.pg_subscription', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_operator', 'pg_catalog.pg_database', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_constraint', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_tables', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_index', 'pg_catalog.pg_am', 'pg_catalog.pg_views', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_user', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_cursors', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_opclass', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_statio_sys_indexes', 'information_schema.constraint_column_usage', 'information_schema.triggered_update_columns', 'information_schema.role_column_grants', 'information_schema.routine_privileges', 'information_schema.routine_column_usage', 'information_schema.role_routine_grants', 'information_schema.sql_features', 'information_schema.table_privileges', 'information_schema.user_mappings', 'information_schema.view_routine_usage', 'information_schema.attributes', 'information_schema.routine_routine_usage', 'information_schema.column_udt_usage', 'information_schema.column_domain_usage', 'information_schema.schemata', 'information_schema.routine_table_usage', 'information_schema.views', 'information_schema.information_schema_catalog_name', 'information_schema.column_privileges', 'information_schema.view_table_usage', 'information_schema.role_udt_grants', 'information_schema.foreign_data_wrapper_options', 'information_schema.check_constraint_routine_usage', 'information_schema.character_sets', 'information_schema.routines', 'information_schema.referential_constraints', 'information_schema.sql_sizing', 'information_schema.table_constraints', 'information_schema.data_type_privileges', 'information_schema.role_usage_grants', 'information_schema.administrable_role_authorizations', 'information_schema.view_column_usage', 'information_schema.sql_implementation_info', 'information_schema.tables', 'information_schema.domain_constraints', 'information_schema.column_column_usage', 'information_schema.user_defined_types', 'information_schema.constraint_table_usage', 'information_schema.domains', 'information_schema.enabled_roles', 'information_schema.routine_sequence_usage', 'information_schema.role_table_grants', 'information_schema.column_options', 'information_schema.foreign_table_options', 'information_schema.domain_udt_usage', 'information_schema.foreign_tables', 'information_schema.collation_character_set_applicability', 'information_schema.collations', 'information_schema.key_column_usage', 'information_schema.sequences', 'information_schema.foreign_data_wrappers', 'information_schema.check_constraints', 'information_schema.parameters', 'information_schema.udt_privileges', 'information_schema.applicable_roles', 'information_schema.triggers', 'information_schema.foreign_server_options', 'information_schema.foreign_servers', 'information_schema.user_mapping_options', 'information_schema.columns', 'information_schema.element_types', 'information_schema.usage_privileges', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-05-17 12:49:04 Duration: 617ms
-
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END + 0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_opclass', 'pg_catalog.pg_trigger', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_subscription', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_enum', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_collation', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_namespace', 'pg_catalog.pg_operator', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_locks', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_settings', 'pg_catalog.pg_inherits', 'pg_catalog.pg_language', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_constraint', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_class', 'pg_catalog.pg_amproc', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_sequence', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_am', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_rules', 'pg_catalog.pg_cursors', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_policies', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_roles', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_index', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_policy', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_group', 'pg_catalog.pg_description', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_type', 'pg_catalog.pg_proc', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_range', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_amop', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_views', 'pg_catalog.pg_stats', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_attribute', 'pg_catalog.pg_tables', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_cast', 'pg_catalog.pg_conversion', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_matviews', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_depend', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_extension', 'pg_catalog.pg_transform', 'pg_catalog.pg_publication', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_database', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_user', 'pg_catalog.pg_stat_replication_slots', 'information_schema.parameters', 'information_schema.routine_sequence_usage', 'information_schema.foreign_data_wrappers', 'information_schema.role_usage_grants', 'information_schema.foreign_data_wrapper_options', 'information_schema.column_domain_usage', 'information_schema.domain_udt_usage', 'information_schema.key_column_usage', 'information_schema.role_routine_grants', 'information_schema.sql_sizing', 'information_schema.triggers', 'information_schema.user_defined_types', 'information_schema.foreign_table_options', 'information_schema.character_sets', 'information_schema.role_column_grants', 'information_schema.view_table_usage', 'information_schema.user_mappings', 'information_schema.domain_constraints', 'information_schema.schemata', 'information_schema.sql_implementation_info', 'information_schema.usage_privileges', 'information_schema.constraint_column_usage', 'information_schema.enabled_roles', 'information_schema.foreign_tables', 'information_schema.domains', 'information_schema.sql_features', 'information_schema.view_column_usage', 'information_schema.collations', 'information_schema.column_column_usage', 'information_schema.routine_column_usage', 'information_schema.table_privileges', 'information_schema.referential_constraints', 'information_schema.element_types', 'information_schema.tables', 'information_schema.sequences', 'information_schema.role_table_grants', 'information_schema.triggered_update_columns', 'information_schema.column_privileges', 'information_schema.column_udt_usage', 'information_schema.routines', 'information_schema.constraint_table_usage', 'information_schema.column_options', 'information_schema.user_mapping_options', 'information_schema.attributes', 'information_schema.check_constraints', 'information_schema.applicable_roles', 'information_schema.views', 'information_schema.udt_privileges', 'information_schema.data_type_privileges', 'information_schema.columns', 'information_schema.table_constraints', 'information_schema.routine_table_usage', 'information_schema.role_udt_grants', 'information_schema.foreign_servers', 'information_schema.routine_privileges', 'information_schema.routine_routine_usage', 'information_schema.check_constraint_routine_usage', 'information_schema.collation_character_set_applicability', 'information_schema.view_routine_usage', 'information_schema.foreign_server_options', 'information_schema.information_schema_catalog_name', 'information_schema.administrable_role_authorizations', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-05-17 11:43:04 Duration: 556ms
-
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END + 0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('public.pg_stat_statements', 'public.pg_stat_statements_info', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_range', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_cursors', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_settings', 'pg_catalog.pg_stats', 'pg_catalog.pg_amop', 'pg_catalog.pg_amproc', 'pg_catalog.pg_conversion', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_class', 'pg_catalog.pg_inherits', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_roles', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_matviews', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_subscription', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_locks', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_sequences', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_constraint', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_rules', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_attribute', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_proc', 'pg_catalog.pg_enum', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_policy', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_depend', 'pg_catalog.pg_am', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_collation', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_cast', 'pg_catalog.pg_namespace', 'pg_catalog.pg_views', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_group', 'pg_catalog.pg_operator', 'pg_catalog.pg_language', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_publication', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_policies', 'pg_catalog.pg_opclass', 'pg_catalog.pg_trigger', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_user', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_description', 'pg_catalog.pg_sequence', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_index', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_type', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_extension', 'pg_catalog.pg_tables', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_database', 'pg_catalog.pg_transform', 'information_schema.column_domain_usage', 'information_schema.routines', 'information_schema.schemata', 'information_schema.foreign_data_wrapper_options', 'information_schema.information_schema_catalog_name', 'information_schema.administrable_role_authorizations', 'information_schema.role_table_grants', 'information_schema.data_type_privileges', 'information_schema.attributes', 'information_schema.user_defined_types', 'information_schema.constraint_table_usage', 'information_schema.enabled_roles', 'information_schema.role_usage_grants', 'information_schema.element_types', 'information_schema.foreign_table_options', 'information_schema.columns', 'information_schema.column_udt_usage', 'information_schema.routine_sequence_usage', 'information_schema.character_sets', 'information_schema.view_table_usage', 'information_schema.column_column_usage', 'information_schema.domains', 'information_schema.role_routine_grants', 'information_schema.usage_privileges', 'information_schema.domain_constraints', 'information_schema.collations', 'information_schema.collation_character_set_applicability', 'information_schema.parameters', 'information_schema.view_routine_usage', 'information_schema.foreign_tables', 'information_schema.check_constraints', 'information_schema.domain_udt_usage', 'information_schema.routine_table_usage', 'information_schema.sql_sizing', 'information_schema.triggers', 'information_schema.column_privileges', 'information_schema.table_privileges', 'information_schema.tables', 'information_schema.triggered_update_columns', 'information_schema.referential_constraints', 'information_schema.sql_features', 'information_schema.table_constraints', 'information_schema.foreign_data_wrappers', 'information_schema.foreign_server_options', 'information_schema.foreign_servers', 'information_schema.sequences', 'information_schema.check_constraint_routine_usage', 'information_schema.constraint_column_usage', 'information_schema.applicable_roles', 'information_schema.routine_privileges', 'information_schema.views', 'information_schema.udt_privileges', 'information_schema.user_mapping_options', 'information_schema.role_column_grants', 'information_schema.user_mappings', 'information_schema.view_column_usage', 'information_schema.sql_implementation_info', 'information_schema.key_column_usage', 'information_schema.routine_routine_usage', 'information_schema.role_udt_grants', 'information_schema.column_options', 'information_schema.routine_column_usage');
Date: 2024-05-17 13:58:49 Duration: 492ms
3 3,761 45m19s 632ms 1s740ms 723ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 17 11 374 4m22s 701ms 12 708 8m41s 736ms 13 551 6m52s 748ms 14 330 3m59s 726ms 15 280 3m23s 726ms 16 247 2m55s 709ms 17 244 2m58s 730ms 18 434 5m8s 711ms 19 377 4m30s 716ms 20 144 1m39s 692ms 21 72 47s970ms 666ms -
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 ('%%924%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%924%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%924%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 13:36:49 Duration: 1s740ms
-
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 ('%%12%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1/2%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%1/2%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 16:37:20 Duration: 1s703ms
-
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 ('%%CORES51OnHand%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%CORES) (51 On Hand)%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%CORES) (51 On Hand)%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 17:48:35 Duration: 1s626ms
4 2,363 17m11s 396ms 1s316ms 436ms 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 #4
Day Hour Count Duration Avg duration May 17 00 3 1s249ms 416ms 03 6 2s470ms 411ms 05 2 837ms 418ms 06 11 4s470ms 406ms 07 2 802ms 401ms 08 7 2s857ms 408ms 09 9 3s656ms 406ms 10 15 6s139ms 409ms 11 189 1m20s 424ms 12 409 3m4s 451ms 13 316 2m21s 447ms 14 249 1m47s 432ms 15 245 1m48s 441ms 16 167 1m13s 438ms 17 225 1m37s 432ms 18 204 1m27s 430ms 19 225 1m35s 425ms 20 64 26s608ms 415ms 21 10 3s998ms 399ms 22 2 827ms 413ms 23 3 1s197ms 399ms -
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.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5826980/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-17 15:56:01 Duration: 1s316ms
-
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/%-904d16a/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-17 16:19:20 Duration: 1s286ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-17 17:05:30 Duration: 1s169ms
5 1,770 5m19s 161ms 1s594ms 180ms select coalesce(sum(pwi.max_product_uom_qty), ?) as tmq from forecasted_data fd inner join item_supply_plan as isp on isp.id = fd.item_supply_plan_id inner join product_warehouse_inventory pwi on fd.product_id = pwi.product_id and isp.branch_id = pwi.replenish_branch_id where isp.id = ? and fd.product_id = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 17 15 429 1m20s 187ms 16 521 1m35s 184ms 17 24 4s534ms 188ms 18 89 18s63ms 202ms 19 56 10s813ms 193ms 20 348 58s971ms 169ms 21 303 50s952ms 168ms -
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 41988 and fd.product_id = 215636;
Date: 2024-05-17 16:50:43 Duration: 1s594ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 41828 and fd.product_id = 204333;
Date: 2024-05-17 18:33:34 Duration: 1s219ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 41828 and fd.product_id = 204327;
Date: 2024-05-17 18:33:35 Duration: 810ms
6 1,736 4m3s 120ms 1s51ms 140ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where ("product_warehouse_inventory"."product_id" in (...)) order by "product_warehouse_inventory"."warehouse_name";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 17 08 2 257ms 128ms 09 5 710ms 142ms 10 7 973ms 139ms 11 90 12s462ms 138ms 12 278 38s994ms 140ms 13 304 41s839ms 137ms 14 189 26s61ms 137ms 15 179 25s311ms 141ms 16 110 14s875ms 135ms 17 100 14s769ms 147ms 18 165 23s675ms 143ms 19 159 21s720ms 136ms 20 93 12s856ms 138ms 21 54 9s95ms 168ms 22 1 128ms 128ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (210604, 210613, 210611)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-05-17 18:33:33 Duration: 1s51ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (173890)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-05-17 17:40:26 Duration: 640ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (173890)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-05-17 17:40:26 Duration: 600ms
7 1,598 4m59s 164ms 1s181ms 187ms select res_partner.id from "res_partner" where (("res_partner"."active" = true) and (((unaccent ("res_partner"."name"::text) ilike unaccent (?)) or (unaccent ("res_partner"."ref"::text) ilike unaccent (?))) or (unaccent ("res_partner"."display_name"::text) ilike unaccent (?)))) and (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 17 05 1 200ms 200ms 06 1 173ms 173ms 07 6 1s22ms 170ms 09 2 340ms 170ms 10 3 507ms 169ms 11 93 16s881ms 181ms 12 211 40s125ms 190ms 13 215 40s862ms 190ms 14 256 47s795ms 186ms 15 303 57s189ms 188ms 16 147 27s61ms 184ms 17 51 10s341ms 202ms 18 82 16s689ms 203ms 19 53 10s216ms 192ms 20 140 24s115ms 172ms 21 34 5s736ms 168ms -
SELECT res_partner.id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (((unaccent ("res_partner"."name"::text) ilike unaccent ('%d-inv-04577%')) OR (unaccent ("res_partner"."ref"::text) ilike unaccent ('%d-inv-04577%'))) OR (unaccent ("res_partner"."display_name"::text) ilike unaccent ('%d-inv-04577%')))) 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 ('%d-inv-04577%') OR unaccent (res_partner.display_name) ilike unaccent ('%d-inv-04577%') OR unaccent (res_partner.ref) ilike unaccent ('%d-inv-04577%') OR unaccent (res_partner.vat) ilike unaccent ('d-inv-04577')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%d-inv-04577%') desc, unaccent (res_partner.display_name);
Date: 2024-05-17 15:15:06 Duration: 1s181ms
-
SELECT res_partner.id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (((unaccent ("res_partner"."name"::text) ilike unaccent ('%17484%')) OR (unaccent ("res_partner"."ref"::text) ilike unaccent ('%17484%'))) OR (unaccent ("res_partner"."display_name"::text) ilike unaccent ('%17484%')))) 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 ('%17484%') OR unaccent (res_partner.display_name) ilike unaccent ('%17484%') OR unaccent (res_partner.ref) ilike unaccent ('%17484%') OR unaccent (res_partner.vat) ilike unaccent ('17484')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%17484%') desc, unaccent (res_partner.display_name);
Date: 2024-05-17 18:20:13 Duration: 1s84ms
-
SELECT res_partner.id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (((unaccent ("res_partner"."name"::text) ilike unaccent ('%590741%')) OR (unaccent ("res_partner"."ref"::text) ilike unaccent ('%590741%'))) OR (unaccent ("res_partner"."display_name"::text) ilike unaccent ('%590741%')))) 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 ('%590741%') OR unaccent (res_partner.display_name) ilike unaccent ('%590741%') OR unaccent (res_partner.ref) ilike unaccent ('%590741%') OR unaccent (res_partner.vat) ilike unaccent ('590741')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%590741%') desc, unaccent (res_partner.display_name);
Date: 2024-05-17 17:05:30 Duration: 656ms
8 1,409 3m11s 120ms 533ms 136ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where (("product_warehouse_inventory"."warehouse_id" = ?) and ("product_warehouse_inventory"."product_id" = ?)) order by "product_warehouse_inventory"."warehouse_name" limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 17 11 79 10s515ms 133ms 12 264 36s200ms 137ms 13 177 25s157ms 142ms 14 76 10s657ms 140ms 15 146 19s811ms 135ms 16 122 16s688ms 136ms 17 131 17s625ms 134ms 18 106 13s704ms 129ms 19 230 31s499ms 136ms 20 78 10s63ms 129ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 35) AND ("product_warehouse_inventory"."product_id" = 195092)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-05-17 13:11:04 Duration: 533ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 35) AND ("product_warehouse_inventory"."product_id" = 198142)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-05-17 13:11:04 Duration: 404ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 35) AND ("product_warehouse_inventory"."product_id" = 206633)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-05-17 13:11:05 Duration: 310ms
9 1,253 4m7s 154ms 1s797ms 197ms select min("account_move".id) as id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" AS "debit_origin_id" from "account_move" left join "account_move" AS "account_move__debit_origin_id" on ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") where ("account_move"."debit_origin_id" in (...)) and ("account_move"."company_id" is null or ("account_move"."company_id" in (...))) group by "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" order by "account_move__debit_origin_id"."invoice_date_due";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 17 08 2 325ms 162ms 09 12 2s213ms 184ms 10 4 682ms 170ms 11 61 12s823ms 210ms 12 207 41s891ms 202ms 13 167 33s485ms 200ms 14 238 46s199ms 194ms 15 237 44s655ms 188ms 16 98 19s176ms 195ms 17 70 13s492ms 192ms 18 77 14s596ms 189ms 19 44 11s366ms 258ms 20 23 4s337ms 188ms 21 8 1s346ms 168ms 22 5 848ms 169ms -
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1418580)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-05-17 19:55:18 Duration: 1s797ms
-
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1418459)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-05-17 19:24:05 Duration: 1s430ms
-
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1405195)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-05-17 11:37:04 Duration: 1s19ms
10 1,224 4m30s 184ms 1s859ms 220ms 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 #10
Day Hour Count Duration Avg duration May 17 10 11 2s236ms 203ms 11 65 14s479ms 222ms 12 166 39s668ms 238ms 13 184 42s131ms 228ms 14 137 29s759ms 217ms 15 96 21s203ms 220ms 16 128 27s633ms 215ms 17 145 31s666ms 218ms 18 133 28s415ms 213ms 19 120 25s170ms 209ms 20 30 6s165ms 205ms 21 9 1s792ms 199ms -
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 (195791))) AND ("sale_report"."date" >= '2023-05-18 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-05-17 12:29:29 Duration: 1s859ms
-
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 (262859))) AND ("sale_report"."date" >= '2023-05-18 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-05-17 12:40:37 Duration: 899ms
-
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 (213446))) AND ("sale_report"."date" >= '2023-05-18 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-05-17 11:53:15 Duration: 854ms
11 1,046 3m19s 160ms 788ms 190ms select count(?) from mail_tracking_value v left join mail_message m on (v.mail_message_id = m.id) join purchase_order po on (po.id = m.res_id) where m.create_date >= ? and m.model = ? and m.message_type = ? and v.old_value_char = ? and v.new_value_char = ? and po.company_id = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 17 05 3 653ms 217ms 06 3 828ms 276ms 07 3 579ms 193ms 10 1 255ms 255ms 11 68 14s14ms 206ms 12 61 12s161ms 199ms 13 141 27s283ms 193ms 14 283 52s658ms 186ms 15 221 42s492ms 192ms 16 68 12s328ms 181ms 17 41 7s585ms 185ms 18 65 12s606ms 193ms 19 37 7s220ms 195ms 20 33 5s821ms 176ms 21 18 3s103ms 172ms -
SELECT COUNT(1) FROM mail_tracking_value v LEFT JOIN mail_message m ON (v.mail_message_id = m.id) JOIN purchase_order po ON (po.id = m.res_id) WHERE m.create_date >= '2024-05-10 11:57:38' AND m.model = 'purchase.order' AND m.message_type = 'notification' AND v.old_value_char = 'RFQ' AND v.new_value_char = 'RFQ Sent' AND po.company_id = 1;
Date: 2024-05-17 11:57:39 Duration: 788ms
-
SELECT COUNT(1) FROM mail_tracking_value v LEFT JOIN mail_message m ON (v.mail_message_id = m.id) JOIN purchase_order po ON (po.id = m.res_id) WHERE m.create_date >= '2024-05-10 15:17:03' AND m.model = 'purchase.order' AND m.message_type = 'notification' AND v.old_value_char = 'RFQ' AND v.new_value_char = 'RFQ Sent' AND po.company_id = 1;
Date: 2024-05-17 15:17:03 Duration: 575ms
-
SELECT COUNT(1) FROM mail_tracking_value v LEFT JOIN mail_message m ON (v.mail_message_id = m.id) JOIN purchase_order po ON (po.id = m.res_id) WHERE m.create_date >= '2024-05-10 14:49:38' AND m.model = 'purchase.order' AND m.message_type = 'notification' AND v.old_value_char = 'RFQ' AND v.new_value_char = 'RFQ Sent' AND po.company_id = 1;
Date: 2024-05-17 14:49:38 Duration: 343ms
12 984 11m54s 635ms 2s202ms 725ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 17 11 54 39s386ms 729ms 12 23 18s578ms 807ms 13 59 43s927ms 744ms 14 57 41s605ms 729ms 15 108 1m19s 736ms 16 127 1m29s 705ms 17 267 3m10s 712ms 18 163 1m57s 722ms 19 119 1m28s 744ms 20 7 4s882ms 697ms -
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 ('%%10895%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10895%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%10895%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 18:41:01 Duration: 2s202ms
-
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 ('%%N632%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%N6.3-2%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%N6.3-2%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 19:23:08 Duration: 2s163ms
-
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 ('%%N6328%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%N6.3-28%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%N6.3-28%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 19:23:08 Duration: 2s128ms
13 973 2m47s 148ms 506ms 171ms update "stock_quant" set "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 17 10 1 167ms 167ms 11 63 10s818ms 171ms 12 134 22s967ms 171ms 13 164 27s876ms 169ms 14 117 20s440ms 174ms 15 84 14s192ms 168ms 16 55 9s647ms 175ms 17 89 15s452ms 173ms 18 82 14s23ms 171ms 19 134 23s213ms 173ms 20 46 7s748ms 168ms 21 4 671ms 167ms -
UPDATE "stock_quant" SET "reserved_quantity" = 0.0, "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (471852, 305037, 441886);
Date: 2024-05-17 16:54:48 Duration: 506ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 0.0, "write_uid" = 1010, "write_date" = (now() at time zone 'UTC') WHERE id IN (88282, 89470);
Date: 2024-05-17 11:44:30 Duration: 403ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 0.0, "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (88282, 89470);
Date: 2024-05-17 12:17:30 Duration: 376ms
14 841 4m10s 258ms 1s195ms 298ms 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 #14
Day Hour Count Duration Avg duration May 17 08 3 953ms 317ms 09 21 6s544ms 311ms 10 3 880ms 293ms 11 41 11s577ms 282ms 12 143 42s331ms 296ms 13 172 51s857ms 301ms 14 107 33s364ms 311ms 15 84 26s4ms 309ms 16 47 13s920ms 296ms 17 61 17s407ms 285ms 18 62 17s871ms 288ms 19 61 18s192ms 298ms 20 31 8s675ms 279ms 21 5 1s383ms 276ms -
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" = 1045, "write_date" = (now() at time zone 'UTC') WHERE id IN (407715, 407716, 407710, 407711);
Date: 2024-05-17 14:58:27 Duration: 1s195ms
-
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" = 1045, "write_date" = (now() at time zone 'UTC') WHERE id IN (406657, 406658, 406772, 406773);
Date: 2024-05-17 14:41:08 Duration: 1s114ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1223, "write_date" = (now() at time zone 'UTC') WHERE id IN (404692, 404685);
Date: 2024-05-17 12:41:03 Duration: 989ms
15 804 12m2s 818ms 2s461ms 899ms 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 #15
Day Hour Count Duration Avg duration May 17 10 1 836ms 836ms 11 60 52s399ms 873ms 12 105 1m36s 919ms 13 101 1m32s 915ms 14 72 1m4s 901ms 15 72 1m4s 902ms 16 112 1m38s 883ms 17 125 1m52s 898ms 18 72 1m4s 898ms 19 68 1m1s 897ms 20 14 12s142ms 867ms 21 2 1s687ms 843ms -
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 ('%200004%')) 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 ('%200004%'))) 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 ('%200004%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%200004%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-05-17 13:53:55 Duration: 2s461ms
-
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 ('%2-1153%')) 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 ('%2-1153%'))) 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 ('%2-1153%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%2-1153%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-05-17 19:23:09 Duration: 1s678ms
-
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 ('%02%')) 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 ('%02%'))) 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 ('%02%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%02%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-05-17 14:00:16 Duration: 1s490ms
16 788 9m31s 616ms 2s744ms 725ms 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 #16
Day Hour Count Duration Avg duration May 17 11 1 662ms 662ms 12 141 1m43s 732ms 13 72 52s592ms 730ms 14 59 43s621ms 739ms 15 45 34s123ms 758ms 16 45 32s49ms 712ms 17 67 47s560ms 709ms 18 223 2m44s 736ms 19 58 42s20ms 724ms 20 77 51s348ms 666ms -
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 ('%%SP04%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%SP04%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%SP04%'))) 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: 2024-05-17 18:41:03 Duration: 2s744ms
-
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 ('%%SP04%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%SP04-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%SP04-%'))) 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: 2024-05-17 18:41:03 Duration: 2s381ms
-
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 ('%%SP0%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%SP0%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%SP0%'))) 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: 2024-05-17 18:41:02 Duration: 2s270ms
17 767 8m 159ms 4s461ms 626ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 17 08 3 2s237ms 745ms 09 12 7s929ms 660ms 10 1 463ms 463ms 11 28 14s559ms 519ms 12 125 1m23s 664ms 13 170 1m38s 581ms 14 82 50s617ms 617ms 15 83 56s550ms 681ms 16 36 22s693ms 630ms 17 54 29s935ms 554ms 18 49 33s321ms 680ms 19 86 56s241ms 653ms 20 34 22s530ms 662ms 21 4 1s901ms 475ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1028, "write_date" = (now() at time zone 'UTC') WHERE id IN (482185, 482187, 482188, 482189, 482190, 482191, 482192);
Date: 2024-05-17 18:46:17 Duration: 4s461ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1022, "write_date" = (now() at time zone 'UTC') WHERE id IN (482215, 482216, 482217, 482218, 481465);
Date: 2024-05-17 20:05:52 Duration: 2s967ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1223, "write_date" = (now() at time zone 'UTC') WHERE id IN (481348, 481349, 481351, 481352, 481353);
Date: 2024-05-17 12:40:03 Duration: 2s471ms
18 758 2m7s 147ms 253ms 168ms update product_warehouse_inventory set sft_stk_qty = ? where id = ( select id from product_warehouse_inventory where product_id = (?) and warehouse_id = (?));Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 17 15 455 1m17s 170ms 16 129 21s44ms 163ms 17 14 2s416ms 172ms 18 23 4s414ms 191ms 19 6 1s30ms 171ms 20 79 12s792ms 161ms 21 52 8s263ms 158ms -
update product_warehouse_inventory set sft_stk_qty = 0 where id = ( select id from product_warehouse_inventory where product_id = (204327) and warehouse_id = (42));
Date: 2024-05-17 18:28:11 Duration: 253ms
-
update product_warehouse_inventory set sft_stk_qty = 0 where id = ( select id from product_warehouse_inventory where product_id = (203794) and warehouse_id = (42));
Date: 2024-05-17 18:28:11 Duration: 250ms
-
update product_warehouse_inventory set sft_stk_qty = 0 where id = ( select id from product_warehouse_inventory where product_id = (219321) and warehouse_id = (43));
Date: 2024-05-17 15:58:45 Duration: 244ms
19 746 3m36s 257ms 932ms 290ms 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 #19
Day Hour Count Duration Avg duration May 17 08 3 831ms 277ms 09 21 5s749ms 273ms 10 1 265ms 265ms 11 27 7s372ms 273ms 12 132 38s564ms 292ms 13 153 44s706ms 292ms 14 100 29s169ms 291ms 15 53 15s621ms 294ms 16 64 18s312ms 286ms 17 54 16s66ms 297ms 18 54 15s422ms 285ms 19 53 15s723ms 296ms 20 26 7s261ms 279ms 21 5 1s323ms 264ms -
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '2.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '60.40', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1267, "write_date" = (now() at time zone 'UTC') WHERE id IN (407236, 407237);
Date: 2024-05-17 12:20:18 Duration: 932ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '-1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '-483.30', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (408161);
Date: 2024-05-17 19:48:51 Duration: 690ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '2.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '96.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 994, "write_date" = (now() at time zone 'UTC') WHERE id IN (405496, 405494);
Date: 2024-05-17 16:52:45 Duration: 577ms
20 711 11m52s 160ms 5s235ms 1s2ms 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 #20
Day Hour Count Duration Avg duration May 17 08 3 3s224ms 1s74ms 09 7 6s435ms 919ms 11 23 20s628ms 896ms 12 113 1m47s 950ms 13 109 1m45s 964ms 14 52 48s511ms 932ms 15 60 55s379ms 922ms 16 34 31s54ms 913ms 17 81 1m22s 1s16ms 18 63 1m6s 1s61ms 19 110 2m12s 1s206ms 20 52 50s2ms 961ms 21 4 3s233ms 808ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2024-05-17 19:59:23', "is_done" = true, "state" = 'done', "write_uid" = 964, "write_date" = (now() at time zone 'UTC') WHERE id IN (935457, 935458, 935459, 935452, 935454, 935455);
Date: 2024-05-17 19:59:33 Duration: 5s235ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2024-05-17 19:12:40', "is_done" = true, "state" = 'done', "write_uid" = 1285, "write_date" = (now() at time zone 'UTC') WHERE id IN (954483, 954487);
Date: 2024-05-17 19:12:46 Duration: 3s9ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2024-05-17 13:21:24', "is_done" = true, "state" = 'done', "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (953168, 953169, 953172);
Date: 2024-05-17 13:21:29 Duration: 2s865ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 4m33s 4m33s 4m33s 1 4m33s 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 May 17 09 1 4m33s 4m33s -
COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;
Date: 2024-05-17 09:10:12 Duration: 4m33s
2 5s224ms 16s13ms 6s292ms 45 4m43s delete from sale_order_line where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 17 12 5 28s76ms 5s615ms 13 6 32s555ms 5s425ms 14 5 38s110ms 7s622ms 15 4 27s484ms 6s871ms 16 4 21s462ms 5s365ms 17 3 22s631ms 7s543ms 18 4 21s953ms 5s488ms 19 7 48s425ms 6s917ms 20 6 37s224ms 6s204ms 22 1 5s224ms 5s224ms -
DELETE FROM sale_order_line WHERE id IN (408121, 408122, 408123);
Date: 2024-05-17 19:28:11 Duration: 16s13ms
-
DELETE FROM sale_order_line WHERE id IN (407725, 407726);
Date: 2024-05-17 14:55:23 Duration: 10s961ms
-
DELETE FROM sale_order_line WHERE id IN (407733, 407734);
Date: 2024-05-17 14:56:28 Duration: 10s770ms
3 1s715ms 42s235ms 4s75ms 151 10m15s delete from account_move_line where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 17 11 3 7s153ms 2s384ms 12 2 10s667ms 5s333ms 13 6 20s397ms 3s399ms 14 2 9s16ms 4s508ms 15 8 39s581ms 4s947ms 16 4 23s314ms 5s828ms 18 1 3s609ms 3s609ms 23 125 8m21s 4s13ms -
DELETE FROM account_move_line WHERE id IN (4901072, 4901073, 4901074, 4901075, 4901076, 4901077, 4901078, 4901079, 4901080, 4901081, 4901082, 4901083, 4901084, 4901085, 4901086, 4901087, 4901088, 4901089, 4901090, 4901091, 4901092, 4901093, 4947795, 4947796);
Date: 2024-05-17 23:50:45 Duration: 42s235ms
-
DELETE FROM account_move_line WHERE id IN (4869045, 4869046, 4869047, 4869048, 4869049, 4869050, 4869051, 4869052, 4869053, 4869054, 4869055, 4869056, 4869057, 4869058, 4869059, 4869060, 4869061, 4869062, 4869063, 4869064, 4948715, 4948716);
Date: 2024-05-17 23:54:52 Duration: 39s48ms
-
DELETE FROM account_move_line WHERE id IN (4948309, 4948310, 4948311, 4948312, 4948313, 4948314, 4948315, 4948316, 4948317, 4948318, 4948319, 4948320, 4948321, 4948322, 4947846, 4947847);
Date: 2024-05-17 23:49:17 Duration: 27s945ms
4 259ms 10s701ms 3s705ms 85 5m14s update "repair_line" set "invoice_status" = ?, "qty_delivered" = ?, "qty_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 17 11 11 7s953ms 723ms 12 7 7s862ms 1s123ms 13 2 2s159ms 1s79ms 14 3 3s703ms 1s234ms 15 3 5s507ms 1s835ms 16 7 7s396ms 1s56ms 17 43 3m48s 5s308ms 18 6 47s964ms 7s994ms 19 2 3s609ms 1s804ms 20 1 538ms 538ms -
UPDATE "repair_line" SET "invoice_status" = 'no', "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85663, 85664, 85665, 85666, 85667, 85668, 85669, 85670, 85671, 85673, 85675, 85677, 85679, 85680, 85682, 85683, 85684, 85685, 85686, 85687, 85688, 85689, 85690, 85692, 85694, 85702, 85706, 85711, 83299, 83300, 84976, 84980);
Date: 2024-05-17 18:08:45 Duration: 10s701ms
-
UPDATE "repair_line" SET "invoice_status" = 'no', "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85663, 85664, 85665, 85666, 85667, 85668, 85669, 85670, 85671, 85673, 85675, 85677, 85679, 85680, 85682, 85683, 85684, 85685, 85686, 85687, 85688, 85689, 85690, 85692, 85694, 85702, 85706, 83299, 83300, 84976, 84980);
Date: 2024-05-17 17:55:30 Duration: 9s524ms
-
UPDATE "repair_line" SET "invoice_status" = 'no', "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85663, 85664, 85665, 85666, 85667, 85668, 85669, 85670, 85671, 85673, 85675, 85677, 85679, 85680, 85682, 85683, 85684, 85685, 85686, 85687, 85688, 85689, 85690, 85692, 85694, 85702, 85706, 85711, 85713, 83299, 83300, 84976, 84980);
Date: 2024-05-17 18:19:10 Duration: 9s354ms
5 163ms 15s169ms 1s285ms 240 5m8s update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 17 09 3 3s775ms 1s258ms 10 2 1s596ms 798ms 11 3 2s769ms 923ms 12 32 42s841ms 1s338ms 13 60 1m3s 1s54ms 14 33 31s496ms 954ms 15 33 38s581ms 1s169ms 16 13 13s836ms 1s64ms 17 18 18s541ms 1s30ms 18 15 18s703ms 1s246ms 19 17 52s215ms 3s71ms 20 11 20s960ms 1s905ms -
UPDATE "stock_move" SET "date" = '2024-05-17 19:34:14', "is_done" = true, "state" = 'done', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (954561, 954562, 954563, 954564, 954565, 954566, 954567, 954568, 954569, 954570, 954571, 954572, 954573, 954574, 954575, 954576, 954577, 954578);
Date: 2024-05-17 19:34:29 Duration: 15s169ms
-
UPDATE "stock_move" SET "date" = '2024-05-17 19:55:13', "is_done" = true, "state" = 'done', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (954436, 954437, 954438, 954439, 954427, 954428, 954429, 954430, 954431);
Date: 2024-05-17 19:55:26 Duration: 7s599ms
-
UPDATE "stock_move" SET "date" = '2024-05-17 19:02:50', "is_done" = true, "state" = 'done', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (954442, 954443, 954448, 954453, 954454, 954455, 954457, 954458, 954459);
Date: 2024-05-17 19:03:01 Duration: 7s253ms
6 163ms 8s517ms 1s249ms 297 6m11s update "stock_move" set "branch_id" = ?, "picking_id" = ?, "related_core_purchase_line_id" = ?, "related_core_repair_line_id" = ?, "related_core_sale_line_id" = ?, "scrapped" = false, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 17 11 19 26s371ms 1s387ms 12 51 1m7s 1s321ms 13 49 1m4s 1s313ms 14 40 39s498ms 987ms 15 24 29s592ms 1s233ms 16 19 17s58ms 897ms 17 18 16s709ms 928ms 18 33 46s970ms 1s423ms 19 27 44s31ms 1s630ms 20 16 16s723ms 1s45ms 21 1 2s342ms 2s342ms -
UPDATE "stock_move" SET "branch_id" = 46, "picking_id" = 414713, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (953472, 953473, 953474, 953476, 953477, 953478, 953479, 953480, 953481, 953482, 953468, 953469, 953470, 953471);
Date: 2024-05-17 13:08:30 Duration: 8s517ms
-
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 415290, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (954498, 954499, 954500, 954501, 954502, 954503, 954504, 954505);
Date: 2024-05-17 19:15:34 Duration: 6s751ms
-
UPDATE "stock_move" SET "branch_id" = 50, "picking_id" = 415325, "related_core_purchase_line_id" = NULL, "related_core_repair_line_id" = NULL, "related_core_sale_line_id" = NULL, "scrapped" = false, "state" = 'confirmed', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (954543, 954544, 954545, 954546, 954547, 954548, 954549, 954550);
Date: 2024-05-17 19:23:36 Duration: 6s621ms
7 258ms 5s884ms 1s169ms 275 5m21s update "repair_line" set "open_qty_fil" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 17 11 11 8s575ms 779ms 12 9 7s883ms 875ms 13 4 2s211ms 552ms 14 7 4s56ms 579ms 15 11 5s958ms 541ms 16 7 8s57ms 1s151ms 17 186 3m53s 1s253ms 18 33 47s353ms 1s434ms 19 6 3s960ms 660ms 20 1 523ms 523ms -
UPDATE "repair_line" SET "open_qty_fil" = 1.0, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85663, 85665, 85666, 85667, 85668, 85675, 85677, 85680, 85682, 85683, 85684, 85688, 85689, 85690, 85702, 85706, 85711, 85713, 83299, 83300, 84976);
Date: 2024-05-17 18:19:16 Duration: 5s884ms
-
UPDATE "repair_line" SET "open_qty_fil" = 1.0, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85663, 85665, 85666, 85667, 85668, 85675, 85677, 85680, 85682, 85683, 85684, 85688, 85689, 85690, 85702, 85706, 85711, 85713, 83299, 83300, 84976);
Date: 2024-05-17 18:15:18 Duration: 5s854ms
-
UPDATE "repair_line" SET "open_qty_fil" = 1.0, "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (85665, 85666, 85667, 85668, 83299, 85702, 83300, 85675, 85677, 85680, 84976, 85682, 85683, 85684, 85688, 85689, 85690, 85663);
Date: 2024-05-17 17:52:50 Duration: 5s707ms
8 160ms 5s235ms 1s2ms 711 11m52s update "stock_move" set "current_warehouse_qty" = ?.?, "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 17 08 3 3s224ms 1s74ms 09 7 6s435ms 919ms 11 23 20s628ms 896ms 12 113 1m47s 950ms 13 109 1m45s 964ms 14 52 48s511ms 932ms 15 60 55s379ms 922ms 16 34 31s54ms 913ms 17 81 1m22s 1s16ms 18 63 1m6s 1s61ms 19 110 2m12s 1s206ms 20 52 50s2ms 961ms 21 4 3s233ms 808ms -
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2024-05-17 19:59:23', "is_done" = true, "state" = 'done', "write_uid" = 964, "write_date" = (now() at time zone 'UTC') WHERE id IN (935457, 935458, 935459, 935452, 935454, 935455);
Date: 2024-05-17 19:59:33 Duration: 5s235ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 1.0, "date" = '2024-05-17 19:12:40', "is_done" = true, "state" = 'done', "write_uid" = 1285, "write_date" = (now() at time zone 'UTC') WHERE id IN (954483, 954487);
Date: 2024-05-17 19:12:46 Duration: 3s9ms
-
UPDATE "stock_move" SET "current_warehouse_qty" = 2.0, "date" = '2024-05-17 13:21:24', "is_done" = true, "state" = 'done', "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (953168, 953169, 953172);
Date: 2024-05-17 13:21:29 Duration: 2s865ms
9 818ms 2s461ms 899ms 804 12m2s 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 May 17 10 1 836ms 836ms 11 60 52s399ms 873ms 12 105 1m36s 919ms 13 101 1m32s 915ms 14 72 1m4s 901ms 15 72 1m4s 902ms 16 112 1m38s 883ms 17 125 1m52s 898ms 18 72 1m4s 898ms 19 68 1m1s 897ms 20 14 12s142ms 867ms 21 2 1s687ms 843ms -
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 ('%200004%')) 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 ('%200004%'))) 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 ('%200004%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%200004%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-05-17 13:53:55 Duration: 2s461ms
-
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 ('%2-1153%')) 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 ('%2-1153%'))) 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 ('%2-1153%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%2-1153%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-05-17 19:23:09 Duration: 1s678ms
-
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 ('%02%')) 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 ('%02%'))) 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 ('%02%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%02%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2024-05-17 14:00:16 Duration: 1s490ms
10 635ms 2s202ms 725ms 984 11m54s 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 May 17 11 54 39s386ms 729ms 12 23 18s578ms 807ms 13 59 43s927ms 744ms 14 57 41s605ms 729ms 15 108 1m19s 736ms 16 127 1m29s 705ms 17 267 3m10s 712ms 18 163 1m57s 722ms 19 119 1m28s 744ms 20 7 4s882ms 697ms -
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 ('%%10895%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10895%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%10895%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 18:41:01 Duration: 2s202ms
-
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 ('%%N632%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%N6.3-2%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%N6.3-2%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 19:23:08 Duration: 2s163ms
-
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 ('%%N6328%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%N6.3-28%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%N6.3-28%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 19:23:08 Duration: 2s128ms
11 616ms 2s744ms 725ms 788 9m31s 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 #11
Day Hour Count Duration Avg duration May 17 11 1 662ms 662ms 12 141 1m43s 732ms 13 72 52s592ms 730ms 14 59 43s621ms 739ms 15 45 34s123ms 758ms 16 45 32s49ms 712ms 17 67 47s560ms 709ms 18 223 2m44s 736ms 19 58 42s20ms 724ms 20 77 51s348ms 666ms -
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 ('%%SP04%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%SP04%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%SP04%'))) 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: 2024-05-17 18:41:03 Duration: 2s744ms
-
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 ('%%SP04%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%SP04-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%SP04-%'))) 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: 2024-05-17 18:41:03 Duration: 2s381ms
-
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 ('%%SP0%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%SP0%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%SP0%'))) 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: 2024-05-17 18:41:02 Duration: 2s270ms
12 632ms 1s740ms 723ms 3,761 45m19s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 17 11 374 4m22s 701ms 12 708 8m41s 736ms 13 551 6m52s 748ms 14 330 3m59s 726ms 15 280 3m23s 726ms 16 247 2m55s 709ms 17 244 2m58s 730ms 18 434 5m8s 711ms 19 377 4m30s 716ms 20 144 1m39s 692ms 21 72 47s970ms 666ms -
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 ('%%924%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%924%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%924%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 13:36:49 Duration: 1s740ms
-
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 ('%%12%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1/2%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%1/2%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 16:37:20 Duration: 1s703ms
-
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 ('%%CORES51OnHand%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%CORES) (51 On Hand)%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%CORES) (51 On Hand)%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2024-05-17 17:48:35 Duration: 1s626ms
13 159ms 4s461ms 626ms 767 8m update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 17 08 3 2s237ms 745ms 09 12 7s929ms 660ms 10 1 463ms 463ms 11 28 14s559ms 519ms 12 125 1m23s 664ms 13 170 1m38s 581ms 14 82 50s617ms 617ms 15 83 56s550ms 681ms 16 36 22s693ms 630ms 17 54 29s935ms 554ms 18 49 33s321ms 680ms 19 86 56s241ms 653ms 20 34 22s530ms 662ms 21 4 1s901ms 475ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1028, "write_date" = (now() at time zone 'UTC') WHERE id IN (482185, 482187, 482188, 482189, 482190, 482191, 482192);
Date: 2024-05-17 18:46:17 Duration: 4s461ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1022, "write_date" = (now() at time zone 'UTC') WHERE id IN (482215, 482216, 482217, 482218, 481465);
Date: 2024-05-17 20:05:52 Duration: 2s967ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1223, "write_date" = (now() at time zone 'UTC') WHERE id IN (481348, 481349, 481351, 481352, 481353);
Date: 2024-05-17 12:40:03 Duration: 2s471ms
14 156ms 19s918ms 582ms 613 5m57s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 17 11 38 17s5ms 447ms 12 68 28s678ms 421ms 13 85 55s100ms 648ms 14 64 26s789ms 418ms 15 45 21s377ms 475ms 16 44 23s899ms 543ms 17 112 49s40ms 437ms 18 49 28s77ms 573ms 19 78 1m35s 1s222ms 20 29 11s335ms 390ms 21 1 649ms 649ms -
UPDATE "stock_move" SET "state" = 'waiting', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (954592, 954593, 954594, 954595, 954596, 954579, 954580, 954581, 954582, 954583, 954584, 954585, 954586, 954587, 954588, 954589, 954590, 954591);
Date: 2024-05-17 19:28:40 Duration: 19s918ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 990, "write_date" = (now() at time zone 'UTC') WHERE id IN (954442, 954443, 954444, 954445, 954446, 954447, 954448, 954449, 954450, 954451, 954452, 954453, 954456, 954460, 954461);
Date: 2024-05-17 19:01:37 Duration: 7s417ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (954561, 954562, 954563, 954564, 954565, 954566, 954567, 954568, 954569, 954570, 954571, 954572, 954573, 954574, 954576, 954577, 954578);
Date: 2024-05-17 19:28:20 Duration: 5s989ms
15 157ms 2s529ms 569ms 487 4m37s update "stock_quant" set "quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 17 09 8 3s68ms 383ms 10 1 461ms 461ms 11 25 11s787ms 471ms 12 49 21s879ms 446ms 13 65 31s532ms 485ms 14 58 29s285ms 504ms 15 46 25s557ms 555ms 16 25 13s799ms 551ms 17 40 23s3ms 575ms 18 46 37s466ms 814ms 19 84 1m2s 742ms 20 40 17s221ms 430ms -
UPDATE "stock_quant" SET "quantity" = 10.0, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (453801, 385104, 421653, 31766, 246203);
Date: 2024-05-17 18:36:28 Duration: 2s529ms
-
UPDATE "stock_quant" SET "quantity" = 12.0, "write_uid" = 964, "write_date" = (now() at time zone 'UTC') WHERE id IN (264346, 29236);
Date: 2024-05-17 13:08:30 Duration: 1s949ms
-
UPDATE "stock_quant" SET "quantity" = 10.0, "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (385104, 453801, 246203, 31766);
Date: 2024-05-17 18:18:47 Duration: 1s911ms
16 396ms 1s316ms 436ms 2,363 17m11s 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 #16
Day Hour Count Duration Avg duration May 17 00 3 1s249ms 416ms 03 6 2s470ms 411ms 05 2 837ms 418ms 06 11 4s470ms 406ms 07 2 802ms 401ms 08 7 2s857ms 408ms 09 9 3s656ms 406ms 10 15 6s139ms 409ms 11 189 1m20s 424ms 12 409 3m4s 451ms 13 316 2m21s 447ms 14 249 1m47s 432ms 15 245 1m48s 441ms 16 167 1m13s 438ms 17 225 1m37s 432ms 18 204 1m27s 430ms 19 225 1m35s 425ms 20 64 26s608ms 415ms 21 10 3s998ms 399ms 22 2 827ms 413ms 23 3 1s197ms 399ms -
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.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-5826980/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-17 15:56:01 Duration: 1s316ms
-
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/%-904d16a/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-17 16:19:20 Duration: 1s286ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-05-17 17:05:30 Duration: 1s169ms
17 258ms 1s195ms 298ms 841 4m10s 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 #17
Day Hour Count Duration Avg duration May 17 08 3 953ms 317ms 09 21 6s544ms 311ms 10 3 880ms 293ms 11 41 11s577ms 282ms 12 143 42s331ms 296ms 13 172 51s857ms 301ms 14 107 33s364ms 311ms 15 84 26s4ms 309ms 16 47 13s920ms 296ms 17 61 17s407ms 285ms 18 62 17s871ms 288ms 19 61 18s192ms 298ms 20 31 8s675ms 279ms 21 5 1s383ms 276ms -
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" = 1045, "write_date" = (now() at time zone 'UTC') WHERE id IN (407715, 407716, 407710, 407711);
Date: 2024-05-17 14:58:27 Duration: 1s195ms
-
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" = 1045, "write_date" = (now() at time zone 'UTC') WHERE id IN (406657, 406658, 406772, 406773);
Date: 2024-05-17 14:41:08 Duration: 1s114ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'no', "open_qty_fil" = 1.0, "qty_delivered" = '0.00', "qty_to_invoice" = '0.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1223, "write_date" = (now() at time zone 'UTC') WHERE id IN (404692, 404685);
Date: 2024-05-17 12:41:03 Duration: 989ms
18 257ms 932ms 290ms 746 3m36s 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 #18
Day Hour Count Duration Avg duration May 17 08 3 831ms 277ms 09 21 5s749ms 273ms 10 1 265ms 265ms 11 27 7s372ms 273ms 12 132 38s564ms 292ms 13 153 44s706ms 292ms 14 100 29s169ms 291ms 15 53 15s621ms 294ms 16 64 18s312ms 286ms 17 54 16s66ms 297ms 18 54 15s422ms 285ms 19 53 15s723ms 296ms 20 26 7s261ms 279ms 21 5 1s323ms 264ms -
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '2.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '60.40', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1267, "write_date" = (now() at time zone 'UTC') WHERE id IN (407236, 407237);
Date: 2024-05-17 12:20:18 Duration: 932ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '-1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '-483.30', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 1001, "write_date" = (now() at time zone 'UTC') WHERE id IN (408161);
Date: 2024-05-17 19:48:51 Duration: 690ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '2.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '96.00', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 994, "write_date" = (now() at time zone 'UTC') WHERE id IN (405496, 405494);
Date: 2024-05-17 16:52:45 Duration: 577ms
19 120ms 2s422ms 288ms 29,520 2h22m1s select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 17 00 161 53s387ms 331ms 01 232 1m11s 308ms 02 239 1m15s 315ms 03 229 1m24s 369ms 04 238 54s337ms 228ms 05 276 1m6s 242ms 06 223 47s544ms 213ms 07 271 1m31s 339ms 08 291 1m40s 345ms 09 318 1m35s 300ms 10 331 49s984ms 151ms 11 1,169 5m24s 277ms 12 3,671 21m1s 343ms 13 3,346 15m53s 284ms 14 2,854 10m58s 230ms 15 3,299 13m36s 247ms 16 2,655 12m34s 284ms 17 2,837 14m54s 315ms 18 2,723 14m17s 314ms 19 2,717 14m37s 322ms 20 921 3m17s 214ms 21 195 44s238ms 226ms 22 180 54s851ms 304ms 23 144 33s186ms 230ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-17 12:50:47') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19584]', '["pointspring_master","mail.channel",140]', '["pointspring_master","mail.channel",247]', '["pointspring_master","mail.channel",336]', '["pointspring_master","mail.channel",433]', '["pointspring_master","mail.channel",498]', '["pointspring_master","res.partner",19584]', '["pointspring_master","ir.needaction",19584]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-17 12:51:39 Duration: 2s422ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-17 12:50:47') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1018"', '["pointspring_master","calendar.alarm",19556]', '["pointspring_master","mail.channel",111]', '["pointspring_master","mail.channel",112]', '["pointspring_master","mail.channel",369]', '["pointspring_master","mail.channel",430]', '["pointspring_master","mail.channel",475]', '["pointspring_master","mail.channel",542]', '["pointspring_master","res.partner",19556]', '["pointspring_master","ir.needaction",19556]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-17 12:51:39 Duration: 2s359ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-05-17 12:50:47') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1028"', '["pointspring_master","calendar.alarm",19566]', '["pointspring_master","mail.channel",242]', '["pointspring_master","mail.channel",431]', '["pointspring_master","mail.channel",505]', '["pointspring_master","mail.channel",523]', '["pointspring_master","res.partner",19566]', '["pointspring_master","ir.needaction",19566]'))) ORDER BY "bus_bus"."id";
Date: 2024-05-17 12:51:39 Duration: 2s359ms
20 184ms 1s859ms 220ms 1,224 4m30s select min("sale_report".id) as id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" AS "product_id" from "sale_report" left join "product_product" AS "sale_report__product_id" on ("sale_report"."product_id" = "sale_report__product_id"."id") left join "product_template" AS "sale_report__product_id__product_tmpl_id" on ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") left join "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" on ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" and "sale_report__product_id__product_tmpl_id__name"."type" = ? and "sale_report__product_id__product_tmpl_id__name"."name" = ? and "sale_report__product_id__product_tmpl_id__name"."lang" = ? and "sale_report__product_id__product_tmpl_id__name"."value" != ?) where ((("sale_report"."state" in (...)) and ("sale_report"."product_id" in (...))) and ("sale_report"."date" >= ?)) and ("sale_report"."company_id" is null or ("sale_report"."company_id" in (...))) group by "sale_report"."product_id", "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" order by "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 17 10 11 2s236ms 203ms 11 65 14s479ms 222ms 12 166 39s668ms 238ms 13 184 42s131ms 228ms 14 137 29s759ms 217ms 15 96 21s203ms 220ms 16 128 27s633ms 215ms 17 145 31s666ms 218ms 18 133 28s415ms 213ms 19 120 25s170ms 209ms 20 30 6s165ms 205ms 21 9 1s792ms 199ms -
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 (195791))) AND ("sale_report"."date" >= '2023-05-18 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-05-17 12:29:29 Duration: 1s859ms
-
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 (262859))) AND ("sale_report"."date" >= '2023-05-18 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-05-17 12:40:37 Duration: 899ms
-
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 (213446))) AND ("sale_report"."date" >= '2023-05-18 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-05-17 11:53:15 Duration: 854ms
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
- 86,948 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 1294 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 850 Max number of times the same event was reported
- 1,294 Total events found
Rank Times reported Error 1 850 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count May 17 00 43 01 48 02 42 03 33 04 22 05 25 06 20 07 86 08 21 09 24 10 23 11 27 12 30 13 29 14 27 15 26 16 25 17 30 18 31 19 26 20 27 21 27 22 29 23 129 - ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "website_visitor"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=58 FOR UPDATE NOWAIT
Date: 2024-05-17 23:50:30
Statement: SELECT * FROM website_visitor where id = 13495710 FOR NO KEY UPDATE NOWAIT
Date: 2024-05-17 13:02:21
2 395 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #2
Day Hour Count May 17 06 1 07 1 08 1 10 2 11 35 12 78 13 69 14 57 15 44 16 31 17 25 18 24 19 14 20 8 22 1 23 4 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE "bus_presence" SET "last_poll"='2024-05-17 11:01:07' WHERE id IN (90)
Date: 2024-05-17 11:01:07
3 34 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #3
Day Hour Count May 17 07 1 11 4 12 9 13 9 14 6 15 2 17 2 18 1 - ERROR: process 359500 still waiting for ShareLock on transaction 261143521 after 1000.043 ms
- ERROR: process 662257 still waiting for ShareLock on transaction 261143830 after 1000.044 ms
- ERROR: process 496229 still waiting for ShareLock on transaction 261143947 after 1000.056 ms
Detail: Process holding the lock: 742761. Wait queue: 359500.
Context: while updating tuple (19520,4) in relation "sale_order_line"
Statement: UPDATE "sale_order_line" SET "cus_part_route"=32,"cus_user_id"=1009,"order_partner_id"=33977,"write_uid"=1291,"write_date"=(now() at time zone 'UTC') WHERE id IN (391707, 390809, 391771, 391772)Date: 2024-05-17 11:40:05
Detail: Process holding the lock: 602663. Wait queue: 662257.
Context: while updating tuple (19520,4) in relation "sale_order_line"
Statement: UPDATE "sale_order_line" SET "cus_part_route"=32,"cus_user_id"=1009,"order_partner_id"=33977,"write_uid"=1291,"write_date"=(now() at time zone 'UTC') WHERE id IN (391707, 390809, 391771, 391772)Date: 2024-05-17 11:41:56
Detail: Process holding the lock: 742762. Wait queue: 496229.
Context: while updating tuple (19520,34) in relation "sale_order_line"
Statement: UPDATE "sale_order_line" SET "cus_part_route"=32,"cus_user_id"=1009,"order_partner_id"=33977,"write_uid"=1291,"write_date"=(now() at time zone 'UTC') WHERE id IN (391707, 390809, 391771, 391772)Date: 2024-05-17 11:42:33
4 6 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #4
Day Hour Count May 17 12 4 13 2 - ERROR: process 496229 still waiting for ExclusiveLock on tuple (14756,18) of relation 42418 of database 65946 after 1000.053 ms
- ERROR: process 409503 still waiting for ExclusiveLock on tuple (14773,27) of relation 42418 of database 65946 after 1000.178 ms
- ERROR: process 496229 still waiting for ExclusiveLock on tuple (14773,27) of relation 42418 of database 65946 after 1000.049 ms
Detail: Process holding the lock: 409502. Wait queue: 496229.
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 != 1412820 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 != 1412820 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-05-17 12:03:37
Detail: Process holding the lock: 602758. Wait queue: 409503, 496229.
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 != 1416520 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 != 1416520 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-05-17 12:25:30
Detail: Process holding the lock: 602758. Wait queue: 409503, 496229.
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 != 1416468 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 != 1416468 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-05-17 12:25:30
5 3 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #5
Day Hour Count May 17 19 3 - ERROR: duplicate key value violates unique constraint "fleet_vehicle_vehicle_unit_no_driver_id_unique"
Detail: Key (vehicle_unit_no, driver_id)=(1, 34096) already exists.
Statement: INSERT INTO "fleet_vehicle" ("id", "create_uid", "create_date", "write_uid", "write_date", "acquisition_date", "active", "brand_id", "car_value", "co2", "color", "company_id", "description", "doors", "driver_id", "first_contract_date", "fuel_type", "future_driver_id", "horsepower", "horsepower_tax", "license_plate", "location", "manager_id", "model_id", "model_vehicle_type", "model_year", "name", "net_car_value", "next_assignation_date", "odometer_unit", "power", "residual_value", "seats", "state_id", "transmission", "vehicle_unit_no", "vin_sn") VALUES (nextval('fleet_vehicle_id_seq'), 990, (now() at time zone 'UTC'), 990, (now() at time zone 'UTC'), '2024-05-17', true, 117, 0.0, 0.0, NULL, 1, NULL, 5, 34096, '2024-05-17', NULL, NULL, 0, 0.0, NULL, NULL, 2, 195, 28, NULL, 'INTER', 0.0, NULL, 'miles', 0, 0.0, 0, 3, NULL, '1', 'SC015646') RETURNING idDate: 2024-05-17 19:08:01
6 3 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #6
Day Hour Count May 17 11 1 16 1 18 1 - ERROR: null value in column "categ_id" of relation "product_template" violates not-null constraint
Detail: Failing row contains (267395, null, a4715qelk, 1, null, null, null, product, null, 1.00, null, null, t, t, 1, 1, null, t, null, null, null, null, 973, 2024-05-17 11:10:47.93007, 973, 2024-05-17 11:10:47.93007, manual, no-message, null, no, delivery, 0, none, null, null, null, receive, no-message, null, null, no, 0, null, null, null, null, null, null, null, null, f, null, 1, 1, null, 475095, never, 0, , 44, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 2024-05-17, null, E, 1, null, null, f, f, no, null, 1, null, null, null, null, null, null, null, null, null, none, null, null, null, f, f, null, null, null, f, rfq, null, null, null, null, null).
Statement: INSERT INTO "product_template" ("id", "create_uid", "create_date", "write_uid", "write_date", "active", "allow_journal", "available_threshold", "branch_id", "categ_id", "core_qty", "custom_message", "expense_policy", "first_active_date", "global_class_code", "inventory_availability", "invoice_policy", "is_core", "is_direct_order_product", "is_mo_product", "is_published", "is_transmission", "linked_with_existing_core", "list_price", "name", "produce_delay", "purchase_line_warn", "purchase_method", "purchase_ok", "purchase_requisition", "sale_delay", "sale_line_warn", "sale_ok", "sequence", "service_form_type", "service_tracking", "service_type", "standard_carton_quanity", "tracking", "type", "uom_id", "uom_po_id", "website_sequence", "website_size_x", "website_size_y") VALUES (nextval('product_template_id_seq'), 973, (now() at time zone 'UTC'), 973, (now() at time zone 'UTC'), true, false, 0.0, 44, NULL, 1, '', 'no', '2024-05-17', 'E', 'never', 'delivery', false, false, false, false, false, 'no', '1.00', 'a4715qelk', 0.0, 'no-message', 'receive', true, 'rfq', 0.0, 'no-message', true, 1, 'none', 'no', 'manual', 1, 'none', 'product', 1, 1, 475095, 1, 1) RETURNING idDate: 2024-05-17 11:10:48
7 2 ERROR: update or delete on table "..." violates foreign key constraint "..." on table "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count May 17 18 2 - ERROR: update or delete on table "product_product" violates foreign key constraint "sale_order_line_product_id_fkey" on table "sale_order_line"
Detail: Key (id)=(265922) is still referenced from table "sale_order_line".
Statement: DELETE FROM product_template WHERE id IN (267438)Date: 2024-05-17 18:42:04
8 1 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #8
Day Hour Count May 17 11 1 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM monthly_statement_line WHERE id IN (1071428, 1071427, 1071522, 1071429, 1071430, 1071431, 1071433, 1071434, 1071435, 1071436, 1071432, 1071438, 1071439, 1071440, 1071441, 1071442, 1071523, 1071524, 1071437, 1071445, 1071447, 1071448, 1071446, 1071443, 1071444, 1071449, 1071452, 1071450, 1071451, 1071453, 1071457, 1071458, 1071456, 1071455, 1071454, 1071462, 1071463, 1071464, 1071465, 1071466, 1071459, 1071460, 1071461, 1071470, 1071471, 1071467, 1071468, 1071469, 1071472, 1071473, 1071474, 1071476, 1071475, 1071477, 1071478, 1071479, 1071480, 1071481, 1071482, 1071483, 1071485, 1071486, 1071487, 1071484, 1071491, 1071492, 1071488, 1071489, 1071490, 1071493, 1071494, 1071495, 1071496, 1071499, 1071497, 1071498, 1071525, 1071500, 1071501, 1071502, 1071503, 1071504, 1071505, 1071506, 1071507, 1071509, 1071510, 1071511, 1071508, 1071516, 1071517, 1071518, 1071514, 1071513, 1071515, 1071512, 1071519, 1071520, 1071521)
Date: 2024-05-17 11:56:55