-
Global information
- Generated on Tue Jun 11 00:50:08 2024
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 737,117 log entries in 6s
- Log start from 2024-06-10 00:00:04 to 2024-06-10 23:59:52
-
Overview
Global Stats
- 1,246 Number of unique normalized queries
- 134,680 Number of queries
- 11h38m48s Total query duration
- 2024-06-10 00:00:04 First query
- 2024-06-10 23:59:52 Last query
- 80 queries/s at 2024-06-10 12:22:50 Query peak
- 11h38m48s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 11h38m48s Execute total duration
- 126,329 Number of events
- 13 Number of unique normalized events
- 124,797 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
- 134,680 Average queries per session
- 11h38m48s 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
- 80 queries/s Query Peak
- 2024-06-10 12:22:50 Date
SELECT Traffic
Key values
- 80 queries/s Query Peak
- 2024-06-10 12:22:50 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 11 queries/s Query Peak
- 2024-06-10 18:59:38 Date
Queries duration
Key values
- 11h38m48s 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) Jun 10 00 324 137ms 334ms 177ms 1s563ms 2s108ms 2s380ms 01 632 121ms 2s644ms 385ms 5s946ms 21s327ms 1m38s 02 3,071 120ms 950ms 221ms 34s2ms 43s960ms 49s408ms 03 323 135ms 3s209ms 169ms 1s449ms 2s171ms 3s767ms 04 251 137ms 1s160ms 153ms 564ms 1s427ms 2s729ms 05 241 136ms 426ms 139ms 560ms 563ms 982ms 06 246 0ms 457ms 141ms 558ms 565ms 1s308ms 07 323 120ms 2s923ms 187ms 2s149ms 3s314ms 6s794ms 08 734 120ms 34s366ms 771ms 34s527ms 36s264ms 44s144ms 09 2,411 121ms 6m5s 949ms 1m21s 2m50s 7m30s 10 1,089 120ms 2s753ms 227ms 9s419ms 10s485ms 26s367ms 11 11,611 120ms 56s442ms 301ms 1m34s 2m2s 2m23s 12 11,104 120ms 1m 362ms 1m32s 2m17s 7m19s 13 16,244 120ms 16s675ms 272ms 1m43s 1m52s 2m4s 14 14,057 120ms 32s977ms 284ms 1m32s 1m51s 2m 15 12,657 120ms 9s307ms 264ms 1m33s 1m36s 2m4s 16 9,417 120ms 18s66ms 377ms 2m12s 3m10s 5m37s 17 15,386 120ms 40s767ms 267ms 1m29s 1m52s 2m5s 18 11,173 120ms 16s970ms 290ms 1m22s 1m34s 2m11s 19 12,357 120ms 36s468ms 308ms 1m30s 1m52s 2m15s 20 6,506 120ms 1m30s 307ms 1m14s 1m21s 2m29s 21 3,439 120ms 1s998ms 247ms 35s762ms 56s410ms 1m7s 22 346 130ms 5s157ms 495ms 562ms 14s635ms 1m16s 23 738 136ms 2m28s 783ms 41s314ms 57s675ms 2m36s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 10 00 324 0 177ms 1s467ms 1s563ms 2s367ms 01 483 0 432ms 1s445ms 4s98ms 21s327ms 02 1,107 0 180ms 5s405ms 7s45ms 9s373ms 03 323 0 169ms 1s436ms 1s449ms 2s454ms 04 247 0 150ms 558ms 564ms 1s997ms 05 241 0 139ms 556ms 560ms 565ms 06 246 0 141ms 555ms 558ms 1s299ms 07 323 0 187ms 1s334ms 2s149ms 3s735ms 08 525 0 363ms 3s548ms 5s340ms 31s152ms 09 708 111 1s471ms 5s461ms 1m 2m30s 10 474 0 254ms 3s40ms 5s926ms 8s949ms 11 4,252 0 421ms 37s614ms 1m4s 1m22s 12 5,223 0 518ms 48s478ms 1m 6m12s 13 7,250 0 320ms 54s228ms 1m4s 1m19s 14 5,427 0 334ms 42s792ms 52s202ms 1m6s 15 6,066 0 294ms 42s876ms 51s757ms 1m7s 16 4,902 0 317ms 36s405ms 51s336ms 1m10s 17 6,228 0 299ms 45s461ms 54s612ms 1m5s 18 4,501 0 352ms 37s628ms 44s261ms 54s819ms 19 4,076 0 383ms 36s485ms 44s463ms 1m11s 20 2,579 0 357ms 22s894ms 31s931ms 38s201ms 21 1,444 0 258ms 10s374ms 15s210ms 22s60ms 22 281 0 557ms 555ms 562ms 45s550ms 23 662 0 154ms 1s722ms 4s305ms 8s674ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 10 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 84 1 0 165ms 0ms 0ms 337ms 02 0 1,003 13 0 165ms 338ms 6s928ms 15s37ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 4 0 0 353ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 1 207 0 1s805ms 0ms 16s302ms 32s715ms 09 0 969 602 0 686ms 19s900ms 27s150ms 30s985ms 10 0 599 14 0 206ms 1s919ms 4s777ms 6s302ms 11 0 5,710 8 0 183ms 18s499ms 29s587ms 35s316ms 12 0 4,312 17 0 182ms 14s500ms 20s558ms 29s133ms 13 0 6,537 59 0 192ms 19s675ms 26s24ms 50s124ms 14 0 5,716 50 0 209ms 20s213ms 24s385ms 32s977ms 15 0 4,452 30 0 184ms 13s367ms 19s152ms 36s911ms 16 2 2,947 152 0 488ms 13s817ms 22s742ms 2m34s 17 0 6,035 56 0 197ms 20s239ms 23s734ms 34s356ms 18 0 4,362 74 0 201ms 16s615ms 21s215ms 31s883ms 19 0 5,271 132 0 235ms 18s176ms 23s912ms 42s3ms 20 0 2,655 49 0 246ms 11s692ms 16s887ms 34s726ms 21 0 1,147 0 0 168ms 2s362ms 7s101ms 13s111ms 22 0 41 0 0 169ms 0ms 0ms 0ms 23 0 1 75 0 6s260ms 0ms 1s810ms 53s370ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jun 10 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 Jun 10 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 Jun 10 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 Jun 10 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 Jun 10 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) Jun 10 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 Jun 10 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 Jun 10 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 Jun 10 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
- 225 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 79 9m28s 1s38ms 19s202ms 7s192ms update "sale_order" set "carrier_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);
Date: 2024-06-10 16:15:20
2 34 2m50s 1s541ms 6s791ms 5s delete from sale_order_line where id in (...);-
DELETE FROM sale_order_line WHERE id IN (421546, 421547, 421548, 421551, 421552, 421553);
Date: 2024-06-10 14:20:47
-
DELETE FROM sale_order_line WHERE id IN (422320);
Date: 2024-06-10 16:19:42
-
DELETE FROM sale_order_line WHERE id IN (422321);
Date: 2024-06-10 16:20:04
3 24 2m24s 1s481ms 15s21ms 6s26ms update "sale_order" set "amount_total" = ?, "amount_untaxed" = ?, "carrier_id" = ?, "margin" = ?, "margin_percent" = ?.?, "unpaid_amount_total" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "amount_total" = '441.60', "amount_untaxed" = '441.60', "carrier_id" = 1, "margin" = '135.44', "margin_percent" = 0.30670289855072463, "unpaid_amount_total" = '441.60', "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);
Date: 2024-06-10 16:16:01
4 3 1m46s 49s200ms 56s22ms 35s486ms with updated_records as ( update product_warehouse_inventory set loc_check_qty = coalesce(qty_available, ?) + coalesce(qty_on_order, ?) - coalesce(qty_reserve, ?) where loc_check_qty != (coalesce(qty_available, ?) + coalesce(qty_on_order, ?) - coalesce(qty_reserve, ?)) and company_id = ? returning id, product_id, warehouse_id ) select product_id, id as warehouse_inventory_id, warehouse_id from updated_records;-
WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;
Date: 2024-06-10 11:04:14
-
WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;
Date: 2024-06-10 11:06:12
-
WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;
Date: 2024-06-10 18:40:01
5 25 1m32s 2s777ms 22s508ms 3s713ms 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 != 1443367 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 != 1443367 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-06-10 16:56:19
-
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 != 1405864 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 != 1405864 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-06-10 18:18:26
-
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 != 374154 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 != 374154 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-06-10 14:05:14
6 10 46s229ms 1s91ms 12s753ms 4s622ms update "sale_order" set "amount_total" = ?, "amount_untaxed" = ?, "core_bank_transaction" = false, "margin" = ?, "margin_percent" = ?.?, "unpaid_amount_total" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "amount_total" = '376.72', "amount_untaxed" = '376.72', "core_bank_transaction" = false, "margin" = '113.38', "margin_percent" = 0.300966234869399, "unpaid_amount_total" = '376.72', "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);
Date: 2024-06-10 16:18:22
-
UPDATE "sale_order" SET "amount_total" = '376.72', "amount_untaxed" = '376.72', "core_bank_transaction" = false, "margin" = '113.38', "margin_percent" = 0.300966234869399, "unpaid_amount_total" = '376.72', "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);
Date: 2024-06-10 16:16:01
7 2 45s360ms 22s390ms 22s969ms 22s680ms update product_warehouse_inventory set qty_shipped_not_invoiced = case when ?.? is not null then greatest ((?.? - ?.?) + (?.? - ?.?), ?) else greatest ((?.? - ?.?), ?) end where product_id = ? and warehouse_id = ? and company_id = ?;-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 1.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (1.0 - 1.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 180957 and warehouse_id = 43 and company_id = 1;
Date: 2024-06-10 11:47:35
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 1.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (1.0 - 1.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 180957 and warehouse_id = 43 and company_id = 1;
Date: 2024-06-10 11:47:11
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 4.0 IS NOT NULL THEN GREATEST ((15.0 - 15.0) + (4.0 - 4.0), 0) ELSE GREATEST ((15.0 - 15.0), 0) END where product_id = 177734 and warehouse_id = 37 and company_id = 1;
Date: 2024-06-10 17:34:39
8 13 37s353ms 2s412ms 7s365ms 2s873ms update "product_warehouse_inventory" set "last_used_date" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "product_warehouse_inventory" SET "last_used_date" = '2024-06-10', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (30213, 13830, 30218, 70667, 30225, 31779, 29738, 30251, 132663, 29752, 39481, 88126, 68678, 366667, 29779, 365652, 34387, 61530, 122972, 88157, 34405, 39022, 89716, 37500, 89726, 366725, 48262, 89735, 366726, 89745, 366737, 38550, 29846, 341657, 89787, 32955, 54466, 32962, 12007, 106217, 29955, 87301, 57611, 57612, 366363, 354592, 87331, 59177, 33587, 33592, 329020, 13639, 30028, 87377, 32594, 30040, 30045, 30051, 30064, 53109, 34167, 30072, 34175, 29594, 30117, 132520, 27576, 132553, 29658, 88538, 27610, 69605, 45036, 38893, 30190, 31727, 45055);
Date: 2024-06-10 11:45:49
-
UPDATE "product_warehouse_inventory" SET "last_used_date" = '2024-06-10', "write_uid" = 1028, "write_date" = (now() at time zone 'UTC') WHERE id IN (14129, 28948, 28950, 28951, 363034, 96731);
Date: 2024-06-10 20:26:37
9 8 25s262ms 3s776ms 6s680ms 3s157ms 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" = 5494229, "write_uid" = 972, "write_date" = (now() at time zone 'UTC') WHERE id IN (1464088);
Date: 2024-06-10 19:55:29
10 10 23s15ms 1s190ms 7s760ms 2s301ms update product_warehouse_inventory set loc_check_qty = coalesce(?.?, ?) + coalesce(?.?, ?) - coalesce(?.?, ?) where product_id = ? and warehouse_id = ? and company_id = ?;-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(0.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 191053 AND warehouse_id = 41 AND company_id = 1;
Date: 2024-06-10 14:01:31
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(9.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 188716 AND warehouse_id = 46 AND company_id = 1;
Date: 2024-06-10 13:38:02
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(4.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 239475 AND warehouse_id = 44 AND company_id = 1;
Date: 2024-06-10 13:12:20
11 2 22s126ms 10s925ms 11s200ms 11s63ms update "sale_order" set "amount_total" = ?, "amount_untaxed" = ?, "carrier_id" = ?, "margin" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "amount_total" = '344.28', "amount_untaxed" = '344.28', "carrier_id" = 1, "margin" = '102.35', "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);
Date: 2024-06-10 16:17:20
12 1 16s316ms 16s316ms 16s316ms 16s316ms update product_warehouse_inventory set qty_available = ?.? where product_id = ? and warehouse_id = ? and company_id = ?;-
UPDATE product_warehouse_inventory SET qty_available = 10.0 WHERE product_id = 184259 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-06-10 14:02:46
-
UPDATE product_warehouse_inventory SET qty_available = 2.0 WHERE product_id = 198427 AND warehouse_id = 41 AND company_id = 1;
Date: 2024-06-10 15:03:20
-
UPDATE product_warehouse_inventory SET qty_available = 0.0 WHERE product_id = 266484 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-06-10 14:52:39
13 3 16s268ms 4s634ms 6s260ms 5s422ms insert into account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) values (?, ?) on conflict do nothing;-
INSERT INTO account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) VALUES (422294, 2122) ON CONFLICT DO NOTHING;
Date: 2024-06-10 16:17:35
-
INSERT INTO account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) VALUES (422294, 2122) ON CONFLICT DO NOTHING;
Date: 2024-06-10 16:17:44
-
INSERT INTO account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) VALUES (422294, 2122) ON CONFLICT DO NOTHING;
Date: 2024-06-10 16:17:29
14 2 9s326ms 3s927ms 5s399ms 4s663ms update "sale_order_line" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (422293);
Date: 2024-06-10 16:17:06
-
UPDATE "sale_order_line" SET "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (422304);
Date: 2024-06-10 16:18:22
-
UPDATE "sale_order_line" SET "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (422293);
Date: 2024-06-10 16:17:06
15 1 6s164ms 6s164ms 6s164ms 6s164ms update "sale_order" set "amount_total" = ?, "amount_untaxed" = ?, "margin" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "amount_total" = '344.28', "amount_untaxed" = '344.28', "margin" = '102.35', "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);
Date: 2024-06-10 16:18:05
16 2 5s753ms 1s493ms 4s259ms 2s876ms update "sale_order" set "amount_total" = ?, "amount_untaxed" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order" SET "amount_total" = '311.84', "amount_untaxed" = '311.84', "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);
Date: 2024-06-10 16:17:36
17 1 3s224ms 3s224ms 3s224ms 3s224ms delete from account_tax_sale_order_line_rel where sale_order_line_id in (...) and account_tax_id in (...);-
DELETE FROM account_tax_sale_order_line_rel WHERE sale_order_line_id IN (422304) AND account_tax_id IN (2122);
Date: 2024-06-10 16:18:22
18 2 2s835ms 1s313ms 1s522ms 1s417ms update account_payment set write_uid = ? where id = ?;-
update account_payment set write_uid = '1046' where id = '66160';
Date: 2024-06-10 14:18:47
19 1 2s461ms 2s461ms 2s461ms 2s461ms update "product_warehouse_inventory" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "product_warehouse_inventory" SET "write_uid" = 2, "write_date" = (now() at time zone 'UTC') WHERE id IN (31757, 31758, 31759, 31760, 31761, 31762, 31763, 31764, 326966);
Date: 2024-06-10 16:12:25
20 1 2s128ms 2s128ms 2s128ms 2s128ms update "product_warehouse_inventory" set "lead_days" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "product_warehouse_inventory" SET "lead_days" = 8, "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (342159);
Date: 2024-06-10 15:05:10
21 1 1s164ms 1s164ms 1s164ms 1s164ms update product_warehouse_inventory set qty_mtd_sold = ?.? - ? where product_id = ? and warehouse_id = ?;-
UPDATE product_warehouse_inventory SET qty_mtd_sold = 2.0 - 0 WHERE product_id = 183540 AND warehouse_id = 42;
Date: 2024-06-10 12:20:15
-
UPDATE product_warehouse_inventory SET qty_mtd_sold = 7.0 - 0 WHERE product_id = 186700 AND warehouse_id = 42;
Date: 2024-06-10 12:20:16
-
UPDATE product_warehouse_inventory SET qty_mtd_sold = 30.0 - 0 WHERE product_id = 195782 AND warehouse_id = 43;
Date: 2024-06-10 18:40:02
Queries that waited the most
Rank Wait time Query 1 56s22ms WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;[ Date: 2024-06-10 11:04:14 ]
2 49s200ms WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;[ Date: 2024-06-10 11:06:11 ]
3 22s969ms update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 1.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (1.0 - 1.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 180957 and warehouse_id = 43 and company_id = 1;[ Date: 2024-06-10 11:47:35 ]
4 22s508ms 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 != 1458490 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 != 1458490 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-06-10 19:54:43 ]
5 22s390ms update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 1.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (1.0 - 1.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 180957 and warehouse_id = 43 and company_id = 1;[ Date: 2024-06-10 11:47:11 ]
6 19s202ms UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:19:43 ]
7 18s412ms UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:19:43 ]
8 17s21ms UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:19:43 ]
9 16s819ms UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:17:56 ]
10 16s573ms UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:19:43 ]
11 16s316ms UPDATE product_warehouse_inventory SET qty_available = 10.0 WHERE product_id = 184259 AND warehouse_id = 43 AND company_id = 1;[ Date: 2024-06-10 14:02:46 ]
12 15s21ms UPDATE "sale_order" SET "amount_total" = '344.28', "amount_untaxed" = '344.28', "carrier_id" = 1, "margin" = '102.35', "margin_percent" = 0.2972870919019403, "unpaid_amount_total" = '344.28', "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:17:56 ]
13 14s839ms UPDATE "sale_order" SET "amount_total" = '344.28', "amount_untaxed" = '344.28', "carrier_id" = 1, "margin" = '102.35', "margin_percent" = 0.2972870919019403, "unpaid_amount_total" = '344.28', "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:17:56 ]
14 13s850ms UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:19:43 ]
15 13s474ms UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:17:56 ]
16 12s753ms UPDATE "sale_order" SET "amount_total" = '279.40', "amount_untaxed" = '279.40', "core_bank_transaction" = false, "margin" = '80.29', "margin_percent" = 0.28736578382247674, "unpaid_amount_total" = '279.40', "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:19:43 ]
17 11s436ms UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:19:43 ]
18 11s225ms UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:17:20 ]
19 11s200ms UPDATE "sale_order" SET "amount_total" = '311.84', "amount_untaxed" = '311.84', "carrier_id" = 1, "margin" = '91.32', "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:17:56 ]
20 11s150ms UPDATE "sale_order" SET "carrier_id" = NULL, "write_uid" = 1148, "write_date" = (now() at time zone 'UTC') WHERE id IN (142401);[ Date: 2024-06-10 16:19:57 ]
-
Queries
Queries by type
Key values
- 57,892 Total read queries
- 76,788 Total write queries
Queries by database
Key values
- unknown Main database
- 134,680 Requests
- 11h38m48s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 134,732 Requests
User Request type Count Duration unknown Total 134,732 11h38m56s copy to 111 17m46s cte 23,278 2h13m52s cursor 2 446ms delete 1,539 1h6m39s insert 2 16s269ms select 57,944 5h28m16s tcl 10 2s409ms update 51,846 2h32m2s Duration by user
Key values
- 11h38m56s (unknown) Main time consuming user
User Request type Count Duration unknown Total 134,732 11h38m56s copy to 111 17m46s cte 23,278 2h13m52s cursor 2 446ms delete 1,539 1h6m39s insert 2 16s269ms select 57,944 5h28m16s tcl 10 2s409ms update 51,846 2h32m2s Queries by host
Key values
- unknown Main host
- 134,732 Requests
- 11h38m56s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 134,680 Requests
- 11h38m48s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-06-10 12:34:14 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 122,256 100-500ms duration
Slowest individual queries
Rank Duration Query 1 6m5s 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-06-10 09:13:03 ]
2 2m29s 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-06-10 09:06:57 ]
3 2m28s DELETE FROM account_move_line WHERE id IN (5118410, 5118411, 5118412, 5118413, 5118414, 5118415, 5118416, 5118417, 5118418, 5118419, 5118420, 5118421, 5118422, 5118423, 5118424, 5118425, 5118426, 5118427, 5118428, 5118429, 5118430, 5118431, 5118432, 5118433, 5118434, 5118435, 5118436, 5118437, 5118438, 5118439, 5118440, 5118441, 5118442, 5118443, 5118444, 5118445, 5118446, 5118447, 5118448, 5118449, 5118450, 5118451, 5118452, 5118453, 5118454, 5118455, 5118456, 5118457, 5118458, 5118459, 5118460, 5118461, 5118462, 5118463, 5118464, 5118465, 5118466, 5118467, 5118468, 5118469, 5118470, 5118471, 5118472, 5118473, 5118474, 5118475, 5118476, 5118477, 5118478, 5118479, 5118480, 5118481, 5118482, 5118483, 5118484, 5118485, 5118486, 5118487, 5118488, 5118489, 5118522, 5118523);[ Date: 2024-06-10 23:27:15 ]
4 1m58s 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-06-10 09:04:10 ]
5 1m30s SELECT min("mail_message".id) AS id, count("mail_message".id) AS "author_id_count", sum("mail_message"."res_id") AS "res_id", "mail_message"."author_id" as "author_id" FROM "mail_message" LEFT JOIN "res_partner" AS "mail_message__author_id" ON ("mail_message"."author_id" = "mail_message__author_id"."id") GROUP BY "mail_message"."author_id", "mail_message__author_id"."display_name" ORDER BY "mail_message__author_id"."display_name" LIMIT 80;[ Date: 2024-06-10 20:11:22 ]
6 1m SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."product_id" in (266701)) ORDER BY "item_list_line"."id";[ Date: 2024-06-10 12:12:20 ]
7 56s442ms WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;[ Date: 2024-06-10 11:04:14 ]
8 49s682ms WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;[ Date: 2024-06-10 11:06:12 ]
9 42s97ms COPY public.website_track (id, visitor_id, page_id, url, visit_datetime, product_id) TO stdout;[ Date: 2024-06-10 09:17:17 ]
10 41s671ms DELETE FROM account_move_line WHERE id IN (5118590, 5118591, 5118592, 5118593, 5118594, 5118595, 5118596, 5118597, 5118598, 5118599, 5118600, 5118601, 5118602, 5118603, 5118604, 5118605, 5118606, 5118607, 5118608, 5118609, 5118610, 5118611, 5118612);[ Date: 2024-06-10 23:31:00 ]
11 40s767ms DELETE FROM account_move_line WHERE id IN (4141790, 4141791, 4141792, 4141793, 4141794, 4141795, 4141796, 4141797, 4141798, 4141799, 4141800, 4141801, 4141802, 4141803, 4141804, 4141805, 4141806, 4141807, 4141808, 4141809, 4141810, 4141811);[ Date: 2024-06-10 17:13:25 ]
12 38s706ms COPY public.website_visitor (id, name, access_token, active, website_id, partner_id, country_id, lang_id, timezone, visit_count, create_date, last_connection_datetime, create_uid, write_uid, write_date) TO stdout;[ Date: 2024-06-10 09:17:56 ]
13 37s714ms DELETE FROM account_move_line WHERE id IN (4516035, 4516036, 4516037, 4516038, 4516039, 4516040, 4516041, 4516042, 4516043, 4516044, 4516045, 4516046, 4516047, 4516048, 4516049, 4516050, 4516051, 4516052, 4516053, 4516054);[ Date: 2024-06-10 20:01:48 ]
14 36s725ms DELETE FROM account_move_line WHERE id IN (5119208, 5119209, 5119210, 5119211, 5119212, 5119213, 5119214, 5119215, 5119216, 5119217, 5119218, 5119219, 5119220, 5119221, 5119222, 5119223, 5119224, 5119225, 5119226, 5119227);[ Date: 2024-06-10 20:03:29 ]
15 36s468ms DELETE FROM account_move_line WHERE id IN (4516035, 4516036, 4516037, 4516038, 4516039, 4516040, 4516041, 4516042, 4516043, 4516044, 4516045, 4516046, 4516047, 4516048, 4516049, 4516050, 4516051, 4516052, 4516053, 4516054);[ Date: 2024-06-10 19:53:12 ]
16 34s366ms 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-06-10 08:01:40 ]
17 33s713ms 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-06-10 09:00:55 ]
18 32s977ms DELETE FROM sale_order_line WHERE id IN (421546, 421547, 421548, 421551, 421552, 421553);[ Date: 2024-06-10 14:20:47 ]
19 29s896ms DELETE FROM account_move_line WHERE id IN (3757670, 3757671, 3757672, 3757673, 3757674, 3757675, 3757676, 3757677, 3757678, 3757679, 3757680, 3757681, 3757682, 3757683, 3757684, 3757685);[ Date: 2024-06-10 19:51:48 ]
20 29s246ms DELETE FROM account_move_line WHERE id IN (5119102, 5119103, 5119104, 5119105, 5119106, 5119107, 5119108, 5119109, 5119110, 5119111, 5119112, 5119113, 5119114, 5119115, 5119116, 5119117);[ Date: 2024-06-10 20:05:26 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h11m20s 11,624 338ms 56s442ms 368ms with updated_records as ( update product_warehouse_inventory set loc_check_qty = coalesce(qty_available, ?) + coalesce(qty_on_order, ?) - coalesce(qty_reserve, ?) where loc_check_qty != (coalesce(qty_available, ?) + coalesce(qty_on_order, ?) - coalesce(qty_reserve, ?)) and company_id = ? returning id, product_id, warehouse_id ) select product_id, id as warehouse_inventory_id, warehouse_id from updated_records;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 10 01 32 11s70ms 345ms 02 474 2m43s 345ms 09 8 2s887ms 360ms 11 821 6m39s 486ms 12 774 4m39s 360ms 13 1,195 7m14s 363ms 14 1,430 8m37s 361ms 15 1,054 6m19s 360ms 16 705 4m14s 361ms 17 1,531 9m10s 359ms 18 1,118 6m42s 360ms 19 1,439 8m33s 357ms 20 607 3m36s 356ms 21 424 2m30s 354ms 22 12 4s247ms 353ms -
WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;
Date: 2024-06-10 11:04:14 Duration: 56s442ms
-
WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;
Date: 2024-06-10 11:06:12 Duration: 49s682ms
-
WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;
Date: 2024-06-10 18:40:01 Duration: 1s594ms
2 1h2m19s 11,622 292ms 1s147ms 321ms with pwi_data as ( select pwi.id as pwi_id, pwi.warehouse_id, pwi.product_id, pwi.loc_check_qty as src_loc_check_qty, pwi.rep_loc_check_qty as ex_rep_loc_check_qty, pwi.replenish_branch_id, sw.id as replenish_wh_id from product_warehouse_inventory pwi join stock_warehouse sw on sw.branch_id = pwi.replenish_branch_id where pwi.replenish_branch_id is not null ), rep_loc_data as ( select pwi_data.pwi_id, pwi_data.src_loc_check_qty, pwi_data.ex_rep_loc_check_qty, pwi_data.replenish_wh_id, coalesce(rep_pwi.loc_check_qty, ?) as rep_loc_check_qty from pwi_data left join product_warehouse_inventory rep_pwi on rep_pwi.warehouse_id = pwi_data.replenish_wh_id and rep_pwi.product_id = pwi_data.product_id ) select rep_loc_data.pwi_id, rep_loc_data.ex_rep_loc_check_qty, (rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty) as new_rep_loc_check_qty from rep_loc_data where rep_loc_data.ex_rep_loc_check_qty != rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 10 01 32 9s675ms 302ms 02 474 2m28s 312ms 09 8 2s429ms 303ms 11 819 4m20s 318ms 12 774 4m10s 324ms 13 1,195 6m33s 328ms 14 1,430 7m45s 325ms 15 1,054 5m43s 325ms 16 704 3m47s 322ms 17 1,532 8m14s 322ms 18 1,118 5m59s 321ms 19 1,439 7m36s 317ms 20 607 3m11s 315ms 21 424 2m13s 315ms 22 12 3s664ms 305ms -
WITH pwi_data AS ( SELECT pwi.id AS pwi_id, pwi.warehouse_id, pwi.product_id, pwi.loc_check_qty AS src_loc_check_qty, pwi.rep_loc_check_qty AS ex_rep_loc_check_qty, pwi.replenish_branch_id, sw.id AS replenish_wh_id FROM product_warehouse_inventory pwi JOIN stock_warehouse sw ON sw.branch_id = pwi.replenish_branch_id WHERE pwi.replenish_branch_id IS NOT NULL ), rep_loc_data AS ( SELECT pwi_data.pwi_id, pwi_data.src_loc_check_qty, pwi_data.ex_rep_loc_check_qty, pwi_data.replenish_wh_id, COALESCE(rep_pwi.loc_check_qty, 0) AS rep_loc_check_qty FROM pwi_data LEFT JOIN product_warehouse_inventory rep_pwi ON rep_pwi.warehouse_id = pwi_data.replenish_wh_id AND rep_pwi.product_id = pwi_data.product_id ) SELECT rep_loc_data.pwi_id, rep_loc_data.ex_rep_loc_check_qty, (rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty) as new_rep_loc_check_qty FROM rep_loc_data WHERE rep_loc_data.ex_rep_loc_check_qty != rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty;
Date: 2024-06-10 14:31:37 Duration: 1s147ms
-
WITH pwi_data AS ( SELECT pwi.id AS pwi_id, pwi.warehouse_id, pwi.product_id, pwi.loc_check_qty AS src_loc_check_qty, pwi.rep_loc_check_qty AS ex_rep_loc_check_qty, pwi.replenish_branch_id, sw.id AS replenish_wh_id FROM product_warehouse_inventory pwi JOIN stock_warehouse sw ON sw.branch_id = pwi.replenish_branch_id WHERE pwi.replenish_branch_id IS NOT NULL ), rep_loc_data AS ( SELECT pwi_data.pwi_id, pwi_data.src_loc_check_qty, pwi_data.ex_rep_loc_check_qty, pwi_data.replenish_wh_id, COALESCE(rep_pwi.loc_check_qty, 0) AS rep_loc_check_qty FROM pwi_data LEFT JOIN product_warehouse_inventory rep_pwi ON rep_pwi.warehouse_id = pwi_data.replenish_wh_id AND rep_pwi.product_id = pwi_data.product_id ) SELECT rep_loc_data.pwi_id, rep_loc_data.ex_rep_loc_check_qty, (rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty) as new_rep_loc_check_qty FROM rep_loc_data WHERE rep_loc_data.ex_rep_loc_check_qty != rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty;
Date: 2024-06-10 15:17:14 Duration: 1s19ms
-
WITH pwi_data AS ( SELECT pwi.id AS pwi_id, pwi.warehouse_id, pwi.product_id, pwi.loc_check_qty AS src_loc_check_qty, pwi.rep_loc_check_qty AS ex_rep_loc_check_qty, pwi.replenish_branch_id, sw.id AS replenish_wh_id FROM product_warehouse_inventory pwi JOIN stock_warehouse sw ON sw.branch_id = pwi.replenish_branch_id WHERE pwi.replenish_branch_id IS NOT NULL ), rep_loc_data AS ( SELECT pwi_data.pwi_id, pwi_data.src_loc_check_qty, pwi_data.ex_rep_loc_check_qty, pwi_data.replenish_wh_id, COALESCE(rep_pwi.loc_check_qty, 0) AS rep_loc_check_qty FROM pwi_data LEFT JOIN product_warehouse_inventory rep_pwi ON rep_pwi.warehouse_id = pwi_data.replenish_wh_id AND rep_pwi.product_id = pwi_data.product_id ) SELECT rep_loc_data.pwi_id, rep_loc_data.ex_rep_loc_check_qty, (rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty) as new_rep_loc_check_qty FROM rep_loc_data WHERE rep_loc_data.ex_rep_loc_check_qty != rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty;
Date: 2024-06-10 17:40:13 Duration: 982ms
3 41m11s 3,478 639ms 1s212ms 710ms 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 Jun 10 10 24 16s34ms 668ms 11 416 4m51s 701ms 12 356 4m13s 713ms 13 579 7m5s 734ms 14 477 5m40s 714ms 15 269 3m7s 698ms 16 308 3m43s 724ms 17 273 3m13s 707ms 18 250 2m55s 703ms 19 242 2m49s 701ms 20 260 2m57s 683ms 21 21 14s279ms 679ms 22 3 2s18ms 672ms -
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 ('%%212%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%212%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%212%'))) 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-06-10 12:38:12 Duration: 1s212ms
-
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 ('%%601285%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%601285%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%601285%'))) 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-06-10 16:19:19 Duration: 1s181ms
-
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 ('%%hdf0%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hdf0%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%hdf0%'))) 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-06-10 14:31:37 Duration: 1s175ms
4 38m48s 905 1s777ms 2m28s 2s572ms delete from account_move_line where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 10 08 207 6m14s 1s811ms 09 487 14m44s 1s815ms 10 14 25s227ms 1s801ms 11 1 2s27ms 2s27ms 12 6 14s855ms 2s475ms 14 1 9s233ms 9s233ms 15 1 5s482ms 5s482ms 16 2 7s324ms 3s662ms 17 3 48s447ms 16s149ms 18 55 1m44s 1s890ms 19 54 4m12s 4s671ms 20 10 2m42s 16s243ms 23 64 7m17s 6s843ms -
DELETE FROM account_move_line WHERE id IN (5118410, 5118411, 5118412, 5118413, 5118414, 5118415, 5118416, 5118417, 5118418, 5118419, 5118420, 5118421, 5118422, 5118423, 5118424, 5118425, 5118426, 5118427, 5118428, 5118429, 5118430, 5118431, 5118432, 5118433, 5118434, 5118435, 5118436, 5118437, 5118438, 5118439, 5118440, 5118441, 5118442, 5118443, 5118444, 5118445, 5118446, 5118447, 5118448, 5118449, 5118450, 5118451, 5118452, 5118453, 5118454, 5118455, 5118456, 5118457, 5118458, 5118459, 5118460, 5118461, 5118462, 5118463, 5118464, 5118465, 5118466, 5118467, 5118468, 5118469, 5118470, 5118471, 5118472, 5118473, 5118474, 5118475, 5118476, 5118477, 5118478, 5118479, 5118480, 5118481, 5118482, 5118483, 5118484, 5118485, 5118486, 5118487, 5118488, 5118489, 5118522, 5118523);
Date: 2024-06-10 23:27:15 Duration: 2m28s
-
DELETE FROM account_move_line WHERE id IN (5118590, 5118591, 5118592, 5118593, 5118594, 5118595, 5118596, 5118597, 5118598, 5118599, 5118600, 5118601, 5118602, 5118603, 5118604, 5118605, 5118606, 5118607, 5118608, 5118609, 5118610, 5118611, 5118612);
Date: 2024-06-10 23:31:00 Duration: 41s671ms
-
DELETE FROM account_move_line WHERE id IN (4141790, 4141791, 4141792, 4141793, 4141794, 4141795, 4141796, 4141797, 4141798, 4141799, 4141800, 4141801, 4141802, 4141803, 4141804, 4141805, 4141806, 4141807, 4141808, 4141809, 4141810, 4141811);
Date: 2024-06-10 17:13:25 Duration: 40s767ms
5 38m28s 13,140 158ms 7s934ms 175ms update product_warehouse_inventory set loc_check_qty = coalesce(?.?, ?) + coalesce(?.?, ?) - coalesce(?.?, ?) where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 10 01 26 4s297ms 165ms 02 252 41s945ms 166ms 09 12 2s23ms 168ms 11 1,641 4m39s 170ms 12 969 2m49s 175ms 13 1,375 4m10s 182ms 14 1,479 4m36s 186ms 15 1,338 3m52s 173ms 16 782 2m17s 175ms 17 1,594 4m38s 174ms 18 1,132 3m16s 173ms 19 1,454 4m11s 172ms 20 634 1m50s 173ms 21 440 1m15s 171ms 22 12 2s57ms 171ms -
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(0.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 191053 AND warehouse_id = 41 AND company_id = 1;
Date: 2024-06-10 14:01:31 Duration: 7s934ms
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(9.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 188716 AND warehouse_id = 46 AND company_id = 1;
Date: 2024-06-10 13:38:02 Duration: 2s790ms
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(4.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 239475 AND warehouse_id = 44 AND company_id = 1;
Date: 2024-06-10 13:12:20 Duration: 2s364ms
6 26m35s 8,862 162ms 23s142ms 179ms update product_warehouse_inventory set qty_shipped_not_invoiced = case when ?.? is not null then greatest ((?.? - ?.?) + (?.? - ?.?), ?) else greatest ((?.? - ?.?), ?) end where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 10 09 16 3s408ms 213ms 10 7 1s697ms 242ms 11 1,697 5m39s 199ms 12 1,180 3m24s 173ms 13 832 2m26s 175ms 14 1,183 3m28s 175ms 15 436 1m16s 175ms 16 492 1m27s 177ms 17 1,064 3m8s 177ms 18 827 2m23s 173ms 19 614 1m46s 173ms 20 471 1m21s 172ms 21 36 6s129ms 170ms 22 7 1s191ms 170ms -
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 1.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (1.0 - 1.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 180957 and warehouse_id = 43 and company_id = 1;
Date: 2024-06-10 11:47:35 Duration: 23s142ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 1.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (1.0 - 1.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 180957 and warehouse_id = 43 and company_id = 1;
Date: 2024-06-10 11:47:11 Duration: 22s581ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 4.0 IS NOT NULL THEN GREATEST ((15.0 - 15.0) + (4.0 - 4.0), 0) ELSE GREATEST ((15.0 - 15.0), 0) END where product_id = 177734 and warehouse_id = 37 and company_id = 1;
Date: 2024-06-10 17:34:39 Duration: 1s108ms
7 21m23s 2,918 409ms 2s499ms 439ms 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 #7
Day Hour Count Duration Avg duration Jun 10 01 4 1s685ms 421ms 05 1 426ms 426ms 07 1 413ms 413ms 08 27 11s198ms 414ms 09 43 18s253ms 424ms 10 29 12s211ms 421ms 11 294 2m8s 435ms 12 362 2m42s 448ms 13 455 3m24s 449ms 14 329 2m25s 441ms 15 268 1m57s 439ms 16 254 1m51s 437ms 17 264 1m57s 443ms 18 249 1m47s 433ms 19 208 1m30s 434ms 20 121 51s451ms 425ms 21 9 3s710ms 412ms -
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_backend.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-876187e/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-06-10 12:22:50 Duration: 2s499ms
-
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-06-10 16:17:22 Duration: 954ms
-
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/%-c93381c/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-06-10 12:41:44 Duration: 810ms
8 21m21s 174 5s407ms 32s977ms 7s365ms delete from sale_order_line where id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 10 11 2 11s377ms 5s688ms 12 2 11s290ms 5s645ms 13 7 57s9ms 8s144ms 14 14 2m4s 8s889ms 15 4 23s628ms 5s907ms 16 128 15m35s 7s307ms 17 4 28s533ms 7s133ms 18 1 16s970ms 16s970ms 19 10 1m1s 6s191ms 20 2 11s11ms 5s505ms -
DELETE FROM sale_order_line WHERE id IN (421546, 421547, 421548, 421551, 421552, 421553);
Date: 2024-06-10 14:20:47 Duration: 32s977ms
-
DELETE FROM sale_order_line WHERE id IN (422320);
Date: 2024-06-10 16:19:42 Duration: 18s66ms
-
DELETE FROM sale_order_line WHERE id IN (422321);
Date: 2024-06-10 16:20:04 Duration: 17s959ms
9 18m22s 5,958 165ms 465ms 185ms 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 #9
Day Hour Count Duration Avg duration Jun 10 01 77 13s535ms 175ms 02 380 1m5s 172ms 12 15 2s808ms 187ms 13 992 3m10s 191ms 14 288 51s280ms 178ms 15 1,474 4m33s 185ms 16 177 31s695ms 179ms 17 1,243 3m58s 192ms 18 350 1m4s 185ms 19 167 31s530ms 188ms 20 24 4s204ms 175ms 21 771 2m14s 175ms -
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 = 44038 and fd.product_id = 239480;
Date: 2024-06-10 17:22:07 Duration: 465ms
-
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 = 44233 and fd.product_id = 219785;
Date: 2024-06-10 17:45:19 Duration: 361ms
-
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 = 44233 and fd.product_id = 217250;
Date: 2024-06-10 17:45:22 Duration: 345ms
10 16m22s 1,110 822ms 1s516ms 884ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 10 10 1 860ms 860ms 11 38 33s698ms 886ms 12 87 1m16s 876ms 13 139 2m4s 897ms 14 106 1m34s 891ms 15 105 1m31s 870ms 16 125 1m51s 888ms 17 157 2m20s 897ms 18 145 2m6s 871ms 19 168 2m27s 878ms 20 35 31s148ms 889ms 21 4 3s491ms 872ms -
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 ('%KIT2252L2CG1%')) 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 ('%KIT2252L2CG1%'))) 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 ('%KIT2252L2CG1%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%KIT2252L2CG1%')))))) 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-06-10 16:06:21 Duration: 1s516ms
-
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 ('%[22-1209HD%')) 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 ('%[22-1209HD%'))) 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 ('%[22-1209HD%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%[22-1209HD%')))))) 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-06-10 17:45:21 Duration: 1s484ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%e-9057%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%e-9057%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%e-9057%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%e-9057%')))))) 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-06-10 16:57:13 Duration: 1s279ms
11 14m48s 4,992 156ms 16s487ms 178ms update product_warehouse_inventory set qty_available = ?.? where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 10 01 1 162ms 162ms 02 35 5s762ms 164ms 09 760 2m10s 171ms 10 544 1m31s 168ms 11 259 45s504ms 175ms 12 320 56s7ms 175ms 13 489 1m26s 176ms 14 555 1m58s 213ms 15 292 51s98ms 174ms 16 237 43s30ms 181ms 17 457 1m20s 175ms 18 363 1m3s 175ms 19 390 1m7s 173ms 20 257 44s325ms 172ms 21 30 5s140ms 171ms 22 3 508ms 169ms -
UPDATE product_warehouse_inventory SET qty_available = 10.0 WHERE product_id = 184259 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-06-10 14:02:46 Duration: 16s487ms
-
UPDATE product_warehouse_inventory SET qty_available = 2.0 WHERE product_id = 198427 AND warehouse_id = 41 AND company_id = 1;
Date: 2024-06-10 15:03:20 Duration: 368ms
-
UPDATE product_warehouse_inventory SET qty_available = 0.0 WHERE product_id = 266484 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-06-10 14:52:39 Duration: 363ms
12 13m47s 5,760 136ms 304ms 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 #12
Day Hour Count Duration Avg duration Jun 10 00 240 33s848ms 141ms 01 240 33s470ms 139ms 02 240 33s841ms 141ms 03 240 33s416ms 139ms 04 240 33s369ms 139ms 05 240 33s300ms 138ms 06 240 33s279ms 138ms 07 240 33s342ms 138ms 08 240 33s650ms 140ms 09 240 34s385ms 143ms 10 240 33s469ms 139ms 11 240 34s945ms 145ms 12 240 35s648ms 148ms 13 240 36s696ms 152ms 14 240 37s18ms 154ms 15 240 36s333ms 151ms 16 240 35s423ms 147ms 17 240 36s657ms 152ms 18 240 35s516ms 147ms 19 240 35s21ms 145ms 20 240 34s414ms 143ms 21 240 33s717ms 140ms 22 240 33s213ms 138ms 23 240 33s347ms 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 ('information_schema.attributes', 'information_schema.domain_udt_usage', 'information_schema.role_routine_grants', 'information_schema.foreign_data_wrappers', 'information_schema.referential_constraints', 'information_schema.routine_sequence_usage', 'information_schema.user_mappings', 'information_schema.role_usage_grants', 'information_schema.sql_implementation_info', 'information_schema.role_udt_grants', 'information_schema.data_type_privileges', 'information_schema.user_defined_types', 'information_schema.sql_features', 'information_schema.view_table_usage', 'information_schema.user_mapping_options', 'information_schema.column_column_usage', 'information_schema.column_udt_usage', 'information_schema.domains', 'information_schema.routine_routine_usage', 'information_schema.character_sets', 'information_schema.enabled_roles', 'information_schema.sequences', 'information_schema.role_table_grants', 'information_schema.triggered_update_columns', 'information_schema.triggers', 'information_schema.element_types', 'information_schema.information_schema_catalog_name', 'information_schema.schemata', 'information_schema.key_column_usage', 'information_schema.sql_sizing', 'information_schema.foreign_data_wrapper_options', 'information_schema.check_constraints', 'information_schema.role_column_grants', 'information_schema.routine_column_usage', 'information_schema.routine_privileges', 'information_schema.usage_privileges', 'information_schema.view_column_usage', 'information_schema.column_privileges', 'information_schema.foreign_servers', 'information_schema.column_domain_usage', 'information_schema.constraint_column_usage', 'information_schema.applicable_roles', 'information_schema.parameters', 'information_schema.routine_table_usage', 'information_schema.column_options', 'information_schema.foreign_server_options', 'information_schema.administrable_role_authorizations', 'information_schema.collation_character_set_applicability', 'information_schema.check_constraint_routine_usage', 'information_schema.columns', 'information_schema.table_privileges', 'information_schema.view_routine_usage', 'information_schema.foreign_table_options', 'information_schema.domain_constraints', 'information_schema.tables', 'information_schema.foreign_tables', 'information_schema.collations', 'information_schema.routines', 'information_schema.table_constraints', 'information_schema.constraint_table_usage', 'information_schema.views', 'information_schema.udt_privileges', 'public.pg_stat_statements_info', 'public.pg_stat_statements', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_tables', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_index', 'pg_catalog.pg_opclass', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_settings', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_proc', 'pg_catalog.pg_am', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_policies', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_cast', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_attribute', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_group', 'pg_catalog.pg_sequence', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_depend', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_constraint', 'pg_catalog.pg_amop', 'pg_catalog.pg_type', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_subscription', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_transform', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_trigger', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_views', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_conversion', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_user', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_roles', 'pg_catalog.pg_enum', 'pg_catalog.pg_collation', 'pg_catalog.pg_range', 'pg_catalog.pg_operator', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_stats', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_extension', 'pg_catalog.pg_cursors', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_inherits', 'pg_catalog.pg_database', 'pg_catalog.pg_locks', 'pg_catalog.pg_description', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_matviews', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_policy', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_amproc', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_publication', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_namespace', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_language', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_rules', 'pg_catalog.pg_class', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_stat_wal');
Date: 2024-06-10 16:03:21 Duration: 304ms
-
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_stats', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_description', 'pg_catalog.pg_enum', 'pg_catalog.pg_conversion', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_collation', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_amop', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_extension', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_type', 'pg_catalog.pg_class', 'pg_catalog.pg_operator', 'pg_catalog.pg_policy', 'pg_catalog.pg_policies', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_transform', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_rules', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_language', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_locks', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_sequence', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_namespace', 'pg_catalog.pg_cursors', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_inherits', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_depend', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_tables', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_roles', 'pg_catalog.pg_settings', 'pg_catalog.pg_attribute', 'pg_catalog.pg_range', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_indexes', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_publication', 'pg_catalog.pg_opclass', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_user', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_am', 'pg_catalog.pg_cast', 'pg_catalog.pg_database', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_trigger', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_group', 'pg_catalog.pg_proc', 'pg_catalog.pg_index', 'pg_catalog.pg_views', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_constraint', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_subscription', 'pg_catalog.pg_amproc', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_matviews', 'information_schema.applicable_roles', 'information_schema.usage_privileges', 'information_schema.foreign_tables', 'information_schema.information_schema_catalog_name', 'information_schema.collations', 'information_schema.routine_privileges', 'information_schema.role_routine_grants', 'information_schema.triggered_update_columns', 'information_schema.view_column_usage', 'information_schema.foreign_data_wrapper_options', 'information_schema.administrable_role_authorizations', 'information_schema.check_constraints', 'information_schema.routine_routine_usage', 'information_schema.sql_sizing', 'information_schema.character_sets', 'information_schema.column_privileges', 'information_schema.columns', 'information_schema.attributes', 'information_schema.role_column_grants', 'information_schema.constraint_column_usage', 'information_schema.routine_table_usage', 'information_schema.udt_privileges', 'information_schema.data_type_privileges', 'information_schema.foreign_server_options', 'information_schema.domains', 'information_schema.triggers', 'information_schema.user_mapping_options', 'information_schema.foreign_servers', 'information_schema.routines', 'information_schema.tables', 'information_schema.element_types', 'information_schema.view_routine_usage', 'information_schema.column_udt_usage', 'information_schema.routine_column_usage', 'information_schema.role_table_grants', 'information_schema.domain_constraints', 'information_schema.foreign_data_wrappers', 'information_schema.constraint_table_usage', 'information_schema.domain_udt_usage', 'information_schema.key_column_usage', 'information_schema.views', 'information_schema.role_udt_grants', 'information_schema.foreign_table_options', 'information_schema.column_domain_usage', 'information_schema.parameters', 'information_schema.sequences', 'information_schema.role_usage_grants', 'information_schema.schemata', 'information_schema.referential_constraints', 'information_schema.column_options', 'information_schema.column_column_usage', 'information_schema.enabled_roles', 'information_schema.sql_implementation_info', 'information_schema.sql_features', 'information_schema.table_constraints', 'information_schema.table_privileges', 'information_schema.user_defined_types', 'information_schema.check_constraint_routine_usage', 'information_schema.collation_character_set_applicability', 'information_schema.view_table_usage', 'information_schema.routine_sequence_usage', 'information_schema.user_mappings', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-06-10 17:34:36 Duration: 276ms
-
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_rules', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_namespace', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_policies', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_subscription', 'pg_catalog.pg_amproc', 'pg_catalog.pg_tables', 'pg_catalog.pg_sequences', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_settings', 'pg_catalog.pg_constraint', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_operator', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_range', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_attribute', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_transform', 'pg_catalog.pg_cast', 'pg_catalog.pg_enum', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_locks', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_depend', 'pg_catalog.pg_sequence', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_language', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_publication', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_matviews', 'pg_catalog.pg_am', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_proc', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_index', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_opclass', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_stats', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_description', 'pg_catalog.pg_group', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_conversion', 'pg_catalog.pg_extension', 'pg_catalog.pg_user', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_database', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_type', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_policy', 'pg_catalog.pg_views', 'pg_catalog.pg_roles', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_collation', 'pg_catalog.pg_cursors', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_amop', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_trigger', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_class', 'pg_catalog.pg_inherits', 'information_schema.triggers', 'information_schema.column_options', 'information_schema.foreign_server_options', 'information_schema.information_schema_catalog_name', 'information_schema.schemata', 'information_schema.views', 'information_schema.user_mapping_options', 'information_schema.enabled_roles', 'information_schema.triggered_update_columns', 'information_schema.data_type_privileges', 'information_schema.routine_table_usage', 'information_schema.udt_privileges', 'information_schema.element_types', 'information_schema.attributes', 'information_schema.check_constraints', 'information_schema.column_privileges', 'information_schema.columns', 'information_schema.routine_sequence_usage', 'information_schema.sql_features', 'information_schema.domain_udt_usage', 'information_schema.key_column_usage', 'information_schema.role_udt_grants', 'information_schema.administrable_role_authorizations', 'information_schema.routines', 'information_schema.domain_constraints', 'information_schema.sequences', 'information_schema.foreign_table_options', 'information_schema.sql_implementation_info', 'information_schema.sql_sizing', 'information_schema.applicable_roles', 'information_schema.column_udt_usage', 'information_schema.constraint_column_usage', 'information_schema.table_constraints', 'information_schema.table_privileges', 'information_schema.user_mappings', 'information_schema.usage_privileges', 'information_schema.foreign_data_wrapper_options', 'information_schema.routine_column_usage', 'information_schema.domains', 'information_schema.role_table_grants', 'information_schema.foreign_data_wrappers', 'information_schema.role_usage_grants', 'information_schema.column_domain_usage', 'information_schema.role_routine_grants', 'information_schema.parameters', 'information_schema.routine_routine_usage', 'information_schema.view_routine_usage', 'information_schema.character_sets', 'information_schema.collation_character_set_applicability', 'information_schema.role_column_grants', 'information_schema.routine_privileges', 'information_schema.referential_constraints', 'information_schema.view_table_usage', 'information_schema.tables', 'information_schema.user_defined_types', 'information_schema.check_constraint_routine_usage', 'information_schema.collations', 'information_schema.constraint_table_usage', 'information_schema.view_column_usage', 'information_schema.foreign_servers', 'information_schema.foreign_tables', 'information_schema.column_column_usage', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-06-10 13:46:21 Duration: 275ms
13 12m12s 3,325 120ms 2s603ms 220ms 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 #13
Day Hour Count Duration Avg duration Jun 10 01 7 953ms 136ms 02 220 36s821ms 167ms 08 1 135ms 135ms 09 5 734ms 146ms 10 22 3s98ms 140ms 11 214 28s595ms 133ms 12 436 5m26s 749ms 13 545 1m22s 150ms 14 423 57s861ms 136ms 15 338 46s160ms 136ms 16 245 33s281ms 135ms 17 362 48s921ms 135ms 18 212 28s323ms 133ms 19 143 18s771ms 131ms 20 105 13s694ms 130ms 21 47 6s120ms 130ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (189604, 190001, 189790, 189989, 189758)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-06-10 12:20:17 Duration: 2s603ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (213240)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-06-10 12:20:17 Duration: 2s542ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (197386, 197466, 197847, 197864, 197865, 197867, 197868, 197885, 197909, 197910, 198072, 198102, 198165, 198224, 198293, 198369, 198414, 198495, 198570, 198797, 198873, 198880, 198943, 199018, 199178, 199213, 198419, 198885, 198864, 197891, 197876, 197916, 197750, 198575, 254193, 197442, 198915, 197892, 198881, 199010, 199112, 197480, 199098, 199094, 198833, 198569, 198319)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-06-10 12:20:16 Duration: 2s471ms
14 11m9s 937 644ms 1s330ms 714ms 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 #14
Day Hour Count Duration Avg duration Jun 10 11 63 43s927ms 697ms 12 194 2m15s 697ms 13 107 1m17s 722ms 14 74 53s649ms 724ms 15 47 35s34ms 745ms 16 12 8s232ms 686ms 17 172 2m5s 731ms 18 136 1m37s 713ms 19 124 1m27s 702ms 20 8 5s587ms 698ms -
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 ('%%4891%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%4891%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%4891%'))) 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-06-10 17:33:02 Duration: 1s330ms
-
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 ('%%3hc%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%3hc-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%3hc-%'))) 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-06-10 15:11:34 Duration: 1s312ms
-
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 ('%%97960%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%97960%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%97960%'))) 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-06-10 17:33:05 Duration: 1s308ms
15 10m34s 3,671 152ms 530ms 172ms update product_warehouse_inventory set qty_on_order = ?.? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 10 01 10 1s594ms 159ms 02 169 27s367ms 161ms 09 70 11s982ms 171ms 10 37 6s302ms 170ms 11 273 46s371ms 169ms 12 308 53s198ms 172ms 13 263 46s609ms 177ms 14 288 50s284ms 174ms 15 544 1m35s 175ms 16 308 53s720ms 174ms 17 417 1m12s 173ms 18 358 1m1s 172ms 19 377 1m5s 172ms 20 172 29s318ms 170ms 21 75 12s598ms 167ms 22 2 343ms 171ms -
UPDATE product_warehouse_inventory SET qty_on_order = 2.0 WHERE product_id = 214612 AND warehouse_id = 43;
Date: 2024-06-10 17:06:10 Duration: 530ms
-
UPDATE product_warehouse_inventory SET qty_on_order = 4.0 WHERE product_id = 214172 AND warehouse_id = 35;
Date: 2024-06-10 14:33:04 Duration: 337ms
-
UPDATE product_warehouse_inventory SET qty_on_order = 2.0 WHERE product_id = 186218 AND warehouse_id = 43;
Date: 2024-06-10 14:33:41 Duration: 321ms
16 10m28s 3,625 154ms 558ms 173ms update product_warehouse_inventory set qty_on_order = ? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 10 01 6 961ms 160ms 02 68 10s927ms 160ms 09 67 11s454ms 170ms 11 153 26s822ms 175ms 12 341 59s36ms 173ms 13 393 1m9s 176ms 14 376 1m5s 173ms 15 425 1m15s 177ms 16 207 36s885ms 178ms 17 515 1m29s 173ms 18 295 50s938ms 172ms 19 410 1m10s 171ms 20 217 36s735ms 169ms 21 148 24s638ms 166ms 22 4 675ms 168ms -
UPDATE product_warehouse_inventory SET qty_on_order = 0 WHERE product_id = 214612 AND warehouse_id = 43;
Date: 2024-06-10 17:06:10 Duration: 558ms
-
UPDATE product_warehouse_inventory SET qty_on_order = 0 WHERE product_id = 194200 AND warehouse_id = 44;
Date: 2024-06-10 13:46:00 Duration: 437ms
-
UPDATE product_warehouse_inventory SET qty_on_order = 0 WHERE product_id = 183351 AND warehouse_id = 43;
Date: 2024-06-10 14:42:51 Duration: 357ms
17 8m24s 549 120ms 3s63ms 918ms select "forecasted_data".id from "forecasted_data" where ("forecasted_data"."item_supply_plan_id" in (...)) order by "forecasted_data"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 10 02 173 40s313ms 233ms 12 254 7m15s 1s715ms 13 86 22s252ms 258ms 14 10 2s90ms 209ms 15 12 2s50ms 170ms 16 4 545ms 136ms 17 6 826ms 137ms 18 3 570ms 190ms 19 1 120ms 120ms -
SELECT "forecasted_data".id FROM "forecasted_data" WHERE ("forecasted_data"."item_supply_plan_id" in (44011, 43703)) ORDER BY "forecasted_data"."id";
Date: 2024-06-10 12:20:16 Duration: 3s63ms
-
SELECT "forecasted_data".id FROM "forecasted_data" WHERE ("forecasted_data"."item_supply_plan_id" in (43959, 43657)) ORDER BY "forecasted_data"."id";
Date: 2024-06-10 12:20:16 Duration: 3s6ms
-
SELECT "forecasted_data".id FROM "forecasted_data" WHERE ("forecasted_data"."item_supply_plan_id" in (43910, 43475)) ORDER BY "forecasted_data"."id";
Date: 2024-06-10 12:20:16 Duration: 2s883ms
18 8m9s 2,806 164ms 575ms 174ms update product_warehouse_inventory set rep_loc_check_qty = coalesce((?.?), ?) + coalesce((?.?), ?) where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 10 01 10 1s672ms 167ms 02 4 674ms 168ms 09 6 1s14ms 169ms 11 473 1m21s 171ms 12 268 46s892ms 174ms 13 387 1m8s 177ms 14 273 47s477ms 173ms 15 342 59s313ms 173ms 16 194 34s610ms 178ms 17 240 41s815ms 174ms 18 148 25s656ms 173ms 19 296 51s440ms 173ms 20 123 21s741ms 176ms 21 42 7s208ms 171ms -
UPDATE product_warehouse_inventory SET rep_loc_check_qty = COALESCE((8.0), 0) + COALESCE((5.0), 0) WHERE product_id = 205584 AND warehouse_id = 38 AND company_id = 1;
Date: 2024-06-10 20:10:47 Duration: 575ms
-
UPDATE product_warehouse_inventory SET rep_loc_check_qty = COALESCE((352.0), 0) + COALESCE((41.0), 0) WHERE product_id = 190568 AND warehouse_id = 38 AND company_id = 1;
Date: 2024-06-10 16:20:01 Duration: 271ms
-
UPDATE product_warehouse_inventory SET rep_loc_check_qty = COALESCE((22.0), 0) + COALESCE((4.0), 0) WHERE product_id = 189567 AND warehouse_id = 46 AND company_id = 1;
Date: 2024-06-10 11:42:04 Duration: 267ms
19 8m3s 2,805 152ms 478ms 172ms update product_warehouse_inventory set qty_reserve = ? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 10 01 6 953ms 158ms 02 68 10s815ms 159ms 09 6 994ms 165ms 11 130 22s727ms 174ms 12 188 32s473ms 172ms 13 361 1m3s 175ms 14 349 1m 174ms 15 216 37s319ms 172ms 16 160 28s737ms 179ms 17 393 1m6s 170ms 18 240 41s162ms 171ms 19 371 1m3s 171ms 20 171 29s12ms 169ms 21 142 23s644ms 166ms 22 4 666ms 166ms -
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 196507 AND warehouse_id = 46;
Date: 2024-06-10 16:56:30 Duration: 478ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 214068 AND warehouse_id = 45;
Date: 2024-06-10 12:17:12 Duration: 408ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 194200 AND warehouse_id = 44;
Date: 2024-06-10 13:46:01 Duration: 378ms
20 7m42s 2,700 152ms 621ms 171ms update product_warehouse_inventory set qty_reserve = ?.? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 10 01 9 1s414ms 157ms 02 161 25s663ms 159ms 09 2 335ms 167ms 11 259 43s756ms 168ms 12 184 31s610ms 171ms 13 245 43s118ms 175ms 14 270 46s664ms 172ms 15 266 45s777ms 172ms 16 196 33s656ms 171ms 17 311 53s829ms 173ms 18 293 50s627ms 172ms 19 319 54s483ms 170ms 20 124 20s991ms 169ms 21 59 9s795ms 166ms 22 2 336ms 168ms -
UPDATE product_warehouse_inventory SET qty_reserve = 1.0 WHERE product_id = 265729 AND warehouse_id = 43;
Date: 2024-06-10 18:31:03 Duration: 621ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 2.0 WHERE product_id = 191096 AND warehouse_id = 37;
Date: 2024-06-10 14:32:07 Duration: 311ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 6.0 WHERE product_id = 190610 AND warehouse_id = 42;
Date: 2024-06-10 16:07:34 Duration: 310ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 13,140 38m28s 158ms 7s934ms 175ms update product_warehouse_inventory set loc_check_qty = coalesce(?.?, ?) + coalesce(?.?, ?) - coalesce(?.?, ?) where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 10 01 26 4s297ms 165ms 02 252 41s945ms 166ms 09 12 2s23ms 168ms 11 1,641 4m39s 170ms 12 969 2m49s 175ms 13 1,375 4m10s 182ms 14 1,479 4m36s 186ms 15 1,338 3m52s 173ms 16 782 2m17s 175ms 17 1,594 4m38s 174ms 18 1,132 3m16s 173ms 19 1,454 4m11s 172ms 20 634 1m50s 173ms 21 440 1m15s 171ms 22 12 2s57ms 171ms -
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(0.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 191053 AND warehouse_id = 41 AND company_id = 1;
Date: 2024-06-10 14:01:31 Duration: 7s934ms
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(9.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 188716 AND warehouse_id = 46 AND company_id = 1;
Date: 2024-06-10 13:38:02 Duration: 2s790ms
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(4.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 239475 AND warehouse_id = 44 AND company_id = 1;
Date: 2024-06-10 13:12:20 Duration: 2s364ms
2 11,624 1h11m20s 338ms 56s442ms 368ms with updated_records as ( update product_warehouse_inventory set loc_check_qty = coalesce(qty_available, ?) + coalesce(qty_on_order, ?) - coalesce(qty_reserve, ?) where loc_check_qty != (coalesce(qty_available, ?) + coalesce(qty_on_order, ?) - coalesce(qty_reserve, ?)) and company_id = ? returning id, product_id, warehouse_id ) select product_id, id as warehouse_inventory_id, warehouse_id from updated_records;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 10 01 32 11s70ms 345ms 02 474 2m43s 345ms 09 8 2s887ms 360ms 11 821 6m39s 486ms 12 774 4m39s 360ms 13 1,195 7m14s 363ms 14 1,430 8m37s 361ms 15 1,054 6m19s 360ms 16 705 4m14s 361ms 17 1,531 9m10s 359ms 18 1,118 6m42s 360ms 19 1,439 8m33s 357ms 20 607 3m36s 356ms 21 424 2m30s 354ms 22 12 4s247ms 353ms -
WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;
Date: 2024-06-10 11:04:14 Duration: 56s442ms
-
WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;
Date: 2024-06-10 11:06:12 Duration: 49s682ms
-
WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;
Date: 2024-06-10 18:40:01 Duration: 1s594ms
3 11,622 1h2m19s 292ms 1s147ms 321ms with pwi_data as ( select pwi.id as pwi_id, pwi.warehouse_id, pwi.product_id, pwi.loc_check_qty as src_loc_check_qty, pwi.rep_loc_check_qty as ex_rep_loc_check_qty, pwi.replenish_branch_id, sw.id as replenish_wh_id from product_warehouse_inventory pwi join stock_warehouse sw on sw.branch_id = pwi.replenish_branch_id where pwi.replenish_branch_id is not null ), rep_loc_data as ( select pwi_data.pwi_id, pwi_data.src_loc_check_qty, pwi_data.ex_rep_loc_check_qty, pwi_data.replenish_wh_id, coalesce(rep_pwi.loc_check_qty, ?) as rep_loc_check_qty from pwi_data left join product_warehouse_inventory rep_pwi on rep_pwi.warehouse_id = pwi_data.replenish_wh_id and rep_pwi.product_id = pwi_data.product_id ) select rep_loc_data.pwi_id, rep_loc_data.ex_rep_loc_check_qty, (rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty) as new_rep_loc_check_qty from rep_loc_data where rep_loc_data.ex_rep_loc_check_qty != rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 10 01 32 9s675ms 302ms 02 474 2m28s 312ms 09 8 2s429ms 303ms 11 819 4m20s 318ms 12 774 4m10s 324ms 13 1,195 6m33s 328ms 14 1,430 7m45s 325ms 15 1,054 5m43s 325ms 16 704 3m47s 322ms 17 1,532 8m14s 322ms 18 1,118 5m59s 321ms 19 1,439 7m36s 317ms 20 607 3m11s 315ms 21 424 2m13s 315ms 22 12 3s664ms 305ms -
WITH pwi_data AS ( SELECT pwi.id AS pwi_id, pwi.warehouse_id, pwi.product_id, pwi.loc_check_qty AS src_loc_check_qty, pwi.rep_loc_check_qty AS ex_rep_loc_check_qty, pwi.replenish_branch_id, sw.id AS replenish_wh_id FROM product_warehouse_inventory pwi JOIN stock_warehouse sw ON sw.branch_id = pwi.replenish_branch_id WHERE pwi.replenish_branch_id IS NOT NULL ), rep_loc_data AS ( SELECT pwi_data.pwi_id, pwi_data.src_loc_check_qty, pwi_data.ex_rep_loc_check_qty, pwi_data.replenish_wh_id, COALESCE(rep_pwi.loc_check_qty, 0) AS rep_loc_check_qty FROM pwi_data LEFT JOIN product_warehouse_inventory rep_pwi ON rep_pwi.warehouse_id = pwi_data.replenish_wh_id AND rep_pwi.product_id = pwi_data.product_id ) SELECT rep_loc_data.pwi_id, rep_loc_data.ex_rep_loc_check_qty, (rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty) as new_rep_loc_check_qty FROM rep_loc_data WHERE rep_loc_data.ex_rep_loc_check_qty != rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty;
Date: 2024-06-10 14:31:37 Duration: 1s147ms
-
WITH pwi_data AS ( SELECT pwi.id AS pwi_id, pwi.warehouse_id, pwi.product_id, pwi.loc_check_qty AS src_loc_check_qty, pwi.rep_loc_check_qty AS ex_rep_loc_check_qty, pwi.replenish_branch_id, sw.id AS replenish_wh_id FROM product_warehouse_inventory pwi JOIN stock_warehouse sw ON sw.branch_id = pwi.replenish_branch_id WHERE pwi.replenish_branch_id IS NOT NULL ), rep_loc_data AS ( SELECT pwi_data.pwi_id, pwi_data.src_loc_check_qty, pwi_data.ex_rep_loc_check_qty, pwi_data.replenish_wh_id, COALESCE(rep_pwi.loc_check_qty, 0) AS rep_loc_check_qty FROM pwi_data LEFT JOIN product_warehouse_inventory rep_pwi ON rep_pwi.warehouse_id = pwi_data.replenish_wh_id AND rep_pwi.product_id = pwi_data.product_id ) SELECT rep_loc_data.pwi_id, rep_loc_data.ex_rep_loc_check_qty, (rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty) as new_rep_loc_check_qty FROM rep_loc_data WHERE rep_loc_data.ex_rep_loc_check_qty != rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty;
Date: 2024-06-10 15:17:14 Duration: 1s19ms
-
WITH pwi_data AS ( SELECT pwi.id AS pwi_id, pwi.warehouse_id, pwi.product_id, pwi.loc_check_qty AS src_loc_check_qty, pwi.rep_loc_check_qty AS ex_rep_loc_check_qty, pwi.replenish_branch_id, sw.id AS replenish_wh_id FROM product_warehouse_inventory pwi JOIN stock_warehouse sw ON sw.branch_id = pwi.replenish_branch_id WHERE pwi.replenish_branch_id IS NOT NULL ), rep_loc_data AS ( SELECT pwi_data.pwi_id, pwi_data.src_loc_check_qty, pwi_data.ex_rep_loc_check_qty, pwi_data.replenish_wh_id, COALESCE(rep_pwi.loc_check_qty, 0) AS rep_loc_check_qty FROM pwi_data LEFT JOIN product_warehouse_inventory rep_pwi ON rep_pwi.warehouse_id = pwi_data.replenish_wh_id AND rep_pwi.product_id = pwi_data.product_id ) SELECT rep_loc_data.pwi_id, rep_loc_data.ex_rep_loc_check_qty, (rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty) as new_rep_loc_check_qty FROM rep_loc_data WHERE rep_loc_data.ex_rep_loc_check_qty != rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty;
Date: 2024-06-10 17:40:13 Duration: 982ms
4 8,862 26m35s 162ms 23s142ms 179ms update product_warehouse_inventory set qty_shipped_not_invoiced = case when ?.? is not null then greatest ((?.? - ?.?) + (?.? - ?.?), ?) else greatest ((?.? - ?.?), ?) end where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 10 09 16 3s408ms 213ms 10 7 1s697ms 242ms 11 1,697 5m39s 199ms 12 1,180 3m24s 173ms 13 832 2m26s 175ms 14 1,183 3m28s 175ms 15 436 1m16s 175ms 16 492 1m27s 177ms 17 1,064 3m8s 177ms 18 827 2m23s 173ms 19 614 1m46s 173ms 20 471 1m21s 172ms 21 36 6s129ms 170ms 22 7 1s191ms 170ms -
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 1.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (1.0 - 1.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 180957 and warehouse_id = 43 and company_id = 1;
Date: 2024-06-10 11:47:35 Duration: 23s142ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 1.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (1.0 - 1.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 180957 and warehouse_id = 43 and company_id = 1;
Date: 2024-06-10 11:47:11 Duration: 22s581ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 4.0 IS NOT NULL THEN GREATEST ((15.0 - 15.0) + (4.0 - 4.0), 0) ELSE GREATEST ((15.0 - 15.0), 0) END where product_id = 177734 and warehouse_id = 37 and company_id = 1;
Date: 2024-06-10 17:34:39 Duration: 1s108ms
5 5,958 18m22s 165ms 465ms 185ms 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 Jun 10 01 77 13s535ms 175ms 02 380 1m5s 172ms 12 15 2s808ms 187ms 13 992 3m10s 191ms 14 288 51s280ms 178ms 15 1,474 4m33s 185ms 16 177 31s695ms 179ms 17 1,243 3m58s 192ms 18 350 1m4s 185ms 19 167 31s530ms 188ms 20 24 4s204ms 175ms 21 771 2m14s 175ms -
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 = 44038 and fd.product_id = 239480;
Date: 2024-06-10 17:22:07 Duration: 465ms
-
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 = 44233 and fd.product_id = 219785;
Date: 2024-06-10 17:45:19 Duration: 361ms
-
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 = 44233 and fd.product_id = 217250;
Date: 2024-06-10 17:45:22 Duration: 345ms
6 5,760 13m47s 136ms 304ms 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 #6
Day Hour Count Duration Avg duration Jun 10 00 240 33s848ms 141ms 01 240 33s470ms 139ms 02 240 33s841ms 141ms 03 240 33s416ms 139ms 04 240 33s369ms 139ms 05 240 33s300ms 138ms 06 240 33s279ms 138ms 07 240 33s342ms 138ms 08 240 33s650ms 140ms 09 240 34s385ms 143ms 10 240 33s469ms 139ms 11 240 34s945ms 145ms 12 240 35s648ms 148ms 13 240 36s696ms 152ms 14 240 37s18ms 154ms 15 240 36s333ms 151ms 16 240 35s423ms 147ms 17 240 36s657ms 152ms 18 240 35s516ms 147ms 19 240 35s21ms 145ms 20 240 34s414ms 143ms 21 240 33s717ms 140ms 22 240 33s213ms 138ms 23 240 33s347ms 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 ('information_schema.attributes', 'information_schema.domain_udt_usage', 'information_schema.role_routine_grants', 'information_schema.foreign_data_wrappers', 'information_schema.referential_constraints', 'information_schema.routine_sequence_usage', 'information_schema.user_mappings', 'information_schema.role_usage_grants', 'information_schema.sql_implementation_info', 'information_schema.role_udt_grants', 'information_schema.data_type_privileges', 'information_schema.user_defined_types', 'information_schema.sql_features', 'information_schema.view_table_usage', 'information_schema.user_mapping_options', 'information_schema.column_column_usage', 'information_schema.column_udt_usage', 'information_schema.domains', 'information_schema.routine_routine_usage', 'information_schema.character_sets', 'information_schema.enabled_roles', 'information_schema.sequences', 'information_schema.role_table_grants', 'information_schema.triggered_update_columns', 'information_schema.triggers', 'information_schema.element_types', 'information_schema.information_schema_catalog_name', 'information_schema.schemata', 'information_schema.key_column_usage', 'information_schema.sql_sizing', 'information_schema.foreign_data_wrapper_options', 'information_schema.check_constraints', 'information_schema.role_column_grants', 'information_schema.routine_column_usage', 'information_schema.routine_privileges', 'information_schema.usage_privileges', 'information_schema.view_column_usage', 'information_schema.column_privileges', 'information_schema.foreign_servers', 'information_schema.column_domain_usage', 'information_schema.constraint_column_usage', 'information_schema.applicable_roles', 'information_schema.parameters', 'information_schema.routine_table_usage', 'information_schema.column_options', 'information_schema.foreign_server_options', 'information_schema.administrable_role_authorizations', 'information_schema.collation_character_set_applicability', 'information_schema.check_constraint_routine_usage', 'information_schema.columns', 'information_schema.table_privileges', 'information_schema.view_routine_usage', 'information_schema.foreign_table_options', 'information_schema.domain_constraints', 'information_schema.tables', 'information_schema.foreign_tables', 'information_schema.collations', 'information_schema.routines', 'information_schema.table_constraints', 'information_schema.constraint_table_usage', 'information_schema.views', 'information_schema.udt_privileges', 'public.pg_stat_statements_info', 'public.pg_stat_statements', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_tables', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_index', 'pg_catalog.pg_opclass', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_settings', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_proc', 'pg_catalog.pg_am', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_policies', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_cast', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_attribute', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_group', 'pg_catalog.pg_sequence', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_depend', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_constraint', 'pg_catalog.pg_amop', 'pg_catalog.pg_type', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_subscription', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_transform', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_trigger', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_views', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_conversion', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_user', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_roles', 'pg_catalog.pg_enum', 'pg_catalog.pg_collation', 'pg_catalog.pg_range', 'pg_catalog.pg_operator', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_stats', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_extension', 'pg_catalog.pg_cursors', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_inherits', 'pg_catalog.pg_database', 'pg_catalog.pg_locks', 'pg_catalog.pg_description', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_matviews', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_policy', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_amproc', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_publication', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_namespace', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_language', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_rules', 'pg_catalog.pg_class', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_stat_wal');
Date: 2024-06-10 16:03:21 Duration: 304ms
-
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_stats', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_description', 'pg_catalog.pg_enum', 'pg_catalog.pg_conversion', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_collation', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_amop', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_extension', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_type', 'pg_catalog.pg_class', 'pg_catalog.pg_operator', 'pg_catalog.pg_policy', 'pg_catalog.pg_policies', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_transform', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_rules', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_language', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_locks', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_sequence', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_namespace', 'pg_catalog.pg_cursors', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_inherits', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_depend', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_tables', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_roles', 'pg_catalog.pg_settings', 'pg_catalog.pg_attribute', 'pg_catalog.pg_range', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_indexes', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_publication', 'pg_catalog.pg_opclass', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_user', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_am', 'pg_catalog.pg_cast', 'pg_catalog.pg_database', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_sequences', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_trigger', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_group', 'pg_catalog.pg_proc', 'pg_catalog.pg_index', 'pg_catalog.pg_views', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_constraint', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_subscription', 'pg_catalog.pg_amproc', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_matviews', 'information_schema.applicable_roles', 'information_schema.usage_privileges', 'information_schema.foreign_tables', 'information_schema.information_schema_catalog_name', 'information_schema.collations', 'information_schema.routine_privileges', 'information_schema.role_routine_grants', 'information_schema.triggered_update_columns', 'information_schema.view_column_usage', 'information_schema.foreign_data_wrapper_options', 'information_schema.administrable_role_authorizations', 'information_schema.check_constraints', 'information_schema.routine_routine_usage', 'information_schema.sql_sizing', 'information_schema.character_sets', 'information_schema.column_privileges', 'information_schema.columns', 'information_schema.attributes', 'information_schema.role_column_grants', 'information_schema.constraint_column_usage', 'information_schema.routine_table_usage', 'information_schema.udt_privileges', 'information_schema.data_type_privileges', 'information_schema.foreign_server_options', 'information_schema.domains', 'information_schema.triggers', 'information_schema.user_mapping_options', 'information_schema.foreign_servers', 'information_schema.routines', 'information_schema.tables', 'information_schema.element_types', 'information_schema.view_routine_usage', 'information_schema.column_udt_usage', 'information_schema.routine_column_usage', 'information_schema.role_table_grants', 'information_schema.domain_constraints', 'information_schema.foreign_data_wrappers', 'information_schema.constraint_table_usage', 'information_schema.domain_udt_usage', 'information_schema.key_column_usage', 'information_schema.views', 'information_schema.role_udt_grants', 'information_schema.foreign_table_options', 'information_schema.column_domain_usage', 'information_schema.parameters', 'information_schema.sequences', 'information_schema.role_usage_grants', 'information_schema.schemata', 'information_schema.referential_constraints', 'information_schema.column_options', 'information_schema.column_column_usage', 'information_schema.enabled_roles', 'information_schema.sql_implementation_info', 'information_schema.sql_features', 'information_schema.table_constraints', 'information_schema.table_privileges', 'information_schema.user_defined_types', 'information_schema.check_constraint_routine_usage', 'information_schema.collation_character_set_applicability', 'information_schema.view_table_usage', 'information_schema.routine_sequence_usage', 'information_schema.user_mappings', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-06-10 17:34:36 Duration: 276ms
-
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_rules', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_namespace', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_policies', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_subscription', 'pg_catalog.pg_amproc', 'pg_catalog.pg_tables', 'pg_catalog.pg_sequences', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_settings', 'pg_catalog.pg_constraint', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_operator', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_range', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_attribute', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_transform', 'pg_catalog.pg_cast', 'pg_catalog.pg_enum', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_locks', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_depend', 'pg_catalog.pg_sequence', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_language', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_publication', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_matviews', 'pg_catalog.pg_am', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_proc', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_index', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_opclass', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_stats', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_description', 'pg_catalog.pg_group', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_conversion', 'pg_catalog.pg_extension', 'pg_catalog.pg_user', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_database', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_type', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_policy', 'pg_catalog.pg_views', 'pg_catalog.pg_roles', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_collation', 'pg_catalog.pg_cursors', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_amop', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_trigger', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_class', 'pg_catalog.pg_inherits', 'information_schema.triggers', 'information_schema.column_options', 'information_schema.foreign_server_options', 'information_schema.information_schema_catalog_name', 'information_schema.schemata', 'information_schema.views', 'information_schema.user_mapping_options', 'information_schema.enabled_roles', 'information_schema.triggered_update_columns', 'information_schema.data_type_privileges', 'information_schema.routine_table_usage', 'information_schema.udt_privileges', 'information_schema.element_types', 'information_schema.attributes', 'information_schema.check_constraints', 'information_schema.column_privileges', 'information_schema.columns', 'information_schema.routine_sequence_usage', 'information_schema.sql_features', 'information_schema.domain_udt_usage', 'information_schema.key_column_usage', 'information_schema.role_udt_grants', 'information_schema.administrable_role_authorizations', 'information_schema.routines', 'information_schema.domain_constraints', 'information_schema.sequences', 'information_schema.foreign_table_options', 'information_schema.sql_implementation_info', 'information_schema.sql_sizing', 'information_schema.applicable_roles', 'information_schema.column_udt_usage', 'information_schema.constraint_column_usage', 'information_schema.table_constraints', 'information_schema.table_privileges', 'information_schema.user_mappings', 'information_schema.usage_privileges', 'information_schema.foreign_data_wrapper_options', 'information_schema.routine_column_usage', 'information_schema.domains', 'information_schema.role_table_grants', 'information_schema.foreign_data_wrappers', 'information_schema.role_usage_grants', 'information_schema.column_domain_usage', 'information_schema.role_routine_grants', 'information_schema.parameters', 'information_schema.routine_routine_usage', 'information_schema.view_routine_usage', 'information_schema.character_sets', 'information_schema.collation_character_set_applicability', 'information_schema.role_column_grants', 'information_schema.routine_privileges', 'information_schema.referential_constraints', 'information_schema.view_table_usage', 'information_schema.tables', 'information_schema.user_defined_types', 'information_schema.check_constraint_routine_usage', 'information_schema.collations', 'information_schema.constraint_table_usage', 'information_schema.view_column_usage', 'information_schema.foreign_servers', 'information_schema.foreign_tables', 'information_schema.column_column_usage', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-06-10 13:46:21 Duration: 275ms
7 4,992 14m48s 156ms 16s487ms 178ms update product_warehouse_inventory set qty_available = ?.? where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 10 01 1 162ms 162ms 02 35 5s762ms 164ms 09 760 2m10s 171ms 10 544 1m31s 168ms 11 259 45s504ms 175ms 12 320 56s7ms 175ms 13 489 1m26s 176ms 14 555 1m58s 213ms 15 292 51s98ms 174ms 16 237 43s30ms 181ms 17 457 1m20s 175ms 18 363 1m3s 175ms 19 390 1m7s 173ms 20 257 44s325ms 172ms 21 30 5s140ms 171ms 22 3 508ms 169ms -
UPDATE product_warehouse_inventory SET qty_available = 10.0 WHERE product_id = 184259 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-06-10 14:02:46 Duration: 16s487ms
-
UPDATE product_warehouse_inventory SET qty_available = 2.0 WHERE product_id = 198427 AND warehouse_id = 41 AND company_id = 1;
Date: 2024-06-10 15:03:20 Duration: 368ms
-
UPDATE product_warehouse_inventory SET qty_available = 0.0 WHERE product_id = 266484 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-06-10 14:52:39 Duration: 363ms
8 3,671 10m34s 152ms 530ms 172ms update product_warehouse_inventory set qty_on_order = ?.? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 10 01 10 1s594ms 159ms 02 169 27s367ms 161ms 09 70 11s982ms 171ms 10 37 6s302ms 170ms 11 273 46s371ms 169ms 12 308 53s198ms 172ms 13 263 46s609ms 177ms 14 288 50s284ms 174ms 15 544 1m35s 175ms 16 308 53s720ms 174ms 17 417 1m12s 173ms 18 358 1m1s 172ms 19 377 1m5s 172ms 20 172 29s318ms 170ms 21 75 12s598ms 167ms 22 2 343ms 171ms -
UPDATE product_warehouse_inventory SET qty_on_order = 2.0 WHERE product_id = 214612 AND warehouse_id = 43;
Date: 2024-06-10 17:06:10 Duration: 530ms
-
UPDATE product_warehouse_inventory SET qty_on_order = 4.0 WHERE product_id = 214172 AND warehouse_id = 35;
Date: 2024-06-10 14:33:04 Duration: 337ms
-
UPDATE product_warehouse_inventory SET qty_on_order = 2.0 WHERE product_id = 186218 AND warehouse_id = 43;
Date: 2024-06-10 14:33:41 Duration: 321ms
9 3,625 10m28s 154ms 558ms 173ms update product_warehouse_inventory set qty_on_order = ? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 10 01 6 961ms 160ms 02 68 10s927ms 160ms 09 67 11s454ms 170ms 11 153 26s822ms 175ms 12 341 59s36ms 173ms 13 393 1m9s 176ms 14 376 1m5s 173ms 15 425 1m15s 177ms 16 207 36s885ms 178ms 17 515 1m29s 173ms 18 295 50s938ms 172ms 19 410 1m10s 171ms 20 217 36s735ms 169ms 21 148 24s638ms 166ms 22 4 675ms 168ms -
UPDATE product_warehouse_inventory SET qty_on_order = 0 WHERE product_id = 214612 AND warehouse_id = 43;
Date: 2024-06-10 17:06:10 Duration: 558ms
-
UPDATE product_warehouse_inventory SET qty_on_order = 0 WHERE product_id = 194200 AND warehouse_id = 44;
Date: 2024-06-10 13:46:00 Duration: 437ms
-
UPDATE product_warehouse_inventory SET qty_on_order = 0 WHERE product_id = 183351 AND warehouse_id = 43;
Date: 2024-06-10 14:42:51 Duration: 357ms
10 3,478 41m11s 639ms 1s212ms 710ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 10 10 24 16s34ms 668ms 11 416 4m51s 701ms 12 356 4m13s 713ms 13 579 7m5s 734ms 14 477 5m40s 714ms 15 269 3m7s 698ms 16 308 3m43s 724ms 17 273 3m13s 707ms 18 250 2m55s 703ms 19 242 2m49s 701ms 20 260 2m57s 683ms 21 21 14s279ms 679ms 22 3 2s18ms 672ms -
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 ('%%212%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%212%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%212%'))) 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-06-10 12:38:12 Duration: 1s212ms
-
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 ('%%601285%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%601285%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%601285%'))) 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-06-10 16:19:19 Duration: 1s181ms
-
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 ('%%hdf0%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hdf0%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%hdf0%'))) 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-06-10 14:31:37 Duration: 1s175ms
11 3,325 12m12s 120ms 2s603ms 220ms 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 #11
Day Hour Count Duration Avg duration Jun 10 01 7 953ms 136ms 02 220 36s821ms 167ms 08 1 135ms 135ms 09 5 734ms 146ms 10 22 3s98ms 140ms 11 214 28s595ms 133ms 12 436 5m26s 749ms 13 545 1m22s 150ms 14 423 57s861ms 136ms 15 338 46s160ms 136ms 16 245 33s281ms 135ms 17 362 48s921ms 135ms 18 212 28s323ms 133ms 19 143 18s771ms 131ms 20 105 13s694ms 130ms 21 47 6s120ms 130ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (189604, 190001, 189790, 189989, 189758)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-06-10 12:20:17 Duration: 2s603ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (213240)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-06-10 12:20:17 Duration: 2s542ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (197386, 197466, 197847, 197864, 197865, 197867, 197868, 197885, 197909, 197910, 198072, 198102, 198165, 198224, 198293, 198369, 198414, 198495, 198570, 198797, 198873, 198880, 198943, 199018, 199178, 199213, 198419, 198885, 198864, 197891, 197876, 197916, 197750, 198575, 254193, 197442, 198915, 197892, 198881, 199010, 199112, 197480, 199098, 199094, 198833, 198569, 198319)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-06-10 12:20:16 Duration: 2s471ms
12 2,918 21m23s 409ms 2s499ms 439ms select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 10 01 4 1s685ms 421ms 05 1 426ms 426ms 07 1 413ms 413ms 08 27 11s198ms 414ms 09 43 18s253ms 424ms 10 29 12s211ms 421ms 11 294 2m8s 435ms 12 362 2m42s 448ms 13 455 3m24s 449ms 14 329 2m25s 441ms 15 268 1m57s 439ms 16 254 1m51s 437ms 17 264 1m57s 443ms 18 249 1m47s 433ms 19 208 1m30s 434ms 20 121 51s451ms 425ms 21 9 3s710ms 412ms -
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_backend.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-876187e/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-06-10 12:22:50 Duration: 2s499ms
-
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-06-10 16:17:22 Duration: 954ms
-
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/%-c93381c/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-06-10 12:41:44 Duration: 810ms
13 2,806 8m9s 164ms 575ms 174ms update product_warehouse_inventory set rep_loc_check_qty = coalesce((?.?), ?) + coalesce((?.?), ?) where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 10 01 10 1s672ms 167ms 02 4 674ms 168ms 09 6 1s14ms 169ms 11 473 1m21s 171ms 12 268 46s892ms 174ms 13 387 1m8s 177ms 14 273 47s477ms 173ms 15 342 59s313ms 173ms 16 194 34s610ms 178ms 17 240 41s815ms 174ms 18 148 25s656ms 173ms 19 296 51s440ms 173ms 20 123 21s741ms 176ms 21 42 7s208ms 171ms -
UPDATE product_warehouse_inventory SET rep_loc_check_qty = COALESCE((8.0), 0) + COALESCE((5.0), 0) WHERE product_id = 205584 AND warehouse_id = 38 AND company_id = 1;
Date: 2024-06-10 20:10:47 Duration: 575ms
-
UPDATE product_warehouse_inventory SET rep_loc_check_qty = COALESCE((352.0), 0) + COALESCE((41.0), 0) WHERE product_id = 190568 AND warehouse_id = 38 AND company_id = 1;
Date: 2024-06-10 16:20:01 Duration: 271ms
-
UPDATE product_warehouse_inventory SET rep_loc_check_qty = COALESCE((22.0), 0) + COALESCE((4.0), 0) WHERE product_id = 189567 AND warehouse_id = 46 AND company_id = 1;
Date: 2024-06-10 11:42:04 Duration: 267ms
14 2,805 8m3s 152ms 478ms 172ms update product_warehouse_inventory set qty_reserve = ? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 10 01 6 953ms 158ms 02 68 10s815ms 159ms 09 6 994ms 165ms 11 130 22s727ms 174ms 12 188 32s473ms 172ms 13 361 1m3s 175ms 14 349 1m 174ms 15 216 37s319ms 172ms 16 160 28s737ms 179ms 17 393 1m6s 170ms 18 240 41s162ms 171ms 19 371 1m3s 171ms 20 171 29s12ms 169ms 21 142 23s644ms 166ms 22 4 666ms 166ms -
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 196507 AND warehouse_id = 46;
Date: 2024-06-10 16:56:30 Duration: 478ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 214068 AND warehouse_id = 45;
Date: 2024-06-10 12:17:12 Duration: 408ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 194200 AND warehouse_id = 44;
Date: 2024-06-10 13:46:01 Duration: 378ms
15 2,700 7m42s 152ms 621ms 171ms update product_warehouse_inventory set qty_reserve = ?.? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 10 01 9 1s414ms 157ms 02 161 25s663ms 159ms 09 2 335ms 167ms 11 259 43s756ms 168ms 12 184 31s610ms 171ms 13 245 43s118ms 175ms 14 270 46s664ms 172ms 15 266 45s777ms 172ms 16 196 33s656ms 171ms 17 311 53s829ms 173ms 18 293 50s627ms 172ms 19 319 54s483ms 170ms 20 124 20s991ms 169ms 21 59 9s795ms 166ms 22 2 336ms 168ms -
UPDATE product_warehouse_inventory SET qty_reserve = 1.0 WHERE product_id = 265729 AND warehouse_id = 43;
Date: 2024-06-10 18:31:03 Duration: 621ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 2.0 WHERE product_id = 191096 AND warehouse_id = 37;
Date: 2024-06-10 14:32:07 Duration: 311ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 6.0 WHERE product_id = 190610 AND warehouse_id = 42;
Date: 2024-06-10 16:07:34 Duration: 310ms
16 2,538 5m41s 120ms 361ms 134ms 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 #16
Day Hour Count Duration Avg duration Jun 10 11 163 21s913ms 134ms 12 374 50s249ms 134ms 13 488 1m6s 136ms 14 315 43s224ms 137ms 15 203 27s107ms 133ms 16 247 33s173ms 134ms 17 284 38s195ms 134ms 18 209 27s832ms 133ms 19 146 19s53ms 130ms 20 109 13s953ms 128ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 42) AND ("product_warehouse_inventory"."product_id" = 209362)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-06-10 14:31:36 Duration: 361ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 35) AND ("product_warehouse_inventory"."product_id" = 239023)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-06-10 11:51:38 Duration: 298ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 35) AND ("product_warehouse_inventory"."product_id" = 198569)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-06-10 13:08:26 Duration: 283ms
17 2,298 5m29s 120ms 467ms 143ms select "sale_order_line".id from "sale_order_line" where (((("sale_order_line"."product_id" = ?) and ("sale_order_line"."order_id" in ( select "sale_order".id from "sale_order" where ("sale_order"."branch_id" in ( select "res_branch".id from "res_branch" where ("res_branch"."id" = ?)))))) and ("sale_order_line"."open_qty_fil" > ?.?)) and (("sale_order_line"."state" not in (...)) or "sale_order_line"."state" is null)) order by "sale_order_line"."id" asc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 10 11 134 19s404ms 144ms 12 269 37s876ms 140ms 13 398 59s39ms 148ms 14 161 24s141ms 149ms 15 155 22s447ms 144ms 16 118 16s165ms 136ms 17 421 1m1s 146ms 18 160 22s456ms 140ms 19 118 16s338ms 138ms 20 364 49s830ms 136ms -
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 238919) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '48')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2024-06-10 11:25:51 Duration: 467ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 238867) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '48')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2024-06-10 11:25:52 Duration: 333ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 238921) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '45')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2024-06-10 12:18:30 Duration: 331ms
18 1,954 5m46s 159ms 272ms 177ms 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 Jun 10 12 5 910ms 182ms 13 1,302 3m51s 178ms 14 17 3s4ms 176ms 15 117 21s948ms 187ms 16 12 2s72ms 172ms 17 219 39s784ms 181ms 18 85 14s462ms 170ms 19 42 7s13ms 166ms 20 8 1s359ms 169ms 21 147 24s475ms 166ms -
update product_warehouse_inventory set sft_stk_qty = 0 where id = ( select id from product_warehouse_inventory where product_id = (186650) and warehouse_id = (41));
Date: 2024-06-10 15:55:17 Duration: 272ms
-
update product_warehouse_inventory set sft_stk_qty = 0 where id = ( select id from product_warehouse_inventory where product_id = (209568) and warehouse_id = (45));
Date: 2024-06-10 13:11:36 Duration: 269ms
-
update product_warehouse_inventory set sft_stk_qty = 0 where id = ( select id from product_warehouse_inventory where product_id = (209312) and warehouse_id = (42));
Date: 2024-06-10 13:07:01 Duration: 258ms
19 1,833 4m 120ms 453ms 130ms select id from product_warehouse_inventory where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 10 01 1 125ms 125ms 02 5 1s104ms 220ms 09 12 1s820ms 151ms 11 100 13s34ms 130ms 12 134 17s244ms 128ms 13 285 36s764ms 128ms 14 297 39s171ms 131ms 15 187 24s847ms 132ms 16 161 21s478ms 133ms 17 297 38s992ms 131ms 18 137 17s583ms 128ms 19 158 20s81ms 127ms 20 38 5s128ms 134ms 21 21 2s638ms 125ms -
select id from product_warehouse_inventory where product_id = 198427 and warehouse_id = 41 and company_id = 1;
Date: 2024-06-10 15:03:21 Duration: 453ms
-
select id from product_warehouse_inventory where product_id = 264183 and warehouse_id = 42 and company_id = 1;
Date: 2024-06-10 15:03:16 Duration: 292ms
-
select id from product_warehouse_inventory where product_id = 181463 and warehouse_id = 44 and company_id = 1;
Date: 2024-06-10 20:27:53 Duration: 281ms
20 1,790 5m43s 169ms 342ms 192ms select "account_move".id from "account_move" where ((("account_move"."journal_id" in ( select "account_journal".id from "account_journal" where ("account_journal"."type" in (...)))) and ("account_move"."state" in (...))) and ("account_move"."partner_id" in (...))) order by "account_move"."invoice_date_due";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 10 08 169 29s729ms 175ms 09 314 56s674ms 180ms 10 4 711ms 177ms 11 91 18s479ms 203ms 12 121 23s656ms 195ms 13 164 33s36ms 201ms 14 154 30s952ms 200ms 15 144 28s785ms 199ms 16 123 24s755ms 201ms 17 98 19s609ms 200ms 18 106 20s458ms 193ms 19 111 21s567ms 194ms 20 95 18s77ms 190ms 21 13 2s373ms 182ms 22 1 177ms 177ms 23 82 14s720ms 179ms -
SELECT "account_move".id FROM "account_move" WHERE ((("account_move"."journal_id" in ( SELECT "account_journal".id FROM "account_journal" WHERE ("account_journal"."type" in ('sale', 'cash', 'bank')))) AND ("account_move"."state" in ('posted'))) AND ("account_move"."partner_id" in (45459))) ORDER BY "account_move"."invoice_date_due";
Date: 2024-06-10 16:20:03 Duration: 342ms
-
SELECT "account_move".id FROM "account_move" WHERE ((("account_move"."journal_id" in ( SELECT "account_journal".id FROM "account_journal" WHERE ("account_journal"."type" in ('sale', 'cash', 'bank')))) AND ("account_move"."state" in ('posted'))) AND ("account_move"."partner_id" in (43970))) ORDER BY "account_move"."invoice_date_due";
Date: 2024-06-10 16:19:05 Duration: 330ms
-
SELECT "account_move".id FROM "account_move" WHERE ((("account_move"."journal_id" in ( SELECT "account_journal".id FROM "account_journal" WHERE ("account_journal"."type" in ('sale', 'cash', 'bank')))) AND ("account_move"."state" in ('posted'))) AND ("account_move"."partner_id" in (33920))) ORDER BY "account_move"."invoice_date_due";
Date: 2024-06-10 13:28:40 Duration: 326ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 5s407ms 32s977ms 7s365ms 174 21m21s delete from sale_order_line where id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 10 11 2 11s377ms 5s688ms 12 2 11s290ms 5s645ms 13 7 57s9ms 8s144ms 14 14 2m4s 8s889ms 15 4 23s628ms 5s907ms 16 128 15m35s 7s307ms 17 4 28s533ms 7s133ms 18 1 16s970ms 16s970ms 19 10 1m1s 6s191ms 20 2 11s11ms 5s505ms -
DELETE FROM sale_order_line WHERE id IN (421546, 421547, 421548, 421551, 421552, 421553);
Date: 2024-06-10 14:20:47 Duration: 32s977ms
-
DELETE FROM sale_order_line WHERE id IN (422320);
Date: 2024-06-10 16:19:42 Duration: 18s66ms
-
DELETE FROM sale_order_line WHERE id IN (422321);
Date: 2024-06-10 16:20:04 Duration: 17s959ms
2 1s777ms 2m28s 2s572ms 905 38m48s delete from account_move_line where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 10 08 207 6m14s 1s811ms 09 487 14m44s 1s815ms 10 14 25s227ms 1s801ms 11 1 2s27ms 2s27ms 12 6 14s855ms 2s475ms 14 1 9s233ms 9s233ms 15 1 5s482ms 5s482ms 16 2 7s324ms 3s662ms 17 3 48s447ms 16s149ms 18 55 1m44s 1s890ms 19 54 4m12s 4s671ms 20 10 2m42s 16s243ms 23 64 7m17s 6s843ms -
DELETE FROM account_move_line WHERE id IN (5118410, 5118411, 5118412, 5118413, 5118414, 5118415, 5118416, 5118417, 5118418, 5118419, 5118420, 5118421, 5118422, 5118423, 5118424, 5118425, 5118426, 5118427, 5118428, 5118429, 5118430, 5118431, 5118432, 5118433, 5118434, 5118435, 5118436, 5118437, 5118438, 5118439, 5118440, 5118441, 5118442, 5118443, 5118444, 5118445, 5118446, 5118447, 5118448, 5118449, 5118450, 5118451, 5118452, 5118453, 5118454, 5118455, 5118456, 5118457, 5118458, 5118459, 5118460, 5118461, 5118462, 5118463, 5118464, 5118465, 5118466, 5118467, 5118468, 5118469, 5118470, 5118471, 5118472, 5118473, 5118474, 5118475, 5118476, 5118477, 5118478, 5118479, 5118480, 5118481, 5118482, 5118483, 5118484, 5118485, 5118486, 5118487, 5118488, 5118489, 5118522, 5118523);
Date: 2024-06-10 23:27:15 Duration: 2m28s
-
DELETE FROM account_move_line WHERE id IN (5118590, 5118591, 5118592, 5118593, 5118594, 5118595, 5118596, 5118597, 5118598, 5118599, 5118600, 5118601, 5118602, 5118603, 5118604, 5118605, 5118606, 5118607, 5118608, 5118609, 5118610, 5118611, 5118612);
Date: 2024-06-10 23:31:00 Duration: 41s671ms
-
DELETE FROM account_move_line WHERE id IN (4141790, 4141791, 4141792, 4141793, 4141794, 4141795, 4141796, 4141797, 4141798, 4141799, 4141800, 4141801, 4141802, 4141803, 4141804, 4141805, 4141806, 4141807, 4141808, 4141809, 4141810, 4141811);
Date: 2024-06-10 17:13:25 Duration: 40s767ms
3 120ms 3s63ms 918ms 549 8m24s select "forecasted_data".id from "forecasted_data" where ("forecasted_data"."item_supply_plan_id" in (...)) order by "forecasted_data"."id";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 10 02 173 40s313ms 233ms 12 254 7m15s 1s715ms 13 86 22s252ms 258ms 14 10 2s90ms 209ms 15 12 2s50ms 170ms 16 4 545ms 136ms 17 6 826ms 137ms 18 3 570ms 190ms 19 1 120ms 120ms -
SELECT "forecasted_data".id FROM "forecasted_data" WHERE ("forecasted_data"."item_supply_plan_id" in (44011, 43703)) ORDER BY "forecasted_data"."id";
Date: 2024-06-10 12:20:16 Duration: 3s63ms
-
SELECT "forecasted_data".id FROM "forecasted_data" WHERE ("forecasted_data"."item_supply_plan_id" in (43959, 43657)) ORDER BY "forecasted_data"."id";
Date: 2024-06-10 12:20:16 Duration: 3s6ms
-
SELECT "forecasted_data".id FROM "forecasted_data" WHERE ("forecasted_data"."item_supply_plan_id" in (43910, 43475)) ORDER BY "forecasted_data"."id";
Date: 2024-06-10 12:20:16 Duration: 2s883ms
4 822ms 1s516ms 884ms 1,110 16m22s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 10 10 1 860ms 860ms 11 38 33s698ms 886ms 12 87 1m16s 876ms 13 139 2m4s 897ms 14 106 1m34s 891ms 15 105 1m31s 870ms 16 125 1m51s 888ms 17 157 2m20s 897ms 18 145 2m6s 871ms 19 168 2m27s 878ms 20 35 31s148ms 889ms 21 4 3s491ms 872ms -
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 ('%KIT2252L2CG1%')) 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 ('%KIT2252L2CG1%'))) 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 ('%KIT2252L2CG1%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%KIT2252L2CG1%')))))) 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-06-10 16:06:21 Duration: 1s516ms
-
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 ('%[22-1209HD%')) 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 ('%[22-1209HD%'))) 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 ('%[22-1209HD%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%[22-1209HD%')))))) 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-06-10 17:45:21 Duration: 1s484ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%e-9057%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%e-9057%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%e-9057%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%e-9057%')))))) 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-06-10 16:57:13 Duration: 1s279ms
5 644ms 1s330ms 714ms 937 11m9s 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 #5
Day Hour Count Duration Avg duration Jun 10 11 63 43s927ms 697ms 12 194 2m15s 697ms 13 107 1m17s 722ms 14 74 53s649ms 724ms 15 47 35s34ms 745ms 16 12 8s232ms 686ms 17 172 2m5s 731ms 18 136 1m37s 713ms 19 124 1m27s 702ms 20 8 5s587ms 698ms -
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 ('%%4891%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%4891%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%4891%'))) 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-06-10 17:33:02 Duration: 1s330ms
-
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 ('%%3hc%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%3hc-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%3hc-%'))) 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-06-10 15:11:34 Duration: 1s312ms
-
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 ('%%97960%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%97960%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%97960%'))) 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-06-10 17:33:05 Duration: 1s308ms
6 639ms 1s212ms 710ms 3,478 41m11s 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 #6
Day Hour Count Duration Avg duration Jun 10 10 24 16s34ms 668ms 11 416 4m51s 701ms 12 356 4m13s 713ms 13 579 7m5s 734ms 14 477 5m40s 714ms 15 269 3m7s 698ms 16 308 3m43s 724ms 17 273 3m13s 707ms 18 250 2m55s 703ms 19 242 2m49s 701ms 20 260 2m57s 683ms 21 21 14s279ms 679ms 22 3 2s18ms 672ms -
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 ('%%212%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%212%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%212%'))) 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-06-10 12:38:12 Duration: 1s212ms
-
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 ('%%601285%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%601285%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%601285%'))) 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-06-10 16:19:19 Duration: 1s181ms
-
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 ('%%hdf0%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hdf0%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%hdf0%'))) 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-06-10 14:31:37 Duration: 1s175ms
7 409ms 2s499ms 439ms 2,918 21m23s 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 #7
Day Hour Count Duration Avg duration Jun 10 01 4 1s685ms 421ms 05 1 426ms 426ms 07 1 413ms 413ms 08 27 11s198ms 414ms 09 43 18s253ms 424ms 10 29 12s211ms 421ms 11 294 2m8s 435ms 12 362 2m42s 448ms 13 455 3m24s 449ms 14 329 2m25s 441ms 15 268 1m57s 439ms 16 254 1m51s 437ms 17 264 1m57s 443ms 18 249 1m47s 433ms 19 208 1m30s 434ms 20 121 51s451ms 425ms 21 9 3s710ms 412ms -
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_backend.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-876187e/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-06-10 12:22:50 Duration: 2s499ms
-
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-06-10 16:17:22 Duration: 954ms
-
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/%-c93381c/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-06-10 12:41:44 Duration: 810ms
8 338ms 56s442ms 368ms 11,624 1h11m20s with updated_records as ( update product_warehouse_inventory set loc_check_qty = coalesce(qty_available, ?) + coalesce(qty_on_order, ?) - coalesce(qty_reserve, ?) where loc_check_qty != (coalesce(qty_available, ?) + coalesce(qty_on_order, ?) - coalesce(qty_reserve, ?)) and company_id = ? returning id, product_id, warehouse_id ) select product_id, id as warehouse_inventory_id, warehouse_id from updated_records;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 10 01 32 11s70ms 345ms 02 474 2m43s 345ms 09 8 2s887ms 360ms 11 821 6m39s 486ms 12 774 4m39s 360ms 13 1,195 7m14s 363ms 14 1,430 8m37s 361ms 15 1,054 6m19s 360ms 16 705 4m14s 361ms 17 1,531 9m10s 359ms 18 1,118 6m42s 360ms 19 1,439 8m33s 357ms 20 607 3m36s 356ms 21 424 2m30s 354ms 22 12 4s247ms 353ms -
WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;
Date: 2024-06-10 11:04:14 Duration: 56s442ms
-
WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;
Date: 2024-06-10 11:06:12 Duration: 49s682ms
-
WITH updated_records AS ( UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0) WHERE loc_check_qty != (COALESCE(qty_available, 0) + COALESCE(qty_on_order, 0) - COALESCE(qty_reserve, 0)) AND company_id = 1 RETURNING id, product_id, warehouse_id ) SELECT product_id, id AS warehouse_inventory_id, warehouse_id FROM updated_records;
Date: 2024-06-10 18:40:01 Duration: 1s594ms
9 292ms 1s147ms 321ms 11,622 1h2m19s with pwi_data as ( select pwi.id as pwi_id, pwi.warehouse_id, pwi.product_id, pwi.loc_check_qty as src_loc_check_qty, pwi.rep_loc_check_qty as ex_rep_loc_check_qty, pwi.replenish_branch_id, sw.id as replenish_wh_id from product_warehouse_inventory pwi join stock_warehouse sw on sw.branch_id = pwi.replenish_branch_id where pwi.replenish_branch_id is not null ), rep_loc_data as ( select pwi_data.pwi_id, pwi_data.src_loc_check_qty, pwi_data.ex_rep_loc_check_qty, pwi_data.replenish_wh_id, coalesce(rep_pwi.loc_check_qty, ?) as rep_loc_check_qty from pwi_data left join product_warehouse_inventory rep_pwi on rep_pwi.warehouse_id = pwi_data.replenish_wh_id and rep_pwi.product_id = pwi_data.product_id ) select rep_loc_data.pwi_id, rep_loc_data.ex_rep_loc_check_qty, (rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty) as new_rep_loc_check_qty from rep_loc_data where rep_loc_data.ex_rep_loc_check_qty != rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 10 01 32 9s675ms 302ms 02 474 2m28s 312ms 09 8 2s429ms 303ms 11 819 4m20s 318ms 12 774 4m10s 324ms 13 1,195 6m33s 328ms 14 1,430 7m45s 325ms 15 1,054 5m43s 325ms 16 704 3m47s 322ms 17 1,532 8m14s 322ms 18 1,118 5m59s 321ms 19 1,439 7m36s 317ms 20 607 3m11s 315ms 21 424 2m13s 315ms 22 12 3s664ms 305ms -
WITH pwi_data AS ( SELECT pwi.id AS pwi_id, pwi.warehouse_id, pwi.product_id, pwi.loc_check_qty AS src_loc_check_qty, pwi.rep_loc_check_qty AS ex_rep_loc_check_qty, pwi.replenish_branch_id, sw.id AS replenish_wh_id FROM product_warehouse_inventory pwi JOIN stock_warehouse sw ON sw.branch_id = pwi.replenish_branch_id WHERE pwi.replenish_branch_id IS NOT NULL ), rep_loc_data AS ( SELECT pwi_data.pwi_id, pwi_data.src_loc_check_qty, pwi_data.ex_rep_loc_check_qty, pwi_data.replenish_wh_id, COALESCE(rep_pwi.loc_check_qty, 0) AS rep_loc_check_qty FROM pwi_data LEFT JOIN product_warehouse_inventory rep_pwi ON rep_pwi.warehouse_id = pwi_data.replenish_wh_id AND rep_pwi.product_id = pwi_data.product_id ) SELECT rep_loc_data.pwi_id, rep_loc_data.ex_rep_loc_check_qty, (rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty) as new_rep_loc_check_qty FROM rep_loc_data WHERE rep_loc_data.ex_rep_loc_check_qty != rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty;
Date: 2024-06-10 14:31:37 Duration: 1s147ms
-
WITH pwi_data AS ( SELECT pwi.id AS pwi_id, pwi.warehouse_id, pwi.product_id, pwi.loc_check_qty AS src_loc_check_qty, pwi.rep_loc_check_qty AS ex_rep_loc_check_qty, pwi.replenish_branch_id, sw.id AS replenish_wh_id FROM product_warehouse_inventory pwi JOIN stock_warehouse sw ON sw.branch_id = pwi.replenish_branch_id WHERE pwi.replenish_branch_id IS NOT NULL ), rep_loc_data AS ( SELECT pwi_data.pwi_id, pwi_data.src_loc_check_qty, pwi_data.ex_rep_loc_check_qty, pwi_data.replenish_wh_id, COALESCE(rep_pwi.loc_check_qty, 0) AS rep_loc_check_qty FROM pwi_data LEFT JOIN product_warehouse_inventory rep_pwi ON rep_pwi.warehouse_id = pwi_data.replenish_wh_id AND rep_pwi.product_id = pwi_data.product_id ) SELECT rep_loc_data.pwi_id, rep_loc_data.ex_rep_loc_check_qty, (rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty) as new_rep_loc_check_qty FROM rep_loc_data WHERE rep_loc_data.ex_rep_loc_check_qty != rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty;
Date: 2024-06-10 15:17:14 Duration: 1s19ms
-
WITH pwi_data AS ( SELECT pwi.id AS pwi_id, pwi.warehouse_id, pwi.product_id, pwi.loc_check_qty AS src_loc_check_qty, pwi.rep_loc_check_qty AS ex_rep_loc_check_qty, pwi.replenish_branch_id, sw.id AS replenish_wh_id FROM product_warehouse_inventory pwi JOIN stock_warehouse sw ON sw.branch_id = pwi.replenish_branch_id WHERE pwi.replenish_branch_id IS NOT NULL ), rep_loc_data AS ( SELECT pwi_data.pwi_id, pwi_data.src_loc_check_qty, pwi_data.ex_rep_loc_check_qty, pwi_data.replenish_wh_id, COALESCE(rep_pwi.loc_check_qty, 0) AS rep_loc_check_qty FROM pwi_data LEFT JOIN product_warehouse_inventory rep_pwi ON rep_pwi.warehouse_id = pwi_data.replenish_wh_id AND rep_pwi.product_id = pwi_data.product_id ) SELECT rep_loc_data.pwi_id, rep_loc_data.ex_rep_loc_check_qty, (rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty) as new_rep_loc_check_qty FROM rep_loc_data WHERE rep_loc_data.ex_rep_loc_check_qty != rep_loc_data.src_loc_check_qty + rep_loc_data.rep_loc_check_qty;
Date: 2024-06-10 17:40:13 Duration: 982ms
10 120ms 2s603ms 220ms 3,325 12m12s 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 #10
Day Hour Count Duration Avg duration Jun 10 01 7 953ms 136ms 02 220 36s821ms 167ms 08 1 135ms 135ms 09 5 734ms 146ms 10 22 3s98ms 140ms 11 214 28s595ms 133ms 12 436 5m26s 749ms 13 545 1m22s 150ms 14 423 57s861ms 136ms 15 338 46s160ms 136ms 16 245 33s281ms 135ms 17 362 48s921ms 135ms 18 212 28s323ms 133ms 19 143 18s771ms 131ms 20 105 13s694ms 130ms 21 47 6s120ms 130ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (189604, 190001, 189790, 189989, 189758)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-06-10 12:20:17 Duration: 2s603ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (213240)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-06-10 12:20:17 Duration: 2s542ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (197386, 197466, 197847, 197864, 197865, 197867, 197868, 197885, 197909, 197910, 198072, 198102, 198165, 198224, 198293, 198369, 198414, 198495, 198570, 198797, 198873, 198880, 198943, 199018, 199178, 199213, 198419, 198885, 198864, 197891, 197876, 197916, 197750, 198575, 254193, 197442, 198915, 197892, 198881, 199010, 199112, 197480, 199098, 199094, 198833, 198569, 198319)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2024-06-10 12:20:16 Duration: 2s471ms
11 169ms 342ms 192ms 1,790 5m43s select "account_move".id from "account_move" where ((("account_move"."journal_id" in ( select "account_journal".id from "account_journal" where ("account_journal"."type" in (...)))) and ("account_move"."state" in (...))) and ("account_move"."partner_id" in (...))) order by "account_move"."invoice_date_due";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 10 08 169 29s729ms 175ms 09 314 56s674ms 180ms 10 4 711ms 177ms 11 91 18s479ms 203ms 12 121 23s656ms 195ms 13 164 33s36ms 201ms 14 154 30s952ms 200ms 15 144 28s785ms 199ms 16 123 24s755ms 201ms 17 98 19s609ms 200ms 18 106 20s458ms 193ms 19 111 21s567ms 194ms 20 95 18s77ms 190ms 21 13 2s373ms 182ms 22 1 177ms 177ms 23 82 14s720ms 179ms -
SELECT "account_move".id FROM "account_move" WHERE ((("account_move"."journal_id" in ( SELECT "account_journal".id FROM "account_journal" WHERE ("account_journal"."type" in ('sale', 'cash', 'bank')))) AND ("account_move"."state" in ('posted'))) AND ("account_move"."partner_id" in (45459))) ORDER BY "account_move"."invoice_date_due";
Date: 2024-06-10 16:20:03 Duration: 342ms
-
SELECT "account_move".id FROM "account_move" WHERE ((("account_move"."journal_id" in ( SELECT "account_journal".id FROM "account_journal" WHERE ("account_journal"."type" in ('sale', 'cash', 'bank')))) AND ("account_move"."state" in ('posted'))) AND ("account_move"."partner_id" in (43970))) ORDER BY "account_move"."invoice_date_due";
Date: 2024-06-10 16:19:05 Duration: 330ms
-
SELECT "account_move".id FROM "account_move" WHERE ((("account_move"."journal_id" in ( SELECT "account_journal".id FROM "account_journal" WHERE ("account_journal"."type" in ('sale', 'cash', 'bank')))) AND ("account_move"."state" in ('posted'))) AND ("account_move"."partner_id" in (33920))) ORDER BY "account_move"."invoice_date_due";
Date: 2024-06-10 13:28:40 Duration: 326ms
12 165ms 465ms 185ms 5,958 18m22s 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 #12
Day Hour Count Duration Avg duration Jun 10 01 77 13s535ms 175ms 02 380 1m5s 172ms 12 15 2s808ms 187ms 13 992 3m10s 191ms 14 288 51s280ms 178ms 15 1,474 4m33s 185ms 16 177 31s695ms 179ms 17 1,243 3m58s 192ms 18 350 1m4s 185ms 19 167 31s530ms 188ms 20 24 4s204ms 175ms 21 771 2m14s 175ms -
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 = 44038 and fd.product_id = 239480;
Date: 2024-06-10 17:22:07 Duration: 465ms
-
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 = 44233 and fd.product_id = 219785;
Date: 2024-06-10 17:45:19 Duration: 361ms
-
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 = 44233 and fd.product_id = 217250;
Date: 2024-06-10 17:45:22 Duration: 345ms
13 162ms 23s142ms 179ms 8,862 26m35s update product_warehouse_inventory set qty_shipped_not_invoiced = case when ?.? is not null then greatest ((?.? - ?.?) + (?.? - ?.?), ?) else greatest ((?.? - ?.?), ?) end where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 10 09 16 3s408ms 213ms 10 7 1s697ms 242ms 11 1,697 5m39s 199ms 12 1,180 3m24s 173ms 13 832 2m26s 175ms 14 1,183 3m28s 175ms 15 436 1m16s 175ms 16 492 1m27s 177ms 17 1,064 3m8s 177ms 18 827 2m23s 173ms 19 614 1m46s 173ms 20 471 1m21s 172ms 21 36 6s129ms 170ms 22 7 1s191ms 170ms -
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 1.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (1.0 - 1.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 180957 and warehouse_id = 43 and company_id = 1;
Date: 2024-06-10 11:47:35 Duration: 23s142ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 1.0 IS NOT NULL THEN GREATEST ((0.0 - 0.0) + (1.0 - 1.0), 0) ELSE GREATEST ((0.0 - 0.0), 0) END where product_id = 180957 and warehouse_id = 43 and company_id = 1;
Date: 2024-06-10 11:47:11 Duration: 22s581ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 4.0 IS NOT NULL THEN GREATEST ((15.0 - 15.0) + (4.0 - 4.0), 0) ELSE GREATEST ((15.0 - 15.0), 0) END where product_id = 177734 and warehouse_id = 37 and company_id = 1;
Date: 2024-06-10 17:34:39 Duration: 1s108ms
14 156ms 16s487ms 178ms 4,992 14m48s update product_warehouse_inventory set qty_available = ?.? where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 10 01 1 162ms 162ms 02 35 5s762ms 164ms 09 760 2m10s 171ms 10 544 1m31s 168ms 11 259 45s504ms 175ms 12 320 56s7ms 175ms 13 489 1m26s 176ms 14 555 1m58s 213ms 15 292 51s98ms 174ms 16 237 43s30ms 181ms 17 457 1m20s 175ms 18 363 1m3s 175ms 19 390 1m7s 173ms 20 257 44s325ms 172ms 21 30 5s140ms 171ms 22 3 508ms 169ms -
UPDATE product_warehouse_inventory SET qty_available = 10.0 WHERE product_id = 184259 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-06-10 14:02:46 Duration: 16s487ms
-
UPDATE product_warehouse_inventory SET qty_available = 2.0 WHERE product_id = 198427 AND warehouse_id = 41 AND company_id = 1;
Date: 2024-06-10 15:03:20 Duration: 368ms
-
UPDATE product_warehouse_inventory SET qty_available = 0.0 WHERE product_id = 266484 AND warehouse_id = 43 AND company_id = 1;
Date: 2024-06-10 14:52:39 Duration: 363ms
15 159ms 272ms 177ms 1,954 5m46s 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 #15
Day Hour Count Duration Avg duration Jun 10 12 5 910ms 182ms 13 1,302 3m51s 178ms 14 17 3s4ms 176ms 15 117 21s948ms 187ms 16 12 2s72ms 172ms 17 219 39s784ms 181ms 18 85 14s462ms 170ms 19 42 7s13ms 166ms 20 8 1s359ms 169ms 21 147 24s475ms 166ms -
update product_warehouse_inventory set sft_stk_qty = 0 where id = ( select id from product_warehouse_inventory where product_id = (186650) and warehouse_id = (41));
Date: 2024-06-10 15:55:17 Duration: 272ms
-
update product_warehouse_inventory set sft_stk_qty = 0 where id = ( select id from product_warehouse_inventory where product_id = (209568) and warehouse_id = (45));
Date: 2024-06-10 13:11:36 Duration: 269ms
-
update product_warehouse_inventory set sft_stk_qty = 0 where id = ( select id from product_warehouse_inventory where product_id = (209312) and warehouse_id = (42));
Date: 2024-06-10 13:07:01 Duration: 258ms
16 158ms 7s934ms 175ms 13,140 38m28s update product_warehouse_inventory set loc_check_qty = coalesce(?.?, ?) + coalesce(?.?, ?) - coalesce(?.?, ?) where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 10 01 26 4s297ms 165ms 02 252 41s945ms 166ms 09 12 2s23ms 168ms 11 1,641 4m39s 170ms 12 969 2m49s 175ms 13 1,375 4m10s 182ms 14 1,479 4m36s 186ms 15 1,338 3m52s 173ms 16 782 2m17s 175ms 17 1,594 4m38s 174ms 18 1,132 3m16s 173ms 19 1,454 4m11s 172ms 20 634 1m50s 173ms 21 440 1m15s 171ms 22 12 2s57ms 171ms -
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(0.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 191053 AND warehouse_id = 41 AND company_id = 1;
Date: 2024-06-10 14:01:31 Duration: 7s934ms
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(9.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 188716 AND warehouse_id = 46 AND company_id = 1;
Date: 2024-06-10 13:38:02 Duration: 2s790ms
-
UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(4.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 239475 AND warehouse_id = 44 AND company_id = 1;
Date: 2024-06-10 13:12:20 Duration: 2s364ms
17 164ms 575ms 174ms 2,806 8m9s update product_warehouse_inventory set rep_loc_check_qty = coalesce((?.?), ?) + coalesce((?.?), ?) where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 10 01 10 1s672ms 167ms 02 4 674ms 168ms 09 6 1s14ms 169ms 11 473 1m21s 171ms 12 268 46s892ms 174ms 13 387 1m8s 177ms 14 273 47s477ms 173ms 15 342 59s313ms 173ms 16 194 34s610ms 178ms 17 240 41s815ms 174ms 18 148 25s656ms 173ms 19 296 51s440ms 173ms 20 123 21s741ms 176ms 21 42 7s208ms 171ms -
UPDATE product_warehouse_inventory SET rep_loc_check_qty = COALESCE((8.0), 0) + COALESCE((5.0), 0) WHERE product_id = 205584 AND warehouse_id = 38 AND company_id = 1;
Date: 2024-06-10 20:10:47 Duration: 575ms
-
UPDATE product_warehouse_inventory SET rep_loc_check_qty = COALESCE((352.0), 0) + COALESCE((41.0), 0) WHERE product_id = 190568 AND warehouse_id = 38 AND company_id = 1;
Date: 2024-06-10 16:20:01 Duration: 271ms
-
UPDATE product_warehouse_inventory SET rep_loc_check_qty = COALESCE((22.0), 0) + COALESCE((4.0), 0) WHERE product_id = 189567 AND warehouse_id = 46 AND company_id = 1;
Date: 2024-06-10 11:42:04 Duration: 267ms
18 154ms 558ms 173ms 3,625 10m28s update product_warehouse_inventory set qty_on_order = ? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 10 01 6 961ms 160ms 02 68 10s927ms 160ms 09 67 11s454ms 170ms 11 153 26s822ms 175ms 12 341 59s36ms 173ms 13 393 1m9s 176ms 14 376 1m5s 173ms 15 425 1m15s 177ms 16 207 36s885ms 178ms 17 515 1m29s 173ms 18 295 50s938ms 172ms 19 410 1m10s 171ms 20 217 36s735ms 169ms 21 148 24s638ms 166ms 22 4 675ms 168ms -
UPDATE product_warehouse_inventory SET qty_on_order = 0 WHERE product_id = 214612 AND warehouse_id = 43;
Date: 2024-06-10 17:06:10 Duration: 558ms
-
UPDATE product_warehouse_inventory SET qty_on_order = 0 WHERE product_id = 194200 AND warehouse_id = 44;
Date: 2024-06-10 13:46:00 Duration: 437ms
-
UPDATE product_warehouse_inventory SET qty_on_order = 0 WHERE product_id = 183351 AND warehouse_id = 43;
Date: 2024-06-10 14:42:51 Duration: 357ms
19 152ms 530ms 172ms 3,671 10m34s update product_warehouse_inventory set qty_on_order = ?.? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 10 01 10 1s594ms 159ms 02 169 27s367ms 161ms 09 70 11s982ms 171ms 10 37 6s302ms 170ms 11 273 46s371ms 169ms 12 308 53s198ms 172ms 13 263 46s609ms 177ms 14 288 50s284ms 174ms 15 544 1m35s 175ms 16 308 53s720ms 174ms 17 417 1m12s 173ms 18 358 1m1s 172ms 19 377 1m5s 172ms 20 172 29s318ms 170ms 21 75 12s598ms 167ms 22 2 343ms 171ms -
UPDATE product_warehouse_inventory SET qty_on_order = 2.0 WHERE product_id = 214612 AND warehouse_id = 43;
Date: 2024-06-10 17:06:10 Duration: 530ms
-
UPDATE product_warehouse_inventory SET qty_on_order = 4.0 WHERE product_id = 214172 AND warehouse_id = 35;
Date: 2024-06-10 14:33:04 Duration: 337ms
-
UPDATE product_warehouse_inventory SET qty_on_order = 2.0 WHERE product_id = 186218 AND warehouse_id = 43;
Date: 2024-06-10 14:33:41 Duration: 321ms
20 152ms 478ms 172ms 2,805 8m3s update product_warehouse_inventory set qty_reserve = ? where product_id = ? and warehouse_id = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 10 01 6 953ms 158ms 02 68 10s815ms 159ms 09 6 994ms 165ms 11 130 22s727ms 174ms 12 188 32s473ms 172ms 13 361 1m3s 175ms 14 349 1m 174ms 15 216 37s319ms 172ms 16 160 28s737ms 179ms 17 393 1m6s 170ms 18 240 41s162ms 171ms 19 371 1m3s 171ms 20 171 29s12ms 169ms 21 142 23s644ms 166ms 22 4 666ms 166ms -
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 196507 AND warehouse_id = 46;
Date: 2024-06-10 16:56:30 Duration: 478ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 214068 AND warehouse_id = 45;
Date: 2024-06-10 12:17:12 Duration: 408ms
-
UPDATE product_warehouse_inventory SET qty_reserve = 0 WHERE product_id = 194200 AND warehouse_id = 44;
Date: 2024-06-10 13:46:01 Duration: 378ms
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
- 388,367 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 126329 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 124,797 Max number of times the same event was reported
- 126,329 Total events found
Rank Times reported Error 1 124,797 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Jun 10 00 455 01 795 02 1,376 03 533 04 889 05 691 06 1,008 07 584 08 670 09 610 10 199 11 7,155 12 7,729 13 10,974 14 13,882 15 8,838 16 9,915 17 18,565 18 12,568 19 16,100 20 9,680 21 1,429 22 152 - ERROR: could not serialize access due to concurrent update
Statement: SELECT state FROM queue_job WHERE uuid='06860179-3af1-476f-9e2f-99001b90ff75' AND state='enqueued' FOR UPDATE
Date: 2024-06-10 21:57:54
2 1,274 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Jun 10 00 21 01 27 02 26 03 21 04 20 05 22 06 27 07 85 08 214 09 273 10 53 11 27 12 32 13 27 14 40 15 33 16 35 17 38 18 37 19 29 20 28 21 26 22 30 23 103 - ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "website_visitor"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=67 FOR UPDATE NOWAIT
Date: 2024-06-10 21:50:22
Statement: SELECT * FROM website_visitor where id = 13487221 FOR NO KEY UPDATE NOWAIT
Date: 2024-06-10 11:11:02
3 144 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #3
Day Hour Count Jun 10 11 7 12 3 13 8 14 17 15 2 16 88 17 4 18 5 19 5 20 4 21 1 - ERROR: process 3669466 still waiting for ShareLock on transaction 272970238 after 1000.058 ms
- ERROR: process 3669491 still waiting for ShareLock on transaction 272972193 after 1000.047 ms
- ERROR: process 3666015 still waiting for ShareLock on transaction 272972247 after 1000.048 ms
Detail: Process holding the lock: 3666050. Wait queue: 3669466.
Context: while updating tuple (17359,6) in relation "product_warehouse_inventory"
Statement: UPDATE "product_warehouse_inventory" SET "write_uid"=2,"write_date"=(now() at time zone 'UTC') WHERE id IN (31757, 31758, 31759, 31760, 31761, 31762, 31763, 31764, 326966)Date: 2024-06-10 16:12:23
Detail: Process holding the lock: 3669477. Wait queue: 3669491.
Context: while updating tuple (2498,20) in relation "sale_order"
Statement: UPDATE "sale_order" SET "carrier_id"=NULL,"write_uid"=1148,"write_date"=(now() at time zone 'UTC') WHERE id IN (142401)Date: 2024-06-10 16:15:15
Detail: Process holding the lock: 3669795. Wait queue: 3666015.
Context: while updating tuple (2498,14) in relation "sale_order"
Statement: UPDATE "sale_order" SET "carrier_id"=NULL,"write_uid"=1148,"write_date"=(now() at time zone 'UTC') WHERE id IN (142401)Date: 2024-06-10 16:15:39
4 73 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #4
Day Hour Count Jun 10 14 1 16 72 - ERROR: process 3669800 still waiting for ExclusiveLock on tuple (2498,20) of relation 44820 of database 65946 after 1000.048 ms
- ERROR: process 3665427 still waiting for ExclusiveLock on tuple (2498,20) of relation 44820 of database 65946 after 1000.045 ms
- ERROR: process 3665427 still waiting for ExclusiveLock on tuple (2498,14) of relation 44820 of database 65946 after 1000.056 ms
Detail: Process holding the lock: 3669491. Wait queue: 3669800.
Statement: UPDATE "sale_order" SET "carrier_id"=NULL,"write_uid"=1148,"write_date"=(now() at time zone 'UTC') WHERE id IN (142401)Date: 2024-06-10 16:15:17
Detail: Process holding the lock: 3669491. Wait queue: 3669800, 3665427.
Statement: UPDATE "sale_order" SET "carrier_id"=NULL,"write_uid"=1148,"write_date"=(now() at time zone 'UTC') WHERE id IN (142401)Date: 2024-06-10 16:15:19
Detail: Process holding the lock: 3666015. Wait queue: 3665427, 3669472, 3666034.
Statement: UPDATE "sale_order" SET "carrier_id"=NULL,"write_uid"=1148,"write_date"=(now() at time zone 'UTC') WHERE id IN (142401)Date: 2024-06-10 16:15:40
5 9 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #5
Day Hour Count Jun 10 16 9 - ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT "res_lang"."id" as "id", "res_lang"."name" as "name", "res_lang"."code" as "code", "res_lang"."iso_code" as "iso_code", "res_lang"."url_code" as "url_code", "res_lang"."active" as "active", "res_lang"."direction" as "direction", "res_lang"."date_format" as "date_format", "res_lang"."time_format" as "time_format", "res_lang"."week_start" as "week_start", "res_lang"."grouping" as "grouping", "res_lang"."decimal_point" as "decimal_point", "res_lang"."thousands_sep" as "thousands_sep", "res_lang"."create_uid" as "create_uid", "res_lang"."create_date" as "create_date", "res_lang"."write_uid" as "write_uid", "res_lang"."write_date" as "write_date" FROM "res_lang" WHERE "res_lang".id IN (1)
Date: 2024-06-10 16:16:19
6 8 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #6
Day Hour Count Jun 10 11 1 12 2 16 2 17 2 20 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 3669467 waits for ShareLock on transaction 272973686; blocked by process 3669803. Process 3669803 waits for ShareLock on transaction 272973687; blocked by process 3669467. Process 3669467: DELETE FROM sale_order_line WHERE id IN (422293) Process 3669803: UPDATE "sale_order_line" SET "write_uid"=1148,"write_date"=(now() at time zone 'UTC') WHERE id IN (422293)
Context: while deleting tuple (3020,15) in relation "account_tax_sale_order_line_rel" SQL statement "DELETE FROM ONLY "public"."account_tax_sale_order_line_rel" WHERE $1 OPERATOR(pg_catalog.=) "sale_order_line_id""
Hint: See server log for query details.
Statement: DELETE FROM sale_order_line WHERE id IN (422293)Date: 2024-06-10 16:17:06
Detail: Process 3669484 waits for AccessExclusiveLock on tuple (3025,34) of relation 42693 of database 65946; blocked by process 3669480. Process 3669480 waits for ShareLock on transaction 272976741; blocked by process 3669803. Process 3669803 waits for ShareLock on transaction 272976580; blocked by process 3669484. Process 3669484: DELETE FROM sale_order_line WHERE id IN (422304) Process 3669480: DELETE FROM account_tax_sale_order_line_rel WHERE sale_order_line_id IN (422304) AND account_tax_id IN (2122) Process 3669803: UPDATE "sale_order_line" SET "write_uid"=1148,"write_date"=(now() at time zone 'UTC') WHERE id IN (422304)
Context: SQL statement "DELETE FROM ONLY "public"."account_tax_sale_order_line_rel" WHERE $1 OPERATOR(pg_catalog.=) "sale_order_line_id""
Hint: See server log for query details.
Statement: DELETE FROM sale_order_line WHERE id IN (422304)Date: 2024-06-10 16:18:22
Detail: Process 3284327 waits for ShareLock on transaction 272693681; blocked by process 3376013. Process 3376013 waits for ShareLock on transaction 272693592; blocked by process 3284327. Process 3284327: UPDATE "product_warehouse_inventory" SET "last_used_date"='2024-06-10',"write_uid"=990,"write_date"=(now() at time zone 'UTC') WHERE id IN (8385, 7170) Process 3376013: UPDATE product_warehouse_inventory SET loc_check_qty = COALESCE(37.0, 0) + COALESCE(0.0, 0) - COALESCE(0.0, 0) WHERE product_id = 237132 AND warehouse_id = 45 AND company_id = 1
Context: while updating tuple (21380,1) in relation "product_warehouse_inventory"
Hint: See server log for query details.
Statement: UPDATE "product_warehouse_inventory" SET "last_used_date"='2024-06-10',"write_uid"=990,"write_date"=(now() at time zone 'UTC') WHERE id IN (8385, 7170)Date: 2024-06-10 12:21:02
7 7 LOG: process ... still waiting for AccessExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #7
Day Hour Count Jun 10 16 7 - ERROR: process 3669469 still waiting for AccessExclusiveLock on tuple (20819,3) of relation 44826 of database 65946 after 1000.054 ms
- ERROR: process 3665456 still waiting for AccessExclusiveLock on tuple (20828,8) of relation 44826 of database 65946 after 1000.058 ms
- ERROR: process 3665931 still waiting for AccessExclusiveLock on tuple (20826,11) of relation 44826 of database 65946 after 1000.053 ms
Detail: Process holding the lock: 3669471. Wait queue: 3669469.
Statement: DELETE FROM sale_order_line WHERE id IN (422295)Date: 2024-06-10 16:17:41
Detail: Process holding the lock: 3669472. Wait queue: 3665456.
Statement: DELETE FROM sale_order_line WHERE id IN (422320)Date: 2024-06-10 16:19:15
Detail: Process holding the lock: 3669794. Wait queue: 3665931.
Statement: DELETE FROM sale_order_line WHERE id IN (422317)Date: 2024-06-10 16:19:15
8 6 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #8
Day Hour Count Jun 10 09 1 14 1 16 4 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM account_tax_sale_order_line_rel WHERE sale_order_line_id IN (422304) AND account_tax_id IN (2122)
Date: 2024-06-10 16:18:22
9 6 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Jun 10 07 1 08 4 09 1 - ERROR: syntax error at or near "]" at character 1
- ERROR: syntax error at or near ")" at character 53
- ERROR: syntax error at or near "product_id" at character 90
Statement: ]select p.name as picking_ref, p.id as picking_id,sm.id as move_id, sml.id as move_line_id, pp.id as product_id, sml.state as move_line_state from stock_move_line sml left join product_product pp on sml.product_id = pp.id left join product_template pt on pt.id = pp.product_tmpl_id left join stock_picking p on p.id = sml.picking_id left join stock_move sm on sm.id = sml.move_id where pt.is_core = True and sml.move_options = 'new_product' and sml.linked_has_core_ml_id is Null and sml.state not in ('done', 'cancel') and sm.origin_returned_move_id is null;
Date: 2024-06-10 07:53:48
Statement: update queue_job set func_string=stock.quant(204716,).trigger_updated_onhand_quantity({'product_id': 195942, 'is_core': False, 'warehouse_id': 45}) where id=2211817
Date: 2024-06-10 08:40:39
Statement: update queue_job set func_string='stock.quant(204716,).trigger_updated_onhand_quantity({'product_id': 195942, 'is_core': False, 'warehouse_id': 45})' where id=2211817
Date: 2024-06-10 08:41:17
10 2 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #10
Day Hour Count Jun 10 08 1 09 1 - ERROR: could not receive data from client: Connection reset by peer
Date: 2024-06-10 08:52:33
11 1 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #11
Day Hour Count Jun 10 17 1 - ERROR: null value in column "categ_id" of relation "product_template" violates not-null constraint
Detail: Failing row contains (268349, null, 9054A, 1, null, null, null, product, null, 1.00, null, null, t, t, 1, 1, null, t, null, null, null, null, 978, 2024-06-10 17:03:55.117298, 978, 2024-06-10 17:03:55.117298, 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, 479140, never, 0, , 46, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 2024-06-10, 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'), 978, (now() at time zone 'UTC'), 978, (now() at time zone 'UTC'), true, false, 0.0, 46, NULL, 1, '', 'no', '2024-06-10', 'E', 'never', 'delivery', false, false, false, false, false, 'no', '1.00', '9054A', 0.0, 'no-message', 'receive', true, 'rfq', 0.0, 'no-message', true, 1, 'none', 'no', 'manual', 1, 'none', 'product', 1, 1, 479140, 1, 1) RETURNING idDate: 2024-06-10 17:03:55
12 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #12
Day Hour Count Jun 10 16 1 - ERROR: duplicate key value violates unique constraint "fleet_vehicle_vehicle_unit_no_driver_id_unique"
Detail: Key (vehicle_unit_no, driver_id)=(68, 34083) 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'), 1008, (now() at time zone 'UTC'), 1008, (now() at time zone 'UTC'), '2024-06-10', true, 105, 0.0, 0.0, NULL, 1, NULL, 5, 34083, '2024-06-10', NULL, NULL, 0, 0.0, 'zsh4324', NULL, 959, 229, 22, NULL, '768', 0.0, NULL, 'miles', 0, 0.0, 0, 3, NULL, '68', '1ftw22bt0cea56768') RETURNING idDate: 2024-06-10 16:55:13
13 1 LOG: process ... still waiting for AccessShareLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #13
Day Hour Count Jun 10 16 1 - ERROR: process 3669803 still waiting for AccessShareLock on tuple (20818,3) of relation 44826 of database 65946 after 1000.202 ms
Detail: Process holding the lock: 3666032. Wait queue: 3669803.
Context: SQL statement "SELECT 1 FROM ONLY "public"."sale_order_line" x WHERE "id" OPERATOR(pg_catalog.=) $1 FOR KEY SHARE OF x"
Statement: INSERT INTO account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) VALUES (422294, 2122) ON CONFLICT DO NOTHINGDate: 2024-06-10 16:17:24