-
Global information
- Generated on Tue Nov 22 23:50:36 2022
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 401,320 log entries in 35s
- Log start from 2022-11-21 00:00:00 to 2022-11-21 23:59:42
-
Overview
Global Stats
- 807 Number of unique normalized queries
- 137,160 Number of queries
- 18h7m3s Total query duration
- 2022-11-21 01:43:47 First query
- 2022-11-21 23:50:17 Last query
- 21 queries/s at 2022-11-21 12:50:35 Query peak
- 18h7m3s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 18h7m3s Execute total duration
- 10,705 Number of events
- 14 Number of unique normalized events
- 9,898 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
- 137,160 Average queries per session
- 18h7m3s 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
- 21 queries/s Query Peak
- 2022-11-21 12:50:35 Date
SELECT Traffic
Key values
- 20 queries/s Query Peak
- 2022-11-21 21:40:10 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 11 queries/s Query Peak
- 2022-11-21 18:22:06 Date
Queries duration
Key values
- 18h7m3s 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) Nov 21 00 0 0ms 0ms 0ms 0ms 0ms 0ms 01 28 0ms 663ms 227ms 0ms 663ms 3s271ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 29 0ms 158ms 128ms 0ms 507ms 1s785ms 05 0 0ms 0ms 0ms 0ms 0ms 0ms 06 30 0ms 247ms 204ms 0ms 188ms 5s622ms 07 1,731 0ms 12m38s 1s692ms 59s467ms 11m47s 12m41s 08 976 0ms 11m12s 1s190ms 48s728ms 53s763ms 11m37s 09 1,807 0ms 19s408ms 277ms 11s974ms 18s778ms 50s953ms 10 2,660 122ms 939ms 250ms 15s519ms 18s727ms 23s72ms 11 2,550 120ms 1s656ms 239ms 12s453ms 13s163ms 21s564ms 12 13,808 120ms 17m29s 521ms 3m15s 5m21s 20m48s 13 3,205 120ms 15m37s 950ms 49s165ms 1m41s 16m1s 14 12,650 120ms 3s702ms 267ms 1m12s 1m30s 1m41s 15 10,514 120ms 7s515ms 388ms 1m30s 1m40s 2m18s 16 13,741 120ms 3s87ms 332ms 1m41s 2m2s 2m12s 17 25,233 120ms 2s961ms 294ms 2m27s 3m1s 4m24s 18 11,906 120ms 1h58m 924ms 2m15s 2m32s 1h58m49s 19 2,332 120ms 7s372ms 457ms 32s858ms 51s678ms 1m34s 20 2,230 120ms 4s465ms 502ms 39s158ms 42s587ms 54s722ms 21 10,191 0ms 6s14ms 463ms 4m38s 5m56s 6m13s 22 20,318 120ms 13s276ms 559ms 8m38s 9m25s 10m31s 23 1,221 0ms 1s53ms 256ms 26s181ms 29s207ms 31s193ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 21 00 0 0 0ms 0ms 0ms 0ms 01 28 0 227ms 0ms 0ms 2s433ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 29 0 128ms 0ms 0ms 1s447ms 05 0 0 0ms 0ms 0ms 0ms 06 30 0 204ms 0ms 0ms 189ms 07 360 0 202ms 2s544ms 3s953ms 6s597ms 08 300 0 262ms 2s110ms 3s586ms 6s62ms 09 984 36 231ms 4s402ms 5s181ms 22s819ms 10 1,463 0 194ms 5s729ms 9s246ms 12s712ms 11 1,317 0 169ms 4s558ms 5s375ms 6s209ms 12 12,469 0 431ms 2m27s 3m 4m55s 13 2,472 0 490ms 30s441ms 39s412ms 43s181ms 14 2,752 0 448ms 30s323ms 38s106ms 51s708ms 15 3,498 0 432ms 36s959ms 47s82ms 1m28s 16 5,762 0 285ms 39s797ms 54s254ms 1m2s 17 10,205 0 242ms 51s160ms 1m4s 2m21s 18 6,288 0 263ms 41s299ms 46s171ms 1m4s 19 2,138 0 464ms 25s575ms 32s610ms 54s786ms 20 2,096 0 510ms 30s382ms 37s187ms 49s700ms 21 9,963 0 461ms 2m34s 4m32s 5m58s 22 20,159 0 556ms 7m36s 8m37s 9m46s 23 1,212 0 257ms 17s466ms 26s35ms 30s781ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 21 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 1,347 0 0 342ms 0ms 24s136ms 39s766ms 08 0 637 28 0 461ms 531ms 1s506ms 41s988ms 09 0 771 14 0 326ms 6s265ms 6s833ms 7s571ms 10 0 1,194 0 0 318ms 6s462ms 7s13ms 7s453ms 11 0 1,200 0 0 319ms 6s714ms 7s182ms 7s759ms 12 46 1,218 1 0 558ms 12s370ms 14s586ms 18s948ms 13 4 686 22 0 320ms 3s286ms 7s729ms 10s366ms 14 5 9,834 22 0 217ms 38s234ms 40s203ms 42s215ms 15 17 6,927 14 0 368ms 42s284ms 43s288ms 47s195ms 16 8 7,939 7 0 365ms 44s59ms 54s264ms 1m13s 17 10 14,964 12 0 330ms 1m23s 1m24s 1m28s 18 12 5,560 9 0 1s673ms 1m24s 1m26s 1m32s 19 7 159 9 0 393ms 832ms 1s973ms 5s267ms 20 8 106 6 0 378ms 636ms 1s287ms 3s665ms 21 14 153 4 0 440ms 578ms 1s929ms 7s209ms 22 3 76 1 0 643ms 0ms 645ms 4s895ms 23 0 1 0 0 190ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Nov 21 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 Nov 21 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 Nov 21 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 Nov 21 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 Nov 21 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) Nov 21 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 Nov 21 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 Nov 21 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 Nov 21 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
- 28 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 1h58m 1h58m 1h58m 1h58m insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-11-21 14:31:24', '2022-11-21 14:31:24', '16.5 X 7 Shoe Core Eaton Esii', 15072, 5, 461, 'core_return_1', '[4709ESII] 16.5 X 7 Shoe Core Eaton Esii', NULL, 'T-01486', 42188, 354, '0', 'make_to_stock', 237210, 1, '10.00', false, 398, 24564, 10, 'draft', 45) RETURNING id;
Date: 2022-11-21 18:25:27
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-11-21 12:48:19', '2022-11-21 12:48:19', 'Gasket', 14941, 5, 461, 'new_product', '[330-3009] Gasket', NULL, 'T-01466', 36081, 354, '0', 'make_to_stock', 187705, 1, '10.00', false, 398, 24262, 10, 'draft', 45) RETURNING id;
Date: 2022-11-21 12:52:01
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-11-21 12:26:18', '2022-11-21 12:26:18', 'Rubber Adjuster', 14923, 5, 381, 'new_product', '[0218] Rubber Adjuster', NULL, 'G-00802', 49454, 274, '0', 'make_to_stock', 172690, 1, '12.00', false, 308, 24224, 10, 'draft', 35) RETURNING id;
Date: 2022-11-21 12:27:00
2 8 15s28ms 1s545ms 3s866ms 1s878ms 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 != 160275 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 != 160275 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2022-11-21 14:48: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 != 160772 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 != 160772 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2022-11-21 16:07:13
3 10 13s452ms 1s30ms 3s647ms 1s345ms delete from ir_attachment where id in (...);-
DELETE FROM ir_attachment WHERE id IN (75062);
Date: 2022-11-21 16:08:04
4 5 12s231ms 1s362ms 4s711ms 2s446ms 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" = 75404, "write_uid" = 1030, "write_date" = (now() at time zone 'UTC') WHERE id IN (161372);
Date: 2022-11-21 18:38:27
5 1 1s803ms 1s803ms 1s803ms 1s803ms update "account_move" set "access_token" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "access_token" = '05a1f46b-7a7b-4434-9031-59e00fd8cdd6', "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (161046);
Date: 2022-11-21 17:32:14
6 1 1s655ms 1s655ms 1s655ms 1s655ms select "ir_model_fields".id from "ir_model_fields" where ("ir_model_fields"."model" = ?) order by "ir_model_fields"."name";-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'sale.order') ORDER BY "ir_model_fields"."name";
Date: 2022-11-21 11:48:31
-
SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'sale.order') ORDER BY "ir_model_fields"."name";
Date: 2022-11-21 11:48:31
7 1 1s269ms 1s269ms 1s269ms 1s269ms update "stock_move" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move" SET "write_uid" = 989, "write_date" = (now() at time zone 'UTC') WHERE id IN (147013, 142597, 142598, 152981, 152982, 142943);
Date: 2022-11-21 14:37:39
-
UPDATE "stock_move" SET "write_uid" = 2, "write_date" = (now() at time zone 'UTC') WHERE id IN (147013, 142597, 142598, 152981, 152982, 142943);
Date: 2022-11-21 15:03:21
-
UPDATE "stock_move" SET "write_uid" = 1031, "write_date" = (now() at time zone 'UTC') WHERE id IN (147013, 142597, 142598, 152981, 152982, 142943);
Date: 2022-11-21 13:02:49
8 1 1s179ms 1s179ms 1s179ms 1s179ms update ir_module_module set state = ? where state in (...);-
UPDATE ir_module_module SET state = 'installed' WHERE state IN ('to remove', 'to upgrade');
Date: 2022-11-21 08:58:59
Queries that waited the most
Rank Wait time Query 1 1h58m INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-11-21 14:31:24', '2022-11-21 14:31:24', '16.5 X 7 Shoe Core Eaton Esii', 15072, 5, 461, 'core_return_1', '[4709ESII] 16.5 X 7 Shoe Core Eaton Esii', NULL, 'T-01486', 42188, 354, '0', 'make_to_stock', 237210, 1, '10.00', false, 398, 24564, 10, 'draft', 45) RETURNING id;[ Date: 2022-11-21 18:25:27 ]
2 4s711ms UPDATE "account_move" SET "message_main_attachment_id" = 74858, "write_uid" = 1039, "write_date" = (now() at time zone 'UTC') WHERE id IN (160442);[ Date: 2022-11-21 15:12:37 ]
3 3s866ms 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 != 160020 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 != 160020 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-11-21 14:00:39 ]
4 3s647ms DELETE FROM ir_attachment WHERE id IN (74748);[ Date: 2022-11-21 14:50:09 ]
5 3s637ms UPDATE "account_move" SET "message_main_attachment_id" = 74884, "write_uid" = 1031, "write_date" = (now() at time zone 'UTC') WHERE id IN (160477);[ Date: 2022-11-21 15:16:26 ]
6 2s302ms 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 != 160678 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 != 160678 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-11-21 15:49:25 ]
7 2s86ms 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 != 160772 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 != 160772 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-11-21 16:07:13 ]
8 1s803ms UPDATE "account_move" SET "access_token" = '05a1f46b-7a7b-4434-9031-59e00fd8cdd6', "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (161046);[ Date: 2022-11-21 17:32:14 ]
9 1s744ms 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 != 160342 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 != 160342 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-11-21 14:54:35 ]
10 1s655ms SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'sale.order') ORDER BY "ir_model_fields"."name";[ Date: 2022-11-21 11:48:31 ]
11 1s545ms 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 != 156426 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 != 156426 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-11-21 20:47:40 ]
12 1s362ms UPDATE "account_move" SET "message_main_attachment_id" = 75404, "write_uid" = 1030, "write_date" = (now() at time zone 'UTC') WHERE id IN (161372);[ Date: 2022-11-21 18:38:27 ]
13 1s335ms 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 != 160072 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 != 160072 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-11-21 14:06:29 ]
14 1s300ms UPDATE "account_move" SET "message_main_attachment_id" = 74930, "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (160558);[ Date: 2022-11-21 15:25:39 ]
15 1s290ms DELETE FROM ir_attachment WHERE id IN (75388);[ Date: 2022-11-21 18:36:00 ]
16 1s269ms UPDATE "stock_move" SET "write_uid" = 980, "write_date" = (now() at time zone 'UTC') WHERE id IN (145048);[ Date: 2022-11-21 15:18:27 ]
17 1s220ms UPDATE "account_move" SET "message_main_attachment_id" = 74824, "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (160394);[ Date: 2022-11-21 15:06:54 ]
18 1s194ms DELETE FROM ir_attachment WHERE id IN (74407);[ Date: 2022-11-21 12:50:56 ]
19 1s179ms UPDATE ir_module_module SET state = 'installed' WHERE state IN ('to remove', 'to upgrade');[ Date: 2022-11-21 08:58:59 ]
20 1s141ms 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 != 160191 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 != 160191 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-11-21 14:30:50 ]
-
Queries
Queries by type
Key values
- 83,525 Total read queries
- 53,634 Total write queries
Queries by database
Key values
- unknown Main database
- 137,160 Requests
- 18h7m3s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 137,160 Requests
User Request type Count Duration unknown Total 137,160 18h7m3s copy to 36 1m4s cte 539 1h42m13s delete 149 2m23s insert 134 1h58m24s others 1 132ms select 83,525 9h29m7s tcl 4 614ms update 52,772 4h53m49s Duration by user
Key values
- 18h7m3s (unknown) Main time consuming user
User Request type Count Duration unknown Total 137,160 18h7m3s copy to 36 1m4s cte 539 1h42m13s delete 149 2m23s insert 134 1h58m24s others 1 132ms select 83,525 9h29m7s tcl 4 614ms update 52,772 4h53m49s Queries by host
Key values
- unknown Main host
- 137,160 Requests
- 18h7m3s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 137,160 Requests
- 18h7m3s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2022-11-21 17:06:57 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 106,992 100-500ms duration
Slowest individual queries
Rank Duration Query 1 1h58m INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-11-21 14:31:24', '2022-11-21 14:31:24', '16.5 X 7 Shoe Core Eaton Esii', 15072, 5, 461, 'core_return_1', '[4709ESII] 16.5 X 7 Shoe Core Eaton Esii', NULL, 'T-01486', 42188, 354, '0', 'make_to_stock', 237210, 1, '10.00', false, 398, 24564, 10, 'draft', 45) RETURNING id;[ Date: 2022-11-21 18:25:27 ]
2 17m29s with data as ( select distinct shl.id as record, 731, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 17:35:14' and shl.invoice_date <= '2022-11-21 17:35:14' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 731, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:35:14' and am.invoice_date <= '2022-11-21 17:35:14' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 731, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:35:14' and am.invoice_date <= '2022-11-21 17:35:14' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 731, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 17:35:14' and mrp.date_planned_start <= '2022-11-21 17:35:14' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 731, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);[ Date: 2022-11-21 12:53:08 ]
3 15m37s with data as ( select distinct shl.id as record, 732, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 17:45:02' and shl.invoice_date <= '2022-11-21 17:45:02' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 732, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:45:02' and am.invoice_date <= '2022-11-21 17:45:02' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 732, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:45:02' and am.invoice_date <= '2022-11-21 17:45:02' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 732, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 17:45:02' and mrp.date_planned_start <= '2022-11-21 17:45:02' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 732, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);[ Date: 2022-11-21 13:01:04 ]
4 12m38s with data as ( select distinct shl.id as record, 669, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 05:00:00' and shl.invoice_date <= '2022-11-21 05:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 669, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 05:00:00' and am.invoice_date <= '2022-11-21 05:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 669, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 05:00:00' and am.invoice_date <= '2022-11-21 05:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 669, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 05:00:00' and mrp.date_planned_start <= '2022-11-21 05:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 669, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);[ Date: 2022-11-21 07:33:55 ]
5 12m18s with data as ( select distinct shl.id as record, 669, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 669, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 669, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 669, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 669, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);[ Date: 2022-11-21 07:25:41 ]
6 11m12s with data as ( select distinct shl.id as record, 697, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 697, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 697, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 697, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 697, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);[ Date: 2022-11-21 08:13:24 ]
7 11m11s with data as ( select distinct shl.id as record, 683, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 683, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 683, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 683, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 683, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);[ Date: 2022-11-21 07:49:07 ]
8 11m6s with data as ( select distinct shl.id as record, 740, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 17:59:04' and shl.invoice_date <= '2022-11-21 17:59:04' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 740, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:59:04' and am.invoice_date <= '2022-11-21 17:59:04' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 740, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:59:04' and am.invoice_date <= '2022-11-21 17:59:04' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 740, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 17:59:04' and mrp.date_planned_start <= '2022-11-21 17:59:04' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 740, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);[ Date: 2022-11-21 13:10:34 ]
9 19s408ms COPY public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage) TO stdout;[ Date: 2022-11-21 09:01:06 ]
10 18s488ms with data as ( select distinct shl.id as record, 673, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 45 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (172767, 172835, 173212, 173262, 173641, 174026, 174246, 177068, 177923, 179986, 180879, 184001, 184510, 185902, 190525, 190531, 190593, 197227, 197267, 199642, 206638, 208957, 208958, 208960, 211202, 211206, 211207, 211212, 211219, 211220, 211229, 211233, 219122, 228263, 239405, 239420, 197240, 181017, 174233, 172689, 173230, 174022, 184051, 197276, 206627, 228248, 239522, 211201, 172796, 173229, 177378, 177743, 179147, 179148, 180397, 180400, 180822, 184439, 190908, 197274, 203231, 213290, 218905, 226991, 180730, 205525, 180735) UNION ALL ( select distinct sol.id as record, 673, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 45 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (172767, 172835, 173212, 173262, 173641, 174026, 174246, 177068, 177923, 179986, 180879, 184001, 184510, 185902, 190525, 190531, 190593, 197227, 197267, 199642, 206638, 208957, 208958, 208960, 211202, 211206, 211207, 211212, 211219, 211220, 211229, 211233, 219122, 228263, 239405, 239420, 197240, 181017, 174233, 172689, 173230, 174022, 184051, 197276, 206627, 228248, 239522, 211201, 172796, 173229, 177378, 177743, 179147, 179148, 180397, 180400, 180822, 184439, 190908, 197274, 203231, 213290, 218905, 226991, 180730, 205525, 180735)) UNION ALL ( select distinct rol.id as record, 673, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 45 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (172767, 172835, 173212, 173262, 173641, 174026, 174246, 177068, 177923, 179986, 180879, 184001, 184510, 185902, 190525, 190531, 190593, 197227, 197267, 199642, 206638, 208957, 208958, 208960, 211202, 211206, 211207, 211212, 211219, 211220, 211229, 211233, 219122, 228263, 239405, 239420, 197240, 181017, 174233, 172689, 173230, 174022, 184051, 197276, 206627, 228248, 239522, 211201, 172796, 173229, 177378, 177743, 179147, 179148, 180397, 180400, 180822, 184439, 190908, 197274, 203231, 213290, 218905, 226991, 180730, 205525, 180735)) UNION ALL ( select distinct sm.id as record, 673, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 45 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (172767, 172835, 173212, 173262, 173641, 174026, 174246, 177068, 177923, 179986, 180879, 184001, 184510, 185902, 190525, 190531, 190593, 197227, 197267, 199642, 206638, 208957, 208958, 208960, 211202, 211206, 211207, 211212, 211219, 211220, 211229, 211233, 219122, 228263, 239405, 239420, 197240, 181017, 174233, 172689, 173230, 174022, 184051, 197276, 206627, 228248, 239522, 211201, 172796, 173229, 177378, 177743, 179147, 179148, 180397, 180400, 180822, 184439, 190908, 197274, 203231, 213290, 218905, 226991, 180730, 205525, 180735))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 673, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 45);[ Date: 2022-11-21 07:26:49 ]
11 18s408ms with data as ( select distinct shl.id as record, 687, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 45 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (172767, 172835, 173212, 173262, 173641, 174026, 174246, 177068, 177923, 179986, 180879, 184001, 184510, 185902, 190525, 190531, 190593, 197227, 197267, 199642, 206638, 208957, 208958, 208960, 211202, 211206, 211207, 211212, 211219, 211220, 211229, 211233, 219122, 228263, 239405, 239420, 197240, 181017, 174233, 172689, 173230, 174022, 184051, 197276, 206627, 228248, 239522, 211201, 172796, 173229, 177378, 177743, 179147, 179148, 180397, 180400, 180822, 184439, 190908, 197274, 203231, 213290, 218905, 226991, 180730, 205525, 180735) UNION ALL ( select distinct sol.id as record, 687, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 45 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (172767, 172835, 173212, 173262, 173641, 174026, 174246, 177068, 177923, 179986, 180879, 184001, 184510, 185902, 190525, 190531, 190593, 197227, 197267, 199642, 206638, 208957, 208958, 208960, 211202, 211206, 211207, 211212, 211219, 211220, 211229, 211233, 219122, 228263, 239405, 239420, 197240, 181017, 174233, 172689, 173230, 174022, 184051, 197276, 206627, 228248, 239522, 211201, 172796, 173229, 177378, 177743, 179147, 179148, 180397, 180400, 180822, 184439, 190908, 197274, 203231, 213290, 218905, 226991, 180730, 205525, 180735)) UNION ALL ( select distinct rol.id as record, 687, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 45 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (172767, 172835, 173212, 173262, 173641, 174026, 174246, 177068, 177923, 179986, 180879, 184001, 184510, 185902, 190525, 190531, 190593, 197227, 197267, 199642, 206638, 208957, 208958, 208960, 211202, 211206, 211207, 211212, 211219, 211220, 211229, 211233, 219122, 228263, 239405, 239420, 197240, 181017, 174233, 172689, 173230, 174022, 184051, 197276, 206627, 228248, 239522, 211201, 172796, 173229, 177378, 177743, 179147, 179148, 180397, 180400, 180822, 184439, 190908, 197274, 203231, 213290, 218905, 226991, 180730, 205525, 180735)) UNION ALL ( select distinct sm.id as record, 687, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 45 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (172767, 172835, 173212, 173262, 173641, 174026, 174246, 177068, 177923, 179986, 180879, 184001, 184510, 185902, 190525, 190531, 190593, 197227, 197267, 199642, 206638, 208957, 208958, 208960, 211202, 211206, 211207, 211212, 211219, 211220, 211229, 211233, 219122, 228263, 239405, 239420, 197240, 181017, 174233, 172689, 173230, 174022, 184051, 197276, 206627, 228248, 239522, 211201, 172796, 173229, 177378, 177743, 179147, 179148, 180397, 180400, 180822, 184439, 190908, 197274, 203231, 213290, 218905, 226991, 180730, 205525, 180735))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 687, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 45);[ Date: 2022-11-21 07:50:18 ]
12 18s84ms with data as ( select distinct shl.id as record, 701, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 45 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (172767, 172835, 173212, 173262, 173641, 174026, 174246, 177068, 177923, 179986, 180879, 184001, 184510, 185902, 190525, 190531, 190593, 197227, 197267, 199642, 206638, 208957, 208958, 208960, 211202, 211206, 211207, 211212, 211219, 211220, 211229, 211233, 219122, 228263, 239405, 239420, 197240, 181017, 174233, 172689, 173230, 174022, 184051, 197276, 206627, 228248, 239522, 211201, 172796, 173229, 177378, 177743, 179147, 179148, 180397, 180400, 180822, 184439, 190908, 197274, 203231, 213290, 218905, 226991, 180730, 205525, 180735) UNION ALL ( select distinct sol.id as record, 701, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 45 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (172767, 172835, 173212, 173262, 173641, 174026, 174246, 177068, 177923, 179986, 180879, 184001, 184510, 185902, 190525, 190531, 190593, 197227, 197267, 199642, 206638, 208957, 208958, 208960, 211202, 211206, 211207, 211212, 211219, 211220, 211229, 211233, 219122, 228263, 239405, 239420, 197240, 181017, 174233, 172689, 173230, 174022, 184051, 197276, 206627, 228248, 239522, 211201, 172796, 173229, 177378, 177743, 179147, 179148, 180397, 180400, 180822, 184439, 190908, 197274, 203231, 213290, 218905, 226991, 180730, 205525, 180735)) UNION ALL ( select distinct rol.id as record, 701, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 45 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (172767, 172835, 173212, 173262, 173641, 174026, 174246, 177068, 177923, 179986, 180879, 184001, 184510, 185902, 190525, 190531, 190593, 197227, 197267, 199642, 206638, 208957, 208958, 208960, 211202, 211206, 211207, 211212, 211219, 211220, 211229, 211233, 219122, 228263, 239405, 239420, 197240, 181017, 174233, 172689, 173230, 174022, 184051, 197276, 206627, 228248, 239522, 211201, 172796, 173229, 177378, 177743, 179147, 179148, 180397, 180400, 180822, 184439, 190908, 197274, 203231, 213290, 218905, 226991, 180730, 205525, 180735)) UNION ALL ( select distinct sm.id as record, 701, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 45 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (172767, 172835, 173212, 173262, 173641, 174026, 174246, 177068, 177923, 179986, 180879, 184001, 184510, 185902, 190525, 190531, 190593, 197227, 197267, 199642, 206638, 208957, 208958, 208960, 211202, 211206, 211207, 211212, 211219, 211220, 211229, 211233, 219122, 228263, 239405, 239420, 197240, 181017, 174233, 172689, 173230, 174022, 184051, 197276, 206627, 228248, 239522, 211201, 172796, 173229, 177378, 177743, 179147, 179148, 180397, 180400, 180822, 184439, 190908, 197274, 203231, 213290, 218905, 226991, 180730, 205525, 180735))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 701, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 45);[ Date: 2022-11-21 08:14:39 ]
13 17s454ms with data as ( select distinct shl.id as record, 679, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 37 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627) UNION ALL ( select distinct sol.id as record, 679, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 37 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627)) UNION ALL ( select distinct rol.id as record, 679, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 37 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627)) UNION ALL ( select distinct sm.id as record, 679, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 37 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 679, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 37);[ Date: 2022-11-21 07:35:26 ]
14 17s400ms with data as ( select distinct shl.id as record, 707, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 37 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627) UNION ALL ( select distinct sol.id as record, 707, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 37 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627)) UNION ALL ( select distinct rol.id as record, 707, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 37 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627)) UNION ALL ( select distinct sm.id as record, 707, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 37 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 707, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 37);[ Date: 2022-11-21 08:59:24 ]
15 17s89ms with data as ( select distinct shl.id as record, 693, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 37 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627) UNION ALL ( select distinct sol.id as record, 693, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 37 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627)) UNION ALL ( select distinct rol.id as record, 693, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 37 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627)) UNION ALL ( select distinct sm.id as record, 693, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 37 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 693, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 37);[ Date: 2022-11-21 07:59:17 ]
16 16s977ms with data as ( select distinct shl.id as record, 665, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 37 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627) UNION ALL ( select distinct sol.id as record, 665, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 37 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627)) UNION ALL ( select distinct rol.id as record, 665, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 37 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627)) UNION ALL ( select distinct sm.id as record, 665, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 37 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173724, 173188, 174082, 174247, 176845, 176960, 177080, 177532, 177534, 177729, 177737, 177772, 178802, 179321, 181416, 184495, 187313, 187340, 187822, 188456, 190901, 193626, 197227, 197276, 199553, 202377, 203275, 204977, 206536, 216068, 216070, 181351, 184042, 173304, 177535, 173187, 173372, 173641, 177049, 177071, 177857, 181409, 184426, 184510, 173211, 173215, 173277, 174124, 176897, 184597, 206542, 206627))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 665, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 37);[ Date: 2022-11-21 07:11:24 ]
17 16s386ms with data as ( select distinct shl.id as record, 675, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 48 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173229, 173231, 173241, 173304, 173711, 173726, 174027, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197248, 197261, 199604, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 197240, 173313, 173638, 173724, 174246, 176928, 177545, 178622, 179363, 197276, 207571, 207578, 239345, 239420, 239475, 203327, 173216, 173372, 173394, 181351, 181404, 190593, 190950, 193195, 227034, 239480, 177857) UNION ALL ( select distinct sol.id as record, 675, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 48 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173229, 173231, 173241, 173304, 173711, 173726, 174027, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197248, 197261, 199604, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 197240, 173313, 173638, 173724, 174246, 176928, 177545, 178622, 179363, 197276, 207571, 207578, 239345, 239420, 239475, 203327, 173216, 173372, 173394, 181351, 181404, 190593, 190950, 193195, 227034, 239480, 177857)) UNION ALL ( select distinct rol.id as record, 675, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 48 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173229, 173231, 173241, 173304, 173711, 173726, 174027, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197248, 197261, 199604, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 197240, 173313, 173638, 173724, 174246, 176928, 177545, 178622, 179363, 197276, 207571, 207578, 239345, 239420, 239475, 203327, 173216, 173372, 173394, 181351, 181404, 190593, 190950, 193195, 227034, 239480, 177857)) UNION ALL ( select distinct sm.id as record, 675, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 48 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173229, 173231, 173241, 173304, 173711, 173726, 174027, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197248, 197261, 199604, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 197240, 173313, 173638, 173724, 174246, 176928, 177545, 178622, 179363, 197276, 207571, 207578, 239345, 239420, 239475, 203327, 173216, 173372, 173394, 181351, 181404, 190593, 190950, 193195, 227034, 239480, 177857))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 675, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 48);[ Date: 2022-11-21 07:28:26 ]
18 15s642ms with data as ( select distinct shl.id as record, 703, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 48 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173229, 173231, 173241, 173304, 173711, 173726, 174027, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197248, 197261, 199604, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 197240, 173313, 173638, 173724, 174246, 176928, 177545, 178622, 179363, 197276, 207571, 207578, 239345, 239420, 239475, 203327, 173216, 173372, 173394, 181351, 181404, 190593, 190950, 193195, 227034, 239480, 177857) UNION ALL ( select distinct sol.id as record, 703, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 48 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173229, 173231, 173241, 173304, 173711, 173726, 174027, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197248, 197261, 199604, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 197240, 173313, 173638, 173724, 174246, 176928, 177545, 178622, 179363, 197276, 207571, 207578, 239345, 239420, 239475, 203327, 173216, 173372, 173394, 181351, 181404, 190593, 190950, 193195, 227034, 239480, 177857)) UNION ALL ( select distinct rol.id as record, 703, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 48 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173229, 173231, 173241, 173304, 173711, 173726, 174027, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197248, 197261, 199604, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 197240, 173313, 173638, 173724, 174246, 176928, 177545, 178622, 179363, 197276, 207571, 207578, 239345, 239420, 239475, 203327, 173216, 173372, 173394, 181351, 181404, 190593, 190950, 193195, 227034, 239480, 177857)) UNION ALL ( select distinct sm.id as record, 703, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 48 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173229, 173231, 173241, 173304, 173711, 173726, 174027, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197248, 197261, 199604, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 197240, 173313, 173638, 173724, 174246, 176928, 177545, 178622, 179363, 197276, 207571, 207578, 239345, 239420, 239475, 203327, 173216, 173372, 173394, 181351, 181404, 190593, 190950, 193195, 227034, 239480, 177857))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 703, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 48);[ Date: 2022-11-21 08:16:34 ]
19 15s628ms with data as ( select distinct shl.id as record, 689, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 48 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173229, 173231, 173241, 173304, 173711, 173726, 174027, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197248, 197261, 199604, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 197240, 173313, 173638, 173724, 174246, 176928, 177545, 178622, 179363, 197276, 207571, 207578, 239345, 239420, 239475, 203327, 173216, 173372, 173394, 181351, 181404, 190593, 190950, 193195, 227034, 239480, 177857) UNION ALL ( select distinct sol.id as record, 689, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 48 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173229, 173231, 173241, 173304, 173711, 173726, 174027, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197248, 197261, 199604, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 197240, 173313, 173638, 173724, 174246, 176928, 177545, 178622, 179363, 197276, 207571, 207578, 239345, 239420, 239475, 203327, 173216, 173372, 173394, 181351, 181404, 190593, 190950, 193195, 227034, 239480, 177857)) UNION ALL ( select distinct rol.id as record, 689, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 48 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173229, 173231, 173241, 173304, 173711, 173726, 174027, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197248, 197261, 199604, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 197240, 173313, 173638, 173724, 174246, 176928, 177545, 178622, 179363, 197276, 207571, 207578, 239345, 239420, 239475, 203327, 173216, 173372, 173394, 181351, 181404, 190593, 190950, 193195, 227034, 239480, 177857)) UNION ALL ( select distinct sm.id as record, 689, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 48 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (173229, 173231, 173241, 173304, 173711, 173726, 174027, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197248, 197261, 199604, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 197240, 173313, 173638, 173724, 174246, 176928, 177545, 178622, 179363, 197276, 207571, 207578, 239345, 239420, 239475, 203327, 173216, 173372, 173394, 181351, 181404, 190593, 190950, 193195, 227034, 239480, 177857))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 689, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 48);[ Date: 2022-11-21 07:52:00 ]
20 13s276ms with data as ( select distinct shl.id as record, 782, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 48 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-22 03:32:58' and shl.invoice_date <= '2022-11-22 03:32:58' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (2952) and pp.id not in (199604, 173638, 179363, 173313, 173394, 176928, 174246, 173241, 207571, 174027, 193195, 173724, 239480, 239475, 173229, 173231, 173304, 173711, 173726, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197240, 197248, 197261, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 177545, 178622, 197276, 207578, 239345, 239420, 203327, 173216, 173372, 181351, 181404, 190593, 190950, 227034, 177857) UNION ALL ( select distinct sol.id as record, 782, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 48 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-22 03:32:58' and am.invoice_date <= '2022-11-22 03:32:58' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (2952) and pp.id not in (199604, 173638, 179363, 173313, 173394, 176928, 174246, 173241, 207571, 174027, 193195, 173724, 239480, 239475, 173229, 173231, 173304, 173711, 173726, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197240, 197248, 197261, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 177545, 178622, 197276, 207578, 239345, 239420, 203327, 173216, 173372, 181351, 181404, 190593, 190950, 227034, 177857)) UNION ALL ( select distinct rol.id as record, 782, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 48 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-22 03:32:58' and am.invoice_date <= '2022-11-22 03:32:58' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (2952) and pp.id not in (199604, 173638, 179363, 173313, 173394, 176928, 174246, 173241, 207571, 174027, 193195, 173724, 239480, 239475, 173229, 173231, 173304, 173711, 173726, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197240, 197248, 197261, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 177545, 178622, 197276, 207578, 239345, 239420, 203327, 173216, 173372, 181351, 181404, 190593, 190950, 227034, 177857)) UNION ALL ( select distinct sm.id as record, 782, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 48 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-22 03:32:58' and mrp.date_planned_start <= '2022-11-22 03:32:58' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (2952) and pp.id not in (199604, 173638, 179363, 173313, 173394, 176928, 174246, 173241, 207571, 174027, 193195, 173724, 239480, 239475, 173229, 173231, 173304, 173711, 173726, 176920, 176960, 177415, 178720, 178753, 178772, 178829, 179405, 179583, 179983, 179984, 180730, 180855, 181068, 181311, 181323, 181324, 181339, 181348, 181383, 181388, 184515, 184561, 190525, 190636, 193387, 197240, 197248, 197261, 205001, 205010, 206526, 206536, 206620, 239394, 239470, 206696, 177545, 178622, 197276, 207578, 239345, 239420, 203327, 173216, 173372, 181351, 181404, 190593, 190950, 227034, 177857))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 782, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 48);[ Date: 2022-11-21 22:34:17 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 4h9m46s 24,903 170ms 7s70ms 601ms select "item_list_line".id from "item_list_line" where (((("item_list_line"."active" = true) and ("item_list_line"."product_id" = ?)) and (("item_list_line"."method" not in (...)) or "item_list_line"."method" is null)) and ("item_list_line"."item_demand_plan_id" = ?)) order by "item_list_line"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 21 12 6,559 47m26s 434ms 13 7 2s236ms 319ms 14 309 1m26s 280ms 16 120 38s549ms 321ms 17 297 1m48s 364ms 18 598 2m38s 265ms 19 332 1m27s 264ms 20 335 1m36s 287ms 21 5,262 51m32s 587ms 22 10,059 2h16m36s 814ms 23 1,025 4m31s 265ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 213426)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 782)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-11-21 22:36:25 Duration: 7s70ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 214037)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 782)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-11-21 22:44:56 Duration: 6s942ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 185467)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 781)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-11-21 22:38:55 Duration: 6s734ms
2 4h1m26s 44,581 120ms 1s509ms 324ms update "sale_order_line" set "qty_delivered_method" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 21 13 217 29s817ms 137ms 14 9,668 34m19s 212ms 15 6,740 41m17s 367ms 16 7,843 47m34s 364ms 17 14,815 1h21m35s 330ms 18 5,298 36m10s 409ms -
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (992, 23424, 994, 995, 996, 997, 999, 1000, 1001, 1002, 1003, 22073, 22074, 991);
Date: 2022-11-21 15:55:36 Duration: 1s509ms
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (992, 23424, 994, 995, 996, 997, 999, 1000, 1001, 1002, 1003, 22073, 22074, 991);
Date: 2022-11-21 17:50:58 Duration: 1s383ms
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (992, 23424, 994, 995, 996, 997, 999, 1000, 1001, 1002, 1003, 22073, 22074, 991);
Date: 2022-11-21 17:51:18 Duration: 1s360ms
3 1h58m15s 85 121ms 1h58m 1m23s insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 21 12 42 8s311ms 197ms 13 2 354ms 177ms 14 3 395ms 131ms 15 14 2s178ms 155ms 16 3 409ms 136ms 17 3 531ms 177ms 18 4 1h58m1s 29m30s 19 4 514ms 128ms 20 1 199ms 199ms 21 7 1s268ms 181ms 22 2 306ms 153ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-11-21 14:31:24', '2022-11-21 14:31:24', '16.5 X 7 Shoe Core Eaton Esii', 15072, 5, 461, 'core_return_1', '[4709ESII] 16.5 X 7 Shoe Core Eaton Esii', NULL, 'T-01486', 42188, 354, '0', 'make_to_stock', 237210, 1, '10.00', false, 398, 24564, 10, 'draft', 45) RETURNING id;
Date: 2022-11-21 18:25:27 Duration: 1h58m
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-11-21 12:48:19', '2022-11-21 12:48:19', 'Gasket', 14941, 5, 461, 'new_product', '[330-3009] Gasket', NULL, 'T-01466', 36081, 354, '0', 'make_to_stock', 187705, 1, '10.00', false, 398, 24262, 10, 'draft', 45) RETURNING id;
Date: 2022-11-21 12:52:01 Duration: 306ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-11-21 12:26:18', '2022-11-21 12:26:18', 'Rubber Adjuster', 14923, 5, 381, 'new_product', '[0218] Rubber Adjuster', NULL, 'G-00802', 49454, 274, '0', 'make_to_stock', 172690, 1, '12.00', false, 308, 24224, 10, 'draft', 35) RETURNING id;
Date: 2022-11-21 12:27:00 Duration: 301ms
4 58m33s 4,200 506ms 3s486ms 836ms 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 #4
Day Hour Count Duration Avg duration Nov 21 07 5 2s851ms 570ms 08 1 541ms 541ms 09 10 5s346ms 534ms 10 87 48s838ms 561ms 11 17 10s423ms 613ms 12 300 6m54s 1s382ms 13 566 6m38s 703ms 14 741 9m10s 743ms 15 489 7m4s 867ms 16 303 3m57s 784ms 17 416 6m9s 888ms 18 286 3m50s 807ms 19 364 4m13s 696ms 20 371 4m10s 676ms 21 194 3m40s 1s138ms 22 44 1m28s 2s14ms 23 6 5s186ms 864ms -
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 ('%%fs19%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%fs19%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%fs19%'))) 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: 2022-11-21 22:46:20 Duration: 3s486ms
-
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 ('%%170400%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%17-0400%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%17-0400%'))) 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: 2022-11-21 12:51:57 Duration: 3s458ms
-
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 ('%%170%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%17-0%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%17-0%'))) 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: 2022-11-21 12:51:56 Duration: 3s448ms
5 55m48s 23,265 120ms 424ms 143ms select count(so.id) as total_orders from sale_order as so left join sale_order_line as sol on sol.order_id = so.id left join product_warehouse_inventory as pwi on pwi.product_id = sol.product_id left join stock_warehouse as sw on sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= ?::timestamp and so.date_order <= ?::timestamp and sol.product_id = ? and so.state in (...) and so.warehouse_id = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 21 06 1 127ms 127ms 12 1,412 3m7s 132ms 13 14 1s868ms 133ms 14 167 23s307ms 139ms 15 1,125 2m35s 138ms 16 3,226 7m24s 137ms 17 6,165 15m25s 150ms 18 2,933 7m27s 152ms 19 5 659ms 131ms 20 3 394ms 131ms 21 2,224 5m1s 135ms 22 5,990 14m19s 143ms -
select count(so.id) as total_orders from sale_order as so LEFT JOIN sale_order_line as sol ON sol.order_id = so.id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = sol.product_id LEFT JOIN stock_warehouse as sw ON sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= '2022-05-21T16:35:30.615174'::timestamp and so.date_order <= '2022-11-21T16:35:30.615174'::timestamp and sol.product_id = 187506 and so.state in ('done', 'sale') and so.warehouse_id = 35;
Date: 2022-11-21 16:58:39 Duration: 424ms
-
select count(so.id) as total_orders from sale_order as so LEFT JOIN sale_order_line as sol ON sol.order_id = so.id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = sol.product_id LEFT JOIN stock_warehouse as sw ON sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= '2022-05-21T17:47:09.877526'::timestamp and so.date_order <= '2022-11-21T17:47:09.877526'::timestamp and sol.product_id = 177061 and so.state in ('done', 'sale') and so.warehouse_id = 35;
Date: 2022-11-21 17:50:19 Duration: 404ms
-
select count(so.id) as total_orders from sale_order as so LEFT JOIN sale_order_line as sol ON sol.order_id = so.id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = sol.product_id LEFT JOIN stock_warehouse as sw ON sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= '2022-05-21T17:47:09.877526'::timestamp and so.date_order <= '2022-11-21T17:47:09.877526'::timestamp and sol.product_id = 171863 and so.state in ('done', 'sale') and so.warehouse_id = 35;
Date: 2022-11-21 17:52:04 Duration: 392ms
6 52m51s 33 3s603ms 12m38s 1m36s with data as ( select distinct shl.id as record, ?, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone ?, true from sale_history_line as shl left join stock_warehouse as st on st.branch_id = shl.selling_branch left join product_product as pp on pp.id = shl.product_id left join product_template as pt on pt.id = pp.product_tmpl_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id where shl.selling_branch = ? and shl.sales_obtain != ? and shl.product_id is not null and shl.exception_sale is not true and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and shl.invoice_date >= ? and shl.invoice_date <= ? and pt.inventory_vendor_id not in (...) and pp.id not in (...) union all ( select distinct sol.id as record, ?, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone ?, true from sale_order_line sol left join product_product as pp on sol.product_id = pp.id left join product_template as pt on pp.product_tmpl_id = pt.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id left join sale_order as so on sol.order_id = so.id left join sale_order_line_invoice_rel as solrel on solrel.order_line_id = sol.id left join account_move_line as aml on aml.id = solrel.invoice_line_id left join account_move as am on am.id = aml.move_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id where sol.branch_id = ? and sol.product_id is not null and sol.exception_sale is not true and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and am.invoice_date >= ? and am.invoice_date <= ? and so.state in (...) and pt.inventory_vendor_id not in (...) and pp.id not in (...)) union all ( select distinct rol.id as record, ?, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone ?, true from repair_order ro left join repair_line as rol on ro.id = rol.repair_id left join account_move_line as aml on aml.id = rol.invoice_line_id left join account_move as am on am.id = aml.move_id left join product_product as pp on rol.product_id = pp.id left join product_template as pt on pp.product_tmpl_id = pt.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id where ro.state = ? and ro.branch_id = ? and rol.product_id is not null and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and am.invoice_date >= ? and am.invoice_date <= ? and pt.inventory_vendor_id not in (...) and pp.id not in (...)) union all ( select distinct sm.id as record, ?, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone ?, true from mrp_production mrp left join stock_move as sm on sm.raw_material_production_id = mrp.id left join product_product as pp on sm.product_id = pp.id left join product_template as pt on pp.product_tmpl_id = pt.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id where mrp.state = ? and mrp.branch_id = ? and sm.product_id is not null and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and mrp.date_planned_start >= ? and mrp.date_planned_start <= ? and pt.inventory_vendor_id not in (...) and pp.id not in (...))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select ?, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone ?, true from data left join branch_product_method as brpm on brpm.product_id = data.product_id and brpm.branch_id = ?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 21 07 22 39m48s 1m48s 08 10 12m53s 1m17s 09 1 9s422ms 9s422ms -
with data as ( select distinct shl.id as record, 669, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 05:00:00' and shl.invoice_date <= '2022-11-21 05:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 669, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 05:00:00' and am.invoice_date <= '2022-11-21 05:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 669, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 05:00:00' and am.invoice_date <= '2022-11-21 05:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 669, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 05:00:00' and mrp.date_planned_start <= '2022-11-21 05:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 669, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);
Date: 2022-11-21 07:33:55 Duration: 12m38s
-
with data as ( select distinct shl.id as record, 669, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 669, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 669, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 669, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 669, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);
Date: 2022-11-21 07:25:41 Duration: 12m18s
-
with data as ( select distinct shl.id as record, 697, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 697, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 697, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 697, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 697, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);
Date: 2022-11-21 08:13:24 Duration: 11m12s
7 47m51s 65 1s547ms 17m29s 44s179ms with data as ( select distinct shl.id as record, ?, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone ?, true from sale_history_line as shl left join stock_warehouse as st on st.branch_id = shl.selling_branch left join product_product as pp on pp.id = shl.product_id left join product_template as pt on pt.id = pp.product_tmpl_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id where shl.selling_branch = ? and shl.sales_obtain != ? and shl.product_id is not null and shl.exception_sale is not true and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and shl.invoice_date >= ? and shl.invoice_date <= ? and pt.inventory_vendor_id not in (...) and pt.inventory_vendor_id in (...) and pp.id not in (...) union all ( select distinct sol.id as record, ?, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone ?, true from sale_order_line sol left join product_product as pp on sol.product_id = pp.id left join product_template as pt on pp.product_tmpl_id = pt.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id left join sale_order as so on sol.order_id = so.id left join sale_order_line_invoice_rel as solrel on solrel.order_line_id = sol.id left join account_move_line as aml on aml.id = solrel.invoice_line_id left join account_move as am on am.id = aml.move_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id where sol.branch_id = ? and sol.product_id is not null and sol.exception_sale is not true and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and am.invoice_date >= ? and am.invoice_date <= ? and so.state in (...) and pt.inventory_vendor_id not in (...) and pt.inventory_vendor_id in (...) and pp.id not in (...)) union all ( select distinct rol.id as record, ?, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone ?, true from repair_order ro left join repair_line as rol on ro.id = rol.repair_id left join account_move_line as aml on aml.id = rol.invoice_line_id left join account_move as am on am.id = aml.move_id left join product_product as pp on rol.product_id = pp.id left join product_template as pt on pp.product_tmpl_id = pt.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id where ro.state = ? and ro.branch_id = ? and rol.product_id is not null and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and am.invoice_date >= ? and am.invoice_date <= ? and pt.inventory_vendor_id not in (...) and pt.inventory_vendor_id in (...) and pp.id not in (...)) union all ( select distinct sm.id as record, ?, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone ?, true from mrp_production mrp left join stock_move as sm on sm.raw_material_production_id = mrp.id left join product_product as pp on sm.product_id = pp.id left join product_template as pt on pp.product_tmpl_id = pt.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id where mrp.state = ? and mrp.branch_id = ? and sm.product_id is not null and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and mrp.date_planned_start >= ? and mrp.date_planned_start <= ? and pt.inventory_vendor_id not in (...) and pt.inventory_vendor_id in (...) and pp.id not in (...))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select ?, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone ?, true from data left join branch_product_method as brpm on brpm.product_id = data.product_id and brpm.branch_id = ?);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 21 12 19 18m26s 58s236ms 13 2 26m43s 13m21s 14 3 5s467ms 1s822ms 16 1 1s903ms 1s903ms 17 3 6s73ms 2s24ms 18 2 4s287ms 2s143ms 19 1 2s596ms 2s596ms 20 1 2s140ms 2s140ms 21 12 39s437ms 3s286ms 22 21 1m39s 4s747ms -
with data as ( select distinct shl.id as record, 731, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 17:35:14' and shl.invoice_date <= '2022-11-21 17:35:14' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 731, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:35:14' and am.invoice_date <= '2022-11-21 17:35:14' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 731, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:35:14' and am.invoice_date <= '2022-11-21 17:35:14' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 731, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 17:35:14' and mrp.date_planned_start <= '2022-11-21 17:35:14' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 731, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);
Date: 2022-11-21 12:53:08 Duration: 17m29s
-
with data as ( select distinct shl.id as record, 732, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 17:45:02' and shl.invoice_date <= '2022-11-21 17:45:02' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 732, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:45:02' and am.invoice_date <= '2022-11-21 17:45:02' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 732, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:45:02' and am.invoice_date <= '2022-11-21 17:45:02' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 732, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 17:45:02' and mrp.date_planned_start <= '2022-11-21 17:45:02' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 732, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);
Date: 2022-11-21 13:01:04 Duration: 15m37s
-
with data as ( select distinct shl.id as record, 740, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 17:59:04' and shl.invoice_date <= '2022-11-21 17:59:04' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 740, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:59:04' and am.invoice_date <= '2022-11-21 17:59:04' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 740, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:59:04' and am.invoice_date <= '2022-11-21 17:59:04' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 740, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 17:59:04' and mrp.date_planned_start <= '2022-11-21 17:59:04' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 740, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);
Date: 2022-11-21 13:10:34 Duration: 11m6s
8 46m45s 9,698 120ms 2s520ms 289ms select date_part(?, invoice_date) as year, date_part(?, invoice_date) as month, date_part(?, invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = ? and item_demand_plan_id = ? group by product_id, date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date) order by date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 21 07 16 2s211ms 138ms 08 15 3s408ms 227ms 09 763 1m57s 154ms 10 1,192 3m5s 155ms 11 1,199 3m5s 155ms 12 2,260 9m57s 264ms 13 330 59s168ms 179ms 14 97 16s543ms 170ms 16 35 6s658ms 190ms 17 87 20s169ms 231ms 18 184 27s609ms 150ms 19 73 11s223ms 153ms 20 64 11s259ms 175ms 21 1,087 6m51s 378ms 22 2,135 18m43s 526ms 23 161 25s598ms 158ms -
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 189530 and item_demand_plan_id = 774 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-11-21 22:41:42 Duration: 2s520ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 213426 and item_demand_plan_id = 782 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-11-21 22:36:28 Duration: 2s488ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 186073 and item_demand_plan_id = 776 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-11-21 22:42:36 Duration: 2s456ms
9 29m37s 4,564 296ms 2s185ms 389ms update item_list_line set method = ?, min_product_len_1 = ?, min_product_len_2 = ?, min_baseline_size = ?, seasonal_period = ? where product_id = ? and item_demand_plan_id = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 21 09 763 4m1s 316ms 10 1,193 6m20s 319ms 11 1,200 6m23s 319ms 12 1,077 10m41s 595ms 13 331 2m10s 394ms -
update item_list_line set method = 4, min_product_len_1 = 7, min_product_len_2 = 16, min_baseline_size = 12, seasonal_period = 0 where product_id = 240014 and item_demand_plan_id = 675;
Date: 2022-11-21 12:51:56 Duration: 2s185ms
-
update item_list_line set method = 8, min_product_len_1 = 7, min_product_len_2 = 16, min_baseline_size = 12, seasonal_period = 0 where product_id = 211453 and item_demand_plan_id = 675;
Date: 2022-11-21 12:50:12 Duration: 1s958ms
-
update item_list_line set method = 2, min_product_len_1 = 7, min_product_len_2 = 16, min_baseline_size = 12, seasonal_period = 0 where product_id = 213599 and item_demand_plan_id = 675;
Date: 2022-11-21 12:50:35 Duration: 1s762ms
10 14m6s 2,129 226ms 1s973ms 397ms update item_list_line set product_id = ?, supercede_product_id = ?, superceded = true where product_id = ? and item_demand_plan_id = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 21 07 1,347 7m41s 342ms 08 637 4m52s 458ms 12 25 14s334ms 573ms 13 2 808ms 404ms 18 9 3s247ms 360ms 19 6 2s191ms 365ms 20 4 1s467ms 366ms 21 50 29s349ms 586ms 22 49 41s754ms 852ms -
update item_list_line set product_id = 218079, supercede_product_id = 218027, superceded = True where product_id = 218027 and item_demand_plan_id = 782;
Date: 2022-11-21 22:34:21 Duration: 1s973ms
-
update item_list_line set product_id = 205533, supercede_product_id = 241354, superceded = True where product_id = 241354 and item_demand_plan_id = 781;
Date: 2022-11-21 22:31:53 Duration: 1s834ms
-
update item_list_line set product_id = 205531, supercede_product_id = 241305, superceded = True where product_id = 241305 and item_demand_plan_id = 781;
Date: 2022-11-21 22:31:42 Duration: 1s781ms
11 12m22s 941 518ms 2s695ms 789ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 21 12 14 14s959ms 1s68ms 13 243 2m48s 691ms 14 78 57s253ms 734ms 15 118 1m32s 786ms 16 171 2m19s 813ms 17 176 2m44s 936ms 18 48 40s358ms 840ms 19 71 50s115ms 705ms 20 16 11s656ms 728ms 21 3 1s722ms 574ms 23 3 1s675ms 558ms -
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 ('%%133012%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%13-3012%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%13-3012%'))) 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: 2022-11-21 12:34:00 Duration: 2s695ms
-
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 ('%%550221%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%550221%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%550221%'))) 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: 2022-11-21 12:20:43 Duration: 2s354ms
-
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 ('%%n228%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%n2-28%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%n2-28%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-11-21 17:51:18 Duration: 2s64ms
12 12m8s 848 636ms 3s316ms 858ms 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 #12
Day Hour Count Duration Avg duration Nov 21 01 1 663ms 663ms 07 1 660ms 660ms 11 1 702ms 702ms 12 19 25s164ms 1s324ms 13 111 1m29s 805ms 14 100 1m24s 840ms 15 105 1m38s 940ms 16 75 1m10s 933ms 17 44 41s733ms 948ms 18 109 1m31s 839ms 19 98 1m15s 774ms 20 135 1m42s 760ms 21 40 35s556ms 888ms 22 2 6s544ms 3s272ms 23 7 4s926ms 703ms -
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 ('%1560%')) 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 ('%1560%'))) 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 ('%1560%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%1560%')))))) 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: 2022-11-21 21:43:33 Duration: 3s316ms
-
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 ('%lfp3236%')) 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 ('%lfp3236%'))) 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 ('%lfp3236%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%lfp3236%')))))) 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: 2022-11-21 22:39:22 Duration: 3s292ms
-
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 ('%lf17502%')) 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 ('%lf17502%'))) 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 ('%lf17502%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%lf17502%')))))) 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: 2022-11-21 22:42:06 Duration: 3s251ms
13 10m10s 2,621 159ms 698ms 232ms select res_partner.id from "res_partner" where ("res_partner"."active" = true) and (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 21 11 1 225ms 225ms 12 18 6s348ms 352ms 13 169 34s258ms 202ms 14 129 29s120ms 225ms 15 149 35s151ms 235ms 16 228 51s349ms 225ms 17 992 4m14s 256ms 18 471 1m42s 218ms 19 263 53s183ms 202ms 20 80 15s965ms 199ms 21 95 22s181ms 233ms 22 26 5s574ms 214ms -
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%I568481%') OR unaccent (res_partner.display_name) ilike unaccent ('%I568481%') OR unaccent (res_partner.ref) ilike unaccent ('%I568481%') OR unaccent (res_partner.vat) ilike unaccent ('I568481')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%I568481%') desc, unaccent (res_partner.display_name);
Date: 2022-11-21 12:20:47 Duration: 698ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%17004%') OR unaccent (res_partner.display_name) ilike unaccent ('%17004%') OR unaccent (res_partner.ref) ilike unaccent ('%17004%') OR unaccent (res_partner.vat) ilike unaccent ('17004')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%17004%') desc, unaccent (res_partner.display_name);
Date: 2022-11-21 17:51:55 Duration: 663ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%12774%') OR unaccent (res_partner.display_name) ilike unaccent ('%12774%') OR unaccent (res_partner.ref) ilike unaccent ('%12774%') OR unaccent (res_partner.vat) ilike unaccent ('12774')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%12774%') desc, unaccent (res_partner.display_name);
Date: 2022-11-21 17:51:17 Duration: 650ms
14 9m38s 303 807ms 5s66ms 1s908ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 21 12 102 4m59s 2s937ms 13 45 50s992ms 1s133ms 14 15 15s903ms 1s60ms 15 33 46s982ms 1s423ms 16 30 35s648ms 1s188ms 17 3 4s676ms 1s558ms 18 6 7s467ms 1s244ms 19 30 32s350ms 1s78ms 20 21 21s719ms 1s34ms 21 18 1m2s 3s494ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%1011E%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1011E%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%1011E%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%1011E%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%1011E%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%1011E%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2022-11-21 12:50:39 Duration: 5s66ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%10111-200%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%10111-200%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%10111-200%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%10111-200%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2022-11-21 12:51:59 Duration: 4s779ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%10111-200%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%10111-200%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%10111-200%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%10111-200%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2022-11-21 12:50:37 Duration: 4s597ms
15 8m42s 675 520ms 1s466ms 774ms 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"."is_core" is null or "product_product__product_tmpl_id"."is_core" = false)) and ("product_product__product_tmpl_id"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 21 13 34 21s408ms 629ms 14 55 42s184ms 766ms 15 49 43s637ms 890ms 16 170 2m22s 836ms 17 78 1m6s 854ms 18 128 1m38s 765ms 19 89 1m1s 693ms 20 33 21s840ms 661ms 21 39 25s416ms 651ms -
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 ('%%sfpa1%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%sfpa-1%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%sfpa-1%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-11-21 16:32:21 Duration: 1s466ms
-
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 ('%%s29%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%s-29%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%s-29%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-11-21 15:02:42 Duration: 1s437ms
-
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 ('%%sfpa%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%sfpa-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%sfpa-%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-11-21 16:32:21 Duration: 1s411ms
16 7m46s 879 120ms 3s652ms 530ms select count(id) as total_count from item_list_line where item_demand_plan_id = ? and active = true;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 21 04 14 1s740ms 124ms 07 47 8s142ms 173ms 08 36 10s185ms 282ms 09 41 7s217ms 176ms 10 14 2s576ms 184ms 11 15 2s906ms 193ms 12 188 1m17s 413ms 13 21 4s552ms 216ms 14 27 6s879ms 254ms 15 8 2s180ms 272ms 16 20 5s322ms 266ms 17 23 6s797ms 295ms 18 22 5s619ms 255ms 19 29 6s794ms 234ms 20 28 7s716ms 275ms 21 109 1m 556ms 22 237 4m9s 1s53ms -
select count(id) as total_count from item_list_line where item_demand_plan_id = 780 and active = True;
Date: 2022-11-21 22:35:22 Duration: 3s652ms
-
select count(id) as total_count from item_list_line where item_demand_plan_id = 780 and active = True;
Date: 2022-11-21 22:36:30 Duration: 3s320ms
-
select count(id) as total_count from item_list_line where item_demand_plan_id = 782 and active = True;
Date: 2022-11-21 22:36:16 Duration: 3s307ms
17 7m3s 236 649ms 5s642ms 1s796ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 21 12 65 3m18s 3s46ms 13 22 28s99ms 1s277ms 14 9 9s570ms 1s63ms 15 33 44s343ms 1s343ms 16 29 35s143ms 1s211ms 17 4 6s846ms 1s711ms 18 5 6s836ms 1s367ms 19 45 55s130ms 1s225ms 20 17 17s647ms 1s38ms 21 7 22s237ms 3s176ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%10111-200%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%10111-200%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%10111-200%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%10111-200%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2022-11-21 12:51:58 Duration: 5s642ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%10111-2%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10111-2%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%10111-2%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%10111-2%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%10111-2%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%10111-2%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2022-11-21 12:51:57 Duration: 5s215ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%10111-200%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%10111-200%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%10111-200%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%10111-200%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2022-11-21 12:52:23 Duration: 5s172ms
18 6m42s 879 130ms 3s997ms 458ms select distinct ill.product_id from item_list_line as ill left join res_forecast_method as fm on fm.id = ill.method where ill.item_demand_plan_id = ? and ill.method not in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 21 04 14 1s878ms 134ms 07 47 9s340ms 198ms 08 36 11s231ms 311ms 09 41 8s325ms 203ms 10 14 2s851ms 203ms 11 15 3s337ms 222ms 12 188 1m14s 395ms 13 21 5s142ms 244ms 14 27 7s364ms 272ms 15 8 2s496ms 312ms 16 20 5s857ms 292ms 17 23 6s665ms 289ms 18 22 5s890ms 267ms 19 29 7s82ms 244ms 20 28 7s673ms 274ms 21 109 53s887ms 494ms 22 237 3m9s 799ms -
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 782 and ill.method not in (8, 7);
Date: 2022-11-21 22:35:23 Duration: 3s997ms
-
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 780 and ill.method not in (8, 7);
Date: 2022-11-21 22:38:37 Duration: 3s673ms
-
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 780 and ill.method not in (8, 7);
Date: 2022-11-21 22:34:20 Duration: 3s657ms
19 6m22s 915 302ms 3s404ms 418ms select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."so_line_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 21 10 13 4s572ms 351ms 12 76 52s798ms 694ms 13 146 54s155ms 370ms 14 159 59s224ms 372ms 15 125 51s123ms 408ms 16 75 29s847ms 397ms 17 65 26s454ms 406ms 18 49 19s450ms 396ms 19 76 29s139ms 383ms 20 62 21s724ms 350ms 21 55 28s805ms 523ms 22 11 4s157ms 377ms 23 3 1s301ms 433ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (25224)) ORDER BY "sale_history_line"."id";
Date: 2022-11-21 21:47:59 Duration: 3s404ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (25225)) ORDER BY "sale_history_line"."id";
Date: 2022-11-21 21:48:02 Duration: 3s12ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (24227)) ORDER BY "sale_history_line"."id";
Date: 2022-11-21 12:29:34 Duration: 2s757ms
20 6m15s 211 690ms 5s169ms 1s780ms select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 21 12 60 2m48s 2s813ms 13 22 31s675ms 1s439ms 14 8 8s464ms 1s58ms 15 30 44s116ms 1s470ms 16 24 30s604ms 1s275ms 17 3 4s590ms 1s530ms 18 5 7s348ms 1s469ms 19 40 47s504ms 1s187ms 20 15 16s570ms 1s104ms 21 4 15s944ms 3s986ms -
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%10111%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10111%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%10111%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%10111%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%10111%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%10111%'))));
Date: 2022-11-21 12:51:57 Duration: 5s169ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%412%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%412%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%412%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%412%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%412%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%412%'))));
Date: 2022-11-21 21:44:13 Duration: 4s674ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%1011%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1011%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%1011%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%1011%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%1011%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%1011%'))));
Date: 2022-11-21 12:50:40 Duration: 4s548ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 44,581 4h1m26s 120ms 1s509ms 324ms update "sale_order_line" set "qty_delivered_method" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 21 13 217 29s817ms 137ms 14 9,668 34m19s 212ms 15 6,740 41m17s 367ms 16 7,843 47m34s 364ms 17 14,815 1h21m35s 330ms 18 5,298 36m10s 409ms -
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (992, 23424, 994, 995, 996, 997, 999, 1000, 1001, 1002, 1003, 22073, 22074, 991);
Date: 2022-11-21 15:55:36 Duration: 1s509ms
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (992, 23424, 994, 995, 996, 997, 999, 1000, 1001, 1002, 1003, 22073, 22074, 991);
Date: 2022-11-21 17:50:58 Duration: 1s383ms
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (992, 23424, 994, 995, 996, 997, 999, 1000, 1001, 1002, 1003, 22073, 22074, 991);
Date: 2022-11-21 17:51:18 Duration: 1s360ms
2 24,903 4h9m46s 170ms 7s70ms 601ms select "item_list_line".id from "item_list_line" where (((("item_list_line"."active" = true) and ("item_list_line"."product_id" = ?)) and (("item_list_line"."method" not in (...)) or "item_list_line"."method" is null)) and ("item_list_line"."item_demand_plan_id" = ?)) order by "item_list_line"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 21 12 6,559 47m26s 434ms 13 7 2s236ms 319ms 14 309 1m26s 280ms 16 120 38s549ms 321ms 17 297 1m48s 364ms 18 598 2m38s 265ms 19 332 1m27s 264ms 20 335 1m36s 287ms 21 5,262 51m32s 587ms 22 10,059 2h16m36s 814ms 23 1,025 4m31s 265ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 213426)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 782)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-11-21 22:36:25 Duration: 7s70ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 214037)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 782)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-11-21 22:44:56 Duration: 6s942ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 185467)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 781)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-11-21 22:38:55 Duration: 6s734ms
3 23,265 55m48s 120ms 424ms 143ms select count(so.id) as total_orders from sale_order as so left join sale_order_line as sol on sol.order_id = so.id left join product_warehouse_inventory as pwi on pwi.product_id = sol.product_id left join stock_warehouse as sw on sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= ?::timestamp and so.date_order <= ?::timestamp and sol.product_id = ? and so.state in (...) and so.warehouse_id = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 21 06 1 127ms 127ms 12 1,412 3m7s 132ms 13 14 1s868ms 133ms 14 167 23s307ms 139ms 15 1,125 2m35s 138ms 16 3,226 7m24s 137ms 17 6,165 15m25s 150ms 18 2,933 7m27s 152ms 19 5 659ms 131ms 20 3 394ms 131ms 21 2,224 5m1s 135ms 22 5,990 14m19s 143ms -
select count(so.id) as total_orders from sale_order as so LEFT JOIN sale_order_line as sol ON sol.order_id = so.id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = sol.product_id LEFT JOIN stock_warehouse as sw ON sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= '2022-05-21T16:35:30.615174'::timestamp and so.date_order <= '2022-11-21T16:35:30.615174'::timestamp and sol.product_id = 187506 and so.state in ('done', 'sale') and so.warehouse_id = 35;
Date: 2022-11-21 16:58:39 Duration: 424ms
-
select count(so.id) as total_orders from sale_order as so LEFT JOIN sale_order_line as sol ON sol.order_id = so.id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = sol.product_id LEFT JOIN stock_warehouse as sw ON sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= '2022-05-21T17:47:09.877526'::timestamp and so.date_order <= '2022-11-21T17:47:09.877526'::timestamp and sol.product_id = 177061 and so.state in ('done', 'sale') and so.warehouse_id = 35;
Date: 2022-11-21 17:50:19 Duration: 404ms
-
select count(so.id) as total_orders from sale_order as so LEFT JOIN sale_order_line as sol ON sol.order_id = so.id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = sol.product_id LEFT JOIN stock_warehouse as sw ON sw.id = so.warehouse_id and sw.id = pwi.warehouse_id where so.date_order >= '2022-05-21T17:47:09.877526'::timestamp and so.date_order <= '2022-11-21T17:47:09.877526'::timestamp and sol.product_id = 171863 and so.state in ('done', 'sale') and so.warehouse_id = 35;
Date: 2022-11-21 17:52:04 Duration: 392ms
4 9,698 46m45s 120ms 2s520ms 289ms select date_part(?, invoice_date) as year, date_part(?, invoice_date) as month, date_part(?, invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = ? and item_demand_plan_id = ? group by product_id, date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date) order by date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 21 07 16 2s211ms 138ms 08 15 3s408ms 227ms 09 763 1m57s 154ms 10 1,192 3m5s 155ms 11 1,199 3m5s 155ms 12 2,260 9m57s 264ms 13 330 59s168ms 179ms 14 97 16s543ms 170ms 16 35 6s658ms 190ms 17 87 20s169ms 231ms 18 184 27s609ms 150ms 19 73 11s223ms 153ms 20 64 11s259ms 175ms 21 1,087 6m51s 378ms 22 2,135 18m43s 526ms 23 161 25s598ms 158ms -
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 189530 and item_demand_plan_id = 774 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-11-21 22:41:42 Duration: 2s520ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 213426 and item_demand_plan_id = 782 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-11-21 22:36:28 Duration: 2s488ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 186073 and item_demand_plan_id = 776 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-11-21 22:42:36 Duration: 2s456ms
5 4,564 29m37s 296ms 2s185ms 389ms update item_list_line set method = ?, min_product_len_1 = ?, min_product_len_2 = ?, min_baseline_size = ?, seasonal_period = ? where product_id = ? and item_demand_plan_id = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 21 09 763 4m1s 316ms 10 1,193 6m20s 319ms 11 1,200 6m23s 319ms 12 1,077 10m41s 595ms 13 331 2m10s 394ms -
update item_list_line set method = 4, min_product_len_1 = 7, min_product_len_2 = 16, min_baseline_size = 12, seasonal_period = 0 where product_id = 240014 and item_demand_plan_id = 675;
Date: 2022-11-21 12:51:56 Duration: 2s185ms
-
update item_list_line set method = 8, min_product_len_1 = 7, min_product_len_2 = 16, min_baseline_size = 12, seasonal_period = 0 where product_id = 211453 and item_demand_plan_id = 675;
Date: 2022-11-21 12:50:12 Duration: 1s958ms
-
update item_list_line set method = 2, min_product_len_1 = 7, min_product_len_2 = 16, min_baseline_size = 12, seasonal_period = 0 where product_id = 213599 and item_demand_plan_id = 675;
Date: 2022-11-21 12:50:35 Duration: 1s762ms
6 4,200 58m33s 506ms 3s486ms 836ms 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 Nov 21 07 5 2s851ms 570ms 08 1 541ms 541ms 09 10 5s346ms 534ms 10 87 48s838ms 561ms 11 17 10s423ms 613ms 12 300 6m54s 1s382ms 13 566 6m38s 703ms 14 741 9m10s 743ms 15 489 7m4s 867ms 16 303 3m57s 784ms 17 416 6m9s 888ms 18 286 3m50s 807ms 19 364 4m13s 696ms 20 371 4m10s 676ms 21 194 3m40s 1s138ms 22 44 1m28s 2s14ms 23 6 5s186ms 864ms -
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 ('%%fs19%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%fs19%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%fs19%'))) 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: 2022-11-21 22:46:20 Duration: 3s486ms
-
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 ('%%170400%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%17-0400%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%17-0400%'))) 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: 2022-11-21 12:51:57 Duration: 3s458ms
-
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 ('%%170%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%17-0%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%17-0%'))) 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: 2022-11-21 12:51:56 Duration: 3s448ms
7 2,621 10m10s 159ms 698ms 232ms select res_partner.id from "res_partner" where ("res_partner"."active" = true) and (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 21 11 1 225ms 225ms 12 18 6s348ms 352ms 13 169 34s258ms 202ms 14 129 29s120ms 225ms 15 149 35s151ms 235ms 16 228 51s349ms 225ms 17 992 4m14s 256ms 18 471 1m42s 218ms 19 263 53s183ms 202ms 20 80 15s965ms 199ms 21 95 22s181ms 233ms 22 26 5s574ms 214ms -
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%I568481%') OR unaccent (res_partner.display_name) ilike unaccent ('%I568481%') OR unaccent (res_partner.ref) ilike unaccent ('%I568481%') OR unaccent (res_partner.vat) ilike unaccent ('I568481')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%I568481%') desc, unaccent (res_partner.display_name);
Date: 2022-11-21 12:20:47 Duration: 698ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%17004%') OR unaccent (res_partner.display_name) ilike unaccent ('%17004%') OR unaccent (res_partner.ref) ilike unaccent ('%17004%') OR unaccent (res_partner.vat) ilike unaccent ('17004')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%17004%') desc, unaccent (res_partner.display_name);
Date: 2022-11-21 17:51:55 Duration: 663ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%12774%') OR unaccent (res_partner.display_name) ilike unaccent ('%12774%') OR unaccent (res_partner.ref) ilike unaccent ('%12774%') OR unaccent (res_partner.vat) ilike unaccent ('12774')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%12774%') desc, unaccent (res_partner.display_name);
Date: 2022-11-21 17:51:17 Duration: 650ms
8 2,129 14m6s 226ms 1s973ms 397ms update item_list_line set product_id = ?, supercede_product_id = ?, superceded = true where product_id = ? and item_demand_plan_id = ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 21 07 1,347 7m41s 342ms 08 637 4m52s 458ms 12 25 14s334ms 573ms 13 2 808ms 404ms 18 9 3s247ms 360ms 19 6 2s191ms 365ms 20 4 1s467ms 366ms 21 50 29s349ms 586ms 22 49 41s754ms 852ms -
update item_list_line set product_id = 218079, supercede_product_id = 218027, superceded = True where product_id = 218027 and item_demand_plan_id = 782;
Date: 2022-11-21 22:34:21 Duration: 1s973ms
-
update item_list_line set product_id = 205533, supercede_product_id = 241354, superceded = True where product_id = 241354 and item_demand_plan_id = 781;
Date: 2022-11-21 22:31:53 Duration: 1s834ms
-
update item_list_line set product_id = 205531, supercede_product_id = 241305, superceded = True where product_id = 241305 and item_demand_plan_id = 781;
Date: 2022-11-21 22:31:42 Duration: 1s781ms
9 1,331 3m25s 120ms 535ms 154ms select res_partner.id from "res_partner" where ((((("res_partner"."active" = true) and ("res_partner"."company_id" is null or ("res_partner"."company_id" = ?))) and ("res_partner"."customer_rank" > ?)) and (("res_partner"."type" != ?) or "res_partner"."type" is null)) and ("res_partner"."id" in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?[...];Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 21 10 15 2s71ms 138ms 11 1 135ms 135ms 12 89 20s680ms 232ms 13 147 20s967ms 142ms 14 194 28s452ms 146ms 15 219 32s829ms 149ms 16 139 19s422ms 139ms 17 183 26s998ms 147ms 18 79 12s7ms 151ms 19 146 22s72ms 151ms 20 72 10s732ms 149ms 21 39 7s643ms 195ms 22 2 460ms 230ms 23 6 890ms 148ms -
SELECT res_partner.id FROM "res_partner" WHERE ((((("res_partner"."active" = true) AND ("res_partner"."company_id" IS NULL OR ("res_partner"."company_id" = 1))) AND ("res_partner"."customer_rank" > 0)) AND (("res_partner"."type" != 'contact') OR "res_partner"."type" IS NULL)) AND ("res_partner"."id" in (48452,50174,31519,34182,34184,31571,31620,19489,31702,31910,31517,33143,50033,19504,31913,33159,50283,32067,32162,48157,32169,32194,50175,32204,48494,32231,32313,16,19562,19559,19560,32376,40606,19561,32398,32418,50035,19563,32426,32430,19488,19564,32432,32434,19576,30498,30497,50036,32436,38558,32440,32443,19575,40607,40608,32445,32449,30499,32451,34146,33157,18633,33158,34144,32479,30501,50176,19494,30500,19584,19588,30503,32497,32514,19514,32519,18632,32516,32524,32530,33179,34526,30502,50017,32533,43689,18612,33147,43690,32536,43691,32542,50177,43692,32564,30505,34183,43711,43710,43712,30506,34961,34962,30508,34880,30507,34881,34882,32570,50178,32576,32604,18610,50179,43713,30511,30510,44059,44060,19487,33145,30513,33144,44058,30509,33146,34965,34966,34964,48885,18613,30514,2167,18614,30515,5,18617,34968,50180,50319,37505,30516,33168,48052,34969,33170,33173,7,30,30518,34972,33185,33176,30519,19502,2176,34973,30521,50321,19570,33198,33039,30522,30523,30525,30524,33202,34976,34977,19503,19505,32415,3,34982,34983,46216,30528,30529,34989,34990,34991,35414,34994,33041,30526,30532,34995,34998,34999,30534,35001,35017,35035,35069,34993,30533,30531,50322,30536,33385,35143,35146,35400,31516,30535,35474,35473,35399,33218,30542,30538,30539,30541,33221,33204,30544,30540,36625,30537,33215,35504,35505,30548,30545,30547,33206,33207,44272,35520,33210,35503,33400,33211,30549,46549,30551,35415,35697,30552,30550,35769,35656,35924,30553,30554,30555,30556,30557,33166,35925,35982,35983,33165,33167,35417,30560,42607,43265,36031,33882,30559,36051,43266,31178,43267,36052,36054,43268,36053,32741,32744,36057,42994,30561,33193,33148,36058,30563,30564,36121,41737,36544,32742,32743,33620,30566,30567,30568,33631,33156,33174,30569,33175,33177,33217,33178,36125,36126,30572,36145,36188,36189,33180,36199,30571,33181,33183,33199,33184,30574,33187,30575,33196,50323,30577,50181,30573,30576,30578,48142,36225,36226,36227,36228,33732,30579,36224,36198,41431,45311,30580,48076,33748,30582,30583,30584,46430,50189,30586,30585,30587,50324,30589,30590,36440,36395,30588,36396,50190,33809,33246,30592,36441,36461,50325,36462,36463,36464,30591,30594,50326,2174,36466,36467,30597,36473,36517,36623,36624,36638,36465,30596,50191,36576,30598,36639,33271,33894,36699,36700,30601,36698,30599,19515,30600,36722,36723,30603,30604,30602,30605,30606,50186,19516,36775,36776,30607,30610,49398,36774,36880,36858,36859,36860,50192,19517,33070,30611,36911,36912,30612,30613,36932,30614,36933,47395,36951,36950,50193,19518,36931,49399,49400,36966,30616,30617,30615,36989,37086,37087,36965,37085,50187,49258,42019,30620,30619,37088,36991,34056,30622,30623,33312,30621,33302,46198,30624,37178,30625,37181,37212,30628,37235,37236,36851,48283,50194,36853,30627,30630,30629,30633,37426,37427,40894,19521,32801,30631,37437,37273,37425,37438,30635,30634,37479,37480,50195,19522,30636,37478,37436,30639,37504,30640,50327,30641,30638,37496,37497,37500,37495,30642,30643,30644,37507,37508,37509,37511,37512,32875,50197,37529,37528,34181,30649,33269,30646,30647,30648,33272,30651,36513,30645,30650,30652,34215,50328,37541,37542,37585,30656,37586,37531,37584,30654,50198,30653,37618,37619,37636,30658,30659,30660,30661,37637,37617,37621,36497,47487,50329,41494,36498,50330,36499,30663,37707,30665,30664,50199,30662,42244,37752,37753,30667,36446,37869,34304,36447,36448,30670,30669,36450,37755,37845,50200,30666,30668,30672,50332,36451,37985,33377,30674,50201,41091,37984,30671,30673,30675,38312,30678,30680,30679,38313,38314,38364,38279,38280,38281,47335,38349,38396,30684,30682,30683,37074,38398,38399,31493,37075,43875,38365,38366,50203,30685,38416,30677,43876,30688,43877,30689,38586,38587,30691,30690,38678,30687,50204,19524,38665,38689,38690,30695,31819,32414,30692,30694,38806,38807,30696,30698,39160,39202,30697,49320,39449,30701,30700,39313,30699,50206,19525,48781,39482,39483,39523,30704,33254,33255,39450,33252,30702,30703,30705,30706,30707,32465,39537,39538,30708,30709,50205,39569,39570,30710,35771,50207,39667,39668,39705,39706,39794,39814,39815,30712,39602,39823,30713,30715,30716,30717,39824,40050,40051,40052,30719,33532,38367,50208,46854,30720,30723,40153,40154,40155,45492,45494,30718,30721,30722,40163,33533,33534,18615,40164,40165,30726,40188,40189,50333,49660,40212,30725,40186,40187,30724,30729,40214,30731,30730,33543,30732,40213,30734,30733,33229,40239,40999,30735,33720,33230,33324,33232,33233,33724,33549,30739,33725,30736,34626,30738,42837,33550,40322,19510,33248,19501,33240,30740,30743,42870,30742,42871,30741,42948,42982,42983,43913,30744,43915,33257,33258,33260,30747,43921,33261,50209,30745,33263,33264,43947,40347,33266,40331,43948,30749,43949,46847,30751,48182,50210,33280,30754,30753,36340,36341,30748,30752,40332,40333,33301,49848,33306,40342,33284,40343,30756,30757,30758,50211,40341,30759,30755,30761,40396,50188,30762,40395,30763,49850,40388,30760,40389,30765,40407,40408,40501,30768,33164,30767,40502,40503,40548,30764,30770,50212,30766,40550,40551,40559,40560,40561,50213,30771,40549,30777,30772,30773,30774,30775,30776,40597,40598,40600,40601,30779,40602,43678,50214,30778,30782,30781,30780,36489,40671,40672,40673,40674,30785,40675,33569,33325,30784,36491,30783,30787,33338,33346,33353,30792,19529,30789,30788,30786,30790,30793,30558,30794,32075,18,30798,30795,30796,30797,49828,39154,40741,40731,30799,30802,30800,30801,32233,30805,30804,40772,40859,50215,30807,40833,40759,40760,30803,30806,40862,40861,30686,30810,12,30809,30811,5651,40860,37434,37439,30808,30812,40864,31985,40865,30815,50216,40880,40888,30814,37448,40889,35027,30816,30817,30818,30819,40939,50217,40940,17,1,40944,30821,32772,30820,40946,30823,15,2175,47988,30822,45663,45664,40952,40953,33219,2178,30827,30828,30829,50218,33590,19527,30824,30826,32,6,30831,33361,30832,30834,30833,41030,41031,41026,30830,41073,41069,45665,41070,41074,41075,45666,45667,30835,33366,41068,30841,30836,30837,30838,30839,41077,33389,30844,41104,30843,41106,41108,41105,30840,30846,30842,33600,41120,30850,41147,41148,41149,30848,30849,41146,37801,30845,30847,41182,41183,38221,30520,19532,50219,30855,30853,30854,50220,38220,30851,30852,49207,41250,41251,30858,30857,33163,41253,30856,30861,30860,41278,41279,41252,37274,50221,30859,30863,33065,33169,33200,33066,30865,30864,41287,30867,38043,41329,50222,30862,30866,33067,33214,30869,41345,41346,41347,50223,41331,30868,30873,30872,30871,30870,33220,41516,41376,41377,45720,40390,45308,40391,41375,30874,41385,30875,33237,41517,41518,33234,41520,41521,41519,50224,30886,30880,30881,30885,30876,30882,30883,30884,30878,30879,30887,33238,35327,41527,2163,30877,30890,30888,41526,2177,30889,41557,19533,30892,2164,41538,13,2165,2173,30893,41559,30895,30894,50225,41539,30891,41574,30897,41577,30896,30898,41537,19,30899,41578,30901,41635,33273,30902,11,30904,30905,30903,41636,41637,50226,41270,33276,33277,28,41662,41663,50227,30906,30910,10,30907,30908,30909,41661,41665,41666,41667,41669,33290,41670,30912,30914,41680,30916,41679,30915,30911,25,33314,41682,30918,41714,30920,41715,33403,30917,41713,50228,30919,41724,41725,30924,41791,41792,41793,30926,41723,41794,30923,30925,30921,50229,27,8,33406,33412,41063,30927,30931,30928,30929,30930,29,14,30934,4,30933,41926,41962,19537,40340,38080,38250,30938,30932,26,30936,30937,40316,36376,33282,30935,33283,30939,30940,30941,30942,40386,37068,19538,30946,30945,42105,37069,30944,50230,30948,30947,35696,33293,41330,30951,30950,33300,33295,30949,30952,30953,43451,19539,33307,33311,30956,30955,50263,30954,30958,30957,30962,30960,33313,33320,42087,30959,30961,33328,30964,30963,46579,30966,33332,50265,33333,35800,40726,42110,33388,33330,30965,30967,30971,30970,42166,36742,41712,42111,19540,42112,30969,42188,36740,30972,33401,42189,42190,42228,42232,42308,33402,42309,42328,30979,30976,30977,30978,30975,50264,42330,30982,30980,30981,42335,42336,33337,50266,19541,19542,30983,30984,30985,30986,30987,33339,33342,33340,42343,33345,37897,30989,37433,37440,37441,47188,42366,42371,30992,30991,30988,33349,42345,33347,33351,33352,35949,37449,42373,30998,30995,30996,30997,42374,30994,42372,30993,50267,37450,31000,42431,42433,44520,42428,33356,35995,42513,42511,33354,42458,50268,31001,31002,31003,31004,31005,33363,31007,33364,33365,50269,33697,33362,31006,31010,31009,33698,33699,42109,33367,42113,31012,42114,42334,33368,33369,42653,42654,31008,31011,33371,19545,46340,31018,31014,31015,31016,31017,33372,31013,31020,33374,31019,31025,31021,33378,33044,31022,33379,33380,33381,42659,33046,31024,31468,30530,36103,42660,42661,42662,31027,42695,48635,33384,31026,31028,42723,31030,31031,42877,42878,42912,33386,33504,46553,43080,43081,43042,43043,43044,43041,31037,31033,31036,33387,33390,31039,32482,33391,43084,43085,43083,31035,31034,31032,31038,43245,43247,43248,31043,31045,31042,43274,31046,33398,33399,31040,47549,31044,31041,50334,38251,43294,43295,43296,31048,43315,43317,43318,43340,31047,43342,43341,30714,46232,43343,31054,31050,31052,31053,43358,43353,31051,31049,43354,43355,33151,33418,50034,19547,43359,50274,31064,31056,31060,33417,31055,31057,31059,31061,31062,43381,43383,43384,43382,31067,31066,32490,31065,43448,43449,38045,43457,31071,31069,31070,38047,43459,31073,31068,31072,43783,31075,36535,19548,36536,43472,43473,43474,43471,31074,31080,43470,31076,31077,31078,31079,43477,43520,31081,19549,43545,31083,31082,43476,31085,44742,33598,31087,33036,43566,31084,31086,31090,43567,32966,31092,31089,31094,31088,44102,36449,36444,44103,31091,31093,33612,43588,31097,50335,31096,31099,43590,43589,44104,31095,31098,43591,41271,39372,31101,31100,33622,33623,44449,31104,31102,31103,37344,31107,42183,42184,31108,43609,43610,43623,43608,31106,31110,37803,31109,42185,43624,43625,43675,43676,43677,43714,31112,31113,43715,43716,43721,31111,31116,43722,43723,33797,33798,33799,32769,31118,43747,43748,31125,43808,19551,33421,43810,43780,31124,31121,31122,31123,31120,33439,43809,43812,33819,31127,43838,43839,40997,40998,33423,43850,33821,31126,31063,43851,31132,31130,31131,43852,31129,43883,43884,38705,43882,38794,31133,33425,31137,43901,31138,31141,31136,43902,43903,43958,43959,43306,31135,31140,38184,33427,31143,33428,38707,33430,35592,43982,31139,31142,31147,31146,31144,31145,30570,19552,31149,44052,44013,44053,33433,44051,33114,32413,31148,31150,33437,33438,33434,33440,31155,31154,33445,31153,33444,31152,42088,48874,31156,31158,31157,33804,45454,31159,31161,33458,31160,44079,44082,31163,33449,44106,33450,33451,31165,44139,33452,50337,44137,33447,33851,31162,31164,18609,18611,50338,2172,31169,2166,31167,2168,2169,2170,31171,2171,33849,33850,31170,18616,33855,31173,33856,33858,43255,33854,43254,31172,31179,31175,44184,44185,44190,44191,44151,31,44189,43753,31174,31177,31184,31180,31181,31182,31183,44216,44217,44214,43755,36899,31187,31186,44215,44227,31185,31190,31189,33457,44233,31192,44234,31128,44235,44232,33456,31191,41302,31188,31199,44236,33464,33467,33471,33475,44243,44245,44246,31193,44240,19554,31195,31196,31197,31198,44247,33478,33488,31201,35881,33787,19555,35856,44255,31200,31203,31204,44265,44267,31207,44281,44256,44257,44266,33788,42089,31205,50339,31202,44282,44328,31211,31209,31210,19556,44330,44331,44329,31214,31213,34331,31208,39734,31212,44352,33771,44332,31216,44353,31218,31217,44354,44362,44364,44368,31215,31219,31221,31220,31223,31225,37073,31222,31224,44505,19557,44437,31229,31227,31228,31226,44602,44603,42054,31232,31231,44510,44509,31236,44971,44972,31230,31233,31235,44511,42029,44530,44531,40117,40118,31245,31238,31239,31240,31241,31242,31243,31244,44447,39363,49788,31247,47014,31237,31246,46103,44799,44621,33370,31249,44802,31252,44622,44623,41907,31251,31256,44852,44840,44838,31258,19558,44856,31254,36766,31257,31255,44832,31260,48708,44871,44872,31262,44873,44910,33839,44870,45841,45817,31259,31261,31263,36767,33840,31267,44911,44912,33463,31268,31265,47421,33841,45015,45024,31272,45026,31273,19582,31271,45027,45025,33506,33512,42294,33615,31269,33517,33514,33520,33535,31278,33541,31275,31276,31277,33538,50341,46012,31274,31280,45053,19583,45056,33553,33558,31281,31282,31283,31284,46013,31279,45634,44438,44015,33573,33570,33575,33583,45165,45187,45186,33581,33322,19585,50342,31293,31286,31287,31288,31289,31290,31291,31292,33586,33597,45188,33606,40305,33603,33645,31295,33617,31294,33667,31301,31297,31296,31298,31299,31300,44506,44507,31303,33648,33671,31304,33675,31305,45216,45217,41581,41579,19586,44508,45747,31302,31306,45218,31309,45279,45280,45286,45287,45288,35545,31310,31314,45278,31308,31312,31313,45317,45318,45356,33409,31317,31316,45358,31311,45357,47116,31315,45316,45359,45360,32992,31322,33321,31319,31320,31321,45362,45363,45364,45361,31318,33410,45365,30746,45424,39639,39811,31326,34205,40011,33925,45425,31323,31328,31329,31330,31331,38557,45461,31334,45460,33926,45459,31327,31333,45462,31336,31335,45474,50343,31338,45483,45484,31337,45491,31342,31340,31341,45528,45529,45531,45517,33494,39609,45514,31339,31343,45532,45538,45539,45515,45516,39610,31344,31345,31346,31347,33982,45589,32470,33979,39611,39612,45623,45624,31351,31350,45625,40371,40374,40375,45635,45637,45604,45622,31353,45688,31356,50344,45797,19565,45687,40825,45636,40376,31352,31355,31357,45799,45800,34010,31360,31361,31362,31358,31359,43571,45822,45823,45798,43572,43573,50345,45824,45825,45826,45866,45867,31367,45868,41447,43574,43575,31368,31364,31365,31366,31363,31374,45869,31370,45871,45872,45870,31369,49018,49019,46989,31372,31371,49020,31373,30728,45895,31376,45896,45897,19568,45894,45905,45102,49021,31375,31382,45961,31379,31380,31381,45927,45928,45907,45926,31378,46601,45925,31377,33501,39640,31386,33110,31384,19569,46599,45963,45964,45962,31385,31383,45965,31392,31388,31389,31390,31391,34022,30496,34025,38005,43299,40034,44088,31387,43562,32049,45970,31398,31394,31395,31396,31397,31393,40670,31400,31402,47950,45104,45105,31399,31401,32457,31408,33507,33508,31403,31409,31406,31407,45919,31405,31411,43985,33513,45014,46035,31413,46036,40012,46037,46034,31415,46014,31410,31412,46088,40013,46089,33518,31419,33519,46038,32454,46083,43986,43987,43988,43989,31416,46093,33521,45016,33525,33524,31425,31424,31421,31422,31423,31420,31426,32456,46094,46095,46146,19572,46147,46154,38560,31430,46155,31427,31428,38182,46156,31432,31433,31431,31434,46501,46503,46511,38183,46169,37345,37346,46502,31435,46513,46514,32455,46637,46963,31441,31437,31438,31440,46512,33616,31436,31439,46964,31445,34048,34049,31443,40870,40871,47031,50348,31442,47032,47877,47878,37904,31444,47879,31449,31448,31447,36927,36928,47033,31451,46024,46025,31446,33530,33529,31450,50346,33542,47118,33539,47119,41576,47310,31454,33540,31456,31452,47463,47117,31457,33545,45748,45749,31460,45750,33546,33547,40694,40695,33679,42332,31459,31461,47465,47466,40696,31464,47467,31463,40697,47866,40698,47464,47591,47867,47592,47590,48093,48108,31470,31467,48109,48110,48434,48492,48531,48578,31466,31473,31471,31472,49064,48658,48659,31475,48672,49065,48671,31474,48795,50347,31477,40727,40728,31479,49177,49178,49194,40729,31478,49193,33552,31480,49425,31476,31481,31483,49546,31482,19577,49426,49427,31485,31486,31487,41039,49548,49549,49705,49547,41067,31491,31492,31490,49707,49708,49885,49887,49888,49706,49886,33897,33898,33899,44557,44558,44559,44560,31501,31497,31495,31496,31498,31499,31500,50037,31504,45213,31503,45214,31494,31502,31505,42331,31507,42333,31506,33890,35384,35725,35726,35476,31510,31509,31511,41116,37833,31514,33557,31512,31508,31513,42795,41133,31515,31518,35470,35471,41134,35516,35517,35586,35524,35938,45310,44807,35940,36061,31521,35939,31524,44808,41913,31525,41914,31523,40327,33560,33562,33563,33564,31526,31527,31528,42473,39081,39082,39086,33566,31529,33567,33568,42030,31535,31530,31532,31531,31533,31534,33222,31536,31538,31537,19497,42031,42032,36490,31543,31542,31539,31540,31545,19498,47640,31541,31544,31546,33578,33591,19553,31548,40783,33579,33576,33580,31547,31549,33592,33589,31553,31550,31551,19578,40317,19571,19567,33226,35879,31554,31555,38790,31556,33582,31557,31559,33584,31558,40318,33585,40319,31560,31561,33588,34149,31562,31563,43592,43593,31567,31565,31566,19544,43594,43595,31564,31569,31568,50279,31570,41307,43250,31572,35407,35408,45456,31574,31573,31575,19580,33594,33595,33596,19490,19491,33601,31578,19526,19530,31577,31580,34330,50058,34333,34332,31581,33431,19496,33604,33605,31584,31585,31582,33607,19495,46379,19500,19499,31583,31586,19506,31588,31587,33608,31589,19508,31590,45778,19507,41204,44523,30609,31591,19509,33611,19511,31593,50048,33614,19566,31592,48716,19512,31418,33610,31594,19519,31600,31595,31596,31597,31598,31599,33629,48306,50277,45821,41448,41449,31601,31604,31602,31603,31605,19587,31606,33638,36059,39091,50050,33640,31608,31609,31607,33641,50042,33650,33651,50060,19543,33805,50281,31614,31611,31612,31613,31610,33653,33655,48318,48346,50051,31285,31619,31616,31617,31618,31615,19573,33659,31622,50062,31621,19520,48378,43249,50054,46878,31625,31624,33661,46209,31623,33662,49093,33665,31626,31632,31627,31628,31629,31630,31631,48199,31633,33666,49078,31634,50040,49898,31635,46256,33672,44957,31638,31636,31637,31641,31640,50065,31639,31642,31643,33459,19550,49463,50052,41540,31644,31645,31646,31647,31649,49464,48626,33460,33461,33462,31650,47766,31653,41450,41304,31652,31655,31654,31660,46267,46458,31657,46411,31656,31658,31659,49374,31661,31662,49465,49466,32931,31663,31664,31665,50066,39361,39357,35688,31666,31669,31667,31668,33486,31670,33487,35857,49458,49459,50044,31673,31672,31671,35858,31675,39359,31674,50055,39360,39362,31676,41813,39358,39507,45417,48583,40536,39508,39509,19546,31681,31680,31678,31679,31677,31682,31683,18630,33465,33466,31685,49968,33468,31684,50282,31686,47901,33469,31687,33470,50067,33476,33477,31689,33480,33472,49753,31694,31690,31691,31692,31693,33481,48248,33483,31696,33484,33489,31695,33490,31698,31697,41214,41229,33411,50056,31700,31699,44521,44522,41582,39506,38556,33497,41580,33493,31703,33498,50057,31709,48657,31708,31704,31705,31706,31707,31710,44626,49921,44627,31711,31713,31715,33680,33652,31714,33681,33696,31716,50285,50069,33682,41558,31717,31719,31720,33548,31721,49204,50070,31718,31724,31723,42645,31722,42599,48983,31726,31725,50074,31727,50075,48370,31728,31325,31730,50071,33115,33683,31734,31731,31732,31733,31735,31737,50286,42646,42647,31739,31736,31738,33686,33687,32884,31740,33694,33690,31741,33689,31742,31743,47743,48602,31744,31747,31746,31748,31750,31749,44101,33700,31745,31751,49401,31753,31752,50288,31754,31756,47708,33703,33702,31758,47222,31755,31757,33707,42600,31759,31760,31761,31762,33710,31766,50290,33712,31765,31763,31764,50076,31767,31770,33716,43704,31769,31768,31772,31771,33729,33743,33752,31773,33756,33719,40632,33739,31776,33760,31775,33767,33769,31780,31777,31778,31779,33776,33789,31781,50077,37234,33236,33794,49122,31784,31783,33792,31782,19574,31786,31785,31787,50293,31789,33831,33816,31790,33825,50079,33835,31793,31792,31791,33865,33873,33878,31794,31796,31795,31797,32790,31798,31799,33886,35082,35083,31802,31801,50295,31803,31807,31805,31806,31058,50296,31804,49523,50080,31270,35515,31808,31809,31810,31811,31812,31813,31814,31815,31816,43709,31817,50081,39207,41681,31820,32546,39110,31821,31822,39112,50085,31827,31825,31826,41111,41684,39455,39311,47279,31824,31829,31828,50275,31831,31830,31832,31833,41689,31834,31837,42984,43143,31835,31838,50297,31839,43502,31840,50088,31841,31842,31843,31844,31845,31846,50298,50084,40254,31848,31847,30562,50086,31849,50089,31850,41751,31854,31853,31856,50299,41765,43946,31852,31855,31858,31857,31860,31859,50090,50300,31861,31863,31862,41796,31865,31864,50091,31866,44251,44248,40338,40996,31867,31868,31869,31870,31871,31872,31874,31873,31875,50092,31876,50301,31877,31878,50097,33714,33715,33713,31879,31881,33717,32439,33718,31885,31882,31883,31884,50093,31886,31888,31889,42055,42056,50094,31890,31893,31892,31891,41908,41910,41911,42989,50095,31895,36764,42990,36765,31896,31897,31898,48766,50096,43936,43937,33730,31899,33731,31909,31904,31905,31906,31907,31908,31900,31901,31902,31903,43118,43119,41959,31912,31911,33733,41960,33734,33738,47835,40616,43543,50303,31916,31914,31915,33740,31917,43117,33741,33742,31920,31918,31919,50305,31922,31921,33745,36150,31923,31925,45760,33744,31926,45761,31927,31930,48412,43227,43228,31928,44284,44285,31931,31932,43145,31933,50098,33772,31934,31935,50310,50306,19492,33777,31937,31938,19493,31941,19531,19581,31936,31940,50307,19536,31942,33778,31945,31944,31943,31946,33781,43503,43504,50308,31949,40782,40785,31948,40334,31950,31952,31951,50309,31954,31953,33790,31956,31955,33791,31959,50100,50311,31957,33793,44858,44859,31961,31960,31962,39111,39113,50101,31963,39208,39245,39312,50312,39456,31964,31965,31966,31967,50317,33796,33795,31971,32730,31969,31968,31970,31972,31974,31973,50314,32735,31975,31976,31979,32751,31977,31978,50316,50315,33801,46920,50102,31980,31981,33802,31982,33807,33808,31983,33813,31984,33814,33815,50103,33820,31987,31986,33817,43871,31988,31990,31992,31991,50104,31993,32544,31996,31995,31994,33823,33824,31997,50105,33827,33828,33830,32000,32001,31998,31999,33832,48719,50318,42156,41089,32003,33833,33834,32004,32005,32007,33782,50106,33836,33783,33837,47259,50107,32010,44812,32008,32009,32011,33843,33844,32013,32012,42344,32014,32015,32017,32016,50108,32019,32018,44096,47127,32020,32023,41029,32021,32024,33859,32026,32028,43888,42193,32025,32027,33852,32030,40132,40133,32029,33784,32034,32031,32032,46382,32033,42194,32035,33863,32036,32037,33861,35687,37162,47202,35770,33864,33866,32038,32039,32040,32041,32042,32043,33867,33868,42203,39350,47205,40324,37292,37293,32045,33870,33871,33872,32044,40326,47203,32048,47204,37296,32046,32047,37297,37298,37299,33880,33881,32050,32052,32051,44249,33879,44250,32053,32054,32055,44252,32056,44253,37300,32058,32057,33891,37301,37311,33887,41344,37574,37575,42460,42461,37576,42346,42347,37313,37314,37327,32064,37802,35461,32066,32065,32060,32061,35462,32063,35657,35658,32059,35884,35885,32068,36397,32069,37498,37499,33242,32071,32070,39349,39731,40131,38196,40346,37804,37896,32072,32074,49421,41575,49422,32076,42291,32073,32078,43360,43568,43569,37991,49423,32077,43629,32079,44141,44142,32080,45816,44140,49424,49428,49429,49434,32082,49435,45906,50147,49436,49437,49438,32081,32089,32083,32084,32085,32086,32087,32088,32090,50109,38853,33893,46145,38854,32093,32091,32092,32094,32095,40356,32096,46945,50110,32097,38883,38884,38901,38902,32098,50111,32104,32099,32100,32101,32102,32103,38903,38904,38905,35305,46697,32105,33903,32107,50148,32108,41812,32106,35307,35318,32110,39334,32109,39641,39341,39344,39345,34163,34164,32112,32113,32114,32111,34165,39603,39724,41845,45065,44618,44619,40033,40210,49443,32115,40211,39727,32122,40320,40469,32117,32118,32120,32116,50112,40467,32124,32123,32119,33917,33920,40468,40568,33244,32127,32126,33927,33930,40733,40734,40747,32125,32128,34367,32131,33914,34206,40930,33915,40209,32133,40752,40753,40754,41012,32130,32132,32135,41018,35663,50150,33916,35665,32141,32139,32140,45762,33921,41016,32137,32138,41064,33247,41065,33250,32144,32142,32143,33227,36149,41112,41113,32146,41153,32147,36151,36162,41121,41122,33912,32145,36163,33253,36164,33267,32148,32149,32150,32151,32152,41154,35685,41413,36167,36168,41414,32153,32154,33908,32158,41415,41492,41493,41495,32155,32159,45759,41691,32156,33935,33845,32161,44095,41692,33934,32163,41702,41769,41824,41826,41864,32160,32166,33936,46544,41906,32165,33940,41866,41905,42299,42448,32164,32167,32170,32171,42449,42450,42544,49578,32172,32173,32174,33224,42613,35899,47761,32176,35901,42724,42725,42897,32178,42898,42932,43031,43032,32175,32177,32179,32181,32180,43033,43098,33270,32183,33949,35962,35964,32185,33952,43251,32182,32187,32184,50152,33945,33939,33943,32190,32189,32186,50151,33938,32188,33941,43324,43325,32193,32192,33275,43400,33953,33954,49409,32196,32195,33955,42224,32191,32198,41985,43889,36071,45381,36072,32201,32200,49410,36084,32199,32203,32197,48981,33956,50154,45376,45377,36085,36086,32205,32206,45379,36087,36088,44080,32202,45380,45382,44503,33958,32211,44601,44684,47812,44860,32208,32210,44226,42187,32214,32213,32217,50155,44955,44956,32212,32215,44973,46661,32218,32216,33959,33960,33961,33966,32219,32221,32220,33962,45021,49483,32224,32223,33973,33980,32226,33990,42389,40330,45022,32222,32225,45023,32230,32228,32229,33995,34001,50026,34003,32227,49503,32232,45036,45038,34016,32235,36315,36316,36378,36294,36295,36308,36309,36310,32240,32236,32234,32237,32238,32241,33279,40773,45475,45476,32239,36384,36385,32927,36705,45477,32246,32244,32245,50165,45478,45480,32248,45481,32243,36416,32247,32249,50158,44532,36417,32251,45550,45551,32250,32253,32252,45552,45418,45553,50159,32254,45554,50162,44784,45555,45556,32259,32256,32257,32258,32255,32260,41763,45557,45591,45722,32262,45645,45686,32264,42592,32263,32265,32261,32266,50161,48428,32269,45715,42606,45716,45717,45718,32271,45719,32267,32270,50167,45732,32273,32272,33286,45735,32275,45742,49653,32274,32277,32276,47690,45420,32278,33968,33969,33965,45745,50163,45746,45804,32283,32279,32280,32281,32282,32285,33971,33972,45813,50164,45814,45863,36579,32287,32286,45920,32284,45971,32289,45973,45921,45929,32291,45974,32288,32290,32293,32292,48503,45983,33978,48470,45985,45987,45988,33976,45992,45993,45994,32294,32295,32301,32297,32298,32299,33069,33981,45997,32302,46001,32304,32303,33983,33984,33985,49119,32305,33987,32307,32306,41151,46051,46052,32309,49786,33988,33989,32311,46064,50166,32308,46065,46066,32310,32312,32314,31115,32315,32316,45647,45648,32317,49579,32320,32318,46067,46071,46072,46073,50168,46079,44785,33996,33997,46074,32321,32322,32324,32323,46080,46082,44786,44787,45426,45723,32326,45724,33999,32325,45427,34004,46081,34105,32328,32327,34005,32330,32333,32332,32331,34008,34007,34013,34014,32335,41017,34106,32334,32336,47494,32337,34015,45864,45865,43011,32340,32338,32339,49847,36737,34026,32341,33664,36738,36852,49802,34019,32345,32342,32343,32344,34043,34050,34035,32348,32347,36993,32346,34045,49280,36995,32350,32349,32354,46290,32352,32353,32351,43095,49615,49616,49617,46176,49914,46177,46178,34054,31520,34055,32355,32356,32357,49920,49978,32360,49979,32359,32361,32729,32731,32362,32363,32734,32752,32753,32365,32366,32740,49949,32754,32755,32368,32367,46049,32759,43224,32371,32370,32760,32372,32369,32761,44435,32762,32373,32374,32375,49981,49982,32378,49994,49996,50013,32773,32783,32771,43278,34020,32784,32798,32379,32925,43303,32381,32380,33299,33190,33191,32382,32384,32799,32800,32803,34021,32386,32804,33298,32824,32385,32825,32390,32387,32826,32389,32388,32830,32392,34023,43363,34027,34024,34237,49339,49772,32391,32393,32831,32394,32395,32396,32397,46050,32832,34272,34031,32833,34028,34029,32840,49646,32841,33303,32399,32400,32864,32401,32865,34032,34033,34034,49557,32866,32894,32873,32402,32404,33304,35356,32405,43417,46688,32406,41489,47687,44589,47895,49736,46900,32408,41897,49642,35452,48232,45122,46750,41437,37648,32409,32410,32407,32412,48978,47843,45112,45097,49263,49081,32419,46308,32416,34037,34038,34039,43544,34041,35536,43396,34036,32420,32428,33305,35469,37432,47396,34042,48497,40578,46622,46218,42022,34051,34053,32421,32422,32423,32425,40433,35341,45349,40837,32427,45103,32895,32429,32435,33308,48646,45128,32896,48132,47993,45137,32433,48374,32897,32898,34062,48454,40799,41342,45337,41497,49470,32438,45255,32437,32899,46234,41982,32900,39236,32442,32441,45672,41830,48783,33554,46108,32444,48336,45323,47438,32446,47770,41501,32448,45560,44537,40512,49143,48863,32450,41922,32447,36534,48031,32452,34065,43179,47130,34066,47872,41587,46639,47641,34068,32459,32458,32460,34071,48164,47524,48213,48128,45261,41744,44837,34069,34073,43756,34072,49232,32461,32462,32463,32464,46546,41208,35937,34070,32928,34075,32467,34079,32468,41090,32469,32466,32929,32930,43191,32473,32932,32471,32933,32934,32472,44171,40485,49695,48359,40715,40830,32474,32476,32475,37113,40863,44692,32477,46669,40740,32478,48203,36783,32939,34098,43874,32481,32480,34099,44125,34101,49833,49520,32484,32483,32485,32487,32486,32944,34107,48357,34111,49778,49639,34104,32488,32945,32946,33309,32492,32947,32491,34115,49768,32948,34118,49562,49659,32949,49956,49555,49567,32496,32493,32494,49573,49585,43973,49655,49628,32498,32495,49326,49689,49524,49761,49763,49809,49799,32499,32500,32501,33317,32962,49816,49818,44044,49840,49855,49927,32504,32505,32506,32503,32512,49516,35442,32509,32510,48500,32508,32513,32959,32960,34136,32961,49730,40938,34143,49570,34150,32517,49969,34735,32518,49604,49934,49505,49576,49669,49726,49755,32521,32523,32520,34157,34154,34159,34754,32522,49776,34166,34174,32525,49560,37109,34178,34758,34171,32963,32964,34189,34185,32529,32528,32973,49890,39040,32527,43431,49478,32531,49986,47966,41879,32535,32534,34074,41732,49983,34762,32537,32974,32983,40732,32984,33323,32990,34077,48702,41570,32538,37835,44930,35376,32540,39042,39041,49152,34080,48414,45066,47602,34081,46540,39043,49984,32991,49987,49988,32999,33017,33007,33008,33009,44316,44283,34100,34102,43129,48310,33018,34112,34103,34108,34109,34110,45170,48941,34114,49285,33019,32543,33024,32563,32559,32545,32547,32548,32549,32550,32551,32552,32553,32554,32555,32556,32557,32558,32560,32561,32562,49061,34116,46133,37133,43425,34117,48763,43164,34119,48279,32569,32565,32566,32567,32568,41837,41986,37067,34140,34141,34142,47534,48962,48173,39452,32575,32571,32572,32573,32574,33043,34151,33040,47214,47669,49356,34152,34153,49125,34158,34160,44501,45069,44481,33492,44164,44922,34161,34167,35523,34169,34170,34175,33045,34172,34173,41297,49214,34176,34177,43806,34179,38046,34180,36165,45996,47917,32597,32577,32578,32579,32580,32581,32582,32583,32584,32585,32586,32587,32588,32589,32590,32591,32592,32593,32594,32595,32596,34194,34192,44572,34191,34186,45646,33049,33050,32603,32599,32600,32601,32602,34199,34200,44596,34193,32598,33064,34201,34202,33071,34203,34204,44159,46112,45089,45131,46390,37822,49349,33075,46140,43537,46997,45094,44547,33076,32619,32608,32609,32610,32611,32612,32613,32614,32615,32616,32617,32618,32605,32606,32607,33077,34208,33078,34207,33101,50169,33102,33103,34209,34210,33120,34213,50170,33126,34218,33127,33136,34220,33116,30504,34221,50171,30512,32620,32636,32621,32622,32623,32624,32625,32626,32627,32633,32628,32629,32630,32631,32632,32634,32635,30543,50172,30581,30593,34224,30618,30655,30657,30681,30769,32637,32645,32640,32641,32642,32643,32644,32638,32639,47965,34231,34226,30990,31166,31206,34229,31349,31414,30974,30999,34232,34233,34223,34225,34234,34235,39774,39775,34242,34241,46279,34238,34239,34236,34243,33327,34246,34244,34248,34251,34254,42625,42626,34256,34258,34260,34265,34267,34268,34269,34271,34273,34276,34279,34282,34283,34286,34289,34292,34295,32646,34298,32704,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,34314,34301,34308,35205,34316,34247,34318,34249,34252,34253,34321,34255,34257,34270,34274,34280,34275,34277,34278,34281,34284,34285,34287,34288,34290,32705,34291,34293,34294,32725,32706,32707,32708,32709,32710,32711,32712,32713,32714,32715,32716,32717,32718,32719,32720,32721,32722,32723,32724,34297,34299,34300,35224,32727,33331,34302,32728,34303,34311,34313,34315,32732,34319,45237,32733,34322,34324,32739,33343,32736,32737,34329,34326,34327,34328,33344,33348,33355,33394,32745,32746,33404,33407,33448,32747,32748,32749,33473,32750,33474,33479,33515,33574,34334,34337,33510,34340,34343,33571,32756,33618,32757,33635,33646,34351,34355,34356,34359,34362,33599,33658,33654,34373,33669,33673,34364,34370,34379,32763,32764,34341,34346,34347,34349,34350,33750,33754,33773,33758,33762,33766,34375,34374,32766,32767,32768,32770,34376,34377,34380,34381,34385,34386,34387,34389,33875,33877,32775,33918,33904,33911,32776,32774,32777,34394,33942,33964,34002,32778,34392,34383,33967,32779,32780,34018,34047,34058,32781,34393,34395,32782,32785,32786,32787,32788,32789,34067,32791,32792,32793,33051,34113,34145,34148,32794,32795,34137,34155,34156,34335,34336,34396,34403,34402,34404,32797,34409,34412,34415,34417,34433,34420,34422,32802,34429,34430,34431,34405,32806,32807,32808,34397,34400,34401,34406,34410,34411,34413,34414,34423,32809,34416,32810,34418,34424,34432,32811,34434,34435,34436,34437,34438,34441,34443,32813,34446,34448,32814,34452,32816,34455,34463,34457,32817,32818,34460,34439,34440,34442,32819,32820,34451,34453,34454,34456,34458,34459,34461,34464,34465,34466,34468,34470,32822,32823,34471,34473,32827,32829,34475,34478,34479,34481,34483,34488,34489,34490,34494,34497,34499,35645,32834,34501,32835,32836,34503,34505,34511,34517,34518,34520,34529,34531,32838,32839,35801,32844,32842,34469,32845,32846,32847,32848,32849,32850,32851,32852,32853,34515,32854,32855,32856,32858,32859,32860,32861,34539,34541,34543,34551,41386,32862,32863,34545,34547,34549,34550,34555,32868,32869,34556,34559,34562,34563,34566,34568,34569,34571,34574,34577,32870,34587,34579,34581,34583,32872,34585,34584,34591,34593,34596,34598,34614,34615,34601,32874,34604,34606,34607,34609,34611,32876,34623,34616,32878,32879,32880,34617,34620,34629,41674,34650,32882,32883,34631,34634,34642,34644,34647,34653,34655,32887,32888,32885,34658,34661,34662,34664,34666,34673,34676,34681,34686,32890,34690,32891,34692,32892,34695,50032,34699,34701,34702,34704,34706,34709,34712,34713,34715,32893,34717,34718,34724,34725,34726,34728,34544,32901,32902,32904,32905,32906,32908,32909,32910,32911,32912,32914,32915,32916,42593,42594,32917,32918,32919,32921,32922,32923,32924,32926,34732,34733,34736,34740,34744,34746,34749,34760,32935,34765,34768,34770,34774,34778,34781,34784,34787,34791,34793,34796,34798,34801,34807,32936,34810,34813,32938,34816,32940,32941,32942,32943,34818,34824,43215,34830,34827,34829,43304,34838,34841,34844,34847,32951,32952,34734,34851,34737,34739,32953,34741,34743,34748,34757,34771,34747,34759,32955,34764,34772,34775,34779,32956,34780,34782,34785,32957,34789,34790,32958,34794,34795,34799,34800,34809,34822,34823,34831,34832,34834,34837,34839,34843,34845,32967,34848,34849,34467,32965,34472,34474,34476,34477,43974,32968,32969,43975,34480,34482,32970,34484,34492,34509,34493,34495,34510,34496,34500,34502,32971,34506,32972,45375,45378,32975,32977,34512,34514,34521,34516,34523,34524,34528,32979,32980,34530,34532,34533,34535,45383,34538,34540,32981,34542,32982,32985,34548,34553,34554,32986,32987,34557,34558,34560,34561,34564,34565,34567,34570,34572,34573,34575,34576,34578,34580,49441,32989,32993,32994,34582,32995,34586,34589,34590,34592,34594,34595,34597,32996,32997,34599,34600,34602,34603,34605,34608,34610,34612,33002,34613,33000,34624,34625,34618,34619,34621,34622,33003,33004,34627,34628,34630,34633,34635,34637,34638,34639,34640,34641,34643,34645,34648,34646,34649,33006,34651,34652,33010,33011,33012,34654,34656,34659,34660,34663,34665,34667,34668,34670,33013,33014,33015,34672,34674,34675,49999,34677,34678,34680,34682,50007,34683,34685,34687,34689,35997,34691,33020,33021,33022,34694,34697,34698,34700,33025,34703,34705,33026,34707,34708,45434,34710,34711,33028,33029,34721,33030,34723,33031,34730,34731,34852,34855,34856,33032,34865,33033,33034,33035,34871,34874,33037,34877,34868,34883,34879,33038,34886,34888,34889,34899,34891,34893,34901,34903,36493,34908,34913,34916,34918,34911,34906,33047,34932,34921,34924,34927,34929,33052,34941,33053,34934,34858,34859,34861,34862,33055,33056,34863,33057,34864,34866,33060,33061,34867,33058,33062,33063,34869,34870,36900,34884,34885,34887,34897,34898,33068,34909,34900,34904,34905,34910,34917,34920,34922,34926,34928,34936,34930,34931,33073,34933,34937,34938,34939,34942,34943,50019,34953,33074,34959,34963,34955,34957,34958,33079,33080,33081,33085,34974,34981,34978,34970,33083,33084,33089,33086,33087,33088,33090,33091,50020,33093,33094,33095,33096,33104,34992,34996,35007,35002,35005,33098,35010,35012,35016,35018,35014,35020,35652,33100,35022,35024,33106,35030,35047,33107,35036,35038,35044,33111,35052,35048,35049,35057,35059,33108,35062,33109,35064,35084,35072,35081,35074,35079,33112,33113,35086,35089,33117,33118,35096,35099,35091,33119,37922,35093,35101,35104,35106,33123,35108,35110,35679,35112,35114,33124,35116,33125,35119,35120,35124,35126,35138,33129,35128,33130,35129,35131,35134,35137,33131,33132,35140,33133,33134,33135,33137,33138,33139,33140,33141,33142,35152,35166,35155,35159,35163,35165,35169,35170,35173,35203,35175,35183,35187,35191,35193,35195,35199,35202,35209,35211,35213,35216,35223,35225,35231,35229,35236,35220,35238,35240,35262,35243,35249,35251,35255,35257,35258,35261,35767,35274,45818,35265,35268,35272,35275,35277,35156,35279,35280,35284,35148,35151,35157,35158,35162,35167,35168,35171,35174,35177,35185,35186,35188,35190,35192,35194,35196,35198,35200,35201,35204,35212,35214,35217,35215,35218,35219,35221,35222,35227,35228,35244,35230,35250,35235,35237,35241,35242,35253,35259,35263,35260,35264,35267,35269,35270,35273,35276,35278,35282,35283,35285,35286,34945,34946,34948,34949,34951,34952,34954,34980,34979,35003,35004,35006,35008,35009,35011,35021,35023,35025,35032,35037,35039,35040,35042,35043,35045,35019,35046,35051,35054,35055,35056,35058,35060,35075,35077,35078,35080,35085,35087,35088,35092,35097,35098,35100,35102,35103,35105,35107,35109,35111,35113,35115,35117,35118,35122,35123,35125,35127,35130,35132,35133,35135,35136,35139,35288,35291,35292,35298,35289,35290,35301,35293,35294,35296,35297,35299,35313,35308,35311,35309,35310,35303,35317,35319,35320,35322,35332,35340,35345,35348,35324,35330,35355,35358,35362,35366,35351,35375,35380,35388,35386,35406,35401,35409,35412,35418,35421,35425,35427,35430,35436,35439,35433,35445,35449,35402,35405,35410,35411,35426,35428,35429,35431,35432,35434,35435,35440,35441,35446,35443,35444,35447,35448,35451,35328,35329,35331,35333,35336,35339,35930,35342,35343,35344,35346,35347,35349,35350,35353,35354,35357,35359,35361,35364,35365,35367,35370,35371,35373,35374,35377,35378,35379,35382,35387,35390,35392,35393,35396,35397,35389,35321,35323,35325,35326,35460,35455,35453,35465,35454,35466,35467,35468,35472,35475,35479,35482,35480,35481,35488,35485,35477,35478,35489,35486,35487,35490,35494,35497,35506,35492,35493,35495,35491,35510,35496,35501,35518,35521,35525,35528,35531,35533,35526,35527,35529,35530,35522,35532,35534,35535,35537,35538,35542,35547,35550,35558,35561,35564,35935,35539,35567,35572,35540,35541,35543,35544,35548,35549,35551,35553,35554,35556,35559,35560,35562,35563,35566,35577,35582,35585,35568,35587,35593,35599,35602,35604,35596,35595,35603,35605,35606,35612,35597,35613,35598,35614,35617,35621,35594,35624,35627,35629,35630,35632,35634,35639,35641,35644,35647,35653,35615,35659,35616,35622,35626,35628,35631,35633,35636,35640,35638,35642,35643,35646,35651,35650,35625,35669,35672,35675,35678,35664,35661,35662,35666,35660,35680,35670,35671,35673,35676,35677,35681,35682,35683,35684,35667,35668,35690,35692,35699,35702,35704,35689,35712,35708,35716,35720,35727,35729,35732,35723,35738,35742,35735,35715,35745,35747,35749,35752,35758,35761,35764,35710,35711,35718,35721,35709,35724,35733,35734,35736,35737,35740,35741,35743,35744,35746,35748,35750,35751,35753,35754,35756,35739,35765,35757,35759,35760,35766,35691,35693,35694,35695,35700,35701,35703,35706,35772,35777,35773,35779,35783,35786,35774,35789,35797,35799,35806,35808,35812,35814,35816,35820,35824,35832,35834,35837,35842,35844,35846,35850,35870,35855,35859,35862,35864,35867,35873,35847,35853,35877,35886,35889,35895,35897,35892,35778,35775,35776,35882,35780,35803,35781,35782,35784,35785,35787,35790,35791,35793,35798,35804,35805,35807,35813,35815,35817,35818,35819,35825,35828,35829,35840,35830,35831,35835,35841,35836,35843,35845,35849,35851,35852,35860,35861,35863,35865,35866,35868,35854,35869,35872,46986,35871,35875,35876,35878,35893,35894,35887,35896,35898,35880,35883,35874,35909,35902,35906,35910,35903,35904,35905,35907,35908,35900,35911,35912,35916,35920,35926,35929,35933,35914,35915,35918,35919,35932,35917,35931,35936,35934,35941,35944,35947,35952,35954,35942,35943,35948,35953,35958,35961,35965,35970,35973,35976,35979,35981,35987,35990,35992,35999,36002,36005,36016,36023,36027,36035,35966,35967,35969,35971,35972,35986,35974,35975,35978,35980,35988,35991,35993,36000,36001,36003,36004,36010,36011,36015,36017,36018,36025,36028,36014,36022,36020,36037,36036,36038,36042,36045,36044,36040,36043,36039,36046,36047,36048,36055,36049,36068,36062,36064,36063,36066,36069,36070,36060,36077,36079,36080,36081,36082,36083,36106,36092,36095,36097,36099,36100,36108,36102,36127,36131,36133,36138,36137,36091,36155,36146,36152,36154,36156,36159,36177,36169,36172,36175,36178,36179,36181,36184,36190,36193,36200,36207,36209,36204,36214,36216,36212,36166,36229,36174,36232,36237,36241,36244,36250,36253,36255,36258,36263,36268,36274,36276,36233,36286,36289,36291,36248,36231,36234,36235,36242,36243,36245,36230,36251,36252,36271,36257,36262,36249,36266,36267,36269,36272,36273,36277,36287,36288,36090,36096,36101,36123,36110,36115,36111,36113,36116,36119,36120,36118,36109,36129,36130,36132,36135,36139,36140,36141,36144,36147,36148,36153,36157,36158,36161,36170,36171,36173,36176,36180,36160,36182,36183,36185,36191,36187,36192,36195,36196,36202,36203,36205,36206,36208,36210,36211,36213,36215,36217,36218,36201,36304,36297,36298,36296,36299,36300,36301,36306,36314,36305,36317,36323,36325,36329,36331,36334,36337,36342,36344,36347,36349,36351,36358,36361,36365,36368,36370,36373,36312,36318,36319,36322,36324,36327,36328,36332,36333,36338,36343,36350,36353,36354,36359,36360,36363,36364,36366,36367,36369,36371,36372,36374,36375,36377,36383,36389,36382,36379,36386,36380,36381,36392,36418,36398,36401,36404,36407,36421,36423,36433,36411,36442,36452,36455,36439,36436,36458,36468,36476,36477,36474,36480,36482,36486,36492,36387,36390,36391,36393,36400,36403,36408,36409,36430,36410,36419,36420,36424,36425,36412,36413,36431,36432,36435,36437,36443,36453,36454,36456,36457,36483,36475,36478,36479,36481,36484,36485,36495,36496,36500,36472,36503,36506,36508,36515,36511,36527,36518,36519,36521,36537,36539,36541,36546,36550,36552,36555,36558,36561,36564,36566,36568,36533,36504,36569,36572,36501,36502,36505,36507,36512,36516,36520,36522,36526,36528,36529,36531,36532,36538,36542,36543,36545,36556,36557,36559,36560,36571,36574,36575,36580,36582,36584,36587,36589,36577,36578,36591,36593,36597,36614,36600,36603,36605,36608,36612,36618,36620,36634,36661,36636,36640,36643,36645,36648,36651,36654,36657,36659,36672,36673,36681,36684,36685,36687,36691,36701,36675,36708,36710,36713,36717,36724,36730,36721,36743,36746,36749,36751,36754,36757,36727,36736,36760,36768,36771,36777,36779,36782,36786,36788,36790,36793,36795,36796,36799,36823,36802,36806,36808,36826,36812,36815,36818,36821,36830,36835,36838,36841,36843,36846,36848,36813,36855,36861,36865,36867,36873,36875,36906,36887,36890,36893,36902,36881,36870,36915,36916,36917,36918,36921,36913,36929,36934,36910,36937,36941,36947,36944,36953,36957,36961,36967,36973,36975,36979,36985,36832,36834,36839,36840,36842,36844,36845,36866,36872,36874,36876,36877,36871,36883,36886,36889,36894,36903,36888,36897,36879,36898,36904,36905,36907,36908,36909,36919,36924,36925,36938,36942,36943,36945,36914,36954,36955,36956,36959,36960,36968,36969,36971,36972,36974,36977,36978,36981,36976,36581,36585,36990,36594,36586,36588,36590,36592,36595,36596,36598,36606,36602,36604,36607,36613,36619,36621,36632,36629,36630,36633,36635,36609,36642,36644,36646,36647,36649,36650,36652,36655,36656,36658,36660,36665,36666,36668,36671,36674,36676,36677,36680,36682,36683,36686,36689,36690,36695,36692,36693,36728,36703,36704,36706,36707,36709,36714,36715,36716,36719,36720,36725,36726,36718,36731,36732,36761,36734,36744,36745,36729,36747,36748,36750,36752,36753,36755,36756,36758,36759,36762,36763,36769,36770,36772,36778,36780,36781,36784,36785,36789,36791,36792,36797,36798,36809,36800,36801,36804,36805,36807,36810,36811,36814,36816,36817,36820,36822,36992,36827,36825,36828,36829,36819,36996,37002,37004,37009,37012,37015,37018,37020,37024,36994,37041,37048,37059,37033,37037,37039,37051,37054,37056,37060,37064,37070,37079,37076,37118,37090,37092,37097,37099,37105,37112,37121,37128,37130,37158,37136,37141,37144,37155,37146,37091,37124,37152,37093,37096,37100,37101,37103,37104,37110,37111,37114,37115,37117,37119,37120,37122,37123,37126,37134,37135,37137,37138,37140,37142,37143,37145,37148,37153,37150,37151,37154,37156,37157,36997,37000,37001,37005,36998,37003,37006,37007,37008,37010,37011,37013,37014,37021,37016,37017,37025,37026,37029,37030,37031,37032,37034,37035,37061,37036,37038,37040,37049,37042,37050,37052,37053,37055,37057,37058,37043,37062,37080,37063,37071,37072,37082,37083,37077,37078,37168,37089,37165,37169,37163,37159,37160,37161,37174,37170,37173,37167,37164,37183,37186,37176,37177,37184,37185,37188,37189,37190,37187,37182,37191,37192,37193,37194,37196,37197,37200,37204,37206,37208,37213,37216,37218,37220,37224,37225,37232,37231,37233,37237,37240,37246,37248,37250,37253,37243,37228,37256,37261,37262,37263,37278,37267,37270,37260,37275,37272,37195,37198,37199,37201,37203,37207,37209,37214,37215,37217,37219,37221,37223,37211,37226,37227,37229,37230,37245,37238,37241,37242,37249,37251,37252,37254,37255,37258,37257,37259,37265,37266,37268,37276,37277,37279,37280,37281,37291,37284,37290,37288,37294,37282,37283,37285,37295,37305,37308,37315,37317,37320,37316,37322,37323,37318,37324,37325,37326,37328,37329,37330,37331,37332,37336,37334,37335,37340,37341,37342,37333,37343,37347,37348,37351,37364,37349,37356,37359,37362,37366,37372,37381,37383,37386,37387,37393,37396,37398,37400,37403,37406,37409,37421,37424,37429,37428,37445,39393,37435,37414,37442,37451,37459,37463,37467,37469,37472,37474,37455,37456,37453,37481,37485,37486,37494,37487,37489,37490,37488,37501,37491,37513,37515,37517,37524,37526,37527,37534,37532,37543,44515,37545,37548,37551,37554,37525,45238,37395,45435,37454,37560,37562,37566,37571,37569,37577,37578,37573,37581,37583,37588,37594,37600,37605,37607,37609,37613,37622,37626,37628,37631,37638,37606,37641,37608,37614,37615,37624,37625,37610,37623,37627,37629,37630,37632,37390,37633,37379,37643,37646,37647,37388,37380,37391,37392,37394,37397,37402,37418,37404,37405,37415,37419,37420,46538,37416,37430,37431,37443,37444,37446,37447,37452,37461,37462,37460,37465,37468,37470,37471,37473,37475,37476,37483,37484,37492,37482,37502,37516,37518,37521,47449,37533,37535,37522,37523,37544,37546,37549,37538,37539,37537,37550,37555,37561,37565,37567,37568,37572,37582,37570,37587,37589,37595,37590,37598,37596,37601,39581,37603,37365,37353,37352,37360,37361,37368,37370,37373,37661,37374,37650,37651,37652,37656,37659,37665,37674,37668,37669,37673,37682,37684,37666,37693,37675,37677,37680,37685,37681,37683,37653,37686,37688,37690,37691,37692,37654,37655,37657,37658,37660,37694,37704,37696,37698,37709,37663,37695,37700,37711,37714,37697,37699,37701,37705,37702,37703,37712,37713,37715,37716,37708,37718,37710,37720,37721,37724,37726,40638,37729,37731,37735,37738,37740,37745,37748,37737,37756,37759,37762,37766,37770,37773,37723,37728,37730,37767,37776,37732,37722,37778,37733,37734,37744,37736,37741,37742,37746,37747,37749,37750,37769,37757,37758,37764,37765,37772,37774,37763,37771,37784,37785,37779,37783,37786,37777,37787,37793,37794,37812,37798,37805,37791,37815,42562,37792,37817,37831,37825,37828,37837,37820,37841,37848,42563,37839,37881,37852,37854,37856,37859,37862,37871,37876,37878,37886,37865,37892,37901,37795,37806,37799,37807,37809,37811,37813,37814,37816,37819,37823,37824,37829,37830,37836,37838,37843,37832,37818,37850,37851,37853,37855,37846,37857,37860,37861,37847,37867,37849,37866,37874,37875,37879,37870,37880,37893,37899,37900,37873,37902,37903,37790,37906,37907,37908,37917,37921,37923,37935,37936,37939,37941,37947,37949,37952,37953,37954,37957,37960,37926,37912,37913,37918,37920,37961,37924,37927,37928,37931,37950,37944,37932,37933,37934,37942,37945,37951,37946,37958,37959,37969,37955,37962,37963,37956,37966,37968,37970,37986,37975,37977,37971,37972,37973,37976,37987,37980,37978,37981,37982,37999,37994,38006,38010,37989,37990,38012,38016,38020,38017,38018,38022,38023,38026,38033,38029,38038,38040,38041,38058,38052,38000,38055,38004,38008,38007,38009,38011,38013,38014,38021,38024,38025,38027,38028,38034,38030,38031,38032,38035,38036,38037,38039,38042,38049,38050,38051,38054,38056,38057,38059,38060,38061,38062,38063,38064,38065,38066,38067,38070,38075,38072,38089,38092,38094,38098,38073,38106,38108,38114,38117,38119,38102,38068,38069,38074,38077,38078,38079,38082,38083,38085,38088,38091,38093,38095,38099,38097,38100,38101,38103,38104,38105,38112,38113,38115,38120,38121,38122,38125,38127,38131,38139,38134,38143,38145,38149,38151,38126,38130,38146,38132,38133,38136,38137,38138,38144,38135,38147,38148,38150,38153,38154,38155,38161,38163,38166,38169,38171,38174,38176,38178,38186,49997,38188,38190,38193,50028,50029,50024,50023,50027,50030,50022,50031,38157,38156,50025,19523,19579,50018,50021,42950,42951,42957,42958,2,19534,19535,19528,19513,32377,32431,31989,31348,32358,30737,31307,32121,31929,30693,31651,31453,31552,30968,32417,31253,32209,31484,31774,31151,32207,32319,30750,38159,30791,31894,31250,31429,32383,38160,43744,32403,32134,43789,32002,31404,43910,43911,31354,31332,31023,32511,31648,30825,31488,36221,36222,36280,36281,30637,36246,36388,38162,31469,36524,30565,32268,37412,44445,38167,38168,38170,38172,38173,38175,38177,38187,38191,38192,44594,38213,38194,38195,38197,38200,38203,38208,38215,38217,38198,38199,38204,38209,38212,38218,38219,38206,38207,38223,38225,38232,38234,38222,38228,38240,38243,38252,38278,38257,38260,38263,38266,38269,38272,38273,38276,38282,38284,38288,38292,38295,38247,38311,38299,38301,38306,38308,38315,38318,38320,38321,38322,38326,38328,38330,38333,38336,38338,38340,38346,38360,38354,38356,38300,38302,38303,38304,38305,38310,38345,38319,38324,38325,38331,38332,38339,38347,38348,38361,38358,38359,38350,38231,38226,38362,38363,38224,38227,44862,44879,38233,38238,45044,33197,33205,33208,33223,33188,33318,33241,33319,33245,33268,33287,31168,31176,45405,45406,33395,33396,33375,33405,45522,45523,45574,45767,45771,49716,49717,33054,37719,33502,33505,33511,38516,33516,38625,38848,38849,38789,33128,33001,33531,33526,33527,33522,33555,33602,33572,33556,33619,33630,33636,33647,38242,38241,38244,33695,33670,33674,33684,33704,33708,33711,38245,33663,33751,33774,33775,33746,33747,33755,33759,33763,38246,38248,38264,38256,33876,38253,38254,38258,38261,38262,38270,38271,38274,38275,33818,33919,33948,33922,33902,33905,38285,38277,38283,38286,38287,38289,38291,38293,38294,34078,38296,34059,34060,34061,34320,34217,38297,38298,34342,34384,34398,34425,34462,34378,31522,30517,45781,32329,31887,31489,34009,31800,30913,30546,47073,31117,31958,49991,49992,37413,40099,40100,40127,32903,30973,31324,32424,40627,40647,40648,34773,48350,48351,48495,33042,48921,49112,33621,36220,34753,32157,32907,33099,38309,32168,34777,31688,34783,34786,34812,34840,34846,34850,34923,38368,38369,38371,38376,38380,38383,38370,35144,35145,35178,35254,35026,35090,35300,35623,35674,38390,35698,35719,35722,35707,38385,38387,35788,35826,35888,35989,38372,38374,38375,38378,38379,38382,38381,38384,38377,31939,35998,36050,35994,36012,36026,36029,36041,36067,36399,36438,36583,36653,36669,38386,38388,38391,36696,36901,36952,36833,36863,36884,36895,36920,36939,36940,36982,36983,36984,37127,37239,38400,37354,37355,37371,38405,38410,38392,38414,38420,38417,38422,38426,38429,38431,38434,38436,38442,38446,38438,38458,38450,38454,38455,32738,47432,48292,32950,32954,33005,33092,32889,33023,49990,50004,31465,47044,38461,32805,32821,38464,42192,32881,38452,38457,32920,30676,32812,33097,32976,33048,38401,31836,32453,30900,32988,33072,33082,38403,32937,33424,44039,38711,38712,32857,33436,38408,38409,38404,38411,38406,38415,38412,38413,32726,33846,38418,38419,38424,38425,38427,38428,38439,38440,38430,38432,38433,38435,38437,38394,38447,38395,38444,38448,38441,38465,38483,38486,38467,38466,38488,38474,38484,38485,38489,38490,38491,38512,38501,38504,38506,38509,38536,38545,32062,38520,38524,38526,38529,38531,38534,38539,38546,38547,38559,38549,38552,38553,38561,38564,38568,38570,43305,38572,38582,38574,43246,38578,38584,38533,38588,38590,38604,44092,44093,38592,38594,38596,38599,38602,30595,32541,32242,31417,31712,31029,31880,44073,31462,31134,31701,31576,32539,32532,30626,31266,31458,32296,30813,31234,32411,32022,31729,31114,32489,38589,31818,31579,31924,32886,32765,33016,33105,33121,38593,31194,31105,32136,31264,31119,33122,32507,31947,42949,31851,30943,31248,30727,30632,31455,30711,32502,31788,32300,32129,32515,30527,33786,32913,38595,33059,32978,33027,32758,32526,32364,30922,32828,32837,31823,32843,32867,44037,32871,48349,32006,44072,32877,32998,32796,32815,33892,45049,45048,40574,45770,36523,30608,38597,37095,37102,33634,35050,46237,38600,37821,38527,38528,38532,38537,38535,38541,38544,38548,38550,38551,38554,38563,38567,38562,38569,38571,38573,38576,38470,38577,38580,38581,38583,38575,38473,38471,38487,38500,38476,38477,38479,38480,38482,38494,38495,38497,38498,38502,38510,38511,38518,38519,38503,38505,38513,38514,38631,38521,38605,38522,38624,38523,38525,38620,38633,38608,38612,38636,38639,38642,38613,38616,45239,38618,38645,38637,38638,38630,38619,38622,38634,38635,38640,38641,45493,38643,38644,38649,38646,38647,38648,38652,38660,38654,38657,38674,38668,38671,38673,38669,38672,38661,38655,38656,38658,38662,38663,49677,38653,38675,38666,38650,38651,38667,38676,50000,50001,50002,38677,38679,37466,37493,38685,38682,37530,37644,37519,37547,37599,38691,38699,38723,37664,38713,37667,37676,38708,38716,38725,38729,38719,38732,37754,37717,38734,42887,37775,36270,38739,38736,36009,38744,37797,38742,38745,38746,38750,38752,38755,38758,38760,38692,38693,33251,47264,34688,38695,38565,38696,38697,38698,38701,38702,38703,38704,38709,38710,38714,38715,38717,38718,36415,37751,38720,38721,38724,38722,38726,37800,38727,38728,38733,38735,37808,38737,37940,38740,38738,38743,38748,38749,38751,38756,38757,38683,38684,38686,38741,38001,38086,38116,38129,38189,38210,38239,38259,38761,38764,38329,38389,38453,38421,38445,38449,38766,38768,38538,38542,38543,38623,38670,38659,38771,38774,38779,38784,38802,38799,38787,38777,38796,38803,38804,38805,38808,38813,38816,38822,38826,38836,38839,38842,38844,38850,38762,38763,38765,38767,38772,38773,38775,38776,38778,36739,34836,35121,34147,37591,39280,45780,39740,39812,33826,45404,49980,41958,42648,42955,43144,38809,38788,38810,38811,38812,38814,38815,38818,38823,38817,38819,38820,38821,38824,38825,38828,38829,38837,38838,38841,38843,38831,38832,38845,38846,40473,38827,38834,38835,38857,38855,38860,38861,38851,38852,38862,38865,38868,38872,38876,38856,38858,38859,38863,38864,38866,38867,38870,38871,38874,38875,38878,38879,38869,38877,38873,38885,38881,38882,38888,38886,38887,38892,38893,38894,38889,38890,38895,38896,44917,44918,44916,44861,33923,35028,35029,33947,46171,45520,34006,34011,37044,50006,36514,37045,37046,37047,46250,38909,38906,38908,38898,38899,38910,46746,38911,38912,38914,38915,38916,38913,38919,38920,38922,38923,38924,38925,38928,38930,38921,38932,38935,48768,38937,44606,38939,38942,38397,38945,38926,38927,38929,38931,34312,34722,38933,38934,38944,38211,33779,38946,38947,38948,37027,38949,40460,35041,36735,38951,38954,38956,38962,36622,38950,38965,34044,37202,33913,34052,38970,48987,38973,38975,33243,38977,38979,37457,49408,37458,34833,33838,41132,33154,42191,42359,42360,42946,42947,43909,36089,33853,33194,34399,37264,46788,49993,50003,34671,34684,33256,33259,38957,33937,34679,33429,33432,33426,38958,38960,38961,38963,33341,37139,38964,38966,33274,34693,38967,38971,38972,38974,38978,38982,33500,38983,35033,35150,36197,37635,37929,33692,38985,38986,47850,38987,38990,38992,38994,35206,38996,37222,34720,38555,35161,35197,39244,40098,38968,36074,38999,33613,44857,39003,39006,33657,43252,34250,35792,34264,33446,35794,35795,35796,49846,35923,34310,37094,33688,33785,33924,33806,34012,42257,43743,36013,44094,33228,36279,49985,33249,35070,35071,34522,33262,33281,33288,33812,37889,39018,39008,39012,39019,34040,39020,39021,39026,36429,39029,39031,39034,39038,34738,37602,46702,39044,37149,39047,36923,39050,39053,39055,44954,37810,34821,36733,38255,36186,37244,33668,41150,43226,33609,33642,45812,35281,36313,34162,36663,34956,36320,33561,37289,33216,49111,35226,39063,39059,39065,39067,39070,39073,38629,39075,49334,34763,34752,37287,39080,35304,37389,39077,39087,34835,34860,33189,33397,38847,38096,35141,34030,34534,34491,35391,33503,35271,35302,33528,34325,33209,35611,35649,41683,39092,33709,33957,35968,34323,34756,35810,39094,39097,39098,34485,34419,34742,39102,39105,34345,36008,38481,39114,34348,39115,39117,39120,33842,44091,44811,44810,33869,37477,37302,39124,44878,36219,33963,34636,33435,39127,39128,39130,39131,39134,34527,35076,49989,36670,36679,34368,34632,36964,49515,33149,33150,33383,33336,39136,39139,39141,39144,33537,33625,33726,33559,33626,39146,33627,33727,33728,33946,33857,33907,33888,33889,33992,34000,33950,33951,33994,33993,34190,33764,34187,34188,34222,34296,37116,35068,33297,37108,35686,37540,37129,39095,39096,39100,39101,39107,36030,37081,33278,35463,39108,35398,37411,37506,43030,33192,35637,33862,34508,39118,33231,45766,49995,34353,39109,39116,39121,39119,39122,39123,39125,39126,39132,39133,39135,39137,39138,39142,39143,38988,34940,34935,38991,34944,34947,34950,38989,38995,39000,39001,39009,33212,39002,39013,39004,39005,39007,39014,39010,39011,39016,39017,39022,37620,36355,37597,38236,39023,39024,39025,33357,39035,39027,39028,39030,39032,39033,34967,39048,39036,39037,39049,39039,39046,39045,39051,39052,39054,39057,39078,39060,39058,39061,39062,39064,39066,39069,39071,39072,39074,39076,39079,35189,39088,39083,39089,39090,39148,39149,39147,39176,39150,38472,39157,39163,39166,39170,39173,39180,39182,39185,39200,33909,39194,39203,35295,39188,39190,39192,39197,39204,35334,35337,35338,39209,39212,39215,39205,39206,39217,47601,35368,35369,35372,37687,37796,39220,39222,35552,34138,39230,39234,39235,39239,39242,39246,39248,39250,39253,39265,35484,36970,37563,39256,39260,39263,39268,39271,39274,39277,39292,39278,39279,39281,39283,39286,39297,39299,39302,39305,35827,39151,35635,39155,39156,39161,39309,39152,39153,39167,36136,39165,39168,39169,39162,39171,39172,39177,39175,39178,39179,33265,39181,39183,39184,39189,39193,39198,39199,39210,39211,39213,39214,39216,39218,39201,39231,39219,39221,39223,39224,39228,39229,39232,39233,39237,39238,39247,39251,39252,39258,39291,36292,39259,39261,39262,39266,39269,39270,39273,39282,39288,39289,39298,39300,36949,36958,36114,36697,39314,39301,39307,39308,39310,39317,37564,39316,37503,39315,39318,39319,39320,38402,36065,38048,33896,38833,45403,44639,39321,39323,39325,39326,39322,39328,39331,35607,34984,39327,39324,39329,39330,37868,39336,39335,39338,39332,33239,39333,39343,39337,39339,39340,39346,34657,34198,39342,39355,39356,39348,39364,39351,39367,39353,39354,38478,35246,39365,39366,39371,39373,39377,39379,39381,39384,39387,39390,39392,39394,39397,39399,39374,39375,39376,39378,39380,39382,39383,39385,39386,39389,39391,39395,39396,39405,39398,39400,39402,39403,39404,39412,33986,36667,39408,39409,39415,39417,33350,36394,37417,39419,39420,39422,39406,39407,39410,39411,39413,39425,39426,39414,39416,39418,39423,39429,39432,39435,39439,39440,33482,39443,39445,39451,39457,39458,39460,39462,39465,39480,39468,39472,39475,39477,45240,33639,34382,33822,39430,33551,39492,39484,39486,39488,39489,39496,38880,39522,39498,39502,39510,39513,39515,39520,37179,37872,39525,39531,39539,39541,39544,39547,39528,39536,39015,33860,39549,39551,39552,39555,35768,39562,35802,39559,39565,39571,39572,39575,39578,34896,39579,36637,39577,39580,39582,39585,39588,39290,39601,38984,38249,38393,39590,39595,39596,39599,39607,36678,39604,39561,39563,39564,39566,39567,39573,39560,39593,39431,39594,39574,39583,39584,39597,39598,39600,39605,39606,39428,39433,39434,39437,39438,39441,39442,39444,39447,39453,39454,39459,39461,39464,39466,39463,35502,39469,36999,39467,39470,39471,39473,39474,42543,35555,39481,39476,39478,39479,39485,39487,39490,39491,39493,33491,39495,39497,39503,39504,39505,39511,39512,39517,39518,39519,39521,36494,39530,39526,39527,39533,39534,39535,39540,39542,39524,39532,41688,33660,39543,39548,39550,39553,39554,39557,39558,39608,36664,39615,39613,39614,39616,39619,39623,39626,39628,39629,45918,39633,39634,39631,39635,39636,39618,39627,39630,39646,36530,34168,38614,39637,39638,39642,35755,33310,36278,39649,39652,39654,39659,39662,39663,39657,37988,38373,39678,39681,38003,39670,39672,39675,39666,39679,39695,33182,33485,39683,39685,39686,39688,39691,39694,39696,39704,39699,39701,39710,39711,39714,39717,39720,39658,34776,39722,39650,39651,39660,39661,39664,39665,33637,39697,39669,39673,36926,39689,39671,39690,39692,39693,39698,39700,36311,38515,35234,39702,39703,38664,39708,39709,39712,39713,39718,39719,39721,39643,39723,39725,39644,39645,39648,39728,33735,39647,39726,39730,39738,39732,39733,39736,39750,39754,39759,39741,39743,33455,39745,39748,39749,39757,39766,37556,33803,38980,37132,39764,34804,36617,39776,39772,39769,39773,39777,37271,41066,37974,39778,39779,39781,39782,39785,39788,39800,39792,39806,36261,49715,39791,39795,39797,39802,33495,39813,37369,39807,39809,39810,39816,39820,39818,39632,39822,39833,39834,39825,39828,39831,39835,39839,36223,33235,36857,39850,39841,39844,39847,39848,33408,38900,39868,39853,39856,39859,39861,39865,39737,39739,33334,38076,33296,39742,35459,39744,39746,39747,39755,39568,33499,39761,39762,39763,39756,39758,39765,33624,33970,39770,39771,39780,39783,37911,37580,37898,37914,37919,39784,39786,37930,39787,39796,39804,39793,39805,39808,39817,39819,35360,39836,37743,38002,39829,39830,39837,39838,36471,38493,38469,39842,39843,39840,39846,39849,39851,37925,38111,38891,38152,33800,39852,35500,36019,37678,39854,39855,39857,39858,39860,39863,39870,39871,39864,39866,39867,39869,39872,39862,38081,38290,39875,39877,39881,39884,39886,39889,39892,39894,39878,39896,39899,39900,39873,39874,39879,39882,39883,39901,39885,39887,39888,39890,39891,39893,39895,39902,37780,38181,38496,39907,39903,39904,39227,39908,39912,36265,39915,39917,39905,39906,39909,39910,39911,39913,37768,39919,33509,39914,39916,39918,45125,37147,34513,39922,39926,39929,39931,39936,37510,37992,37844,38019,38781,33544,33420,39370,39939,39953,39956,33593,39944,39947,39950,39960,39958,35000,35984,39963,39965,35403,39968,34669,39971,45521,37520,35287,36878,33977,35147,38897,33376,38959,38205,39955,39987,39983,39990,39974,39991,39977,39979,39988,39989,37943,36247,40008,39996,38617,39993,39994,40024,40009,40010,40014,40017,40019,33933,40022,40037,40040,36426,40049,37706,40043,40053,37616,40055,39976,40048,38694,36773,35394,38087,38611,40059,39592,38687,38830,33523,43788,40061,40064,40065,40068,40070,40073,40076,40060,34064,40080,40063,40066,40062,40067,37983,36117,37840,40069,40074,40075,37210,40077,35655,40078,40079,39937,39938,39941,39942,39943,39945,39946,39948,39448,33443,33900,39427,39949,39951,39954,39952,39957,39959,39964,39980,39966,39967,33906,39973,39975,39969,39970,40000,39981,39982,39995,40001,40007,40016,40018,40020,40021,40023,40030,40031,38607,40036,39999,40041,40042,33628,40045,33565,34536,36124,36694,40046,40047,40054,38499,38084,33315,40056,40057,33847,37967,38517,38343,33392,39707,39920,39921,40058,39923,39924,39925,39927,39928,34988,35922,33944,39932,36032,39930,40083,40084,37645,40086,40087,40088,40085,34525,40089,36112,36525,33656,36885,40090,40091,40092,36896,37834,38015,40093,40095,33829,40094,40101,40096,33685,40097,37084,40103,40104,36142,40102,36236,40105,40106,40107,33373,40108,40109,40111,40114,40115,40044,40116,40110,40113,40112,40129,40119,40122,40125,40126,40124,40128,40121,40123,40134,40138,40130,40141,40144,40136,40137,40135,40145,40147,40149,40156,40160,40166,40139,40140,40142,40143,40148,40150,40169,40170,36987,40151,40152,40158,40159,40162,40167,40168,40157,33416,40172,40176,40178,40180,40183,40190,40192,40196,40198,40200,40204,40206,40226,40216,40218,40220,40223,40229,40233,40236,40237,40174,40175,40177,40179,40181,40182,40184,40185,40191,40194,40195,40197,40193,40173,40199,40202,40203,40205,40207,40208,40217,40224,40225,40227,40228,40230,40231,40232,40201,40240,40238,40244,40246,40249,40257,40260,40242,38700,40251,40269,40264,40267,40272,40275,40278,40281,40283,40284,40287,40292,33577,40290,33382,40297,40302,40300,40306,40307,40310,40313,40308,40309,40311,40312,33329,33291,40314,40315,40243,40245,40247,40248,40250,40258,40259,40262,40263,40273,40265,40266,40268,40274,40276,40277,40279,40280,40285,40286,40288,40289,40291,40294,40295,40296,40298,40301,40323,40293,40303,40304,37895,40325,40328,40335,40337,40348,40336,40345,40344,40351,40353,40359,40361,40364,40366,40369,40349,40350,40352,40354,40355,40362,34819,34820,40363,40365,40367,40368,40370,40372,40373,34407,34426,34408,34427,34428,34817,40399,40378,40381,40384,40377,40392,40398,40401,40402,40400,40409,40412,40418,40406,40429,40397,40422,40424,40425,40432,40436,40438,40465,40442,40458,40484,40466,40470,40478,40479,40489,40496,40499,40504,40481,40508,40511,40516,40519,40521,40523,40525,40527,40533,40530,40540,40543,40505,40545,40567,40552,40558,40562,40565,40569,40443,40444,40556,40572,40459,40472,40476,40477,40480,40482,40483,40486,40487,40488,40490,40497,40498,40500,40475,40509,40510,40513,40514,40515,40520,40524,40526,40528,40529,40531,40532,40535,40534,40506,40507,35034,40537,35061,35066,35067,40538,40539,40541,40542,40387,35063,40544,40557,40566,40379,40380,40382,40383,40385,40393,40394,40404,40405,40410,40411,40420,40421,40403,40427,40428,40430,40431,40434,40435,40437,40573,40575,40576,40577,40426,40439,40579,40581,40580,40589,40596,40587,40592,40603,40609,40613,40583,40620,40621,40628,40630,40622,40637,40639,40642,40654,40656,40660,40618,40624,40663,40664,40667,40701,40676,40682,40685,40688,40691,40699,40679,40703,40704,40710,40717,40724,40719,40730,40707,40588,40590,40714,40705,40591,40594,40595,40604,40605,40612,40614,40615,40619,40623,40629,40631,40626,40593,40625,40640,40641,40661,40662,40666,40668,40669,40665,40633,40634,40635,40636,40678,40684,40686,40687,40689,40690,40692,40693,40702,40706,40708,40709,40683,40677,40712,40713,40716,40718,40721,40722,40723,40725,40582,40585,40586,40711,40720,40735,40737,40742,40744,40738,40739,40743,40745,40746,40748,40749,40750,40751,40755,40756,40757,40758,40761,40763,40765,40769,40771,40774,40778,40780,40792,40795,40798,40803,40788,40776,40802,40820,40823,40807,40810,40813,40816,40829,40840,40842,40845,40848,40851,40852,40854,40856,40824,40872,40875,40877,40881,40883,40885,40866,40891,40879,40869,40890,40898,40901,40904,40906,40909,40912,40915,40925,40926,40927,40903,40920,40921,40922,40923,40947,40943,40931,40934,40941,40937,40945,40928,40929,40973,40951,40954,40957,40965,40967,40970,40976,40983,40985,40988,40992,40982,40955,40956,40966,40969,40971,40968,41000,40972,40974,40975,40978,40979,40980,40981,40987,40990,40991,40994,40995,40977,40989,40764,40770,40777,40779,40781,40793,40794,40796,40797,40800,40801,40805,40806,40808,40809,40811,40812,40814,40815,40817,40821,40822,40831,40832,40838,40839,40843,40844,40849,40850,40857,40858,40867,40868,40873,40874,40876,40878,40882,40884,40886,40887,40893,40899,40900,40902,40905,40907,40908,40910,40911,40913,40914,40916,40932,40918,40933,40935,40936,40942,41001,41002,41004,40949,40950,40948,41013,41019,41024,41021,41003,41006,41007,41014,41015,41020,41005,41011,41025,41027,41022,41023,41032,41035,41038,41041,41044,41028,41047,41048,41050,41053,41056,41058,41060,41057,41071,41033,41034,41036,41037,41040,41045,41046,41049,41051,41052,41059,41061,41062,41076,41078,41084,41087,41093,41097,41101,41082,41083,41081,41085,41086,41096,41099,41100,41102,41103,41115,41117,41118,41119,41109,41114,41152,41127,41129,41135,41139,41141,41143,41125,41126,41128,41130,41131,41140,41142,41155,41158,41161,41163,41165,41168,41172,41175,41177,41181,41196,41184,41187,41188,41191,41193,41197,41200,41206,41205,41185,41186,41190,41192,41194,41195,41198,41199,41201,41202,41207,41156,41157,41162,41189,41164,41166,41167,41170,41171,41173,41174,41176,41179,41180,41169,41178,41209,41210,41211,41212,41226,41217,41219,41225,41218,41220,41221,41227,41228,41213,41232,41245,41238,41240,41243,41233,41239,41241,41242,41230,41231,41234,41246,41247,41248,41257,41262,41254,41259,41264,41265,41249,41268,41272,41255,41256,41258,41269,41273,41274,41280,41277,41281,41282,41288,41290,41294,41299,41300,41301,41305,41308,41285,41284,41311,41286,41292,41293,41296,41306,41309,41310,41295,41312,41313,41298,41303,41291,41314,41315,41316,41319,41323,41325,41332,41336,41339,41317,41318,41320,41322,41324,41327,41328,41334,41335,41337,41338,41340,41341,41343,41348,41326,41354,41358,41359,41361,41363,41365,41355,41356,41357,41362,41364,41350,41349,41368,41367,41371,41378,41381,41384,41387,41389,41391,41374,41366,41397,41372,41373,41379,41380,41382,41383,41390,41393,41394,41396,41395,41392,41411,41399,41400,41409,41410,41398,40419,41412,41417,41416,41420,41424,41419,41425,41434,41436,41440,41441,41444,41453,41457,41470,41473,41475,41476,41479,41482,41485,41488,41515,41522,41496,41500,41505,41508,41512,41504,41524,41534,41528,41541,41544,41545,41546,41550,41553,41555,41530,41560,41563,41566,41569,41573,41583,41586,41589,41591,41601,41604,41606,41609,41611,41597,41594,41598,41614,41474,41477,41478,41480,41481,41483,41484,41486,41487,41490,41491,41498,41499,41502,41503,41506,41507,41510,41511,41513,41514,41535,41536,41523,41529,41532,41533,41542,41531,41543,41548,41549,41551,41552,41556,41561,41562,41568,41571,41572,41584,41585,41547,41588,41590,41592,41593,41595,41596,41602,41603,41605,41607,41608,41610,41435,41438,41439,41442,41443,41445,41446,41451,41452,41455,41456,41458,41460,41463,41469,41616,41617,41618,41454,41621,41624,41627,41638,41640,41631,41643,41634,41660,41664,41668,41647,41651,41653,41657,41658,41671,41673,41676,41690,41685,41687,41693,41696,41699,41703,41706,41709,41659,41716,41719,41655,41656,41721,41654,41648,41672,41675,41677,41678,41686,41694,41695,41697,41698,41700,41707,41708,41711,41632,41722,41619,41620,41622,41623,41626,41628,41629,41630,41625,41633,41639,41641,41726,41731,41734,41736,41738,41740,41743,41746,41749,41752,41755,41761,41766,41774,41776,41777,41780,41771,41758,41782,41785,41788,41795,41797,41800,41806,41810,41814,41816,41819,41809,41822,41727,41747,41753,41754,41756,41757,41759,41760,41762,41764,41767,41768,41750,35172,35073,35413,41772,41773,41778,41779,41781,35179,35383,35181,35182,35385,35180,35404,41783,41784,41786,41787,41789,41790,41798,41799,41804,41805,41807,41811,41815,41817,41818,41820,41851,41827,41829,41832,41834,41836,41840,41843,41847,41849,41825,41853,41856,41859,41861,41865,41867,41869,41871,41874,41876,41878,48293,41882,41885,41888,41889,41873,35416,41901,41904,35419,35420,35423,35424,41894,41895,41896,41898,41899,41900,41902,41903,41857,41858,41860,41862,41863,41868,41870,41872,41875,41877,41880,41881,41883,41884,41891,41892,41893,41828,41831,41833,41835,41838,41839,41841,41842,41844,41848,41852,41854,41855,41850,41909,41921,41915,41916,41919,41912,41918,41927,41930,41934,41941,41943,41936,41925,41961,41970,41968,41947,41950,41953,41955,41963,41965,41973,41977,41979,41981,41978,41989,41992,41995,41998,42000,42003,42005,42007,42009,42012,42015,42021,42025,42026,42033,42038,42039,42040,42041,42044,42048,42051,42057,42036,42059,42063,42065,42068,42072,42076,42079,42082,42084,42060,42090,42058,42093,42095,42098,42101,42108,42104,42037,42053,42128,42124,42115,42116,42119,42122,42131,42134,42138,42140,42142,42145,42147,42151,42152,42153,42154,42123,42165,42155,42157,42159,42160,42162,42169,42172,42173,42143,42167,42150,42177,42179,42182,42186,42195,42199,42201,42204,42158,42161,42163,42206,42164,42168,42170,42171,42175,42176,42178,42180,42181,42196,42174,42197,42198,42200,42202,42205,41984,41987,41988,41990,41991,41993,41994,41996,41997,41999,42016,42001,42002,42004,42006,42008,42010,42011,42013,42014,42017,42018,42020,42023,42024,42027,42028,42035,42042,42043,42046,42052,42064,42066,42067,42069,42070,42071,42074,42075,42077,42078,42080,42081,42083,42085,42086,42091,42092,42094,42096,42073,42097,42099,42102,42103,42120,42121,42125,42126,42127,42129,42130,42132,42133,42136,42137,42139,42141,42144,42146,42148,41917,41920,41928,41929,42135,41932,41933,41935,41938,41937,41939,41940,41942,41945,41969,41946,41948,41949,41951,41952,41954,41956,41957,41964,41966,41967,37998,41971,41972,41976,41980,42207,42208,42209,42210,42211,42212,42215,42217,42219,42222,42227,42229,42240,42236,42238,42213,42214,42216,42220,42221,42223,42237,42239,42241,42242,42243,42250,42245,42246,42247,42248,42249,42254,42252,42253,42251,42256,42258,42260,42262,42266,42271,42273,42277,42279,42282,42284,42286,42289,42298,42322,42320,42306,42300,42302,42301,42310,42314,42317,35579,35450,42337,42325,42340,42327,35557,42348,42356,42364,42369,42352,42375,42383,42379,42385,42361,42391,35508,35569,35570,35571,35574,35575,35578,42387,35580,35581,35584,42394,42397,42399,42402,42406,42408,42411,42414,42420,42425,42434,42437,42440,42442,42445,42417,42338,42341,42451,42261,42255,42329,33160,33161,33171,33172,33201,33414,33415,33441,33442,33453,33454,33643,33644,33677,33678,33632,33633,33691,33768,33770,33721,33722,33723,42455,33810,33811,33884,33885,33895,33928,33929,33931,33932,33975,34063,42462,42466,42457,42469,42472,42476,42459,34211,34212,34214,34219,34228,34230,34240,34245,34259,34262,34263,34309,34317,34306,34307,34338,34339,34344,34352,42480,42482,42481,34354,34357,34358,34360,34361,34363,34365,34366,34369,34371,34372,34390,34391,34388,34421,34444,34445,34447,34449,34450,42263,34486,34487,34498,34504,34507,34519,34745,34750,34751,34714,34716,34719,34727,42264,34761,34766,34767,34769,34792,34755,34797,34802,34803,34805,34806,34808,34814,34815,34825,34826,34828,34842,34872,34873,34875,34876,40963,40964,40984,42265,42268,42269,42270,42267,41042,41043,41055,41072,41079,41080,42275,42276,42278,42280,42281,42274,41107,41088,41094,41095,41110,41137,41138,41144,42283,42285,41145,41159,41160,41236,41237,41244,42290,42293,42292,42287,41260,41261,41266,41267,41289,42304,42305,42303,42307,42295,42323,41352,41353,41369,41370,42312,42313,42315,42316,42318,42319,42321,41388,41422,41423,42324,42349,42326,41525,41554,41564,41565,41567,41613,41649,41650,41652,41642,42350,41645,41646,41704,41705,41717,41718,41733,41741,41742,42351,42353,42354,42355,41823,42358,42362,42363,42365,42377,42378,42381,42382,42384,42357,42376,42380,41846,41886,41887,41923,41924,42047,42049,42050,42061,42062,42106,42107,42100,42118,42225,42226,42230,42231,42386,42388,42390,42392,42233,42234,42235,42296,42259,42272,42288,42297,42403,42393,42395,42396,42398,42400,42401,42404,42405,42407,42409,42410,42418,42412,42415,42416,42419,42422,42423,42424,42426,42427,42435,42438,42436,42443,42444,42446,42447,42430,42432,42456,42453,42463,42464,42465,42470,42471,42483,42477,42474,42475,42491,42494,42498,42496,42501,42507,42505,42484,42510,42514,42528,42517,42520,42525,42532,42535,42538,42541,42546,49568,42549,42539,42540,42542,42547,42548,42499,42500,42508,42509,49650,42512,42515,42516,42518,42519,42521,42522,42523,42524,42526,42487,42527,42534,42537,42488,42530,42531,42529,42533,34878,34890,34892,34894,34895,34902,34907,42495,42550,42492,34912,34914,34915,34919,34925,42551,34986,34987,35013,35015,35031,35149,35153,35154,35160,35164,35207,35208,35210,35232,35233,35239,42554,42552,42553,42555,35245,35256,35266,35312,35314,35315,35335,35833,42567,42556,42558,42564,42559,42560,42557,35839,42561,35437,35438,35457,35458,35483,42565,42566,42570,42568,42569,35512,35513,35514,35498,35499,35509,35519,42572,35565,35583,35589,35600,35601,35619,35620,42575,42571,42573,42574,35648,35654,35713,35714,35728,35730,35731,35762,35763,35809,42576,42577,42580,42583,42586,42588,42597,42604,42595,42601,35811,35822,35823,35838,35848,35891,35921,35927,35928,42609,42614,42621,42612,42618,42611,35945,35946,35950,35951,35956,35957,35959,35960,36007,36021,42623,36093,36094,36098,42578,42579,42581,36122,36239,36240,36254,36259,36260,36264,36275,36290,36307,36330,36335,36336,36356,42582,42584,36357,36405,36406,36422,42585,42587,42590,42591,42596,42598,36427,36428,36469,36470,36487,36488,36509,36510,42602,42603,42605,42610,42616,42617,36540,36548,36549,36551,36553,36554,36565,36567,36615,36616,36641,36711,36712,42620,42622,42624,42627,42619,36836,36837,36787,36794,36847,36849,36850,36868,36869,36891,36892,42629,42631,42632,42635,42638,42642,42649,42655,42643,42652,42644,42650,42651,42663,42656,42657,42633,42634,42636,42658,42637,42628,42630,42639,42640,43364,42641,42664,42665,42666,42667,42668,42670,42673,42687,42676,42679,42682,42684,42686,42690,42693,42721,42696,42699,42702,42705,42708,42711,42713,42717,42726,42722,42727,42729,42732,42735,42737,42741,42740,42743,42745,42748,42752,42754,42756,42669,42671,42672,42677,42674,42675,42678,43757,42680,42681,42683,42685,42688,42689,42691,42692,42697,42698,42700,42701,42703,42704,42706,42694,42707,42709,42710,42712,42715,42716,42719,42720,42728,42730,42731,42733,42714,42734,42736,42739,42744,42746,42747,44045,44046,42750,42751,42753,42755,42757,42758,42749,42762,42760,42765,42759,42763,42764,42761,42767,42768,42769,42766,42772,42781,42775,42777,42779,42770,42771,42773,42774,42776,42778,42780,42790,42784,42796,42800,42803,42805,44482,44483,42809,42799,42811,42813,42810,42812,42791,42786,42814,42785,42797,42792,42798,42801,42802,42804,42816,42817,42806,42815,42818,42828,42829,42832,42838,42841,42834,42835,42836,42844,42845,42848,42850,42852,42858,42865,42868,42872,42874,42876,42913,42911,42879,42884,42916,42918,44951,42919,42921,42923,42925,42927,42933,42920,42929,42931,36922,36935,36936,36948,36963,36986,42936,42939,42942,42952,42965,42967,42966,37019,37022,37023,37065,37066,42977,37098,37106,37107,37131,37171,37172,42831,42833,42840,42842,42843,42846,42847,37205,37247,42849,42851,42854,42860,42873,42875,42880,42885,42886,42914,42866,37286,37338,37339,37350,37357,37358,37363,37384,37385,37399,37408,37410,37514,42915,35985,36033,36034,37552,37553,37558,37559,37579,37611,37612,37639,37640,37604,37670,37671,42917,42924,42922,37672,37739,37760,37761,37826,37827,42926,42928,42934,42935,42938,42930,37863,37864,37877,37891,37915,37916,37937,37938,42940,42941,37948,38071,42944,42945,42953,42954,42962,42991,42943,42981,42978,38107,38109,38110,38118,38123,38124,42998,42980,42992,42993,42995,38141,38142,38164,38165,38179,38180,38202,42996,42997,42999,38214,38216,38235,38265,38267,38268,38307,38316,38317,38327,38334,38335,38337,38341,38342,38459,38460,38462,38463,38530,38468,38492,38507,43000,43003,43004,38598,38601,38632,38609,38610,38730,38731,38753,38754,43010,43015,43024,43027,43006,43020,43007,38759,38769,38770,38780,38782,38783,38785,38840,38907,38918,38936,38938,38955,38969,38976,38993,38997,38998,39084,39085,43040,39093,39104,39129,43034,39140,39145,39158,39159,39174,39191,39240,39241,39243,39249,39254,39255,39267,39275,39276,39303,39304,39368,39369,43045,43047,43049,43013,43014,43017,43018,43019,43025,43026,43016,43054,43028,39576,39586,39587,39589,39591,39545,39546,43029,39617,39621,39622,39625,39653,39655,39656,39674,39676,39677,39680,39682,39684,39687,39715,39716,39767,39768,39790,39798,43036,43037,43038,43039,43035,39799,39801,39821,39826,39827,39832,39845,39876,39880,39897,39898,39933,39934,39935,40071,40072,39961,39962,39978,40146,43046,43048,43050,43051,43052,43053,43055,43056,40219,40221,40222,40234,40235,40241,40252,40253,40270,40282,40339,40357,40271,43057,40358,40360,43062,40423,40440,40441,43060,43066,40456,40457,40517,40518,40522,43072,43086,43090,43082,43069,43099,43093,40546,43108,43106,43107,43109,43104,43112,43115,45241,43120,43124,43126,43128,43132,43136,43141,43138,43146,43149,43151,43153,43175,45242,43155,43158,43161,43163,43166,43169,43173,43176,43177,43178,43182,43185,43194,43196,43188,43190,43197,43200,43203,43206,43065,45693,43105,43184,43221,43195,43211,43214,43217,43229,43231,43157,40547,40554,40555,40563,40564,40570,43235,43239,43244,43253,40571,40617,40644,40645,40658,40659,43212,43213,43216,43219,43220,43218,40680,40681,40700,40736,43236,40762,43222,43223,43230,43233,43234,40790,40791,40767,40768,40775,40841,40846,40847,40853,40919,43237,43238,43240,43241,43242,43243,43067,43064,43058,43059,43061,43068,43070,43071,43073,43088,43089,43092,43094,43101,43102,43103,43110,43087,43091,43100,43111,43113,43114,43116,43140,43123,43125,43127,43130,43131,43134,43135,43137,43142,43121,43147,43148,43150,43152,43154,43156,43159,43160,43162,43165,43167,43168,43171,43172,43174,43180,43181,43183,43186,43187,43189,43192,43193,43198,43199,43201,43202,43204,43205,43208,43209,43210,43293,43288,43297,43269,43275,43280,43284,43291,43300,43272,36282,36073,36107,36284,36285,36303,36283,36302,43322,41459,43309,43312,43319,43326,43329,43331,43333,43336,43344,43347,43351,43356,43361,43366,43369,43371,43373,43376,43379,43385,43387,43391,43393,43395,43403,43402,43405,43408,43399,33152,33153,33335,43411,37423,33359,43122,37782,33294,37422,33419,33360,33422,33736,33737,34195,34196,34197,36988,37679,39436,43419,43420,43416,43424,43427,43421,43422,43436,43430,43433,43437,43439,43442,43444,43454,43455,43460,43463,43465,43467,43468,43450,43447,43475,43490,43489,43493,43479,43482,43486,43496,33155,43499,34588,35053,35507,33693,43505,40120,43480,43481,43484,43485,43488,38451,43483,43478,43170,42367,43491,43492,43495,43497,43494,43498,43500,34266,33701,43510,43273,33998,43270,39187,43501,43506,43507,43513,43260,43261,43271,33753,43276,43277,43282,43283,43286,43287,43289,43290,43292,43298,43301,43302,43281,40599,43310,43320,40646,43311,43314,40474,43321,43327,43328,43313,43332,43334,43335,43338,43339,43345,43346,43349,43350,43352,43348,43367,43368,43370,43372,43374,43375,43377,43378,43380,43386,43389,43388,43390,43392,43394,43397,43398,43404,43406,43407,43409,43410,43413,43414,43415,43418,43423,43426,43429,43432,43434,43435,43438,43440,43441,43443,43445,43446,43428,43456,43461,43462,43464,43466,43469,43452,43453,43458,43521,43522,43526,43524,43525,43527,43401,43529,43530,43523,43528,33162,36414,33292,36321,36345,36346,36348,36402,43531,43532,43533,33848,43602,35142,43557,43534,43536,43540,43546,43550,43553,43555,43559,39516,43576,43563,43579,43582,43596,43570,43565,43585,43600,43603,43611,43615,43620,43632,43607,43617,43630,43636,43626,43642,35247,35248,43638,43640,43644,43648,43651,43655,42608,36339,43264,37376,37377,43658,43661,43665,43667,43668,43551,43674,43696,43681,43672,43679,43686,43673,43680,43684,43685,43694,43695,43535,43538,43539,43542,43548,43549,43552,43554,43556,43541,43547,43564,43560,43561,43577,43578,43581,43558,43583,43584,43586,43587,43598,43599,43601,43605,43604,43597,43606,43613,43614,43616,43618,43619,43621,43622,43627,43628,43612,43645,43633,36075,36076,43631,43634,43635,43637,43639,43641,43643,43646,43669,43652,43647,43649,43650,43654,43657,43659,43660,43662,43663,43664,43666,43670,43671,43699,43703,43717,43707,43724,43728,43701,43730,43733,43736,43739,43700,43702,43706,43719,43720,43726,43727,43729,43708,43725,43732,43734,43735,43738,43741,43742,43745,43749,43752,43746,43740,43731,43771,43750,43751,43758,43760,43762,43764,43767,43775,43759,43761,43763,43776,43768,43766,43769,43770,43773,43774,43777,43778,43779,43798,43781,43784,43785,43790,43792,43795,43799,43782,33186,43800,43801,43805,43811,43814,43815,43818,43821,43825,34975,34960,34997,34971,35094,35095,43828,38680,38681,43846,43837,43830,43834,43840,43853,43856,43843,35316,43829,43858,43861,38407,41931,39264,41283,41321,36445,36562,36563,36570,43868,43881,42956,43865,43872,43878,43885,43886,43887,43890,43893,43895,43896,43898,33649,43900,33413,48348,33195,48844,39164,38606,35306,33761,33536,33326,33358,33203,34857,34216,34305,34729,34811,35395,34788,36547,37125,36056,36194,37557,37642,37464,38747,38621,38443,38475,38357,39972,39803,39529,39789,40986,41421,41054,41098,41235,42441,36610,36611,36599,36601,43904,43907,43912,43916,43938,43941,43914,43955,43960,43956,43963,43966,43957,35608,35609,36128,35610,43981,43976,43970,43977,43978,43979,43971,43972,43980,43786,43787,43791,43793,43794,43796,43797,43803,43804,43807,43802,35573,33213,35590,43822,43813,43831,35591,43816,43817,43820,43823,43824,43826,43827,43819,43836,43841,43842,43844,43845,43848,43849,43854,43855,43857,43859,43832,43833,43847,43860,43863,43864,43866,43867,43873,43879,43880,43869,43870,43891,43892,43862,41123,43894,43899,43905,43906,43908,43917,43928,43933,43934,43939,43940,43945,43968,43961,43962,43964,43965,43967,43983,43969,43992,43997,43999,43990,44002,44004,44008,44010,43984,43991,43994,43995,43996,43998,44016,44000,44001,44006,44007,44009,44011,44012,44017,44018,44019,44005,44014,44003,33225,33991,44050,44047,44054,44062,44063,44065,44041,35511,34261,37727,34076,37180,36962,36078,34017,40657,40892,44066,44078,38140,44089,41136,44105,44121,44097,44107,44108,44111,44114,44117,44118,44124,41092,44021,44026,44029,44042,44043,44048,44049,44056,44057,44071,44020,44024,44055,44090,44099,44100,44109,44110,44112,44113,44115,44116,44120,44122,44123,44119,36293,36626,36627,33705,36628,36631,34552,44131,44127,44132,44133,44134,44135,44129,44130,44126,44128,35576,44136,44143,44147,44149,44150,44138,44152,44154,44145,44146,44148,36688,44155,44158,44161,44163,44144,37979,38158,44183,38185,44167,44170,44174,44177,44180,44186,44204,44192,44193,44197,44201,44207,44211,44218,44222,44224,44156,44157,44160,44162,44165,44166,44168,44169,44172,44173,44175,44176,44178,44179,44181,44182,44187,44188,44195,44196,44198,44199,44200,44203,44205,44206,44194,42937,44209,44210,44213,44220,44221,44223,44225,44208,44237,44229,44230,44228,44231,44238,44239,44254,44244,44263,44258,44261,44241,44242,44264,44268,44259,44260,44262,44269,44270,44271,44273,44280,44278,44279,44287,39624,36831,41124,35363,43772,44305,44290,44292,44294,44297,44301,43412,33780,44308,44310,44314,44318,44325,44319,44320,36980,44322,38423,44323,44324,44288,44289,44291,44293,44295,44296,44299,44300,44303,44304,44321,44298,44306,44307,44309,44312,44313,44311,44315,44335,44333,44326,44327,44342,44349,44355,44359,44345,44347,44338,44334,44336,44337,44340,44341,44343,44344,44346,44348,44350,44351,44357,44339,44356,42034,38981,36104,36105,44358,44360,44361,33285,33749,44365,44363,39106,41615,41612,33289,34227,44366,44367,33974,34537,33757,34546,34696,35184,34985,35252,35176,35456,35422,35717,35588,35821,35381,35955,35996,35977,36006,35890,35913,36573,36362,36352,36434,36882,36702,36930,37337,37407,37401,44377,37842,38128,44371,44373,44369,44370,38053,38090,38579,38323,38540,38355,44372,39103,39272,39257,39056,44374,39306,38917,39352,39446,39401,39620,40261,40553,44375,44376,40452,40471,40584,40643,40766,40610,40655,41333,41509,41351,41465,41974,42045,42117,44378,44379,44381,42738,42859,43133,43012,44382,43337,43285,43207,36864,43765,43656,43718,43737,36824,36856,36862,44383,44387,44384,44212,44202,44302,44394,44388,44389,44392,44393,44395,44396,44397,44399,44400,44401,44398,44408,44405,44404,44406,44407,44402,44411,44403,44409,44410,44415,44419,44422,44426,44450,44429,44432,44442,44439,44452,44455,44444,44459,44462,44465,44467,44476,44479,44484,44486,44489,44491,44470,44430,44431,44433,44434,44436,44494,44440,44441,44443,44446,44451,44453,44454,44456,44457,44458,44460,44461,44463,44464,44448,44466,44468,44469,44472,44473,44474,44471,44416,44477,44475,44478,44480,44487,44485,44490,44492,44493,44488,44417,44418,44420,44421,44423,49998,44427,44424,44425,44428,44413,44414,44495,39729,44496,38237,41890,38585,36854,33316,35352,37175,44497,44498,44512,44514,44516,44518,44524,44527,44534,44536,44541,44543,44546,44550,44553,44555,44561,44545,44563,44566,38456,44584,44569,44575,44581,44586,44568,44590,44591,44592,44595,44579,44599,44499,44500,44513,44517,44519,44525,44526,44529,44535,44538,44539,44540,44542,44544,44548,44549,44552,44554,44556,44528,44562,44564,44565,44567,44571,44576,44577,44578,44580,44583,44585,44587,44588,44593,44600,44582,44608,44604,44605,44607,44614,44610,44611,44609,44612,44631,44635,44628,44616,44617,44633,44620,36143,34046,44648,44651,44642,44647,44654,44656,44659,44662,44669,44664,44667,39099,44672,40789,43835,37312,44683,36741,44674,44676,44679,44680,44685,44688,44691,44695,44697,44699,44701,44702,44705,44706,44708,44711,44714,34139,43063,44716,37649,41944,42536,44719,44721,44723,44724,44726,44729,44732,44735,44737,44739,44745,44748,44749,44752,44755,44757,44760,44762,44763,44765,44767,44768,44770,44772,44774,44776,44778,44781,44782,44788,44790,44791,44793,44795,44798,44803,44816,44818,44822,44824,44813,44827,44829,44831,44641,44643,44649,44650,44652,44653,44655,44657,44658,44660,44661,44663,44665,44666,44668,44670,44671,44673,44675,44677,44678,44681,44682,44686,44687,44689,44690,44693,44694,44696,38044,33393,37788,42615,44698,44700,44703,44704,44707,44709,39347,44502,44504,38706,38795,43307,43308,44710,44712,44713,44715,44717,44718,38791,38792,38793,36256,34057,33765,44720,44722,44725,44727,44728,44730,44731,44733,44734,44736,44738,44098,41644,39293,39294,39295,44740,44741,44743,44744,44746,40804,44747,44750,44751,41360,44753,44754,44756,44758,44759,44761,42718,39735,35618,39556,44764,33496,37993,44766,44769,44773,44775,44777,44779,44780,44783,44789,44792,44794,42545,44800,39186,44796,44797,39985,44804,44805,44806,35546,44801,44819,44814,44815,44817,44820,44821,44823,44825,44826,39984,44809,39986,40081,40082,44833,44828,44830,44632,44634,44637,44638,44841,36326,44636,33676,42421,42502,42452,42429,40256,36946,37166,44843,44847,44849,44842,44845,44846,44844,44839,44855,44869,44848,44851,44863,44864,44867,44874,44880,44883,40171,44850,44886,44888,44891,44897,44898,44899,44903,44906,44919,44894,44896,44913,44901,44933,44940,44926,44929,44937,44942,44943,44946,44948,44952,38201,44950,44970,44963,44412,44958,44960,42589,43993,43487,40784,40786,40787,33587,43316,39992,39760,44865,44866,44868,40321,44875,44876,44877,44881,44882,44884,44885,44887,44889,45819,45820,37592,37593,39751,39752,39753,41770,44890,44892,44893,44895,44900,44904,44908,44902,44909,44914,44915,44920,44921,44907,44923,44924,44925,44927,44928,44931,44932,44935,44936,44938,44939,44941,44944,44945,44947,44949,44953,44959,44961,44962,44965,44966,44967,44968,44969,44964,42339,42342,44974,42909,42910,43323,33883,44977,44980,33706,44982,38688,44990,44994,44987,44996,42218,36134,36238,45000,45003,45005,45008,45011,45020,45017,44998,44934,44570,44991,42742,45035,40417,45028,45033,44988,44989,44992,45006,44993,44995,44997,45001,45002,45004,45007,43139,43021,43022,35963,43023,43225,44286,44317,33910,43279,33874,33901,36024,36803,40329,39068,45009,45010,45012,45013,45018,45019,45030,45031,45032,45034,45029,44975,44983,34853,44976,44978,44984,34854,44979,44981,36662,43754,45063,45052,45045,44985,44986,45050,45037,44153,45077,45083,45068,45071,45073,45079,45081,45086,45088,45092,45093,45096,45106,45108,45111,45118,45121,45127,45130,45134,45136,45115,43096,43097,44573,44574,44853,44597,44598,37269,45140,45141,45143,45146,44854,44999,45149,45153,45155,45158,45161,45163,45166,45164,45169,37306,37307,37303,37304,37309,37310,45173,45177,45181,45183,37319,45185,37781,37662,45419,41599,41600,36460,37321,44533,36459,40993,39997,39998,45067,37905,45080,45120,44219,35464,35065,42311,37028,45191,35705,39940,45189,45193,37378,43232,37375,37382,37367,37536,37634,37689,37725,45201,37789,45196,45198,45203,45205,45206,45209,45212,37858,37887,37883,37888,37890,37894,37884,37885,37965,37909,37964,37882,37910,45215,37995,37996,37997,38229,38230,38344,38351,38352,38353,45223,38508,45219,45226,45229,38626,38615,38591,38603,38566,38627,38628,38786,38800,38797,38801,45234,38798,45232,45243,45245,45248,45251,38940,38941,38943,38952,38953,39195,39196,39225,39226,39287,39296,39284,39285,39424,39388,39421,39499,39500,39501,39494,44038,39514,45254,44385,45267,45258,45260,45264,45270,45274,45275,44386,45282,45281,45289,45192,45194,45195,45197,45200,45202,45204,45207,45208,45190,45199,45210,45211,45221,45222,45224,45225,45227,45228,45230,45231,45233,45220,45235,45236,45244,45246,45247,45249,45250,45252,45253,45256,45257,45259,45262,45263,45265,45266,45268,45269,45272,45273,45276,45277,45283,45284,45285,45291,45290,45271,45292,45058,45060,45062,45064,45070,45072,45075,45076,45078,45082,45084,45074,45085,45087,45090,45091,45095,45098,45099,45107,45109,45110,45113,45114,45116,45117,45119,45123,45124,45126,45129,45132,45133,45135,45138,45139,45142,45144,45145,45147,45148,45151,45152,45154,45156,45157,45159,45160,45162,45167,45168,45150,45171,45172,45174,45175,45176,45179,45180,45182,45184,45040,45041,45047,45046,45178,45307,45312,45319,45322,45325,45328,45331,45334,45336,45339,45342,45345,45351,45354,45348,45366,45369,45371,45374,45384,45387,45388,45395,45401,45407,45409,45410,45413,45416,45421,45399,45428,45391,45431,45438,45439,45441,45442,45443,45447,45444,45457,45450,45440,45436,45327,40003,40002,40006,40004,40005,45437,45463,45465,45468,45471,45464,45466,45467,45469,45470,45472,45473,45313,45314,45315,45320,45321,45324,45326,45329,45330,45332,45333,45335,45338,45340,45341,45343,45344,45346,45347,40032,45350,45352,45353,45355,45367,45368,45370,45396,40015,45372,45373,45385,45386,45389,45390,45392,45393,45394,45397,45398,45400,45402,45408,40029,40026,40025,40027,40028,45411,45412,45414,45415,45422,45423,45429,45430,45432,45433,45445,45446,45449,45448,45452,45453,45458,45455,45451,45482,45479,45495,45489,45485,45487,45486,45488,45490,45496,45497,45502,45506,45510,45512,45498,45500,45499,45501,45504,45505,45508,45509,45511,45513,45507,45503,45524,45518,45519,45525,45526,45537,45527,45530,45533,45535,45534,45536,45548,45540,45546,45544,45542,45549,45543,45545,45547,45541,45558,45559,45563,45565,45567,45571,45573,45575,45577,45582,45578,45561,45562,45564,45566,45569,45570,45568,45585,45572,45576,45579,45580,45581,45584,45587,45588,45586,45583,45592,45595,45590,45598,45599,45600,45601,45605,45611,45615,45619,45603,45621,45608,45597,45633,45626,45630,45638,45640,45649,45652,45654,45656,45658,45660,45671,45675,45679,45681,45668,45689,45692,45694,45697,45662,45684,45704,45705,45707,45714,45628,45629,45627,45711,45713,45631,45632,45639,45641,45650,45651,45653,45655,45657,45659,45661,45669,45670,45673,45674,45676,45677,45678,45680,45682,45683,45685,45690,45691,45695,45696,45698,45699,45706,45709,45710,45593,45594,45596,45602,45606,45607,45609,45610,45708,45613,45614,45617,45618,45620,45730,45731,45616,45612,45726,45733,45734,45736,45737,45739,45738,45740,45741,45743,45744,45751,45754,45757,45752,45753,45755,45756,45758,45768,45772,45777,45782,45785,45789,45776,45792,45795,45801,45769,45773,45774,45775,45779,45783,45784,45787,45788,45790,45786,45791,45793,45794,45796,45802,45803,45805,45806,45808,45807,45809,45810,45811,45815,45827,45829,45831,45833,45836,45828,45830,45832,45834,45835,45837,45838,45840,45839,45842,45845,45849,45857,45861,45853,45847,45876,45878,45881,45873,45884,45885,45889,45891,45893,45904,45901,45898,45899,45908,45912,45916,45922,45877,45900,45924,45902,45903,45910,45911,45914,45915,45917,45923,45913,45909,45843,45844,45846,45848,45851,45852,45854,45855,45856,45859,45860,45850,45858,45862,45874,45875,45879,45880,45882,45883,45887,45888,45890,45892,45886,45930,45931,45932,45933,45937,45940,45943,45945,45950,45953,45959,45956,45935,45936,45938,45939,45941,45942,45944,45947,45934,45946,45948,45949,45951,45952,45954,45955,45960,45957,45958,45977,45978,45980,45981,45982,46002,45989,45990,46005,45991,46009,46015,46018,46020,46029,46032,46023,46026,46039,46042,46053,46056,46058,46062,46045,46003,46004,46006,46007,46008,46010,46011,46016,46017,46019,46021,46022,46027,46028,46030,46031,46033,46040,46041,46043,46044,46046,46047,46048,46054,46055,46057,46060,46061,46063,46059,46068,46069,46070,46075,46076,46077,46078,46090,46091,46092,46084,46085,46086,46087,46096,46099,46097,46098,46100,46101,46104,46107,46111,46115,46102,46118,46127,46129,46132,46136,46139,46142,46148,46151,46121,46157,46124,46160,46162,46165,46175,46172,46105,46106,46109,46110,46113,46114,46116,46117,46119,46120,46125,46126,46128,46130,46131,46134,46135,46137,46138,46141,46122,46123,46143,46144,46149,46150,46152,46153,46158,46159,46161,46164,46167,46168,46166,46163,46173,46174,46179,46181,46182,46183,46184,46185,46186,46170,46187,46188,46189,46190,46193,46194,46196,46197,46199,46201,46202,46203,46191,46204,46205,46206,46207,46208,46213,46214,46215,46217,46221,46222,46223,40035,40215,40038,40039,46224,46225,46226,46227,46228,46229,46230,46231,46233,46235,46236,46238,46239,46241,46243,46244,46245,46246,46247,46248,46251,46252,46253,46254,46255,46257,46258,46259,46260,46261,46262,46263,46264,46266,46277,46268,46269,46270,46271,46272,46274,46275,46276,46278,46280,46281,46282,46284,46285,46286,46287,46288,46296,46291,46292,46293,46294,46300,46283,46297,46301,46302,46304,46305,46306,46307,46310,46311,46312,46313,46314,46315,46316,46317,46318,46321,46323,46324,46325,46326,46327,46328,46329,46330,46331,46332,46333,46334,46336,46338,46339,46342,46343,46344,46346,46347,46348,46349,46352,46353,46337,40161,46355,46356,46357,46358,46359,46360,46361,46362,46363,46364,46366,46367,46365,46369,46371,46372,46373,46374,46375,46376,46377,46378,46380,46192,46195,46200,46381,46210,46219,46220,46211,46242,46249,46265,46273,46289,46295,46298,46299,46303,46212,46309,46319,46320,46335,46341,46345,46350,46351,46354,46368,46370,46383,46384,46385,46322,46386,46387,46388,46389,46393,46391,46394,46395,46396,46397,46400,46401,46402,46403,46404,46405,46406,46407,46408,46409,46410,46412,46413,46414,46415,46416,46418,46419,46421,46422,46423,46424,46425,46426,46427,46428,46429,46431,46432,46433,46434,46435,46436,46437,46438,46439,46440,46441,46444,46445,46446,46447,46448,46449,46452,46454,46455,46456,46457,46461,46459,46460,46462,46463,46464,46466,46467,46468,46469,46470,46471,46472,46473,46474,46475,46476,46477,46478,46479,46480,46481,46482,46484,46485,46486,46489,46490,46491,46492,46494,46496,46497,46498,46500,46504,46506,46507,46508,46509,46510,46515,46516,46517,46518,46519,46520,46521,46522,46523,46525,46526,46530,46531,46532,46535,46536,46537,46539,46541,46543,46524,46545,46550,46554,46555,46556,46557,46558,46560,46561,46563,46564,46566,46567,46568,46569,46570,46572,46573,46574,46575,46576,46577,46578,46580,46582,46583,46584,46585,46588,46589,46590,46592,46594,46595,46596,46597,46602,46604,46598,46587,46605,46606,46607,46609,46610,46611,46612,46613,46614,46616,46617,46618,46619,46620,46621,46626,46627,46628,46629,46630,46631,46632,46633,46634,46635,46636,46638,46652,46653,46654,46655,46656,46657,46659,46660,46658,46662,46663,46665,46666,46668,46672,46673,46674,46675,46676,46677,46678,46679,46680,46682,46683,46684,46685,46687,46690,46691,46692,46693,46694,46695,46696,46698,46699,46700,46701,46703,46704,46705,46706,46707,46708,46709,46710,46711,46712,46713,46714,46715,46716,46717,46718,46719,46720,46721,46722,46723,46724,46725,46726,46727,46728,46729,46730,46731,46732,46734,46735,46736,46737,46738,46739,46740,46741,46742,46743,46744,46745,46747,46748,46749,46751,46752,46753,46754,46755,46756,46757,46758,46759,46760,46761,46762,46763,46765,46766,46767,46768,46769,46770,46771,46772,46773,46775,46776,46777,46778,46779,46780,46781,46782,46783,46796,46797,46798,46799,46800,46801,46802,46804,46805,46806,46807,46808,46809,46810,46811,46812,46813,46814,46815,46816,46817,46818,46820,46821,46822,46823,46824,46825,46826,46827,46828,46831,46832,46834,46835,46836,46837,46839,46840,46841,46833,46850,46851,46852,46853,46856,46857,46859,46860,46862,46864,46865,46867,46868,46870,46871,46872,46873,46874,46875,46876,46877,46880,46881,46882,46883,46884,46885,46886,46887,46888,46890,46893,46894,46896,46897,46898,468[...];
Date: 2022-11-21 12:50:32 Duration: 535ms
-
SELECT res_partner.id FROM "res_partner" WHERE ((((("res_partner"."active" = true) AND ("res_partner"."company_id" IS NULL OR ("res_partner"."company_id" = 1))) AND ("res_partner"."customer_rank" > 0)) AND (("res_partner"."type" != 'contact') OR "res_partner"."type" IS NULL)) AND ("res_partner"."id" in (48452,50174,31519,34182,34184,31571,31620,19489,31702,50033,31910,31517,33143,19504,31913,33159,50283,32067,32162,48157,32169,32194,50175,32204,48494,32231,32313,16,19562,19559,19560,32376,40606,19561,32398,32418,50035,19563,32426,32430,19488,19564,32432,32434,19576,30498,30497,50036,32436,38558,32440,32443,19575,40607,40608,32445,32449,30499,32451,34146,33157,18633,33158,34144,32479,30501,50176,19494,30500,19584,19588,30503,32497,32514,19514,32519,18632,32516,32524,32530,33179,34526,30502,50017,32533,43689,18612,33147,43690,32536,43691,32542,50177,43692,32564,30505,34183,43711,43710,43712,30506,34961,34962,30508,34880,30507,34881,34882,32570,50178,32576,32604,18610,50179,43713,30511,30510,44059,44060,19487,33145,30513,33144,44058,30509,33146,34965,34966,34964,18613,30514,2167,18614,48885,30515,5,18617,34968,50180,50319,37505,30516,33168,48052,34969,33170,33173,7,30,30518,34972,33185,33176,30519,19502,2176,34973,30521,50321,19570,33198,33039,30522,30523,30525,30524,33202,34976,34977,19503,19505,3,32415,34982,34983,46216,30528,30529,34989,34990,34991,35414,34994,33041,30526,30532,34995,34998,34999,30534,35001,35017,35035,35069,34993,30533,30531,50322,30536,33385,35143,35146,35400,31516,30535,35474,35473,35399,33218,30542,30538,30539,30541,33221,33204,30544,30540,36625,30537,33215,35504,35505,30548,30545,30547,33206,33207,35520,44272,33210,35503,33400,33211,30549,46549,30551,35415,35697,30552,30550,35769,35656,35924,30553,30554,30555,30556,30557,33166,35925,35982,35983,33165,33167,35417,30560,42607,43265,36031,33882,30559,36051,43266,31178,43267,36052,36054,43268,36053,32741,32744,36057,30561,42994,33193,33148,36058,30563,30564,36121,41737,36544,32742,32743,33620,30566,30567,30568,33631,33156,33174,30569,33175,33177,33217,33178,36125,36126,30572,36145,36188,36189,33180,36199,30571,33181,33183,33199,33184,30574,33187,30575,33196,50323,30577,50181,30573,30576,30578,48142,36225,36226,36227,36228,33732,30579,36224,36198,41431,45311,30580,48076,33748,30582,30583,30584,46430,50189,30586,30585,30587,50324,30589,30590,36440,36395,30588,36396,50190,33246,30592,36441,36461,50325,36462,36463,36464,33809,30591,30594,50326,2174,36466,36467,30597,36473,36517,36623,36624,36638,36465,30596,50191,36576,30598,36639,33271,33894,36699,36700,30601,36698,30599,19515,30600,36722,36723,30603,30604,30602,30605,30606,50186,19516,36775,36776,30607,30610,36774,36880,36858,36859,36860,50192,19517,33070,30611,36911,36912,30612,30613,36932,30614,36933,36951,47395,36950,50193,19518,36931,49399,49400,36966,30616,30617,30615,36989,37086,37087,36965,37085,50187,49258,42019,30620,30619,37088,36991,34056,30622,30623,33312,30621,33302,46198,30624,37178,30625,37181,37212,30628,37235,37236,36851,48283,50194,36853,30627,30630,30629,30633,37426,37427,40894,19521,32801,30631,37437,37273,37425,37438,30635,30634,37479,37480,50195,19522,30636,37478,37436,30639,37504,30640,50327,30641,30638,37496,37497,37500,37495,30642,30643,30644,37507,37508,37509,37511,37512,32875,50197,37529,37528,34181,30649,33269,30646,30647,30648,33272,30651,36513,30645,30650,30652,34215,50328,37541,37542,37585,30656,37586,37531,37584,30654,50198,30653,37618,37619,37636,30658,30659,30660,30661,37637,37617,37621,36497,47487,50329,41494,36498,50330,36499,30663,37707,30665,30664,50199,30662,42244,37752,37753,30667,36446,37869,34304,36447,36448,30670,30669,36450,37755,37845,50200,30666,30668,30672,50332,36451,37985,33377,30674,50201,41091,37984,30671,30673,30675,38312,30678,30680,30679,38313,38314,38364,38279,38280,38281,47335,38349,38396,30684,30682,30683,37074,38398,38399,31493,37075,43875,38365,38366,50203,30685,38416,30677,43876,30688,43877,30689,38586,38587,30691,30690,38678,30687,50204,19524,38665,38689,38690,32414,30695,31819,30692,30694,38806,38807,30696,30698,39160,39202,30697,49320,39449,30701,30700,39313,30699,50206,19525,48781,39482,39483,39523,30704,33254,33255,39450,33252,30702,30703,30705,30706,30707,39537,39538,30708,30709,50205,39569,39570,30710,35771,50207,39667,39668,39705,39706,39794,39814,39815,30712,39602,39823,30713,30715,30716,30717,39824,40050,40051,40052,30719,33532,38367,50208,46854,30720,30723,40153,40154,40155,45492,45494,30718,30721,30722,40163,33533,33534,18615,40164,40165,30726,40188,40189,50333,49660,40212,30725,40186,40187,30724,30729,40214,30731,30730,33543,30732,40213,30734,30733,33229,40239,40999,30735,33720,33230,33324,33232,33233,33724,33549,30739,33725,30736,34626,30738,42837,33550,40322,19510,33248,19501,33240,30740,30743,42870,30742,42871,30741,42948,42982,42983,43913,30744,43915,33257,33258,33260,30747,43921,33261,50209,30745,33263,33264,43947,40347,33266,40331,43948,30749,43949,46847,30751,48182,50210,33280,30754,30753,36340,36341,30748,30752,40332,40333,33301,49848,33306,40342,33284,40343,30756,30757,30758,50211,40341,30759,30755,30761,40396,50188,30762,40395,30763,49850,40388,30760,40389,30765,40407,40408,40501,30768,30767,40502,40503,40548,33164,30764,30770,50212,30766,40550,40551,40559,40560,40561,50213,30771,40549,30777,30772,30773,30774,30775,30776,40597,40598,40600,40601,30779,40602,43678,50214,30778,30782,30781,30780,36489,40671,40672,40673,40674,30785,40675,33569,33325,30784,36491,30783,30787,33338,33346,33353,30792,19529,30789,30788,30786,30790,30793,30558,30794,32075,18,30798,30795,30796,30797,39154,40741,49828,40731,30799,30802,30800,30801,32233,30805,30804,40772,40859,50215,30807,40833,40759,40760,30803,30806,40862,40861,30686,30810,12,30809,30811,5651,40860,37434,37439,30808,30812,40864,31985,40888,40865,30815,50216,40880,30814,37448,40889,35027,30819,30816,30817,30818,40939,50217,40940,17,1,40944,30821,32772,30820,40946,30823,15,2175,47988,30822,45663,45664,40952,40953,33219,2178,30827,30828,30829,50218,33590,19527,30824,30826,32,6,30831,33361,30832,30834,30833,41030,41031,41026,30830,41073,41069,45665,41070,41074,41075,45666,45667,30835,33366,41068,30841,30836,30837,30838,30839,41077,33389,30844,41104,30843,41106,41108,41105,30840,30846,30842,33600,41120,30850,41147,41148,41149,30848,30849,41146,37801,30845,30847,41182,41183,38221,30520,19532,30855,50219,30853,30854,50220,38220,30851,30852,49207,41250,41251,30858,30857,33163,41253,30856,30861,30860,41278,41279,41252,37274,50221,30859,30863,33065,33169,33200,33066,30865,41329,30864,41287,30867,38043,50222,30862,30866,33067,33214,30869,41345,41346,41347,50223,41331,30868,30873,30872,30871,30870,33220,41516,41376,41377,45720,40390,45308,40391,41375,30874,41385,30875,33237,41517,41518,33234,41520,41521,41519,50224,30886,30880,30881,30885,30876,30882,30883,30884,30878,30879,30887,33238,35327,41527,2163,30877,30890,30888,41526,2177,30889,41557,19533,30892,2164,41538,13,2165,2173,30893,41559,30895,30894,50225,41539,30891,41574,41577,30897,30896,30898,41537,19,30899,41578,30901,41635,33273,30902,11,30904,30905,30903,41636,41637,50226,41270,33276,33277,28,41662,41663,50227,30906,30910,10,30907,30908,30909,41661,41665,41666,41667,41669,33290,41670,30912,30914,41680,41679,30916,30915,30911,25,33314,41682,30918,41714,30920,41715,33403,30917,41713,50228,30919,41724,41725,30924,41791,41792,41793,30926,41723,41794,30923,30925,30921,50229,27,8,33406,33412,41063,30927,30931,30928,30929,30930,29,14,30934,4,30933,41926,41962,19537,40340,38080,38250,30938,30932,26,30936,30937,40316,36376,33282,30935,33283,30939,30940,30941,30942,40386,37068,19538,30946,30945,42105,37069,30944,50230,30948,30947,35696,33293,41330,30951,30950,33300,33295,30949,30952,30953,43451,19539,33307,33311,30956,30955,50263,30954,30958,30957,30962,30960,33313,33320,30959,30961,33328,30964,42087,30963,46579,30966,33332,50265,33333,35800,42110,33388,40726,33330,30965,30967,30971,30970,42166,36742,41712,42111,19540,42112,30969,42188,36740,30972,33401,42189,42190,42228,42232,42308,33402,42309,42328,30979,30976,30977,30978,30975,50264,42330,30982,30980,30981,42335,42336,33337,50266,19541,19542,30983,30984,30985,30986,30987,33339,33342,33340,42343,33345,37897,30989,37433,37440,37441,47188,42366,42371,30992,30991,30988,33349,42345,33347,33351,33352,35949,37449,42373,30998,30995,30996,30997,42374,30994,42372,30993,50267,37450,31000,42431,42433,44520,42428,33356,35995,42513,42511,33354,42458,50268,31001,31002,31003,31004,31005,33363,31007,33364,33365,50269,33697,33362,31006,31010,31009,33698,33699,42109,33367,42113,31012,42114,33368,33369,42653,42654,31008,31011,33371,19545,46340,31018,31014,31015,31016,31017,33372,31013,31020,33374,31019,31025,31021,33378,33044,31022,33379,33380,33381,42659,33046,31024,31468,30530,36103,42660,42661,42662,31027,42695,48635,33384,31026,31028,42723,31030,31031,42877,42878,42912,33386,33504,46553,43080,43081,43042,43043,43044,43041,31037,31033,31036,33387,33390,31039,32482,33391,43084,43085,43083,31035,31034,31032,31038,43245,43247,43248,31043,31045,31042,43274,31046,33398,33399,31040,47549,31044,31041,50334,38251,43294,43295,43296,31048,43315,43317,43318,43340,31047,43342,43341,30714,46232,43343,31054,31050,31052,31053,43358,43353,31051,31049,43354,43355,33418,19547,43359,50274,31064,31056,31060,33417,31055,31057,31059,31061,31062,43381,43383,43384,43382,31067,31066,32490,31065,43448,43449,38045,43457,31071,31069,31070,38047,43459,31073,31068,31072,43783,31075,36535,19548,36536,43472,43473,43474,43471,31074,31080,43470,31076,31077,31078,31079,43477,43520,31081,19549,43545,31083,31082,43476,31085,44742,33598,31087,33036,43566,31084,31086,31090,43567,32966,31092,31089,31094,31088,44102,36449,36444,44103,31091,31093,33612,43588,31097,50335,31096,31099,43590,43589,44104,31095,31098,43591,41271,39372,31101,31100,33622,33623,44449,31104,31102,31103,37344,31107,42183,42184,31108,43609,43610,43623,43608,31106,31110,37803,31109,42185,43624,43625,43675,43676,43677,43714,31112,31113,43715,43716,43721,31111,31116,43722,43723,33797,33798,33799,32769,31118,43747,43748,31125,43808,19551,33421,43810,43780,31124,31121,31122,31123,31120,33439,43809,43812,33819,31127,43838,43839,40997,40998,33423,43850,33821,31126,31063,43851,31132,31130,31131,43852,31129,43883,43884,38705,43882,38794,31133,33425,31137,43901,31138,31141,31136,43902,43903,43958,43959,43306,31135,31140,38184,33427,31143,33428,38707,33430,35592,43982,31139,31142,31147,31146,31144,31145,30570,19552,31149,32413,44052,44013,44053,33114,33433,44051,31148,31150,33437,33438,33434,33440,31155,31154,33445,31153,33444,31152,42088,48874,31156,31158,31157,33458,33804,31159,31161,31160,45454,44079,44082,31163,33449,44106,33450,33451,31165,44139,33452,50337,44137,33447,33851,31162,31164,18609,18611,50338,2172,31169,2166,31167,2168,2169,2170,31171,2171,33849,33850,31170,18616,33855,31173,33856,33858,43255,33854,43254,31172,31179,31175,44184,44185,44190,44191,44151,31,44189,43753,31174,31177,31184,31180,31181,31182,31183,44216,44217,44214,43755,36899,31187,31186,44215,44227,31185,31190,31189,33457,44233,31192,31128,44234,44235,44232,33456,31191,41302,31188,33475,31199,44236,33464,33467,33471,44243,44245,44246,31193,44240,19554,31195,31196,31197,31198,44247,33478,33488,31201,35881,33787,19555,35856,44255,31200,31203,31204,44265,44267,31207,44281,44256,44257,44266,33788,42089,31205,50339,31202,44282,44328,31211,31209,31210,19556,44330,44331,44329,31214,31213,34331,31208,39734,31212,44352,33771,44362,44332,31216,44353,31218,31217,44354,44364,44368,31215,31219,31221,31220,31223,31225,37073,31222,31224,44505,19557,44437,31229,31227,31228,31226,44602,44603,42054,31232,31231,44510,44509,31236,44971,44972,31230,31233,31235,44511,42029,44530,44531,40117,40118,31245,31238,31239,31240,31241,31242,31243,31244,44447,47014,49788,39363,31247,31237,31246,46103,33370,31249,44802,44621,31252,41907,31251,31256,44852,44838,44840,31258,19558,44856,31254,36766,31257,31255,44832,31260,48708,44871,44872,31262,31259,44873,44910,33839,44870,45841,45817,31261,31263,36767,33840,31267,44911,44912,33463,31268,31265,47421,33841,45015,45024,31272,45026,31273,19582,31271,45027,45025,33506,33512,42294,33615,31269,33517,33514,33520,33535,31278,31275,31276,31277,33538,50341,46012,31274,31280,45053,19583,45056,33553,33558,31281,31282,31283,31284,46013,31279,44438,44015,33573,33570,33575,33583,45165,45187,45186,33581,33322,19585,50342,31293,31286,31287,31288,31289,31290,31291,31292,33597,33586,45188,33606,40305,33603,33645,31295,33617,31294,33667,31301,31297,31296,31298,31299,31300,44506,44507,31303,33671,33648,41579,31304,33675,31305,45216,45217,41581,19586,44508,45747,31302,31306,45218,31309,45279,45280,45286,45287,45288,35545,31310,31314,45278,31308,31312,31313,45317,45318,45356,33409,31317,31316,45358,31311,45357,47116,31315,45316,45359,45360,32992,31322,33321,31319,31320,31321,45362,45363,45364,45361,31318,33410,45365,45424,39639,39811,31326,34205,40011,30746,33925,45425,31323,31328,31329,31330,31331,38557,45461,31334,45460,33926,45459,31327,31333,45462,31336,31335,45474,31338,50343,45483,45484,31337,45491,31342,31340,31341,45528,45529,45531,45517,33494,39609,45514,31339,31343,45532,45538,45539,45515,45516,39610,31344,31345,31346,31347,33982,32470,33979,39611,39612,45623,45624,31351,31350,45625,40371,40374,40375,45635,45637,45604,45622,31353,45688,31356,50344,45797,19565,45687,40825,45636,40376,31352,31355,31357,45799,45800,34010,31360,31361,31362,31358,31359,43571,45822,45823,45798,43572,43573,50345,45824,45825,45826,45866,45867,31367,45868,41447,43574,43575,31368,31364,31365,31366,31363,31374,45869,31370,45871,45872,45870,31369,49018,49019,46989,31372,31371,49020,31373,30728,45895,31376,45896,45897,19568,45894,45905,45102,49021,31375,31382,45961,31379,31380,31381,45927,45928,45907,45926,31378,46601,45925,31377,33501,39640,31386,31384,19569,46599,45963,45964,45962,31385,31383,45965,31392,31388,31389,31390,31391,34022,34025,38005,43299,40034,44088,31387,43562,32049,45970,31398,31394,31395,31396,31397,31393,40670,31400,31402,47950,45104,45105,31399,31401,32457,31408,33507,33508,31403,31409,31406,31407,45919,31405,31411,43985,33513,46035,31413,45014,46036,40012,46037,46034,31415,46014,31410,31412,46088,40013,46089,33518,33519,46038,32454,31419,46083,43986,43987,43988,43989,31416,46093,33521,45016,33525,33524,31425,31424,31421,31422,31423,31426,32456,31420,46094,46095,46146,19572,46147,38560,31430,46155,31427,31428,38182,46154,46156,31432,31433,31431,31434,46501,46503,46511,38183,46169,37345,37346,46502,31435,46513,46514,32455,46637,46963,31441,31437,31438,31440,46512,33616,31436,31439,46964,31445,34048,34049,31443,40870,40871,47031,50348,31442,47032,47877,47878,37904,31444,47879,31449,31448,31447,36927,36928,47033,31451,46024,46025,31446,33530,33529,31450,50346,33542,47118,33539,47119,41576,47310,31454,33540,31456,31452,47463,47117,31457,33545,45748,45749,31460,45750,33546,33547,40694,40695,33679,42332,31459,31461,47465,47466,40696,31464,47467,31463,40697,47866,40698,47464,47591,47867,47592,47590,48093,48108,31470,31467,48109,48110,48434,48492,48531,48578,31466,31473,31471,31472,49064,48658,48659,31475,48672,49065,48671,31474,48795,50347,31477,40727,40728,31479,48515,49177,49178,49194,40729,31478,49193,33552,31480,49425,31476,31481,31483,33103,49546,31482,19577,49426,49427,31485,31486,31487,41039,45589,49548,49549,49705,44101,49547,41067,31491,31492,31490,49707,49708,49885,49887,49888,49706,49886,33897,33898,33899,44557,44558,44559,44560,31501,31497,31495,31496,31498,31499,31500,50037,31504,45213,31503,31494,31502,31505,42331,31507,42333,31506,33890,35384,35725,35726,35476,31510,31509,31511,41116,37833,50349,31514,33557,31512,31508,31513,42795,41133,31515,31518,35470,35471,41134,35516,35517,35586,35524,35938,45310,44807,35940,36061,31521,35939,31524,44808,41913,31525,41914,31523,40327,50351,33560,33562,33563,33564,31526,31527,31528,42473,47779,39081,39082,39086,33566,31529,33567,33568,42030,31535,31530,31532,31531,31533,31534,33222,31536,31538,31537,33659,19497,42031,42032,36490,31543,31542,31539,31540,31545,19498,47640,31541,31544,33151,35879,31546,33578,33591,19553,31548,40783,33579,33576,33580,31547,31549,33592,33589,50034,31553,31550,31551,19578,40317,47633,19571,19567,33226,31554,31555,38790,31556,33582,33541,31557,31559,33584,31558,40318,33585,40319,31560,31561,33588,34149,31562,31563,43592,33908,44622,43593,44623,31567,31565,31566,19544,43594,43595,31564,31569,31568,50279,31570,41307,43250,31572,35407,35408,45456,31574,31573,31575,19580,33594,33595,33596,49358,19490,19491,33601,31578,19526,19530,31577,31580,34330,50058,34333,34332,31581,33431,19496,33604,33605,31584,31585,31582,33607,19495,44799,46379,19500,19499,31583,31586,19506,31588,31587,33608,31589,19508,31590,45778,19507,41204,44523,30609,31591,19509,33611,19511,31593,50048,33614,19566,31592,48716,19512,49398,31418,33610,31594,19519,31600,31595,31596,31597,31598,31599,33629,48306,50277,45821,41448,41449,31601,31604,31602,31603,31605,19587,31606,33638,36059,39091,50352,50050,33640,31608,31609,31607,33641,50042,33650,33651,50060,19543,33805,50281,31614,31611,31612,31613,31610,33653,33110,33655,48318,50051,31285,48346,31619,31616,31617,31618,31615,19573,31622,50062,31621,19520,48378,43249,50054,46878,32465,31625,31624,33661,46209,31623,33662,49093,33665,31626,31632,31627,31628,31629,31630,31631,48199,31633,33666,31634,50040,49078,49898,31635,46256,33672,44957,42334,31638,31636,31637,31641,31640,50065,31639,31642,31643,33459,19550,49463,50052,41540,31644,31645,31646,31647,31649,49464,48626,33460,33461,33462,50357,31650,47766,31653,41450,41304,31652,31655,31654,31660,46267,45214,46458,31657,46411,31656,31658,31659,49374,31661,31662,49465,49466,32931,31663,31664,31665,50066,50359,39361,39357,35688,31666,31669,31667,31668,33486,31670,33487,35857,49458,49459,50044,31673,31672,31671,35858,31675,39359,31674,50055,39360,39362,31676,41813,39358,39507,45417,48583,40536,39508,39509,19546,31681,31680,31678,31679,31677,31682,31683,18630,50358,33465,33466,31685,49968,33468,31684,50282,31686,47901,33469,31687,50360,33470,50067,33476,33477,31689,33480,33472,49753,31694,31690,31691,31692,31693,50361,33481,48248,33483,31696,33484,33489,31695,33490,31698,31697,41214,45634,41229,33411,50056,31700,31699,44521,44522,41582,39506,38556,33497,41580,33493,31703,33498,50057,31709,48657,31708,31704,31705,31706,31707,32895,31710,44626,49921,30496,44627,31711,31713,33680,33652,31714,31715,33681,31716,50285,50069,33696,33682,41558,31717,31719,31720,33548,31721,49204,50070,31718,31724,31723,42645,31722,42599,48983,31726,31725,50074,31727,50075,48370,31728,31325,31730,50071,33115,33683,31734,31731,31732,31733,31735,31737,50286,42646,42647,31739,31736,31738,33686,33687,32884,31740,33694,33690,31741,33689,31742,31743,47743,48602,31744,31747,31746,31748,31750,31749,33700,31745,31751,49401,31753,31752,50288,31754,31756,47708,33703,33702,31758,47222,31755,31757,33707,42600,31759,31760,31761,31762,33710,31766,50290,31765,31763,31764,33712,50076,31767,31770,33716,43704,31769,31768,31772,31771,33729,33743,33752,31773,33756,33719,40632,33739,31776,33760,31775,33767,33769,31780,31777,31778,31779,33776,33789,31781,50077,37234,33236,33794,49122,31784,31783,33792,31782,19574,31786,31785,31787,33816,50293,31789,33831,31790,33825,50079,33835,31793,31792,31791,33865,33873,33878,31794,31796,31795,31797,32790,31798,31799,33886,35082,35083,31802,31801,50295,31803,31807,31805,31806,31058,50296,31804,49523,50080,31270,35515,31808,31809,31810,31811,31812,31813,31814,31815,31816,43709,31817,50081,39207,41681,31820,32546,39110,31821,31822,39112,50085,31824,31827,31825,31826,41111,41684,39455,39311,47279,31829,31828,50275,31831,31830,31832,31833,41689,31834,31837,42984,43143,31835,31838,50297,31839,43502,31840,50088,31841,31842,31843,31844,31845,31846,50298,50084,40254,31848,31847,30562,50086,31849,50089,31850,41751,31854,31853,31856,50299,41765,43946,31852,31855,31858,31857,31860,31859,50090,50300,31861,31863,31862,31865,41796,31864,50091,31866,44251,44248,40338,40996,31867,31868,31869,31870,31871,31872,31874,31873,31875,50092,31876,50301,31877,31878,50097,33714,33715,33713,31879,31881,33717,32439,33718,31885,31882,31883,31884,50093,31886,31888,31889,42055,42056,50094,31890,31893,31892,31891,41908,41910,41911,42989,50095,31895,36764,42990,36765,31896,31897,31898,48766,50096,43936,43937,33730,31899,33731,31909,31904,31905,31906,31907,31908,31900,31901,31902,31903,43118,43119,41959,31912,31911,33733,41960,33734,33738,47835,40616,43543,50303,31916,31914,31915,33740,31917,43117,33741,33742,31920,31918,31919,50305,31922,31921,33745,36150,31923,31925,45760,33744,31926,45761,31927,31930,48412,43227,43228,31928,44284,44285,31931,31932,43145,31933,50098,33772,31934,31935,50310,50306,19492,33777,31937,31938,19493,31941,19531,19581,31936,31940,50307,19536,31942,33778,31945,31944,31943,31946,33781,43503,43504,50308,31949,40782,40785,31948,40334,31950,31952,31951,50309,31954,31953,33790,31956,31955,33791,31959,50100,50311,31957,33793,44858,44859,31961,31960,31962,39111,39113,50101,31963,39208,39245,39312,50312,39456,31964,31965,31966,31967,50317,33796,33795,31971,32730,31969,31968,31970,31972,31974,31973,50314,32735,31975,31976,31979,32751,31977,31978,50316,50315,33801,46920,50102,31980,31981,33802,31982,33807,33808,31983,33813,31984,33814,33815,50103,33820,31987,31986,33817,43871,31988,31990,31992,31991,50104,31993,32544,31996,31995,31994,33823,33824,31997,50105,33827,33828,33830,32000,32001,31998,31999,33832,48719,50318,42156,41089,32003,33833,33834,32004,32005,32007,33782,50106,33836,33783,33837,50107,32010,44812,32008,32009,32011,47259,33843,33844,32013,32012,42344,32014,32015,32017,32016,50108,32019,32018,44096,47127,32020,32023,41029,32021,32024,33859,32026,32028,43888,42193,32025,32027,33852,32030,40132,40133,32029,33784,32031,32032,46382,32033,32034,42194,32035,33863,32036,32037,33861,35687,37162,47202,35770,33864,33866,32038,32039,32040,32041,32042,32043,33867,33868,42203,39350,47205,40324,37292,37293,32045,33870,33871,33872,32044,40326,47203,32048,47204,37296,32046,32047,37297,37298,37299,33880,33881,32050,32052,32051,44249,33879,44250,32053,32054,32055,44252,32056,44253,37300,32058,32057,33891,37301,37311,33887,41344,37574,37575,42460,42461,37576,42346,42347,37313,37314,37327,32064,37802,35461,32066,32065,32060,32061,35462,32063,35657,35658,32059,35884,35885,32068,36397,32069,37498,37499,33242,32071,32070,39349,39731,40131,38196,40346,37804,37896,32072,32074,49421,41575,49422,32076,42291,32073,32078,43360,43568,43569,37991,49423,32077,43629,32079,44141,44142,32080,45816,44140,49424,49428,49429,49434,32082,49435,45906,50147,49436,49437,49438,32081,32089,32083,32084,32085,32086,32087,32088,32090,50109,38853,33893,46145,38854,32093,32091,32092,32094,32095,40356,32096,46945,50110,32097,38883,38884,38901,38902,32098,50111,32104,32099,32100,32101,32102,32103,38903,38904,38905,35305,46697,32105,33903,32107,50148,32108,41812,32106,35307,35318,32110,39334,32109,39641,39341,39344,39345,34163,34164,32112,32113,32114,32111,34165,39603,39724,41845,45065,40033,40210,49443,32115,40211,39727,32122,40320,40469,44618,44619,32117,32118,32120,33920,32116,50112,40467,32124,32123,32119,33917,40468,40568,33244,32127,32126,33927,33930,40733,40734,40747,32125,32128,34367,32131,33914,34206,40930,33915,40209,32133,40752,40753,40754,41012,32130,32132,32135,41018,35663,50150,33916,35665,32141,32139,32140,45762,33921,32137,32138,41016,41064,33247,41065,33250,32144,32142,32143,33227,36149,41112,41113,32146,41153,32147,36151,36162,41121,41122,33912,32145,36163,33253,36164,33267,32148,32149,32150,32151,32152,41154,35685,41413,36167,36168,41414,32153,32154,32155,32158,41415,41492,41493,41495,32159,45759,41691,32156,33935,33845,32161,44095,41692,33934,32163,41702,41769,41824,41826,41864,32160,32166,33936,46544,41906,32165,33940,41866,41905,42299,42448,32164,32167,32170,32171,42449,42450,42544,49578,32172,32173,32174,33224,42613,35899,47761,32176,35901,42724,42725,42897,32178,42898,42932,43031,43032,32175,32177,32179,32181,32180,43033,43098,33270,32183,33949,35962,35964,32185,33952,43251,32182,32187,32184,50152,33945,33939,33943,32190,32189,32186,50151,33938,32188,33941,43324,43325,32193,32192,33275,43400,33953,33954,49409,32196,32195,33955,42224,32191,32198,41985,43889,36071,45381,36072,32201,32200,49410,36084,32199,32203,32197,48981,33956,50154,45376,45377,36085,36086,32205,32206,45379,36087,36088,44080,32202,45380,45382,44503,42187,33958,32211,44601,44684,47812,44860,32208,32210,44226,32214,32217,50155,44955,44956,32212,32215,44973,46661,32218,32216,32213,33959,33960,33961,33966,32219,32221,32220,33962,45021,49483,32224,32223,33973,33980,32226,33990,42389,45022,32222,32225,45023,40330,32230,32228,32229,33995,34001,50026,34003,32227,49503,32232,45036,45038,34016,32235,36315,36316,36378,36294,36295,36308,36309,36310,32240,32236,32234,32237,32238,32241,33279,40773,45475,45476,32239,36384,36385,32927,36705,45477,32246,32244,32245,50165,45478,45480,32248,45481,32243,36416,32247,32249,50158,44532,36417,32251,45550,45551,32250,32253,32252,45552,45418,45553,50159,32254,45554,50162,44784,45555,45556,32259,32256,32257,32258,32255,32260,41763,45557,45591,45722,32262,45645,45686,32264,42592,32263,32265,32261,32266,45732,50161,48428,32269,45715,42606,45716,45717,45718,32271,45719,32267,32270,50167,32273,32272,33286,45735,32275,45742,49653,32274,32277,32276,47690,45420,32278,33968,33969,33965,45745,50163,45746,45804,32283,32279,32280,32281,32282,32285,33971,33972,45813,50164,45814,45863,36579,32287,32286,45920,32284,45971,32289,45973,45921,45929,32291,45974,32288,32290,32293,32292,48503,45983,48470,45985,45987,45988,33976,45992,45993,45994,32294,33978,32295,32301,32297,32298,32299,33069,33981,45997,32302,46001,32304,32303,33983,33984,33985,49119,32305,33987,32307,32306,41151,46051,46052,32309,49786,33988,33989,32311,46064,50166,32308,46065,46066,32310,32312,32314,31115,32315,32316,45647,45648,32317,49579,32320,32318,46067,46071,46072,46073,50168,46079,44785,33996,33997,46074,32321,32322,32324,32323,46080,46082,44786,44787,45426,45723,32326,45724,33999,32325,45427,34004,46081,34105,32328,32327,34005,32330,32333,32332,32331,34008,34007,34013,34014,32335,41017,34106,32334,32336,47494,32337,34015,45864,45865,43011,32340,32338,32339,49847,36737,34026,32341,33664,36738,36852,49802,34019,32345,32342,32343,32344,34043,34050,34035,32348,32347,36993,32346,34045,49280,36995,32350,32349,32354,46290,32352,32353,32351,43095,49615,49616,49617,46176,49914,46177,46178,34054,31520,34055,32355,32356,32357,49920,49978,32360,49979,32359,32361,32729,32731,32362,32363,32734,32752,32753,32366,32740,32365,49949,32754,32755,32368,32367,46049,32759,44435,43224,32371,32370,32760,32372,32369,32761,32762,32373,32374,32375,49981,49982,32378,49994,49996,50013,32773,32783,32771,43278,34020,32784,32798,32379,32925,43303,32381,32380,33299,33190,33191,32382,32384,32799,32800,32803,34021,32386,32804,33298,32824,32385,32825,32390,32387,32826,32389,32388,32830,32392,34023,43363,34027,34024,34237,49339,49772,32391,32393,32831,32394,32395,32396,32397,46050,32832,34272,34031,32833,34028,34029,32840,49646,32841,33303,32399,32400,32864,32401,32865,34032,34033,34034,49557,32866,32894,32873,32402,32404,33304,35356,32405,43417,46688,32406,41489,47687,44589,47895,49736,46900,32408,41897,49642,35452,48232,45122,46750,41437,37648,32409,32410,32407,32412,48978,47843,45112,45097,32416,49263,49081,32419,46308,34037,34038,34039,43544,34041,35536,43396,34036,32420,32428,33305,35469,37432,47396,34042,48497,40578,46622,46218,42022,34051,34053,32421,32422,32423,32425,40433,35341,45349,40837,32427,45103,32429,32435,33308,48646,45128,32896,48132,47993,45137,32433,48374,32897,32898,34062,48454,40799,41342,45337,41497,49470,32438,45255,32437,32899,46234,41982,32900,39236,32442,32441,45672,41830,48783,33554,46108,32444,48336,45323,47438,32446,47770,41501,32448,45560,44537,40512,49143,48863,32450,41922,32447,36534,48031,32452,34065,43179,47130,34066,47872,41587,46639,47641,34068,32459,32458,32460,34071,48164,47524,48213,48128,45261,41744,44837,34069,34073,43756,34072,49232,32461,32462,32463,32464,46546,41208,35937,34070,32928,34075,32467,34079,32468,41090,32469,32466,32929,32930,43191,32473,32932,32471,32933,32934,32472,44171,40485,49695,48359,40715,40830,32474,32476,32475,37113,40863,44692,32477,46669,40740,32478,48203,36783,32939,34098,43874,32481,32480,34099,44125,34101,49833,49520,32484,32483,32485,32487,32486,32944,34107,48357,34111,49778,49639,34104,32488,32945,32946,33309,32492,32947,32491,34115,49768,32948,34118,49562,49659,32949,49956,49555,49567,32496,32493,32494,49573,49585,43973,49655,49628,32498,32495,49326,49689,49524,49761,49763,49809,49799,32499,32500,32501,33317,32962,49816,49818,44044,49840,49855,49927,32504,32505,32506,32503,32512,49516,35442,32509,32510,48500,32508,32513,32959,32960,34136,32961,49730,40938,34143,49570,34150,32517,49969,34735,32518,49604,49934,49505,49576,49669,49726,49755,32521,32523,32520,34157,34154,34159,34754,32522,49776,34166,34174,32525,49560,37109,34178,34758,34171,32963,32964,34189,34185,32529,32528,32973,49890,39040,32527,43431,49478,32531,49986,47966,41879,32535,32534,34074,41732,49983,34762,32537,32974,32983,40732,32984,33323,32990,34077,48702,41570,32538,37835,44930,35376,32540,39042,39041,49152,34080,48414,45066,47602,34081,46540,39043,49984,32991,49987,49988,32999,33017,33007,33008,33009,44316,44283,34100,34102,43129,48310,33018,34112,34103,34108,34109,34110,45170,48941,34114,49285,33019,32543,33024,32563,32559,32545,32547,32548,32549,32550,32551,32552,32553,32554,32555,32556,32557,32558,32560,32561,32562,49061,34116,46133,37133,43425,34117,48763,43164,34119,48279,32569,32565,32566,32567,32568,41837,41986,37067,34140,34141,34142,47534,48962,48173,39452,32575,32571,32572,32573,32574,33043,34151,33040,47214,47669,49356,34152,34153,49125,34158,34160,44501,45069,44481,33492,44164,44922,34161,34167,35523,34169,34170,34175,33045,34172,34173,41297,49214,34176,34177,43806,34179,38046,34180,36165,45996,47917,32597,32577,32578,32579,32580,32581,32582,32583,32584,32585,32586,32587,32588,32589,32590,32591,32592,32593,32594,32595,32596,34194,34192,44572,34191,34186,45646,33049,33050,32603,32599,32600,32601,32602,34199,34200,44596,34193,32598,33064,34201,34202,33071,34203,34204,44159,46112,45089,45131,46390,37822,49349,33075,46140,43537,46997,45094,44547,33076,32619,32608,32609,32610,32611,32612,32613,32614,32615,32616,32617,32618,32605,32606,32607,33077,34208,33078,34207,50169,33101,33102,34209,34210,33120,34213,50170,33126,34218,33127,33136,33116,34220,30504,34221,50171,30512,32620,32636,32621,32622,32623,32624,32625,32626,32627,32633,32628,32629,32630,32631,32632,32634,32635,30543,50172,30581,30593,34224,30618,30655,30657,30681,30769,32637,32645,32640,32641,32642,32643,32644,32638,32639,47965,34231,34226,30990,31166,31206,34229,31349,31414,30974,30999,34232,34233,34223,34225,34234,34235,39774,39775,34242,34241,46279,34238,34239,34236,34243,33327,34246,34244,34248,34251,34254,42625,42626,34256,34258,34260,34265,34267,34268,34269,34271,34273,34276,34279,34282,34283,34286,34289,34292,34295,32646,34298,32704,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,34314,34301,34308,35205,34316,34247,34318,34249,34252,34253,34321,34255,34257,34270,34274,34280,34275,34277,34278,34281,34284,34285,34287,34288,34290,32705,34291,34293,34294,32725,32706,32707,32708,32709,32710,32711,32712,32713,32714,32715,32716,32717,32718,32719,32720,32721,32722,32723,32724,34297,34299,34300,35224,32727,33331,34302,32728,34303,34311,34313,34315,32732,34319,45237,32733,34322,34324,32739,33343,32736,32737,34329,34326,34327,34328,33344,33348,33355,33394,32745,32746,33404,33407,33448,32747,32748,32749,33473,32750,33474,33479,33515,33574,34334,34337,33510,34340,34343,33571,32756,33618,32757,33635,33646,34351,34355,34356,34359,34362,33599,33658,33654,34373,33669,33673,34364,34370,34379,32763,32764,34341,34346,34347,34349,34350,33750,33754,33773,33758,33762,33766,34375,34374,32766,32767,32768,32770,34376,34377,34380,34381,34385,34386,34387,34389,33875,33877,32775,33918,33904,33911,32776,32774,32777,34394,33942,33964,34002,32778,34392,34383,33967,32779,32780,34018,34047,34058,32781,34393,34395,32782,32785,32786,32787,32788,32789,34067,32791,32792,32793,33051,34113,34145,34148,32794,32795,34137,34155,34156,34335,34336,34396,34403,34402,34404,32797,34409,34412,34415,34417,34433,34420,34422,32802,34429,34430,34431,34405,32806,32807,32808,34397,34400,34401,34406,34410,34411,34413,34414,34423,32809,34416,32810,34418,34424,34432,32811,34434,34435,34436,34437,34438,34441,34443,32813,34446,34448,32814,34452,32816,32817,32818,34455,34463,34457,34460,34439,34440,34442,32819,32820,34451,34453,34454,34456,34458,34459,34461,34464,34465,34466,34468,34470,32822,32823,34471,34473,32827,32829,34475,34478,34479,34481,34483,34488,34489,34490,34494,34497,34499,35645,32834,34501,32835,32836,34503,34505,34511,34517,34518,34520,34529,34531,32838,32839,35801,32844,32842,34469,32845,32846,32847,32848,32849,32850,32851,32852,32853,34515,32854,32855,32856,32858,32859,32860,32861,34539,34541,34543,34551,41386,32862,32863,34545,34547,34549,34550,34555,34556,32868,34559,34562,32869,34563,34566,34568,34569,34571,34574,34577,34587,34579,34581,34583,32872,32870,34585,34584,34591,34593,34596,34598,34614,34615,34601,32874,34604,34606,34607,34609,34611,32876,34623,34616,32878,32879,32880,34617,34620,34629,41674,34650,32882,32883,34631,34634,34642,34644,34647,34653,34655,32887,32888,32885,34658,34661,34662,34664,34666,34673,34676,34681,34686,32890,34690,32891,34692,32892,34695,50032,34699,34701,34702,34704,34706,34709,34712,34713,34715,32893,34717,34718,34724,34725,34726,34728,34544,32901,32902,32904,32905,32906,32908,32909,32910,32911,32912,32914,32915,32916,42593,42594,32917,32918,32919,32921,32922,32923,32924,32926,34732,34733,34736,34740,34744,34746,34749,34760,32935,34765,34768,34770,34774,34778,34781,34784,34787,34791,34793,34796,34798,34801,34807,32936,34810,34813,32938,34816,32940,32941,32942,32943,34818,34824,43215,34830,34827,34829,43304,34838,34841,34844,34847,32951,32952,34734,34851,34737,34739,32953,34741,34743,34748,34757,34771,34747,34759,32955,34764,34772,34775,34779,32956,34780,34782,34785,32957,34789,34790,32958,34794,34795,34799,34800,34809,34822,34823,34831,34832,34834,34837,34839,34843,34845,32967,34848,34849,34467,32965,34472,34474,34476,34477,43974,32968,32969,43975,34480,34482,32970,34484,34492,34509,34493,34495,34510,34496,34500,34502,32971,34506,32972,45375,45378,32975,32977,34512,34514,34521,34516,34523,34524,34528,32979,32980,34530,34532,34533,34535,45383,34538,34540,32981,34542,32982,32985,34548,34553,34554,32986,32987,34557,34558,34560,34561,34564,34565,34567,34570,34572,34573,34575,34576,34578,34580,49441,32989,32993,32994,34582,32995,34586,34589,34590,34592,34594,34595,34597,32996,32997,34599,34600,34602,34603,34605,34608,34610,34612,33002,34613,33000,34624,34625,34618,34619,34621,34622,33003,33004,34627,34628,34630,34633,34635,34637,34638,34639,34640,34641,34643,34645,34648,34646,34649,33006,34651,34652,33010,33011,33012,34654,34656,34659,34660,34663,34665,34667,34668,34670,33013,33014,33015,34672,34674,34675,49999,34677,34678,34680,34682,50007,34683,34685,34687,34689,35997,34691,33020,33021,33022,34694,34697,34698,34700,33025,34703,34705,33026,34707,34708,45434,34710,34711,33028,33029,34721,33030,34723,33031,34730,34731,34852,34855,34856,33032,34865,33033,33034,33035,34871,34874,33037,34877,34868,34883,34879,33038,34886,34888,34889,34899,34891,34893,34901,34903,36493,34908,34913,34916,34918,34911,34906,33047,34932,34921,34924,34927,34929,33052,34941,33053,34934,34858,34859,34861,34862,33055,33056,34863,33057,34864,34866,33060,33061,34867,33058,33062,33063,34869,34870,36900,34884,34885,34887,34897,34898,33068,34909,34900,34904,34905,34910,34917,34920,34922,34926,34928,34936,34930,34931,33073,34933,34937,34938,34939,34942,34943,50019,34953,33074,34959,34963,34955,34957,34958,33079,33080,33081,33085,34981,34978,34974,34970,33083,33084,33089,33086,33087,33088,33090,33091,50020,33104,33093,33094,33095,33096,34992,34996,35007,35002,35005,33098,35010,35012,35016,33100,35018,35014,35020,35652,35022,35024,33106,35030,35047,33107,35036,35038,35044,33111,35052,35048,35049,35057,35059,33108,35062,33109,35064,35081,35084,35072,33112,33113,35074,35079,35086,35089,33117,33118,35096,35099,35091,33119,37922,35093,35101,35104,35106,33123,35108,35110,35679,35112,35114,33124,35116,33125,35119,35120,35124,35126,35138,33129,35128,33130,35129,35131,35134,35137,33131,33132,35140,33133,33134,33135,33137,33138,33139,33140,33141,33142,35152,35155,35159,35166,35163,35165,35169,35170,35173,35203,35175,35183,35187,35191,35193,35195,35199,35202,35209,35211,35213,35216,35223,35225,35231,35229,35236,35220,35238,35240,35262,35243,35249,35251,35255,35257,35258,35261,35767,35274,45818,35265,35268,35272,35275,35277,35156,35279,35280,35284,35148,35151,35157,35158,35162,35167,35168,35171,35174,35177,35185,35186,35188,35190,35192,35194,35196,35198,35200,35201,35204,35212,35214,35217,35215,35218,35219,35221,35222,35227,35228,35244,35230,35250,35235,35237,35241,35242,35253,35259,35263,35260,35264,35267,35269,35270,35273,35276,35278,35282,35283,35285,35286,34945,34946,34948,34949,34951,34952,34954,34980,34979,35003,35004,35006,35008,35009,35011,35021,35023,35025,35032,35037,35039,35040,35042,35043,35045,35019,35046,35051,35054,35055,35056,35058,35060,35075,35077,35078,35080,35085,35087,35088,35092,35097,35098,35100,35102,35103,35105,35107,35109,35111,35113,35115,35117,35118,35122,35123,35125,35127,35130,35132,35133,35135,35136,35139,35288,35291,35292,35298,35289,35290,35301,35293,35294,35296,35297,35299,35313,35308,35311,35309,35310,35303,35324,35317,35319,35320,35322,35332,35340,35345,35348,35330,35355,35358,35362,35366,35351,35375,35380,35388,35386,35406,35401,35409,35412,35418,35421,35425,35427,35430,35436,35439,35433,35445,35449,35402,35405,35410,35411,35426,35428,35429,35431,35432,35434,35435,35440,35441,35446,35443,35444,35447,35448,35451,35328,35329,35331,35333,35336,35339,35930,35342,35343,35344,35346,35347,35349,35350,35353,35354,35357,35359,35361,35364,35365,35367,35370,35371,35373,35374,35377,35378,35379,35382,35387,35390,35392,35393,35396,35397,35389,35321,35323,35325,35326,35460,35455,35453,35465,35454,35466,35467,35468,35472,35475,35479,35482,35480,35481,35488,35485,35477,35478,35489,35486,35487,35490,35494,35497,35506,35492,35493,35495,35491,35510,35496,35501,35518,35521,35525,35528,35531,35533,35526,35527,35529,35530,35522,35532,35534,35535,35537,35538,35542,35547,35550,35558,35561,35564,35935,35539,35567,35572,35540,35541,35543,35544,35548,35549,35551,35553,35554,35556,35559,35560,35562,35563,35566,35577,35582,35585,35568,35587,35593,35599,35602,35604,35596,35595,35603,35605,35606,35612,35597,35613,35598,35614,35617,35621,35594,35624,35627,35629,35630,35632,35634,35639,35641,35644,35647,35653,35615,35659,35616,35622,35626,35628,35631,35633,35636,35640,35638,35642,35643,35646,35651,35650,35625,35669,35672,35675,35678,35664,35661,35662,35666,35660,35680,35670,35671,35673,35676,35677,35681,35682,35683,35684,35667,35668,35690,35692,35699,35702,35704,35689,35712,35708,35716,35720,35727,35729,35732,35723,35738,35742,35735,35715,35745,35747,35749,35752,35758,35761,35764,35710,35711,35718,35721,35709,35724,35733,35734,35736,35737,35740,35741,35743,35744,35746,35748,35750,35751,35753,35754,35756,35739,35765,35757,35759,35760,35766,35691,35693,35694,35695,35700,35701,35703,35706,35772,35777,35773,35779,35783,35786,35774,35789,35797,35799,35806,35808,35812,35814,35816,35820,35824,35832,35834,35837,35842,35844,35846,35850,35870,35855,35859,35862,35864,35867,35873,35847,35853,35877,35886,35889,35895,35897,35892,35778,35775,35776,35882,35780,35803,35781,35782,35784,35785,35787,35790,35791,35793,35798,35804,35805,35807,35813,35815,35817,35818,35819,35825,35828,35829,35840,35830,35831,35835,35841,35836,35843,35845,35849,35851,35852,35860,35861,35863,35865,35866,35868,35854,35869,35872,46986,35871,35875,35876,35878,35893,35894,35887,35896,35898,35880,35883,35874,35909,35902,35906,35910,35903,35904,35905,35907,35908,35900,35911,35912,35916,35920,35926,35929,35933,35914,35915,35918,35919,35932,35917,35931,35936,35934,35941,35944,35947,35952,35954,35942,35943,35948,35953,35958,35961,35965,35970,35973,35976,35979,35981,35987,35990,35992,35999,36002,36005,36016,36023,36027,36035,35966,35967,35969,35971,35972,35986,35974,35975,35978,35980,35988,35991,35993,36000,36001,36003,36004,36010,36011,36015,36017,36018,36025,36028,36014,36022,36020,36037,36036,36038,36042,36045,36044,36040,36043,36039,36046,36047,36048,36055,36049,36068,36062,36064,36063,36066,36069,36070,36060,36077,36079,36080,36082,36083,36081,36106,36092,36095,36097,36099,36100,36108,36102,36127,36131,36133,36138,36137,36091,36155,36146,36152,36154,36156,36159,36177,36169,36172,36175,36178,36179,36181,36184,36190,36193,36200,36207,36209,36204,36214,36216,36212,36166,36229,36174,36232,36237,36241,36244,36250,36253,36255,36258,36263,36268,36274,36276,36233,36286,36289,36291,36248,36231,36234,36235,36242,36243,36245,36230,36251,36252,36271,36257,36262,36249,36266,36267,36269,36272,36273,36277,36287,36288,36090,36096,36101,36123,36110,36115,36111,36113,36116,36119,36120,36118,36109,36129,36130,36132,36135,36139,36140,36141,36144,36147,36148,36153,36157,36158,36161,36170,36171,36173,36176,36180,36160,36182,36183,36185,36191,36187,36192,36195,36196,36202,36203,36205,36206,36208,36210,36211,36213,36215,36217,36218,36201,36304,36297,36298,36296,36299,36300,36301,36306,36314,36305,36317,36323,36325,36329,36331,36334,36337,36342,36344,36347,36349,36351,36358,36361,36365,36368,36370,36373,36312,36318,36319,36322,36324,36327,36328,36332,36333,36338,36343,36350,36353,36354,36359,36360,36363,36364,36366,36367,36369,36371,36372,36374,36375,36377,36383,36389,36382,36379,36386,36380,36381,36392,36418,36398,36401,36404,36407,36421,36423,36433,36411,36442,36452,36455,36436,36458,36468,36476,36477,36439,36474,36480,36482,36486,36492,36387,36390,36391,36393,36400,36403,36408,36409,36430,36410,36419,36420,36424,36425,36412,36413,36431,36432,36435,36437,36443,36453,36454,36456,36457,36483,36475,36478,36479,36481,36484,36485,36495,36496,36500,36472,36503,36506,36508,36515,36511,36527,36518,36519,36521,36537,36539,36541,36546,36550,36552,36555,36558,36561,36564,36566,36568,36533,36504,36569,36572,36501,36502,36505,36507,36512,36516,36520,36522,36526,36528,36529,36531,36532,36538,36542,36543,36545,36556,36557,36559,36560,36571,36574,36575,36580,36582,36584,36587,36589,36577,36578,36591,36593,36597,36600,36603,36605,36608,36612,36618,36620,36614,36634,36661,36636,36640,36643,36645,36648,36651,36654,36657,36659,36672,36673,36681,36684,36685,36687,36691,36701,36708,36710,36713,36717,36675,36724,36730,36721,36743,36746,36749,36751,36754,36757,36727,36736,36760,36768,36771,36777,36779,36782,36786,36788,36790,36793,36795,36796,36799,36823,36802,36806,36808,36826,36812,36815,36818,36821,36830,36835,36838,36841,36843,36846,36848,36813,36855,36861,36865,36867,36873,36875,36906,36887,36890,36893,36902,36881,36870,36915,36916,36917,36918,36921,36913,36929,36934,36910,36937,36941,36947,36944,36953,36957,36961,36967,36973,36975,36979,36985,36832,36834,36839,36840,36842,36844,36845,36866,36872,36874,36876,36877,36871,36883,36886,36889,36894,36903,36888,36897,36879,36898,36904,36905,36907,36908,36909,36919,36924,36925,36938,36942,36943,36945,36914,36954,36955,36956,36959,36960,36968,36969,36971,36972,36974,36977,36978,36981,36976,36581,36585,36990,36594,36586,36588,36590,36592,36595,36596,36598,36606,36602,36604,36607,36613,36619,36621,36632,36629,36630,36633,36635,36609,36642,36644,36646,36647,36649,36650,36652,36655,36656,36658,36660,36665,36666,36668,36671,36674,36676,36677,36680,36682,36683,36686,36689,36690,36695,36692,36693,36728,36703,36704,36706,36707,36709,36714,36715,36716,36719,36720,36725,36726,36718,36731,36732,36761,36734,36744,36745,36729,36747,36748,36750,36752,36753,36755,36756,36758,36759,36762,36763,36769,36770,36772,36778,36780,36781,36784,36785,36789,36791,36792,36797,36798,36809,36800,36801,36804,36805,36807,36810,36811,36814,36816,36817,36820,36822,36992,36827,36825,36828,36829,36819,36996,37002,37004,37009,37012,37015,37018,37020,37024,36994,37041,37048,37059,37033,37037,37039,37051,37054,37056,37060,37064,37070,37079,37076,37118,37090,37092,37097,37099,37105,37112,37121,37128,37130,37158,37136,37141,37144,37155,37146,37091,37124,37152,37093,37096,37100,37101,37103,37104,37110,37111,37114,37115,37117,37119,37120,37122,37123,37126,37134,37135,37137,37138,37140,37142,37143,37145,37148,37153,37150,37151,37154,37156,37157,36997,37000,37001,37005,36998,37003,37006,37007,37008,37010,37011,37013,37014,37021,37016,37017,37025,37026,37029,37030,37031,37032,37034,37035,37061,37036,37038,37040,37049,37042,37050,37052,37053,37055,37057,37058,37043,37062,37080,37063,37071,37072,37082,37083,37077,37078,37168,37089,37165,37169,37163,37159,37160,37161,37174,37170,37173,37167,37164,37183,37186,37176,37177,37184,37185,37188,37189,37190,37187,37182,37191,37192,37193,37194,37196,37197,37200,37204,37206,37208,37213,37216,37218,37220,37224,37225,37232,37231,37233,37237,37240,37246,37248,37250,37253,37243,37228,37256,37261,37262,37263,37278,37267,37270,37260,37275,37272,37195,37198,37199,37201,37203,37207,37209,37214,37215,37217,37219,37221,37223,37211,37226,37227,37229,37230,37245,37238,37241,37242,37249,37251,37252,37254,37255,37258,37257,37259,37265,37266,37268,37276,37277,37279,37280,37281,37291,37284,37290,37288,37294,37282,37283,37285,37295,37305,37308,37315,37317,37320,37316,37322,37323,37318,37324,37325,37326,37328,37329,37330,37331,37332,37336,37334,37335,37342,37340,37341,37333,37343,37347,37348,37351,37364,37349,37356,37359,37362,37366,37372,37381,37383,37386,37387,37393,37396,37398,37400,37403,37406,37409,37421,37424,37429,37428,37445,39393,37435,37414,37442,37451,37459,37463,37467,37469,37472,37474,37455,37456,37453,37481,37485,37486,37494,37487,37489,37490,37488,37501,37491,37513,37515,37517,37524,37526,37527,37534,37532,37543,44515,37545,37548,37551,37554,37525,45238,37395,45435,37454,37560,37562,37566,37571,37569,37577,37578,37573,37581,37583,37588,37594,37600,37605,37607,37609,37613,37622,37626,37628,37631,37638,37606,37641,37608,37614,37615,37624,37625,37610,37623,37627,37629,37630,37632,37390,37633,37379,37643,37646,37647,37388,37380,37391,37392,37394,37397,37402,37418,37404,37405,37415,37419,37420,46538,37416,37430,37431,37443,37444,37446,37447,37452,37461,37462,37460,37465,37468,37470,37471,37473,37475,37476,37483,37484,37492,37482,37502,37516,37518,37521,47449,37533,37535,37522,37523,37544,37546,37549,37538,37539,37537,37550,37555,37561,37565,37567,37568,37572,37582,37570,37587,37589,37595,37590,37598,37596,37601,39581,37603,37365,37353,37352,37360,37361,37368,37370,37373,37661,37374,37650,37651,37652,37656,37659,37665,37674,37668,37669,37673,37682,37684,37666,37693,37675,37677,37680,37685,37681,37683,37653,37686,37688,37690,37691,37692,37654,37655,37657,37658,37660,37694,37704,37696,37698,37709,37663,37695,37700,37711,37714,37697,37699,37701,37705,37702,37703,37712,37713,37715,37716,37708,37718,37710,37720,37721,37724,37726,40638,37729,37731,37735,37738,37740,37745,37748,37737,37756,37759,37762,37776,37766,37770,37773,37723,37728,37730,37767,37732,37722,37778,37733,37734,37744,37736,37741,37742,37746,37747,37749,37750,37769,37757,37758,37764,37765,37772,37774,37763,37771,37784,37785,37779,37783,37786,37777,37787,37793,37794,37812,37798,37805,37791,37815,42562,37792,37817,37831,37825,37828,37837,37820,37841,37848,42563,37839,37881,37852,37854,37856,37859,37862,37871,37876,37878,37886,37865,37892,37901,37795,37806,37799,37807,37809,37811,37813,37814,37816,37819,37823,37824,37829,37830,37836,37838,37843,37832,37818,37850,37851,37853,37855,37846,37857,37860,37861,37847,37867,37849,37866,37874,37875,37879,37870,37880,37893,37899,37900,37873,37902,37903,37790,37908,37906,37907,37917,37921,37923,37935,37936,37939,37941,37947,37949,37952,37953,37954,37957,37960,37926,37912,37913,37918,37920,37961,37924,37927,37928,37931,37950,37944,37932,37933,37934,37942,37945,37951,37946,37958,37959,37969,37955,37962,37963,37956,37966,37968,37986,37975,37977,37971,37970,37972,37973,37976,37987,37980,37978,37981,37982,37999,38010,37994,38006,37989,37990,38012,38016,38020,38017,38018,38022,38023,38026,38033,38029,38038,38040,38041,38058,38052,38000,38055,38004,38008,38007,38009,38011,38013,38014,38021,38024,38025,38027,38028,38034,38030,38031,38032,38035,38036,38037,38039,38042,38049,38050,38051,38054,38056,38057,38059,38060,38061,38062,38063,38064,38065,38066,38067,38070,38075,38072,38089,38092,38094,38098,38073,38106,38108,38114,38117,38119,38102,38068,38069,38074,38077,38078,38079,38082,38083,38085,38088,38091,38093,38095,38099,38097,38100,38101,38103,38104,38105,38112,38113,38115,38120,38121,38122,38125,38127,38131,38139,38134,38143,38145,38149,38151,38126,38130,38146,38132,38133,38136,38137,38138,38144,38135,38147,38148,38150,38153,38154,38155,38161,38163,38166,38169,38171,38174,38176,38178,38186,49997,38188,38190,38193,50028,50029,50024,50023,50027,50030,50022,50031,38157,38156,50025,19523,19579,50018,50021,42950,42951,42957,42958,2,19534,19535,19528,19513,32377,32431,31989,31348,32358,30737,31307,32121,31929,30693,31651,31453,31552,30968,32417,31253,32209,31484,31774,31151,32207,32319,30750,38159,30791,31894,31250,31429,32383,38160,43744,32403,32134,43789,32002,31404,43910,43911,31354,31332,31023,32511,31648,30825,31488,36221,36222,36280,36281,30637,36246,36388,38162,31469,36524,30565,32268,37412,44445,38167,38168,38170,38172,38173,38175,38177,38187,38191,38192,44594,38213,38194,38195,38197,38200,38203,38208,38215,38217,38198,38199,38204,38209,38212,38218,38219,38206,38207,38223,38225,38232,38234,38222,38228,38240,38243,38252,38278,38257,38260,38263,38266,38269,38272,38273,38276,38282,38284,38288,38292,38295,38247,38311,38299,38301,38306,38308,38315,38318,38320,38321,38322,38326,38328,38330,38333,38336,38338,38340,38346,38360,38354,38356,38300,38302,38303,38304,38305,38310,38345,38319,38324,38325,38331,38332,38339,38347,38348,38361,38358,38359,38350,38231,38226,38362,38363,38224,38227,44862,44879,38233,38238,45044,33197,33205,33208,33223,33188,33318,33241,33319,33245,33268,33287,31168,31176,45405,45406,33395,33396,33375,33405,45522,45523,45574,45767,45771,49716,49717,33054,37719,33502,33505,33511,38516,33516,38625,38848,38849,38789,33128,33001,33531,33526,33527,33522,33555,33602,33572,33556,33619,33630,33636,33647,38242,38241,38244,33695,33670,33674,33684,33704,33708,33711,38245,33663,33751,33774,33775,33746,33747,33755,33759,33763,38246,38248,38264,38256,33876,38253,38254,38258,38261,38262,38270,38271,38274,38275,33818,33919,33948,33922,33902,33905,38285,38277,38283,38286,38287,38289,38291,38293,38294,34078,38296,34059,34060,34061,34320,34217,38297,38298,34342,34384,34398,34425,34462,34378,31522,30517,45781,32329,31887,31489,34009,31800,30913,30546,47073,31117,31958,49991,49992,37413,40099,40100,40127,32903,30973,31324,32424,40627,40647,40648,34773,48350,48351,48495,33042,48921,49112,33621,36220,34753,32157,32907,33099,38309,32168,34777,31688,34783,34786,34812,34840,34846,34850,34923,38368,38369,38371,38376,38380,38383,38370,35144,35145,35178,35254,35026,35090,35300,35623,35674,38390,35698,35719,35722,35707,38385,38387,35788,35826,35888,35989,38372,38374,38375,38378,38379,38382,38381,38384,38377,31939,35998,36050,35994,36012,36026,36029,36041,36067,36399,36438,36583,36653,36669,38386,38388,38391,36696,36901,36952,36833,36863,36884,36895,36920,36939,36940,36982,36983,36984,37127,37239,38400,37354,37355,37371,38405,38410,38392,38414,38420,38417,38422,38426,38429,38431,38434,38436,38442,38446,38438,38458,38450,38454,38455,32738,47432,48292,32950,32954,33005,33092,32889,33023,49990,50004,31465,47044,38461,32805,32821,38464,42192,32881,38452,38457,32920,30676,32812,33097,32976,33048,38401,31836,32453,30900,32988,33072,33082,38403,32937,33424,44039,38711,38712,32857,33436,38408,38409,38404,38411,38406,38415,38412,38413,32726,33846,38418,38419,38424,38425,38427,38428,38439,38440,38430,38432,38433,38435,38437,38394,38447,38395,38444,38448,38441,38465,38483,38467,38466,38488,38474,38484,38485,38486,38489,38490,38491,38512,38501,38504,38506,38509,38536,38545,32062,38520,38524,38526,38529,38531,38534,38539,38546,38547,38559,38549,38552,38553,38561,38564,38568,38570,43305,38572,38582,38574,43246,38578,38584,38533,38588,38590,38604,44092,44093,38592,38594,38596,38599,38602,30595,32541,32242,31417,31712,31029,31880,44073,31462,31134,31701,31576,32539,32532,30626,31266,31458,32296,30813,31234,32411,32022,31729,31114,32489,38589,31818,31579,31924,32886,32765,33016,33105,33121,38593,31194,31105,31264,31119,33122,32136,32507,31947,42949,31851,30943,31248,30727,30632,31455,30711,32502,31788,30527,32300,32515,32129,33786,32913,38595,33059,32978,33027,32758,32526,32364,30922,32828,32837,31823,32843,44037,32871,32867,48349,32006,44072,32877,32998,32796,32815,33892,45049,45048,40574,45770,36523,30608,38597,37095,37102,33634,35050,46237,38600,37821,38527,38528,38532,38537,38535,38541,38544,38548,38550,38551,38554,38563,38567,38562,38569,38571,38573,38576,38470,38577,38580,38581,38583,38575,38473,38471,38487,38500,38476,38477,38479,38480,38482,38494,38495,38497,38498,38502,38510,38511,38518,38519,38503,38505,38513,38514,38631,38521,38605,38522,38624,38523,38525,38620,38633,38608,38612,38636,38639,38642,38613,38616,45239,38618,38645,38637,38638,38630,38619,38622,38634,38635,38640,38641,45493,38643,38644,38649,38646,38647,38648,38652,38660,38654,38657,38674,38668,38671,38673,38669,38672,38661,38655,38656,38658,38662,38663,49677,38653,38675,38666,38650,38651,38667,38676,50000,50001,50002,38677,38679,37466,37493,38685,38682,37530,37644,37519,37547,37599,38691,38699,38723,37664,38713,37667,37676,38708,38716,38725,38729,38719,38732,37754,37717,38734,42887,37775,36270,38739,38736,36009,38744,37797,38742,38745,38746,38750,38752,38755,38758,38760,38692,38693,33251,47264,34688,38695,38565,38696,38697,38698,38701,38702,38703,38704,38709,38710,38714,38715,38717,38718,36415,37751,38720,38721,38724,38722,38726,37800,38727,38728,38733,38735,37808,38737,37940,38740,38738,38743,38748,38749,38751,38756,38757,38683,38684,38686,38741,38001,38086,38116,38129,38189,38210,38239,38259,38761,38764,38329,38389,38453,38421,38445,38449,38766,38768,38538,38542,38543,38623,38670,38659,38771,38774,38779,38784,38802,38799,38787,38777,38796,38803,38804,38805,38808,38813,38816,38822,38826,38836,38839,38842,38844,38850,38762,38763,38765,38767,38772,38773,38775,38776,38778,36739,34836,35121,34147,37591,39280,45780,39740,39812,33826,45404,49980,41958,42648,42955,43144,38809,38788,38810,38811,38812,38814,38815,38818,38823,38817,38819,38820,38821,38824,38825,38828,38829,38837,38838,38841,38843,38831,38832,38845,38846,40473,38827,38834,38835,38857,38855,38860,38861,38851,38852,38862,38865,38868,38872,38876,38856,38858,38859,38863,38864,38866,38867,38870,38871,38874,38875,38878,38879,38869,38877,38873,38885,38881,38882,38888,38886,38887,38892,38893,38894,38889,38890,38895,38896,44917,44918,44916,44861,33923,35028,35029,33947,46171,45520,34006,34011,37044,50006,36514,37045,37046,37047,46250,38909,38906,38908,38898,38899,38910,46746,38911,38912,38914,38915,38916,38913,38919,38920,38922,38923,38924,38925,38928,38930,38921,38932,38935,48768,38937,44606,38939,38942,38397,38945,38926,38927,38929,38931,34312,34722,38933,38934,38944,38211,33779,38946,38947,38948,37027,38949,40460,35041,36735,38951,38954,38956,38962,36622,38950,38965,34044,37202,33913,34052,38970,48987,38973,38975,33243,38977,38979,37457,49408,37458,34833,33838,41132,33154,42191,42359,42360,42946,42947,43909,36089,33853,33194,34399,37264,46788,49993,50003,34671,34684,33256,33259,38957,33937,34679,33429,33432,33426,38958,38960,38961,38963,33341,37139,38964,38966,33274,34693,38967,38971,38972,38974,38978,38982,33500,38983,35033,35150,36197,37635,37929,33692,38985,38986,47850,38987,38990,38992,38994,35206,38996,37222,34720,38555,35161,35197,39244,40098,38968,36074,38999,33613,44857,39003,39006,33657,43252,34250,35792,34264,33446,35794,35795,35796,49846,35923,34310,37094,33688,33785,33924,33806,34012,42257,43743,36013,44094,33228,36279,49985,33249,35070,35071,34522,33262,33281,33288,33812,37889,39018,39008,39012,39019,34040,39020,39021,39026,36429,39029,39031,39034,39038,34738,37602,46702,39044,37149,39047,36923,39050,39053,39055,44954,37810,34821,36733,38255,36186,37244,33668,41150,43226,33609,33642,45812,35281,36313,34162,36663,34956,36320,33561,37289,33216,49111,35226,39063,39059,39065,39067,39070,39073,38629,39075,49334,34763,34752,37287,39080,35304,37389,39077,39087,34835,34860,33189,33397,38847,38096,35141,34030,34534,34491,35391,33503,35271,35302,33528,34325,33209,35611,35649,41683,39092,33709,33957,35968,34323,34756,35810,39094,39097,39098,34485,34419,34742,39102,39105,34345,36008,38481,39114,34348,39115,39117,39120,33842,44091,44811,44810,33869,37477,37302,39124,44878,36219,33963,33435,34636,39127,39128,39130,39131,39134,34527,35076,49989,36670,36679,34368,34632,36964,49515,33149,33150,33383,33336,39136,39139,39141,39144,33537,33625,33726,33559,33626,39146,33627,33727,33728,33907,33946,33857,33888,33889,33992,34000,33950,33951,33994,33993,34190,33764,34187,34188,34222,34296,37116,35068,33297,37108,35686,37540,37129,39095,39096,39100,39101,39107,36030,37081,33278,35463,39108,35398,37411,37506,43030,33192,35637,34508,33862,39118,33231,45766,49995,34353,39109,39116,39121,39119,39122,39123,39125,39126,39132,39133,39135,39137,39138,39142,39143,38988,34940,34935,38991,34944,34947,34950,38989,38995,39000,39001,39009,33212,39002,39013,39004,39005,39007,39014,39010,39011,39016,39017,39022,37620,36355,37597,38236,39023,39024,39025,33357,39035,39027,39028,39030,39032,39033,34967,39048,39036,39037,39049,39039,39046,39045,39051,39052,39054,39057,39078,39060,39058,39061,39062,39064,39066,39069,39071,39072,39074,39076,39079,35189,39088,39083,39089,39090,39148,39149,39147,39176,39150,38472,39157,39163,39166,39170,39173,39180,39182,39185,39200,33909,39203,35295,39188,39190,39192,39197,39204,39194,35334,35337,35338,39209,39212,39215,39205,39206,39217,47601,35368,35369,35372,37687,37796,39220,39222,35552,34138,39230,39234,39235,39239,39242,39246,39248,39250,39253,39265,35484,36970,37563,39256,39260,39263,39268,39271,39274,39277,39292,39278,39279,39281,39283,39286,39297,39299,39302,39305,35827,39151,35635,39155,39156,39161,39309,39152,39153,39167,36136,39165,39168,39169,39162,39171,39172,39177,39175,39178,39179,33265,39181,39183,39184,39189,39193,39198,39199,39210,39211,39213,39214,39216,39218,39201,39231,39219,39221,39223,39224,39228,39229,39232,39233,39237,39238,39247,39251,39252,39258,39291,36292,39259,39261,39262,39266,39269,39270,39273,39282,39288,39289,39298,39300,36949,36958,36114,36697,39314,39301,39307,39308,39310,39317,37564,39316,37503,39315,39318,39319,39320,38402,36065,38048,38833,45403,33896,44639,39321,39323,39325,39326,39322,35607,39328,39331,34984,39327,39324,39329,39330,37868,39336,39335,39338,39332,33239,39333,39343,39337,39339,39340,39346,34657,34198,39342,39355,39356,39348,39364,39351,39367,39353,39354,38478,35246,39365,39366,39371,39373,39377,39379,39381,39384,39387,39390,39392,39394,39397,39399,39374,39375,39376,39378,39380,39382,39383,39385,39386,39389,39391,39395,39396,39405,39398,39400,39402,39403,39404,39412,33986,36667,39408,39409,39415,39417,33350,36394,37417,39419,39420,39422,39406,39407,39410,39411,39413,39425,39426,39414,39416,39418,39423,39429,39432,39435,39439,39440,33482,39443,39445,39451,39457,39458,39460,39462,39465,33639,39480,39468,39472,39475,39477,45240,34382,33822,39430,33551,39492,39484,39486,39488,39489,39496,38880,39522,39498,39502,39510,39513,39515,39520,37179,37872,39525,39531,39539,39541,39544,39547,39528,39536,39015,33860,39549,39551,39552,39555,35768,39562,35802,39559,39565,39571,39572,39575,39578,34896,39579,36637,39577,39580,39582,39585,39588,39290,39601,38984,38249,38393,39590,39595,39596,39599,39607,36678,39604,39561,39563,39564,39566,39567,39573,39560,39593,39431,39594,39574,39583,39584,39597,39598,39600,39605,39606,39428,39433,39434,39437,39438,39441,39442,39444,39447,39453,39454,39459,39461,39464,39466,39463,35502,39469,36999,39467,39470,39471,39473,39474,42543,35555,39481,39476,39478,39479,39485,39487,39490,39491,39493,33491,39495,39497,39503,39504,39505,39511,39512,39517,39518,39519,39521,36494,39530,39526,39527,39533,39534,39535,39540,39542,39524,39532,41688,33660,39543,39548,39550,39553,39554,39557,39558,39608,36664,39615,39613,39614,39616,39619,39623,39626,39628,39629,45918,39633,39634,39631,39635,39636,39618,39627,39630,39646,36530,34168,38614,39637,39638,39642,35755,36278,33310,39649,39652,39654,39659,39662,39663,39657,37988,38373,39678,39679,39681,38003,39670,39672,39675,39666,39695,33182,33485,39683,39685,39686,39688,39691,39694,39696,39704,39699,39701,39710,39711,39714,39717,39720,39658,34776,39722,39650,39651,39660,39661,39664,39665,33637,39697,39669,39673,36926,39689,39671,39690,39692,39693,39698,39700,36311,38515,35234,39702,39703,38664,39708,39709,39712,39713,39718,39719,39721,39643,39723,39725,39644,39645,39648,39728,33735,39647,39726,39730,39738,39732,39733,39736,39750,39754,39759,39741,39743,33455,39745,39748,39749,39757,39766,33803,38980,37556,37132,39764,34804,36617,39776,39772,39769,39773,39777,37271,41066,37974,39778,39779,39781,39782,39785,39788,39800,39792,39806,36261,49715,39791,39795,39797,39802,39813,37369,33495,39807,39809,39810,39816,39820,39818,39632,39822,39833,39834,39825,39828,39831,39835,39839,36223,33235,39850,36857,39841,39844,39847,39848,33408,39868,39853,39856,38900,39859,39861,39865,39737,39739,33334,38076,33296,39742,35459,39744,39746,39747,39755,39568,33499,39761,39762,39763,39756,39758,39765,33624,33970,39770,39771,39780,39783,37911,37580,37898,37914,37919,39784,39786,37930,39787,39796,39804,39793,39805,39808,39817,39819,35360,39836,37743,38002,39829,39830,39837,39838,36471,38493,38469,39842,39843,39840,39846,39849,39851,37925,38111,38891,38152,33800,39852,35500,36019,37678,39854,39855,39857,39858,39860,39863,39870,39871,39864,39866,39867,39869,39872,39862,38081,38290,39875,39877,39881,39884,39886,39889,39892,39894,39878,39896,39899,39900,39873,39874,39879,39882,39883,39901,39885,39887,39888,39890,39891,39893,39895,39902,37780,38181,38496,39907,39903,39904,39227,39908,39912,36265,39915,39917,39905,39906,39909,39910,39911,39913,39919,37768,33509,39914,39916,39918,45125,37147,34513,39922,39926,39929,39931,39936,37992,37510,37844,38019,38781,33544,33420,39370,39939,39953,39956,39944,33593,39947,39950,39960,39958,35000,35984,39963,39965,35403,34669,39968,39971,45521,37520,35287,36878,33977,35147,38897,33376,39955,38205,38959,39987,39983,39990,39974,39991,39977,39979,39988,39989,37943,36247,40008,39996,38617,39993,39994,40024,33933,40009,40010,40014,40017,40019,40022,40037,40040,36426,40049,40043,40053,37616,40055,37706,39976,40048,38694,36773,35394,38087,38611,40059,39592,38687,38830,33523,43788,40061,40064,40065,40068,40070,40073,40076,34064,40060,40080,40063,40066,40062,40067,37983,36117,37840,40069,40074,40075,37210,40077,35655,40078,40079,39937,39938,39941,39942,39943,39945,39946,39948,33900,39427,39448,39949,33443,39951,39954,39952,39957,33906,39959,39964,39980,39966,39967,39973,39975,39969,39970,40000,39981,39982,39995,40001,40007,40016,40018,40020,40021,40023,40030,40031,38607,40036,39999,40041,40042,33565,33628,40045,34536,36124,36694,40046,40047,40054,38084,37967,33315,33847,40056,38499,40057,38517,38343,33392,39707,39920,39921,40058,39923,39924,39925,39927,39928,34988,35922,33944,39932,36032,39930,40083,40084,40086,40087,37645,40088,40085,40089,36112,33656,36525,34525,36885,40090,40091,40092,36896,37834,38015,40093,40095,33829,40094,40101,40096,40097,33685,36142,37084,40103,40104,40102,40105,40106,40107,33373,40108,36236,40111,40109,40114,40115,40044,40110,40113,40116,40112,40129,40119,40122,40125,40126,40124,40128,40121,40123,40134,40138,40130,40141,40144,40136,40137,40135,40145,40147,40149,40156,40160,40166,40139,40140,40142,40143,40148,40150,40169,40170,36987,40151,40152,40158,40159,40162,40167,40168,40157,33416,40172,40176,40178,40180,40183,40190,40192,40196,40198,40200,40204,40206,40226,40216,40218,40220,40223,40229,40233,40236,40237,40174,40175,40177,40179,40181,40182,40184,40185,40191,40194,40195,40197,40193,40173,40199,40202,40203,40205,40207,40208,40217,40224,40225,40227,40228,40230,40231,40232,40201,40240,40238,40244,40246,40249,40257,40260,40251,40242,38700,40269,40264,40267,40272,40275,40278,40281,40283,40284,40287,33577,40292,40290,33382,40297,40302,40300,40306,40307,40310,40313,40308,40309,40311,40312,33329,40314,33291,40315,40243,40245,40247,40248,40250,40258,40259,40262,40263,40273,40265,40266,40268,40274,40276,40277,40279,40280,40285,40286,40288,40289,40291,40294,40295,40296,40298,40301,40323,40293,40303,40304,37895,40325,40328,40335,40337,40348,40336,40345,40344,40351,40353,40359,40361,40364,40366,40369,40349,40350,40352,40354,40355,40362,34819,34820,40363,40365,40367,40368,40370,40372,40373,34407,34426,34408,34427,34428,34817,40399,40378,40381,40384,40377,40392,40398,40401,40402,40400,40409,40412,40418,40406,40429,40397,40422,40424,40425,40432,40436,40438,40465,40442,40458,40484,40466,40470,40478,40479,40489,40496,40499,40504,40481,40508,40511,40516,40519,40521,40523,40525,40527,40533,40530,40540,40543,40505,40545,40567,40552,40558,40565,40562,40569,40443,40444,40556,40572,40459,40472,40476,40477,40480,40482,40483,40486,40487,40488,40490,40497,40498,40500,40475,40509,40510,40513,40514,40515,40520,40524,40526,40528,40529,40531,40532,40535,40534,40506,40507,35034,40537,35061,35066,35067,40538,40539,40541,40542,40387,35063,40544,40557,40566,40379,40380,40382,40383,40385,40393,40394,40404,40405,40410,40411,40420,40421,40403,40427,40428,40430,40431,40434,40435,40437,40573,40575,40576,40577,40426,40439,40579,40581,40580,40589,40596,40587,40592,40603,40609,40613,40583,40620,40621,40628,40630,40637,40639,40642,40654,40656,40660,40618,40624,40622,40663,40664,40667,40701,40676,40682,40685,40688,40691,40679,40699,40703,40704,40710,40717,40724,40719,40730,40707,40588,40590,40714,40705,40591,40594,40595,40604,40605,40612,40614,40615,40619,40623,40629,40631,40626,40593,40625,40640,40641,40661,40662,40666,40668,40669,40665,40633,40634,40635,40636,40678,40684,40686,40687,40689,40690,40692,40693,40702,40706,40708,40709,40683,40677,40712,40713,40716,40718,40721,40722,40723,40725,40582,40585,40586,40711,40720,40735,40737,40742,40744,40738,40739,40743,40745,40746,40748,40749,40750,40751,40755,40756,40757,40758,40761,40763,40765,40769,40771,40774,40778,40780,40792,40795,40798,40803,40788,40776,40802,40820,40823,40807,40810,40813,40816,40829,40840,40842,40845,40848,40851,40852,40854,40856,40824,40872,40875,40877,40881,40883,40885,40866,40891,40879,40869,40890,40898,40901,40904,40906,40909,40912,40915,40925,40926,40927,40903,40920,40921,40922,40923,40947,40943,40931,40934,40941,40937,40945,40928,40929,40973,40951,40954,40957,40965,40967,40970,40976,40983,40985,40988,40992,40982,40955,40956,40966,40969,40971,40968,41000,40972,40974,40975,40978,40979,40980,40981,40987,40990,40991,40994,40995,40977,40989,40764,40770,40777,40779,40781,40793,40794,40796,40797,40800,40801,40805,40806,40808,40809,40811,40812,40814,40815,40817,40821,40822,40831,40832,40838,40839,40843,40844,40849,40850,40857,40858,40867,40868,40873,40874,40876,40878,40882,40884,40886,40887,40893,40899,40900,40902,40905,40907,40908,40910,40911,40913,40914,40916,40932,40918,40933,40935,40936,40942,41001,41002,41004,40949,40950,40948,41013,41019,41024,41021,41003,41006,41007,41014,41015,41020,41005,41011,41025,41027,41022,41023,41032,41035,41038,41041,41044,41028,41047,41048,41050,41053,41056,41058,41060,41057,41071,41033,41034,41036,41037,41040,41045,41046,41049,41051,41052,41059,41061,41062,41076,41078,41084,41087,41093,41097,41101,41082,41083,41081,41085,41086,41096,41099,41100,41102,41103,41114,41115,41117,41118,41119,41109,41143,41152,41127,41129,41135,41139,41141,41125,41126,41128,41130,41131,41140,41142,41155,41158,41161,41163,41165,41168,41172,41175,41177,41181,41196,41184,41187,41188,41191,41193,41197,41200,41206,41205,41185,41186,41190,41192,41194,41195,41198,41199,41201,41202,41207,41156,41157,41162,41189,41164,41166,41167,41170,41171,41173,41174,41176,41179,41180,41169,41178,41209,41210,41211,41212,41226,41217,41219,41225,41218,41220,41221,41227,41228,41213,41232,41245,41240,41243,41233,41239,41241,41242,41230,41231,41234,41238,41246,41247,41248,41257,41262,41254,41259,41264,41265,41249,41268,41272,41255,41256,41258,41269,41273,41274,41280,41277,41281,41282,41288,41290,41294,41299,41300,41301,41305,41308,41285,41284,41311,41286,41292,41293,41296,41306,41309,41310,41295,41312,41313,41298,41303,41291,41314,41315,41316,41319,41323,41325,41332,41336,41339,41317,41318,41320,41322,41324,41327,41328,41334,41335,41337,41338,41340,41341,41343,41348,41326,41358,41359,41361,41363,41365,41355,41356,41357,41362,41364,41350,41354,41349,41368,41367,41371,41378,41381,41384,41387,41389,41391,41374,41366,41397,41372,41373,41379,41380,41382,41383,41390,41393,41394,41396,41395,41392,41411,41399,41400,41409,41410,41398,40419,41412,41417,41416,41420,41424,41419,41425,41434,41436,41440,41441,41444,41453,41457,41470,41473,41475,41476,41479,41482,41485,41488,41515,41522,41496,41500,41505,41508,41512,41504,41524,41534,41528,41541,41544,41545,41546,41550,41553,41555,41530,41560,41563,41566,41569,41573,41583,41586,41589,41591,41601,41604,41606,41609,41611,41597,41594,41598,41614,41474,41477,41478,41480,41481,41483,41484,41486,41487,41490,41491,41498,41499,41502,41503,41506,41507,41510,41511,41513,41514,41535,41536,41523,41529,41532,41533,41542,41531,41543,41548,41549,41551,41552,41556,41561,41562,41568,41571,41572,41584,41585,41547,41588,41590,41592,41593,41595,41596,41602,41603,41605,41607,41608,41610,41435,41438,41439,41442,41443,41445,41446,41451,41452,41455,41456,41458,41460,41463,41469,41616,41617,41618,41454,41621,41624,41627,41638,41640,41631,41643,41634,41660,41664,41668,41647,41651,41653,41657,41658,41671,41673,41676,41690,41685,41687,41693,41696,41699,41703,41706,41709,41659,41716,41719,41655,41656,41721,41654,41648,41672,41675,41677,41678,41686,41694,41695,41697,41698,41700,41707,41708,41711,41632,41722,41619,41620,41622,41623,41626,41628,41629,41630,41625,41633,41639,41641,41726,41731,41734,41736,41738,41740,41743,41746,41749,41752,41755,41761,41766,41774,41776,41777,41780,41771,41758,41782,41785,41788,41795,41797,41800,41806,41810,41814,41816,41819,41809,41822,41727,41747,41753,41754,41756,41757,41759,41760,41762,41764,41767,41768,41750,35172,35073,35413,41772,41773,41778,41779,41781,35179,35383,35181,35182,35385,35180,35404,41783,41784,41786,41787,41789,41790,41798,41799,41804,41805,41807,41811,41815,41817,41818,41820,41851,41827,41829,41832,41834,41836,41840,41843,41847,41849,41825,41853,41856,41859,41861,41865,41867,41869,41871,41874,41876,41878,48293,41882,41885,41888,41889,41873,35416,41901,35419,35420,35423,41904,35424,41894,41895,41896,41898,41899,41900,41902,41903,41857,41858,41860,41862,41863,41868,41870,41872,41875,41877,41880,41881,41883,41884,41891,41892,41893,41828,41831,41833,41835,41838,41839,41841,41842,41844,41848,41852,41854,41855,41850,41921,41909,41915,41916,41919,41912,41918,41927,41930,41934,41941,41943,41936,41925,41961,41970,41968,41950,41953,41955,41963,41965,41973,41977,41947,41979,41981,41978,42012,41989,41992,41995,41998,42000,42003,42005,42007,42009,42015,42021,42025,42026,42033,42038,42039,42040,42041,42044,42048,42051,42057,42036,42059,42063,42065,42068,42072,42076,42079,42082,42084,42060,42090,42058,42093,42095,42098,42101,42108,42104,42037,42053,42128,42124,42115,42116,42119,42122,42131,42134,42138,42140,42142,42145,42147,42151,42152,42153,42154,42123,42165,42155,42157,42159,42160,42162,42169,42172,42173,42143,42167,42150,42177,42179,42182,42186,42195,42199,42201,42204,42158,42161,42163,42206,42164,42168,42170,42171,42175,42176,42178,42180,42181,42196,42174,42197,42198,42200,42202,42205,41984,41987,41988,41990,41991,41993,41994,41996,41997,41999,42016,42001,42002,42004,42006,42008,42010,42011,42013,42014,42017,42018,42020,42023,42024,42027,42028,42035,42042,42043,42046,42052,42064,42066,42067,42069,42070,42071,42074,42075,42077,42078,42080,42081,42083,42085,42086,42091,42092,42094,42096,42073,42097,42099,42102,42103,42120,42121,42125,42126,42127,42129,42130,42132,42133,42136,42137,42139,42141,42144,42146,42148,41917,41920,41928,41929,42135,41932,41933,41935,41938,41937,41939,41940,41942,41945,41969,41946,41948,41949,41951,41952,41954,41956,41957,41964,41966,41967,37998,41971,41972,41976,41980,42207,42208,42209,42210,42211,42212,42215,42217,42219,42222,42227,42229,42240,42236,42238,42213,42214,42216,42220,42221,42223,42237,42239,42241,42242,42243,42250,42245,42246,42247,42248,42249,42254,42252,42253,42251,42256,42258,42260,42262,42266,42271,42273,42277,42279,42282,42284,42286,42289,42298,42322,42320,42306,42300,42302,42301,42310,42314,42317,35579,35450,42337,42325,42340,42327,35557,42348,42356,42364,42369,42352,42375,42383,42379,42385,42361,42391,35508,35569,35570,35571,35574,35575,35578,42387,35580,35581,35584,42402,42394,42397,42399,42406,42408,42411,42414,42420,42425,42434,42437,42440,42442,42445,42417,42338,42341,42451,42261,42255,42329,33160,33161,33171,33172,33201,33414,33415,33441,33442,33453,33454,33643,33644,33677,33678,33632,33633,33691,33768,33770,33721,33722,33723,42455,33810,33884,33885,33811,33895,33928,33929,33931,33932,33975,34063,42462,42466,42457,42469,42476,42472,42459,34211,34212,34214,34219,34228,34230,34240,34245,34259,34262,34263,34309,34317,34306,34307,34338,34339,34344,34352,42480,42482,42481,34354,34357,34358,34360,34361,34363,34365,34366,34369,34371,34372,34390,34391,34388,34421,34444,34445,34447,34449,34450,42263,34486,34487,34498,34504,34507,34519,34745,34750,34751,34714,34716,34719,34727,42264,34761,34766,34767,34769,34792,34755,34797,34802,34803,34805,34806,34808,34814,34815,34825,34826,34828,34842,34872,34873,34875,34876,40963,40964,40984,42265,42268,42269,42270,42267,41042,41043,41055,41072,41079,41080,42275,42276,42278,42280,42281,42274,41107,41088,41094,41095,41110,41137,41138,41144,42283,42285,41145,41159,41160,41236,41237,41244,42290,42293,42292,42287,41260,41261,41266,41267,41289,42304,42305,42303,42307,42295,42323,41352,41353,41369,41370,42312,42313,42315,42316,42318,42319,42321,41388,41422,41423,42324,42349,42326,41525,41554,41564,41565,41567,41613,41649,41650,41652,41642,42350,41645,41646,41704,41705,41717,41718,41733,41741,41742,42351,42353,42354,42355,41823,42358,42362,42363,42365,42377,42378,42381,42382,42384,42357,42376,42380,41846,41886,41887,41923,41924,42047,42049,42050,42061,42062,42106,42107,42100,42118,42225,42226,42230,42231,42386,42388,42390,42392,42233,42234,42235,42296,42259,42272,42288,42297,42403,42393,42395,42396,42398,42400,42401,42404,42405,42407,42409,42410,42418,42412,42415,42416,42419,42422,42423,42424,42426,42427,42435,42438,42436,42443,42444,42446,42447,42430,42432,42456,42453,42463,42464,42465,42470,42471,42483,42477,42474,42475,42491,42494,42498,42496,42501,42507,42505,42484,42510,42514,42528,42525,42517,42520,42532,42535,42538,42541,42546,49568,42549,42539,42540,42542,42547,42548,42499,42500,42508,42509,49650,42512,42515,42516,42518,42519,42521,42522,42523,42524,42526,42487,42527,42534,42537,42488,42530,42531,42529,42533,34878,34890,34892,34894,34895,34902,34907,42495,42550,42492,34912,34914,34915,34919,34925,42551,34986,34987,35013,35015,35031,35149,35153,35154,35160,35164,35207,35208,35210,35232,35233,35239,42554,42552,42553,42555,35245,35256,35266,35312,35314,35315,35335,35833,42567,42556,42558,42564,42559,42560,42557,35839,42561,35437,35438,35457,35458,35483,42565,42566,42570,42568,42569,35512,35513,35514,35498,35499,35509,35519,42572,35565,35583,35589,35600,35601,35619,35620,42575,42571,42573,42574,35648,35654,35713,35714,35728,35730,35731,35762,35763,35809,42576,42577,42580,42583,42586,42588,42597,42604,42595,42601,35811,35822,35823,35838,35848,35891,35921,35927,35928,42609,42614,42621,42612,42618,42611,35945,35946,35950,35951,35956,35957,35959,35960,36007,36021,36093,36094,36098,42623,42578,42579,42581,36122,36239,36240,36254,36259,36260,36264,36275,36290,36307,36330,36335,36336,36356,42582,42584,36357,36405,36406,36422,42585,42587,42590,42591,42596,42598,36427,36428,36469,36470,36487,36488,36509,36510,42602,42603,42605,42610,42616,42617,36540,36548,36549,36551,36553,36554,36565,36567,36615,36616,36641,36711,36712,42620,42622,42624,42627,42619,36836,36837,36787,36794,36847,36849,36850,36868,36869,36891,36892,42629,42631,42632,42635,42638,42642,42649,42655,42643,42644,42650,42651,42663,42656,42652,42657,42633,42634,42636,42658,42637,42628,42630,42639,42640,43364,42641,42664,42665,42666,42667,42668,42670,42673,42687,42676,42679,42682,42684,42686,42690,42693,42721,42696,42699,42702,42705,42708,42711,42713,42717,42722,42726,42727,42729,42732,42735,42737,42741,42740,42743,42745,42748,42752,42754,42756,42669,42671,42672,42677,42674,42675,42678,43757,42680,42681,42683,42685,42688,42689,42691,42692,42697,42698,42700,42701,42703,42704,42706,42694,42707,42709,42710,42712,42715,42716,42719,42720,42728,42730,42731,42733,42714,42734,42736,42739,42744,42746,42747,44045,44046,42750,42751,42753,42755,42757,42758,42749,42762,42760,42765,42759,42763,42764,42761,42767,42768,42769,42766,42772,42781,42775,42777,42779,42770,42771,42773,42774,42776,42778,42780,42790,42784,42796,42800,42803,42805,44482,44483,42809,42799,42811,42813,42810,42812,42791,42786,42814,42785,42797,42792,42798,42801,42802,42804,42816,42817,42806,42815,42818,42828,42829,42832,42838,42841,42834,42835,42836,42844,42845,42848,42850,42852,42858,42865,42868,42872,42874,42876,42913,42911,42879,42884,42916,42918,44951,42919,42921,42923,42925,42927,42933,42920,42929,42931,36922,36935,36936,36948,36963,36986,42936,42939,42942,42952,42965,42967,42966,37019,37022,37023,37065,37066,42977,37098,37106,37107,37131,37171,37172,42831,42833,42840,42842,42843,42846,42847,37205,37247,42849,42851,42854,42860,42873,42875,42880,42885,42886,42914,42866,37286,37338,37339,37350,37357,37358,37363,37384,37385,37399,37408,37410,37514,42915,35985,36033,36034,37552,37553,37558,37559,37579,37611,37612,37639,37640,37604,37670,37671,42917,42924,42922,37672,37739,37760,37761,37826,37827,42926,42928,42934,42935,42938,42930,37863,37864,37877,37891,37915,37916,37937,37938,42940,42941,37948,38071,42944,42945,42953,42954,42962,42991,42943,42981,42978,38107,38109,38110,38118,38123,38124,42998,42980,42992,42993,42995,38141,38142,38164,38165,38179,38180,38202,42996,42997,42999,38214,38216,38235,38265,38267,38268,38307,38316,38317,38327,38334,38335,38337,38341,38342,38459,38460,38462,38463,38530,38468,38492,38507,43000,43003,43004,38598,38601,38632,38609,38610,38730,38731,38753,38754,43010,43015,43024,43027,43006,43020,43007,38759,38769,38770,38780,38782,38783,38785,38840,38907,38918,38936,38938,38955,38969,38976,38993,38997,38998,39084,39085,43040,39093,39104,39129,43034,39140,39145,39158,39159,39174,39191,39240,39241,39243,39249,39254,39255,39267,39275,39276,39303,39304,39368,39369,43045,43047,43049,43013,43014,43017,43018,43019,43025,43026,43016,43054,43028,39576,39586,39587,39589,39591,39545,39546,43029,39617,39621,39622,39625,39653,39655,39656,39674,39676,39677,39680,39682,39684,39687,39715,39716,39767,39768,39790,39798,43036,43037,43038,43039,43035,39799,39801,39821,39826,39827,39832,39845,39876,39880,39897,39898,39933,39934,39935,40071,40072,39961,39962,39978,40146,43046,43048,43050,43051,43052,43053,43055,43056,40219,40221,40222,40234,40235,40241,40252,40253,40270,40282,40339,40357,40271,43057,40358,40360,43062,40423,40440,40441,43060,43066,40456,40457,40517,40518,40522,43072,43086,43090,43082,43069,43099,43093,40546,43108,43106,43107,43109,43104,43112,43115,45241,43120,43124,43126,43128,43132,43136,43141,43138,43146,43149,43151,43153,43175,45242,43155,43158,43161,43163,43166,43169,43173,43176,43177,43178,43182,43185,43194,43196,43188,43190,43197,43200,43203,43206,43065,45693,43105,43184,43231,43221,43195,43211,43214,43217,43229,43157,40547,40554,40555,40563,40564,40570,43235,43239,43244,43253,40571,40617,40644,40645,40658,40659,43212,43213,43216,43219,43220,43218,40680,40681,40700,40736,43236,40762,43222,43223,43230,43233,43234,40790,40791,40767,40768,40775,40841,40846,40847,40853,40919,43237,43238,43240,43241,43242,43243,43067,43064,43058,43059,43061,43068,43070,43071,43073,43088,43089,43092,43094,43101,43102,43103,43110,43087,43091,43100,43111,43113,43114,43116,43140,43123,43125,43127,43130,43131,43134,43135,43137,43142,43121,43147,43148,43150,43152,43154,43156,43159,43160,43162,43165,43167,43168,43171,43172,43174,43180,43181,43183,43186,43187,43189,43192,43193,43198,43199,43201,43202,43204,43205,43208,43209,43210,43293,43288,43297,43269,43275,43280,43284,43291,43300,43272,36282,36073,36107,36284,36285,36303,36283,36302,43322,41459,43309,43312,43319,43326,43329,43331,43333,43336,43344,43347,43351,43356,43361,43366,43369,43371,43373,43376,43379,43385,43387,43391,43393,43395,43403,43402,43405,43408,43399,33152,33153,33335,43411,37423,33359,43122,37782,33294,37422,33419,33360,33422,33736,33737,34195,34196,34197,36988,37679,39436,43419,43420,43416,43424,43427,43421,43422,43436,43430,43433,43437,43439,43442,43444,43454,43455,43460,43463,43465,43467,43468,43450,43447,43475,43489,43490,43493,43482,43486,43496,43479,33155,43499,34588,35053,35507,33693,43505,40120,43480,43481,43484,43485,43488,38451,43483,43478,43170,42367,43491,43492,43495,43497,43494,43498,43500,34266,33701,43510,43273,33998,43270,39187,43501,43506,43507,43513,43260,43261,43271,33753,43276,43277,43282,43283,43286,43287,43289,43290,43292,43298,43301,43302,43281,40599,43310,43320,40646,43311,43314,40474,43321,43327,43328,43313,43332,43334,43335,43338,43339,43345,43346,43349,43350,43352,43348,43367,43368,43370,43372,43374,43375,43377,43378,43380,43386,43389,43388,43390,43392,43394,43397,43398,43404,43406,43407,43409,43410,43413,43414,43415,43418,43423,43426,43429,43432,43434,43435,43438,43440,43441,43443,43445,43446,43428,43456,43461,43462,43464,43466,43469,43452,43453,43458,43521,43522,43526,43524,43525,43527,43401,43529,43530,43523,43528,33162,36414,33292,36321,36345,36346,36348,36402,43531,43532,43533,33848,43602,35142,43557,43534,43536,43540,43546,43550,43553,43555,43559,39516,43576,43563,43579,43582,43596,43565,43585,43570,43600,43603,43611,43615,43620,43632,43607,43617,43630,43636,43626,43642,35247,35248,43638,43640,43644,43648,43651,43655,42608,36339,43264,37376,37377,43658,43661,43665,43667,43668,43551,43674,43696,43681,43672,43679,43686,43673,43680,43684,43685,43694,43695,43535,43538,43539,43542,43548,43549,43552,43554,43556,43541,43547,43564,43560,43561,43577,43578,43581,43558,43583,43584,43586,43587,43598,43599,43601,43605,43604,43597,43606,43613,43614,43616,43618,43619,43621,43622,43627,43628,43612,43645,43633,36075,36076,43631,43634,43635,43637,43639,43641,43643,43646,43669,43652,43647,43649,43650,43654,43657,43659,43660,43662,43663,43664,43666,43670,43671,43699,43703,43717,43707,43724,43728,43701,43730,43733,43736,43739,43700,43702,43706,43719,43720,43726,43727,43729,43708,43725,43732,43734,43735,43738,43741,43742,43745,43749,43752,43746,43740,43731,43771,43750,43751,43758,43760,43762,43764,43767,43775,43759,43761,43763,43776,43768,43766,43769,43770,43773,43774,43777,43778,43779,43798,43781,43784,43785,43790,43792,43795,43799,43782,33186,43800,43801,43805,43811,43814,43815,43818,43821,43825,34975,34960,34997,34971,35094,35095,43828,38680,38681,43846,43837,43830,43834,43840,43853,43856,43843,35316,43829,43858,43861,38407,41931,39264,41283,41321,36445,36562,36563,36570,43868,43881,42956,43865,43872,43878,43885,43886,43887,43890,43893,43895,43896,43898,33649,43900,33413,48348,33195,48844,39164,38606,35306,33761,33536,33326,33358,33203,34857,34216,34305,34729,34811,35395,34788,36547,37125,36056,36194,37557,37642,37464,38747,38621,38443,38475,38357,39972,39803,39529,39789,40986,41421,41054,41098,41235,42441,36610,36611,36599,36601,43904,43907,43912,43916,43938,43941,43914,43955,43960,43956,43963,43966,43957,35608,35609,36128,35610,43981,43976,43970,43977,43978,43979,43971,43972,43980,43786,43787,43791,43793,43794,43796,43797,43803,43804,43807,43802,35573,33213,35590,43822,43813,43831,35591,43816,43817,43820,43823,43824,43826,43827,43819,43836,43841,43842,43844,43845,43848,43849,43854,43855,43857,43859,43832,43833,43847,43860,43863,43864,43866,43867,43873,43879,43880,43869,43870,43891,43892,43862,41123,43894,43899,43905,43906,43908,43917,43928,43933,43934,43939,43940,43945,43968,43961,43962,43964,43965,43967,43983,43969,43992,43997,43999,43990,44002,44004,44008,44010,43984,43991,43994,43995,43996,43998,44016,44000,44001,44006,44007,44009,44011,44012,44017,44018,44019,44005,44014,44003,33225,33991,44050,44047,44054,44062,44063,44065,44041,35511,34261,37727,34076,37180,36962,36078,34017,40657,40892,44066,44078,38140,44089,41136,44105,44121,44097,44107,44108,44111,44114,44117,44118,44124,41092,44021,44026,44029,44042,44043,44048,44049,44056,44057,44071,44020,44024,44055,44090,44099,44100,44109,44110,44112,44113,44115,44116,44120,44122,44123,44119,36293,36626,36627,33705,36628,36631,34552,44131,44127,44132,44133,44134,44135,44129,44130,44126,44128,35576,44136,44143,44147,44149,44150,44138,44152,44154,44145,44146,44148,36688,44155,44158,44161,44163,44144,37979,38158,44183,38185,44167,44170,44174,44177,44180,44186,44204,44192,44193,44197,44201,44207,44211,44218,44222,44224,44156,44157,44160,44162,44165,44166,44168,44169,44172,44173,44175,44176,44178,44179,44181,44182,44187,44188,44195,44196,44198,44199,44200,44203,44205,44206,44194,42937,44209,44210,44213,44220,44221,44223,44225,44208,44237,44229,44230,44228,44231,44238,44239,44254,44244,44263,44258,44261,44241,44242,44264,44268,44259,44260,44262,44269,44270,44271,44273,44280,44278,44279,44287,39624,36831,41124,35363,43772,44305,44290,44292,44294,44297,44301,43412,33780,44308,44310,44314,44318,44325,44319,44320,36980,44322,38423,44323,44324,44288,44289,44291,44293,44295,44296,44299,44300,44303,44304,44321,44298,44306,44307,44309,44312,44313,44311,44315,44335,44333,44326,44327,44342,44349,44355,44359,44345,44347,44338,44334,44336,44337,44340,44341,44343,44344,44346,44348,44350,44351,44357,44339,44356,42034,38981,36104,36105,44358,44360,44361,33285,33749,44365,44363,39106,41615,41612,33289,34227,44366,44367,33974,34537,33757,34546,34696,35184,34985,35252,35176,35456,35422,35717,35588,35821,35381,35955,35996,35977,36006,35890,35913,36573,36362,36352,36434,36882,36702,36930,37337,37407,37401,44377,37842,38128,44371,44373,44369,44370,38053,38090,38579,38323,38540,38355,44372,39103,39272,39257,39056,44374,39306,38917,39352,39446,39401,39620,40261,40553,44375,44376,40452,40471,40584,40643,40766,40610,40655,41333,41509,41351,41465,41974,42045,42117,44378,44379,44381,42738,42859,43133,43012,44382,43337,43285,43207,36864,43765,43656,43718,43737,36824,36856,36862,44383,44387,44384,44212,44202,44302,44394,44388,44389,44392,44393,44395,44396,44397,44399,44400,44401,44398,44408,44405,44404,44406,44407,44402,44411,44403,44409,44410,44415,44419,44422,44426,44429,44432,44450,44442,44439,44452,44455,44444,44459,44462,44465,44467,44476,44479,44484,44486,44489,44491,44470,44430,44431,44433,44434,44436,44494,44440,44441,44443,44446,44451,44453,44454,44456,44457,44458,44460,44461,44463,44464,44448,44466,44468,44469,44472,44473,44474,44471,44416,44477,44475,44478,44480,44487,44485,44490,44492,44493,44488,44417,44418,44420,44421,44423,49998,44427,44424,44425,44428,44413,44414,44495,39729,44496,38237,41890,38585,36854,33316,35352,37175,44497,44498,44512,44514,44516,44518,44524,44527,44534,44536,44541,44543,44546,44550,44553,44555,44561,44545,44563,44566,38456,44569,44575,44581,44586,44590,44591,44592,44595,44579,44568,44584,44599,44499,44500,44513,44517,44519,44525,44526,44529,44535,44538,44539,44540,44542,44544,44548,44549,44552,44554,44556,44528,44562,44564,44565,44567,44571,44576,44577,44578,44580,44583,44585,44587,44588,44593,44600,44582,44612,44614,44608,44604,44605,44607,44610,44611,44609,44631,44635,44616,44628,44617,44620,44633,36143,34046,44651,44648,44642,44647,44654,44656,44659,44662,44669,44664,44667,39099,44672,40789,43835,37312,44683,36741,44674,44676,44679,44680,44685,44688,44691,44695,44697,44699,44701,44702,44705,44706,44708,44711,44714,34139,43063,44716,37649,41944,42536,44719,44721,44723,44724,44726,44729,44732,44735,44737,44739,44745,44748,44749,44752,44755,44757,44760,44762,44763,44765,44767,44768,44770,44772,44774,44776,44778,44781,44782,44788,44790,44791,44793,44795,44798,44803,44816,44818,44822,44824,44813,44827,44829,44831,44641,44643,44649,44650,44652,44653,44655,44657,44658,44660,44661,44663,44665,44666,44668,44670,44671,44673,44675,44677,44678,44681,44682,44686,44687,44689,44690,44693,44694,44696,38044,33393,37788,42615,44698,44700,44703,44704,44707,44709,39347,44502,44504,38706,38795,43307,43308,44710,44712,44713,44715,44717,44718,38791,38792,38793,36256,34057,33765,44720,44722,44725,44727,44728,44730,44731,44733,44734,44736,44738,44098,41644,39293,39294,39295,44740,44741,44743,44744,44746,40804,44747,44750,44751,41360,44753,44754,44756,44758,44759,44761,42718,39735,35618,39556,44764,33496,37993,44766,44769,44773,44775,44777,44779,44780,44783,44789,44792,44794,42545,44800,39186,44796,44797,39985,44804,44805,44806,35546,44801,44819,44814,44815,44817,44820,44821,44823,44825,44826,39984,44809,39986,40081,40082,44833,44828,44830,44632,44634,44637,44638,44841,36326,44636,33676,42421,42502,42452,42429,40256,36946,37166,44843,44847,44849,44842,44845,44846,44844,44839,44855,44869,44848,44851,44863,44864,44867,44874,44880,44883,40171,44850,44886,44888,44891,44897,44898,44899,44903,44906,44919,44894,44896,44913,44901,44933,44940,44926,44929,44937,44942,44943,44946,44948,44952,38201,44950,44970,44963,44412,44958,44960,42589,43993,43487,40784,40786,40787,33587,43316,39992,39760,44865,44866,44868,40321,44875,44876,44877,44881,44882,44884,44885,44887,44889,45819,45820,37592,37593,39751,39752,39753,41770,44890,44892,44893,44895,44900,44904,44908,44902,44909,44914,44915,44920,44921,44907,44923,44924,44925,44927,44928,44931,44932,44935,44936,44938,44939,44941,44944,44945,44947,44949,44953,44959,44961,44962,44965,44966,44967,44968,44969,44964,42339,42342,44974,42909,42910,43323,33883,44977,44980,33706,44982,38688,44990,44994,44987,44996,42218,36134,36238,45000,45003,45005,45008,45011,45020,45017,44998,44934,44570,44991,42742,45035,40417,45028,45033,44988,44989,44992,45006,44993,44995,44997,45001,45002,45004,45007,43139,43021,43022,35963,43023,43225,44286,44317,33910,43279,33874,33901,36024,36803,40329,39068,45009,45010,45012,45013,45018,45019,45030,45031,45032,45034,45029,44975,44983,34853,44976,44978,44984,34854,44979,44981,36662,43754,45063,45052,45045,44985,44986,45050,45037,44153,45077,45083,45068,45071,45073,45079,45081,45086,45088,45092,45093,45096,45106,45108,45111,45118,45121,45127,45130,45134,45136,45115,43096,43097,44573,44574,44853,44597,44598,37269,45140,45141,45143,45146,44854,44999,45149,45153,45155,45158,45161,45163,45166,45164,45169,37306,37307,37303,37304,37309,37310,45173,45177,45181,45183,37319,45185,37781,37662,45419,41599,41600,36460,37321,44533,36459,40993,39997,39998,45067,37905,45080,45120,44219,35464,35065,42311,37028,45191,35705,39940,45189,45193,37378,43232,37375,37382,37367,37536,37634,37689,37725,45201,37789,45196,45198,45203,45205,45206,45209,37858,45212,37887,37883,37888,37890,37894,37884,37885,37965,37909,37964,37882,37910,45215,37995,37996,37997,38229,38230,38344,38351,38352,38353,45223,38508,45219,45226,45229,38626,38615,38591,38603,38566,38627,38628,38786,38800,38797,38801,45234,38798,45232,45243,45245,45248,45251,38940,38941,38943,38952,38953,39195,39196,39225,39226,39287,39296,39284,39285,39424,39388,39421,39499,39500,39501,39494,44038,39514,45254,44385,45258,45260,45264,45270,45274,45275,44386,45267,45282,45281,45289,45192,45194,45195,45197,45200,45202,45204,45207,45208,45190,45199,45210,45211,45221,45222,45224,45225,45227,45228,45230,45231,45233,45220,45235,45236,45244,45246,45247,45249,45250,45252,45253,45256,45257,45259,45262,45263,45265,45266,45268,45269,45272,45273,45276,45277,45283,45284,45285,45291,45290,45271,45292,45058,45060,45062,45064,45070,45072,45075,45076,45078,45082,45084,45074,45085,45087,45090,45091,45095,45098,45099,45107,45109,45110,45113,45114,45116,45117,45119,45123,45124,45126,45129,45132,45133,45135,45138,45139,45142,45144,45145,45147,45148,45151,45152,45154,45156,45157,45159,45160,45162,45167,45168,45150,45171,45172,45174,45175,45176,45179,45180,45182,45184,45040,45041,45047,45046,45178,45307,45312,45319,45322,45325,45328,45331,45334,45336,45339,45342,45345,45351,45354,45348,45366,45369,45371,45374,45384,45387,45388,45395,45401,45407,45409,45410,45413,45416,45421,45399,45428,45391,45431,45438,45439,45441,45442,45443,45447,45444,45457,45450,45440,45436,45327,40003,40002,40006,40004,40005,45437,45463,45465,45468,45471,45464,45466,45467,45469,45470,45472,45473,45313,45314,45315,45320,45321,45324,45326,45329,45330,45332,45333,45335,45338,45340,45341,45343,45344,45346,45347,40032,45350,45352,45353,45355,45367,45368,45370,45396,40015,45372,45373,45385,45386,45389,45390,45392,45393,45394,45397,45398,45400,45402,45408,40029,40026,40025,40027,40028,45411,45412,45414,45415,45422,45423,45429,45430,45432,45433,45445,45446,45449,45448,45452,45453,45458,45455,45451,45479,45482,45495,45489,45485,45487,45486,45488,45490,45496,45497,45502,45506,45510,45512,45498,45500,45499,45501,45504,45505,45508,45509,45511,45513,45507,45503,45524,45518,45519,45525,45526,45537,45527,45530,45533,45535,45534,45536,45548,45540,45546,45544,45542,45549,45543,45545,45547,45541,45558,45559,45563,45565,45567,45571,45573,45575,45577,45582,45578,45561,45562,45585,45564,45566,45569,45570,45568,45572,45576,45579,45580,45581,45584,45587,45588,45586,45583,45592,45595,45590,45598,45599,45600,45601,45605,45611,45615,45619,45603,45621,45608,45597,45633,45626,45630,45638,45640,45649,45652,45654,45656,45658,45660,45671,45675,45679,45681,45668,45689,45692,45694,45697,45662,45684,45704,45705,45707,45714,45628,45629,45627,45711,45713,45631,45632,45639,45641,45650,45651,45653,45655,45657,45659,45661,45669,45670,45673,45674,45676,45677,45678,45680,45682,45683,45685,45690,45691,45695,45696,45698,45699,45706,45709,45710,45593,45594,45596,45602,45606,45607,45609,45610,45708,45613,45614,45617,45618,45620,45730,45731,45616,45612,45726,45733,45734,45736,45737,45739,45738,45740,45741,45743,45744,45751,45754,45757,45752,45753,45755,45756,45758,45768,45772,45777,45782,45785,45789,45776,45792,45795,45801,45769,45773,45774,45775,45779,45783,45784,45787,45788,45790,45786,45791,45793,45794,45796,45802,45803,45805,45806,45808,45807,45809,45810,45811,45815,45827,45829,45831,45833,45836,45828,45830,45832,45834,45835,45837,45838,45840,45839,45842,45845,45849,45857,45861,45853,45847,45876,45878,45881,45873,45884,45885,45889,45891,45893,45901,45898,45899,45904,45908,45912,45916,45922,45877,45900,45924,45902,45903,45910,45911,45914,45915,45917,45923,45913,45909,45843,45844,45846,45848,45851,45852,45854,45855,45856,45859,45860,45850,45858,45862,45874,45875,45879,45880,45882,45883,45887,45888,45890,45892,45886,45930,45931,45932,45933,45937,45940,45943,45945,45950,45953,45959,45956,45935,45936,45938,45939,45941,45942,45944,45947,45934,45946,45948,45949,45951,45952,45954,45955,45960,45957,45958,45977,45978,45980,45981,45982,46002,45989,45990,46005,45991,46009,46015,46018,46020,46029,46032,46023,46026,46039,46042,46053,46056,46058,46062,46045,46003,46004,46006,46007,46008,46010,46011,46016,46017,46019,46021,46022,46027,46028,46030,46031,46033,46040,46041,46043,46044,46046,46047,46048,46054,46055,46057,46060,46061,46063,46059,46068,46069,46070,46075,46076,46077,46078,46090,46091,46092,46084,46085,46086,46087,46101,46096,46099,46097,46098,46100,46102,46104,46107,46111,46115,46118,46127,46129,46132,46136,46139,46142,46148,46151,46121,46157,46124,46160,46162,46165,46175,46172,46105,46106,46109,46110,46113,46114,46116,46117,46119,46120,46125,46126,46128,46130,46131,46134,46135,46137,46138,46141,46122,46123,46143,46144,46149,46150,46152,46153,46158,46159,46161,46164,46167,46168,46166,46163,46173,46174,46179,46181,46182,46183,46184,46185,46186,46170,46187,46188,46189,46190,46193,46194,46196,46197,46199,46201,46202,46203,46191,46204,46205,46206,46207,46208,46213,46214,46215,46217,46221,46222,46223,40035,40215,40038,40039,46224,46225,46226,46227,46228,46229,46230,46231,46233,46235,46236,46238,46239,46241,46243,46244,46245,46246,46247,46248,46251,46252,46253,46254,46255,46257,46258,46259,46260,46261,46262,46263,46264,46266,46277,46268,46269,46270,46271,46272,46274,46275,46276,46278,46280,46281,46282,46284,46285,46286,46287,46288,46296,46291,46292,46293,46294,46300,46283,46297,46301,46302,46304,46305,46306,46307,46310,46311,46312,46313,46314,46315,46316,46317,46318,46321,46323,46324,46325,46326,46327,46328,46329,46330,46331,46332,46333,46334,46336,46338,46339,46342,46343,46344,46346,46347,46348,46349,46352,46353,46337,40161,46355,46356,46357,46358,46359,46360,46361,46362,46363,46364,46366,46367,46365,46369,46371,46372,46373,46374,46375,46376,46377,46378,46380,46192,46195,46200,46381,46210,46219,46220,46211,46242,46249,46265,46273,46289,46295,46303,46212,46298,46299,46309,46319,46320,46335,46341,46345,46350,46351,46354,46368,46370,46383,46384,46385,46322,46386,46387,46388,46389,46393,46391,46394,46395,46396,46397,46400,46401,46402,46403,46404,46405,46406,46407,46408,46409,46410,46412,46413,46414,46415,46416,46418,46419,46421,46422,46423,46424,46425,46426,46427,46428,46429,46431,46432,46433,46434,46435,46436,46437,46438,46439,46440,46441,46444,46445,46446,46447,46448,46449,46452,46454,46455,46456,46457,46461,46459,46460,46462,46463,46464,46466,46467,46468,46469,46470,46471,46472,46473,46474,46475,46476,46477,46478,46479,46480,46481,46482,46484,46485,46486,46489,46490,46491,46492,46494,46496,46497,46498,46500,46504,46506,46507,46508,46509,46510,46515,46516,46517,46518,46519,46520,46521,46522,46523,46525,46526,46530,46531,46532,46535,46536,46537,46539,46541,46543,46524,46545,46550,46554,46555,46556,46557,46558,46560,46561,46563,46564,46566,46567,46568,46569,46570,46572,46573,46574,46575,46576,46577,46578,46580,46582,46583,46584,46585,46588,46589,46590,46592,46594,46595,46596,46597,46602,46604,46598,46587,46605,46606,46607,46609,46610,46611,46612,46613,46614,46616,46617,46618,46619,46620,46621,46626,46627,46628,46629,46630,46631,46632,46633,46634,46635,46636,46638,46652,46653,46654,46655,46656,46657,46659,46660,46658,46662,46663,46665,46666,46668,46672,46673,46674,46675,46676,46677,46678,46679,46680,46682,46683,46684,46685,46687,46690,46691,46692,46693,46694,46695,46696,46698,46699,46700,46701,46703,46704,46705,46706,46707,46708,46709,46710,46711,46712,46713,46714,46715,46716,46717,46718,46719,46720,46721,46722,46723,46724,46725,46726,46727,46728,46729,46730,46731,46732,46734,46735,46736,46737,46738,46739,46740,46741,46742,46743,46744,46745,46747,46748,46749,46751,46752,46753,46754,46755,46756,46757,46758,46759,46760,46761,46762,46763,46765,46766,46767,46768,46769,46770,46771,46772,46773,46775,46776,46777,46778,46779,46780,46781,46782,46783,46796,46797,46798,46799,46800,46801,46802,46804,46805,46806,46807,46808,46809,46810,46811,46812,46813,46814,46815,46816,46817,46818,46820,46821,46822,46823,46824,46825,46826,46827,46828,46831,46832,46834,46835,46836,46837,46839,46840,46841,46833,46850,46851,46852,46853,46856,46857,46859,46860,46862,46864,46865,46867,46868,46870,46871,46872,46873,46874,46875,46876,46877,46880,46881,46882,468[...];
Date: 2022-11-21 19:01:16 Duration: 535ms
-
SELECT res_partner.id FROM "res_partner" WHERE ((((("res_partner"."active" = true) AND ("res_partner"."company_id" IS NULL OR ("res_partner"."company_id" = 1))) AND ("res_partner"."customer_rank" > 0)) AND (("res_partner"."type" != 'contact') OR "res_partner"."type" IS NULL)) AND ("res_partner"."id" in (48452,50174,31519,34182,34184,31571,31620,19489,31702,31910,31517,33143,50033,19504,31913,33159,50283,32067,32162,48157,32169,32194,50175,32204,48494,32231,32313,16,19562,19559,19560,32376,40606,19561,32398,32418,50035,19563,32426,32430,19488,19564,32432,32434,19576,30498,30497,50036,32436,38558,32440,32443,19575,40607,40608,32445,32449,30499,32451,34146,33157,18633,33158,34144,32479,30501,50176,19494,30500,19584,19588,30503,32497,32514,19514,32519,18632,32516,32524,32530,33179,34526,30502,50017,32533,43689,18612,33147,43690,32536,43691,32542,50177,43692,32564,30505,34183,43711,43710,43712,30506,34961,34962,30508,34880,30507,34881,34882,32570,50178,32576,32604,18610,50179,43713,30511,30510,44059,44060,19487,33145,30513,33144,44058,30509,33146,34965,34966,34964,48885,18613,30514,2167,18614,30515,5,18617,34968,50180,50319,37505,30516,33168,48052,34969,33170,33173,7,30,30518,34972,33185,33176,30519,19502,2176,34973,30521,50321,19570,33198,33039,30522,30523,30525,30524,33202,34976,34977,19503,19505,32415,3,34982,34983,46216,30528,30529,34989,34990,34991,35414,34994,33041,30526,30532,34995,34998,34999,30534,35001,35017,35035,35069,34993,30533,30531,50322,30536,33385,35143,35146,35400,31516,30535,35474,35473,35399,33218,30542,30538,30539,30541,33221,33204,30544,30540,36625,30537,33215,35504,35505,30548,30545,30547,33206,33207,44272,35520,33210,35503,33400,33211,30549,46549,30551,35415,35697,30552,30550,35769,35656,35924,30553,30554,30555,30556,30557,33166,35925,35982,35983,33165,33167,35417,30560,42607,43265,36031,33882,30559,36051,43266,31178,43267,36052,36054,43268,36053,32741,32744,36057,42994,30561,33193,33148,36058,30563,30564,36121,41737,36544,32742,32743,33620,30566,30567,30568,33631,33156,33174,30569,33175,33177,33217,33178,36125,36126,30572,36145,36188,36189,33180,36199,30571,33181,33183,33199,33184,30574,33187,30575,33196,50323,30577,50181,30573,30576,30578,48142,36225,36226,36227,36228,33732,30579,36224,36198,41431,45311,30580,48076,33748,30582,30583,30584,46430,50189,30586,30585,30587,50324,30589,30590,36440,36395,30588,36396,50190,33809,33246,30592,36441,36461,50325,36462,36463,36464,30591,30594,50326,2174,36466,36467,30597,36473,36517,36623,36624,36638,36465,30596,50191,36576,30598,36639,33271,33894,36699,36700,30601,36698,30599,19515,30600,36722,36723,30603,30604,30602,30605,30606,50186,19516,36775,36776,30607,30610,49398,36774,36880,36858,36859,36860,50192,19517,33070,30611,36911,36912,30612,30613,36932,30614,36933,47395,36951,36950,50193,19518,36931,49399,49400,36966,30616,30617,30615,36989,37086,37087,36965,37085,50187,49258,42019,30620,30619,37088,36991,34056,30622,30623,33312,30621,33302,46198,30624,37178,30625,37181,37212,30628,37235,37236,36851,48283,50194,36853,30627,30630,30629,30633,37426,37427,40894,19521,32801,30631,37437,37273,37425,37438,30635,30634,37479,37480,50195,19522,30636,37478,37436,30639,37504,30640,50327,30641,30638,37496,37497,37500,37495,30642,30643,30644,37507,37508,37509,37511,37512,32875,50197,37529,37528,34181,30649,33269,30646,30647,30648,33272,30651,36513,30645,30650,30652,34215,50328,37541,37542,37585,30656,37586,37531,37584,30654,50198,30653,37618,37619,37636,30658,30659,30660,30661,37637,37617,37621,36497,47487,50329,41494,36498,50330,36499,30663,37707,30665,30664,50199,30662,42244,37752,37753,30667,36446,37869,34304,36447,36448,30670,30669,36450,37755,37845,50200,30666,30668,30672,50332,36451,37985,33377,30674,50201,41091,37984,30671,30673,30675,38312,30678,30680,30679,38313,38314,38364,38279,38280,38281,47335,38349,38396,30684,30682,30683,37074,38398,38399,31493,37075,43875,38365,38366,50203,30685,38416,30677,43876,30688,43877,30689,38586,38587,30691,30690,38678,30687,50204,19524,38665,38689,38690,30695,31819,32414,30692,30694,38806,38807,30696,30698,39160,39202,30697,49320,39449,30701,30700,39313,30699,50206,19525,48781,39482,39483,39523,30704,33254,33255,39450,33252,30702,30703,30705,30706,30707,32465,39537,39538,30708,30709,50205,39569,39570,30710,35771,50207,39667,39668,39705,39706,39794,39814,39815,30712,39602,39823,30713,30715,30716,30717,39824,40050,40051,40052,30719,33532,38367,50208,46854,30720,30723,40153,40154,40155,45492,45494,30718,30721,30722,40163,33533,33534,18615,40164,40165,30726,40188,40189,50333,49660,40212,30725,40186,40187,30724,30729,40214,30731,30730,33543,30732,40213,30734,30733,33229,40239,40999,30735,33720,33230,33324,33232,33233,33724,33549,30739,33725,30736,34626,30738,42837,33550,40322,19510,33248,19501,33240,30740,30743,42870,30742,42871,30741,42948,42982,42983,43913,30744,43915,33257,33258,33260,30747,43921,33261,50209,30745,33263,33264,43947,40347,33266,40331,43948,30749,43949,46847,30751,48182,50210,33280,30754,30753,36340,36341,30748,30752,40332,40333,33301,49848,33306,40342,33284,40343,30756,30757,30758,50211,40341,30759,30755,30761,40396,50188,30762,40395,30763,49850,40388,30760,40389,30765,40407,40408,40501,30768,33164,30767,40502,40503,40548,30764,30770,50212,30766,40550,40551,40559,40560,40561,50213,30771,40549,30777,30772,30773,30774,30775,30776,40597,40598,40600,40601,30779,40602,43678,50214,30778,30782,30781,30780,36489,40671,40672,40673,40674,30785,40675,33569,33325,30784,36491,30783,30787,33338,33346,33353,30792,19529,30789,30788,30786,30790,30793,30558,30794,32075,18,30798,30795,30796,30797,49828,39154,40741,40731,30799,30802,30800,30801,32233,30805,30804,40772,40859,50215,30807,40833,40759,40760,30803,30806,40862,40861,30686,30810,12,30809,30811,5651,40860,37434,37439,30808,30812,40864,31985,40865,30815,50216,40880,40888,30814,37448,40889,35027,30816,30817,30818,30819,40939,50217,40940,17,1,40944,30821,32772,30820,40946,30823,15,2175,47988,30822,45663,45664,40952,40953,33219,2178,30827,30828,30829,50218,33590,19527,30824,30826,32,6,30831,33361,30832,30834,30833,41030,41031,41026,30830,41073,41069,45665,41070,41074,41075,45666,45667,30835,33366,41068,30841,30836,30837,30838,30839,41077,33389,30844,41104,30843,41106,41108,41105,30840,30846,30842,33600,41120,30850,41147,41148,41149,30848,30849,41146,37801,30845,30847,41182,41183,38221,30520,19532,50219,30855,30853,30854,50220,38220,30851,30852,49207,41250,41251,30858,30857,33163,41253,30856,30861,30860,41278,41279,41252,37274,50221,30859,30863,33065,33169,33200,33066,30865,30864,41287,30867,38043,41329,50222,30862,30866,33067,33214,30869,41345,41346,41347,50223,41331,30868,30873,30872,30871,30870,33220,41516,41376,41377,45720,40390,45308,40391,41375,30874,41385,30875,33237,41517,41518,33234,41520,41521,41519,50224,30886,30880,30881,30885,30876,30882,30883,30884,30878,30879,30887,33238,35327,41527,2163,30877,30890,30888,41526,2177,30889,41557,19533,30892,2164,41538,13,2165,2173,30893,41559,30895,30894,50225,41539,30891,41574,30897,41577,30896,30898,41537,19,30899,41578,30901,41635,33273,30902,11,30904,30905,30903,41636,41637,50226,41270,33276,33277,28,41662,41663,50227,30906,30910,10,30907,30908,30909,41661,41665,41666,41667,41669,33290,41670,30912,30914,41680,30916,41679,30915,30911,25,33314,41682,30918,41714,30920,41715,33403,30917,41713,50228,30919,41724,41725,30924,41791,41792,41793,30926,41723,41794,30923,30925,30921,50229,27,8,33406,33412,41063,30927,30931,30928,30929,30930,29,14,30934,4,30933,41926,41962,19537,40340,38080,38250,30938,30932,26,30936,30937,40316,36376,33282,30935,33283,30939,30940,30941,30942,40386,37068,19538,30946,30945,42105,37069,30944,50230,30948,30947,35696,33293,41330,30951,30950,33300,33295,30949,30952,30953,43451,19539,33307,33311,30956,30955,50263,30954,30958,30957,30962,30960,33313,33320,42087,30959,30961,33328,30964,30963,46579,30966,33332,50265,33333,35800,40726,42110,33388,33330,30965,30967,30971,30970,42166,36742,41712,42111,19540,42112,30969,42188,36740,30972,33401,42189,42190,42228,42232,42308,33402,42309,42328,30979,30976,30977,30978,30975,50264,42330,30982,30980,30981,42335,42336,33337,50266,19541,19542,30983,30984,30985,30986,30987,33339,33342,33340,42343,33345,37897,30989,37433,37440,37441,47188,42366,42371,30992,30991,30988,33349,42345,33347,33351,33352,35949,37449,42373,30998,30995,30996,30997,42374,30994,42372,30993,50267,37450,31000,42431,42433,44520,42428,33356,35995,42513,42511,33354,42458,50268,31001,31002,31003,31004,31005,33363,31007,33364,33365,50269,33697,33362,31006,31010,31009,33698,33699,42109,33367,42113,31012,42114,42334,33368,33369,42653,42654,31008,31011,33371,19545,46340,31018,31014,31015,31016,31017,33372,31013,31020,33374,31019,31025,31021,33378,33044,31022,33379,33380,33381,42659,33046,31024,31468,30530,36103,42660,42661,42662,31027,42695,48635,33384,31026,31028,42723,31030,31031,42877,42878,42912,33386,33504,46553,43080,43081,43042,43043,43044,43041,31037,31033,31036,33387,33390,31039,32482,33391,43084,43085,43083,31035,31034,31032,31038,43245,43247,43248,31043,31045,31042,43274,31046,33398,33399,31040,47549,31044,31041,50334,38251,43294,43295,43296,31048,43315,43317,43318,43340,31047,43342,43341,30714,46232,43343,31054,31050,31052,31053,43358,43353,31051,31049,43354,43355,33151,33418,50034,19547,43359,50274,31064,31056,31060,33417,31055,31057,31059,31061,31062,43381,43383,43384,43382,31067,31066,32490,31065,43448,43449,38045,43457,31071,31069,31070,38047,43459,31073,31068,31072,43783,31075,36535,19548,36536,43472,43473,43474,43471,31074,31080,43470,31076,31077,31078,31079,43477,43520,31081,19549,43545,31083,31082,43476,31085,44742,33598,31087,33036,43566,31084,31086,31090,43567,32966,31092,31089,31094,31088,44102,36449,36444,44103,31091,31093,33612,43588,31097,50335,31096,31099,43590,43589,44104,31095,31098,43591,41271,39372,31101,31100,33622,33623,44449,31104,31102,31103,37344,31107,42183,42184,31108,43609,43610,43623,43608,31106,31110,37803,31109,42185,43624,43625,43675,43676,43677,43714,31112,31113,43715,43716,43721,31111,31116,43722,43723,33797,33798,33799,32769,31118,43747,43748,31125,43808,19551,33421,43810,43780,31124,31121,31122,31123,31120,33439,43809,43812,33819,31127,43838,43839,40997,40998,33423,43850,33821,31126,31063,43851,31132,31130,31131,43852,31129,43883,43884,38705,43882,38794,31133,33425,31137,43901,31138,31141,31136,43902,43903,43958,43959,43306,31135,31140,38184,33427,31143,33428,38707,33430,35592,43982,31139,31142,31147,31146,31144,31145,30570,19552,31149,44052,44013,44053,33433,44051,33114,32413,31148,31150,33437,33438,33434,33440,31155,31154,33445,31153,33444,31152,42088,48874,31156,31158,31157,33804,45454,31159,31161,33458,31160,44079,44082,31163,33449,44106,33450,33451,31165,44139,33452,50337,44137,33447,33851,31162,31164,18609,18611,50338,2172,31169,2166,31167,2168,2169,2170,31171,2171,33849,33850,31170,18616,33855,31173,33856,33858,43255,33854,43254,31172,31179,31175,44184,44185,44190,44191,44151,31,44189,43753,31174,31177,31184,31180,31181,31182,31183,44216,44217,44214,43755,36899,31187,31186,44215,44227,31185,31190,31189,33457,44233,31192,44234,31128,44235,44232,33456,31191,41302,31188,31199,44236,33464,33467,33471,33475,44243,44245,44246,31193,44240,19554,31195,31196,31197,31198,44247,33478,33488,31201,35881,33787,19555,35856,44255,31200,31203,31204,44265,44267,31207,44281,44256,44257,44266,33788,42089,31205,50339,31202,44282,44328,31211,31209,31210,19556,44330,44331,44329,31214,31213,34331,31208,39734,31212,44352,33771,44332,31216,44353,31218,31217,44354,44362,44364,44368,31215,31219,31221,31220,31223,31225,37073,31222,31224,44505,19557,44437,31229,31227,31228,31226,44602,44603,42054,31232,31231,44510,44509,31236,44971,44972,31230,31233,31235,44511,42029,44530,44531,40117,40118,31245,31238,31239,31240,31241,31242,31243,31244,44447,39363,49788,31247,47014,31237,31246,46103,44799,44621,33370,31249,44802,31252,44622,44623,41907,31251,31256,44852,44840,44838,31258,19558,44856,31254,36766,31257,31255,44832,31260,48708,44871,44872,31262,44873,44910,33839,44870,45841,45817,31259,31261,31263,36767,33840,31267,44911,44912,33463,31268,31265,47421,33841,45015,45024,31272,45026,31273,19582,31271,45027,45025,33506,33512,42294,33615,31269,33517,33514,33520,33535,31278,33541,31275,31276,31277,33538,50341,46012,31274,31280,45053,19583,45056,33553,33558,31281,31282,31283,31284,46013,31279,45634,44438,44015,33573,33570,33575,33583,45165,45187,45186,33581,33322,19585,50342,31293,31286,31287,31288,31289,31290,31291,31292,33586,33597,45188,33606,40305,33603,33645,31295,33617,31294,33667,31301,31297,31296,31298,31299,31300,44506,44507,31303,33648,33671,31304,33675,31305,45216,45217,41581,41579,19586,44508,45747,31302,31306,45218,31309,45279,45280,45286,45287,45288,35545,31310,31314,45278,31308,31312,31313,45317,45318,45356,33409,31317,31316,45358,31311,45357,47116,31315,45316,45359,45360,32992,31322,33321,31319,31320,31321,45362,45363,45364,45361,31318,33410,45365,30746,45424,39639,39811,31326,34205,40011,33925,45425,31323,31328,31329,31330,31331,38557,45461,31334,45460,33926,45459,31327,31333,45462,31336,31335,45474,50343,31338,45483,45484,31337,45491,31342,31340,31341,45528,45529,45531,45517,33494,39609,45514,31339,31343,45532,45538,45539,45515,45516,39610,31344,31345,31346,31347,33982,45589,32470,33979,39611,39612,45623,45624,31351,31350,45625,40371,40374,40375,45635,45637,45604,45622,31353,45688,31356,50344,45797,19565,45687,40825,45636,40376,31352,31355,31357,45799,45800,34010,31360,31361,31362,31358,31359,43571,45822,45823,45798,43572,43573,50345,45824,45825,45826,45866,45867,31367,45868,41447,43574,43575,31368,31364,31365,31366,31363,31374,45869,31370,45871,45872,45870,31369,49018,49019,46989,31372,31371,49020,31373,30728,45895,31376,45896,45897,19568,45894,45905,45102,49021,31375,31382,45961,31379,31380,31381,45927,45928,45907,45926,31378,46601,45925,31377,33501,39640,31386,33110,31384,19569,46599,45963,45964,45962,31385,31383,45965,31392,31388,31389,31390,31391,34022,30496,34025,38005,43299,40034,44088,31387,43562,32049,45970,31398,31394,31395,31396,31397,31393,40670,31400,31402,47950,45104,45105,31399,31401,32457,31408,33507,33508,31403,31409,31406,31407,45919,31405,31411,43985,33513,45014,46035,31413,46036,40012,46037,46034,31415,46014,31410,31412,46088,40013,46089,33518,31419,33519,46038,32454,46083,43986,43987,43988,43989,31416,46093,33521,45016,33525,33524,31425,31424,31421,31422,31423,31420,31426,32456,46094,46095,46146,19572,46147,46154,38560,31430,46155,31427,31428,38182,46156,31432,31433,31431,31434,46501,46503,46511,38183,46169,37345,37346,46502,31435,46513,46514,32455,46637,46963,31441,31437,31438,31440,46512,33616,31436,31439,46964,31445,34048,34049,31443,40870,40871,47031,50348,31442,47032,47877,47878,37904,31444,47879,31449,31448,31447,36927,36928,47033,31451,46024,46025,31446,33530,33529,31450,50346,33542,47118,33539,47119,41576,47310,31454,33540,31456,31452,47463,47117,31457,33545,45748,45749,31460,45750,33546,33547,40694,40695,33679,42332,31459,31461,47465,47466,40696,31464,47467,31463,40697,47866,40698,47464,47591,47867,47592,47590,48093,48108,31470,31467,48109,48110,48434,48492,48531,48578,31466,31473,31471,31472,49064,48658,48659,31475,48672,49065,48671,31474,48795,50347,31477,40727,40728,31479,49177,49178,49194,40729,31478,49193,33552,31480,49425,31476,31481,31483,49546,31482,19577,49426,49427,31485,31486,31487,41039,49548,49549,49705,49547,41067,31491,31492,31490,49707,49708,49885,49887,49888,49706,49886,33897,33898,33899,44557,44558,44559,44560,31501,31497,31495,31496,31498,31499,31500,50037,31504,45213,31503,45214,31494,31502,31505,42331,31507,42333,31506,33890,35384,35725,35726,35476,31510,31509,31511,41116,37833,31514,33557,31512,31508,31513,42795,41133,31515,31518,35470,35471,41134,35516,35517,35586,35524,35938,45310,44807,35940,36061,31521,35939,31524,44808,41913,31525,41914,31523,40327,33560,33562,33563,33564,31526,31527,31528,42473,39081,39082,39086,33566,31529,33567,33568,42030,31535,31530,31532,31531,31533,31534,33222,31536,31538,31537,19497,42031,42032,36490,31543,31542,31539,31540,31545,19498,47640,31541,31544,31546,33578,33591,19553,31548,40783,33579,33576,33580,31547,31549,33592,33589,31553,31550,31551,19578,40317,19571,19567,33226,35879,31554,31555,38790,31556,33582,31557,31559,33584,31558,40318,33585,40319,31560,31561,33588,34149,31562,31563,43592,43593,31567,31565,31566,19544,43594,43595,31564,31569,31568,50279,31570,41307,43250,31572,35407,35408,45456,31574,31573,31575,19580,33594,33595,33596,19490,19491,33601,31578,19526,19530,31577,31580,34330,50058,34333,34332,31581,33431,19496,33604,33605,31584,31585,31582,33607,19495,46379,19500,19499,31583,31586,19506,31588,31587,33608,31589,19508,31590,45778,19507,41204,44523,30609,31591,19509,33611,19511,31593,50048,33614,19566,31592,48716,19512,31418,33610,31594,19519,31600,31595,31596,31597,31598,31599,33629,48306,50277,45821,41448,41449,31601,31604,31602,31603,31605,19587,31606,33638,36059,39091,50050,33640,31608,31609,31607,33641,50042,33650,33651,50060,19543,33805,50281,31614,31611,31612,31613,31610,33653,33655,48318,48346,50051,31285,31619,31616,31617,31618,31615,19573,33659,31622,50062,31621,19520,48378,43249,50054,46878,31625,31624,33661,46209,31623,33662,49093,33665,31626,31632,31627,31628,31629,31630,31631,48199,31633,33666,49078,31634,50040,49898,31635,46256,33672,44957,31638,31636,31637,31641,31640,50065,31639,31642,31643,33459,19550,49463,50052,41540,31644,31645,31646,31647,31649,49464,48626,33460,33461,33462,31650,47766,31653,41450,41304,31652,31655,31654,31660,46267,46458,31657,46411,31656,31658,31659,49374,31661,31662,49465,49466,32931,31663,31664,31665,50066,39361,39357,35688,31666,31669,31667,31668,33486,31670,33487,35857,49458,49459,50044,31673,31672,31671,35858,31675,39359,31674,50055,39360,39362,31676,41813,39358,39507,45417,48583,40536,39508,39509,19546,31681,31680,31678,31679,31677,31682,31683,18630,33465,33466,31685,49968,33468,31684,50282,31686,47901,33469,31687,33470,50067,33476,33477,31689,33480,33472,49753,31694,31690,31691,31692,31693,33481,48248,33483,31696,33484,33489,31695,33490,31698,31697,41214,41229,33411,50056,31700,31699,44521,44522,41582,39506,38556,33497,41580,33493,31703,33498,50057,31709,48657,31708,31704,31705,31706,31707,31710,44626,49921,44627,31711,31713,31715,33680,33652,31714,33681,33696,31716,50285,50069,33682,41558,31717,31719,31720,33548,31721,49204,50070,31718,31724,31723,42645,31722,42599,48983,31726,31725,50074,31727,50075,48370,31728,31325,31730,50071,33115,33683,31734,31731,31732,31733,31735,31737,50286,42646,42647,31739,31736,31738,33686,33687,32884,31740,33694,33690,31741,33689,31742,31743,47743,48602,31744,31747,31746,31748,31750,31749,44101,33700,31745,31751,49401,31753,31752,50288,31754,31756,47708,33703,33702,31758,47222,31755,31757,33707,42600,31759,31760,31761,31762,33710,31766,50290,33712,31765,31763,31764,50076,31767,31770,33716,43704,31769,31768,31772,31771,33729,33743,33752,31773,33756,33719,40632,33739,31776,33760,31775,33767,33769,31780,31777,31778,31779,33776,33789,31781,50077,37234,33236,33794,49122,31784,31783,33792,31782,19574,31786,31785,31787,50293,31789,33831,33816,31790,33825,50079,33835,31793,31792,31791,33865,33873,33878,31794,31796,31795,31797,32790,31798,31799,33886,35082,35083,31802,31801,50295,31803,31807,31805,31806,31058,50296,31804,49523,50080,31270,35515,31808,31809,31810,31811,31812,31813,31814,31815,31816,43709,31817,50081,39207,41681,31820,32546,39110,31821,31822,39112,50085,31827,31825,31826,41111,41684,39455,39311,47279,31824,31829,31828,50275,31831,31830,31832,31833,41689,31834,31837,42984,43143,31835,31838,50297,31839,43502,31840,50088,31841,31842,31843,31844,31845,31846,50298,50084,40254,31848,31847,30562,50086,31849,50089,31850,41751,31854,31853,31856,50299,41765,43946,31852,31855,31858,31857,31860,31859,50090,50300,31861,31863,31862,41796,31865,31864,50091,31866,44251,44248,40338,40996,31867,31868,31869,31870,31871,31872,31874,31873,31875,50092,31876,50301,31877,31878,50097,33714,33715,33713,31879,31881,33717,32439,33718,31885,31882,31883,31884,50093,31886,31888,31889,42055,42056,50094,31890,31893,31892,31891,41908,41910,41911,42989,50095,31895,36764,42990,36765,31896,31897,31898,48766,50096,43936,43937,33730,31899,33731,31909,31904,31905,31906,31907,31908,31900,31901,31902,31903,43118,43119,41959,31912,31911,33733,41960,33734,33738,47835,40616,43543,50303,31916,31914,31915,33740,31917,43117,33741,33742,31920,31918,31919,50305,31922,31921,33745,36150,31923,31925,45760,33744,31926,45761,31927,31930,48412,43227,43228,31928,44284,44285,31931,31932,43145,31933,50098,33772,31934,31935,50310,50306,19492,33777,31937,31938,19493,31941,19531,19581,31936,31940,50307,19536,31942,33778,31945,31944,31943,31946,33781,43503,43504,50308,31949,40782,40785,31948,40334,31950,31952,31951,50309,31954,31953,33790,31956,31955,33791,31959,50100,50311,31957,33793,44858,44859,31961,31960,31962,39111,39113,50101,31963,39208,39245,39312,50312,39456,31964,31965,31966,31967,50317,33796,33795,31971,32730,31969,31968,31970,31972,31974,31973,50314,32735,31975,31976,31979,32751,31977,31978,50316,50315,33801,46920,50102,31980,31981,33802,31982,33807,33808,31983,33813,31984,33814,33815,50103,33820,31987,31986,33817,43871,31988,31990,31992,31991,50104,31993,32544,31996,31995,31994,33823,33824,31997,50105,33827,33828,33830,32000,32001,31998,31999,33832,48719,50318,42156,41089,32003,33833,33834,32004,32005,32007,33782,50106,33836,33783,33837,47259,50107,32010,44812,32008,32009,32011,33843,33844,32013,32012,42344,32014,32015,32017,32016,50108,32019,32018,44096,47127,32020,32023,41029,32021,32024,33859,32026,32028,43888,42193,32025,32027,33852,32030,40132,40133,32029,33784,32034,32031,32032,46382,32033,42194,32035,33863,32036,32037,33861,35687,37162,47202,35770,33864,33866,32038,32039,32040,32041,32042,32043,33867,33868,42203,39350,47205,40324,37292,37293,32045,33870,33871,33872,32044,40326,47203,32048,47204,37296,32046,32047,37297,37298,37299,33880,33881,32050,32052,32051,44249,33879,44250,32053,32054,32055,44252,32056,44253,37300,32058,32057,33891,37301,37311,33887,41344,37574,37575,42460,42461,37576,42346,42347,37313,37314,37327,32064,37802,35461,32066,32065,32060,32061,35462,32063,35657,35658,32059,35884,35885,32068,36397,32069,37498,37499,33242,32071,32070,39349,39731,40131,38196,40346,37804,37896,32072,32074,49421,41575,49422,32076,42291,32073,32078,43360,43568,43569,37991,49423,32077,43629,32079,44141,44142,32080,45816,44140,49424,49428,49429,49434,32082,49435,45906,50147,49436,49437,49438,32081,32089,32083,32084,32085,32086,32087,32088,32090,50109,38853,33893,46145,38854,32093,32091,32092,32094,32095,40356,32096,46945,50110,32097,38883,38884,38901,38902,32098,50111,32104,32099,32100,32101,32102,32103,38903,38904,38905,35305,46697,32105,33903,32107,50148,32108,41812,32106,35307,35318,32110,39334,32109,39641,39341,39344,39345,34163,34164,32112,32113,32114,32111,34165,39603,39724,41845,45065,44618,44619,40033,40210,49443,32115,40211,39727,32122,40320,40469,32117,32118,32120,32116,50112,40467,32124,32123,32119,33917,33920,40468,40568,33244,32127,32126,33927,33930,40733,40734,40747,32125,32128,34367,32131,33914,34206,40930,33915,40209,32133,40752,40753,40754,41012,32130,32132,32135,41018,35663,50150,33916,35665,32141,32139,32140,45762,33921,41016,32137,32138,41064,33247,41065,33250,32144,32142,32143,33227,36149,41112,41113,32146,41153,32147,36151,36162,41121,41122,33912,32145,36163,33253,36164,33267,32148,32149,32150,32151,32152,41154,35685,41413,36167,36168,41414,32153,32154,33908,32158,41415,41492,41493,41495,32155,32159,45759,41691,32156,33935,33845,32161,44095,41692,33934,32163,41702,41769,41824,41826,41864,32160,32166,33936,46544,41906,32165,33940,41866,41905,42299,42448,32164,32167,32170,32171,42449,42450,42544,49578,32172,32173,32174,33224,42613,35899,47761,32176,35901,42724,42725,42897,32178,42898,42932,43031,43032,32175,32177,32179,32181,32180,43033,43098,33270,32183,33949,35962,35964,32185,33952,43251,32182,32187,32184,50152,33945,33939,33943,32190,32189,32186,50151,33938,32188,33941,43324,43325,32193,32192,33275,43400,33953,33954,49409,32196,32195,33955,42224,32191,32198,41985,43889,36071,45381,36072,32201,32200,49410,36084,32199,32203,32197,48981,33956,50154,45376,45377,36085,36086,32205,32206,45379,36087,36088,44080,32202,45380,45382,44503,33958,32211,44601,44684,47812,44860,32208,32210,44226,42187,32214,32213,32217,50155,44955,44956,32212,32215,44973,46661,32218,32216,33959,33960,33961,33966,32219,32221,32220,33962,45021,49483,32224,32223,33973,33980,32226,33990,42389,40330,45022,32222,32225,45023,32230,32228,32229,33995,34001,50026,34003,32227,49503,32232,45036,45038,34016,32235,36315,36316,36378,36294,36295,36308,36309,36310,32240,32236,32234,32237,32238,32241,33279,40773,45475,45476,32239,36384,36385,32927,36705,45477,32246,32244,32245,50165,45478,45480,32248,45481,32243,36416,32247,32249,50158,44532,36417,32251,45550,45551,32250,32253,32252,45552,45418,45553,50159,32254,45554,50162,44784,45555,45556,32259,32256,32257,32258,32255,32260,41763,45557,45591,45722,32262,45645,45686,32264,42592,32263,32265,32261,32266,50161,48428,32269,45715,42606,45716,45717,45718,32271,45719,32267,32270,50167,45732,32273,32272,33286,45735,32275,45742,49653,32274,32277,32276,47690,45420,32278,33968,33969,33965,45745,50163,45746,45804,32283,32279,32280,32281,32282,32285,33971,33972,45813,50164,45814,45863,36579,32287,32286,45920,32284,45971,32289,45973,45921,45929,32291,45974,32288,32290,32293,32292,48503,45983,33978,48470,45985,45987,45988,33976,45992,45993,45994,32294,32295,32301,32297,32298,32299,33069,33981,45997,32302,46001,32304,32303,33983,33984,33985,49119,32305,33987,32307,32306,41151,46051,46052,32309,49786,33988,33989,32311,46064,50166,32308,46065,46066,32310,32312,32314,31115,32315,32316,45647,45648,32317,49579,32320,32318,46067,46071,46072,46073,50168,46079,44785,33996,33997,46074,32321,32322,32324,32323,46080,46082,44786,44787,45426,45723,32326,45724,33999,32325,45427,34004,46081,34105,32328,32327,34005,32330,32333,32332,32331,34008,34007,34013,34014,32335,41017,34106,32334,32336,47494,32337,34015,45864,45865,43011,32340,32338,32339,49847,36737,34026,32341,33664,36738,36852,49802,34019,32345,32342,32343,32344,34043,34050,34035,32348,32347,36993,32346,34045,49280,36995,32350,32349,32354,46290,32352,32353,32351,43095,49615,49616,49617,46176,49914,46177,46178,34054,31520,34055,32355,32356,32357,49920,49978,32360,49979,32359,32361,32729,32731,32362,32363,32734,32752,32753,32365,32366,32740,49949,32754,32755,32368,32367,46049,32759,43224,32371,32370,32760,32372,32369,32761,44435,32762,32373,32374,32375,49981,49982,32378,49994,49996,50013,32773,32783,32771,43278,34020,32784,32798,32379,32925,43303,32381,32380,33299,33190,33191,32382,32384,32799,32800,32803,34021,32386,32804,33298,32824,32385,32825,32390,32387,32826,32389,32388,32830,32392,34023,43363,34027,34024,34237,49339,49772,32391,32393,32831,32394,32395,32396,32397,46050,32832,34272,34031,32833,34028,34029,32840,49646,32841,33303,32399,32400,32864,32401,32865,34032,34033,34034,49557,32866,32894,32873,32402,32404,33304,35356,32405,43417,46688,32406,41489,47687,44589,47895,49736,46900,32408,41897,49642,35452,48232,45122,46750,41437,37648,32409,32410,32407,32412,48978,47843,45112,45097,49263,49081,32419,46308,32416,34037,34038,34039,43544,34041,35536,43396,34036,32420,32428,33305,35469,37432,47396,34042,48497,40578,46622,46218,42022,34051,34053,32421,32422,32423,32425,40433,35341,45349,40837,32427,45103,32895,32429,32435,33308,48646,45128,32896,48132,47993,45137,32433,48374,32897,32898,34062,48454,40799,41342,45337,41497,49470,32438,45255,32437,32899,46234,41982,32900,39236,32442,32441,45672,41830,48783,33554,46108,32444,48336,45323,47438,32446,47770,41501,32448,45560,44537,40512,49143,48863,32450,41922,32447,36534,48031,32452,34065,43179,47130,34066,47872,41587,46639,47641,34068,32459,32458,32460,34071,48164,47524,48213,48128,45261,41744,44837,34069,34073,43756,34072,49232,32461,32462,32463,32464,46546,41208,35937,34070,32928,34075,32467,34079,32468,41090,32469,32466,32929,32930,43191,32473,32932,32471,32933,32934,32472,44171,40485,49695,48359,40715,40830,32474,32476,32475,37113,40863,44692,32477,46669,40740,32478,48203,36783,32939,34098,43874,32481,32480,34099,44125,34101,49833,49520,32484,32483,32485,32487,32486,32944,34107,48357,34111,49778,49639,34104,32488,32945,32946,33309,32492,32947,32491,34115,49768,32948,34118,49562,49659,32949,49956,49555,49567,32496,32493,32494,49573,49585,43973,49655,49628,32498,32495,49326,49689,49524,49761,49763,49809,49799,32499,32500,32501,33317,32962,49816,49818,44044,49840,49855,49927,32504,32505,32506,32503,32512,49516,35442,32509,32510,48500,32508,32513,32959,32960,34136,32961,49730,40938,34143,49570,34150,32517,49969,34735,32518,49604,49934,49505,49576,49669,49726,49755,32521,32523,32520,34157,34154,34159,34754,32522,49776,34166,34174,32525,49560,37109,34178,34758,34171,32963,32964,34189,34185,32529,32528,32973,49890,39040,32527,43431,49478,32531,49986,47966,41879,32535,32534,34074,41732,49983,34762,32537,32974,32983,40732,32984,33323,32990,34077,48702,41570,32538,37835,44930,35376,32540,39042,39041,49152,34080,48414,45066,47602,34081,46540,39043,49984,32991,49987,49988,32999,33017,33007,33008,33009,44316,44283,34100,34102,43129,48310,33018,34112,34103,34108,34109,34110,45170,48941,34114,49285,33019,32543,33024,32563,32559,32545,32547,32548,32549,32550,32551,32552,32553,32554,32555,32556,32557,32558,32560,32561,32562,49061,34116,46133,37133,43425,34117,48763,43164,34119,48279,32569,32565,32566,32567,32568,41837,41986,37067,34140,34141,34142,47534,48962,48173,39452,32575,32571,32572,32573,32574,33043,34151,33040,47214,47669,49356,34152,34153,49125,34158,34160,44501,45069,44481,33492,44164,44922,34161,34167,35523,34169,34170,34175,33045,34172,34173,41297,49214,34176,34177,43806,34179,38046,34180,36165,45996,47917,32597,32577,32578,32579,32580,32581,32582,32583,32584,32585,32586,32587,32588,32589,32590,32591,32592,32593,32594,32595,32596,34194,34192,44572,34191,34186,45646,33049,33050,32603,32599,32600,32601,32602,34199,34200,44596,34193,32598,33064,34201,34202,33071,34203,34204,44159,46112,45089,45131,46390,37822,49349,33075,46140,43537,46997,45094,44547,33076,32619,32608,32609,32610,32611,32612,32613,32614,32615,32616,32617,32618,32605,32606,32607,33077,34208,33078,34207,33101,50169,33102,33103,34209,34210,33120,34213,50170,33126,34218,33127,33136,34220,33116,30504,34221,50171,30512,32620,32636,32621,32622,32623,32624,32625,32626,32627,32633,32628,32629,32630,32631,32632,32634,32635,30543,50172,30581,30593,34224,30618,30655,30657,30681,30769,32637,32645,32640,32641,32642,32643,32644,32638,32639,47965,34231,34226,30990,31166,31206,34229,31349,31414,30974,30999,34232,34233,34223,34225,34234,34235,39774,39775,34242,34241,46279,34238,34239,34236,34243,33327,34246,34244,34248,34251,34254,42625,42626,34256,34258,34260,34265,34267,34268,34269,34271,34273,34276,34279,34282,34283,34286,34289,34292,34295,32646,34298,32704,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,34314,34301,34308,35205,34316,34247,34318,34249,34252,34253,34321,34255,34257,34270,34274,34280,34275,34277,34278,34281,34284,34285,34287,34288,34290,32705,34291,34293,34294,32725,32706,32707,32708,32709,32710,32711,32712,32713,32714,32715,32716,32717,32718,32719,32720,32721,32722,32723,32724,34297,34299,34300,35224,32727,33331,34302,32728,34303,34311,34313,34315,32732,34319,45237,32733,34322,34324,32739,33343,32736,32737,34329,34326,34327,34328,33344,33348,33355,33394,32745,32746,33404,33407,33448,32747,32748,32749,33473,32750,33474,33479,33515,33574,34334,34337,33510,34340,34343,33571,32756,33618,32757,33635,33646,34351,34355,34356,34359,34362,33599,33658,33654,34373,33669,33673,34364,34370,34379,32763,32764,34341,34346,34347,34349,34350,33750,33754,33773,33758,33762,33766,34375,34374,32766,32767,32768,32770,34376,34377,34380,34381,34385,34386,34387,34389,33875,33877,32775,33918,33904,33911,32776,32774,32777,34394,33942,33964,34002,32778,34392,34383,33967,32779,32780,34018,34047,34058,32781,34393,34395,32782,32785,32786,32787,32788,32789,34067,32791,32792,32793,33051,34113,34145,34148,32794,32795,34137,34155,34156,34335,34336,34396,34403,34402,34404,32797,34409,34412,34415,34417,34433,34420,34422,32802,34429,34430,34431,34405,32806,32807,32808,34397,34400,34401,34406,34410,34411,34413,34414,34423,32809,34416,32810,34418,34424,34432,32811,34434,34435,34436,34437,34438,34441,34443,32813,34446,34448,32814,34452,32816,34455,34463,34457,32817,32818,34460,34439,34440,34442,32819,32820,34451,34453,34454,34456,34458,34459,34461,34464,34465,34466,34468,34470,32822,32823,34471,34473,32827,32829,34475,34478,34479,34481,34483,34488,34489,34490,34494,34497,34499,35645,32834,34501,32835,32836,34503,34505,34511,34517,34518,34520,34529,34531,32838,32839,35801,32844,32842,34469,32845,32846,32847,32848,32849,32850,32851,32852,32853,34515,32854,32855,32856,32858,32859,32860,32861,34539,34541,34543,34551,41386,32862,32863,34545,34547,34549,34550,34555,32868,32869,34556,34559,34562,34563,34566,34568,34569,34571,34574,34577,32870,34587,34579,34581,34583,32872,34585,34584,34591,34593,34596,34598,34614,34615,34601,32874,34604,34606,34607,34609,34611,32876,34623,34616,32878,32879,32880,34617,34620,34629,41674,34650,32882,32883,34631,34634,34642,34644,34647,34653,34655,32887,32888,32885,34658,34661,34662,34664,34666,34673,34676,34681,34686,32890,34690,32891,34692,32892,34695,50032,34699,34701,34702,34704,34706,34709,34712,34713,34715,32893,34717,34718,34724,34725,34726,34728,34544,32901,32902,32904,32905,32906,32908,32909,32910,32911,32912,32914,32915,32916,42593,42594,32917,32918,32919,32921,32922,32923,32924,32926,34732,34733,34736,34740,34744,34746,34749,34760,32935,34765,34768,34770,34774,34778,34781,34784,34787,34791,34793,34796,34798,34801,34807,32936,34810,34813,32938,34816,32940,32941,32942,32943,34818,34824,43215,34830,34827,34829,43304,34838,34841,34844,34847,32951,32952,34734,34851,34737,34739,32953,34741,34743,34748,34757,34771,34747,34759,32955,34764,34772,34775,34779,32956,34780,34782,34785,32957,34789,34790,32958,34794,34795,34799,34800,34809,34822,34823,34831,34832,34834,34837,34839,34843,34845,32967,34848,34849,34467,32965,34472,34474,34476,34477,43974,32968,32969,43975,34480,34482,32970,34484,34492,34509,34493,34495,34510,34496,34500,34502,32971,34506,32972,45375,45378,32975,32977,34512,34514,34521,34516,34523,34524,34528,32979,32980,34530,34532,34533,34535,45383,34538,34540,32981,34542,32982,32985,34548,34553,34554,32986,32987,34557,34558,34560,34561,34564,34565,34567,34570,34572,34573,34575,34576,34578,34580,49441,32989,32993,32994,34582,32995,34586,34589,34590,34592,34594,34595,34597,32996,32997,34599,34600,34602,34603,34605,34608,34610,34612,33002,34613,33000,34624,34625,34618,34619,34621,34622,33003,33004,34627,34628,34630,34633,34635,34637,34638,34639,34640,34641,34643,34645,34648,34646,34649,33006,34651,34652,33010,33011,33012,34654,34656,34659,34660,34663,34665,34667,34668,34670,33013,33014,33015,34672,34674,34675,49999,34677,34678,34680,34682,50007,34683,34685,34687,34689,35997,34691,33020,33021,33022,34694,34697,34698,34700,33025,34703,34705,33026,34707,34708,45434,34710,34711,33028,33029,34721,33030,34723,33031,34730,34731,34852,34855,34856,33032,34865,33033,33034,33035,34871,34874,33037,34877,34868,34883,34879,33038,34886,34888,34889,34899,34891,34893,34901,34903,36493,34908,34913,34916,34918,34911,34906,33047,34932,34921,34924,34927,34929,33052,34941,33053,34934,34858,34859,34861,34862,33055,33056,34863,33057,34864,34866,33060,33061,34867,33058,33062,33063,34869,34870,36900,34884,34885,34887,34897,34898,33068,34909,34900,34904,34905,34910,34917,34920,34922,34926,34928,34936,34930,34931,33073,34933,34937,34938,34939,34942,34943,50019,34953,33074,34959,34963,34955,34957,34958,33079,33080,33081,33085,34974,34981,34978,34970,33083,33084,33089,33086,33087,33088,33090,33091,50020,33093,33094,33095,33096,33104,34992,34996,35007,35002,35005,33098,35010,35012,35016,35018,35014,35020,35652,33100,35022,35024,33106,35030,35047,33107,35036,35038,35044,33111,35052,35048,35049,35057,35059,33108,35062,33109,35064,35084,35072,35081,35074,35079,33112,33113,35086,35089,33117,33118,35096,35099,35091,33119,37922,35093,35101,35104,35106,33123,35108,35110,35679,35112,35114,33124,35116,33125,35119,35120,35124,35126,35138,33129,35128,33130,35129,35131,35134,35137,33131,33132,35140,33133,33134,33135,33137,33138,33139,33140,33141,33142,35152,35166,35155,35159,35163,35165,35169,35170,35173,35203,35175,35183,35187,35191,35193,35195,35199,35202,35209,35211,35213,35216,35223,35225,35231,35229,35236,35220,35238,35240,35262,35243,35249,35251,35255,35257,35258,35261,35767,35274,45818,35265,35268,35272,35275,35277,35156,35279,35280,35284,35148,35151,35157,35158,35162,35167,35168,35171,35174,35177,35185,35186,35188,35190,35192,35194,35196,35198,35200,35201,35204,35212,35214,35217,35215,35218,35219,35221,35222,35227,35228,35244,35230,35250,35235,35237,35241,35242,35253,35259,35263,35260,35264,35267,35269,35270,35273,35276,35278,35282,35283,35285,35286,34945,34946,34948,34949,34951,34952,34954,34980,34979,35003,35004,35006,35008,35009,35011,35021,35023,35025,35032,35037,35039,35040,35042,35043,35045,35019,35046,35051,35054,35055,35056,35058,35060,35075,35077,35078,35080,35085,35087,35088,35092,35097,35098,35100,35102,35103,35105,35107,35109,35111,35113,35115,35117,35118,35122,35123,35125,35127,35130,35132,35133,35135,35136,35139,35288,35291,35292,35298,35289,35290,35301,35293,35294,35296,35297,35299,35313,35308,35311,35309,35310,35303,35317,35319,35320,35322,35332,35340,35345,35348,35324,35330,35355,35358,35362,35366,35351,35375,35380,35388,35386,35406,35401,35409,35412,35418,35421,35425,35427,35430,35436,35439,35433,35445,35449,35402,35405,35410,35411,35426,35428,35429,35431,35432,35434,35435,35440,35441,35446,35443,35444,35447,35448,35451,35328,35329,35331,35333,35336,35339,35930,35342,35343,35344,35346,35347,35349,35350,35353,35354,35357,35359,35361,35364,35365,35367,35370,35371,35373,35374,35377,35378,35379,35382,35387,35390,35392,35393,35396,35397,35389,35321,35323,35325,35326,35460,35455,35453,35465,35454,35466,35467,35468,35472,35475,35479,35482,35480,35481,35488,35485,35477,35478,35489,35486,35487,35490,35494,35497,35506,35492,35493,35495,35491,35510,35496,35501,35518,35521,35525,35528,35531,35533,35526,35527,35529,35530,35522,35532,35534,35535,35537,35538,35542,35547,35550,35558,35561,35564,35935,35539,35567,35572,35540,35541,35543,35544,35548,35549,35551,35553,35554,35556,35559,35560,35562,35563,35566,35577,35582,35585,35568,35587,35593,35599,35602,35604,35596,35595,35603,35605,35606,35612,35597,35613,35598,35614,35617,35621,35594,35624,35627,35629,35630,35632,35634,35639,35641,35644,35647,35653,35615,35659,35616,35622,35626,35628,35631,35633,35636,35640,35638,35642,35643,35646,35651,35650,35625,35669,35672,35675,35678,35664,35661,35662,35666,35660,35680,35670,35671,35673,35676,35677,35681,35682,35683,35684,35667,35668,35690,35692,35699,35702,35704,35689,35712,35708,35716,35720,35727,35729,35732,35723,35738,35742,35735,35715,35745,35747,35749,35752,35758,35761,35764,35710,35711,35718,35721,35709,35724,35733,35734,35736,35737,35740,35741,35743,35744,35746,35748,35750,35751,35753,35754,35756,35739,35765,35757,35759,35760,35766,35691,35693,35694,35695,35700,35701,35703,35706,35772,35777,35773,35779,35783,35786,35774,35789,35797,35799,35806,35808,35812,35814,35816,35820,35824,35832,35834,35837,35842,35844,35846,35850,35870,35855,35859,35862,35864,35867,35873,35847,35853,35877,35886,35889,35895,35897,35892,35778,35775,35776,35882,35780,35803,35781,35782,35784,35785,35787,35790,35791,35793,35798,35804,35805,35807,35813,35815,35817,35818,35819,35825,35828,35829,35840,35830,35831,35835,35841,35836,35843,35845,35849,35851,35852,35860,35861,35863,35865,35866,35868,35854,35869,35872,46986,35871,35875,35876,35878,35893,35894,35887,35896,35898,35880,35883,35874,35909,35902,35906,35910,35903,35904,35905,35907,35908,35900,35911,35912,35916,35920,35926,35929,35933,35914,35915,35918,35919,35932,35917,35931,35936,35934,35941,35944,35947,35952,35954,35942,35943,35948,35953,35958,35961,35965,35970,35973,35976,35979,35981,35987,35990,35992,35999,36002,36005,36016,36023,36027,36035,35966,35967,35969,35971,35972,35986,35974,35975,35978,35980,35988,35991,35993,36000,36001,36003,36004,36010,36011,36015,36017,36018,36025,36028,36014,36022,36020,36037,36036,36038,36042,36045,36044,36040,36043,36039,36046,36047,36048,36055,36049,36068,36062,36064,36063,36066,36069,36070,36060,36077,36079,36080,36081,36082,36083,36106,36092,36095,36097,36099,36100,36108,36102,36127,36131,36133,36138,36137,36091,36155,36146,36152,36154,36156,36159,36177,36169,36172,36175,36178,36179,36181,36184,36190,36193,36200,36207,36209,36204,36214,36216,36212,36166,36229,36174,36232,36237,36241,36244,36250,36253,36255,36258,36263,36268,36274,36276,36233,36286,36289,36291,36248,36231,36234,36235,36242,36243,36245,36230,36251,36252,36271,36257,36262,36249,36266,36267,36269,36272,36273,36277,36287,36288,36090,36096,36101,36123,36110,36115,36111,36113,36116,36119,36120,36118,36109,36129,36130,36132,36135,36139,36140,36141,36144,36147,36148,36153,36157,36158,36161,36170,36171,36173,36176,36180,36160,36182,36183,36185,36191,36187,36192,36195,36196,36202,36203,36205,36206,36208,36210,36211,36213,36215,36217,36218,36201,36304,36297,36298,36296,36299,36300,36301,36306,36314,36305,36317,36323,36325,36329,36331,36334,36337,36342,36344,36347,36349,36351,36358,36361,36365,36368,36370,36373,36312,36318,36319,36322,36324,36327,36328,36332,36333,36338,36343,36350,36353,36354,36359,36360,36363,36364,36366,36367,36369,36371,36372,36374,36375,36377,36383,36389,36382,36379,36386,36380,36381,36392,36418,36398,36401,36404,36407,36421,36423,36433,36411,36442,36452,36455,36439,36436,36458,36468,36476,36477,36474,36480,36482,36486,36492,36387,36390,36391,36393,36400,36403,36408,36409,36430,36410,36419,36420,36424,36425,36412,36413,36431,36432,36435,36437,36443,36453,36454,36456,36457,36483,36475,36478,36479,36481,36484,36485,36495,36496,36500,36472,36503,36506,36508,36515,36511,36527,36518,36519,36521,36537,36539,36541,36546,36550,36552,36555,36558,36561,36564,36566,36568,36533,36504,36569,36572,36501,36502,36505,36507,36512,36516,36520,36522,36526,36528,36529,36531,36532,36538,36542,36543,36545,36556,36557,36559,36560,36571,36574,36575,36580,36582,36584,36587,36589,36577,36578,36591,36593,36597,36614,36600,36603,36605,36608,36612,36618,36620,36634,36661,36636,36640,36643,36645,36648,36651,36654,36657,36659,36672,36673,36681,36684,36685,36687,36691,36701,36675,36708,36710,36713,36717,36724,36730,36721,36743,36746,36749,36751,36754,36757,36727,36736,36760,36768,36771,36777,36779,36782,36786,36788,36790,36793,36795,36796,36799,36823,36802,36806,36808,36826,36812,36815,36818,36821,36830,36835,36838,36841,36843,36846,36848,36813,36855,36861,36865,36867,36873,36875,36906,36887,36890,36893,36902,36881,36870,36915,36916,36917,36918,36921,36913,36929,36934,36910,36937,36941,36947,36944,36953,36957,36961,36967,36973,36975,36979,36985,36832,36834,36839,36840,36842,36844,36845,36866,36872,36874,36876,36877,36871,36883,36886,36889,36894,36903,36888,36897,36879,36898,36904,36905,36907,36908,36909,36919,36924,36925,36938,36942,36943,36945,36914,36954,36955,36956,36959,36960,36968,36969,36971,36972,36974,36977,36978,36981,36976,36581,36585,36990,36594,36586,36588,36590,36592,36595,36596,36598,36606,36602,36604,36607,36613,36619,36621,36632,36629,36630,36633,36635,36609,36642,36644,36646,36647,36649,36650,36652,36655,36656,36658,36660,36665,36666,36668,36671,36674,36676,36677,36680,36682,36683,36686,36689,36690,36695,36692,36693,36728,36703,36704,36706,36707,36709,36714,36715,36716,36719,36720,36725,36726,36718,36731,36732,36761,36734,36744,36745,36729,36747,36748,36750,36752,36753,36755,36756,36758,36759,36762,36763,36769,36770,36772,36778,36780,36781,36784,36785,36789,36791,36792,36797,36798,36809,36800,36801,36804,36805,36807,36810,36811,36814,36816,36817,36820,36822,36992,36827,36825,36828,36829,36819,36996,37002,37004,37009,37012,37015,37018,37020,37024,36994,37041,37048,37059,37033,37037,37039,37051,37054,37056,37060,37064,37070,37079,37076,37118,37090,37092,37097,37099,37105,37112,37121,37128,37130,37158,37136,37141,37144,37155,37146,37091,37124,37152,37093,37096,37100,37101,37103,37104,37110,37111,37114,37115,37117,37119,37120,37122,37123,37126,37134,37135,37137,37138,37140,37142,37143,37145,37148,37153,37150,37151,37154,37156,37157,36997,37000,37001,37005,36998,37003,37006,37007,37008,37010,37011,37013,37014,37021,37016,37017,37025,37026,37029,37030,37031,37032,37034,37035,37061,37036,37038,37040,37049,37042,37050,37052,37053,37055,37057,37058,37043,37062,37080,37063,37071,37072,37082,37083,37077,37078,37168,37089,37165,37169,37163,37159,37160,37161,37174,37170,37173,37167,37164,37183,37186,37176,37177,37184,37185,37188,37189,37190,37187,37182,37191,37192,37193,37194,37196,37197,37200,37204,37206,37208,37213,37216,37218,37220,37224,37225,37232,37231,37233,37237,37240,37246,37248,37250,37253,37243,37228,37256,37261,37262,37263,37278,37267,37270,37260,37275,37272,37195,37198,37199,37201,37203,37207,37209,37214,37215,37217,37219,37221,37223,37211,37226,37227,37229,37230,37245,37238,37241,37242,37249,37251,37252,37254,37255,37258,37257,37259,37265,37266,37268,37276,37277,37279,37280,37281,37291,37284,37290,37288,37294,37282,37283,37285,37295,37305,37308,37315,37317,37320,37316,37322,37323,37318,37324,37325,37326,37328,37329,37330,37331,37332,37336,37334,37335,37340,37341,37342,37333,37343,37347,37348,37351,37364,37349,37356,37359,37362,37366,37372,37381,37383,37386,37387,37393,37396,37398,37400,37403,37406,37409,37421,37424,37429,37428,37445,39393,37435,37414,37442,37451,37459,37463,37467,37469,37472,37474,37455,37456,37453,37481,37485,37486,37494,37487,37489,37490,37488,37501,37491,37513,37515,37517,37524,37526,37527,37534,37532,37543,44515,37545,37548,37551,37554,37525,45238,37395,45435,37454,37560,37562,37566,37571,37569,37577,37578,37573,37581,37583,37588,37594,37600,37605,37607,37609,37613,37622,37626,37628,37631,37638,37606,37641,37608,37614,37615,37624,37625,37610,37623,37627,37629,37630,37632,37390,37633,37379,37643,37646,37647,37388,37380,37391,37392,37394,37397,37402,37418,37404,37405,37415,37419,37420,46538,37416,37430,37431,37443,37444,37446,37447,37452,37461,37462,37460,37465,37468,37470,37471,37473,37475,37476,37483,37484,37492,37482,37502,37516,37518,37521,47449,37533,37535,37522,37523,37544,37546,37549,37538,37539,37537,37550,37555,37561,37565,37567,37568,37572,37582,37570,37587,37589,37595,37590,37598,37596,37601,39581,37603,37365,37353,37352,37360,37361,37368,37370,37373,37661,37374,37650,37651,37652,37656,37659,37665,37674,37668,37669,37673,37682,37684,37666,37693,37675,37677,37680,37685,37681,37683,37653,37686,37688,37690,37691,37692,37654,37655,37657,37658,37660,37694,37704,37696,37698,37709,37663,37695,37700,37711,37714,37697,37699,37701,37705,37702,37703,37712,37713,37715,37716,37708,37718,37710,37720,37721,37724,37726,40638,37729,37731,37735,37738,37740,37745,37748,37737,37756,37759,37762,37766,37770,37773,37723,37728,37730,37767,37776,37732,37722,37778,37733,37734,37744,37736,37741,37742,37746,37747,37749,37750,37769,37757,37758,37764,37765,37772,37774,37763,37771,37784,37785,37779,37783,37786,37777,37787,37793,37794,37812,37798,37805,37791,37815,42562,37792,37817,37831,37825,37828,37837,37820,37841,37848,42563,37839,37881,37852,37854,37856,37859,37862,37871,37876,37878,37886,37865,37892,37901,37795,37806,37799,37807,37809,37811,37813,37814,37816,37819,37823,37824,37829,37830,37836,37838,37843,37832,37818,37850,37851,37853,37855,37846,37857,37860,37861,37847,37867,37849,37866,37874,37875,37879,37870,37880,37893,37899,37900,37873,37902,37903,37790,37906,37907,37908,37917,37921,37923,37935,37936,37939,37941,37947,37949,37952,37953,37954,37957,37960,37926,37912,37913,37918,37920,37961,37924,37927,37928,37931,37950,37944,37932,37933,37934,37942,37945,37951,37946,37958,37959,37969,37955,37962,37963,37956,37966,37968,37970,37986,37975,37977,37971,37972,37973,37976,37987,37980,37978,37981,37982,37999,37994,38006,38010,37989,37990,38012,38016,38020,38017,38018,38022,38023,38026,38033,38029,38038,38040,38041,38058,38052,38000,38055,38004,38008,38007,38009,38011,38013,38014,38021,38024,38025,38027,38028,38034,38030,38031,38032,38035,38036,38037,38039,38042,38049,38050,38051,38054,38056,38057,38059,38060,38061,38062,38063,38064,38065,38066,38067,38070,38075,38072,38089,38092,38094,38098,38073,38106,38108,38114,38117,38119,38102,38068,38069,38074,38077,38078,38079,38082,38083,38085,38088,38091,38093,38095,38099,38097,38100,38101,38103,38104,38105,38112,38113,38115,38120,38121,38122,38125,38127,38131,38139,38134,38143,38145,38149,38151,38126,38130,38146,38132,38133,38136,38137,38138,38144,38135,38147,38148,38150,38153,38154,38155,38161,38163,38166,38169,38171,38174,38176,38178,38186,49997,38188,38190,38193,50028,50029,50024,50023,50027,50030,50022,50031,38157,38156,50025,19523,19579,50018,50021,42950,42951,42957,42958,2,19534,19535,19528,19513,32377,32431,31989,31348,32358,30737,31307,32121,31929,30693,31651,31453,31552,30968,32417,31253,32209,31484,31774,31151,32207,32319,30750,38159,30791,31894,31250,31429,32383,38160,43744,32403,32134,43789,32002,31404,43910,43911,31354,31332,31023,32511,31648,30825,31488,36221,36222,36280,36281,30637,36246,36388,38162,31469,36524,30565,32268,37412,44445,38167,38168,38170,38172,38173,38175,38177,38187,38191,38192,44594,38213,38194,38195,38197,38200,38203,38208,38215,38217,38198,38199,38204,38209,38212,38218,38219,38206,38207,38223,38225,38232,38234,38222,38228,38240,38243,38252,38278,38257,38260,38263,38266,38269,38272,38273,38276,38282,38284,38288,38292,38295,38247,38311,38299,38301,38306,38308,38315,38318,38320,38321,38322,38326,38328,38330,38333,38336,38338,38340,38346,38360,38354,38356,38300,38302,38303,38304,38305,38310,38345,38319,38324,38325,38331,38332,38339,38347,38348,38361,38358,38359,38350,38231,38226,38362,38363,38224,38227,44862,44879,38233,38238,45044,33197,33205,33208,33223,33188,33318,33241,33319,33245,33268,33287,31168,31176,45405,45406,33395,33396,33375,33405,45522,45523,45574,45767,45771,49716,49717,33054,37719,33502,33505,33511,38516,33516,38625,38848,38849,38789,33128,33001,33531,33526,33527,33522,33555,33602,33572,33556,33619,33630,33636,33647,38242,38241,38244,33695,33670,33674,33684,33704,33708,33711,38245,33663,33751,33774,33775,33746,33747,33755,33759,33763,38246,38248,38264,38256,33876,38253,38254,38258,38261,38262,38270,38271,38274,38275,33818,33919,33948,33922,33902,33905,38285,38277,38283,38286,38287,38289,38291,38293,38294,34078,38296,34059,34060,34061,34320,34217,38297,38298,34342,34384,34398,34425,34462,34378,31522,30517,45781,32329,31887,31489,34009,31800,30913,30546,47073,31117,31958,49991,49992,37413,40099,40100,40127,32903,30973,31324,32424,40627,40647,40648,34773,48350,48351,48495,33042,48921,49112,33621,36220,34753,32157,32907,33099,38309,32168,34777,31688,34783,34786,34812,34840,34846,34850,34923,38368,38369,38371,38376,38380,38383,38370,35144,35145,35178,35254,35026,35090,35300,35623,35674,38390,35698,35719,35722,35707,38385,38387,35788,35826,35888,35989,38372,38374,38375,38378,38379,38382,38381,38384,38377,31939,35998,36050,35994,36012,36026,36029,36041,36067,36399,36438,36583,36653,36669,38386,38388,38391,36696,36901,36952,36833,36863,36884,36895,36920,36939,36940,36982,36983,36984,37127,37239,38400,37354,37355,37371,38405,38410,38392,38414,38420,38417,38422,38426,38429,38431,38434,38436,38442,38446,38438,38458,38450,38454,38455,32738,47432,48292,32950,32954,33005,33092,32889,33023,49990,50004,31465,47044,38461,32805,32821,38464,42192,32881,38452,38457,32920,30676,32812,33097,32976,33048,38401,31836,32453,30900,32988,33072,33082,38403,32937,33424,44039,38711,38712,32857,33436,38408,38409,38404,38411,38406,38415,38412,38413,32726,33846,38418,38419,38424,38425,38427,38428,38439,38440,38430,38432,38433,38435,38437,38394,38447,38395,38444,38448,38441,38465,38483,38486,38467,38466,38488,38474,38484,38485,38489,38490,38491,38512,38501,38504,38506,38509,38536,38545,32062,38520,38524,38526,38529,38531,38534,38539,38546,38547,38559,38549,38552,38553,38561,38564,38568,38570,43305,38572,38582,38574,43246,38578,38584,38533,38588,38590,38604,44092,44093,38592,38594,38596,38599,38602,30595,32541,32242,31417,31712,31029,31880,44073,31462,31134,31701,31576,32539,32532,30626,31266,31458,32296,30813,31234,32411,32022,31729,31114,32489,38589,31818,31579,31924,32886,32765,33016,33105,33121,38593,31194,31105,32136,31264,31119,33122,32507,31947,42949,31851,30943,31248,30727,30632,31455,30711,32502,31788,32300,32129,32515,30527,33786,32913,38595,33059,32978,33027,32758,32526,32364,30922,32828,32837,31823,32843,32867,44037,32871,48349,32006,44072,32877,32998,32796,32815,33892,45049,45048,40574,45770,36523,30608,38597,37095,37102,33634,35050,46237,38600,37821,38527,38528,38532,38537,38535,38541,38544,38548,38550,38551,38554,38563,38567,38562,38569,38571,38573,38576,38470,38577,38580,38581,38583,38575,38473,38471,38487,38500,38476,38477,38479,38480,38482,38494,38495,38497,38498,38502,38510,38511,38518,38519,38503,38505,38513,38514,38631,38521,38605,38522,38624,38523,38525,38620,38633,38608,38612,38636,38639,38642,38613,38616,45239,38618,38645,38637,38638,38630,38619,38622,38634,38635,38640,38641,45493,38643,38644,38649,38646,38647,38648,38652,38660,38654,38657,38674,38668,38671,38673,38669,38672,38661,38655,38656,38658,38662,38663,49677,38653,38675,38666,38650,38651,38667,38676,50000,50001,50002,38677,38679,37466,37493,38685,38682,37530,37644,37519,37547,37599,38691,38699,38723,37664,38713,37667,37676,38708,38716,38725,38729,38719,38732,37754,37717,38734,42887,37775,36270,38739,38736,36009,38744,37797,38742,38745,38746,38750,38752,38755,38758,38760,38692,38693,33251,47264,34688,38695,38565,38696,38697,38698,38701,38702,38703,38704,38709,38710,38714,38715,38717,38718,36415,37751,38720,38721,38724,38722,38726,37800,38727,38728,38733,38735,37808,38737,37940,38740,38738,38743,38748,38749,38751,38756,38757,38683,38684,38686,38741,38001,38086,38116,38129,38189,38210,38239,38259,38761,38764,38329,38389,38453,38421,38445,38449,38766,38768,38538,38542,38543,38623,38670,38659,38771,38774,38779,38784,38802,38799,38787,38777,38796,38803,38804,38805,38808,38813,38816,38822,38826,38836,38839,38842,38844,38850,38762,38763,38765,38767,38772,38773,38775,38776,38778,36739,34836,35121,34147,37591,39280,45780,39740,39812,33826,45404,49980,41958,42648,42955,43144,38809,38788,38810,38811,38812,38814,38815,38818,38823,38817,38819,38820,38821,38824,38825,38828,38829,38837,38838,38841,38843,38831,38832,38845,38846,40473,38827,38834,38835,38857,38855,38860,38861,38851,38852,38862,38865,38868,38872,38876,38856,38858,38859,38863,38864,38866,38867,38870,38871,38874,38875,38878,38879,38869,38877,38873,38885,38881,38882,38888,38886,38887,38892,38893,38894,38889,38890,38895,38896,44917,44918,44916,44861,33923,35028,35029,33947,46171,45520,34006,34011,37044,50006,36514,37045,37046,37047,46250,38909,38906,38908,38898,38899,38910,46746,38911,38912,38914,38915,38916,38913,38919,38920,38922,38923,38924,38925,38928,38930,38921,38932,38935,48768,38937,44606,38939,38942,38397,38945,38926,38927,38929,38931,34312,34722,38933,38934,38944,38211,33779,38946,38947,38948,37027,38949,40460,35041,36735,38951,38954,38956,38962,36622,38950,38965,34044,37202,33913,34052,38970,48987,38973,38975,33243,38977,38979,37457,49408,37458,34833,33838,41132,33154,42191,42359,42360,42946,42947,43909,36089,33853,33194,34399,37264,46788,49993,50003,34671,34684,33256,33259,38957,33937,34679,33429,33432,33426,38958,38960,38961,38963,33341,37139,38964,38966,33274,34693,38967,38971,38972,38974,38978,38982,33500,38983,35033,35150,36197,37635,37929,33692,38985,38986,47850,38987,38990,38992,38994,35206,38996,37222,34720,38555,35161,35197,39244,40098,38968,36074,38999,33613,44857,39003,39006,33657,43252,34250,35792,34264,33446,35794,35795,35796,49846,35923,34310,37094,33688,33785,33924,33806,34012,42257,43743,36013,44094,33228,36279,49985,33249,35070,35071,34522,33262,33281,33288,33812,37889,39018,39008,39012,39019,34040,39020,39021,39026,36429,39029,39031,39034,39038,34738,37602,46702,39044,37149,39047,36923,39050,39053,39055,44954,37810,34821,36733,38255,36186,37244,33668,41150,43226,33609,33642,45812,35281,36313,34162,36663,34956,36320,33561,37289,33216,49111,35226,39063,39059,39065,39067,39070,39073,38629,39075,49334,34763,34752,37287,39080,35304,37389,39077,39087,34835,34860,33189,33397,38847,38096,35141,34030,34534,34491,35391,33503,35271,35302,33528,34325,33209,35611,35649,41683,39092,33709,33957,35968,34323,34756,35810,39094,39097,39098,34485,34419,34742,39102,39105,34345,36008,38481,39114,34348,39115,39117,39120,33842,44091,44811,44810,33869,37477,37302,39124,44878,36219,33963,34636,33435,39127,39128,39130,39131,39134,34527,35076,49989,36670,36679,34368,34632,36964,49515,33149,33150,33383,33336,39136,39139,39141,39144,33537,33625,33726,33559,33626,39146,33627,33727,33728,33946,33857,33907,33888,33889,33992,34000,33950,33951,33994,33993,34190,33764,34187,34188,34222,34296,37116,35068,33297,37108,35686,37540,37129,39095,39096,39100,39101,39107,36030,37081,33278,35463,39108,35398,37411,37506,43030,33192,35637,33862,34508,39118,33231,45766,49995,34353,39109,39116,39121,39119,39122,39123,39125,39126,39132,39133,39135,39137,39138,39142,39143,38988,34940,34935,38991,34944,34947,34950,38989,38995,39000,39001,39009,33212,39002,39013,39004,39005,39007,39014,39010,39011,39016,39017,39022,37620,36355,37597,38236,39023,39024,39025,33357,39035,39027,39028,39030,39032,39033,34967,39048,39036,39037,39049,39039,39046,39045,39051,39052,39054,39057,39078,39060,39058,39061,39062,39064,39066,39069,39071,39072,39074,39076,39079,35189,39088,39083,39089,39090,39148,39149,39147,39176,39150,38472,39157,39163,39166,39170,39173,39180,39182,39185,39200,33909,39194,39203,35295,39188,39190,39192,39197,39204,35334,35337,35338,39209,39212,39215,39205,39206,39217,47601,35368,35369,35372,37687,37796,39220,39222,35552,34138,39230,39234,39235,39239,39242,39246,39248,39250,39253,39265,35484,36970,37563,39256,39260,39263,39268,39271,39274,39277,39292,39278,39279,39281,39283,39286,39297,39299,39302,39305,35827,39151,35635,39155,39156,39161,39309,39152,39153,39167,36136,39165,39168,39169,39162,39171,39172,39177,39175,39178,39179,33265,39181,39183,39184,39189,39193,39198,39199,39210,39211,39213,39214,39216,39218,39201,39231,39219,39221,39223,39224,39228,39229,39232,39233,39237,39238,39247,39251,39252,39258,39291,36292,39259,39261,39262,39266,39269,39270,39273,39282,39288,39289,39298,39300,36949,36958,36114,36697,39314,39301,39307,39308,39310,39317,37564,39316,37503,39315,39318,39319,39320,38402,36065,38048,33896,38833,45403,44639,39321,39323,39325,39326,39322,39328,39331,35607,34984,39327,39324,39329,39330,37868,39336,39335,39338,39332,33239,39333,39343,39337,39339,39340,39346,34657,34198,39342,39355,39356,39348,39364,39351,39367,39353,39354,38478,35246,39365,39366,39371,39373,39377,39379,39381,39384,39387,39390,39392,39394,39397,39399,39374,39375,39376,39378,39380,39382,39383,39385,39386,39389,39391,39395,39396,39405,39398,39400,39402,39403,39404,39412,33986,36667,39408,39409,39415,39417,33350,36394,37417,39419,39420,39422,39406,39407,39410,39411,39413,39425,39426,39414,39416,39418,39423,39429,39432,39435,39439,39440,33482,39443,39445,39451,39457,39458,39460,39462,39465,39480,39468,39472,39475,39477,45240,33639,34382,33822,39430,33551,39492,39484,39486,39488,39489,39496,38880,39522,39498,39502,39510,39513,39515,39520,37179,37872,39525,39531,39539,39541,39544,39547,39528,39536,39015,33860,39549,39551,39552,39555,35768,39562,35802,39559,39565,39571,39572,39575,39578,34896,39579,36637,39577,39580,39582,39585,39588,39290,39601,38984,38249,38393,39590,39595,39596,39599,39607,36678,39604,39561,39563,39564,39566,39567,39573,39560,39593,39431,39594,39574,39583,39584,39597,39598,39600,39605,39606,39428,39433,39434,39437,39438,39441,39442,39444,39447,39453,39454,39459,39461,39464,39466,39463,35502,39469,36999,39467,39470,39471,39473,39474,42543,35555,39481,39476,39478,39479,39485,39487,39490,39491,39493,33491,39495,39497,39503,39504,39505,39511,39512,39517,39518,39519,39521,36494,39530,39526,39527,39533,39534,39535,39540,39542,39524,39532,41688,33660,39543,39548,39550,39553,39554,39557,39558,39608,36664,39615,39613,39614,39616,39619,39623,39626,39628,39629,45918,39633,39634,39631,39635,39636,39618,39627,39630,39646,36530,34168,38614,39637,39638,39642,35755,33310,36278,39649,39652,39654,39659,39662,39663,39657,37988,38373,39678,39681,38003,39670,39672,39675,39666,39679,39695,33182,33485,39683,39685,39686,39688,39691,39694,39696,39704,39699,39701,39710,39711,39714,39717,39720,39658,34776,39722,39650,39651,39660,39661,39664,39665,33637,39697,39669,39673,36926,39689,39671,39690,39692,39693,39698,39700,36311,38515,35234,39702,39703,38664,39708,39709,39712,39713,39718,39719,39721,39643,39723,39725,39644,39645,39648,39728,33735,39647,39726,39730,39738,39732,39733,39736,39750,39754,39759,39741,39743,33455,39745,39748,39749,39757,39766,37556,33803,38980,37132,39764,34804,36617,39776,39772,39769,39773,39777,37271,41066,37974,39778,39779,39781,39782,39785,39788,39800,39792,39806,36261,49715,39791,39795,39797,39802,33495,39813,37369,39807,39809,39810,39816,39820,39818,39632,39822,39833,39834,39825,39828,39831,39835,39839,36223,33235,36857,39850,39841,39844,39847,39848,33408,38900,39868,39853,39856,39859,39861,39865,39737,39739,33334,38076,33296,39742,35459,39744,39746,39747,39755,39568,33499,39761,39762,39763,39756,39758,39765,33624,33970,39770,39771,39780,39783,37911,37580,37898,37914,37919,39784,39786,37930,39787,39796,39804,39793,39805,39808,39817,39819,35360,39836,37743,38002,39829,39830,39837,39838,36471,38493,38469,39842,39843,39840,39846,39849,39851,37925,38111,38891,38152,33800,39852,35500,36019,37678,39854,39855,39857,39858,39860,39863,39870,39871,39864,39866,39867,39869,39872,39862,38081,38290,39875,39877,39881,39884,39886,39889,39892,39894,39878,39896,39899,39900,39873,39874,39879,39882,39883,39901,39885,39887,39888,39890,39891,39893,39895,39902,37780,38181,38496,39907,39903,39904,39227,39908,39912,36265,39915,39917,39905,39906,39909,39910,39911,39913,37768,39919,33509,39914,39916,39918,45125,37147,34513,39922,39926,39929,39931,39936,37510,37992,37844,38019,38781,33544,33420,39370,39939,39953,39956,33593,39944,39947,39950,39960,39958,35000,35984,39963,39965,35403,39968,34669,39971,45521,37520,35287,36878,33977,35147,38897,33376,38959,38205,39955,39987,39983,39990,39974,39991,39977,39979,39988,39989,37943,36247,40008,39996,38617,39993,39994,40024,40009,40010,40014,40017,40019,33933,40022,40037,40040,36426,40049,37706,40043,40053,37616,40055,39976,40048,38694,36773,35394,38087,38611,40059,39592,38687,38830,33523,43788,40061,40064,40065,40068,40070,40073,40076,40060,34064,40080,40063,40066,40062,40067,37983,36117,37840,40069,40074,40075,37210,40077,35655,40078,40079,39937,39938,39941,39942,39943,39945,39946,39948,39448,33443,33900,39427,39949,39951,39954,39952,39957,39959,39964,39980,39966,39967,33906,39973,39975,39969,39970,40000,39981,39982,39995,40001,40007,40016,40018,40020,40021,40023,40030,40031,38607,40036,39999,40041,40042,33628,40045,33565,34536,36124,36694,40046,40047,40054,38499,38084,33315,40056,40057,33847,37967,38517,38343,33392,39707,39920,39921,40058,39923,39924,39925,39927,39928,34988,35922,33944,39932,36032,39930,40083,40084,37645,40086,40087,40088,40085,34525,40089,36112,36525,33656,36885,40090,40091,40092,36896,37834,38015,40093,40095,33829,40094,40101,40096,33685,40097,37084,40103,40104,36142,40102,36236,40105,40106,40107,33373,40108,40109,40111,40114,40115,40044,40116,40110,40113,40112,40129,40119,40122,40125,40126,40124,40128,40121,40123,40134,40138,40130,40141,40144,40136,40137,40135,40145,40147,40149,40156,40160,40166,40139,40140,40142,40143,40148,40150,40169,40170,36987,40151,40152,40158,40159,40162,40167,40168,40157,33416,40172,40176,40178,40180,40183,40190,40192,40196,40198,40200,40204,40206,40226,40216,40218,40220,40223,40229,40233,40236,40237,40174,40175,40177,40179,40181,40182,40184,40185,40191,40194,40195,40197,40193,40173,40199,40202,40203,40205,40207,40208,40217,40224,40225,40227,40228,40230,40231,40232,40201,40240,40238,40244,40246,40249,40257,40260,40242,38700,40251,40269,40264,40267,40272,40275,40278,40281,40283,40284,40287,40292,33577,40290,33382,40297,40302,40300,40306,40307,40310,40313,40308,40309,40311,40312,33329,33291,40314,40315,40243,40245,40247,40248,40250,40258,40259,40262,40263,40273,40265,40266,40268,40274,40276,40277,40279,40280,40285,40286,40288,40289,40291,40294,40295,40296,40298,40301,40323,40293,40303,40304,37895,40325,40328,40335,40337,40348,40336,40345,40344,40351,40353,40359,40361,40364,40366,40369,40349,40350,40352,40354,40355,40362,34819,34820,40363,40365,40367,40368,40370,40372,40373,34407,34426,34408,34427,34428,34817,40399,40378,40381,40384,40377,40392,40398,40401,40402,40400,40409,40412,40418,40406,40429,40397,40422,40424,40425,40432,40436,40438,40465,40442,40458,40484,40466,40470,40478,40479,40489,40496,40499,40504,40481,40508,40511,40516,40519,40521,40523,40525,40527,40533,40530,40540,40543,40505,40545,40567,40552,40558,40562,40565,40569,40443,40444,40556,40572,40459,40472,40476,40477,40480,40482,40483,40486,40487,40488,40490,40497,40498,40500,40475,40509,40510,40513,40514,40515,40520,40524,40526,40528,40529,40531,40532,40535,40534,40506,40507,35034,40537,35061,35066,35067,40538,40539,40541,40542,40387,35063,40544,40557,40566,40379,40380,40382,40383,40385,40393,40394,40404,40405,40410,40411,40420,40421,40403,40427,40428,40430,40431,40434,40435,40437,40573,40575,40576,40577,40426,40439,40579,40581,40580,40589,40596,40587,40592,40603,40609,40613,40583,40620,40621,40628,40630,40622,40637,40639,40642,40654,40656,40660,40618,40624,40663,40664,40667,40701,40676,40682,40685,40688,40691,40699,40679,40703,40704,40710,40717,40724,40719,40730,40707,40588,40590,40714,40705,40591,40594,40595,40604,40605,40612,40614,40615,40619,40623,40629,40631,40626,40593,40625,40640,40641,40661,40662,40666,40668,40669,40665,40633,40634,40635,40636,40678,40684,40686,40687,40689,40690,40692,40693,40702,40706,40708,40709,40683,40677,40712,40713,40716,40718,40721,40722,40723,40725,40582,40585,40586,40711,40720,40735,40737,40742,40744,40738,40739,40743,40745,40746,40748,40749,40750,40751,40755,40756,40757,40758,40761,40763,40765,40769,40771,40774,40778,40780,40792,40795,40798,40803,40788,40776,40802,40820,40823,40807,40810,40813,40816,40829,40840,40842,40845,40848,40851,40852,40854,40856,40824,40872,40875,40877,40881,40883,40885,40866,40891,40879,40869,40890,40898,40901,40904,40906,40909,40912,40915,40925,40926,40927,40903,40920,40921,40922,40923,40947,40943,40931,40934,40941,40937,40945,40928,40929,40973,40951,40954,40957,40965,40967,40970,40976,40983,40985,40988,40992,40982,40955,40956,40966,40969,40971,40968,41000,40972,40974,40975,40978,40979,40980,40981,40987,40990,40991,40994,40995,40977,40989,40764,40770,40777,40779,40781,40793,40794,40796,40797,40800,40801,40805,40806,40808,40809,40811,40812,40814,40815,40817,40821,40822,40831,40832,40838,40839,40843,40844,40849,40850,40857,40858,40867,40868,40873,40874,40876,40878,40882,40884,40886,40887,40893,40899,40900,40902,40905,40907,40908,40910,40911,40913,40914,40916,40932,40918,40933,40935,40936,40942,41001,41002,41004,40949,40950,40948,41013,41019,41024,41021,41003,41006,41007,41014,41015,41020,41005,41011,41025,41027,41022,41023,41032,41035,41038,41041,41044,41028,41047,41048,41050,41053,41056,41058,41060,41057,41071,41033,41034,41036,41037,41040,41045,41046,41049,41051,41052,41059,41061,41062,41076,41078,41084,41087,41093,41097,41101,41082,41083,41081,41085,41086,41096,41099,41100,41102,41103,41115,41117,41118,41119,41109,41114,41152,41127,41129,41135,41139,41141,41143,41125,41126,41128,41130,41131,41140,41142,41155,41158,41161,41163,41165,41168,41172,41175,41177,41181,41196,41184,41187,41188,41191,41193,41197,41200,41206,41205,41185,41186,41190,41192,41194,41195,41198,41199,41201,41202,41207,41156,41157,41162,41189,41164,41166,41167,41170,41171,41173,41174,41176,41179,41180,41169,41178,41209,41210,41211,41212,41226,41217,41219,41225,41218,41220,41221,41227,41228,41213,41232,41245,41238,41240,41243,41233,41239,41241,41242,41230,41231,41234,41246,41247,41248,41257,41262,41254,41259,41264,41265,41249,41268,41272,41255,41256,41258,41269,41273,41274,41280,41277,41281,41282,41288,41290,41294,41299,41300,41301,41305,41308,41285,41284,41311,41286,41292,41293,41296,41306,41309,41310,41295,41312,41313,41298,41303,41291,41314,41315,41316,41319,41323,41325,41332,41336,41339,41317,41318,41320,41322,41324,41327,41328,41334,41335,41337,41338,41340,41341,41343,41348,41326,41354,41358,41359,41361,41363,41365,41355,41356,41357,41362,41364,41350,41349,41368,41367,41371,41378,41381,41384,41387,41389,41391,41374,41366,41397,41372,41373,41379,41380,41382,41383,41390,41393,41394,41396,41395,41392,41411,41399,41400,41409,41410,41398,40419,41412,41417,41416,41420,41424,41419,41425,41434,41436,41440,41441,41444,41453,41457,41470,41473,41475,41476,41479,41482,41485,41488,41515,41522,41496,41500,41505,41508,41512,41504,41524,41534,41528,41541,41544,41545,41546,41550,41553,41555,41530,41560,41563,41566,41569,41573,41583,41586,41589,41591,41601,41604,41606,41609,41611,41597,41594,41598,41614,41474,41477,41478,41480,41481,41483,41484,41486,41487,41490,41491,41498,41499,41502,41503,41506,41507,41510,41511,41513,41514,41535,41536,41523,41529,41532,41533,41542,41531,41543,41548,41549,41551,41552,41556,41561,41562,41568,41571,41572,41584,41585,41547,41588,41590,41592,41593,41595,41596,41602,41603,41605,41607,41608,41610,41435,41438,41439,41442,41443,41445,41446,41451,41452,41455,41456,41458,41460,41463,41469,41616,41617,41618,41454,41621,41624,41627,41638,41640,41631,41643,41634,41660,41664,41668,41647,41651,41653,41657,41658,41671,41673,41676,41690,41685,41687,41693,41696,41699,41703,41706,41709,41659,41716,41719,41655,41656,41721,41654,41648,41672,41675,41677,41678,41686,41694,41695,41697,41698,41700,41707,41708,41711,41632,41722,41619,41620,41622,41623,41626,41628,41629,41630,41625,41633,41639,41641,41726,41731,41734,41736,41738,41740,41743,41746,41749,41752,41755,41761,41766,41774,41776,41777,41780,41771,41758,41782,41785,41788,41795,41797,41800,41806,41810,41814,41816,41819,41809,41822,41727,41747,41753,41754,41756,41757,41759,41760,41762,41764,41767,41768,41750,35172,35073,35413,41772,41773,41778,41779,41781,35179,35383,35181,35182,35385,35180,35404,41783,41784,41786,41787,41789,41790,41798,41799,41804,41805,41807,41811,41815,41817,41818,41820,41851,41827,41829,41832,41834,41836,41840,41843,41847,41849,41825,41853,41856,41859,41861,41865,41867,41869,41871,41874,41876,41878,48293,41882,41885,41888,41889,41873,35416,41901,41904,35419,35420,35423,35424,41894,41895,41896,41898,41899,41900,41902,41903,41857,41858,41860,41862,41863,41868,41870,41872,41875,41877,41880,41881,41883,41884,41891,41892,41893,41828,41831,41833,41835,41838,41839,41841,41842,41844,41848,41852,41854,41855,41850,41909,41921,41915,41916,41919,41912,41918,41927,41930,41934,41941,41943,41936,41925,41961,41970,41968,41947,41950,41953,41955,41963,41965,41973,41977,41979,41981,41978,41989,41992,41995,41998,42000,42003,42005,42007,42009,42012,42015,42021,42025,42026,42033,42038,42039,42040,42041,42044,42048,42051,42057,42036,42059,42063,42065,42068,42072,42076,42079,42082,42084,42060,42090,42058,42093,42095,42098,42101,42108,42104,42037,42053,42128,42124,42115,42116,42119,42122,42131,42134,42138,42140,42142,42145,42147,42151,42152,42153,42154,42123,42165,42155,42157,42159,42160,42162,42169,42172,42173,42143,42167,42150,42177,42179,42182,42186,42195,42199,42201,42204,42158,42161,42163,42206,42164,42168,42170,42171,42175,42176,42178,42180,42181,42196,42174,42197,42198,42200,42202,42205,41984,41987,41988,41990,41991,41993,41994,41996,41997,41999,42016,42001,42002,42004,42006,42008,42010,42011,42013,42014,42017,42018,42020,42023,42024,42027,42028,42035,42042,42043,42046,42052,42064,42066,42067,42069,42070,42071,42074,42075,42077,42078,42080,42081,42083,42085,42086,42091,42092,42094,42096,42073,42097,42099,42102,42103,42120,42121,42125,42126,42127,42129,42130,42132,42133,42136,42137,42139,42141,42144,42146,42148,41917,41920,41928,41929,42135,41932,41933,41935,41938,41937,41939,41940,41942,41945,41969,41946,41948,41949,41951,41952,41954,41956,41957,41964,41966,41967,37998,41971,41972,41976,41980,42207,42208,42209,42210,42211,42212,42215,42217,42219,42222,42227,42229,42240,42236,42238,42213,42214,42216,42220,42221,42223,42237,42239,42241,42242,42243,42250,42245,42246,42247,42248,42249,42254,42252,42253,42251,42256,42258,42260,42262,42266,42271,42273,42277,42279,42282,42284,42286,42289,42298,42322,42320,42306,42300,42302,42301,42310,42314,42317,35579,35450,42337,42325,42340,42327,35557,42348,42356,42364,42369,42352,42375,42383,42379,42385,42361,42391,35508,35569,35570,35571,35574,35575,35578,42387,35580,35581,35584,42394,42397,42399,42402,42406,42408,42411,42414,42420,42425,42434,42437,42440,42442,42445,42417,42338,42341,42451,42261,42255,42329,33160,33161,33171,33172,33201,33414,33415,33441,33442,33453,33454,33643,33644,33677,33678,33632,33633,33691,33768,33770,33721,33722,33723,42455,33810,33811,33884,33885,33895,33928,33929,33931,33932,33975,34063,42462,42466,42457,42469,42472,42476,42459,34211,34212,34214,34219,34228,34230,34240,34245,34259,34262,34263,34309,34317,34306,34307,34338,34339,34344,34352,42480,42482,42481,34354,34357,34358,34360,34361,34363,34365,34366,34369,34371,34372,34390,34391,34388,34421,34444,34445,34447,34449,34450,42263,34486,34487,34498,34504,34507,34519,34745,34750,34751,34714,34716,34719,34727,42264,34761,34766,34767,34769,34792,34755,34797,34802,34803,34805,34806,34808,34814,34815,34825,34826,34828,34842,34872,34873,34875,34876,40963,40964,40984,42265,42268,42269,42270,42267,41042,41043,41055,41072,41079,41080,42275,42276,42278,42280,42281,42274,41107,41088,41094,41095,41110,41137,41138,41144,42283,42285,41145,41159,41160,41236,41237,41244,42290,42293,42292,42287,41260,41261,41266,41267,41289,42304,42305,42303,42307,42295,42323,41352,41353,41369,41370,42312,42313,42315,42316,42318,42319,42321,41388,41422,41423,42324,42349,42326,41525,41554,41564,41565,41567,41613,41649,41650,41652,41642,42350,41645,41646,41704,41705,41717,41718,41733,41741,41742,42351,42353,42354,42355,41823,42358,42362,42363,42365,42377,42378,42381,42382,42384,42357,42376,42380,41846,41886,41887,41923,41924,42047,42049,42050,42061,42062,42106,42107,42100,42118,42225,42226,42230,42231,42386,42388,42390,42392,42233,42234,42235,42296,42259,42272,42288,42297,42403,42393,42395,42396,42398,42400,42401,42404,42405,42407,42409,42410,42418,42412,42415,42416,42419,42422,42423,42424,42426,42427,42435,42438,42436,42443,42444,42446,42447,42430,42432,42456,42453,42463,42464,42465,42470,42471,42483,42477,42474,42475,42491,42494,42498,42496,42501,42507,42505,42484,42510,42514,42528,42517,42520,42525,42532,42535,42538,42541,42546,49568,42549,42539,42540,42542,42547,42548,42499,42500,42508,42509,49650,42512,42515,42516,42518,42519,42521,42522,42523,42524,42526,42487,42527,42534,42537,42488,42530,42531,42529,42533,34878,34890,34892,34894,34895,34902,34907,42495,42550,42492,34912,34914,34915,34919,34925,42551,34986,34987,35013,35015,35031,35149,35153,35154,35160,35164,35207,35208,35210,35232,35233,35239,42554,42552,42553,42555,35245,35256,35266,35312,35314,35315,35335,35833,42567,42556,42558,42564,42559,42560,42557,35839,42561,35437,35438,35457,35458,35483,42565,42566,42570,42568,42569,35512,35513,35514,35498,35499,35509,35519,42572,35565,35583,35589,35600,35601,35619,35620,42575,42571,42573,42574,35648,35654,35713,35714,35728,35730,35731,35762,35763,35809,42576,42577,42580,42583,42586,42588,42597,42604,42595,42601,35811,35822,35823,35838,35848,35891,35921,35927,35928,42609,42614,42621,42612,42618,42611,35945,35946,35950,35951,35956,35957,35959,35960,36007,36021,42623,36093,36094,36098,42578,42579,42581,36122,36239,36240,36254,36259,36260,36264,36275,36290,36307,36330,36335,36336,36356,42582,42584,36357,36405,36406,36422,42585,42587,42590,42591,42596,42598,36427,36428,36469,36470,36487,36488,36509,36510,42602,42603,42605,42610,42616,42617,36540,36548,36549,36551,36553,36554,36565,36567,36615,36616,36641,36711,36712,42620,42622,42624,42627,42619,36836,36837,36787,36794,36847,36849,36850,36868,36869,36891,36892,42629,42631,42632,42635,42638,42642,42649,42655,42643,42652,42644,42650,42651,42663,42656,42657,42633,42634,42636,42658,42637,42628,42630,42639,42640,43364,42641,42664,42665,42666,42667,42668,42670,42673,42687,42676,42679,42682,42684,42686,42690,42693,42721,42696,42699,42702,42705,42708,42711,42713,42717,42726,42722,42727,42729,42732,42735,42737,42741,42740,42743,42745,42748,42752,42754,42756,42669,42671,42672,42677,42674,42675,42678,43757,42680,42681,42683,42685,42688,42689,42691,42692,42697,42698,42700,42701,42703,42704,42706,42694,42707,42709,42710,42712,42715,42716,42719,42720,42728,42730,42731,42733,42714,42734,42736,42739,42744,42746,42747,44045,44046,42750,42751,42753,42755,42757,42758,42749,42762,42760,42765,42759,42763,42764,42761,42767,42768,42769,42766,42772,42781,42775,42777,42779,42770,42771,42773,42774,42776,42778,42780,42790,42784,42796,42800,42803,42805,44482,44483,42809,42799,42811,42813,42810,42812,42791,42786,42814,42785,42797,42792,42798,42801,42802,42804,42816,42817,42806,42815,42818,42828,42829,42832,42838,42841,42834,42835,42836,42844,42845,42848,42850,42852,42858,42865,42868,42872,42874,42876,42913,42911,42879,42884,42916,42918,44951,42919,42921,42923,42925,42927,42933,42920,42929,42931,36922,36935,36936,36948,36963,36986,42936,42939,42942,42952,42965,42967,42966,37019,37022,37023,37065,37066,42977,37098,37106,37107,37131,37171,37172,42831,42833,42840,42842,42843,42846,42847,37205,37247,42849,42851,42854,42860,42873,42875,42880,42885,42886,42914,42866,37286,37338,37339,37350,37357,37358,37363,37384,37385,37399,37408,37410,37514,42915,35985,36033,36034,37552,37553,37558,37559,37579,37611,37612,37639,37640,37604,37670,37671,42917,42924,42922,37672,37739,37760,37761,37826,37827,42926,42928,42934,42935,42938,42930,37863,37864,37877,37891,37915,37916,37937,37938,42940,42941,37948,38071,42944,42945,42953,42954,42962,42991,42943,42981,42978,38107,38109,38110,38118,38123,38124,42998,42980,42992,42993,42995,38141,38142,38164,38165,38179,38180,38202,42996,42997,42999,38214,38216,38235,38265,38267,38268,38307,38316,38317,38327,38334,38335,38337,38341,38342,38459,38460,38462,38463,38530,38468,38492,38507,43000,43003,43004,38598,38601,38632,38609,38610,38730,38731,38753,38754,43010,43015,43024,43027,43006,43020,43007,38759,38769,38770,38780,38782,38783,38785,38840,38907,38918,38936,38938,38955,38969,38976,38993,38997,38998,39084,39085,43040,39093,39104,39129,43034,39140,39145,39158,39159,39174,39191,39240,39241,39243,39249,39254,39255,39267,39275,39276,39303,39304,39368,39369,43045,43047,43049,43013,43014,43017,43018,43019,43025,43026,43016,43054,43028,39576,39586,39587,39589,39591,39545,39546,43029,39617,39621,39622,39625,39653,39655,39656,39674,39676,39677,39680,39682,39684,39687,39715,39716,39767,39768,39790,39798,43036,43037,43038,43039,43035,39799,39801,39821,39826,39827,39832,39845,39876,39880,39897,39898,39933,39934,39935,40071,40072,39961,39962,39978,40146,43046,43048,43050,43051,43052,43053,43055,43056,40219,40221,40222,40234,40235,40241,40252,40253,40270,40282,40339,40357,40271,43057,40358,40360,43062,40423,40440,40441,43060,43066,40456,40457,40517,40518,40522,43072,43086,43090,43082,43069,43099,43093,40546,43108,43106,43107,43109,43104,43112,43115,45241,43120,43124,43126,43128,43132,43136,43141,43138,43146,43149,43151,43153,43175,45242,43155,43158,43161,43163,43166,43169,43173,43176,43177,43178,43182,43185,43194,43196,43188,43190,43197,43200,43203,43206,43065,45693,43105,43184,43221,43195,43211,43214,43217,43229,43231,43157,40547,40554,40555,40563,40564,40570,43235,43239,43244,43253,40571,40617,40644,40645,40658,40659,43212,43213,43216,43219,43220,43218,40680,40681,40700,40736,43236,40762,43222,43223,43230,43233,43234,40790,40791,40767,40768,40775,40841,40846,40847,40853,40919,43237,43238,43240,43241,43242,43243,43067,43064,43058,43059,43061,43068,43070,43071,43073,43088,43089,43092,43094,43101,43102,43103,43110,43087,43091,43100,43111,43113,43114,43116,43140,43123,43125,43127,43130,43131,43134,43135,43137,43142,43121,43147,43148,43150,43152,43154,43156,43159,43160,43162,43165,43167,43168,43171,43172,43174,43180,43181,43183,43186,43187,43189,43192,43193,43198,43199,43201,43202,43204,43205,43208,43209,43210,43293,43288,43297,43269,43275,43280,43284,43291,43300,43272,36282,36073,36107,36284,36285,36303,36283,36302,43322,41459,43309,43312,43319,43326,43329,43331,43333,43336,43344,43347,43351,43356,43361,43366,43369,43371,43373,43376,43379,43385,43387,43391,43393,43395,43403,43402,43405,43408,43399,33152,33153,33335,43411,37423,33359,43122,37782,33294,37422,33419,33360,33422,33736,33737,34195,34196,34197,36988,37679,39436,43419,43420,43416,43424,43427,43421,43422,43436,43430,43433,43437,43439,43442,43444,43454,43455,43460,43463,43465,43467,43468,43450,43447,43475,43490,43489,43493,43479,43482,43486,43496,33155,43499,34588,35053,35507,33693,43505,40120,43480,43481,43484,43485,43488,38451,43483,43478,43170,42367,43491,43492,43495,43497,43494,43498,43500,34266,33701,43510,43273,33998,43270,39187,43501,43506,43507,43513,43260,43261,43271,33753,43276,43277,43282,43283,43286,43287,43289,43290,43292,43298,43301,43302,43281,40599,43310,43320,40646,43311,43314,40474,43321,43327,43328,43313,43332,43334,43335,43338,43339,43345,43346,43349,43350,43352,43348,43367,43368,43370,43372,43374,43375,43377,43378,43380,43386,43389,43388,43390,43392,43394,43397,43398,43404,43406,43407,43409,43410,43413,43414,43415,43418,43423,43426,43429,43432,43434,43435,43438,43440,43441,43443,43445,43446,43428,43456,43461,43462,43464,43466,43469,43452,43453,43458,43521,43522,43526,43524,43525,43527,43401,43529,43530,43523,43528,33162,36414,33292,36321,36345,36346,36348,36402,43531,43532,43533,33848,43602,35142,43557,43534,43536,43540,43546,43550,43553,43555,43559,39516,43576,43563,43579,43582,43596,43570,43565,43585,43600,43603,43611,43615,43620,43632,43607,43617,43630,43636,43626,43642,35247,35248,43638,43640,43644,43648,43651,43655,42608,36339,43264,37376,37377,43658,43661,43665,43667,43668,43551,43674,43696,43681,43672,43679,43686,43673,43680,43684,43685,43694,43695,43535,43538,43539,43542,43548,43549,43552,43554,43556,43541,43547,43564,43560,43561,43577,43578,43581,43558,43583,43584,43586,43587,43598,43599,43601,43605,43604,43597,43606,43613,43614,43616,43618,43619,43621,43622,43627,43628,43612,43645,43633,36075,36076,43631,43634,43635,43637,43639,43641,43643,43646,43669,43652,43647,43649,43650,43654,43657,43659,43660,43662,43663,43664,43666,43670,43671,43699,43703,43717,43707,43724,43728,43701,43730,43733,43736,43739,43700,43702,43706,43719,43720,43726,43727,43729,43708,43725,43732,43734,43735,43738,43741,43742,43745,43749,43752,43746,43740,43731,43771,43750,43751,43758,43760,43762,43764,43767,43775,43759,43761,43763,43776,43768,43766,43769,43770,43773,43774,43777,43778,43779,43798,43781,43784,43785,43790,43792,43795,43799,43782,33186,43800,43801,43805,43811,43814,43815,43818,43821,43825,34975,34960,34997,34971,35094,35095,43828,38680,38681,43846,43837,43830,43834,43840,43853,43856,43843,35316,43829,43858,43861,38407,41931,39264,41283,41321,36445,36562,36563,36570,43868,43881,42956,43865,43872,43878,43885,43886,43887,43890,43893,43895,43896,43898,33649,43900,33413,48348,33195,48844,39164,38606,35306,33761,33536,33326,33358,33203,34857,34216,34305,34729,34811,35395,34788,36547,37125,36056,36194,37557,37642,37464,38747,38621,38443,38475,38357,39972,39803,39529,39789,40986,41421,41054,41098,41235,42441,36610,36611,36599,36601,43904,43907,43912,43916,43938,43941,43914,43955,43960,43956,43963,43966,43957,35608,35609,36128,35610,43981,43976,43970,43977,43978,43979,43971,43972,43980,43786,43787,43791,43793,43794,43796,43797,43803,43804,43807,43802,35573,33213,35590,43822,43813,43831,35591,43816,43817,43820,43823,43824,43826,43827,43819,43836,43841,43842,43844,43845,43848,43849,43854,43855,43857,43859,43832,43833,43847,43860,43863,43864,43866,43867,43873,43879,43880,43869,43870,43891,43892,43862,41123,43894,43899,43905,43906,43908,43917,43928,43933,43934,43939,43940,43945,43968,43961,43962,43964,43965,43967,43983,43969,43992,43997,43999,43990,44002,44004,44008,44010,43984,43991,43994,43995,43996,43998,44016,44000,44001,44006,44007,44009,44011,44012,44017,44018,44019,44005,44014,44003,33225,33991,44050,44047,44054,44062,44063,44065,44041,35511,34261,37727,34076,37180,36962,36078,34017,40657,40892,44066,44078,38140,44089,41136,44105,44121,44097,44107,44108,44111,44114,44117,44118,44124,41092,44021,44026,44029,44042,44043,44048,44049,44056,44057,44071,44020,44024,44055,44090,44099,44100,44109,44110,44112,44113,44115,44116,44120,44122,44123,44119,36293,36626,36627,33705,36628,36631,34552,44131,44127,44132,44133,44134,44135,44129,44130,44126,44128,35576,44136,44143,44147,44149,44150,44138,44152,44154,44145,44146,44148,36688,44155,44158,44161,44163,44144,37979,38158,44183,38185,44167,44170,44174,44177,44180,44186,44204,44192,44193,44197,44201,44207,44211,44218,44222,44224,44156,44157,44160,44162,44165,44166,44168,44169,44172,44173,44175,44176,44178,44179,44181,44182,44187,44188,44195,44196,44198,44199,44200,44203,44205,44206,44194,42937,44209,44210,44213,44220,44221,44223,44225,44208,44237,44229,44230,44228,44231,44238,44239,44254,44244,44263,44258,44261,44241,44242,44264,44268,44259,44260,44262,44269,44270,44271,44273,44280,44278,44279,44287,39624,36831,41124,35363,43772,44305,44290,44292,44294,44297,44301,43412,33780,44308,44310,44314,44318,44325,44319,44320,36980,44322,38423,44323,44324,44288,44289,44291,44293,44295,44296,44299,44300,44303,44304,44321,44298,44306,44307,44309,44312,44313,44311,44315,44335,44333,44326,44327,44342,44349,44355,44359,44345,44347,44338,44334,44336,44337,44340,44341,44343,44344,44346,44348,44350,44351,44357,44339,44356,42034,38981,36104,36105,44358,44360,44361,33285,33749,44365,44363,39106,41615,41612,33289,34227,44366,44367,33974,34537,33757,34546,34696,35184,34985,35252,35176,35456,35422,35717,35588,35821,35381,35955,35996,35977,36006,35890,35913,36573,36362,36352,36434,36882,36702,36930,37337,37407,37401,44377,37842,38128,44371,44373,44369,44370,38053,38090,38579,38323,38540,38355,44372,39103,39272,39257,39056,44374,39306,38917,39352,39446,39401,39620,40261,40553,44375,44376,40452,40471,40584,40643,40766,40610,40655,41333,41509,41351,41465,41974,42045,42117,44378,44379,44381,42738,42859,43133,43012,44382,43337,43285,43207,36864,43765,43656,43718,43737,36824,36856,36862,44383,44387,44384,44212,44202,44302,44394,44388,44389,44392,44393,44395,44396,44397,44399,44400,44401,44398,44408,44405,44404,44406,44407,44402,44411,44403,44409,44410,44415,44419,44422,44426,44450,44429,44432,44442,44439,44452,44455,44444,44459,44462,44465,44467,44476,44479,44484,44486,44489,44491,44470,44430,44431,44433,44434,44436,44494,44440,44441,44443,44446,44451,44453,44454,44456,44457,44458,44460,44461,44463,44464,44448,44466,44468,44469,44472,44473,44474,44471,44416,44477,44475,44478,44480,44487,44485,44490,44492,44493,44488,44417,44418,44420,44421,44423,49998,44427,44424,44425,44428,44413,44414,44495,39729,44496,38237,41890,38585,36854,33316,35352,37175,44497,44498,44512,44514,44516,44518,44524,44527,44534,44536,44541,44543,44546,44550,44553,44555,44561,44545,44563,44566,38456,44584,44569,44575,44581,44586,44568,44590,44591,44592,44595,44579,44599,44499,44500,44513,44517,44519,44525,44526,44529,44535,44538,44539,44540,44542,44544,44548,44549,44552,44554,44556,44528,44562,44564,44565,44567,44571,44576,44577,44578,44580,44583,44585,44587,44588,44593,44600,44582,44608,44604,44605,44607,44614,44610,44611,44609,44612,44631,44635,44628,44616,44617,44633,44620,36143,34046,44648,44651,44642,44647,44654,44656,44659,44662,44669,44664,44667,39099,44672,40789,43835,37312,44683,36741,44674,44676,44679,44680,44685,44688,44691,44695,44697,44699,44701,44702,44705,44706,44708,44711,44714,34139,43063,44716,37649,41944,42536,44719,44721,44723,44724,44726,44729,44732,44735,44737,44739,44745,44748,44749,44752,44755,44757,44760,44762,44763,44765,44767,44768,44770,44772,44774,44776,44778,44781,44782,44788,44790,44791,44793,44795,44798,44803,44816,44818,44822,44824,44813,44827,44829,44831,44641,44643,44649,44650,44652,44653,44655,44657,44658,44660,44661,44663,44665,44666,44668,44670,44671,44673,44675,44677,44678,44681,44682,44686,44687,44689,44690,44693,44694,44696,38044,33393,37788,42615,44698,44700,44703,44704,44707,44709,39347,44502,44504,38706,38795,43307,43308,44710,44712,44713,44715,44717,44718,38791,38792,38793,36256,34057,33765,44720,44722,44725,44727,44728,44730,44731,44733,44734,44736,44738,44098,41644,39293,39294,39295,44740,44741,44743,44744,44746,40804,44747,44750,44751,41360,44753,44754,44756,44758,44759,44761,42718,39735,35618,39556,44764,33496,37993,44766,44769,44773,44775,44777,44779,44780,44783,44789,44792,44794,42545,44800,39186,44796,44797,39985,44804,44805,44806,35546,44801,44819,44814,44815,44817,44820,44821,44823,44825,44826,39984,44809,39986,40081,40082,44833,44828,44830,44632,44634,44637,44638,44841,36326,44636,33676,42421,42502,42452,42429,40256,36946,37166,44843,44847,44849,44842,44845,44846,44844,44839,44855,44869,44848,44851,44863,44864,44867,44874,44880,44883,40171,44850,44886,44888,44891,44897,44898,44899,44903,44906,44919,44894,44896,44913,44901,44933,44940,44926,44929,44937,44942,44943,44946,44948,44952,38201,44950,44970,44963,44412,44958,44960,42589,43993,43487,40784,40786,40787,33587,43316,39992,39760,44865,44866,44868,40321,44875,44876,44877,44881,44882,44884,44885,44887,44889,45819,45820,37592,37593,39751,39752,39753,41770,44890,44892,44893,44895,44900,44904,44908,44902,44909,44914,44915,44920,44921,44907,44923,44924,44925,44927,44928,44931,44932,44935,44936,44938,44939,44941,44944,44945,44947,44949,44953,44959,44961,44962,44965,44966,44967,44968,44969,44964,42339,42342,44974,42909,42910,43323,33883,44977,44980,33706,44982,38688,44990,44994,44987,44996,42218,36134,36238,45000,45003,45005,45008,45011,45020,45017,44998,44934,44570,44991,42742,45035,40417,45028,45033,44988,44989,44992,45006,44993,44995,44997,45001,45002,45004,45007,43139,43021,43022,35963,43023,43225,44286,44317,33910,43279,33874,33901,36024,36803,40329,39068,45009,45010,45012,45013,45018,45019,45030,45031,45032,45034,45029,44975,44983,34853,44976,44978,44984,34854,44979,44981,36662,43754,45063,45052,45045,44985,44986,45050,45037,44153,45077,45083,45068,45071,45073,45079,45081,45086,45088,45092,45093,45096,45106,45108,45111,45118,45121,45127,45130,45134,45136,45115,43096,43097,44573,44574,44853,44597,44598,37269,45140,45141,45143,45146,44854,44999,45149,45153,45155,45158,45161,45163,45166,45164,45169,37306,37307,37303,37304,37309,37310,45173,45177,45181,45183,37319,45185,37781,37662,45419,41599,41600,36460,37321,44533,36459,40993,39997,39998,45067,37905,45080,45120,44219,35464,35065,42311,37028,45191,35705,39940,45189,45193,37378,43232,37375,37382,37367,37536,37634,37689,37725,45201,37789,45196,45198,45203,45205,45206,45209,45212,37858,37887,37883,37888,37890,37894,37884,37885,37965,37909,37964,37882,37910,45215,37995,37996,37997,38229,38230,38344,38351,38352,38353,45223,38508,45219,45226,45229,38626,38615,38591,38603,38566,38627,38628,38786,38800,38797,38801,45234,38798,45232,45243,45245,45248,45251,38940,38941,38943,38952,38953,39195,39196,39225,39226,39287,39296,39284,39285,39424,39388,39421,39499,39500,39501,39494,44038,39514,45254,44385,45267,45258,45260,45264,45270,45274,45275,44386,45282,45281,45289,45192,45194,45195,45197,45200,45202,45204,45207,45208,45190,45199,45210,45211,45221,45222,45224,45225,45227,45228,45230,45231,45233,45220,45235,45236,45244,45246,45247,45249,45250,45252,45253,45256,45257,45259,45262,45263,45265,45266,45268,45269,45272,45273,45276,45277,45283,45284,45285,45291,45290,45271,45292,45058,45060,45062,45064,45070,45072,45075,45076,45078,45082,45084,45074,45085,45087,45090,45091,45095,45098,45099,45107,45109,45110,45113,45114,45116,45117,45119,45123,45124,45126,45129,45132,45133,45135,45138,45139,45142,45144,45145,45147,45148,45151,45152,45154,45156,45157,45159,45160,45162,45167,45168,45150,45171,45172,45174,45175,45176,45179,45180,45182,45184,45040,45041,45047,45046,45178,45307,45312,45319,45322,45325,45328,45331,45334,45336,45339,45342,45345,45351,45354,45348,45366,45369,45371,45374,45384,45387,45388,45395,45401,45407,45409,45410,45413,45416,45421,45399,45428,45391,45431,45438,45439,45441,45442,45443,45447,45444,45457,45450,45440,45436,45327,40003,40002,40006,40004,40005,45437,45463,45465,45468,45471,45464,45466,45467,45469,45470,45472,45473,45313,45314,45315,45320,45321,45324,45326,45329,45330,45332,45333,45335,45338,45340,45341,45343,45344,45346,45347,40032,45350,45352,45353,45355,45367,45368,45370,45396,40015,45372,45373,45385,45386,45389,45390,45392,45393,45394,45397,45398,45400,45402,45408,40029,40026,40025,40027,40028,45411,45412,45414,45415,45422,45423,45429,45430,45432,45433,45445,45446,45449,45448,45452,45453,45458,45455,45451,45482,45479,45495,45489,45485,45487,45486,45488,45490,45496,45497,45502,45506,45510,45512,45498,45500,45499,45501,45504,45505,45508,45509,45511,45513,45507,45503,45524,45518,45519,45525,45526,45537,45527,45530,45533,45535,45534,45536,45548,45540,45546,45544,45542,45549,45543,45545,45547,45541,45558,45559,45563,45565,45567,45571,45573,45575,45577,45582,45578,45561,45562,45564,45566,45569,45570,45568,45585,45572,45576,45579,45580,45581,45584,45587,45588,45586,45583,45592,45595,45590,45598,45599,45600,45601,45605,45611,45615,45619,45603,45621,45608,45597,45633,45626,45630,45638,45640,45649,45652,45654,45656,45658,45660,45671,45675,45679,45681,45668,45689,45692,45694,45697,45662,45684,45704,45705,45707,45714,45628,45629,45627,45711,45713,45631,45632,45639,45641,45650,45651,45653,45655,45657,45659,45661,45669,45670,45673,45674,45676,45677,45678,45680,45682,45683,45685,45690,45691,45695,45696,45698,45699,45706,45709,45710,45593,45594,45596,45602,45606,45607,45609,45610,45708,45613,45614,45617,45618,45620,45730,45731,45616,45612,45726,45733,45734,45736,45737,45739,45738,45740,45741,45743,45744,45751,45754,45757,45752,45753,45755,45756,45758,45768,45772,45777,45782,45785,45789,45776,45792,45795,45801,45769,45773,45774,45775,45779,45783,45784,45787,45788,45790,45786,45791,45793,45794,45796,45802,45803,45805,45806,45808,45807,45809,45810,45811,45815,45827,45829,45831,45833,45836,45828,45830,45832,45834,45835,45837,45838,45840,45839,45842,45845,45849,45857,45861,45853,45847,45876,45878,45881,45873,45884,45885,45889,45891,45893,45904,45901,45898,45899,45908,45912,45916,45922,45877,45900,45924,45902,45903,45910,45911,45914,45915,45917,45923,45913,45909,45843,45844,45846,45848,45851,45852,45854,45855,45856,45859,45860,45850,45858,45862,45874,45875,45879,45880,45882,45883,45887,45888,45890,45892,45886,45930,45931,45932,45933,45937,45940,45943,45945,45950,45953,45959,45956,45935,45936,45938,45939,45941,45942,45944,45947,45934,45946,45948,45949,45951,45952,45954,45955,45960,45957,45958,45977,45978,45980,45981,45982,46002,45989,45990,46005,45991,46009,46015,46018,46020,46029,46032,46023,46026,46039,46042,46053,46056,46058,46062,46045,46003,46004,46006,46007,46008,46010,46011,46016,46017,46019,46021,46022,46027,46028,46030,46031,46033,46040,46041,46043,46044,46046,46047,46048,46054,46055,46057,46060,46061,46063,46059,46068,46069,46070,46075,46076,46077,46078,46090,46091,46092,46084,46085,46086,46087,46096,46099,46097,46098,46100,46101,46104,46107,46111,46115,46102,46118,46127,46129,46132,46136,46139,46142,46148,46151,46121,46157,46124,46160,46162,46165,46175,46172,46105,46106,46109,46110,46113,46114,46116,46117,46119,46120,46125,46126,46128,46130,46131,46134,46135,46137,46138,46141,46122,46123,46143,46144,46149,46150,46152,46153,46158,46159,46161,46164,46167,46168,46166,46163,46173,46174,46179,46181,46182,46183,46184,46185,46186,46170,46187,46188,46189,46190,46193,46194,46196,46197,46199,46201,46202,46203,46191,46204,46205,46206,46207,46208,46213,46214,46215,46217,46221,46222,46223,40035,40215,40038,40039,46224,46225,46226,46227,46228,46229,46230,46231,46233,46235,46236,46238,46239,46241,46243,46244,46245,46246,46247,46248,46251,46252,46253,46254,46255,46257,46258,46259,46260,46261,46262,46263,46264,46266,46277,46268,46269,46270,46271,46272,46274,46275,46276,46278,46280,46281,46282,46284,46285,46286,46287,46288,46296,46291,46292,46293,46294,46300,46283,46297,46301,46302,46304,46305,46306,46307,46310,46311,46312,46313,46314,46315,46316,46317,46318,46321,46323,46324,46325,46326,46327,46328,46329,46330,46331,46332,46333,46334,46336,46338,46339,46342,46343,46344,46346,46347,46348,46349,46352,46353,46337,40161,46355,46356,46357,46358,46359,46360,46361,46362,46363,46364,46366,46367,46365,46369,46371,46372,46373,46374,46375,46376,46377,46378,46380,46192,46195,46200,46381,46210,46219,46220,46211,46242,46249,46265,46273,46289,46295,46298,46299,46303,46212,46309,46319,46320,46335,46341,46345,46350,46351,46354,46368,46370,46383,46384,46385,46322,46386,46387,46388,46389,46393,46391,46394,46395,46396,46397,46400,46401,46402,46403,46404,46405,46406,46407,46408,46409,46410,46412,46413,46414,46415,46416,46418,46419,46421,46422,46423,46424,46425,46426,46427,46428,46429,46431,46432,46433,46434,46435,46436,46437,46438,46439,46440,46441,46444,46445,46446,46447,46448,46449,46452,46454,46455,46456,46457,46461,46459,46460,46462,46463,46464,46466,46467,46468,46469,46470,46471,46472,46473,46474,46475,46476,46477,46478,46479,46480,46481,46482,46484,46485,46486,46489,46490,46491,46492,46494,46496,46497,46498,46500,46504,46506,46507,46508,46509,46510,46515,46516,46517,46518,46519,46520,46521,46522,46523,46525,46526,46530,46531,46532,46535,46536,46537,46539,46541,46543,46524,46545,46550,46554,46555,46556,46557,46558,46560,46561,46563,46564,46566,46567,46568,46569,46570,46572,46573,46574,46575,46576,46577,46578,46580,46582,46583,46584,46585,46588,46589,46590,46592,46594,46595,46596,46597,46602,46604,46598,46587,46605,46606,46607,46609,46610,46611,46612,46613,46614,46616,46617,46618,46619,46620,46621,46626,46627,46628,46629,46630,46631,46632,46633,46634,46635,46636,46638,46652,46653,46654,46655,46656,46657,46659,46660,46658,46662,46663,46665,46666,46668,46672,46673,46674,46675,46676,46677,46678,46679,46680,46682,46683,46684,46685,46687,46690,46691,46692,46693,46694,46695,46696,46698,46699,46700,46701,46703,46704,46705,46706,46707,46708,46709,46710,46711,46712,46713,46714,46715,46716,46717,46718,46719,46720,46721,46722,46723,46724,46725,46726,46727,46728,46729,46730,46731,46732,46734,46735,46736,46737,46738,46739,46740,46741,46742,46743,46744,46745,46747,46748,46749,46751,46752,46753,46754,46755,46756,46757,46758,46759,46760,46761,46762,46763,46765,46766,46767,46768,46769,46770,46771,46772,46773,46775,46776,46777,46778,46779,46780,46781,46782,46783,46796,46797,46798,46799,46800,46801,46802,46804,46805,46806,46807,46808,46809,46810,46811,46812,46813,46814,46815,46816,46817,46818,46820,46821,46822,46823,46824,46825,46826,46827,46828,46831,46832,46834,46835,46836,46837,46839,46840,46841,46833,46850,46851,46852,46853,46856,46857,46859,46860,46862,46864,46865,46867,46868,46870,46871,46872,46873,46874,46875,46876,46877,46880,46881,46882,46883,46884,46885,46886,46887,46888,46890,46893,46894,46896,46897,46898,468[...];
Date: 2022-11-21 12:50:31 Duration: 515ms
10 1,014 5m27s 124ms 2s198ms 322ms select "item_list_line".id from "item_list_line" where ("item_list_line"."item_demand_plan_id" in (...)) order by "item_list_line"."id";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 21 07 61 17s230ms 282ms 08 48 15s37ms 313ms 09 47 7s159ms 152ms 10 19 3s18ms 158ms 11 20 3s654ms 182ms 12 230 1m4s 281ms 13 22 4s17ms 182ms 14 30 5s578ms 185ms 15 8 1s676ms 209ms 16 21 4s337ms 206ms 17 26 5s464ms 210ms 18 26 4s988ms 191ms 19 31 5s386ms 173ms 20 30 5s574ms 185ms 21 127 43s905ms 345ms 22 268 2m15s 504ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (780)) ORDER BY "item_list_line"."id";
Date: 2022-11-21 22:41:50 Duration: 2s198ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (780)) ORDER BY "item_list_line"."id";
Date: 2022-11-21 22:45:20 Duration: 2s177ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (782)) ORDER BY "item_list_line"."id";
Date: 2022-11-21 22:35:34 Duration: 2s136ms
11 978 2m22s 120ms 282ms 145ms 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 Nov 21 12 82 10s821ms 131ms 13 2 259ms 129ms 14 1 126ms 126ms 15 3 397ms 132ms 16 2 262ms 131ms 17 4 520ms 130ms 19 1 122ms 122ms 21 187 25s887ms 138ms 22 696 1m44s 149ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (213396, 213384, 213386, 213388, 213389, 213390, 213392, 213394, 213395, 213401, 213403, 213405, 213408, 213409, 213410, 213411, 213412, 213416, 213417, 213418, 213419, 213421, 213422, 213424, 213425, 213426, 213427, 213428, 213429, 213430, 213431, 213432, 213433, 213434, 213435, 213436, 213437, 213439, 213442, 213443, 213444, 213446, 213452, 213456, 213457, 213458, 213459, 213460, 213461, 213463, 213466, 213467, 213468, 213469, 213470, 213471, 213472, 213483, 213485, 213504, 213530, 213538, 213540, 213541, 213547, 213548, 213552, 213561, 213564, 213566, 213567, 213568, 213569, 213570, 213571, 213572, 213573, 213574, 213575, 213576, 213577, 213578, 213579, 213580, 213581, 213584, 213586, 213587, 213588, 213589, 213590, 213591, 213592, 213595, 213599, 213600, 213604, 213609, 213615, 213616, 213627, 213636, 213637, 213638, 213644, 213646, 213651, 213653, 213655, 213656, 213657, 213658, 213661, 213662, 213663, 213664, 213671, 213672, 213679, 213681, 213682, 213683, 213684, 213685, 213686, 213687, 213688, 213689, 213697, 213700, 213704, 213705, 213706, 213707, 213709, 213710, 213711, 213712, 213713, 213714, 213715, 213716, 213717, 213721, 213722, 213723, 213726, 213727, 213732, 213736, 213737, 213740, 213741, 213742, 213743, 213746, 213747, 213748, 213749, 213750, 213751, 213752, 213753, 213761, 213762, 213765, 213766, 213767, 213768, 213769, 213770, 213771, 213772, 213773, 213774, 213775, 213776, 213777, 213778, 213779, 213780, 213781, 213782, 213796, 213797, 213802, 213814, 213815, 213816, 213817, 213826, 213827, 213839, 213840, 213841, 213842, 213849, 213851, 213853, 213854, 213862, 213863, 213864, 213865, 213869, 213870, 213871, 213878, 213879, 213886, 213887, 213890, 213891, 213892, 213893, 213895, 213899, 213900, 213902, 213903, 213904, 213905, 213906, 213907, 213908, 213909, 213910, 213911, 213912, 213913, 213914, 213915, 213916, 213917, 213919, 213928, 213934, 213942, 213943, 213947, 213948, 213949, 213961, 213969, 213971, 213972, 213976, 214003, 214014, 214019, 214025, 214030, 214031, 214033, 214034, 214035, 214036, 214037, 214038, 214039, 214040, 214041, 214042, 214043, 214044, 214045, 214046, 214047, 214048, 214049, 214051, 214052, 214055, 214056, 214058, 214064, 214065, 214068, 214071, 214076, 214080, 214085, 214099, 214109, 214112, 214116, 214123, 214126, 214128, 214130, 214131, 214134, 214135, 214137, 214138, 214142, 214143, 214146, 214147, 214149, 214150, 214151, 214158, 214159, 214161, 214164, 214165, 214166, 214168, 214172, 214173, 214174, 214175, 214176, 214177, 214178, 214179, 214180, 214181, 214182, 214188, 214189, 214194, 214198, 214200, 214204, 214205, 214206, 214207, 214213, 214228, 214250, 214251, 214259, 214273, 214279, 214291, 214293, 214299, 214300, 214305, 214306, 214319, 214321, 214325, 214326, 214328, 214335, 214338, 214339, 214362, 214363, 214364, 214365, 214367, 214368, 214373, 214377, 214379, 214385, 214387, 214389, 214390, 214392, 214393, 214394, 214396, 214402, 214404, 214406, 214408, 214410, 214411, 214412, 214413, 214422, 214424, 214431, 214432, 214433, 214438, 214439, 214442, 214443, 214444, 214445, 214450, 214451, 214453, 214454, 214455, 214456, 214457, 214461, 214471, 214478, 214479, 214490, 214491, 214496, 214497, 214502, 214506, 214508, 214513, 214517, 214524, 214527, 214532, 214536, 214538, 214544, 214548, 214549, 214551, 214573, 214577, 214591, 214597, 214604, 214606, 214610, 214611, 214615, 214622, 214643, 214647, 214649, 214658, 214660, 214661, 214682, 214688, 214702, 214705, 214706, 214709, 214711, 214712, 214715, 214723, 214725, 214726, 214729, 214730, 214740, 214742, 214749, 214750, 214753, 214759, 214761, 214764, 214768, 214776, 214779, 214781, 214784, 214786, 214787, 214789, 214793, 214798, 214799, 214800, 214807, 214809, 214810, 214813, 214814, 214815, 214824, 214829, 214830, 214833, 214846, 214878, 214880, 214883, 214887, 214896, 214897, 214906, 214907, 214909, 214911, 214917, 214925, 214928, 214929, 214931, 214935, 214937, 214940, 214941, 214948, 214951, 214957, 214962, 214966, 214967, 214968, 214975, 214976, 214978, 214986, 214988, 214994, 214998, 215001, 215003, 215007, 215010, 215016, 215018, 215019, 215021, 215030, 215032, 215033, 215034, 215039, 215042, 215044, 215047, 215050, 215055, 215057, 215061, 215065, 215070, 215072, 215074, 215075, 215078, 215081, 215083, 215088, 215089, 215095, 215096, 215098, 215099, 215100, 215103, 215106, 215107, 215126, 215138, 215139, 215140, 215142, 215144, 215146, 215152, 215153, 215154, 215155, 215156, 215162, 215169, 215170, 215174, 215175, 215178, 215181, 215182, 215185, 215187, 215189, 215192, 215194, 215198, 215200, 215201, 215204, 215205, 215206, 215207, 215208, 215216, 215224, 215226, 215227, 215228, 215237, 215240, 215241, 215245, 215249, 215252, 215253, 215254, 215256, 215257, 215259, 215263, 215266, 215267, 215270, 215274, 215277, 215278, 215288, 215291, 215299, 215300, 215301, 215312, 215314, 215319, 215327, 215331, 215336, 215337, 215339, 215340, 215344, 215346, 215347, 215351, 215352, 215353, 215354, 215355, 215359, 215360, 215366, 215367, 215378, 215387, 215390, 215391, 215394, 215398, 215404, 215407, 215409, 215411, 215412, 215413, 215417, 215418, 215421, 215422, 215424, 215429, 215431, 215432, 215434, 215438, 215440, 215464, 215476, 215477, 215479, 215481, 215483, 215484, 215487, 215488, 215490, 215492, 215496, 215499, 215502, 215504, 215505, 215506, 215507, 215509, 215510, 215512, 215513, 215515, 215516, 215517, 215519, 215520, 215522, 215527, 215531, 215534, 215540, 215547, 215548, 215553, 215554, 215556, 215557, 215564, 215567, 215572, 215582, 215586, 215587, 215588, 215589, 215590, 215591, 215598, 215599, 215601, 215606, 215607, 215612, 215615, 215616, 215618, 215625, 215626, 215629, 215636, 215639, 215649, 215650, 215652, 215654, 215657, 215661, 215663, 215664, 215665, 215668, 215669, 215671, 215672, 215673, 215674, 215675, 215677, 215678, 215679, 215680, 215685, 215686, 215689, 215691, 215692, 215693, 215694, 215701, 215703, 215707, 215709, 215710, 215714, 215721, 215723, 215725, 215726, 215727, 215733, 215736, 215738, 215741, 215749, 215755, 215756, 215767, 215775, 215776, 215777, 215781, 215796, 215797, 215798, 215799, 215800, 215802, 215803, 215805, 215806, 215817, 215829, 215830, 215834, 215835, 215838, 215839, 215843, 215844, 215845, 215848, 215849, 215863, 215869, 215889, 215894, 215899, 215902, 215907, 215909, 215929, 215954, 215967, 215970, 215971, 215972, 215985, 215987, 215995, 215996, 215997, 216006, 216013, 216034, 216043, 216044, 216047, 216048, 216049, 216057, 216059, 216062, 216065, 216066, 216067, 216068, 216070, 216075, 216078, 216081, 216084, 216085, 216089, 216090, 216092, 216094, 216095, 216096, 216099, 216100, 216103, 216112, 216115, 216121, 216125, 216129, 216130, 216131, 216132, 216134, 216137, 216138, 216140, 216144, 216145, 216151, 216158, 216165, 216166, 216167, 216168, 216171, 216172, 216174, 216175, 216188, 216192, 216211, 216215, 216233, 216234, 216237, 216238, 216242, 216248, 216250, 216252, 216254, 216256, 216258, 216267, 216268, 216272, 216273, 216274, 216275, 216277, 216280, 216281, 216283, 216284, 216286, 216287, 216288, 216289, 216290, 216291, 216293, 216294, 216295, 216296, 216297, 216301, 216302, 216303, 216304, 216305, 216306, 216310, 216311, 216318, 216328, 216333, 216335, 216337, 216340, 216344, 216351, 216353, 216354, 216355, 216364, 216368, 216369, 216370, 216372, 216375, 216376, 216381, 216383, 216387, 216388, 216389, 216391, 216395, 216396, 216398, 216399, 216407, 216413, 216414, 216415, 216418, 216424, 216425, 216426, 216427, 216432, 216433, 216436, 216438, 216440, 216443, 216445, 216451, 216453, 216455, 216460, 216466, 216469, 216473, 216475, 216478, 216486, 216488, 216489, 216490, 216494, 216495, 216496, 216497, 216498, 216500, 216505, 216506, 216507, 216512, 216516, 216517, 216518, 216519, 216524, 216525, 216527, 216529, 216530, 216531, 216534, 216535, 216536, 216537, 216541, 216542, 216543, 216544, 216546, 216547, 216549, 216553, 216554, 216556, 216557, 216559, 216564, 216565, 216568, 216569)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2022-11-21 22:35:20 Duration: 282ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (219377, 218032, 218035, 218037, 218038, 218046, 218048, 218051, 218059, 218060, 218064, 218065, 218072, 218075, 218096, 218101, 218102, 218104, 218107, 218110, 218111, 218112, 218113, 218114, 218116, 218121, 218123, 218126, 218128, 218129, 218152, 218153, 218157, 218161, 218162, 218169, 218170, 218176, 218179, 218180, 218181, 218182, 218186, 218187, 218190, 218194, 218251, 218269, 218278, 218282, 218288, 218289, 218304, 218308, 218310, 218320, 218322, 218340, 218348, 218353, 218356, 218369, 218370, 218382, 218383, 218390, 218391, 218393, 218396, 218397, 218402, 218404, 218418, 218421, 218430, 218437, 218446, 218450, 218454, 218456, 218459, 218461, 218463, 218466, 218468, 218471, 218476, 218478, 218480, 218482, 218484, 218485, 218486, 218491, 218493, 218495, 218496, 218497, 218501, 218503, 218504, 218505, 218506, 218507, 218508, 218509, 218511, 218512, 218513, 218529, 218530, 218534, 218538, 218546, 218547, 218548, 218553, 218554, 218557, 218558, 218559, 218570, 218572, 218574, 218575, 218576, 218578, 218580, 218582, 218589, 218592, 218596, 218600, 218607, 218610, 218611, 218616, 218619, 218620, 218621, 218623, 218625, 218627, 218636, 218639, 218663, 218665, 218668, 218669, 218670, 218672, 218678, 218680, 218682, 218683, 218688, 218689, 218701, 218704, 218707, 218709, 218723, 218749, 218755, 218768, 218771, 218824, 218830, 218845, 218849, 218866, 218882, 218885, 218886, 218893, 218895, 218898, 218901, 218905, 218907, 218919, 218925, 218928, 218931, 218935, 218947, 218950, 218952, 218953, 218957, 218959, 218962, 218964, 218966, 218970, 218971, 218972, 218973, 218975, 218976, 218977, 218978, 218980, 219000, 219004, 219012, 219025, 219062, 219063, 219064, 219065, 219067, 219072, 219073, 219084, 219085, 219122, 219124, 219125, 219126, 219132, 219133, 219142, 219145, 219146, 219147, 219148, 219149, 219154, 219155, 219161, 219183, 219213, 219258, 219279, 219281, 219299, 219334, 219337, 219341, 219362, 219363, 219364, 219372, 219375, 219379, 219380, 219414, 219417, 219443, 219445, 219448, 219457, 219480, 219485, 219495, 219496, 219545, 219547, 219548, 219550, 219553, 219557, 219558, 219559, 219568, 219572, 219573, 219579, 219593, 219596, 219597, 219598, 219605, 219606, 219607, 219654, 219664, 219666, 219667, 219669, 219672, 219673, 219675, 219676, 219680, 219681, 219684, 219685, 219686, 219687, 219689, 219690, 219696, 219698, 219699, 219702, 219703, 219705, 219706, 219709, 219710, 219711, 219712, 219715, 219718, 219719, 219721, 219722, 219724, 219729, 219733, 219734, 219735, 219736, 219737, 219741, 219743, 219746, 219747, 219748, 219749, 219750, 219751, 219752, 219753, 219755, 219759, 219760, 219761, 219763, 219769, 219770, 219772, 219775, 219776, 219778, 219779, 219780, 219781, 219782, 219784, 219785, 219786, 219787, 219788, 219789, 219790, 219791, 219792, 219793, 219794, 219795, 219796, 219797, 219799, 219800, 219804, 219806, 219809, 219811, 219815, 219817, 219824, 219825, 219826, 219829, 219848, 219850, 219851, 219855, 219857, 219858, 219859, 219860, 219862, 219864, 219865, 219866, 219868, 219869, 219873, 219874, 219885, 219887, 219888, 219890, 219895, 219896, 219897, 219899, 219901, 219902, 219903, 219904, 219922, 219924, 219927, 219929, 219930, 219944, 219957, 219958, 219967, 219982, 219983, 219985, 219987, 219989, 219990, 220002, 220012, 220025, 220034, 220072, 220089, 220090, 220091, 220094, 220096, 220104, 220110, 220115, 220116, 220117, 220120, 220125, 220126, 220132, 220138, 220140, 220142, 220144, 220145, 220146, 220147, 220148, 220151, 220152, 220153, 220158, 220159, 220164, 220165, 220169, 220170, 220172, 220173, 220174, 220175, 220177, 220178, 220179, 220183, 220184, 220186, 220196, 220197, 220198, 220199, 220203, 220205, 220208, 220209, 220210, 220215, 220222, 242044, 242046, 242047, 242053)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2022-11-21 22:40:27 Duration: 246ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE ("product_warehouse_inventory"."product_id" in (173771, 173161, 173171, 173172, 173173, 173174, 173175, 173176, 173177, 173178, 173179, 173187, 173188, 173189, 173190, 173208, 173210, 173211, 173212, 173213, 173214, 173215, 173216, 173217, 173229, 173230, 173231, 173233, 173235, 173236, 173237, 173239, 173241, 173242, 173250, 173261, 173262, 173264, 173278, 173282, 173283, 173287, 173288, 173289, 173297, 173298, 173300, 173301, 173302, 173303, 173304, 173306, 173313, 173314, 173329, 173335, 173337, 173342, 173347, 173349, 173351, 173353, 173357, 173358, 173359, 173360, 173362, 173364, 173365, 173366, 173368, 173372, 173377, 173378, 173379, 173386, 173389, 173392, 173394, 173395, 173399, 173401, 173414, 173418, 173426, 173427, 173428, 173430, 173433, 173434, 173444, 173450, 173452, 173454, 173460, 173461, 173468, 173475, 173484, 173491, 173493, 173497, 173499, 173505, 173512, 173513, 173519, 173520, 173521, 173522, 173523, 173524, 173525, 173527, 173528, 173556, 173560, 173562, 173572, 173574, 173575, 173578, 173579, 173583, 173584, 173585, 173586, 173587, 173588, 173589, 173590, 173591, 173592, 173593, 173595, 173597, 173605, 173606, 173613, 173614, 173624, 173625, 173626, 173627, 173630, 173634, 173635, 173636, 173637, 173640, 173648, 173649, 173652, 173653, 173654, 173664, 173665, 173668, 173671, 173675, 173682, 173685, 173687, 173694, 173697, 173708, 173710, 173711, 173717, 173719, 173723, 173724, 173725, 173726, 173728, 173734, 173736, 173738, 173739, 173740, 173744, 173747, 173750, 173755, 173756, 173759, 173760, 173761, 173770, 173778, 173781, 173782, 173783, 173784, 173786, 173788, 173789, 173795, 173800, 173801, 173802, 173804, 173806, 173808, 173809, 173815, 173816, 173817, 173821, 173823, 173831, 173836, 173837, 173845, 173848, 173851, 173853, 173861, 173862, 173863, 173866, 173869, 173871, 173873, 173879, 173880, 173881, 173883, 173884, 173886, 173887, 173888, 173890, 173893, 173895, 173898, 173903, 173907, 173909, 173912, 173913, 173914, 173915, 173917, 173927, 173928, 173941, 173942, 173944, 173946, 173950, 173955, 173956, 173957, 173958, 173959, 173962, 173964, 173965, 173969, 173971, 173972, 173974, 173976, 173978, 173981, 173986, 173987, 173989, 173990, 173991, 173993, 173997, 173998, 174004, 174007, 174010, 174019, 174020, 174021, 174022, 174023, 174026, 174027, 174030, 174036, 174038, 174043, 174045, 174046, 174049, 174053, 174054, 174056, 174057, 174058, 174059, 174060, 174065, 174069, 174072, 174081, 174082, 174084, 174087, 174088, 174090, 174093, 174096, 174097, 174098, 174099, 174111, 174112, 174113, 174115, 174123, 174124, 174127, 174128, 174129, 174133, 174134, 174139, 174143, 174144, 174146, 174149, 174153, 174154, 174159, 174171, 174172, 174183, 174184, 174185, 174186, 174187, 174190, 174191, 174192, 174193, 174194, 174195, 174202, 174203, 174208, 174209, 174218, 174224, 174232, 174233, 174234, 174237, 174238, 174243, 174246, 174247, 174248, 174250, 174251, 174254, 174255, 174259, 174260, 174264, 174281, 174293, 239248, 239400, 239401, 239405, 239411, 239412, 239413, 239415, 239416, 239421, 239423, 239424, 239426, 239427, 239428, 239436, 239440, 239447, 239455, 239456, 239457, 239459, 239466, 239469, 239470, 239471, 239473, 239474, 239475, 239480, 239482, 239487, 239495, 239501, 239502, 239503, 239509, 239519, 239522, 239523, 239526, 239527, 241005, 241008, 241019)) ORDER BY "product_warehouse_inventory"."warehouse_name";
Date: 2022-11-21 22:39:05 Duration: 237ms
12 941 12m22s 518ms 2s695ms 789ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 21 12 14 14s959ms 1s68ms 13 243 2m48s 691ms 14 78 57s253ms 734ms 15 118 1m32s 786ms 16 171 2m19s 813ms 17 176 2m44s 936ms 18 48 40s358ms 840ms 19 71 50s115ms 705ms 20 16 11s656ms 728ms 21 3 1s722ms 574ms 23 3 1s675ms 558ms -
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 ('%%133012%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%13-3012%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%13-3012%'))) 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: 2022-11-21 12:34:00 Duration: 2s695ms
-
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 ('%%550221%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%550221%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%550221%'))) 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: 2022-11-21 12:20:43 Duration: 2s354ms
-
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 ('%%n228%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%n2-28%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%n2-28%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-11-21 17:51:18 Duration: 2s64ms
13 915 6m22s 302ms 3s404ms 418ms select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."so_line_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 21 10 13 4s572ms 351ms 12 76 52s798ms 694ms 13 146 54s155ms 370ms 14 159 59s224ms 372ms 15 125 51s123ms 408ms 16 75 29s847ms 397ms 17 65 26s454ms 406ms 18 49 19s450ms 396ms 19 76 29s139ms 383ms 20 62 21s724ms 350ms 21 55 28s805ms 523ms 22 11 4s157ms 377ms 23 3 1s301ms 433ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (25224)) ORDER BY "sale_history_line"."id";
Date: 2022-11-21 21:47:59 Duration: 3s404ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (25225)) ORDER BY "sale_history_line"."id";
Date: 2022-11-21 21:48:02 Duration: 3s12ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (24227)) ORDER BY "sale_history_line"."id";
Date: 2022-11-21 12:29:34 Duration: 2s757ms
14 879 7m46s 120ms 3s652ms 530ms select count(id) as total_count from item_list_line where item_demand_plan_id = ? and active = true;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 21 04 14 1s740ms 124ms 07 47 8s142ms 173ms 08 36 10s185ms 282ms 09 41 7s217ms 176ms 10 14 2s576ms 184ms 11 15 2s906ms 193ms 12 188 1m17s 413ms 13 21 4s552ms 216ms 14 27 6s879ms 254ms 15 8 2s180ms 272ms 16 20 5s322ms 266ms 17 23 6s797ms 295ms 18 22 5s619ms 255ms 19 29 6s794ms 234ms 20 28 7s716ms 275ms 21 109 1m 556ms 22 237 4m9s 1s53ms -
select count(id) as total_count from item_list_line where item_demand_plan_id = 780 and active = True;
Date: 2022-11-21 22:35:22 Duration: 3s652ms
-
select count(id) as total_count from item_list_line where item_demand_plan_id = 780 and active = True;
Date: 2022-11-21 22:36:30 Duration: 3s320ms
-
select count(id) as total_count from item_list_line where item_demand_plan_id = 782 and active = True;
Date: 2022-11-21 22:36:16 Duration: 3s307ms
15 879 6m42s 130ms 3s997ms 458ms select distinct ill.product_id from item_list_line as ill left join res_forecast_method as fm on fm.id = ill.method where ill.item_demand_plan_id = ? and ill.method not in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 21 04 14 1s878ms 134ms 07 47 9s340ms 198ms 08 36 11s231ms 311ms 09 41 8s325ms 203ms 10 14 2s851ms 203ms 11 15 3s337ms 222ms 12 188 1m14s 395ms 13 21 5s142ms 244ms 14 27 7s364ms 272ms 15 8 2s496ms 312ms 16 20 5s857ms 292ms 17 23 6s665ms 289ms 18 22 5s890ms 267ms 19 29 7s82ms 244ms 20 28 7s673ms 274ms 21 109 53s887ms 494ms 22 237 3m9s 799ms -
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 782 and ill.method not in (8, 7);
Date: 2022-11-21 22:35:23 Duration: 3s997ms
-
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 780 and ill.method not in (8, 7);
Date: 2022-11-21 22:38:37 Duration: 3s673ms
-
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 780 and ill.method not in (8, 7);
Date: 2022-11-21 22:34:20 Duration: 3s657ms
16 865 5m25s 120ms 2s778ms 376ms select ill.item_demand_plan_id from item_list_line ill left join item_demand_plan as idp on ill.item_demand_plan_id = idp.id where ill.method is null and idp.active = true and ill.item_demand_plan_id = ? group by ill.item_demand_plan_id having count(ill.id) > ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 21 04 1 121ms 121ms 07 47 6s727ms 143ms 08 35 7s895ms 225ms 09 41 6s67ms 147ms 10 14 2s241ms 160ms 11 15 2s350ms 156ms 12 188 59s177ms 314ms 13 21 3s979ms 189ms 14 27 5s906ms 218ms 15 8 1s801ms 225ms 16 20 4s661ms 233ms 17 23 5s410ms 235ms 18 22 4s528ms 205ms 19 29 5s551ms 191ms 20 28 6s258ms 223ms 21 109 43s329ms 397ms 22 237 2m39s 674ms -
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 782 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-11-21 22:35:21 Duration: 2s778ms
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 780 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-11-21 22:38:33 Duration: 2s775ms
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 780 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-11-21 22:35:16 Duration: 2s564ms
17 848 12m8s 636ms 3s316ms 858ms 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 #17
Day Hour Count Duration Avg duration Nov 21 01 1 663ms 663ms 07 1 660ms 660ms 11 1 702ms 702ms 12 19 25s164ms 1s324ms 13 111 1m29s 805ms 14 100 1m24s 840ms 15 105 1m38s 940ms 16 75 1m10s 933ms 17 44 41s733ms 948ms 18 109 1m31s 839ms 19 98 1m15s 774ms 20 135 1m42s 760ms 21 40 35s556ms 888ms 22 2 6s544ms 3s272ms 23 7 4s926ms 703ms -
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 ('%1560%')) 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 ('%1560%'))) 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 ('%1560%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%1560%')))))) 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: 2022-11-21 21:43:33 Duration: 3s316ms
-
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 ('%lfp3236%')) 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 ('%lfp3236%'))) 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 ('%lfp3236%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%lfp3236%')))))) 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: 2022-11-21 22:39:22 Duration: 3s292ms
-
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 ('%lf17502%')) 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 ('%lf17502%'))) 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 ('%lf17502%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%lf17502%')))))) 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: 2022-11-21 22:42:06 Duration: 3s251ms
18 767 1m51s 120ms 341ms 145ms select min("sale_order_line".id) as id, count("sale_order_line".id) AS "__count", "sale_order_line"."order_id" AS "order_id", "sale_order_line"."invoice_status" AS "invoice_status" from "sale_order_line" left join "sale_order" AS "sale_order_line__order_id" on ("sale_order_line"."order_id" = "sale_order_line__order_id"."id") where ((("sale_order_line"."order_id" in (...)) and ("sale_order_line"."is_downpayment" is null or "sale_order_line"."is_downpayment" = false)) and "sale_order_line"."display_type" is null) group by "sale_order_line"."order_id", "sale_order_line"."invoice_status", "sale_order_line__order_id"."date_order", "sale_order_line__order_id"."id" order by "sale_order_line__order_id"."date_order" desc, "sale_order_line__order_id"."id" desc, "invoice_status";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 21 14 4 509ms 127ms 15 59 8s421ms 142ms 16 103 15s246ms 148ms 17 360 53s693ms 149ms 18 241 33s837ms 140ms -
SELECT min("sale_order_line".id) AS id, count("sale_order_line".id) AS "__count", "sale_order_line"."order_id" as "order_id", "sale_order_line"."invoice_status" as "invoice_status" FROM "sale_order_line" LEFT JOIN "sale_order" AS "sale_order_line__order_id" ON ("sale_order_line"."order_id" = "sale_order_line__order_id"."id") WHERE ((("sale_order_line"."order_id" in (419)) AND ("sale_order_line"."is_downpayment" IS NULL or "sale_order_line"."is_downpayment" = false)) AND "sale_order_line"."display_type" IS NULL) GROUP BY "sale_order_line"."order_id", "sale_order_line"."invoice_status", "sale_order_line__order_id"."date_order", "sale_order_line__order_id"."id" ORDER BY "sale_order_line__order_id"."date_order" DESC, "sale_order_line__order_id"."id" DESC, "invoice_status";
Date: 2022-11-21 16:58:34 Duration: 341ms
-
SELECT min("sale_order_line".id) AS id, count("sale_order_line".id) AS "__count", "sale_order_line"."order_id" as "order_id", "sale_order_line"."invoice_status" as "invoice_status" FROM "sale_order_line" LEFT JOIN "sale_order" AS "sale_order_line__order_id" ON ("sale_order_line"."order_id" = "sale_order_line__order_id"."id") WHERE ((("sale_order_line"."order_id" in (419)) AND ("sale_order_line"."is_downpayment" IS NULL or "sale_order_line"."is_downpayment" = false)) AND "sale_order_line"."display_type" IS NULL) GROUP BY "sale_order_line"."order_id", "sale_order_line"."invoice_status", "sale_order_line__order_id"."date_order", "sale_order_line__order_id"."id" ORDER BY "sale_order_line__order_id"."date_order" DESC, "sale_order_line__order_id"."id" DESC, "invoice_status";
Date: 2022-11-21 16:58:36 Duration: 309ms
-
SELECT min("sale_order_line".id) AS id, count("sale_order_line".id) AS "__count", "sale_order_line"."order_id" as "order_id", "sale_order_line"."invoice_status" as "invoice_status" FROM "sale_order_line" LEFT JOIN "sale_order" AS "sale_order_line__order_id" ON ("sale_order_line"."order_id" = "sale_order_line__order_id"."id") WHERE ((("sale_order_line"."order_id" in (419)) AND ("sale_order_line"."is_downpayment" IS NULL or "sale_order_line"."is_downpayment" = false)) AND "sale_order_line"."display_type" IS NULL) GROUP BY "sale_order_line"."order_id", "sale_order_line"."invoice_status", "sale_order_line__order_id"."date_order", "sale_order_line__order_id"."id" ORDER BY "sale_order_line__order_id"."date_order" DESC, "sale_order_line__order_id"."id" DESC, "invoice_status";
Date: 2022-11-21 17:50:43 Duration: 302ms
19 675 8m42s 520ms 1s466ms 774ms 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"."is_core" is null or "product_product__product_tmpl_id"."is_core" = false)) and ("product_product__product_tmpl_id"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 21 13 34 21s408ms 629ms 14 55 42s184ms 766ms 15 49 43s637ms 890ms 16 170 2m22s 836ms 17 78 1m6s 854ms 18 128 1m38s 765ms 19 89 1m1s 693ms 20 33 21s840ms 661ms 21 39 25s416ms 651ms -
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 ('%%sfpa1%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%sfpa-1%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%sfpa-1%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-11-21 16:32:21 Duration: 1s466ms
-
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 ('%%s29%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%s-29%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%s-29%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-11-21 15:02:42 Duration: 1s437ms
-
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 ('%%sfpa%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%sfpa-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%sfpa-%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-11-21 16:32:21 Duration: 1s411ms
20 641 1m38s 120ms 580ms 153ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (unaccent ("product_product"."barcode"::text) ilike unaccent (?)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name");Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 21 07 5 697ms 139ms 10 4 574ms 143ms 12 18 3s816ms 212ms 13 67 9s881ms 147ms 14 80 11s892ms 148ms 15 113 16s738ms 148ms 16 76 11s426ms 150ms 17 56 8s236ms 147ms 18 82 12s435ms 151ms 19 48 6s881ms 143ms 20 72 10s518ms 146ms 21 16 3s379ms 211ms 22 3 1s486ms 495ms 23 1 153ms 153ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (unaccent ("product_product"."barcode"::text) ilike unaccent ('%lf17502%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name");
Date: 2022-11-21 22:42:03 Duration: 580ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (unaccent ("product_product"."barcode"::text) ilike unaccent ('%lfp3236%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name");
Date: 2022-11-21 22:39:19 Duration: 578ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (unaccent ("product_product"."barcode"::text) ilike unaccent ('%66864b%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name");
Date: 2022-11-21 21:45:05 Duration: 486ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 3s603ms 12m38s 1m36s 33 52m51s with data as ( select distinct shl.id as record, ?, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone ?, true from sale_history_line as shl left join stock_warehouse as st on st.branch_id = shl.selling_branch left join product_product as pp on pp.id = shl.product_id left join product_template as pt on pt.id = pp.product_tmpl_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id where shl.selling_branch = ? and shl.sales_obtain != ? and shl.product_id is not null and shl.exception_sale is not true and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and shl.invoice_date >= ? and shl.invoice_date <= ? and pt.inventory_vendor_id not in (...) and pp.id not in (...) union all ( select distinct sol.id as record, ?, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone ?, true from sale_order_line sol left join product_product as pp on sol.product_id = pp.id left join product_template as pt on pp.product_tmpl_id = pt.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id left join sale_order as so on sol.order_id = so.id left join sale_order_line_invoice_rel as solrel on solrel.order_line_id = sol.id left join account_move_line as aml on aml.id = solrel.invoice_line_id left join account_move as am on am.id = aml.move_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id where sol.branch_id = ? and sol.product_id is not null and sol.exception_sale is not true and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and am.invoice_date >= ? and am.invoice_date <= ? and so.state in (...) and pt.inventory_vendor_id not in (...) and pp.id not in (...)) union all ( select distinct rol.id as record, ?, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone ?, true from repair_order ro left join repair_line as rol on ro.id = rol.repair_id left join account_move_line as aml on aml.id = rol.invoice_line_id left join account_move as am on am.id = aml.move_id left join product_product as pp on rol.product_id = pp.id left join product_template as pt on pp.product_tmpl_id = pt.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id where ro.state = ? and ro.branch_id = ? and rol.product_id is not null and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and am.invoice_date >= ? and am.invoice_date <= ? and pt.inventory_vendor_id not in (...) and pp.id not in (...)) union all ( select distinct sm.id as record, ?, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone ?, true from mrp_production mrp left join stock_move as sm on sm.raw_material_production_id = mrp.id left join product_product as pp on sm.product_id = pp.id left join product_template as pt on pp.product_tmpl_id = pt.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id where mrp.state = ? and mrp.branch_id = ? and sm.product_id is not null and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and mrp.date_planned_start >= ? and mrp.date_planned_start <= ? and pt.inventory_vendor_id not in (...) and pp.id not in (...))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select ?, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone ?, true from data left join branch_product_method as brpm on brpm.product_id = data.product_id and brpm.branch_id = ?);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 21 07 22 39m48s 1m48s 08 10 12m53s 1m17s 09 1 9s422ms 9s422ms -
with data as ( select distinct shl.id as record, 669, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 05:00:00' and shl.invoice_date <= '2022-11-21 05:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 669, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 05:00:00' and am.invoice_date <= '2022-11-21 05:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 669, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 05:00:00' and am.invoice_date <= '2022-11-21 05:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 669, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 05:00:00' and mrp.date_planned_start <= '2022-11-21 05:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 669, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);
Date: 2022-11-21 07:33:55 Duration: 12m38s
-
with data as ( select distinct shl.id as record, 669, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 669, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 669, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 669, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 669, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);
Date: 2022-11-21 07:25:41 Duration: 12m18s
-
with data as ( select distinct shl.id as record, 697, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 00:00:00' and shl.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 697, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 697, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 00:00:00' and am.invoice_date <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 697, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 00:00:00' and mrp.date_planned_start <= '2022-11-21 00:00:00' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pp.id not in (193034, 177732, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 697, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);
Date: 2022-11-21 08:13:24 Duration: 11m12s
2 121ms 1h58m 1m23s 85 1h58m15s insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 21 12 42 8s311ms 197ms 13 2 354ms 177ms 14 3 395ms 131ms 15 14 2s178ms 155ms 16 3 409ms 136ms 17 3 531ms 177ms 18 4 1h58m1s 29m30s 19 4 514ms 128ms 20 1 199ms 199ms 21 7 1s268ms 181ms 22 2 306ms 153ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-11-21 14:31:24', '2022-11-21 14:31:24', '16.5 X 7 Shoe Core Eaton Esii', 15072, 5, 461, 'core_return_1', '[4709ESII] 16.5 X 7 Shoe Core Eaton Esii', NULL, 'T-01486', 42188, 354, '0', 'make_to_stock', 237210, 1, '10.00', false, 398, 24564, 10, 'draft', 45) RETURNING id;
Date: 2022-11-21 18:25:27 Duration: 1h58m
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-11-21 12:48:19', '2022-11-21 12:48:19', 'Gasket', 14941, 5, 461, 'new_product', '[330-3009] Gasket', NULL, 'T-01466', 36081, 354, '0', 'make_to_stock', 187705, 1, '10.00', false, 398, 24262, 10, 'draft', 45) RETURNING id;
Date: 2022-11-21 12:52:01 Duration: 306ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-11-21 12:26:18', '2022-11-21 12:26:18', 'Rubber Adjuster', 14923, 5, 381, 'new_product', '[0218] Rubber Adjuster', NULL, 'G-00802', 49454, 274, '0', 'make_to_stock', 172690, 1, '12.00', false, 308, 24224, 10, 'draft', 35) RETURNING id;
Date: 2022-11-21 12:27:00 Duration: 301ms
3 1s547ms 17m29s 44s179ms 65 47m51s with data as ( select distinct shl.id as record, ?, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone ?, true from sale_history_line as shl left join stock_warehouse as st on st.branch_id = shl.selling_branch left join product_product as pp on pp.id = shl.product_id left join product_template as pt on pt.id = pp.product_tmpl_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id where shl.selling_branch = ? and shl.sales_obtain != ? and shl.product_id is not null and shl.exception_sale is not true and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and shl.invoice_date >= ? and shl.invoice_date <= ? and pt.inventory_vendor_id not in (...) and pt.inventory_vendor_id in (...) and pp.id not in (...) union all ( select distinct sol.id as record, ?, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone ?, true from sale_order_line sol left join product_product as pp on sol.product_id = pp.id left join product_template as pt on pp.product_tmpl_id = pt.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id left join sale_order as so on sol.order_id = so.id left join sale_order_line_invoice_rel as solrel on solrel.order_line_id = sol.id left join account_move_line as aml on aml.id = solrel.invoice_line_id left join account_move as am on am.id = aml.move_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id where sol.branch_id = ? and sol.product_id is not null and sol.exception_sale is not true and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and am.invoice_date >= ? and am.invoice_date <= ? and so.state in (...) and pt.inventory_vendor_id not in (...) and pt.inventory_vendor_id in (...) and pp.id not in (...)) union all ( select distinct rol.id as record, ?, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone ?, true from repair_order ro left join repair_line as rol on ro.id = rol.repair_id left join account_move_line as aml on aml.id = rol.invoice_line_id left join account_move as am on am.id = aml.move_id left join product_product as pp on rol.product_id = pp.id left join product_template as pt on pp.product_tmpl_id = pt.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id where ro.state = ? and ro.branch_id = ? and rol.product_id is not null and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and am.invoice_date >= ? and am.invoice_date <= ? and pt.inventory_vendor_id not in (...) and pt.inventory_vendor_id in (...) and pp.id not in (...)) union all ( select distinct sm.id as record, ?, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone ?, true from mrp_production mrp left join stock_move as sm on sm.raw_material_production_id = mrp.id left join product_product as pp on sm.product_id = pp.id left join product_template as pt on pp.product_tmpl_id = pt.id left join psd_custom_inventory_vendor as inv on inv.id = pt.inventory_vendor_id left join product_warehouse_inventory as pwi on pwi.product_id = pp.id where mrp.state = ? and mrp.branch_id = ? and sm.product_id is not null and pt.never_stock = false and pt.discontinued = false and pt.is_core = false and mrp.date_planned_start >= ? and mrp.date_planned_start <= ? and pt.inventory_vendor_id not in (...) and pt.inventory_vendor_id in (...) and pp.id not in (...))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select ?, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone ?, true from data left join branch_product_method as brpm on brpm.product_id = data.product_id and brpm.branch_id = ?);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 21 12 19 18m26s 58s236ms 13 2 26m43s 13m21s 14 3 5s467ms 1s822ms 16 1 1s903ms 1s903ms 17 3 6s73ms 2s24ms 18 2 4s287ms 2s143ms 19 1 2s596ms 2s596ms 20 1 2s140ms 2s140ms 21 12 39s437ms 3s286ms 22 21 1m39s 4s747ms -
with data as ( select distinct shl.id as record, 731, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 17:35:14' and shl.invoice_date <= '2022-11-21 17:35:14' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 731, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:35:14' and am.invoice_date <= '2022-11-21 17:35:14' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 731, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:35:14' and am.invoice_date <= '2022-11-21 17:35:14' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 731, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 17:35:14' and mrp.date_planned_start <= '2022-11-21 17:35:14' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 731, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);
Date: 2022-11-21 12:53:08 Duration: 17m29s
-
with data as ( select distinct shl.id as record, 732, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 17:45:02' and shl.invoice_date <= '2022-11-21 17:45:02' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 732, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:45:02' and am.invoice_date <= '2022-11-21 17:45:02' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 732, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:45:02' and am.invoice_date <= '2022-11-21 17:45:02' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 732, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 17:45:02' and mrp.date_planned_start <= '2022-11-21 17:45:02' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 732, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);
Date: 2022-11-21 13:01:04 Duration: 15m37s
-
with data as ( select distinct shl.id as record, 740, shl.product_id as product_id, shl.invoice_date as invoice_date, shl.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, shl.selling_branch as selling_branch, st.id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_history_line as shl LEFT JOIN stock_warehouse as st ON st.branch_id = shl.selling_branch LEFT JOIN product_product as pp ON pp.id = shl.product_id LEFT JOIN product_template as pt ON pt.id = pp.product_tmpl_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id where shl.selling_branch = 41 and shl.sales_obtain != 'direct' and shl.product_id is not null and shl.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and shl.invoice_date >= '2016-11-21 17:59:04' and shl.invoice_date <= '2022-11-21 17:59:04' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194) UNION ALL ( select distinct sol.id as record, 740, sol.product_id as product_id, am.invoice_date as invoice_date, sol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, so.branch_id as selling_branch, so.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from sale_order_line sol LEFT JOIN product_product as pp ON sol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN sale_order as so ON sol.order_id = so.id LEFT JOIN sale_order_line_invoice_rel as solrel ON solrel.order_line_id = sol.id LEFT JOIN account_move_line as aml ON aml.id = solrel.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where sol.branch_id = 41 and sol.product_id is not null and sol.exception_sale IS NOT TRUE and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:59:04' and am.invoice_date <= '2022-11-21 17:59:04' and so.state in ('done', 'sale') and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct rol.id as record, 740, rol.product_id as product_id, am.invoice_date as invoice_date, rol.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, ro.branch_id as selling_branch, ro.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from repair_order ro LEFT JOIN repair_line as rol ON ro.id = rol.repair_id LEFT JOIN account_move_line as aml ON aml.id = rol.invoice_line_id LEFT JOIN account_move as am ON am.id = aml.move_id LEFT JOIN product_product as pp ON rol.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where ro.state = 'done' and ro.branch_id = 41 and rol.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and am.invoice_date >= '2016-11-21 17:59:04' and am.invoice_date <= '2022-11-21 17:59:04' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194)) UNION ALL ( select distinct sm.id as record, 740, sm.product_id as product_id, mrp.date_planned_start as invoice_date, sm.product_uom_qty as product_uom_qty, inv.id as inventory_vendor_id, mrp.branch_id as selling_branch, sm.warehouse_id as warehouse_id, pt.method as method, now() at time zone 'UTC', True from mrp_production mrp LEFT JOIN stock_move as sm ON sm.raw_material_production_id = mrp.id LEFT JOIN product_product as pp ON sm.product_id = pp.id LEFT JOIN product_template as pt ON pp.product_tmpl_id = pt.id LEFT JOIN psd_custom_inventory_vendor as inv ON inv.id = pt.inventory_vendor_id LEFT JOIN product_warehouse_inventory as pwi ON pwi.product_id = pp.id where mrp.state = 'done' and mrp.branch_id = 41 and sm.product_id is not null and pt.never_stock = False and pt.discontinued = False and pt.is_core = False and mrp.date_planned_start >= '2016-11-21 17:59:04' and mrp.date_planned_start <= '2022-11-21 17:59:04' and pt.inventory_vendor_id not in (2931, 2932, 3007, 3008, 3010, 3011, 3012, 3013, 3014, 3015, 3049, 3063, 3064, 3065, 3079, 3087, 3097, 3127) and pt.inventory_vendor_id in (3094) and pp.id not in (177732, 193034, 239083, 239152, 239194))) insert into item_list_line (item_demand_plan_id, product_id, invoice_date, product_uom_qty, inventory_vendor_id, selling_branch, warehouse_id, method, create_date, active) ( select 740, data.product_id as product_id, data.invoice_date as invoice_date, data.product_uom_qty as product_uom_qty, data.inventory_vendor_id as inventory_vendor_id, data.selling_branch as selling_branch, data.warehouse_id as warehouse_id, brpm.method as method, now() at time zone 'UTC', True from data LEFT JOIN branch_product_method as brpm ON brpm.product_id = data.product_id and brpm.branch_id = 41);
Date: 2022-11-21 13:10:34 Duration: 11m6s
4 807ms 5s66ms 1s908ms 303 9m38s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 21 12 102 4m59s 2s937ms 13 45 50s992ms 1s133ms 14 15 15s903ms 1s60ms 15 33 46s982ms 1s423ms 16 30 35s648ms 1s188ms 17 3 4s676ms 1s558ms 18 6 7s467ms 1s244ms 19 30 32s350ms 1s78ms 20 21 21s719ms 1s34ms 21 18 1m2s 3s494ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%1011E%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1011E%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%1011E%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%1011E%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%1011E%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%1011E%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2022-11-21 12:50:39 Duration: 5s66ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%10111-200%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%10111-200%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%10111-200%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%10111-200%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2022-11-21 12:51:59 Duration: 4s779ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%10111-200%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%10111-200%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%10111-200%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%10111-200%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2022-11-21 12:50:37 Duration: 4s597ms
5 649ms 5s642ms 1s796ms 236 7m3s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 21 12 65 3m18s 3s46ms 13 22 28s99ms 1s277ms 14 9 9s570ms 1s63ms 15 33 44s343ms 1s343ms 16 29 35s143ms 1s211ms 17 4 6s846ms 1s711ms 18 5 6s836ms 1s367ms 19 45 55s130ms 1s225ms 20 17 17s647ms 1s38ms 21 7 22s237ms 3s176ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%10111-200%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%10111-200%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%10111-200%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%10111-200%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2022-11-21 12:51:58 Duration: 5s642ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%10111-2%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10111-2%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%10111-2%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%10111-2%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%10111-2%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%10111-2%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2022-11-21 12:51:57 Duration: 5s215ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%10111-200%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%10111-200%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%10111-200%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%10111-200%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%10111-200%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2022-11-21 12:52:23 Duration: 5s172ms
6 690ms 5s169ms 1s780ms 211 6m15s select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 21 12 60 2m48s 2s813ms 13 22 31s675ms 1s439ms 14 8 8s464ms 1s58ms 15 30 44s116ms 1s470ms 16 24 30s604ms 1s275ms 17 3 4s590ms 1s530ms 18 5 7s348ms 1s469ms 19 40 47s504ms 1s187ms 20 15 16s570ms 1s104ms 21 4 15s944ms 3s986ms -
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%10111%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%10111%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%10111%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%10111%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%10111%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%10111%'))));
Date: 2022-11-21 12:51:57 Duration: 5s169ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%412%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%412%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%412%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%412%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%412%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%412%'))));
Date: 2022-11-21 21:44:13 Duration: 4s674ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%1011%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%1011%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%1011%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%1011%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%1011%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%1011%'))));
Date: 2022-11-21 12:50:40 Duration: 4s548ms
7 636ms 3s316ms 858ms 848 12m8s 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 #7
Day Hour Count Duration Avg duration Nov 21 01 1 663ms 663ms 07 1 660ms 660ms 11 1 702ms 702ms 12 19 25s164ms 1s324ms 13 111 1m29s 805ms 14 100 1m24s 840ms 15 105 1m38s 940ms 16 75 1m10s 933ms 17 44 41s733ms 948ms 18 109 1m31s 839ms 19 98 1m15s 774ms 20 135 1m42s 760ms 21 40 35s556ms 888ms 22 2 6s544ms 3s272ms 23 7 4s926ms 703ms -
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 ('%1560%')) 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 ('%1560%'))) 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 ('%1560%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%1560%')))))) 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: 2022-11-21 21:43:33 Duration: 3s316ms
-
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 ('%lfp3236%')) 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 ('%lfp3236%'))) 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 ('%lfp3236%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%lfp3236%')))))) 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: 2022-11-21 22:39:22 Duration: 3s292ms
-
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 ('%lf17502%')) 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 ('%lf17502%'))) 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 ('%lf17502%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%lf17502%')))))) 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: 2022-11-21 22:42:06 Duration: 3s251ms
8 506ms 3s486ms 836ms 4,200 58m33s 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 #8
Day Hour Count Duration Avg duration Nov 21 07 5 2s851ms 570ms 08 1 541ms 541ms 09 10 5s346ms 534ms 10 87 48s838ms 561ms 11 17 10s423ms 613ms 12 300 6m54s 1s382ms 13 566 6m38s 703ms 14 741 9m10s 743ms 15 489 7m4s 867ms 16 303 3m57s 784ms 17 416 6m9s 888ms 18 286 3m50s 807ms 19 364 4m13s 696ms 20 371 4m10s 676ms 21 194 3m40s 1s138ms 22 44 1m28s 2s14ms 23 6 5s186ms 864ms -
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 ('%%fs19%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%fs19%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%fs19%'))) 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: 2022-11-21 22:46:20 Duration: 3s486ms
-
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 ('%%170400%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%17-0400%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%17-0400%'))) 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: 2022-11-21 12:51:57 Duration: 3s458ms
-
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 ('%%170%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%17-0%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%17-0%'))) 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: 2022-11-21 12:51:56 Duration: 3s448ms
9 518ms 2s695ms 789ms 941 12m22s 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 #9
Day Hour Count Duration Avg duration Nov 21 12 14 14s959ms 1s68ms 13 243 2m48s 691ms 14 78 57s253ms 734ms 15 118 1m32s 786ms 16 171 2m19s 813ms 17 176 2m44s 936ms 18 48 40s358ms 840ms 19 71 50s115ms 705ms 20 16 11s656ms 728ms 21 3 1s722ms 574ms 23 3 1s675ms 558ms -
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 ('%%133012%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%13-3012%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%13-3012%'))) 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: 2022-11-21 12:34:00 Duration: 2s695ms
-
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 ('%%550221%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%550221%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%550221%'))) 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: 2022-11-21 12:20:43 Duration: 2s354ms
-
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 ('%%n228%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%n2-28%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%n2-28%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-11-21 17:51:18 Duration: 2s64ms
10 520ms 1s466ms 774ms 675 8m42s 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"."is_core" is null or "product_product__product_tmpl_id"."is_core" = false)) and ("product_product__product_tmpl_id"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 21 13 34 21s408ms 629ms 14 55 42s184ms 766ms 15 49 43s637ms 890ms 16 170 2m22s 836ms 17 78 1m6s 854ms 18 128 1m38s 765ms 19 89 1m1s 693ms 20 33 21s840ms 661ms 21 39 25s416ms 651ms -
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 ('%%sfpa1%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%sfpa-1%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%sfpa-1%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-11-21 16:32:21 Duration: 1s466ms
-
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 ('%%s29%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%s-29%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%s-29%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-11-21 15:02:42 Duration: 1s437ms
-
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 ('%%sfpa%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%sfpa-%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%sfpa-%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-11-21 16:32:21 Duration: 1s411ms
11 170ms 7s70ms 601ms 24,903 4h9m46s select "item_list_line".id from "item_list_line" where (((("item_list_line"."active" = true) and ("item_list_line"."product_id" = ?)) and (("item_list_line"."method" not in (...)) or "item_list_line"."method" is null)) and ("item_list_line"."item_demand_plan_id" = ?)) order by "item_list_line"."id" limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 21 12 6,559 47m26s 434ms 13 7 2s236ms 319ms 14 309 1m26s 280ms 16 120 38s549ms 321ms 17 297 1m48s 364ms 18 598 2m38s 265ms 19 332 1m27s 264ms 20 335 1m36s 287ms 21 5,262 51m32s 587ms 22 10,059 2h16m36s 814ms 23 1,025 4m31s 265ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 213426)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 782)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-11-21 22:36:25 Duration: 7s70ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 214037)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 782)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-11-21 22:44:56 Duration: 6s942ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 185467)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 781)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-11-21 22:38:55 Duration: 6s734ms
12 120ms 3s652ms 530ms 879 7m46s select count(id) as total_count from item_list_line where item_demand_plan_id = ? and active = true;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 21 04 14 1s740ms 124ms 07 47 8s142ms 173ms 08 36 10s185ms 282ms 09 41 7s217ms 176ms 10 14 2s576ms 184ms 11 15 2s906ms 193ms 12 188 1m17s 413ms 13 21 4s552ms 216ms 14 27 6s879ms 254ms 15 8 2s180ms 272ms 16 20 5s322ms 266ms 17 23 6s797ms 295ms 18 22 5s619ms 255ms 19 29 6s794ms 234ms 20 28 7s716ms 275ms 21 109 1m 556ms 22 237 4m9s 1s53ms -
select count(id) as total_count from item_list_line where item_demand_plan_id = 780 and active = True;
Date: 2022-11-21 22:35:22 Duration: 3s652ms
-
select count(id) as total_count from item_list_line where item_demand_plan_id = 780 and active = True;
Date: 2022-11-21 22:36:30 Duration: 3s320ms
-
select count(id) as total_count from item_list_line where item_demand_plan_id = 782 and active = True;
Date: 2022-11-21 22:36:16 Duration: 3s307ms
13 130ms 3s997ms 458ms 879 6m42s select distinct ill.product_id from item_list_line as ill left join res_forecast_method as fm on fm.id = ill.method where ill.item_demand_plan_id = ? and ill.method not in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 21 04 14 1s878ms 134ms 07 47 9s340ms 198ms 08 36 11s231ms 311ms 09 41 8s325ms 203ms 10 14 2s851ms 203ms 11 15 3s337ms 222ms 12 188 1m14s 395ms 13 21 5s142ms 244ms 14 27 7s364ms 272ms 15 8 2s496ms 312ms 16 20 5s857ms 292ms 17 23 6s665ms 289ms 18 22 5s890ms 267ms 19 29 7s82ms 244ms 20 28 7s673ms 274ms 21 109 53s887ms 494ms 22 237 3m9s 799ms -
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 782 and ill.method not in (8, 7);
Date: 2022-11-21 22:35:23 Duration: 3s997ms
-
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 780 and ill.method not in (8, 7);
Date: 2022-11-21 22:38:37 Duration: 3s673ms
-
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 780 and ill.method not in (8, 7);
Date: 2022-11-21 22:34:20 Duration: 3s657ms
14 302ms 3s404ms 418ms 915 6m22s select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."so_line_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 21 10 13 4s572ms 351ms 12 76 52s798ms 694ms 13 146 54s155ms 370ms 14 159 59s224ms 372ms 15 125 51s123ms 408ms 16 75 29s847ms 397ms 17 65 26s454ms 406ms 18 49 19s450ms 396ms 19 76 29s139ms 383ms 20 62 21s724ms 350ms 21 55 28s805ms 523ms 22 11 4s157ms 377ms 23 3 1s301ms 433ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (25224)) ORDER BY "sale_history_line"."id";
Date: 2022-11-21 21:47:59 Duration: 3s404ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (25225)) ORDER BY "sale_history_line"."id";
Date: 2022-11-21 21:48:02 Duration: 3s12ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (24227)) ORDER BY "sale_history_line"."id";
Date: 2022-11-21 12:29:34 Duration: 2s757ms
15 226ms 1s973ms 397ms 2,129 14m6s update item_list_line set product_id = ?, supercede_product_id = ?, superceded = true where product_id = ? and item_demand_plan_id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 21 07 1,347 7m41s 342ms 08 637 4m52s 458ms 12 25 14s334ms 573ms 13 2 808ms 404ms 18 9 3s247ms 360ms 19 6 2s191ms 365ms 20 4 1s467ms 366ms 21 50 29s349ms 586ms 22 49 41s754ms 852ms -
update item_list_line set product_id = 218079, supercede_product_id = 218027, superceded = True where product_id = 218027 and item_demand_plan_id = 782;
Date: 2022-11-21 22:34:21 Duration: 1s973ms
-
update item_list_line set product_id = 205533, supercede_product_id = 241354, superceded = True where product_id = 241354 and item_demand_plan_id = 781;
Date: 2022-11-21 22:31:53 Duration: 1s834ms
-
update item_list_line set product_id = 205531, supercede_product_id = 241305, superceded = True where product_id = 241305 and item_demand_plan_id = 781;
Date: 2022-11-21 22:31:42 Duration: 1s781ms
16 296ms 2s185ms 389ms 4,564 29m37s update item_list_line set method = ?, min_product_len_1 = ?, min_product_len_2 = ?, min_baseline_size = ?, seasonal_period = ? where product_id = ? and item_demand_plan_id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 21 09 763 4m1s 316ms 10 1,193 6m20s 319ms 11 1,200 6m23s 319ms 12 1,077 10m41s 595ms 13 331 2m10s 394ms -
update item_list_line set method = 4, min_product_len_1 = 7, min_product_len_2 = 16, min_baseline_size = 12, seasonal_period = 0 where product_id = 240014 and item_demand_plan_id = 675;
Date: 2022-11-21 12:51:56 Duration: 2s185ms
-
update item_list_line set method = 8, min_product_len_1 = 7, min_product_len_2 = 16, min_baseline_size = 12, seasonal_period = 0 where product_id = 211453 and item_demand_plan_id = 675;
Date: 2022-11-21 12:50:12 Duration: 1s958ms
-
update item_list_line set method = 2, min_product_len_1 = 7, min_product_len_2 = 16, min_baseline_size = 12, seasonal_period = 0 where product_id = 213599 and item_demand_plan_id = 675;
Date: 2022-11-21 12:50:35 Duration: 1s762ms
17 120ms 2s778ms 376ms 865 5m25s select ill.item_demand_plan_id from item_list_line ill left join item_demand_plan as idp on ill.item_demand_plan_id = idp.id where ill.method is null and idp.active = true and ill.item_demand_plan_id = ? group by ill.item_demand_plan_id having count(ill.id) > ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 21 04 1 121ms 121ms 07 47 6s727ms 143ms 08 35 7s895ms 225ms 09 41 6s67ms 147ms 10 14 2s241ms 160ms 11 15 2s350ms 156ms 12 188 59s177ms 314ms 13 21 3s979ms 189ms 14 27 5s906ms 218ms 15 8 1s801ms 225ms 16 20 4s661ms 233ms 17 23 5s410ms 235ms 18 22 4s528ms 205ms 19 29 5s551ms 191ms 20 28 6s258ms 223ms 21 109 43s329ms 397ms 22 237 2m39s 674ms -
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 782 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-11-21 22:35:21 Duration: 2s778ms
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 780 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-11-21 22:38:33 Duration: 2s775ms
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 780 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-11-21 22:35:16 Duration: 2s564ms
18 120ms 1s509ms 324ms 44,581 4h1m26s update "sale_order_line" set "qty_delivered_method" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 21 13 217 29s817ms 137ms 14 9,668 34m19s 212ms 15 6,740 41m17s 367ms 16 7,843 47m34s 364ms 17 14,815 1h21m35s 330ms 18 5,298 36m10s 409ms -
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (992, 23424, 994, 995, 996, 997, 999, 1000, 1001, 1002, 1003, 22073, 22074, 991);
Date: 2022-11-21 15:55:36 Duration: 1s509ms
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (992, 23424, 994, 995, 996, 997, 999, 1000, 1001, 1002, 1003, 22073, 22074, 991);
Date: 2022-11-21 17:50:58 Duration: 1s383ms
-
UPDATE "sale_order_line" SET "qty_delivered_method" = 'stock_move', "write_uid" = 957, "write_date" = (now() at time zone 'UTC') WHERE id IN (992, 23424, 994, 995, 996, 997, 999, 1000, 1001, 1002, 1003, 22073, 22074, 991);
Date: 2022-11-21 17:51:18 Duration: 1s360ms
19 124ms 2s198ms 322ms 1,014 5m27s select "item_list_line".id from "item_list_line" where ("item_list_line"."item_demand_plan_id" in (...)) order by "item_list_line"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 21 07 61 17s230ms 282ms 08 48 15s37ms 313ms 09 47 7s159ms 152ms 10 19 3s18ms 158ms 11 20 3s654ms 182ms 12 230 1m4s 281ms 13 22 4s17ms 182ms 14 30 5s578ms 185ms 15 8 1s676ms 209ms 16 21 4s337ms 206ms 17 26 5s464ms 210ms 18 26 4s988ms 191ms 19 31 5s386ms 173ms 20 30 5s574ms 185ms 21 127 43s905ms 345ms 22 268 2m15s 504ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (780)) ORDER BY "item_list_line"."id";
Date: 2022-11-21 22:41:50 Duration: 2s198ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (780)) ORDER BY "item_list_line"."id";
Date: 2022-11-21 22:45:20 Duration: 2s177ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (782)) ORDER BY "item_list_line"."id";
Date: 2022-11-21 22:35:34 Duration: 2s136ms
20 120ms 2s520ms 289ms 9,698 46m45s select date_part(?, invoice_date) as year, date_part(?, invoice_date) as month, date_part(?, invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = ? and item_demand_plan_id = ? group by product_id, date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date) order by date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 21 07 16 2s211ms 138ms 08 15 3s408ms 227ms 09 763 1m57s 154ms 10 1,192 3m5s 155ms 11 1,199 3m5s 155ms 12 2,260 9m57s 264ms 13 330 59s168ms 179ms 14 97 16s543ms 170ms 16 35 6s658ms 190ms 17 87 20s169ms 231ms 18 184 27s609ms 150ms 19 73 11s223ms 153ms 20 64 11s259ms 175ms 21 1,087 6m51s 378ms 22 2,135 18m43s 526ms 23 161 25s598ms 158ms -
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 189530 and item_demand_plan_id = 774 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-11-21 22:41:42 Duration: 2s520ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 213426 and item_demand_plan_id = 782 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-11-21 22:36:28 Duration: 2s488ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 186073 and item_demand_plan_id = 776 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-11-21 22:42:36 Duration: 2s456ms
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
- 158,817 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 10705 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 9,898 Max number of times the same event was reported
- 10,705 Total events found
Rank Times reported Error 1 9,898 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Nov 21 00 387 01 391 02 394 03 397 04 396 05 394 06 379 07 611 08 713 09 362 10 386 11 389 12 393 13 396 14 387 15 387 16 381 17 382 18 392 19 403 20 400 21 402 22 390 23 386 - ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "res_partner"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=48 FOR UPDATE NOWAIT
Date: 2022-11-21 23:50:11
Statement: SELECT "customer_rank" FROM res_partner WHERE ID IN (50021) FOR UPDATE NOWAIT; UPDATE res_partner SET "customer_rank" = "customer_rank" + 1 WHERE id IN (50021)
Date: 2022-11-21 14:38:28
2 660 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #2
Day Hour Count Nov 21 00 1 03 4 05 1 07 1 08 3 09 1 10 3 11 6 12 119 13 36 14 39 15 58 16 44 17 36 18 32 19 58 20 33 21 46 22 138 23 1 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE "substitution_master_line" SET "write_uid"=4,"write_date"=(now() at time zone 'UTC') WHERE id IN (17774, 17773, 10286, 10287)
Date: 2022-11-21 00:25:54
3 53 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #3
Day Hour Count Nov 21 12 4 13 2 14 3 15 6 16 5 17 4 18 14 19 8 20 1 21 2 22 4 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM ir_attachment WHERE id IN (74354)
Date: 2022-11-21 12:21:08
4 45 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #4
Day Hour Count Nov 21 00 3 01 1 03 2 04 1 06 4 07 2 08 4 09 2 10 2 11 3 12 2 13 3 14 2 15 1 16 1 17 1 18 2 19 2 20 3 21 1 22 1 23 2 - ERROR: could not receive data from client: Connection reset by peer
Date: 2022-11-21 00:04:06
5 28 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #5
Day Hour Count Nov 21 08 1 12 2 13 1 14 6 15 7 16 4 17 2 18 2 20 1 22 2 - ERROR: process 1471316 still waiting for ShareLock on transaction 83838558 after 1000.039 ms
- ERROR: process 2053184 still waiting for ShareLock on transaction 83850675 after 1000.048 ms
- ERROR: process 2060683 still waiting for ShareLock on transaction 83861257 after 1000.044 ms
Detail: Process holding the lock: 1462155. Wait queue: 1471316.
Context: while updating tuple (68,7) in relation "ir_module_module"
Statement: UPDATE ir_module_module SET state='installed' WHERE state IN ('to remove', 'to upgrade')Date: 2022-11-21 08:58:59
Detail: Process holding the lock: 2054307. Wait queue: 2053184.
Context: while deleting tuple (1261,32) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (74354)Date: 2022-11-21 12:21:08
Detail: Process holding the lock: 2054001. Wait queue: 2060683.
Context: while deleting tuple (1279,23) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (74407)Date: 2022-11-21 12:50:56
6 5 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #6
Day Hour Count Nov 21 13 5 - ERROR: invalid input syntax for type integer: "False" at character 84
Statement: select sum(product_uom_qty) from stock_move where id > '150275' and sale_line_id = 'False' and id != '150275'
Date: 2022-11-21 13:15:49
7 4 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Nov 21 08 2 11 2 - ERROR: could not create unique index "vendor_account_master_unique_acc_no"
Detail: Key (account_number)=(426PO007) is duplicated.
Statement: ALTER TABLE "vendor_account_master" ADD CONSTRAINT "vendor_account_master_unique_acc_no" unique (account_number)Date: 2022-11-21 08:58:27
8 3 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #8
Day Hour Count Nov 21 15 1 16 2 - ERROR: null value in column "categ_id" of relation "product_template" violates not-null constraint
Detail: Failing row contains (244108, null, 35001y, 1, null, null, null, product, null, 1.00, null, null, t, t, 1, 1, null, t, null, null, null, null, 1026, 2022-11-21 15:34:54.754406, 1026, 2022-11-21 15:34:54.754406, 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, 370855, never, 0, , 44, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 2022-11-21, null, E, 1, null, null, f, f, yes, null, 1, null, null, null, null, null, null, null, null, null, none, null, null, null, f, f, 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_published", "is_transmission", "linked_with_existing_core", "list_price", "name", "produce_delay", "purchase_line_warn", "purchase_method", "purchase_ok", "sale_delay", "sale_line_warn", "sale_ok", "sequence", "service_form_type", "service_tracking", "service_type", "standard_carton_quanity", "tracking", "type", "uom_id", "uom_po_id", "website_sequence", "website_size_x", "website_size_y") VALUES (nextval('product_template_id_seq'), 1026, (now() at time zone 'UTC'), 1026, (now() at time zone 'UTC'), true, false, 0.0, 44, NULL, 1, '', 'no', '2022-11-21', 'E', 'never', 'delivery', false, false, false, false, 'yes', '1.00', '35001y', 0.0, 'no-message', 'receive', true, 0.0, 'no-message', true, 1, 'none', 'no', 'manual', 1, 'none', 'product', 1, 1, 370855, 1, 1) RETURNING idDate: 2022-11-21 15:34:54
9 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Nov 21 07 1 11 1 - ERROR: syntax error at or near "default_code" at character 56
- ERROR: syntax error at or near "00" at character 210
Statement: select default_code from product_template where '/' in default_code;
Date: 2022-11-21 07:54:53
Statement: select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and idp.create_date >= 2022-11-20 00:00:00 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-11-21 11:04:46
10 2 ERROR: update or delete on table "..." violates foreign key constraint "..." on table "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Nov 21 08 1 21 1 - ERROR: update or delete on table "item_demand_plan" violates foreign key constraint "item_supply_plan_demand_plan_id_fkey" on table "item_supply_plan"
- ERROR: update or delete on table "fleet_vehicle_model" violates foreign key constraint "fleet_vehicle_model_id_fkey" on table "fleet_vehicle"
Detail: Key (id)=(649) is still referenced from table "item_supply_plan".
Statement: delete from item_demand_plan where id = 649;Date: 2022-11-21 08:42:11
Detail: Key (id)=(231) is still referenced from table "fleet_vehicle".
Statement: DELETE FROM fleet_vehicle_model WHERE id IN (231)Date: 2022-11-21 21:33:09
11 2 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Nov 21 12 2 - ERROR: duplicate key value violates unique constraint "fleet_vehicle_vin_sn_unique"
Detail: Key (vin_sn)=(852010) 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'), 953, (now() at time zone 'UTC'), 953, (now() at time zone 'UTC'), '2022-11-21', true, 121, 0.0, 0.0, NULL, 1, NULL, 5, 48515, '2022-11-21', NULL, NULL, 0, 0.0, '000000', NULL, 2, 209, 30, NULL, 'PET', 0.0, NULL, 'miles', 0, 0.0, 0, 3, NULL, '000', '852010') RETURNING idDate: 2022-11-21 12:55:06
12 1 ERROR: operator does not exist: character varying = boolean
Times Reported Most Frequent Error / Event #12
Day Hour Count Nov 21 15 1 - ERROR: operator does not exist: character varying = boolean at character 362
Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
Statement: select id,so_line_id,name from sale_order_line where so_line_id in (select line.id from sale_order_line line inner join sale_order o on o.id = line.order_id inner join product_product prod on prod.id = line.product_id inner join product_template tm on tm.id = prod.product_tmpl_id where tm.has_core = True and o.website_id is not null) and display_type = False order by so_line_id desc;Date: 2022-11-21 15:11:40
13 1 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #13
Day Hour Count Nov 21 11 1 - ERROR: process 2060461 still waiting for AccessShareLock on relation 43699 of database 65946 after 1000.052 ms at character 34
Detail: Process holding the lock: 2060498. Wait queue: 2060461.
Statement: SELECT "ir_model_fields".id FROM "ir_model_fields" WHERE ("ir_model_fields"."model" = 'sale.order') ORDER BY "ir_model_fields"."name"Date: 2022-11-21 11:48:30
14 1 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #14
Day Hour Count Nov 21 13 1 - 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: 2022-11-21 13:25:22