-
Global information
- Generated on Tue Jul 14 23:45:04 2026
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 14,073 log entries in 3s
- Log start from 2026-07-14 02:00:10 to 2026-07-15 01:44:50
-
Overview
Global Stats
- 133 Number of unique normalized queries
- 734 Number of queries
- 1h32m35s Total query duration
- 2026-07-14 02:06:11 First query
- 2026-07-15 01:30:51 Last query
- 5 queries/s at 2026-07-14 15:13:59 Query peak
- 1h32m35s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1h32m35s Execute total duration
- 2,924 Number of events
- 10 Number of unique normalized events
- 2,607 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
- 734 Average queries per session
- 1h32m35s 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
- 5 queries/s Query Peak
- 2026-07-14 15:13:59 Date
SELECT Traffic
Key values
- 5 queries/s Query Peak
- 2026-07-14 15:13:59 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-07-14 08:33:17 Date
Queries duration
Key values
- 1h32m35s 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
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 14 02 5 0ms 11s179ms 6s320ms 0ms 3s364ms 11s179ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 3 0ms 14s417ms 7s339ms 0ms 3s416ms 14s417ms 05 0 0ms 0ms 0ms 0ms 0ms 0ms 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 2 0ms 6s864ms 6s239ms 0ms 0ms 6s864ms 08 38 0ms 12m4s 58s368ms 1m55s 4m48s 12m8s 09 80 0ms 11s127ms 6s612ms 57s797ms 58s382ms 1m 10 83 0ms 13s54ms 5s763ms 27s515ms 48s826ms 2m37s 11 32 0ms 13s534ms 4s458ms 9s530ms 15s817ms 30s135ms 12 37 0ms 13s345ms 4s289ms 9s842ms 12s759ms 22s496ms 13 45 0ms 11s759ms 4s411ms 9s683ms 15s46ms 24s78ms 14 30 0ms 12s311ms 5s31ms 6s508ms 12s311ms 49s308ms 15 35 0ms 11s758ms 4s394ms 10s611ms 11s758ms 32s135ms 16 18 0ms 8s972ms 3s882ms 3s660ms 9s937ms 12s328ms 17 52 0ms 10s958ms 4s730ms 13s524ms 17s630ms 26s477ms 18 65 0ms 10s263ms 4s282ms 19s569ms 22s551ms 43s627ms 19 67 0ms 12s755ms 4s521ms 19s607ms 22s227ms 32s789ms 20 24 0ms 8s675ms 3s714ms 6s527ms 10s579ms 13s900ms 21 21 0ms 3s959ms 3s488ms 3s539ms 10s450ms 18s233ms 22 22 0ms 8s807ms 3s761ms 3s764ms 8s807ms 28s554ms 23 57 0ms 9s703ms 4s205ms 13s419ms 20s359ms 51s404ms Jul 15 00 15 0ms 8s184ms 4s524ms 3s179ms 16s399ms 16s769ms 01 3 0ms 3s427ms 3s257ms 0ms 0ms 9s772ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 14 02 5 0 6s320ms 0ms 0ms 10s466ms 03 0 0 0ms 0ms 0ms 0ms 04 1 0 3s416ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 2 0 6s239ms 0ms 0ms 5s615ms 08 10 28 58s368ms 13s29ms 1m55s 5m33s 09 80 0 6s612ms 8s978ms 57s797ms 1m 10 83 0 5s763ms 4s190ms 27s515ms 1m24s 11 32 0 4s458ms 3s514ms 9s530ms 16s743ms 12 37 0 4s289ms 4s833ms 9s842ms 14s226ms 13 45 0 4s411ms 6s535ms 9s683ms 22s681ms 14 30 0 5s31ms 3s569ms 6s508ms 14s464ms 15 35 0 4s394ms 3s604ms 10s611ms 20s134ms 16 18 0 3s882ms 3s307ms 3s660ms 10s307ms 17 52 0 4s730ms 9s897ms 13s524ms 18s895ms 18 65 0 4s282ms 7s137ms 19s569ms 27s239ms 19 67 0 4s521ms 10s553ms 19s607ms 30s576ms 20 24 0 3s714ms 3s357ms 6s527ms 12s655ms 21 21 0 3s488ms 0ms 3s539ms 14s206ms 22 22 0 3s761ms 0ms 3s764ms 13s882ms 23 57 0 4s205ms 6s852ms 13s419ms 22s4ms Jul 15 00 15 0 4s524ms 0ms 3s179ms 16s705ms 01 3 0 3s257ms 0ms 0ms 9s772ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 14 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 2 0 0 9s301ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jul 15 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 14 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% Jul 15 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% Day Hour Count Average / Second Jul 14 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 Jul 15 00 0 0.00/s 01 0 0.00/s Day Hour Count Average Duration Average idle time Jul 14 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 Jul 15 00 0 0ms 0ms 01 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
- 227,939 buffers Checkpoint Peak
- 2026-07-14 04:49:40 Date
- 270.053 seconds Highest write time
- 0.014 seconds Sync time
Checkpoints Wal files
Key values
- 102 files Wal files usage Peak
- 2026-07-14 04:49:40 Date
Checkpoints distance
Key values
- 3,263.79 Mo Distance Peak
- 2026-07-14 04:49:40 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 14 02 86,870 2,968.821s 0.03s 2,968.888s 03 72,742 3,239.498s 0.034s 3,239.573s 04 328,516 3,239.568s 0.028s 3,239.673s 05 118,556 2,534.022s 0.039s 2,534.098s 06 25,638 2,207.957s 0.026s 2,208.017s 07 29,007 1,921.61s 0.03s 1,921.67s 08 103,203 3,115.107s 0.046s 3,115.194s 09 166,604 3,239.615s 0.048s 3,239.719s 10 189,674 3,239.559s 0.043s 3,239.657s 11 271,624 2,968.911s 0.057s 2,969.023s 12 218,619 3,239.529s 0.042s 3,239.628s 13 266,482 3,239.528s 0.043s 3,239.642s 14 141,837 2,969.754s 0.048s 2,969.872s 15 159,621 3,239.582s 0.042s 3,239.678s 16 178,618 3,239.55s 0.041s 3,239.648s 17 288,676 2,969.143s 0.05s 2,969.264s 18 257,282 3,239.486s 0.047s 3,239.597s 19 241,592 3,239.581s 0.047s 3,239.686s 20 201,786 2,969.666s 0.056s 2,969.779s 21 180,703 3,239.563s 0.038s 3,239.651s 22 179,501 3,239.57s 0.038s 3,239.66s 23 191,937 2,969.048s 0.053s 2,969.188s Jul 15 00 128,953 3,239.572s 0.041s 3,239.659s 01 79,244 2,421.686s 0.027s 2,421.753s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 14 02 0 0 36 2,575 0.002s 0.011s 03 0 0 32 2,383 0.002s 0.012s 04 0 0 143 2,338 0.002s 0.012s 05 0 0 49 1,998 0.010s 0.012s 06 0 0 10 1,557 0.002s 0.012s 07 0 0 11 1,520 0.003s 0.011s 08 0 0 33 2,979 0.003s 0.013s 09 0 0 62 3,940 0.002s 0.012s 10 0 0 80 4,165 0.003s 0.012s 11 0 0 116 4,285 0.003s 0.012s 12 0 0 92 4,247 0.002s 0.012s 13 0 0 111 4,541 0.002s 0.012s 14 0 0 57 4,269 0.003s 0.012s 15 0 0 65 4,315 0.002s 0.012s 16 0 0 73 4,532 0.002s 0.012s 17 0 0 121 4,569 0.003s 0.012s 18 0 0 110 4,676 0.002s 0.012s 19 0 0 104 4,726 0.002s 0.012s 20 0 0 86 4,405 0.007s 0.012s 21 0 0 77 4,207 0.002s 0.012s 22 0 0 75 4,151 0.002s 0.012s 23 0 0 81 4,256 0.003s 0.012s Jul 15 00 0 0 56 3,716 0.002s 0.012s 01 0 0 33 2,498 0.002s 0.009s Day Hour Count Avg time (sec) Jul 14 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 Jul 15 00 0 0s 01 0 0s Day Hour Mean distance Mean estimate Jul 14 02 53,823.00 kB 82,127.27 kB 03 43,836.75 kB 69,968.83 kB 04 195,249.42 kB 433,262.17 kB 05 66,709.75 kB 158,741.08 kB 06 13,609.42 kB 29,613.25 kB 07 17,311.91 kB 27,575.91 kB 08 41,658.69 kB 63,005.54 kB 09 84,381.58 kB 107,761.75 kB 10 109,098.33 kB 124,261.67 kB 11 158,392.17 kB 185,488.17 kB 12 126,053.83 kB 163,802.50 kB 13 150,439.00 kB 200,480.92 kB 14 77,865.92 kB 90,712.08 kB 15 88,729.00 kB 107,108.25 kB 16 100,104.17 kB 132,254.67 kB 17 164,848.17 kB 189,145.00 kB 18 150,523.50 kB 202,590.33 kB 19 142,521.33 kB 191,408.50 kB 20 117,225.92 kB 144,693.75 kB 21 104,511.58 kB 142,253.25 kB 22 102,575.50 kB 153,970.17 kB 23 110,338.33 kB 147,180.75 kB Jul 15 00 76,731.17 kB 164,211.92 kB 01 60,763.22 kB 99,797.22 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
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jul 14 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 Jul 15 00 0 0 0 01 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
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
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
Vacuum throughput per table
Key values
- unknown (0) Max CPU elapsed for vacuum on database
- unknown (0 ms) Max I/O read time for vacuum on database
- unknown (0 ms) Max I/O write time for vacuum on database
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
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 14 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 Jul 15 00 0 0 01 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 704 Total read queries
- 30 Total write queries
Queries by database
Key values
- unknown Main database
- 734 Requests
- 1h32m35s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 734 Requests
User Request type Count Duration unknown Total 734 1h32m35s copy to 28 36m8s select 704 56m9s update 2 18s602ms Duration by user
Key values
- 1h32m35s (unknown) Main time consuming user
User Request type Count Duration unknown Total 734 1h32m35s copy to 28 36m8s select 704 56m9s update 2 18s602ms Queries by host
Key values
- unknown Main host
- 734 Requests
- 1h32m35s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 734 Requests
- 1h32m35s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-07-14 16:09:45 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 682 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 12m4s COPY public.mail_message (id, parent_id, res_id, subtype_id, mail_activity_type_id, author_id, author_guest_id, mail_server_id, create_uid, write_uid, subject, model, record_name, message_type, email_from, message_id, reply_to, email_layout_xmlid, body, is_internal, reply_to_force_new, email_add_signature, date, create_date, write_date) TO stdout;[ Date: 2026-07-14 08:22:39 ]
2 5m33s COPY public.mail_tracking_value (id, field, old_value_integer, new_value_integer, currency_id, mail_message_id, tracking_sequence, create_uid, write_uid, field_desc, field_type, old_value_char, new_value_char, old_value_text, new_value_text, old_value_datetime, new_value_datetime, create_date, write_date, old_value_float, old_value_monetary, new_value_float, new_value_monetary) TO stdout;[ Date: 2026-07-14 08:28:16 ]
3 4m48s COPY public.shipping_track (id, office_id, state_id, warehouse_id, next_office_id, next_warehouse_id, car_id, delegate_id, driver_id, user_id, shipping_id, cash_policy_id, create_uid, write_uid, state, receive_man_id_no, receive_man_id, action_date, change_date, create_date, write_date) TO stdout;[ Date: 2026-07-14 08:38:51 ]
4 3m27s COPY public.shipping_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, office_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, cash_policy_id, last_driver, last_office, last_car, last_office_warehouse, last_warehouse, destination_office, total_no_items, cancel_shipping_policy, create_uid, write_uid, search_name, name, pol_name, state, review_state, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, return_reason, wating_reason, scan_code, destination_type, state_collection, paid_by_customer, last_action, confirm_date, client_date, archive_date, cancel_date, return_date, wating_date, create_date, active, cash, cheques, total_collection_amount, new_destination_button, edit_cash_button, create_cash_policy_button, client_delivery_button, return_button, delegate_button, old_policy, review_date, write_date, total_amount_cash_lines, cash_amount, collection_amount_sender, collection_amount_receive, total_shipping_price, v_10_id, driver_id, delegate_id, out_date, attachment_date, count_search, notes, return_before, from_poilcy, x_from_poilcy, before_office_id, policy_name, x_review_date, state_id, attachment_user, d_date, d_unlink_delete, zero_date_change, zero_date_change_user, is_change_cash_price, transfer_date, is_imported, client_delivery_user, cash_amount_written, total_shipping_price_written, review_state_department, review_date_department, in_office_date, x_state_hold, x_date_sales, delivery_method_id, x_is_color, x_sales_move_date, x_return_office_id, privous_last_office, privous_last_warehouse, supervious_ids, x_direction_name, x_count_delivery, x_total_shipping_price, x_collection_amount_sender, x_collection_amount_receive, x_total_amount_cash_lines, x_total_shipping_price_written, x_collection_amount_left, x_cash_amount_written, x_is_block_delievery, x_is_update, x_is_inventory, delay_reason_id, return_reason_id, date_sales_policy, is_color_policy, sale_policy_id) TO stdout;[ Date: 2026-07-14 08:33:17 ]
5 2m5s COPY public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) TO stdout;[ Date: 2026-07-14 08:05:12 ]
6 1m1s COPY public.cash_track (id, office_id, user_id, cash_policy_id, create_uid, write_uid, state, receive_man_id, action_date, create_date, write_date, action_date_time) TO stdout;[ Date: 2026-07-14 08:08:00 ]
7 55s365ms COPY public.cash_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, delivery_method_id, shipping_payment, shipping_payment_at_receive, total_paid_by_sender, total_paid_by_receiver, user_delivered_id, user_confirm_payment_id, create_uid, write_uid, name, pol_name, state, state_previous, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, confirmation_code, source, create_date_policy, confirm_payment_date, receive_main_office_date, confirm_payment_main_office_date, suspended_date, payment_delivered_date, policy_delivered_date, archive_date, flag_date, notes, total_amount_cash_lines_at_receive, cash, cheques, active, old_system_policy, custom_shipping, paid, create_date, write_date, cash_amount, total_amount_cash_lines, v_10_id, sp_id_10, sp_id, attachment_date, count_search, policy_name, attachment_user, change_date_recievable, sale_id, is_more_year, x_delivery_10, x_daily_move_date, is_color_polciy_cash_after_confirm, is_block_delievery, x_total_amount_cash_lines_at_receive, x_shipping_payment_at_receive, x_shipping_payment, x_cash_amount, x_total_amount_cash_lines, x_is_update, x_total_paid_by_sender, x_total_paid_by_receiver, x_daily_movement_id, x_other_daily_movement_id, sale_policy_id) TO stdout;[ Date: 2026-07-14 08:06:07 ]
8 47s796ms COPY public.policy_number (id, notebook_id, office_id, delegate_id, package_id, create_uid, write_uid, name, reason, damaged, done, active, create_date, write_date, reason_date, from_poilcy, deliver_date, note) TO stdout;[ Date: 2026-07-14 08:29:07 ]
9 45s529ms COPY public.cash_policy_tracking (id, create_uid, write_uid, name, shipping_id, cash_id, create_date, write_date) TO stdout;[ Date: 2026-07-14 08:06:59 ]
10 40s28ms COPY public.shipping_policy_items (id, product_id, shipping_policy_id, amount, create_uid, write_uid, desc_name, change_reason, paid, create_date, write_date, shipping_cost, shipping_cost_basic, total_shipping_cost) TO stdout;[ Date: 2026-07-14 08:33:58 ]
11 35s915ms COPY public.mail_followers (id, res_id, partner_id, res_model) TO stdout;[ Date: 2026-07-14 08:09:53 ]
12 31s480ms COPY public.urgent_customer (id, message_main_attachment_id, create_uid, write_uid, name, phone, code, address, active, create_date, write_date, v_10_id, receive_man_id_no, is_company, user_id) TO stdout;[ Date: 2026-07-14 08:39:23 ]
13 31s342ms COPY public.collection_policy (id, office_id, user_id, shipping_id, customer_id, create_uid, write_uid, type, state, action_date, confirm_date, create_date, write_date, amount, sale_model, active, differance_cash, is_sale, sale_model_policy, is_sale_policy) TO stdout;[ Date: 2026-07-14 08:08:59 ]
14 28s294ms COPY public.mail_mail (id, mail_message_id, fetchmail_server_id, create_uid, write_uid, email_cc, state, failure_type, body_html, "references", headers, email_to, failure_reason, is_notification, auto_delete, to_delete, scheduled_date, create_date, write_date) TO stdout;[ Date: 2026-07-14 08:10:34 ]
15 22s72ms COPY public.policy_search (id, create_uid, write_uid, name, model, model_char, search_domain, missing_data, create_date, write_date, type, count_search, filter_name, active_p, is_inventory) TO stdout;[ Date: 2026-07-14 08:29:31 ]
16 19s883ms COPY public.cash_transfer (id, message_main_attachment_id, office_id, shipping_co_id, customer_id, to_office_id, from_office_id, cash_policy_id, create_uid, write_uid, email_cc, type, state, state_string, name, create_date_transfer, receive_date, in_notes, out_notes, is_move_daily, create_date, write_date, amount, amount_in_cash_policy, active, is_more_year) TO stdout;[ Date: 2026-07-14 08:08:20 ]
17 15s493ms COPY public.res_partner (id, company_id, create_date, name, title, parent_id, user_id, state_id, country_id, industry_id, color, commercial_partner_id, create_uid, write_uid, display_name, ref, lang, tz, vat, company_registry, website, function, type, street, street2, zip, city, email, phone, mobile, commercial_company_name, company_name, date, comment, partner_latitude, partner_longitude, active, employee, is_company, partner_share, write_date, message_main_attachment_id, message_bounce, email_normalized, signup_type, signup_expiration, signup_token, office_id, office_driver_id, employee_traffic, code, type_employee, type_driver, v_10_id, x_is_client, x_precentage_office, website_id, is_published) TO stdout;[ Date: 2026-07-14 08:29:48 ]
18 14s417ms update shipping_policy set active = '0' where from_office in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 57, 51, 59, 55, 30, 97, 68, 101, 79, 108, 66, 83, 118, 95, 112, 120, 63, 69, 31, 129, 12, 124, 122, 37, 82, 20, 86) and archive_date is NOT NULL and archive_date >= '2026-07-01' and archive_date <= '2026-07-14';[ Date: 2026-07-14 04:42:39 ]
19 13s534ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (50)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (50))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (50))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (50)))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;[ Date: 2026-07-14 11:50:46 ]
20 13s345ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (116)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (34)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (34))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (34))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (34)))))) ORDER BY "shipping_policy"."policy_id", "shipping_policy"."last_warehouse", "shipping_policy"."x_total_amount_cash_lines" ASC, "shipping_policy"."x_collection_amount_sender" ASC, "shipping_policy"."state" ASC LIMIT 100;[ Date: 2026-07-14 12:23:32 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 12m4s 1 12m4s 12m4s 12m4s copy public.mail_message (id, parent_id, res_id, subtype_id, mail_activity_type_id, author_id, author_guest_id, mail_server_id, create_uid, write_uid, subject, model, record_name, message_type, email_from, message_id, reply_to, email_layout_xmlid, body, is_internal, reply_to_force_new, email_add_signature, date, create_date, write_date) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 14 08 1 12m4s 12m4s -
COPY public.mail_message (id, parent_id, res_id, subtype_id, mail_activity_type_id, author_id, author_guest_id, mail_server_id, create_uid, write_uid, subject, model, record_name, message_type, email_from, message_id, reply_to, email_layout_xmlid, body, is_internal, reply_to_force_new, email_add_signature, date, create_date, write_date) TO stdout;
Date: 2026-07-14 08:22:39 Duration: 12m4s
2 10m42s 180 3s125ms 5s597ms 3s568ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 14 02 1 3s364ms 3s364ms 10 3 10s847ms 3s615ms 11 1 3s756ms 3s756ms 12 8 30s512ms 3s814ms 15 9 31s193ms 3s465ms 17 4 15s284ms 3s821ms 18 38 2m19s 3s682ms 19 36 2m10s 3s616ms 20 12 42s110ms 3s509ms 21 15 52s912ms 3s527ms 22 17 59s958ms 3s526ms 23 28 1m35s 3s410ms Jul 15 00 5 16s960ms 3s392ms 01 3 9s772ms 3s257ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:51:07 Duration: 5s597ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))))) AND ("policy_number"."name"::text ilike '%58%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 18:29:48 Duration: 5s404ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))))) AND ("policy_number"."name"::text ilike '%880235%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 22:35:26 Duration: 4s364ms
3 7m27s 61 6s745ms 8s118ms 7s331ms select "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" from "shipping_report_details" where "shipping_report_details".id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 14 08 1 6s745ms 6s745ms 09 60 7m20s 7s341ms -
SELECT "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" FROM "shipping_report_details" WHERE "shipping_report_details".id IN (22308151, 22184791, 22292277, 22295074, 22185304, 22131537);
Date: 2026-07-14 09:43:07 Duration: 8s118ms
-
SELECT "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" FROM "shipping_report_details" WHERE "shipping_report_details".id IN (22094106, 22219802, 22011220, 22077072, 21865684, 22306485, 22282223);
Date: 2026-07-14 09:48:03 Duration: 7s951ms
-
SELECT "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" FROM "shipping_report_details" WHERE "shipping_report_details".id IN (22201601, 22276999, 22179089, 22135581, 22163772, 22212257, 22032715, 22010441, 22204050, 21893369, 22144280, 22277437, 22274442, 21904100, 22210900, 22285835, 22138552, 21893422, 22150973);
Date: 2026-07-14 09:48:42 Duration: 7s928ms
4 5m43s 38 7s830ms 10s665ms 9s42ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."customer_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))) or ("shipping_policy"."customer_receive_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 14 10 27 4m1s 8s939ms 11 2 18s171ms 9s85ms 16 1 8s972ms 8s972ms 18 3 30s369ms 10s123ms 23 5 44s709ms 8s941ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-14 10:12:08 Duration: 10s665ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-14 10:11:25 Duration: 10s536ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1408))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1408))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-14 18:50:48 Duration: 10s263ms
5 5m33s 1 5m33s 5m33s 5m33s copy public.mail_tracking_value (id, field, old_value_integer, new_value_integer, currency_id, mail_message_id, tracking_sequence, create_uid, write_uid, field_desc, field_type, old_value_char, new_value_char, old_value_text, new_value_text, old_value_datetime, new_value_datetime, create_date, write_date, old_value_float, old_value_monetary, new_value_float, new_value_monetary) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 14 08 1 5m33s 5m33s -
COPY public.mail_tracking_value (id, field, old_value_integer, new_value_integer, currency_id, mail_message_id, tracking_sequence, create_uid, write_uid, field_desc, field_type, old_value_char, new_value_char, old_value_text, new_value_text, old_value_datetime, new_value_datetime, create_date, write_date, old_value_float, old_value_monetary, new_value_float, new_value_monetary) TO stdout;
Date: 2026-07-14 08:28:16 Duration: 5m33s
6 4m48s 1 4m48s 4m48s 4m48s copy public.shipping_track (id, office_id, state_id, warehouse_id, next_office_id, next_warehouse_id, car_id, delegate_id, driver_id, user_id, shipping_id, cash_policy_id, create_uid, write_uid, state, receive_man_id_no, receive_man_id, action_date, change_date, create_date, write_date) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 14 08 1 4m48s 4m48s -
COPY public.shipping_track (id, office_id, state_id, warehouse_id, next_office_id, next_warehouse_id, car_id, delegate_id, driver_id, user_id, shipping_id, cash_policy_id, create_uid, write_uid, state, receive_man_id_no, receive_man_id, action_date, change_date, create_date, write_date) TO stdout;
Date: 2026-07-14 08:38:51 Duration: 4m48s
7 3m27s 1 3m27s 3m27s 3m27s copy public.shipping_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, office_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, cash_policy_id, last_driver, last_office, last_car, last_office_warehouse, last_warehouse, destination_office, total_no_items, cancel_shipping_policy, create_uid, write_uid, search_name, name, pol_name, state, review_state, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, return_reason, wating_reason, scan_code, destination_type, state_collection, paid_by_customer, last_action, confirm_date, client_date, archive_date, cancel_date, return_date, wating_date, create_date, active, cash, cheques, total_collection_amount, new_destination_button, edit_cash_button, create_cash_policy_button, client_delivery_button, return_button, delegate_button, old_policy, review_date, write_date, total_amount_cash_lines, cash_amount, collection_amount_sender, collection_amount_receive, total_shipping_price, v_10_id, driver_id, delegate_id, out_date, attachment_date, count_search, notes, return_before, from_poilcy, x_from_poilcy, before_office_id, policy_name, x_review_date, state_id, attachment_user, d_date, d_unlink_delete, zero_date_change, zero_date_change_user, is_change_cash_price, transfer_date, is_imported, client_delivery_user, cash_amount_written, total_shipping_price_written, review_state_department, review_date_department, in_office_date, x_state_hold, x_date_sales, delivery_method_id, x_is_color, x_sales_move_date, x_return_office_id, privous_last_office, privous_last_warehouse, supervious_ids, x_direction_name, x_count_delivery, x_total_shipping_price, x_collection_amount_sender, x_collection_amount_receive, x_total_amount_cash_lines, x_total_shipping_price_written, x_collection_amount_left, x_cash_amount_written, x_is_block_delievery, x_is_update, x_is_inventory, delay_reason_id, return_reason_id, date_sales_policy, is_color_policy, sale_policy_id) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 14 08 1 3m27s 3m27s -
COPY public.shipping_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, office_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, cash_policy_id, last_driver, last_office, last_car, last_office_warehouse, last_warehouse, destination_office, total_no_items, cancel_shipping_policy, create_uid, write_uid, search_name, name, pol_name, state, review_state, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, return_reason, wating_reason, scan_code, destination_type, state_collection, paid_by_customer, last_action, confirm_date, client_date, archive_date, cancel_date, return_date, wating_date, create_date, active, cash, cheques, total_collection_amount, new_destination_button, edit_cash_button, create_cash_policy_button, client_delivery_button, return_button, delegate_button, old_policy, review_date, write_date, total_amount_cash_lines, cash_amount, collection_amount_sender, collection_amount_receive, total_shipping_price, v_10_id, driver_id, delegate_id, out_date, attachment_date, count_search, notes, return_before, from_poilcy, x_from_poilcy, before_office_id, policy_name, x_review_date, state_id, attachment_user, d_date, d_unlink_delete, zero_date_change, zero_date_change_user, is_change_cash_price, transfer_date, is_imported, client_delivery_user, cash_amount_written, total_shipping_price_written, review_state_department, review_date_department, in_office_date, x_state_hold, x_date_sales, delivery_method_id, x_is_color, x_sales_move_date, x_return_office_id, privous_last_office, privous_last_warehouse, supervious_ids, x_direction_name, x_count_delivery, x_total_shipping_price, x_collection_amount_sender, x_collection_amount_receive, x_total_amount_cash_lines, x_total_shipping_price_written, x_collection_amount_left, x_cash_amount_written, x_is_block_delievery, x_is_update, x_is_inventory, delay_reason_id, return_reason_id, date_sales_policy, is_color_policy, sale_policy_id) TO stdout;
Date: 2026-07-14 08:33:17 Duration: 3m27s
8 2m33s 19 5s309ms 10s437ms 8s56ms select "policy_number".id from "policy_number" where (((((((("policy_number"."active" = true) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 14 13 5 39s262ms 7s852ms 14 5 39s28ms 7s805ms 17 3 24s202ms 8s67ms 18 3 23s646ms 7s882ms 19 2 18s116ms 9s58ms 22 1 8s807ms 8s807ms -
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (8)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%365286%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 14:54:11 Duration: 10s437ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 95, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%620275%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 13:17:07 Duration: 9s501ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 95, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%326718%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 13:19:30 Duration: 9s376ms
9 2m14s 18 4s856ms 9s860ms 7s486ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 14 17 2 15s518ms 7s759ms 18 1 9s548ms 9s548ms 19 5 38s266ms 7s653ms 20 1 8s675ms 8s675ms 23 4 28s464ms 7s116ms Jul 15 00 5 34s278ms 6s855ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (53)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%673100%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:10:23 Duration: 9s860ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (41)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%647302%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:30:04 Duration: 9s785ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%410975%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 23:30:07 Duration: 9s703ms
10 2m9s 38 3s76ms 3s840ms 3s408ms select count(*) from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."customer_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))) or ("shipping_policy"."customer_receive_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?)))));Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 14 10 27 1m32s 3s407ms 11 2 7s118ms 3s559ms 16 1 3s355ms 3s355ms 18 3 9s815ms 3s271ms 23 5 17s232ms 3s446ms -
SELECT COUNT(*) FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459)))));
Date: 2026-07-14 10:11:59 Duration: 3s840ms
-
SELECT COUNT(*) FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459)))));
Date: 2026-07-14 10:11:57 Duration: 3s807ms
-
SELECT COUNT(*) FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459)))));
Date: 2026-07-14 10:11:34 Duration: 3s736ms
11 2m5s 1 2m5s 2m5s 2m5s copy public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 14 08 1 2m5s 2m5s -
COPY public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) TO stdout;
Date: 2026-07-14 08:05:12 Duration: 2m5s
12 1m57s 11 9s553ms 13s54ms 10s666ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."policy_id", "shipping_policy"."x_total_shipping_price" asc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 14 10 5 54s798ms 10s959ms 13 2 20s655ms 10s327ms 14 1 10s622ms 10s622ms 17 3 31s254ms 10s418ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id", "shipping_policy"."x_total_shipping_price" ASC LIMIT 100;
Date: 2026-07-14 10:02:11 Duration: 13s54ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id", "shipping_policy"."x_total_shipping_price" ASC LIMIT 100;
Date: 2026-07-14 10:02:31 Duration: 11s100ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id", "shipping_policy"."x_total_shipping_price" ASC LIMIT 100;
Date: 2026-07-14 17:23:58 Duration: 10s958ms
13 1m36s 14 4s853ms 12s755ms 6s890ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."policy_id" limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 14 10 1 5s66ms 5s66ms 13 1 4s853ms 4s853ms 15 8 42s158ms 5s269ms 19 4 44s383ms 11s95ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 385;
Date: 2026-07-14 19:59:08 Duration: 12s755ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 385;
Date: 2026-07-14 19:45:58 Duration: 12s256ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-07-14 19:44:55 Duration: 9s743ms
14 1m29s 26 3s33ms 4s92ms 3s434ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false)) and ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."name"::text ilike ?))))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 14 09 2 6s651ms 3s325ms 10 3 9s681ms 3s227ms 11 8 28s100ms 3s512ms 12 1 3s33ms 3s33ms 13 2 6s562ms 3s281ms 14 1 3s649ms 3s649ms 15 3 11s2ms 3s667ms 17 2 7s60ms 3s530ms 18 2 6s635ms 3s317ms 19 1 3s523ms 3s523ms 22 1 3s383ms 3s383ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%المنيا%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (73)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 11:55:29 Duration: 4s92ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%شمس%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (91)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 15:48:21 Duration: 3s879ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%بهت%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (105)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 11:37:30 Duration: 3s703ms
15 1m20s 7 10s466ms 12s311ms 11s469ms select "notebook".id from "notebook" where (("notebook"."active" = true) and ("notebook"."id" in ( select "policy_number"."notebook_id" from "policy_number" where (("policy_number"."active" = true) and ("policy_number"."name"::text ilike ?)) and "policy_number"."notebook_id" is not null))) order by "notebook"."id" limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 14 02 2 21s645ms 10s822ms 08 1 11s411ms 11s411ms 13 1 11s759ms 11s759ms 14 2 23s714ms 11s857ms 15 1 11s758ms 11s758ms -
SELECT "notebook".id FROM "notebook" WHERE (("notebook"."active" = true) AND ("notebook"."id" IN ( SELECT "policy_number"."notebook_id" FROM "policy_number" WHERE (("policy_number"."active" = true) AND ("policy_number"."name"::text ilike '%9995221%')) AND "policy_number"."notebook_id" IS NOT NULL))) ORDER BY "notebook"."id" LIMIT 80;
Date: 2026-07-14 14:07:03 Duration: 12s311ms
-
SELECT "notebook".id FROM "notebook" WHERE (("notebook"."active" = true) AND ("notebook"."id" IN ( SELECT "policy_number"."notebook_id" FROM "policy_number" WHERE (("policy_number"."active" = true) AND ("policy_number"."name"::text ilike '%640202%')) AND "policy_number"."notebook_id" IS NOT NULL))) ORDER BY "notebook"."id" LIMIT 80;
Date: 2026-07-14 13:37:56 Duration: 11s759ms
-
SELECT "notebook".id FROM "notebook" WHERE (("notebook"."active" = true) AND ("notebook"."id" IN ( SELECT "policy_number"."notebook_id" FROM "policy_number" WHERE (("policy_number"."active" = true) AND ("policy_number"."name"::text ilike '%237407%')) AND "policy_number"."notebook_id" IS NOT NULL))) ORDER BY "notebook"."id" LIMIT 80;
Date: 2026-07-14 15:59:45 Duration: 11s758ms
16 1m5s 19 3s189ms 3s818ms 3s433ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false)) and ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."name"::text ilike ?))))) and ((("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("shipping_policy"."state" in (...)) and ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 14 09 1 3s189ms 3s189ms 10 2 6s619ms 3s309ms 11 4 13s974ms 3s493ms 12 1 3s331ms 3s331ms 13 1 3s329ms 3s329ms 14 1 3s347ms 3s347ms 15 3 10s544ms 3s514ms 18 2 7s111ms 3s555ms 19 3 10s424ms 3s474ms 20 1 3s357ms 3s357ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%السويس%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (69)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 11:41:45 Duration: 3s818ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%السويس%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (69)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 15:05:45 Duration: 3s605ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%حلوان%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (95)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 19:31:23 Duration: 3s588ms
17 1m1s 1 1m1s 1m1s 1m1s copy public.cash_track (id, office_id, user_id, cash_policy_id, create_uid, write_uid, state, receive_man_id, action_date, create_date, write_date, action_date_time) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 14 08 1 1m1s 1m1s -
COPY public.cash_track (id, office_id, user_id, cash_policy_id, create_uid, write_uid, state, receive_man_id, action_date, create_date, write_date, action_date_time) TO stdout;
Date: 2026-07-14 08:08:00 Duration: 1m1s
18 55s365ms 1 55s365ms 55s365ms 55s365ms copy public.cash_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, delivery_method_id, shipping_payment, shipping_payment_at_receive, total_paid_by_sender, total_paid_by_receiver, user_delivered_id, user_confirm_payment_id, create_uid, write_uid, name, pol_name, state, state_previous, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, confirmation_code, source, create_date_policy, confirm_payment_date, receive_main_office_date, confirm_payment_main_office_date, suspended_date, payment_delivered_date, policy_delivered_date, archive_date, flag_date, notes, total_amount_cash_lines_at_receive, cash, cheques, active, old_system_policy, custom_shipping, paid, create_date, write_date, cash_amount, total_amount_cash_lines, v_10_id, sp_id_10, sp_id, attachment_date, count_search, policy_name, attachment_user, change_date_recievable, sale_id, is_more_year, x_delivery_10, x_daily_move_date, is_color_polciy_cash_after_confirm, is_block_delievery, x_total_amount_cash_lines_at_receive, x_shipping_payment_at_receive, x_shipping_payment, x_cash_amount, x_total_amount_cash_lines, x_is_update, x_total_paid_by_sender, x_total_paid_by_receiver, x_daily_movement_id, x_other_daily_movement_id, sale_policy_id) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 14 08 1 55s365ms 55s365ms -
COPY public.cash_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, delivery_method_id, shipping_payment, shipping_payment_at_receive, total_paid_by_sender, total_paid_by_receiver, user_delivered_id, user_confirm_payment_id, create_uid, write_uid, name, pol_name, state, state_previous, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, confirmation_code, source, create_date_policy, confirm_payment_date, receive_main_office_date, confirm_payment_main_office_date, suspended_date, payment_delivered_date, policy_delivered_date, archive_date, flag_date, notes, total_amount_cash_lines_at_receive, cash, cheques, active, old_system_policy, custom_shipping, paid, create_date, write_date, cash_amount, total_amount_cash_lines, v_10_id, sp_id_10, sp_id, attachment_date, count_search, policy_name, attachment_user, change_date_recievable, sale_id, is_more_year, x_delivery_10, x_daily_move_date, is_color_polciy_cash_after_confirm, is_block_delievery, x_total_amount_cash_lines_at_receive, x_shipping_payment_at_receive, x_shipping_payment, x_cash_amount, x_total_amount_cash_lines, x_is_update, x_total_paid_by_sender, x_total_paid_by_receiver, x_daily_movement_id, x_other_daily_movement_id, sale_policy_id) TO stdout;
Date: 2026-07-14 08:06:07 Duration: 55s365ms
19 54s74ms 15 3s348ms 3s938ms 3s604ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 14 13 2 7s498ms 3s749ms 14 2 6s976ms 3s488ms 17 2 7s685ms 3s842ms 18 1 3s593ms 3s593ms 19 6 21s363ms 3s560ms 20 1 3s609ms 3s609ms 22 1 3s348ms 3s348ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 17:57:44 Duration: 3s938ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 95, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 13:17:16 Duration: 3s824ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 17:58:41 Duration: 3s746ms
20 50s96ms 14 3s50ms 4s324ms 3s578ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and ((("policy_number"."done" is null or "policy_number"."done" = false) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and ("policy_number"."office_id" in (...)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 14 09 4 13s914ms 3s478ms 10 3 11s436ms 3s812ms 13 1 3s374ms 3s374ms 14 2 6s971ms 3s485ms 16 1 3s307ms 3s307ms 17 2 7s417ms 3s708ms 18 1 3s674ms 3s674ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (78)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-14 09:09:49 Duration: 4s324ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (65)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-14 10:33:18 Duration: 4s190ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (111)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-14 14:13:45 Duration: 3s920ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 180 10m42s 3s125ms 5s597ms 3s568ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 14 02 1 3s364ms 3s364ms 10 3 10s847ms 3s615ms 11 1 3s756ms 3s756ms 12 8 30s512ms 3s814ms 15 9 31s193ms 3s465ms 17 4 15s284ms 3s821ms 18 38 2m19s 3s682ms 19 36 2m10s 3s616ms 20 12 42s110ms 3s509ms 21 15 52s912ms 3s527ms 22 17 59s958ms 3s526ms 23 28 1m35s 3s410ms Jul 15 00 5 16s960ms 3s392ms 01 3 9s772ms 3s257ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:51:07 Duration: 5s597ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))))) AND ("policy_number"."name"::text ilike '%58%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 18:29:48 Duration: 5s404ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))))) AND ("policy_number"."name"::text ilike '%880235%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 22:35:26 Duration: 4s364ms
2 61 7m27s 6s745ms 8s118ms 7s331ms select "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" from "shipping_report_details" where "shipping_report_details".id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 14 08 1 6s745ms 6s745ms 09 60 7m20s 7s341ms -
SELECT "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" FROM "shipping_report_details" WHERE "shipping_report_details".id IN (22308151, 22184791, 22292277, 22295074, 22185304, 22131537);
Date: 2026-07-14 09:43:07 Duration: 8s118ms
-
SELECT "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" FROM "shipping_report_details" WHERE "shipping_report_details".id IN (22094106, 22219802, 22011220, 22077072, 21865684, 22306485, 22282223);
Date: 2026-07-14 09:48:03 Duration: 7s951ms
-
SELECT "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" FROM "shipping_report_details" WHERE "shipping_report_details".id IN (22201601, 22276999, 22179089, 22135581, 22163772, 22212257, 22032715, 22010441, 22204050, 21893369, 22144280, 22277437, 22274442, 21904100, 22210900, 22285835, 22138552, 21893422, 22150973);
Date: 2026-07-14 09:48:42 Duration: 7s928ms
3 38 5m43s 7s830ms 10s665ms 9s42ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."customer_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))) or ("shipping_policy"."customer_receive_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 14 10 27 4m1s 8s939ms 11 2 18s171ms 9s85ms 16 1 8s972ms 8s972ms 18 3 30s369ms 10s123ms 23 5 44s709ms 8s941ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-14 10:12:08 Duration: 10s665ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-14 10:11:25 Duration: 10s536ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1408))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1408))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-14 18:50:48 Duration: 10s263ms
4 38 2m9s 3s76ms 3s840ms 3s408ms select count(*) from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."customer_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))) or ("shipping_policy"."customer_receive_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?)))));Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 14 10 27 1m32s 3s407ms 11 2 7s118ms 3s559ms 16 1 3s355ms 3s355ms 18 3 9s815ms 3s271ms 23 5 17s232ms 3s446ms -
SELECT COUNT(*) FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459)))));
Date: 2026-07-14 10:11:59 Duration: 3s840ms
-
SELECT COUNT(*) FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459)))));
Date: 2026-07-14 10:11:57 Duration: 3s807ms
-
SELECT COUNT(*) FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459)))));
Date: 2026-07-14 10:11:34 Duration: 3s736ms
5 26 1m29s 3s33ms 4s92ms 3s434ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false)) and ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."name"::text ilike ?))))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 14 09 2 6s651ms 3s325ms 10 3 9s681ms 3s227ms 11 8 28s100ms 3s512ms 12 1 3s33ms 3s33ms 13 2 6s562ms 3s281ms 14 1 3s649ms 3s649ms 15 3 11s2ms 3s667ms 17 2 7s60ms 3s530ms 18 2 6s635ms 3s317ms 19 1 3s523ms 3s523ms 22 1 3s383ms 3s383ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%المنيا%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (73)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 11:55:29 Duration: 4s92ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%شمس%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (91)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 15:48:21 Duration: 3s879ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%بهت%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (105)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 11:37:30 Duration: 3s703ms
6 19 2m33s 5s309ms 10s437ms 8s56ms select "policy_number".id from "policy_number" where (((((((("policy_number"."active" = true) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 14 13 5 39s262ms 7s852ms 14 5 39s28ms 7s805ms 17 3 24s202ms 8s67ms 18 3 23s646ms 7s882ms 19 2 18s116ms 9s58ms 22 1 8s807ms 8s807ms -
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (8)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%365286%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 14:54:11 Duration: 10s437ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 95, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%620275%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 13:17:07 Duration: 9s501ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 95, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%326718%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 13:19:30 Duration: 9s376ms
7 19 1m5s 3s189ms 3s818ms 3s433ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false)) and ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."name"::text ilike ?))))) and ((("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("shipping_policy"."state" in (...)) and ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 14 09 1 3s189ms 3s189ms 10 2 6s619ms 3s309ms 11 4 13s974ms 3s493ms 12 1 3s331ms 3s331ms 13 1 3s329ms 3s329ms 14 1 3s347ms 3s347ms 15 3 10s544ms 3s514ms 18 2 7s111ms 3s555ms 19 3 10s424ms 3s474ms 20 1 3s357ms 3s357ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%السويس%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (69)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 11:41:45 Duration: 3s818ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%السويس%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (69)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 15:05:45 Duration: 3s605ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%حلوان%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (95)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 19:31:23 Duration: 3s588ms
8 18 2m14s 4s856ms 9s860ms 7s486ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 14 17 2 15s518ms 7s759ms 18 1 9s548ms 9s548ms 19 5 38s266ms 7s653ms 20 1 8s675ms 8s675ms 23 4 28s464ms 7s116ms Jul 15 00 5 34s278ms 6s855ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (53)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%673100%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:10:23 Duration: 9s860ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (41)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%647302%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:30:04 Duration: 9s785ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%410975%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 23:30:07 Duration: 9s703ms
9 15 54s74ms 3s348ms 3s938ms 3s604ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 14 13 2 7s498ms 3s749ms 14 2 6s976ms 3s488ms 17 2 7s685ms 3s842ms 18 1 3s593ms 3s593ms 19 6 21s363ms 3s560ms 20 1 3s609ms 3s609ms 22 1 3s348ms 3s348ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 17:57:44 Duration: 3s938ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 95, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 13:17:16 Duration: 3s824ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 17:58:41 Duration: 3s746ms
10 14 1m36s 4s853ms 12s755ms 6s890ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."policy_id" limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 14 10 1 5s66ms 5s66ms 13 1 4s853ms 4s853ms 15 8 42s158ms 5s269ms 19 4 44s383ms 11s95ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 385;
Date: 2026-07-14 19:59:08 Duration: 12s755ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 385;
Date: 2026-07-14 19:45:58 Duration: 12s256ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-07-14 19:44:55 Duration: 9s743ms
11 14 50s96ms 3s50ms 4s324ms 3s578ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and ((("policy_number"."done" is null or "policy_number"."done" = false) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and ("policy_number"."office_id" in (...)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 14 09 4 13s914ms 3s478ms 10 3 11s436ms 3s812ms 13 1 3s374ms 3s374ms 14 2 6s971ms 3s485ms 16 1 3s307ms 3s307ms 17 2 7s417ms 3s708ms 18 1 3s674ms 3s674ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (78)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-14 09:09:49 Duration: 4s324ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (65)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-14 10:33:18 Duration: 4s190ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (111)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-14 14:13:45 Duration: 3s920ms
12 11 1m57s 9s553ms 13s54ms 10s666ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."policy_id", "shipping_policy"."x_total_shipping_price" asc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 14 10 5 54s798ms 10s959ms 13 2 20s655ms 10s327ms 14 1 10s622ms 10s622ms 17 3 31s254ms 10s418ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id", "shipping_policy"."x_total_shipping_price" ASC LIMIT 100;
Date: 2026-07-14 10:02:11 Duration: 13s54ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id", "shipping_policy"."x_total_shipping_price" ASC LIMIT 100;
Date: 2026-07-14 10:02:31 Duration: 11s100ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id", "shipping_policy"."x_total_shipping_price" ASC LIMIT 100;
Date: 2026-07-14 17:23:58 Duration: 10s958ms
13 10 37s290ms 3s354ms 4s438ms 3s729ms select "collection_policy".id from "collection_policy" where (("collection_policy"."active" = true) and (("collection_policy"."type" = ?) and (("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))))) or ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))))))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id" limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 14 16 2 7s588ms 3s794ms 17 8 29s702ms 3s712ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND (("collection_policy"."type" = 'from_receiver') AND (("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '546036') AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) OR ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '257322') AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))))))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-07-14 17:06:58 Duration: 4s438ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND (("collection_policy"."type" = 'from_receiver') AND (("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '546036') AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) OR ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '257322') AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))))))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-07-14 17:06:58 Duration: 4s4ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND (("collection_policy"."type" = 'from_receiver') AND (("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '546036') AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) OR ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '257322') AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))))))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-07-14 16:33:12 Duration: 3s960ms
14 10 37s164ms 3s177ms 4s308ms 3s716ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 14 17 1 4s302ms 4s302ms 19 2 8s389ms 4s194ms 20 1 3s979ms 3s979ms 23 2 7s153ms 3s576ms Jul 15 00 4 13s338ms 3s334ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (53)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:10:14 Duration: 4s308ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (51)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 17:22:58 Duration: 4s302ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (41)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:29:55 Duration: 4s80ms
15 10 35s192ms 3s243ms 4s57ms 3s519ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false)) and ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."name"::text ilike ?))))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 14 08 1 3s243ms 3s243ms 09 1 3s547ms 3s547ms 11 1 3s253ms 3s253ms 13 1 3s286ms 3s286ms 14 3 11s170ms 3s723ms 15 2 7s181ms 3s590ms 16 1 3s508ms 3s508ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%البدرشين%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (96)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 175;
Date: 2026-07-14 14:48:46 Duration: 4s57ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%الوراق%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (108)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 15:08:54 Duration: 3s604ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%الوراق%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (108)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 15:09:47 Duration: 3s577ms
16 10 34s178ms 3s6ms 4s298ms 3s417ms select "collection_policy".id from "collection_policy" where (("collection_policy"."active" = true) and ("collection_policy"."type" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id" limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 14 02 1 3s330ms 3s330ms 14 2 7s146ms 3s573ms 17 6 19s989ms 3s331ms 21 1 3s712ms 3s712ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND ("collection_policy"."type" = 'from_sender')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-07-14 17:06:37 Duration: 4s298ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND ("collection_policy"."type" = 'from_sender')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-07-14 14:26:29 Duration: 3s842ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND ("collection_policy"."type" = 'from_sender')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-07-14 21:00:43 Duration: 3s712ms
17 8 28s918ms 3s311ms 3s833ms 3s614ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 14 18 4 14s534ms 3s633ms 19 3 11s72ms 3s690ms 20 1 3s311ms 3s311ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 18:17:10 Duration: 3s833ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:02:27 Duration: 3s728ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:51:03 Duration: 3s690ms
18 8 27s590ms 3s308ms 3s545ms 3s448ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false)) and ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."name"::text ilike ?))))) and (false or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 14 13 2 6s671ms 3s335ms 15 3 10s611ms 3s537ms 16 3 10s307ms 3s435ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%382698%'))))) AND (FALSE OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 95, 63, 69)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 95, 63, 69))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 95, 63, 69))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 15:18:23 Duration: 3s545ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%382698%'))))) AND (FALSE OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 95, 63, 69)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 95, 63, 69))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 95, 63, 69))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 15:18:25 Duration: 3s542ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%407038%'))))) AND (FALSE OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 95, 63, 69)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 95, 63, 69))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 95, 63, 69))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 15:18:00 Duration: 3s523ms
19 8 27s229ms 3s201ms 3s582ms 3s403ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false)) and ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."name"::text ilike ?))))) and ((("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("shipping_policy"."state" in (...)) and ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 14 10 1 3s582ms 3s582ms 13 3 9s974ms 3s324ms 17 1 3s537ms 3s537ms 19 1 3s456ms 3s456ms 20 2 6s678ms 3s339ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%عبود%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (107)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 10:02:04 Duration: 3s582ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%دار%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (94)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 17:48:45 Duration: 3s537ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%561300%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (46, 48)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-14 19:42:00 Duration: 3s456ms
20 8 26s873ms 3s141ms 3s706ms 3s359ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."policy_id" limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 14 10 1 3s706ms 3s706ms 11 2 6s943ms 3s471ms 12 3 9s842ms 3s280ms 13 1 3s141ms 3s141ms 17 1 3s239ms 3s239ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."policy_id" LIMIT 200;
Date: 2026-07-14 10:17:15 Duration: 3s706ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (41)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (41))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."policy_id" LIMIT 200;
Date: 2026-07-14 11:45:04 Duration: 3s509ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."policy_id" LIMIT 200;
Date: 2026-07-14 11:54:16 Duration: 3s434ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 12m4s 12m4s 12m4s 1 12m4s copy public.mail_message (id, parent_id, res_id, subtype_id, mail_activity_type_id, author_id, author_guest_id, mail_server_id, create_uid, write_uid, subject, model, record_name, message_type, email_from, message_id, reply_to, email_layout_xmlid, body, is_internal, reply_to_force_new, email_add_signature, date, create_date, write_date) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 14 08 1 12m4s 12m4s -
COPY public.mail_message (id, parent_id, res_id, subtype_id, mail_activity_type_id, author_id, author_guest_id, mail_server_id, create_uid, write_uid, subject, model, record_name, message_type, email_from, message_id, reply_to, email_layout_xmlid, body, is_internal, reply_to_force_new, email_add_signature, date, create_date, write_date) TO stdout;
Date: 2026-07-14 08:22:39 Duration: 12m4s
2 5m33s 5m33s 5m33s 1 5m33s copy public.mail_tracking_value (id, field, old_value_integer, new_value_integer, currency_id, mail_message_id, tracking_sequence, create_uid, write_uid, field_desc, field_type, old_value_char, new_value_char, old_value_text, new_value_text, old_value_datetime, new_value_datetime, create_date, write_date, old_value_float, old_value_monetary, new_value_float, new_value_monetary) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 14 08 1 5m33s 5m33s -
COPY public.mail_tracking_value (id, field, old_value_integer, new_value_integer, currency_id, mail_message_id, tracking_sequence, create_uid, write_uid, field_desc, field_type, old_value_char, new_value_char, old_value_text, new_value_text, old_value_datetime, new_value_datetime, create_date, write_date, old_value_float, old_value_monetary, new_value_float, new_value_monetary) TO stdout;
Date: 2026-07-14 08:28:16 Duration: 5m33s
3 4m48s 4m48s 4m48s 1 4m48s copy public.shipping_track (id, office_id, state_id, warehouse_id, next_office_id, next_warehouse_id, car_id, delegate_id, driver_id, user_id, shipping_id, cash_policy_id, create_uid, write_uid, state, receive_man_id_no, receive_man_id, action_date, change_date, create_date, write_date) to stdout;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 14 08 1 4m48s 4m48s -
COPY public.shipping_track (id, office_id, state_id, warehouse_id, next_office_id, next_warehouse_id, car_id, delegate_id, driver_id, user_id, shipping_id, cash_policy_id, create_uid, write_uid, state, receive_man_id_no, receive_man_id, action_date, change_date, create_date, write_date) TO stdout;
Date: 2026-07-14 08:38:51 Duration: 4m48s
4 3m27s 3m27s 3m27s 1 3m27s copy public.shipping_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, office_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, cash_policy_id, last_driver, last_office, last_car, last_office_warehouse, last_warehouse, destination_office, total_no_items, cancel_shipping_policy, create_uid, write_uid, search_name, name, pol_name, state, review_state, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, return_reason, wating_reason, scan_code, destination_type, state_collection, paid_by_customer, last_action, confirm_date, client_date, archive_date, cancel_date, return_date, wating_date, create_date, active, cash, cheques, total_collection_amount, new_destination_button, edit_cash_button, create_cash_policy_button, client_delivery_button, return_button, delegate_button, old_policy, review_date, write_date, total_amount_cash_lines, cash_amount, collection_amount_sender, collection_amount_receive, total_shipping_price, v_10_id, driver_id, delegate_id, out_date, attachment_date, count_search, notes, return_before, from_poilcy, x_from_poilcy, before_office_id, policy_name, x_review_date, state_id, attachment_user, d_date, d_unlink_delete, zero_date_change, zero_date_change_user, is_change_cash_price, transfer_date, is_imported, client_delivery_user, cash_amount_written, total_shipping_price_written, review_state_department, review_date_department, in_office_date, x_state_hold, x_date_sales, delivery_method_id, x_is_color, x_sales_move_date, x_return_office_id, privous_last_office, privous_last_warehouse, supervious_ids, x_direction_name, x_count_delivery, x_total_shipping_price, x_collection_amount_sender, x_collection_amount_receive, x_total_amount_cash_lines, x_total_shipping_price_written, x_collection_amount_left, x_cash_amount_written, x_is_block_delievery, x_is_update, x_is_inventory, delay_reason_id, return_reason_id, date_sales_policy, is_color_policy, sale_policy_id) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 14 08 1 3m27s 3m27s -
COPY public.shipping_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, office_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, cash_policy_id, last_driver, last_office, last_car, last_office_warehouse, last_warehouse, destination_office, total_no_items, cancel_shipping_policy, create_uid, write_uid, search_name, name, pol_name, state, review_state, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, return_reason, wating_reason, scan_code, destination_type, state_collection, paid_by_customer, last_action, confirm_date, client_date, archive_date, cancel_date, return_date, wating_date, create_date, active, cash, cheques, total_collection_amount, new_destination_button, edit_cash_button, create_cash_policy_button, client_delivery_button, return_button, delegate_button, old_policy, review_date, write_date, total_amount_cash_lines, cash_amount, collection_amount_sender, collection_amount_receive, total_shipping_price, v_10_id, driver_id, delegate_id, out_date, attachment_date, count_search, notes, return_before, from_poilcy, x_from_poilcy, before_office_id, policy_name, x_review_date, state_id, attachment_user, d_date, d_unlink_delete, zero_date_change, zero_date_change_user, is_change_cash_price, transfer_date, is_imported, client_delivery_user, cash_amount_written, total_shipping_price_written, review_state_department, review_date_department, in_office_date, x_state_hold, x_date_sales, delivery_method_id, x_is_color, x_sales_move_date, x_return_office_id, privous_last_office, privous_last_warehouse, supervious_ids, x_direction_name, x_count_delivery, x_total_shipping_price, x_collection_amount_sender, x_collection_amount_receive, x_total_amount_cash_lines, x_total_shipping_price_written, x_collection_amount_left, x_cash_amount_written, x_is_block_delievery, x_is_update, x_is_inventory, delay_reason_id, return_reason_id, date_sales_policy, is_color_policy, sale_policy_id) TO stdout;
Date: 2026-07-14 08:33:17 Duration: 3m27s
5 2m5s 2m5s 2m5s 1 2m5s copy public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 14 08 1 2m5s 2m5s -
COPY public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) TO stdout;
Date: 2026-07-14 08:05:12 Duration: 2m5s
6 1m1s 1m1s 1m1s 1 1m1s copy public.cash_track (id, office_id, user_id, cash_policy_id, create_uid, write_uid, state, receive_man_id, action_date, create_date, write_date, action_date_time) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 14 08 1 1m1s 1m1s -
COPY public.cash_track (id, office_id, user_id, cash_policy_id, create_uid, write_uid, state, receive_man_id, action_date, create_date, write_date, action_date_time) TO stdout;
Date: 2026-07-14 08:08:00 Duration: 1m1s
7 55s365ms 55s365ms 55s365ms 1 55s365ms copy public.cash_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, delivery_method_id, shipping_payment, shipping_payment_at_receive, total_paid_by_sender, total_paid_by_receiver, user_delivered_id, user_confirm_payment_id, create_uid, write_uid, name, pol_name, state, state_previous, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, confirmation_code, source, create_date_policy, confirm_payment_date, receive_main_office_date, confirm_payment_main_office_date, suspended_date, payment_delivered_date, policy_delivered_date, archive_date, flag_date, notes, total_amount_cash_lines_at_receive, cash, cheques, active, old_system_policy, custom_shipping, paid, create_date, write_date, cash_amount, total_amount_cash_lines, v_10_id, sp_id_10, sp_id, attachment_date, count_search, policy_name, attachment_user, change_date_recievable, sale_id, is_more_year, x_delivery_10, x_daily_move_date, is_color_polciy_cash_after_confirm, is_block_delievery, x_total_amount_cash_lines_at_receive, x_shipping_payment_at_receive, x_shipping_payment, x_cash_amount, x_total_amount_cash_lines, x_is_update, x_total_paid_by_sender, x_total_paid_by_receiver, x_daily_movement_id, x_other_daily_movement_id, sale_policy_id) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 14 08 1 55s365ms 55s365ms -
COPY public.cash_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, delivery_method_id, shipping_payment, shipping_payment_at_receive, total_paid_by_sender, total_paid_by_receiver, user_delivered_id, user_confirm_payment_id, create_uid, write_uid, name, pol_name, state, state_previous, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, confirmation_code, source, create_date_policy, confirm_payment_date, receive_main_office_date, confirm_payment_main_office_date, suspended_date, payment_delivered_date, policy_delivered_date, archive_date, flag_date, notes, total_amount_cash_lines_at_receive, cash, cheques, active, old_system_policy, custom_shipping, paid, create_date, write_date, cash_amount, total_amount_cash_lines, v_10_id, sp_id_10, sp_id, attachment_date, count_search, policy_name, attachment_user, change_date_recievable, sale_id, is_more_year, x_delivery_10, x_daily_move_date, is_color_polciy_cash_after_confirm, is_block_delievery, x_total_amount_cash_lines_at_receive, x_shipping_payment_at_receive, x_shipping_payment, x_cash_amount, x_total_amount_cash_lines, x_is_update, x_total_paid_by_sender, x_total_paid_by_receiver, x_daily_movement_id, x_other_daily_movement_id, sale_policy_id) TO stdout;
Date: 2026-07-14 08:06:07 Duration: 55s365ms
8 10s466ms 12s311ms 11s469ms 7 1m20s select "notebook".id from "notebook" where (("notebook"."active" = true) and ("notebook"."id" in ( select "policy_number"."notebook_id" from "policy_number" where (("policy_number"."active" = true) and ("policy_number"."name"::text ilike ?)) and "policy_number"."notebook_id" is not null))) order by "notebook"."id" limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 14 02 2 21s645ms 10s822ms 08 1 11s411ms 11s411ms 13 1 11s759ms 11s759ms 14 2 23s714ms 11s857ms 15 1 11s758ms 11s758ms -
SELECT "notebook".id FROM "notebook" WHERE (("notebook"."active" = true) AND ("notebook"."id" IN ( SELECT "policy_number"."notebook_id" FROM "policy_number" WHERE (("policy_number"."active" = true) AND ("policy_number"."name"::text ilike '%9995221%')) AND "policy_number"."notebook_id" IS NOT NULL))) ORDER BY "notebook"."id" LIMIT 80;
Date: 2026-07-14 14:07:03 Duration: 12s311ms
-
SELECT "notebook".id FROM "notebook" WHERE (("notebook"."active" = true) AND ("notebook"."id" IN ( SELECT "policy_number"."notebook_id" FROM "policy_number" WHERE (("policy_number"."active" = true) AND ("policy_number"."name"::text ilike '%640202%')) AND "policy_number"."notebook_id" IS NOT NULL))) ORDER BY "notebook"."id" LIMIT 80;
Date: 2026-07-14 13:37:56 Duration: 11s759ms
-
SELECT "notebook".id FROM "notebook" WHERE (("notebook"."active" = true) AND ("notebook"."id" IN ( SELECT "policy_number"."notebook_id" FROM "policy_number" WHERE (("policy_number"."active" = true) AND ("policy_number"."name"::text ilike '%237407%')) AND "policy_number"."notebook_id" IS NOT NULL))) ORDER BY "notebook"."id" LIMIT 80;
Date: 2026-07-14 15:59:45 Duration: 11s758ms
9 9s553ms 13s54ms 10s666ms 11 1m57s select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."policy_id", "shipping_policy"."x_total_shipping_price" asc limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 14 10 5 54s798ms 10s959ms 13 2 20s655ms 10s327ms 14 1 10s622ms 10s622ms 17 3 31s254ms 10s418ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id", "shipping_policy"."x_total_shipping_price" ASC LIMIT 100;
Date: 2026-07-14 10:02:11 Duration: 13s54ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id", "shipping_policy"."x_total_shipping_price" ASC LIMIT 100;
Date: 2026-07-14 10:02:31 Duration: 11s100ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id", "shipping_policy"."x_total_shipping_price" ASC LIMIT 100;
Date: 2026-07-14 17:23:58 Duration: 10s958ms
10 7s830ms 10s665ms 9s42ms 38 5m43s select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."customer_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))) or ("shipping_policy"."customer_receive_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 14 10 27 4m1s 8s939ms 11 2 18s171ms 9s85ms 16 1 8s972ms 8s972ms 18 3 30s369ms 10s123ms 23 5 44s709ms 8s941ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-14 10:12:08 Duration: 10s665ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1459))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-14 10:11:25 Duration: 10s536ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1408))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1408))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-14 18:50:48 Duration: 10s263ms
11 5s309ms 10s437ms 8s56ms 19 2m33s select "policy_number".id from "policy_number" where (((((((("policy_number"."active" = true) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 14 13 5 39s262ms 7s852ms 14 5 39s28ms 7s805ms 17 3 24s202ms 8s67ms 18 3 23s646ms 7s882ms 19 2 18s116ms 9s58ms 22 1 8s807ms 8s807ms -
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (8)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%365286%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 14:54:11 Duration: 10s437ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 95, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%620275%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 13:17:07 Duration: 9s501ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 95, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%326718%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 13:19:30 Duration: 9s376ms
12 4s856ms 9s860ms 7s486ms 18 2m14s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 14 17 2 15s518ms 7s759ms 18 1 9s548ms 9s548ms 19 5 38s266ms 7s653ms 20 1 8s675ms 8s675ms 23 4 28s464ms 7s116ms Jul 15 00 5 34s278ms 6s855ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (53)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%673100%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:10:23 Duration: 9s860ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (41)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%647302%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:30:04 Duration: 9s785ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%410975%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 23:30:07 Duration: 9s703ms
13 6s745ms 8s118ms 7s331ms 61 7m27s select "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" from "shipping_report_details" where "shipping_report_details".id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 14 08 1 6s745ms 6s745ms 09 60 7m20s 7s341ms -
SELECT "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" FROM "shipping_report_details" WHERE "shipping_report_details".id IN (22308151, 22184791, 22292277, 22295074, 22185304, 22131537);
Date: 2026-07-14 09:43:07 Duration: 8s118ms
-
SELECT "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" FROM "shipping_report_details" WHERE "shipping_report_details".id IN (22094106, 22219802, 22011220, 22077072, 21865684, 22306485, 22282223);
Date: 2026-07-14 09:48:03 Duration: 7s951ms
-
SELECT "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" FROM "shipping_report_details" WHERE "shipping_report_details".id IN (22201601, 22276999, 22179089, 22135581, 22163772, 22212257, 22032715, 22010441, 22204050, 21893369, 22144280, 22277437, 22274442, 21904100, 22210900, 22285835, 22138552, 21893422, 22150973);
Date: 2026-07-14 09:48:42 Duration: 7s928ms
14 4s853ms 12s755ms 6s890ms 14 1m36s select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."policy_id" limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 14 10 1 5s66ms 5s66ms 13 1 4s853ms 4s853ms 15 8 42s158ms 5s269ms 19 4 44s383ms 11s95ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 385;
Date: 2026-07-14 19:59:08 Duration: 12s755ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 385;
Date: 2026-07-14 19:45:58 Duration: 12s256ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-07-14 19:44:55 Duration: 9s743ms
15 3s354ms 4s438ms 3s729ms 10 37s290ms select "collection_policy".id from "collection_policy" where (("collection_policy"."active" = true) and (("collection_policy"."type" = ?) and (("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))))) or ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))))))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id" limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 14 16 2 7s588ms 3s794ms 17 8 29s702ms 3s712ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND (("collection_policy"."type" = 'from_receiver') AND (("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '546036') AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) OR ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '257322') AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))))))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-07-14 17:06:58 Duration: 4s438ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND (("collection_policy"."type" = 'from_receiver') AND (("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '546036') AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) OR ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '257322') AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))))))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-07-14 17:06:58 Duration: 4s4ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND (("collection_policy"."type" = 'from_receiver') AND (("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '546036') AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) OR ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '257322') AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))))))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 81, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 84, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 69, 86)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-07-14 16:33:12 Duration: 3s960ms
16 3s177ms 4s308ms 3s716ms 10 37s164ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 14 17 1 4s302ms 4s302ms 19 2 8s389ms 4s194ms 20 1 3s979ms 3s979ms 23 2 7s153ms 3s576ms Jul 15 00 4 13s338ms 3s334ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (53)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:10:14 Duration: 4s308ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (51)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 17:22:58 Duration: 4s302ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (41)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:29:55 Duration: 4s80ms
17 3s311ms 3s833ms 3s614ms 8 28s918ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 14 18 4 14s534ms 3s633ms 19 3 11s72ms 3s690ms 20 1 3s311ms 3s311ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 18:17:10 Duration: 3s833ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:02:27 Duration: 3s728ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:51:03 Duration: 3s690ms
18 3s348ms 3s938ms 3s604ms 15 54s74ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 14 13 2 7s498ms 3s749ms 14 2 6s976ms 3s488ms 17 2 7s685ms 3s842ms 18 1 3s593ms 3s593ms 19 6 21s363ms 3s560ms 20 1 3s609ms 3s609ms 22 1 3s348ms 3s348ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 17:57:44 Duration: 3s938ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 58, 75, 28, 50, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 33, 34, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 43, 70, 54, 61, 46, 11, 26, 23, 128, 77, 67, 62, 51, 55, 30, 68, 79, 66, 83, 95, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 13:17:16 Duration: 3s824ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 17:58:41 Duration: 3s746ms
19 3s50ms 4s324ms 3s578ms 14 50s96ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and ((("policy_number"."done" is null or "policy_number"."done" = false) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and ("policy_number"."office_id" in (...)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 14 09 4 13s914ms 3s478ms 10 3 11s436ms 3s812ms 13 1 3s374ms 3s374ms 14 2 6s971ms 3s485ms 16 1 3s307ms 3s307ms 17 2 7s417ms 3s708ms 18 1 3s674ms 3s674ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (78)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-14 09:09:49 Duration: 4s324ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (65)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-14 10:33:18 Duration: 4s190ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (111)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-14 14:13:45 Duration: 3s920ms
20 3s125ms 5s597ms 3s568ms 180 10m42s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 14 02 1 3s364ms 3s364ms 10 3 10s847ms 3s615ms 11 1 3s756ms 3s756ms 12 8 30s512ms 3s814ms 15 9 31s193ms 3s465ms 17 4 15s284ms 3s821ms 18 38 2m19s 3s682ms 19 36 2m10s 3s616ms 20 12 42s110ms 3s509ms 21 15 52s912ms 3s527ms 22 17 59s958ms 3s526ms 23 28 1m35s 3s410ms Jul 15 00 5 16s960ms 3s392ms 01 3 9s772ms 3s257ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 19:51:07 Duration: 5s597ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))))) AND ("policy_number"."name"::text ilike '%58%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 18:29:48 Duration: 5s404ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))))) AND ("policy_number"."name"::text ilike '%880235%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-14 22:35:26 Duration: 4s364ms
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
- 7,150 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 102 FATAL entries
- 2812 ERROR entries
- 0 WARNING entries
- 10 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 2,607 Max number of times the same event was reported
- 2,924 Total events found
Rank Times reported Error 1 2,607 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 14 02 110 03 110 04 110 05 110 06 111 07 104 08 109 09 111 10 110 11 110 12 111 13 110 14 109 15 112 16 110 17 109 18 110 19 110 20 110 21 110 22 110 23 108 Jul 15 00 110 01 83 - ERROR: column res_partner.x_precentage_office does not exist at character 2190
- ERROR: column res_partner.x_precentage_office does not exist at character 2190
- ERROR: column res_partner.x_precentage_office does not exist at character 2190
Statement: SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."x_is_client" AS "x_is_client", "res_partner"."x_precentage_office" AS "x_precentage_office", "res_partner"."signup_type" AS "signup_type", "res_partner"."signup_expiration" AS "signup_expiration" FROM "res_partner" WHERE "res_partner".id IN (2)
Date: 2026-07-14 02:00:28
Statement: SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."x_is_client" AS "x_is_client", "res_partner"."x_precentage_office" AS "x_precentage_office", "res_partner"."signup_type" AS "signup_type", "res_partner"."signup_expiration" AS "signup_expiration" FROM "res_partner" WHERE "res_partner".id IN (2)
Date: 2026-07-14 02:01:10
Statement: SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."x_is_client" AS "x_is_client", "res_partner"."x_precentage_office" AS "x_precentage_office", "res_partner"."signup_type" AS "signup_type", "res_partner"."signup_expiration" AS "signup_expiration" FROM "res_partner" WHERE "res_partner".id IN (2)
Date: 2026-07-14 02:01:34
2 154 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 14 02 2 03 1 07 3 09 2 12 9 13 12 14 11 15 16 16 2 17 7 18 5 19 7 20 14 21 8 22 25 23 14 Jul 15 00 12 01 4 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: UPDATE "urgent_customer" SET "write_date" = '2026-07-14 00:44:24.865039', "write_uid" = 1246 WHERE id IN (5753546, 9816357, 5801912, 9125856, 12956229, 14870296, 12770525, 11096583, 10349700, 5753687, 9171190, 5758786, 8849428, 12221702, 5751868, 14685201, 10161724, 5933531, 5933928, 8279354, 6854894, 8429395, 15124740, 6641601, 6643680, 8095670, 12046795, 5101349, 10045342, 8417802, 14408309, 5698747, 5700343, 15235881, 5785978, 6983240, 5700084, 6029192, 8866219, 11254055, 8146822, 5854775, 11782745, 5113328, 6137447, 5897524, 14194363, 9999819, 5698195, 7487740, 5781670, 7402314, 5895753, 5968197, 6377387, 5747609, 10309604, 10611634, 5694924, 7988726, 7743340, 8443150, 5694872, 15723106, 5726796, 7855830, 9182448, 5830744, 12363237, 6313802, 10332487, 5897520, 14940885, 10284001, 5916237, 5254668, 5704376, 5968362, 6006549, 8467052, 5801307, 8708872, 8850281, 6093000, 5991169, 5104344, 12884165, 5700351, 5890036, 7149063, 11970559, 5852040, 15034032)
Date: 2026-07-14 02:44:41
Statement: UPDATE "shipping_policy" SET "before_office_id" = 28, "write_date" = '2026-07-14 00:46:01.265114', "write_uid" = 1225 WHERE id IN (22337213)
Date: 2026-07-14 02:46:01
Statement: UPDATE "policy_tracking_missing" SET "count" = 1653, "shipping_id" = 22356763, "to_policy_id" = 55089368, "write_date" = '2026-07-14 01:37:12.642404', "write_uid" = 1935 WHERE id IN (18879)
Date: 2026-07-14 03:37:38
3 83 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 14 05 10 07 1 08 14 11 11 14 14 17 11 20 13 23 9 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Date: 2026-07-14 05:00:07
Date: 2026-07-14 05:00:07
Date: 2026-07-14 05:00:07
4 45 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 14 07 1 08 5 11 1 12 5 13 6 14 9 15 4 16 1 17 3 18 1 19 4 20 1 22 2 23 2 - ERROR: syntax error at or near ")" at character 161
- ERROR: syntax error at or near ")" at character 159
- ERROR: syntax error at or near ")" at character 163
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('33552',)
Date: 2026-07-14 07:31:27
Statement: select po.id,policy.name from cash_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('1598466',)
Date: 2026-07-14 08:32:47
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('1598466',)
Date: 2026-07-14 08:33:10
5 14 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #5
Day Hour Count Jul 14 05 2 08 2 11 2 14 2 17 2 20 2 23 2 - FATAL: the database system is shutting down
- FATAL: the database system is shutting down
- FATAL: the database system is shutting down
Date: 2026-07-14 05:00:07
Date: 2026-07-14 05:00:07
Date: 2026-07-14 08:00:07
6 9 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #6
Day Hour Count Jul 14 02 1 05 1 07 1 08 1 11 1 14 1 17 1 20 1 23 1 - LOG: database system was shut down at 2026-07-14 02:00:07 CEST
- LOG: database system was shut down at 2026-07-14 05:00:08 CEST
- LOG: database system was shut down at 2026-07-14 07:20:01 CEST
Date: 2026-07-14 02:00:10
Date: 2026-07-14 05:00:11
Date: 2026-07-14 07:22:15
7 5 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #7
Day Hour Count Jul 14 07 5 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-07-14 07:20:01
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-07-14 07:20:01
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-07-14 07:20:01
8 5 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #8
Day Hour Count Jul 14 12 2 20 3 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 3967666 waits for ShareLock on transaction 81858356; blocked by process 2858631. Process 2858631 waits for ShareLock on transaction 81858367; blocked by process 3967666. Process 3967666: UPDATE "shipping_policy" SET "archive_date" = '2026-07-14', "state" = 'archive', "write_date" = '2026-07-14 10:11:38.143530', "write_uid" = 2040 WHERE id IN (22231398, 22231388, 22231370, 22231366, 22231359, 22231346, 22231342, 22231339, 22231330, 22231323, 22230284, 22229157, 22229153, 22229150, 22229147, 22229146, 22229145, 22229143, 22229138, 22229134, 22229131, 22229127, 22229126, 22229125, 22229123, 22229120, 22229117, 22229116, 22229114, 22229113, 22229112, 22229110, 22229107, 22229106, 22229105, 22229104, 22229103, 22229102, 22229095, 22229094, 22229092, 22229091, 22229089, 22229087, 22229086, 22227620, 22225573, 22225490, 22225459, 22224560, 22224549, 22224538, 22224413, 22223361, 22223358, 22223352, 22223344, 22221029, 22220723, 22220639, 22220579, 22220042, 22219907, 22219775, 22219481, 22219388, 22219367, 22219295, 22219292, 22218870, 22218864, 22218856, 22218845, 22218193, 22218120, 22217346, 22217325, 22216939, 22216801, 22216021, 22215424, 22215343, 22214948, 22214809, 22214784, 22214698, 22214 Process 2858631: update shipping_policy set state_collection='confirm' where id=22206226
Context: while updating tuple (309462,11) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "archive_date" = '2026-07-14', "state" = 'archive', "write_date" = '2026-07-14 10:11:38.143530', "write_uid" = 2040 WHERE id IN (22231398, 22231388, 22231370, 22231366, 22231359, 22231346, 22231342, 22231339, 22231330, 22231323, 22230284, 22229157, 22229153, 22229150, 22229147, 22229146, 22229145, 22229143, 22229138, 22229134, 22229131, 22229127, 22229126, 22229125, 22229123, 22229120, 22229117, 22229116, 22229114, 22229113, 22229112, 22229110, 22229107, 22229106, 22229105, 22229104, 22229103, 22229102, 22229095, 22229094, 22229092, 22229091, 22229089, 22229087, 22229086, 22227620, 22225573, 22225490, 22225459, 22224560, 22224549, 22224538, 22224413, 22223361, 22223358, 22223352, 22223344, 22221029, 22220723, 22220639, 22220579, 22220042, 22219907, 22219775, 22219481, 22219388, 22219367, 22219295, 22219292, 22218870, 22218864, 22218856, 22218845, 22218193, 22218120, 22217346, 22217325, 22216939, 22216801, 22216021, 22215424, 22215343, 22214948, 22214809, 22214784, 22214698, 22214410, 22214394, 22214369, 22214254, 22213610, 22213561, 22213506, 22213496, 22212706, 22212533, 22212528, 22212494, 22212492, 22212482, 22212274, 22212156, 22212009, 22211982, 22211912, 22211892, 22211873, 22211792, 22211587, 22211528, 22211515, 22211495, 22211470, 22209922, 22209921, 22209777, 22209655, 22209455, 22209435, 22209407, 22208739, 22208714, 22208693, 22208495, 22208367, 22208362, 22208240, 22207922, 22207857, 22207638, 22207628, 22207613, 22206892, 22206887, 22206656, 22206494, 22206432, 22206344, 22206226, 22205943, 22204857, 22204822, 22204546, 22204525, 22204206, 22204095, 22203981, 22203506, 22202635, 22202625, 22202357, 22202241, 22202213, 22202017, 22201754, 22201531, 22201530, 22200377, 22200340, 22200020, 22199940, 22199835, 22199469, 22199287, 22199150, 22197790, 22197448)Date: 2026-07-14 12:11:39
Detail: Process 403653 waits for ShareLock on transaction 81866979; blocked by process 3398857. Process 3398857 waits for ShareLock on transaction 81867005; blocked by process 403653. Process 403653: UPDATE "shipping_policy" SET "archive_date" = '2026-07-14', "state" = 'archive', "write_date" = '2026-07-14 10:20:03.702981', "write_uid" = 2040 WHERE id IN (22273828, 22273825, 22273824, 22273823, 22273822, 22273818, 22273813, 22273811, 22273809, 22273807, 22273806, 22273801, 22273800, 22273795, 22273793, 22273791, 22273790, 22273789, 22273788, 22273787, 22273786, 22273784, 22273781, 22273779, 22273778, 22273775, 22273774, 22273773, 22273772, 22273771, 22273765, 22273764, 22272085, 22272084, 22272082, 22271731, 22271730, 22271727, 22269694, 22269138, 22269028, 22268801, 22268740, 22268707, 22268690, 22268396, 22268290, 22268146, 22267990, 22267987, 22267630, 22267568, 22267230, 22267209, 22267186, 22267104, 22267101, 22266950, 22266813, 22266753, 22266585, 22266430, 22266366, 22266364, 22266094, 22265940, 22265912, 22265833, 22265822, 22265556, 22265372, 22265320, 22265312, 22264727, 22263611, 22263603, 22263485, 22263266, 22263221, 22263126, 22263104, 22261653, 22261639, 22261638, 22261628, 22261624, 22260 Process 3398857: update shipping_policy set state_collection='confirm' where id=22213612
Context: while updating tuple (27641,26) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "archive_date" = '2026-07-14', "state" = 'archive', "write_date" = '2026-07-14 10:20:03.702981', "write_uid" = 2040 WHERE id IN (22273828, 22273825, 22273824, 22273823, 22273822, 22273818, 22273813, 22273811, 22273809, 22273807, 22273806, 22273801, 22273800, 22273795, 22273793, 22273791, 22273790, 22273789, 22273788, 22273787, 22273786, 22273784, 22273781, 22273779, 22273778, 22273775, 22273774, 22273773, 22273772, 22273771, 22273765, 22273764, 22272085, 22272084, 22272082, 22271731, 22271730, 22271727, 22269694, 22269138, 22269028, 22268801, 22268740, 22268707, 22268690, 22268396, 22268290, 22268146, 22267990, 22267987, 22267630, 22267568, 22267230, 22267209, 22267186, 22267104, 22267101, 22266950, 22266813, 22266753, 22266585, 22266430, 22266366, 22266364, 22266094, 22265940, 22265912, 22265833, 22265822, 22265556, 22265372, 22265320, 22265312, 22264727, 22263611, 22263603, 22263485, 22263266, 22263221, 22263126, 22263104, 22261653, 22261639, 22261638, 22261628, 22261624, 22260693, 22260692, 22260681, 22260643, 22259933, 22259931, 22259428, 22256853, 22256828, 22256805, 22256761, 22255029, 22254538, 22254533, 22254487, 22252357, 22252337, 22251922, 22251728, 22251666, 22251262, 22251258, 22251251, 22250813, 22250595, 22249316, 22249108, 22249010, 22248961, 22247899, 22247307, 22247146, 22245825, 22244137, 22243436, 22243381, 22243229, 22243211, 22243204, 22243177, 22242783, 22241951, 22241149, 22240746, 22240598, 22239495, 22239475, 22237077, 22236938, 22236577, 22235871, 22235843, 22234857, 22234288, 22234065, 22233148, 22233123, 22233118, 22232989, 22232874, 22232581, 22229132, 22226674, 22219463, 22218248, 22213612, 22212176, 22211520, 22209964, 22207599, 22206893, 22205466, 22200345, 22197601, 22196819, 22186986, 22186638, 22178158, 22169499, 22158684, 22142827, 22141425, 22138557, 22119792, 22090284, 22077784, 22039719, 21615505)Date: 2026-07-14 12:20:05
Detail: Process 294858 waits for ShareLock on transaction 82399352; blocked by process 294861. Process 294861 waits for ShareLock on transaction 82399382; blocked by process 294858. Process 294858: UPDATE "shipping_policy" SET "archive_date" = '2026-07-14', "state" = 'archive', "write_date" = '2026-07-14 18:55:35.525414', "write_uid" = 1951 WHERE id IN (22262738, 22262737, 22261236, 22257751, 22257748, 22257747, 22257744, 22257743, 22257742, 22257740, 22257735, 22257734, 22257733, 22257732, 22257723, 22257722, 22257721, 22257719, 22257716, 22257709, 22257701, 22257698, 22257697, 22257694, 22257693, 22257687, 22257685, 22257683, 22257682, 22257677, 22257675, 22257674, 22257672, 22257668, 22257667, 22257664, 22257663, 22257662, 22257659, 22257657, 22257656, 22257655, 22257652, 22257648, 22257647, 22257646, 22257645, 22257644, 22257643, 22257539, 22257187, 22257186, 22257098, 22256818, 22256783, 22255260, 22255258, 22255240, 22255238, 22255102, 22255053, 22255046, 22254958, 22254913, 22254040, 22254034, 22254023, 22253759, 22253752, 22253747, 22253742, 22253741, 22253452, 22253004, 22253000, 22252775, 22252768, 22252598, 22252510, 22252471, 22252401, 22252384, 22252374, 22252359, 22252249, 22252198, 22252 Process 294861: update shipping_policy set state_collection='confirm' where id=22247944
Context: while updating tuple (328208,9) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "archive_date" = '2026-07-14', "state" = 'archive', "write_date" = '2026-07-14 18:55:35.525414', "write_uid" = 1951 WHERE id IN (22262738, 22262737, 22261236, 22257751, 22257748, 22257747, 22257744, 22257743, 22257742, 22257740, 22257735, 22257734, 22257733, 22257732, 22257723, 22257722, 22257721, 22257719, 22257716, 22257709, 22257701, 22257698, 22257697, 22257694, 22257693, 22257687, 22257685, 22257683, 22257682, 22257677, 22257675, 22257674, 22257672, 22257668, 22257667, 22257664, 22257663, 22257662, 22257659, 22257657, 22257656, 22257655, 22257652, 22257648, 22257647, 22257646, 22257645, 22257644, 22257643, 22257539, 22257187, 22257186, 22257098, 22256818, 22256783, 22255260, 22255258, 22255240, 22255238, 22255102, 22255053, 22255046, 22254958, 22254913, 22254040, 22254034, 22254023, 22253759, 22253752, 22253747, 22253742, 22253741, 22253452, 22253004, 22253000, 22252775, 22252768, 22252598, 22252510, 22252471, 22252401, 22252384, 22252374, 22252359, 22252249, 22252198, 22252158, 22252090, 22251626, 22251623, 22251605, 22251589, 22251584, 22251582, 22251298, 22250939, 22250936, 22250904, 22250616, 22250474, 22249818, 22249684, 22249557, 22249383, 22249362, 22249147, 22249026, 22248417, 22248398, 22248007, 22247999, 22247944, 22247920, 22247502, 22247488, 22247483, 22247214, 22246998, 22246672, 22246558, 22246551, 22246468, 22246446, 22246398, 22246373, 22246183, 22246124, 22245941, 22245797, 22245705, 22245065, 22245037, 22244686, 22244654, 22244031, 22243973, 22243630, 22243284, 22242977, 22242852, 22242688, 22242665, 22242610, 22242602, 22242234, 22242232, 22242230, 22242199, 22242021, 22241933, 22241922, 22241815, 22241505, 22241169, 22241023, 22240627, 22240420, 22240376, 22240352, 22240341, 22240250, 22239974, 22239972, 22239902, 22239785, 22239524, 22239473, 22239392, 22239385, 22239343, 22238748, 22238662, 22238590, 22238313, 22238284, 22238193, 22238174, 22237882, 22237853, 22237802, 22237795, 22237667, 22237630, 22237534, 22237509, 22237482, 22237441, 22237322, 22237095, 22237082, 22237022, 22236890, 22236852, 22236839, 22236804, 22236568, 22236415, 22236386, 22236325, 22236223, 22236120, 22235848, 22235659, 22235181, 22234647, 22234510, 22234508, 22234505, 22234502, 22234489, 22234417, 22234293, 22234277, 22234256, 22234245, 22233937, 22233893, 22233757, 22233740, 22233700, 22233621, 22233497, 22233369, 22233304, 22233293, 22233284, 22232913, 22232910, 22232673, 22232639, 22232399, 22232328, 22227595, 22227589, 22227585, 22226826, 22226819, 22226807, 22226806, 22226804, 22226773, 22226769, 22226766, 22226762, 22226692, 22226691, 22226685, 22226678, 22226677, 22226671, 22226663, 22226075, 22225589, 22225578, 22224544, 22223014, 22222998, 22222985, 22222883, 22222751, 22222481, 22222472, 22222446, 22221004, 22220604, 22220596, 22220266, 22219891, 22219723, 22219580, 22218876, 22218164, 22217843, 22217339, 22215019, 22214829, 22214366, 22214244, 22214067, 22213586, 22213502, 22213457, 22212862, 22212302, 22212063, 22211993, 22211778, 22211191, 22211181, 22211165, 22210720, 22209987, 22209483, 22209461, 22208784, 22208539, 22208242, 22208149, 22208065, 22207795, 22207731, 22207405, 22206713, 22206513, 22206472, 22206247, 22205704, 22205627, 22205447, 22204286, 22204262, 22204125, 22203751, 22203251, 22202628, 22202617, 22202573, 22202128, 22202088, 22201969, 22201195, 22201132, 22201071, 22199846, 22199742, 22199741, 22199390, 22199304, 22199268, 22199241, 22195788, 22195730, 22195722, 22195000, 22194240, 22191334, 22187864, 22187083, 22186643, 22185924, 22184814, 22184703, 22182269, 22181112, 22179978, 22179369, 22177664, 22177479, 22174261, 22173395, 22172253, 22171179, 22170492, 22168482, 22164674, 22162741, 22157237, 22156181, 22153961, 22153871, 22153868, 22145893, 22145255, 22144251, 22144238, 22143974, 22143936, 22135943, 22132802, 22131486, 22125772)Date: 2026-07-14 20:55:37
9 1 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #9
Day Hour Count Jul 14 07 1 - LOG: could not send data to client: Broken pipe
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-07-14 07:20:01
10 1 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #10
Day Hour Count Jul 14 15 1 - ERROR: invalid input syntax for type integer: "s" at character 6887
Statement: SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."x_sales_move_date" AS "x_sales_move_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."x_state_hold" AS "x_state_hold", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."review_date_department" AS "review_date_department", "shipping_policy"."in_office_date" AS "in_office_date", "shipping_policy"."review_state_department" AS "review_state_department", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."x_total_amount_cash_lines" AS "x_total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cash_amount_written" AS "cash_amount_written", "shipping_policy"."x_cash_amount_written" AS "x_cash_amount_written", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."x_collection_amount_sender" AS "x_collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."x_collection_amount_receive" AS "x_collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."privous_last_office" AS "privous_last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."privous_last_warehouse" AS "privous_last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."x_total_shipping_price" AS "x_total_shipping_price", "shipping_policy"."total_shipping_price_written" AS "total_shipping_price_written", "shipping_policy"."x_total_shipping_price_written" AS "x_total_shipping_price_written", "shipping_policy"."delivery_method_id" AS "delivery_method_id", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."x_date_sales" AS "x_date_sales", "shipping_policy"."x_is_color" AS "x_is_color", "shipping_policy"."supervious_ids" AS "supervious_ids", "shipping_policy"."x_count_delivery" AS "x_count_delivery", "shipping_policy"."x_is_block_delievery" AS "x_is_block_delievery", "shipping_policy"."x_is_update" AS "x_is_update", "shipping_policy"."x_is_inventory" AS "x_is_inventory", "shipping_policy"."delay_reason_id" AS "delay_reason_id", "shipping_policy"."return_reason_id" AS "return_reason_id", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."client_delivery_user" AS "client_delivery_user", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."x_return_office_id" AS "x_return_office_id", "shipping_policy"."transfer_date" AS "transfer_date", "shipping_policy"."is_imported" AS "is_imported", "shipping_policy"."x_direction_name" AS "x_direction_name", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."date_sales_policy" AS "date_sales_policy", "shipping_policy"."is_color_policy" AS "is_color_policy", "shipping_policy"."sale_policy_id" AS "sale_policy_id", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN ('s')
Date: 2026-07-14 15:33:41