-
Global information
- Generated on Mon Jul 20 23:45:04 2026
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 14,856 log entries in 3s
- Log start from 2026-07-20 02:00:10 to 2026-07-21 01:44:42
-
Overview
Global Stats
- 152 Number of unique normalized queries
- 1,038 Number of queries
- 2h16m40s Total query duration
- 2026-07-20 02:15:30 First query
- 2026-07-21 01:33:48 Last query
- 4 queries/s at 2026-07-20 19:13:06 Query peak
- 2h16m40s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 2h16m40s Execute total duration
- 2,904 Number of events
- 13 Number of unique normalized events
- 2,606 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
- 1,038 Average queries per session
- 2h16m40s 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
- 4 queries/s Query Peak
- 2026-07-20 19:13:06 Date
SELECT Traffic
Key values
- 4 queries/s Query Peak
- 2026-07-20 19:13:06 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2 queries/s Query Peak
- 2026-07-20 19:53:32 Date
Queries duration
Key values
- 2h16m40s 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 20 02 7 0ms 8s470ms 4s368ms 0ms 3s831ms 12s865ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 1 0ms 19s596ms 19s596ms 0ms 0ms 19s596ms 05 0 0ms 0ms 0ms 0ms 0ms 0ms 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 81 0ms 8s274ms 4s216ms 16s856ms 17s517ms 18s688ms 08 104 0ms 12m43s 26s904ms 1m28s 5m10s 12m47s 09 88 0ms 11s74ms 4s319ms 18s620ms 20s280ms 39s583ms 10 68 0ms 15s874ms 6s681ms 29s164ms 33s726ms 40s69ms 11 52 0ms 12s366ms 3s715ms 10s454ms 13s661ms 28s217ms 12 42 0ms 12s23ms 4s203ms 10s392ms 15s221ms 24s611ms 13 27 0ms 9s830ms 3s816ms 6s616ms 7s98ms 10s92ms 14 41 0ms 15s735ms 4s841ms 10s483ms 14s462ms 33s306ms 15 30 0ms 5s98ms 3s522ms 6s997ms 7s186ms 18s876ms 16 50 0ms 10s200ms 3s914ms 6s808ms 7s51ms 1m 17 31 0ms 5s767ms 3s974ms 7s279ms 8s15ms 18s50ms 18 46 0ms 11s722ms 3s864ms 13s698ms 16s758ms 37s245ms 19 131 0ms 3m44s 8s996ms 33s802ms 42s549ms 7m2s 20 111 0ms 10m35s 10s380ms 30s561ms 55s915ms 10m50s 21 35 0ms 12s528ms 4s866ms 10s485ms 18s463ms 30s508ms 22 34 0ms 11s255ms 4s474ms 10s362ms 18s7ms 27s782ms 23 22 0ms 9s138ms 4s149ms 3s767ms 18s991ms 23s153ms Jul 21 00 25 0ms 3s912ms 3s481ms 3s611ms 13s943ms 21s413ms 01 12 0ms 8s978ms 5s929ms 0ms 3s552ms 45s603ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 20 02 7 0 4s368ms 0ms 0ms 6s725ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 81 0 4s216ms 15s746ms 16s856ms 17s748ms 08 76 28 26s904ms 57s487ms 1m28s 5m55s 09 88 0 4s319ms 13s436ms 18s620ms 21s216ms 10 68 0 6s681ms 16s4ms 29s164ms 34s216ms 11 52 0 3s715ms 6s643ms 10s454ms 13s892ms 12 42 0 4s203ms 3s733ms 10s392ms 15s991ms 13 27 0 3s816ms 3s576ms 6s616ms 9s830ms 14 41 0 4s841ms 5s737ms 10s483ms 15s735ms 15 30 0 3s522ms 3s382ms 6s997ms 7s258ms 16 50 0 3s914ms 3s674ms 6s808ms 32s226ms 17 31 0 3s974ms 4s623ms 7s279ms 8s804ms 18 46 0 3s864ms 3s651ms 13s698ms 27s631ms 19 126 0 4s202ms 19s120ms 26s84ms 41s573ms 20 110 0 4s695ms 20s269ms 29s173ms 55s915ms 21 35 0 4s866ms 4s505ms 10s485ms 19s525ms 22 34 0 4s474ms 3s466ms 10s362ms 27s534ms 23 22 0 4s149ms 0ms 3s767ms 21s898ms Jul 21 00 25 0 3s481ms 0ms 3s611ms 16s951ms 01 12 0 5s929ms 0ms 0ms 45s603ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 20 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 1 0 0 19s596ms 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 5 0 2m9s 0ms 0ms 15s64ms 20 0 0 1 0 10m35s 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 21 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 20 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 21 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% Day Hour Count Average / Second Jul 20 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 21 00 0 0.00/s 01 0 0.00/s Day Hour Count Average Duration Average idle time Jul 20 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 21 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
- 279,712 buffers Checkpoint Peak
- 2026-07-20 04:29:40 Date
- 270.054 seconds Highest write time
- 0.057 seconds Sync time
Checkpoints Wal files
Key values
- 122 files Wal files usage Peak
- 2026-07-20 04:29:40 Date
Checkpoints distance
Key values
- 3,922.59 Mo Distance Peak
- 2026-07-20 04:29:40 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 20 02 75,094 2,968.756s 0.025s 2,968.818s 03 51,281 2,826.204s 0.025s 2,826.265s 04 321,811 2,249.372s 0.037s 2,249.48s 05 56,512 2,453.441s 0.044s 2,453.523s 06 51,072 2,893.183s 0.042s 2,893.265s 07 33,762 2,066.779s 0.038s 2,066.85s 08 68,627 2,875.032s 0.094s 2,875.168s 09 126,511 3,239.495s 0.042s 3,239.596s 10 226,895 3,239.502s 0.041s 3,239.603s 11 253,804 2,970.022s 0.045s 2,970.129s 12 211,720 3,239.458s 0.043s 3,239.562s 13 184,639 3,239.622s 0.04s 3,239.722s 14 174,461 2,969.386s 0.049s 2,969.503s 15 205,704 3,239.501s 0.038s 3,239.598s 16 187,417 3,239.585s 0.048s 3,239.691s 17 198,253 2,969.843s 0.054s 2,969.948s 18 210,311 3,239.519s 0.038s 3,239.608s 19 204,163 3,239.545s 0.045s 3,239.646s 20 192,086 2,969.119s 0.047s 2,969.212s 21 150,220 3,239.534s 0.038s 3,239.628s 22 213,650 3,239.526s 0.039s 3,239.607s 23 174,884 2,969.231s 0.046s 2,969.328s Jul 21 00 143,718 3,239.657s 0.04s 3,239.739s 01 69,717 2,429.667s 0.031s 2,429.727s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 20 02 0 0 33 2,472 0.002s 0.011s 03 0 0 22 2,040 0.002s 0.012s 04 0 0 140 1,834 0.009s 0.012s 05 0 0 21 1,585 0.008s 0.012s 06 0 0 22 1,608 0.019s 0.012s 07 0 0 13 1,435 0.005s 0.011s 08 0 0 22 2,848 0.055s 0.013s 09 0 0 55 3,831 0.003s 0.012s 10 0 0 95 4,125 0.002s 0.012s 11 0 0 105 4,332 0.006s 0.012s 12 0 0 89 4,287 0.002s 0.012s 13 0 0 75 4,238 0.002s 0.012s 14 0 0 66 4,429 0.004s 0.012s 15 0 0 87 4,409 0.002s 0.012s 16 0 0 77 4,453 0.008s 0.012s 17 0 0 84 4,492 0.005s 0.012s 18 0 0 91 4,551 0.002s 0.012s 19 0 0 89 4,634 0.004s 0.012s 20 0 0 80 4,735 0.003s 0.012s 21 0 0 63 4,153 0.002s 0.012s 22 0 0 92 4,304 0.002s 0.012s 23 0 0 73 3,941 0.005s 0.012s Jul 21 00 0 0 59 3,591 0.002s 0.012s 01 0 0 30 2,453 0.004s 0.009s Day Hour Count Avg time (sec) Jul 20 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 21 00 0 0s 01 0 0s Day Hour Mean distance Mean estimate Jul 20 02 49,499.00 kB 70,366.45 kB 03 30,350.33 kB 57,452.92 kB 04 190,935.42 kB 894,997.92 kB 05 28,979.58 kB 119,829.58 kB 06 29,330.75 kB 45,415.33 kB 07 19,629.09 kB 33,735.64 kB 08 27,984.92 kB 42,551.85 kB 09 74,345.50 kB 87,160.83 kB 10 130,262.17 kB 168,062.17 kB 11 142,932.75 kB 171,124.92 kB 12 122,438.25 kB 191,224.92 kB 13 102,233.17 kB 140,793.83 kB 14 90,179.17 kB 107,270.75 kB 15 118,571.50 kB 163,398.58 kB 16 104,944.33 kB 209,839.33 kB 17 115,091.25 kB 152,476.17 kB 18 123,592.00 kB 176,495.42 kB 19 121,012.25 kB 161,907.58 kB 20 109,888.17 kB 147,068.75 kB 21 86,110.75 kB 138,526.33 kB 22 125,495.33 kB 215,605.50 kB 23 99,114.75 kB 178,857.42 kB Jul 21 00 81,224.42 kB 140,711.58 kB 01 54,629.67 kB 93,132.89 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 20 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 21 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 20 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 21 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
- 1,003 Total read queries
- 35 Total write queries
Queries by database
Key values
- unknown Main database
- 1,038 Requests
- 2h16m40s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 1,038 Requests
User Request type Count Duration unknown Total 1,038 2h16m40s copy to 28 38m12s delete 6 21m24s select 1,003 1h16m43s update 1 19s596ms Duration by user
Key values
- 2h16m40s (unknown) Main time consuming user
User Request type Count Duration unknown Total 1,038 2h16m40s copy to 28 38m12s delete 6 21m24s select 1,003 1h16m43s update 1 19s596ms Queries by host
Key values
- unknown Main host
- 1,038 Requests
- 2h16m40s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 1,038 Requests
- 2h16m40s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-07-20 02:38:28 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 982 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 12m43s 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-20 08:23:25 ]
2 10m35s DELETE FROM "cash_policy" WHERE id IN (11331244, 11327808, 11323075, 11320009, 11309921, 11299567, 11299431, 11284151, 11283340, 11279468, 11278395, 11277385, 11276579, 11275757, 11275080, 11274195, 11274172, 11273518, 11268883, 11266683, 11246860, 11236950, 11236949, 11236826, 11236816, 11236815, 11236530, 11236524, 11236470, 11236335, 11235643, 11235211, 11235156, 11235108, 11234117, 11234023, 11233358, 11233129, 11231457, 11229721, 11224234, 11219678, 11209236, 11199209, 11198202, 11176842, 11169617, 11166926, 11166588, 11164429, 11157403, 11142605, 11137481, 11135984, 11135983, 11122001);[ Date: 2026-07-20 20:10:58 ]
3 5m55s 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-20 08:29:24 ]
4 5m10s 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-20 08:40:50 ]
5 3m49s 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-20 08:34:50 ]
6 3m44s DELETE FROM "daily_movement" WHERE id IN (57499, 57484, 57481, 57475, 57463, 57443, 57434, 57372, 57371, 57366, 57342, 57336, 57204, 57152, 57085, 57048, 56875, 56873, 56748, 56617, 56583, 56573, 56530, 56500, 56495, 56412, 56371, 56320, 56315, 56311, 56291, 56280, 56226, 56167, 56034, 56028, 55984, 55975, 55962, 55943, 55942, 55941, 55936, 55935, 55921, 55917, 55916, 55901, 55894, 55893, 55892, 55891, 55885, 55871, 55814, 55806, 55792, 55726, 55657, 55631, 55603, 55589, 55387, 55287, 55178, 55168, 55143, 55137, 55106, 55101, 55072, 55047, 55033, 55027, 54850, 54773, 54766, 54689, 54567, 54450, 54402, 54377, 54281, 54227, 54182, 54145, 54085, 54063);[ Date: 2026-07-20 19:53:32 ]
7 3m40s DELETE FROM "daily_movement" WHERE id IN (57499, 57484, 57481, 57475, 57463, 57443, 57434, 57372, 57371, 57366, 57342, 57336, 57204, 57152, 57085, 57048, 56875, 56873, 56748, 56617, 56583, 56573, 56530, 56500, 56495, 56412, 56371, 56320, 56315, 56311, 56291, 56280, 56226, 56167, 56034, 56028, 55984, 55975, 55962, 55943, 55942, 55941, 55936, 55935, 55921, 55917, 55916, 55901, 55894, 55893, 55892, 55891, 55885, 55871, 55814, 55806, 55792, 55726, 55657, 55631, 55603, 55589, 55387, 55287, 55178, 55168, 55143, 55137, 55106, 55101, 55072, 55047, 55033, 55027, 54850, 54773, 54766, 54689, 54567, 54450, 54402, 54377, 54281, 54227, 54182, 54145, 54085, 54063);[ Date: 2026-07-20 19:57:13 ]
8 3m4s DELETE FROM "mail_message" WHERE id IN (208652684, 208652683, 208647157, 208647156, 208646531, 208646530, 208645595, 208645594, 208625033, 208625032, 208624311, 208624310, 208620428, 208620427, 208618327, 208618326, 208605843, 208605842, 208591125, 208591121, 208585498, 208585497, 208568808, 208568807, 208554448, 208554447, 208527827, 208527826, 208526031, 208526030, 208283354, 208283353, 208280866, 208280865, 208271185, 208271184, 208220596, 208220593, 208219318, 208219317, 208218697, 208218696, 208214594, 208214593, 208213903, 208213902, 208145299, 208145297, 208118251, 208118249, 208115079, 208115078, 207982043, 207982042, 207981998, 207981997, 207981968, 207981967, 207696017, 207696016, 207673833, 207673832, 207387778, 207387777, 207383234, 207383231, 207054245, 207054244, 207054243, 207054242, 207054240, 207054239, 206981278, 206981277, 206977622, 206977621, 206341281, 206341280, 206295558, 206295557, 206291741, 206291740, 206285641, 206285640, 205851603, 205851602, 205719543, 205719542, 205415100, 205415099, 205379215, 205379214, 205298431, 205298425, 205297571, 205297570, 205093051, 205093050, 205092303, 205092302, 205035364, 205035363, 205017906, 205017905, 205017836, 205017835, 204940976, 204940975, 204940674, 204940673, 204940624, 204940623, 204873441, 204873440, 204847526, 204847525, 204588093, 204588092, 204514042, 204514041, 204394724, 204394723, 204381405, 204381404, 204380986, 204380985, 204107137, 204107136, 204101040, 204101039, 204101013, 204101012, 204097691, 204097690, 204096183, 204096182, 204096176, 204096175, 204093824, 204093823, 204092318, 204092317, 204071417, 204071416, 204060955, 204060954, 204060834, 204060829, 204053461, 204053460, 204047315, 204047314, 203758803, 203758802, 203734872, 203734871, 203734270, 203734269, 203620799, 203620798, 203619691, 203619690, 203187741, 203187740, 203186779, 203186778, 203178806, 203178805, 203177022, 203177021, 202887548, 202887547, 202885250, 202885249, 202885156, 202885155, 202863056, 202863055, 202862998, 202862997, 202862930, 202862929, 202855287, 202855286, 202855121, 202855120, 202854047, 202854046, 202854043, 202854042, 202851472, 202851471, 202836602, 202836601, 202834283, 202834281, 202833324, 202833323, 202832888, 202832887, 202832859, 202832858, 202832663, 202832662, 202832443, 202832442, 202832310, 202832309, 202832303, 202832302, 202831809, 202831808, 202829866, 202829865, 202829769, 202829768, 202827984, 202827983, 202824455, 202824454, 202817481, 202817480, 202816364, 202816359, 202815836, 202815835, 202814362, 202814361, 202813258, 202813257, 202812919, 202812918, 202810206, 202810205, 202810019, 202810018, 202802293, 202802292, 202802139, 202802138, 202801467, 202801466, 202800668, 202800667, 202764655, 202764654, 202764473, 202764472, 202760123, 202760122, 202759924, 202759923, 202753963, 202753962, 202753817, 202753816, 202752142, 202752141, 202751967, 202751966, 202733921, 202733920, 202733393, 202733392, 202520380, 202520379, 202520322, 202520321, 202487913, 202487912, 202487155, 202487154, 202471219, 202471218, 202466183, 202466181, 202346612, 202346611, 202346539, 202346538, 202282047, 202282046, 202141586, 202141585, 202120206, 202120205, 201995316, 201995313, 201994457, 201994456, 201993834, 201993833, 201826032, 201826031, 201707038, 201707037, 201706871, 201706870, 201458747, 201458721, 201456772, 201456771, 201434717, 201434716, 201422252, 201422251, 201420659, 201420658, 201388847, 201388846, 201388753, 201388752, 200791842, 200791841, 200780909, 200780908, 200109863, 200109861, 200101226, 200101224, 200101156, 200101155, 199669043, 199669042, 199663258, 199663257, 199662978, 199662977, 199656535, 199656534, 199656227, 199656226, 199621181, 199621180, 199608560, 199608558, 199607179, 199607178, 199605974, 199605973, 199589548, 199589547, 199359411, 199359410, 199352827, 199352826, 199352026, 199352025, 199344366, 199344365, 199317652, 199317651, 199287935, 199287934, 199287896, 199287895, 199222904, 199222903, 199217304, 199217303, 198993190, 198993188, 198992960, 198992959, 198992946, 198992945, 198969103, 198969101, 198967122, 198967121, 198966896, 198966895, 198344875, 198344874, 198344538, 198344537, 197990321, 197990320, 197972759, 197972758, 197959661, 197959660, 197954633, 197954632, 197610875, 197610874, 197578653, 197578652, 197578163, 197578162, 197123534, 197123533, 197099640, 197099639, 196473087, 196473085, 196471782, 196471781, 196430999, 196430998, 196369613, 196369610, 196360481, 196360480, 196360388, 196360387, 196180427, 196180426, 195854683, 195854682, 195854106, 195854105, 195735167, 195735165, 195734514, 195734513, 195461734, 195461733, 195460451, 195460450, 195448689, 195448688, 195380954, 195380953, 195366398, 195366395, 195059868, 195059867, 195048807, 195048806, 194994510, 194994509, 194992949, 194992948);[ Date: 2026-07-20 19:53:32 ]
9 2m7s COPY public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) TO stdout;[ Date: 2026-07-20 08:05:13 ]
10 1m2s 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-20 08:08:03 ]
11 55s599ms 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-20 08:06:09 ]
12 48s990ms 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-20 08:30:16 ]
13 46s271ms COPY public.cash_policy_tracking (id, create_uid, write_uid, name, shipping_id, cash_id, create_date, write_date) TO stdout;[ Date: 2026-07-20 08:07:01 ]
14 43s799ms 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-20 08:35:35 ]
15 36s910ms COPY public.mail_followers (id, res_id, partner_id, res_model) TO stdout;[ Date: 2026-07-20 08:09:59 ]
16 35s918ms 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-20 08:41:26 ]
17 32s108ms 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-20 08:09:03 ]
18 28s730ms 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-20 08:10:41 ]
19 23s620ms 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-20 08:30:42 ]
20 20s471ms 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-20 08:08:24 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 17m42s 241 3s284ms 9s754ms 4s406ms select "bus_bus".id from "bus_bus" where (("bus_bus"."id" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 20 07 80 5m37s 4s222ms 09 71 5m11s 4s383ms 10 9 38s906ms 4s322ms 19 29 2m 4s146ms 20 52 4m13s 4s882ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."id" > '9086463') AND ("bus_bus"."channel" in ('["urg16","mail.channel",14052]', '["urg16","mail.channel",14891]', '["urg16","mail.channel",18436]', '["urg16","mail.channel",19165]', '["urg16","mail.channel",19284]', '["urg16","mail.channel",17807]', '["urg16","mail.channel",18054]', '["urg16","mail.channel",17828]', '["urg16","mail.channel",19469]', '["urg16","mail.channel",18694]', '["urg16","mail.channel",13053]', '["urg16","mail.channel",19023]', '["urg16","mail.channel",13382]', '["urg16","mail.channel",19325]', '["urg16","mail.channel",16097]', '["urg16","mail.channel",17174]', '["urg16","mail.channel",19398]', '["urg16","mail.channel",17903]', '["urg16","mail.channel",15999]', '["urg16","mail.channel",19199]', '["urg16","mail.channel",17359]', '["urg16","mail.channel",15208]', '["urg16","mail.channel",16776]', '["urg16","mail.channel",15946]', '["urg16","mail.channel",16321]', '["urg16","mail.channel",15000]', '["urg16","mail.channel",14051]', '["urg16","mail.channel",19274]', '["urg16","mail.channel",17361]', '["urg16","mail.channel",16040]', '["urg16","mail.channel",16705]', '["urg16","mail.channel",16769]', '["urg16","mail.channel",18755]', '["urg16","mail.channel",19002]', '["urg16","mail.channel",18282]', '["urg16","mail.channel",18291]', '["urg16","mail.channel",15420]', '["urg16","mail.channel",18483]', '["urg16","mail.channel",19569]', '["urg16","mail.channel",13635]', '["urg16","mail.channel",13525]', '["urg16","broadcast"]', '["urg16","mail.channel",18165]', '["urg16","mail.channel",16243]', '["urg16","mail.channel",19132]', '["urg16","mail.channel",17219]', '["urg16","mail.channel",15141]', '["urg16","mail.channel",16163]', '["urg16","mail.channel",18405]', '["urg16","mail.channel",19363]', '["urg16","mail.channel",14695]', '["urg16","mail.channel",15845]', '["urg16","mail.channel",16528]', '["urg16","mail.channel",13712]', '["urg16","mail.channel",18215]', '["urg16","mail.channel",16119]', '["urg16","mail.channel",15408]', '["urg16","mail.channel",17031]', '["urg16","mail.channel",15774]', '["urg16","mail.channel",15957]', '["urg16","mail.channel",18190]', '["urg16","mail.channel",16942]', '["urg16","mail.channel",15694]', '["urg16","mail.channel",15648]', '["urg16","mail.channel",17088]', '["urg16","mail.channel",14519]', '["urg16","mail.channel",13634]', '["urg16","mail.channel",18738]', '["urg16","mail.channel",19351]', '["urg16","mail.channel",14747]', '["urg16","mail.channel",16306]', '["urg16","mail.channel",15067]', '["urg16","mail.channel",15924]', '["urg16","mail.channel",17721]', '["urg16","res.partner",8007534]', '["urg16","mail.channel",17202]', '["urg16","mail.channel",15707]', '["urg16","mail.channel",19017]', '["urg16","mail.channel",14050]', '["urg16","mail.channel",16164]', '["urg16","mail.channel",16594]', '["urg16","mail.channel",15938]', '["urg16","mail.channel",13723]', '["urg16","mail.channel",18946]'))) ORDER BY "bus_bus"."id";
Date: 2026-07-20 20:00:36 Duration: 9s754ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."id" > '9086463') AND ("bus_bus"."channel" in ('["urg16","mail.channel",17088]', '["urg16","mail.channel",15648]', '["urg16","mail.channel",18165]', '["urg16","mail.channel",14519]', '["urg16","mail.channel",19351]', '["urg16","mail.channel",14695]', '["urg16","mail.channel",17721]', '["urg16","mail.channel",16528]', '["urg16","mail.channel",13712]', '["urg16","broadcast"]', '["urg16","mail.channel",18215]', '["urg16","mail.channel",17202]', '["urg16","mail.channel",15707]', '["urg16","mail.channel",16119]', '["urg16","mail.channel",15408]', '["urg16","mail.channel",19017]', '["urg16","mail.channel",14050]', '["urg16","mail.channel",16594]', '["urg16","mail.channel",15938]', '["urg16","mail.channel",13723]', '["urg16","mail.channel",18946]', '["urg16","mail.channel",14052]', '["urg16","mail.channel",14891]', '["urg16","mail.channel",18436]', '["urg16","mail.channel",13634]', '["urg16","mail.channel",18738]', '["urg16","mail.channel",19284]', '["urg16","mail.channel",19165]', '["urg16","mail.channel",14747]', '["urg16","mail.channel",16306]', '["urg16","mail.channel",17828]', '["urg16","mail.channel",15067]', '["urg16","mail.channel",15924]', '["urg16","mail.channel",19469]', '["urg16","mail.channel",18694]', '["urg16","mail.channel",13053]', '["urg16","mail.channel",19023]', '["urg16","mail.channel",13382]', '["urg16","mail.channel",19325]', '["urg16","mail.channel",17174]', '["urg16","mail.channel",19398]', '["urg16","mail.channel",17903]', '["urg16","mail.channel",16164]', '["urg16","mail.channel",15999]', '["urg16","mail.channel",19199]', '["urg16","mail.channel",17359]', '["urg16","mail.channel",15208]', '["urg16","mail.channel",16776]', '["urg16","mail.channel",17807]', '["urg16","mail.channel",16321]', '["urg16","mail.channel",15000]', '["urg16","mail.channel",18054]', '["urg16","mail.channel",19274]', '["urg16","res.partner",8007534]', '["urg16","mail.channel",17361]', '["urg16","mail.channel",16040]', '["urg16","mail.channel",16705]', '["urg16","mail.channel",16769]', '["urg16","mail.channel",19002]', '["urg16","mail.channel",18282]', '["urg16","mail.channel",18291]', '["urg16","mail.channel",18483]', '["urg16","mail.channel",19569]', '["urg16","mail.channel",13635]', '["urg16","mail.channel",16097]', '["urg16","mail.channel",16243]', '["urg16","mail.channel",19132]', '["urg16","mail.channel",17219]', '["urg16","mail.channel",15141]', '["urg16","mail.channel",16163]', '["urg16","mail.channel",18405]', '["urg16","mail.channel",19363]', '["urg16","mail.channel",15946]', '["urg16","mail.channel",15845]', '["urg16","mail.channel",14051]', '["urg16","mail.channel",18755]', '["urg16","mail.channel",17031]', '["urg16","mail.channel",15774]', '["urg16","mail.channel",15957]', '["urg16","mail.channel",15420]', '["urg16","mail.channel",18190]', '["urg16","mail.channel",16942]', '["urg16","mail.channel",13525]', '["urg16","mail.channel",15694]'))) ORDER BY "bus_bus"."id";
Date: 2026-07-20 07:22:38 Duration: 8s274ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."id" > '9086463') AND ("bus_bus"."channel" in ('["urg16","mail.channel",19325]', '["urg16","mail.channel",16097]', '["urg16","mail.channel",17174]', '["urg16","mail.channel",19398]', '["urg16","mail.channel",17903]', '["urg16","mail.channel",15999]', '["urg16","mail.channel",19199]', '["urg16","mail.channel",17359]', '["urg16","mail.channel",15208]', '["urg16","mail.channel",16776]', '["urg16","broadcast"]', '["urg16","mail.channel",15946]', '["urg16","mail.channel",16321]', '["urg16","mail.channel",15000]', '["urg16","mail.channel",14051]', '["urg16","mail.channel",19274]', '["urg16","mail.channel",17361]', '["urg16","mail.channel",16040]', '["urg16","mail.channel",16705]', '["urg16","mail.channel",16769]', '["urg16","mail.channel",18755]', '["urg16","mail.channel",19002]', '["urg16","mail.channel",18282]', '["urg16","res.partner",8007534]', '["urg16","mail.channel",18291]', '["urg16","mail.channel",15420]', '["urg16","mail.channel",18483]', '["urg16","mail.channel",19569]', '["urg16","mail.channel",13635]', '["urg16","mail.channel",13525]', '["urg16","mail.channel",18165]', '["urg16","mail.channel",16243]', '["urg16","mail.channel",19132]', '["urg16","mail.channel",17219]', '["urg16","mail.channel",15141]', '["urg16","mail.channel",16163]', '["urg16","mail.channel",18405]', '["urg16","mail.channel",19363]', '["urg16","mail.channel",14695]', '["urg16","mail.channel",15845]', '["urg16","mail.channel",16528]', '["urg16","mail.channel",13712]', '["urg16","mail.channel",18215]', '["urg16","mail.channel",16119]', '["urg16","mail.channel",15408]', '["urg16","mail.channel",17031]', '["urg16","mail.channel",15774]', '["urg16","mail.channel",15957]', '["urg16","mail.channel",18190]', '["urg16","mail.channel",16942]', '["urg16","mail.channel",15694]', '["urg16","mail.channel",17088]', '["urg16","mail.channel",15648]', '["urg16","mail.channel",14519]', '["urg16","mail.channel",13634]', '["urg16","mail.channel",18738]', '["urg16","mail.channel",19351]', '["urg16","mail.channel",14747]', '["urg16","mail.channel",16306]', '["urg16","mail.channel",15067]', '["urg16","mail.channel",17721]', '["urg16","mail.channel",17202]', '["urg16","mail.channel",15707]', '["urg16","mail.channel",19017]', '["urg16","mail.channel",14050]', '["urg16","mail.channel",16164]', '["urg16","mail.channel",16594]', '["urg16","mail.channel",15938]', '["urg16","mail.channel",13723]', '["urg16","mail.channel",18946]', '["urg16","mail.channel",14052]', '["urg16","mail.channel",14891]', '["urg16","mail.channel",18436]', '["urg16","mail.channel",19165]', '["urg16","mail.channel",19284]', '["urg16","mail.channel",17807]', '["urg16","mail.channel",18054]', '["urg16","mail.channel",17828]', '["urg16","mail.channel",15924]', '["urg16","mail.channel",19469]', '["urg16","mail.channel",18694]', '["urg16","mail.channel",13053]', '["urg16","mail.channel",19023]', '["urg16","mail.channel",13382]'))) ORDER BY "bus_bus"."id";
Date: 2026-07-20 19:52:08 Duration: 6s967ms
2 13m1s 218 3s147ms 5s737ms 3s585ms 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 20 02 2 6s725ms 3s362ms 09 2 7s397ms 3s698ms 10 1 4s80ms 4s80ms 11 3 11s101ms 3s700ms 12 6 23s728ms 3s954ms 14 12 43s790ms 3s649ms 15 2 7s258ms 3s629ms 17 7 25s454ms 3s636ms 18 35 2m2s 3s507ms 19 57 3m23s 3s566ms 20 17 1m2s 3s705ms 21 19 1m8s 3s630ms 22 17 1m1s 3s610ms 23 17 59s413ms 3s494ms Jul 21 00 21 1m13s 3s486ms -
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)))))))) AND ("policy_number"."name"::text ilike '%7%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 18:30:27 Duration: 5s737ms
-
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 ("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 '%5%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 19:59:35 Duration: 4s721ms
-
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 (114))))))) 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 (114)))))) 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 (114)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (114)))))) 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 (114))))))))) 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 (114)))))))) AND ("policy_number"."name"::text ilike '%4%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 22:35:34 Duration: 4s393ms
3 12m43s 1 12m43s 12m43s 12m43s 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 #3
Day Hour Count Duration Avg duration Jul 20 08 1 12m43s 12m43s -
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-20 08:23:25 Duration: 12m43s
4 10m35s 1 10m35s 10m35s 10m35s delete from "cash_policy" where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 20 20 1 10m35s 10m35s -
DELETE FROM "cash_policy" WHERE id IN (11331244, 11327808, 11323075, 11320009, 11309921, 11299567, 11299431, 11284151, 11283340, 11279468, 11278395, 11277385, 11276579, 11275757, 11275080, 11274195, 11274172, 11273518, 11268883, 11266683, 11246860, 11236950, 11236949, 11236826, 11236816, 11236815, 11236530, 11236524, 11236470, 11236335, 11235643, 11235211, 11235156, 11235108, 11234117, 11234023, 11233358, 11233129, 11231457, 11229721, 11224234, 11219678, 11209236, 11199209, 11198202, 11176842, 11169617, 11166926, 11166588, 11164429, 11157403, 11142605, 11137481, 11135984, 11135983, 11122001);
Date: 2026-07-20 20:10:58 Duration: 10m35s
5 7m25s 2 3m40s 3m44s 3m42s delete from "daily_movement" where id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 20 19 2 7m25s 3m42s -
DELETE FROM "daily_movement" WHERE id IN (57499, 57484, 57481, 57475, 57463, 57443, 57434, 57372, 57371, 57366, 57342, 57336, 57204, 57152, 57085, 57048, 56875, 56873, 56748, 56617, 56583, 56573, 56530, 56500, 56495, 56412, 56371, 56320, 56315, 56311, 56291, 56280, 56226, 56167, 56034, 56028, 55984, 55975, 55962, 55943, 55942, 55941, 55936, 55935, 55921, 55917, 55916, 55901, 55894, 55893, 55892, 55891, 55885, 55871, 55814, 55806, 55792, 55726, 55657, 55631, 55603, 55589, 55387, 55287, 55178, 55168, 55143, 55137, 55106, 55101, 55072, 55047, 55033, 55027, 54850, 54773, 54766, 54689, 54567, 54450, 54402, 54377, 54281, 54227, 54182, 54145, 54085, 54063);
Date: 2026-07-20 19:53:32 Duration: 3m44s
-
DELETE FROM "daily_movement" WHERE id IN (57499, 57484, 57481, 57475, 57463, 57443, 57434, 57372, 57371, 57366, 57342, 57336, 57204, 57152, 57085, 57048, 56875, 56873, 56748, 56617, 56583, 56573, 56530, 56500, 56495, 56412, 56371, 56320, 56315, 56311, 56291, 56280, 56226, 56167, 56034, 56028, 55984, 55975, 55962, 55943, 55942, 55941, 55936, 55935, 55921, 55917, 55916, 55901, 55894, 55893, 55892, 55891, 55885, 55871, 55814, 55806, 55792, 55726, 55657, 55631, 55603, 55589, 55387, 55287, 55178, 55168, 55143, 55137, 55106, 55101, 55072, 55047, 55033, 55027, 54850, 54773, 54766, 54689, 54567, 54450, 54402, 54377, 54281, 54227, 54182, 54145, 54085, 54063);
Date: 2026-07-20 19:57:13 Duration: 3m40s
6 7m2s 58 6s722ms 8s710ms 7s281ms 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 #6
Day Hour Count Duration Avg duration Jul 20 08 58 7m2s 7s281ms -
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 (22337195, 22367790, 21996109, 22356907, 22265890);
Date: 2026-07-20 08:49:44 Duration: 8s710ms
-
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 (22067880, 22018386, 21982281, 22307973, 22074724, 22292384, 22389840, 22409273, 22358761, 22054301, 22430031, 22005685, 22351883, 22201991, 22370969, 22023069, 22420376, 22397494, 22418124, 22409448, 20298251, 22309180, 22359238, 22391779, 22327325, 22158902, 22391661, 22422434, 22468691, 22441907, 22005625, 22464611, 22395584, 22388364, 21980501, 22397273, 22434859, 22420912, 22424376, 22402117, 22364697, 22301177, 22266986, 22313345, 21906317, 22393634, 22424967, 22346767, 22388394, 22357585, 22398180, 22073349);
Date: 2026-07-20 08:51:07 Duration: 8s71ms
-
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 (22420898, 22308288, 22365498, 22332205, 22389920, 22165396, 22425540, 22163267, 22220625, 22422358, 22432807, 22013590, 22363232, 22394519, 21402873, 22427813, 22428241);
Date: 2026-07-20 08:52:15 Duration: 8s26ms
7 5m55s 1 5m55s 5m55s 5m55s 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 #7
Day Hour Count Duration Avg duration Jul 20 08 1 5m55s 5m55s -
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-20 08:29:24 Duration: 5m55s
8 5m10s 1 5m10s 5m10s 5m10s 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 #8
Day Hour Count Duration Avg duration Jul 20 08 1 5m10s 5m10s -
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-20 08:40:50 Duration: 5m10s
9 4m14s 34 4s902ms 10s200ms 7s474ms 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 20 02 1 8s470ms 8s470ms 16 4 28s322ms 7s80ms 19 5 32s416ms 6s483ms 20 9 1m16s 8s530ms 22 4 32s771ms 8s192ms 23 2 14s596ms 7s298ms Jul 21 01 9 1m 6s754ms -
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)))) AND ("policy_number"."name"::text ilike '%289533%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 16:21:33 Duration: 10s200ms
-
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 '%757953%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 20:04:18 Duration: 10s100ms
-
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 (27)))))) 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 '%236929%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 20:45:33 Duration: 10s16ms
10 3m49s 1 3m49s 3m49s 3m49s 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 #10
Day Hour Count Duration Avg duration Jul 20 08 1 3m49s 3m49s -
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-20 08:34:50 Duration: 3m49s
11 3m4s 1 3m4s 3m4s 3m4s delete from "mail_message" where id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 20 19 1 3m4s 3m4s -
DELETE FROM "mail_message" WHERE id IN (208652684, 208652683, 208647157, 208647156, 208646531, 208646530, 208645595, 208645594, 208625033, 208625032, 208624311, 208624310, 208620428, 208620427, 208618327, 208618326, 208605843, 208605842, 208591125, 208591121, 208585498, 208585497, 208568808, 208568807, 208554448, 208554447, 208527827, 208527826, 208526031, 208526030, 208283354, 208283353, 208280866, 208280865, 208271185, 208271184, 208220596, 208220593, 208219318, 208219317, 208218697, 208218696, 208214594, 208214593, 208213903, 208213902, 208145299, 208145297, 208118251, 208118249, 208115079, 208115078, 207982043, 207982042, 207981998, 207981997, 207981968, 207981967, 207696017, 207696016, 207673833, 207673832, 207387778, 207387777, 207383234, 207383231, 207054245, 207054244, 207054243, 207054242, 207054240, 207054239, 206981278, 206981277, 206977622, 206977621, 206341281, 206341280, 206295558, 206295557, 206291741, 206291740, 206285641, 206285640, 205851603, 205851602, 205719543, 205719542, 205415100, 205415099, 205379215, 205379214, 205298431, 205298425, 205297571, 205297570, 205093051, 205093050, 205092303, 205092302, 205035364, 205035363, 205017906, 205017905, 205017836, 205017835, 204940976, 204940975, 204940674, 204940673, 204940624, 204940623, 204873441, 204873440, 204847526, 204847525, 204588093, 204588092, 204514042, 204514041, 204394724, 204394723, 204381405, 204381404, 204380986, 204380985, 204107137, 204107136, 204101040, 204101039, 204101013, 204101012, 204097691, 204097690, 204096183, 204096182, 204096176, 204096175, 204093824, 204093823, 204092318, 204092317, 204071417, 204071416, 204060955, 204060954, 204060834, 204060829, 204053461, 204053460, 204047315, 204047314, 203758803, 203758802, 203734872, 203734871, 203734270, 203734269, 203620799, 203620798, 203619691, 203619690, 203187741, 203187740, 203186779, 203186778, 203178806, 203178805, 203177022, 203177021, 202887548, 202887547, 202885250, 202885249, 202885156, 202885155, 202863056, 202863055, 202862998, 202862997, 202862930, 202862929, 202855287, 202855286, 202855121, 202855120, 202854047, 202854046, 202854043, 202854042, 202851472, 202851471, 202836602, 202836601, 202834283, 202834281, 202833324, 202833323, 202832888, 202832887, 202832859, 202832858, 202832663, 202832662, 202832443, 202832442, 202832310, 202832309, 202832303, 202832302, 202831809, 202831808, 202829866, 202829865, 202829769, 202829768, 202827984, 202827983, 202824455, 202824454, 202817481, 202817480, 202816364, 202816359, 202815836, 202815835, 202814362, 202814361, 202813258, 202813257, 202812919, 202812918, 202810206, 202810205, 202810019, 202810018, 202802293, 202802292, 202802139, 202802138, 202801467, 202801466, 202800668, 202800667, 202764655, 202764654, 202764473, 202764472, 202760123, 202760122, 202759924, 202759923, 202753963, 202753962, 202753817, 202753816, 202752142, 202752141, 202751967, 202751966, 202733921, 202733920, 202733393, 202733392, 202520380, 202520379, 202520322, 202520321, 202487913, 202487912, 202487155, 202487154, 202471219, 202471218, 202466183, 202466181, 202346612, 202346611, 202346539, 202346538, 202282047, 202282046, 202141586, 202141585, 202120206, 202120205, 201995316, 201995313, 201994457, 201994456, 201993834, 201993833, 201826032, 201826031, 201707038, 201707037, 201706871, 201706870, 201458747, 201458721, 201456772, 201456771, 201434717, 201434716, 201422252, 201422251, 201420659, 201420658, 201388847, 201388846, 201388753, 201388752, 200791842, 200791841, 200780909, 200780908, 200109863, 200109861, 200101226, 200101224, 200101156, 200101155, 199669043, 199669042, 199663258, 199663257, 199662978, 199662977, 199656535, 199656534, 199656227, 199656226, 199621181, 199621180, 199608560, 199608558, 199607179, 199607178, 199605974, 199605973, 199589548, 199589547, 199359411, 199359410, 199352827, 199352826, 199352026, 199352025, 199344366, 199344365, 199317652, 199317651, 199287935, 199287934, 199287896, 199287895, 199222904, 199222903, 199217304, 199217303, 198993190, 198993188, 198992960, 198992959, 198992946, 198992945, 198969103, 198969101, 198967122, 198967121, 198966896, 198966895, 198344875, 198344874, 198344538, 198344537, 197990321, 197990320, 197972759, 197972758, 197959661, 197959660, 197954633, 197954632, 197610875, 197610874, 197578653, 197578652, 197578163, 197578162, 197123534, 197123533, 197099640, 197099639, 196473087, 196473085, 196471782, 196471781, 196430999, 196430998, 196369613, 196369610, 196360481, 196360480, 196360388, 196360387, 196180427, 196180426, 195854683, 195854682, 195854106, 195854105, 195735167, 195735165, 195734514, 195734513, 195461734, 195461733, 195460451, 195460450, 195448689, 195448688, 195380954, 195380953, 195366398, 195366395, 195059868, 195059867, 195048807, 195048806, 194994510, 194994509, 194992949, 194992948);
Date: 2026-07-20 19:53:32 Duration: 3m4s
12 2m7s 1 2m7s 2m7s 2m7s copy public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 20 08 1 2m7s 2m7s -
COPY public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) TO stdout;
Date: 2026-07-20 08:05:13 Duration: 2m7s
13 2m1s 35 3s123ms 4s436ms 3s460ms 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 #13
Day Hour Count Duration Avg duration Jul 20 09 2 6s728ms 3s364ms 11 3 10s431ms 3s477ms 12 6 20s225ms 3s370ms 13 5 16s628ms 3s325ms 14 3 10s111ms 3s370ms 15 6 20s482ms 3s413ms 16 4 13s973ms 3s493ms 17 4 15s248ms 3s812ms 19 2 7s270ms 3s635ms -
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 (87)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (74)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (74))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (74))))) 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-20 17:56:10 Duration: 4s436ms
-
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 (56)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16))))) 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-20 15:22:35 Duration: 3s861ms
-
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 (58)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) 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-20 17:20:59 Duration: 3s790ms
14 1m58s 32 3s54ms 7s152ms 3s694ms 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 #14
Day Hour Count Duration Avg duration Jul 20 08 3 14s368ms 4s789ms 09 2 7s522ms 3s761ms 11 13 43s944ms 3s380ms 12 5 17s907ms 3s581ms 13 3 11s121ms 3s707ms 14 1 3s620ms 3s620ms 16 1 3s486ms 3s486ms 17 1 4s786ms 4s786ms 19 3 11s465ms 3s821ms -
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 (64)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-20 08:09:53 Duration: 7s152ms
-
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 (49)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-20 17:39:35 Duration: 4s786ms
-
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-20 08:44:04 Duration: 4s24ms
15 1m33s 27 3s67ms 3s881ms 3s452ms 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 #15
Day Hour Count Duration Avg duration Jul 20 11 4 13s461ms 3s365ms 13 2 6s807ms 3s403ms 14 7 23s784ms 3s397ms 15 4 13s826ms 3s456ms 18 1 3s729ms 3s729ms 19 4 14s684ms 3s671ms 20 2 7s129ms 3s564ms 21 2 6s406ms 3s203ms 22 1 3s396ms 3s396ms -
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-20 19:54:55 Duration: 3s881ms
-
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 (58)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) 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-20 19:31:06 Duration: 3s782ms
-
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 (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-20 14:56:22 Duration: 3s736ms
16 1m28s 26 3s195ms 3s674ms 3s401ms 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))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 20 02 1 3s626ms 3s626ms 09 1 3s307ms 3s307ms 10 9 30s606ms 3s400ms 14 2 6s914ms 3s457ms 16 6 20s610ms 3s435ms 20 1 3s262ms 3s262ms 21 1 3s420ms 3s420ms 22 5 16s679ms 3s335ms -
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 (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-20 16:06:55 Duration: 3s674ms
-
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 (109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (68))))) 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-20 10:42:19 Duration: 3s656ms
-
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 '%369189%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (128)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17, 62, 51, 55, 66, 63)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17, 62, 51, 55, 66, 63))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17, 62, 51, 55, 66, 63))))) 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-20 02:37:59 Duration: 3s626ms
17 1m21s 8 9s493ms 10s927ms 10s167ms select min("cash_policy".id) as id, count("cash_policy".id) AS "to_office_count", "cash_policy"."to_office" AS "to_office" from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") left join "urgent_office" AS "cash_policy__to_office" on ("cash_policy"."to_office" = "cash_policy__to_office"."id") where ((("cash_policy"."state" != ?) or "cash_policy"."state" is null) and ("cash_policy"."active" is null or "cash_policy"."active" = false)) 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)))))) group by "cash_policy"."to_office", "cash_policy__to_office"."new_code" order by "cash_policy__to_office"."new_code" asc limit ? offset ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 20 10 8 1m21s 10s167ms -
SELECT min("cash_policy".id) AS id, count("cash_policy".id) AS "to_office_count", "cash_policy"."to_office" as "to_office" FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") LEFT JOIN "urgent_office" AS "cash_policy__to_office" ON ("cash_policy"."to_office" = "cash_policy__to_office"."id") WHERE ((("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL) AND ("cash_policy"."active" IS NULL or "cash_policy"."active" = false)) AND ((("cash_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, 95, 112, 63, 69, 31, 12, 37)))) OR ("cash_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, 95, 112, 63, 69, 31, 12, 37))))) 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)))))) GROUP BY "cash_policy"."to_office", "cash_policy__to_office"."new_code" ORDER BY "cash_policy__to_office"."new_code" ASC LIMIT 100000 OFFSET 80;
Date: 2026-07-20 10:45:07 Duration: 10s927ms
-
SELECT min("cash_policy".id) AS id, count("cash_policy".id) AS "to_office_count", "cash_policy"."to_office" as "to_office" FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") LEFT JOIN "urgent_office" AS "cash_policy__to_office" ON ("cash_policy"."to_office" = "cash_policy__to_office"."id") WHERE ((("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL) AND ("cash_policy"."active" IS NULL or "cash_policy"."active" = false)) AND ((("cash_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, 95, 112, 63, 69, 31, 12, 37)))) OR ("cash_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, 95, 112, 63, 69, 31, 12, 37))))) 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)))))) GROUP BY "cash_policy"."to_office", "cash_policy__to_office"."new_code" ORDER BY "cash_policy__to_office"."new_code" ASC LIMIT 100000 OFFSET 80;
Date: 2026-07-20 10:42:24 Duration: 10s661ms
-
SELECT min("cash_policy".id) AS id, count("cash_policy".id) AS "to_office_count", "cash_policy"."to_office" as "to_office" FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") LEFT JOIN "urgent_office" AS "cash_policy__to_office" ON ("cash_policy"."to_office" = "cash_policy__to_office"."id") WHERE ((("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL) AND ("cash_policy"."active" IS NULL or "cash_policy"."active" = false)) AND ((("cash_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, 95, 112, 63, 69, 31, 12, 37)))) OR ("cash_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, 95, 112, 63, 69, 31, 12, 37))))) 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)))))) GROUP BY "cash_policy"."to_office", "cash_policy__to_office"."new_code" ORDER BY "cash_policy__to_office"."new_code" ASC LIMIT 100000 OFFSET 80;
Date: 2026-07-20 10:40:44 Duration: 10s494ms
18 1m8s 20 3s90ms 3s681ms 3s443ms 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 #18
Day Hour Count Duration Avg duration Jul 20 08 1 3s518ms 3s518ms 09 1 3s593ms 3s593ms 10 2 6s447ms 3s223ms 11 3 10s407ms 3s469ms 13 3 10s92ms 3s364ms 14 1 3s562ms 3s562ms 15 3 10s437ms 3s479ms 16 5 17s138ms 3s427ms 17 1 3s681ms 3s681ms -
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 (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"."id" DESC LIMIT 100;
Date: 2026-07-20 17:01:44 Duration: 3s681ms
-
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 (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-20 11:16:37 Duration: 3s618ms
-
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 (59, 60, 61)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) 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 (65)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 09:00:23 Duration: 3s593ms
19 1m7s 7 9s306ms 10s182ms 9s668ms 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 #19
Day Hour Count Duration Avg duration Jul 20 10 1 9s306ms 9s306ms 12 2 19s795ms 9s897ms 19 4 38s580ms 9s645ms -
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" = 1485))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1485))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-20 12:09:06 Duration: 10s182ms
-
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" = 2103))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2103))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-20 19:08:09 Duration: 9s812ms
-
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" = 2103))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2103))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-20 19:09:01 Duration: 9s733ms
20 1m7s 12 4s818ms 6s86ms 5s589ms 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"."receive_man_id" asc, "cash_policy"."state" asc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 20 15 1 5s98ms 5s98ms 16 1 5s953ms 5s953ms 17 3 15s639ms 5s213ms 19 3 17s893ms 5s964ms 20 2 11s636ms 5s818ms 21 2 10s852ms 5s426ms -
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 (85)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) 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"."receive_man_id" ASC, "cash_policy"."state" ASC LIMIT 200;
Date: 2026-07-20 19:59:45 Duration: 6s86ms
-
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 (85)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) 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"."receive_man_id" ASC, "cash_policy"."state" ASC LIMIT 200;
Date: 2026-07-20 20:11:05 Duration: 6s44ms
-
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 (85)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) 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"."receive_man_id" ASC, "cash_policy"."state" ASC LIMIT 200;
Date: 2026-07-20 19:34:34 Duration: 5s978ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 241 17m42s 3s284ms 9s754ms 4s406ms select "bus_bus".id from "bus_bus" where (("bus_bus"."id" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 20 07 80 5m37s 4s222ms 09 71 5m11s 4s383ms 10 9 38s906ms 4s322ms 19 29 2m 4s146ms 20 52 4m13s 4s882ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."id" > '9086463') AND ("bus_bus"."channel" in ('["urg16","mail.channel",14052]', '["urg16","mail.channel",14891]', '["urg16","mail.channel",18436]', '["urg16","mail.channel",19165]', '["urg16","mail.channel",19284]', '["urg16","mail.channel",17807]', '["urg16","mail.channel",18054]', '["urg16","mail.channel",17828]', '["urg16","mail.channel",19469]', '["urg16","mail.channel",18694]', '["urg16","mail.channel",13053]', '["urg16","mail.channel",19023]', '["urg16","mail.channel",13382]', '["urg16","mail.channel",19325]', '["urg16","mail.channel",16097]', '["urg16","mail.channel",17174]', '["urg16","mail.channel",19398]', '["urg16","mail.channel",17903]', '["urg16","mail.channel",15999]', '["urg16","mail.channel",19199]', '["urg16","mail.channel",17359]', '["urg16","mail.channel",15208]', '["urg16","mail.channel",16776]', '["urg16","mail.channel",15946]', '["urg16","mail.channel",16321]', '["urg16","mail.channel",15000]', '["urg16","mail.channel",14051]', '["urg16","mail.channel",19274]', '["urg16","mail.channel",17361]', '["urg16","mail.channel",16040]', '["urg16","mail.channel",16705]', '["urg16","mail.channel",16769]', '["urg16","mail.channel",18755]', '["urg16","mail.channel",19002]', '["urg16","mail.channel",18282]', '["urg16","mail.channel",18291]', '["urg16","mail.channel",15420]', '["urg16","mail.channel",18483]', '["urg16","mail.channel",19569]', '["urg16","mail.channel",13635]', '["urg16","mail.channel",13525]', '["urg16","broadcast"]', '["urg16","mail.channel",18165]', '["urg16","mail.channel",16243]', '["urg16","mail.channel",19132]', '["urg16","mail.channel",17219]', '["urg16","mail.channel",15141]', '["urg16","mail.channel",16163]', '["urg16","mail.channel",18405]', '["urg16","mail.channel",19363]', '["urg16","mail.channel",14695]', '["urg16","mail.channel",15845]', '["urg16","mail.channel",16528]', '["urg16","mail.channel",13712]', '["urg16","mail.channel",18215]', '["urg16","mail.channel",16119]', '["urg16","mail.channel",15408]', '["urg16","mail.channel",17031]', '["urg16","mail.channel",15774]', '["urg16","mail.channel",15957]', '["urg16","mail.channel",18190]', '["urg16","mail.channel",16942]', '["urg16","mail.channel",15694]', '["urg16","mail.channel",15648]', '["urg16","mail.channel",17088]', '["urg16","mail.channel",14519]', '["urg16","mail.channel",13634]', '["urg16","mail.channel",18738]', '["urg16","mail.channel",19351]', '["urg16","mail.channel",14747]', '["urg16","mail.channel",16306]', '["urg16","mail.channel",15067]', '["urg16","mail.channel",15924]', '["urg16","mail.channel",17721]', '["urg16","res.partner",8007534]', '["urg16","mail.channel",17202]', '["urg16","mail.channel",15707]', '["urg16","mail.channel",19017]', '["urg16","mail.channel",14050]', '["urg16","mail.channel",16164]', '["urg16","mail.channel",16594]', '["urg16","mail.channel",15938]', '["urg16","mail.channel",13723]', '["urg16","mail.channel",18946]'))) ORDER BY "bus_bus"."id";
Date: 2026-07-20 20:00:36 Duration: 9s754ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."id" > '9086463') AND ("bus_bus"."channel" in ('["urg16","mail.channel",17088]', '["urg16","mail.channel",15648]', '["urg16","mail.channel",18165]', '["urg16","mail.channel",14519]', '["urg16","mail.channel",19351]', '["urg16","mail.channel",14695]', '["urg16","mail.channel",17721]', '["urg16","mail.channel",16528]', '["urg16","mail.channel",13712]', '["urg16","broadcast"]', '["urg16","mail.channel",18215]', '["urg16","mail.channel",17202]', '["urg16","mail.channel",15707]', '["urg16","mail.channel",16119]', '["urg16","mail.channel",15408]', '["urg16","mail.channel",19017]', '["urg16","mail.channel",14050]', '["urg16","mail.channel",16594]', '["urg16","mail.channel",15938]', '["urg16","mail.channel",13723]', '["urg16","mail.channel",18946]', '["urg16","mail.channel",14052]', '["urg16","mail.channel",14891]', '["urg16","mail.channel",18436]', '["urg16","mail.channel",13634]', '["urg16","mail.channel",18738]', '["urg16","mail.channel",19284]', '["urg16","mail.channel",19165]', '["urg16","mail.channel",14747]', '["urg16","mail.channel",16306]', '["urg16","mail.channel",17828]', '["urg16","mail.channel",15067]', '["urg16","mail.channel",15924]', '["urg16","mail.channel",19469]', '["urg16","mail.channel",18694]', '["urg16","mail.channel",13053]', '["urg16","mail.channel",19023]', '["urg16","mail.channel",13382]', '["urg16","mail.channel",19325]', '["urg16","mail.channel",17174]', '["urg16","mail.channel",19398]', '["urg16","mail.channel",17903]', '["urg16","mail.channel",16164]', '["urg16","mail.channel",15999]', '["urg16","mail.channel",19199]', '["urg16","mail.channel",17359]', '["urg16","mail.channel",15208]', '["urg16","mail.channel",16776]', '["urg16","mail.channel",17807]', '["urg16","mail.channel",16321]', '["urg16","mail.channel",15000]', '["urg16","mail.channel",18054]', '["urg16","mail.channel",19274]', '["urg16","res.partner",8007534]', '["urg16","mail.channel",17361]', '["urg16","mail.channel",16040]', '["urg16","mail.channel",16705]', '["urg16","mail.channel",16769]', '["urg16","mail.channel",19002]', '["urg16","mail.channel",18282]', '["urg16","mail.channel",18291]', '["urg16","mail.channel",18483]', '["urg16","mail.channel",19569]', '["urg16","mail.channel",13635]', '["urg16","mail.channel",16097]', '["urg16","mail.channel",16243]', '["urg16","mail.channel",19132]', '["urg16","mail.channel",17219]', '["urg16","mail.channel",15141]', '["urg16","mail.channel",16163]', '["urg16","mail.channel",18405]', '["urg16","mail.channel",19363]', '["urg16","mail.channel",15946]', '["urg16","mail.channel",15845]', '["urg16","mail.channel",14051]', '["urg16","mail.channel",18755]', '["urg16","mail.channel",17031]', '["urg16","mail.channel",15774]', '["urg16","mail.channel",15957]', '["urg16","mail.channel",15420]', '["urg16","mail.channel",18190]', '["urg16","mail.channel",16942]', '["urg16","mail.channel",13525]', '["urg16","mail.channel",15694]'))) ORDER BY "bus_bus"."id";
Date: 2026-07-20 07:22:38 Duration: 8s274ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."id" > '9086463') AND ("bus_bus"."channel" in ('["urg16","mail.channel",19325]', '["urg16","mail.channel",16097]', '["urg16","mail.channel",17174]', '["urg16","mail.channel",19398]', '["urg16","mail.channel",17903]', '["urg16","mail.channel",15999]', '["urg16","mail.channel",19199]', '["urg16","mail.channel",17359]', '["urg16","mail.channel",15208]', '["urg16","mail.channel",16776]', '["urg16","broadcast"]', '["urg16","mail.channel",15946]', '["urg16","mail.channel",16321]', '["urg16","mail.channel",15000]', '["urg16","mail.channel",14051]', '["urg16","mail.channel",19274]', '["urg16","mail.channel",17361]', '["urg16","mail.channel",16040]', '["urg16","mail.channel",16705]', '["urg16","mail.channel",16769]', '["urg16","mail.channel",18755]', '["urg16","mail.channel",19002]', '["urg16","mail.channel",18282]', '["urg16","res.partner",8007534]', '["urg16","mail.channel",18291]', '["urg16","mail.channel",15420]', '["urg16","mail.channel",18483]', '["urg16","mail.channel",19569]', '["urg16","mail.channel",13635]', '["urg16","mail.channel",13525]', '["urg16","mail.channel",18165]', '["urg16","mail.channel",16243]', '["urg16","mail.channel",19132]', '["urg16","mail.channel",17219]', '["urg16","mail.channel",15141]', '["urg16","mail.channel",16163]', '["urg16","mail.channel",18405]', '["urg16","mail.channel",19363]', '["urg16","mail.channel",14695]', '["urg16","mail.channel",15845]', '["urg16","mail.channel",16528]', '["urg16","mail.channel",13712]', '["urg16","mail.channel",18215]', '["urg16","mail.channel",16119]', '["urg16","mail.channel",15408]', '["urg16","mail.channel",17031]', '["urg16","mail.channel",15774]', '["urg16","mail.channel",15957]', '["urg16","mail.channel",18190]', '["urg16","mail.channel",16942]', '["urg16","mail.channel",15694]', '["urg16","mail.channel",17088]', '["urg16","mail.channel",15648]', '["urg16","mail.channel",14519]', '["urg16","mail.channel",13634]', '["urg16","mail.channel",18738]', '["urg16","mail.channel",19351]', '["urg16","mail.channel",14747]', '["urg16","mail.channel",16306]', '["urg16","mail.channel",15067]', '["urg16","mail.channel",17721]', '["urg16","mail.channel",17202]', '["urg16","mail.channel",15707]', '["urg16","mail.channel",19017]', '["urg16","mail.channel",14050]', '["urg16","mail.channel",16164]', '["urg16","mail.channel",16594]', '["urg16","mail.channel",15938]', '["urg16","mail.channel",13723]', '["urg16","mail.channel",18946]', '["urg16","mail.channel",14052]', '["urg16","mail.channel",14891]', '["urg16","mail.channel",18436]', '["urg16","mail.channel",19165]', '["urg16","mail.channel",19284]', '["urg16","mail.channel",17807]', '["urg16","mail.channel",18054]', '["urg16","mail.channel",17828]', '["urg16","mail.channel",15924]', '["urg16","mail.channel",19469]', '["urg16","mail.channel",18694]', '["urg16","mail.channel",13053]', '["urg16","mail.channel",19023]', '["urg16","mail.channel",13382]'))) ORDER BY "bus_bus"."id";
Date: 2026-07-20 19:52:08 Duration: 6s967ms
2 218 13m1s 3s147ms 5s737ms 3s585ms 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 20 02 2 6s725ms 3s362ms 09 2 7s397ms 3s698ms 10 1 4s80ms 4s80ms 11 3 11s101ms 3s700ms 12 6 23s728ms 3s954ms 14 12 43s790ms 3s649ms 15 2 7s258ms 3s629ms 17 7 25s454ms 3s636ms 18 35 2m2s 3s507ms 19 57 3m23s 3s566ms 20 17 1m2s 3s705ms 21 19 1m8s 3s630ms 22 17 1m1s 3s610ms 23 17 59s413ms 3s494ms Jul 21 00 21 1m13s 3s486ms -
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)))))))) AND ("policy_number"."name"::text ilike '%7%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 18:30:27 Duration: 5s737ms
-
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 ("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 '%5%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 19:59:35 Duration: 4s721ms
-
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 (114))))))) 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 (114)))))) 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 (114)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (114)))))) 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 (114))))))))) 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 (114)))))))) AND ("policy_number"."name"::text ilike '%4%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 22:35:34 Duration: 4s393ms
3 58 7m2s 6s722ms 8s710ms 7s281ms 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 20 08 58 7m2s 7s281ms -
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 (22337195, 22367790, 21996109, 22356907, 22265890);
Date: 2026-07-20 08:49:44 Duration: 8s710ms
-
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 (22067880, 22018386, 21982281, 22307973, 22074724, 22292384, 22389840, 22409273, 22358761, 22054301, 22430031, 22005685, 22351883, 22201991, 22370969, 22023069, 22420376, 22397494, 22418124, 22409448, 20298251, 22309180, 22359238, 22391779, 22327325, 22158902, 22391661, 22422434, 22468691, 22441907, 22005625, 22464611, 22395584, 22388364, 21980501, 22397273, 22434859, 22420912, 22424376, 22402117, 22364697, 22301177, 22266986, 22313345, 21906317, 22393634, 22424967, 22346767, 22388394, 22357585, 22398180, 22073349);
Date: 2026-07-20 08:51:07 Duration: 8s71ms
-
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 (22420898, 22308288, 22365498, 22332205, 22389920, 22165396, 22425540, 22163267, 22220625, 22422358, 22432807, 22013590, 22363232, 22394519, 21402873, 22427813, 22428241);
Date: 2026-07-20 08:52:15 Duration: 8s26ms
4 35 2m1s 3s123ms 4s436ms 3s460ms 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 #4
Day Hour Count Duration Avg duration Jul 20 09 2 6s728ms 3s364ms 11 3 10s431ms 3s477ms 12 6 20s225ms 3s370ms 13 5 16s628ms 3s325ms 14 3 10s111ms 3s370ms 15 6 20s482ms 3s413ms 16 4 13s973ms 3s493ms 17 4 15s248ms 3s812ms 19 2 7s270ms 3s635ms -
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 (87)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (74)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (74))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (74))))) 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-20 17:56:10 Duration: 4s436ms
-
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 (56)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16))))) 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-20 15:22:35 Duration: 3s861ms
-
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 (58)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) 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-20 17:20:59 Duration: 3s790ms
5 34 4m14s 4s902ms 10s200ms 7s474ms 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 #5
Day Hour Count Duration Avg duration Jul 20 02 1 8s470ms 8s470ms 16 4 28s322ms 7s80ms 19 5 32s416ms 6s483ms 20 9 1m16s 8s530ms 22 4 32s771ms 8s192ms 23 2 14s596ms 7s298ms Jul 21 01 9 1m 6s754ms -
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)))) AND ("policy_number"."name"::text ilike '%289533%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 16:21:33 Duration: 10s200ms
-
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 '%757953%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 20:04:18 Duration: 10s100ms
-
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 (27)))))) 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 '%236929%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 20:45:33 Duration: 10s16ms
6 32 1m58s 3s54ms 7s152ms 3s694ms 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 #6
Day Hour Count Duration Avg duration Jul 20 08 3 14s368ms 4s789ms 09 2 7s522ms 3s761ms 11 13 43s944ms 3s380ms 12 5 17s907ms 3s581ms 13 3 11s121ms 3s707ms 14 1 3s620ms 3s620ms 16 1 3s486ms 3s486ms 17 1 4s786ms 4s786ms 19 3 11s465ms 3s821ms -
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 (64)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-20 08:09:53 Duration: 7s152ms
-
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 (49)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-20 17:39:35 Duration: 4s786ms
-
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-20 08:44:04 Duration: 4s24ms
7 27 1m33s 3s67ms 3s881ms 3s452ms 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 #7
Day Hour Count Duration Avg duration Jul 20 11 4 13s461ms 3s365ms 13 2 6s807ms 3s403ms 14 7 23s784ms 3s397ms 15 4 13s826ms 3s456ms 18 1 3s729ms 3s729ms 19 4 14s684ms 3s671ms 20 2 7s129ms 3s564ms 21 2 6s406ms 3s203ms 22 1 3s396ms 3s396ms -
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-20 19:54:55 Duration: 3s881ms
-
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 (58)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) 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-20 19:31:06 Duration: 3s782ms
-
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 (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-20 14:56:22 Duration: 3s736ms
8 26 1m28s 3s195ms 3s674ms 3s401ms 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))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 20 02 1 3s626ms 3s626ms 09 1 3s307ms 3s307ms 10 9 30s606ms 3s400ms 14 2 6s914ms 3s457ms 16 6 20s610ms 3s435ms 20 1 3s262ms 3s262ms 21 1 3s420ms 3s420ms 22 5 16s679ms 3s335ms -
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 (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-20 16:06:55 Duration: 3s674ms
-
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 (109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (68))))) 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-20 10:42:19 Duration: 3s656ms
-
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 '%369189%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (128)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17, 62, 51, 55, 66, 63)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17, 62, 51, 55, 66, 63))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17, 62, 51, 55, 66, 63))))) 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-20 02:37:59 Duration: 3s626ms
9 20 1m8s 3s90ms 3s681ms 3s443ms 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 #9
Day Hour Count Duration Avg duration Jul 20 08 1 3s518ms 3s518ms 09 1 3s593ms 3s593ms 10 2 6s447ms 3s223ms 11 3 10s407ms 3s469ms 13 3 10s92ms 3s364ms 14 1 3s562ms 3s562ms 15 3 10s437ms 3s479ms 16 5 17s138ms 3s427ms 17 1 3s681ms 3s681ms -
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 (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"."id" DESC LIMIT 100;
Date: 2026-07-20 17:01:44 Duration: 3s681ms
-
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 (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-20 11:16:37 Duration: 3s618ms
-
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 (59, 60, 61)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) 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 (65)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 09:00:23 Duration: 3s593ms
10 15 55s915ms 3s358ms 4s310ms 3s727ms 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 #10
Day Hour Count Duration Avg duration Jul 20 20 15 55s915ms 3s727ms -
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 (102))))))) 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 (102)))))) 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 (102)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (102)))))) 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 (102))))))))) 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 (102))))))) AND ("policy_number"."name"::text ilike '%7%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 20:28:03 Duration: 4s310ms
-
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 (102))))))) 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 (102)))))) 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 (102)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (102)))))) 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 (102))))))))) 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 (102))))))) AND ("policy_number"."name"::text ilike '%713%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 20:28:04 Duration: 4s186ms
-
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 (102))))))) 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 (102)))))) 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 (102)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (102)))))) 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 (102))))))))) 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 (102))))))) AND ("policy_number"."name"::text ilike '%7%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 20:28:00 Duration: 4s39ms
11 15 49s730ms 3s37ms 3s951ms 3s315ms 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 #11
Day Hour Count Duration Avg duration Jul 20 12 3 9s841ms 3s280ms 15 3 9s603ms 3s201ms 16 2 6s655ms 3s327ms 17 5 17s64ms 3s412ms 18 1 3s494ms 3s494ms 19 1 3s70ms 3s70ms -
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 (16)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16))))) 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-20 17:06:57 Duration: 3s951ms
-
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 (16)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16))))) 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-20 16:00:16 Duration: 3s617ms
-
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 (16)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16))))) 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-20 18:31:51 Duration: 3s494ms
12 12 1m7s 4s818ms 6s86ms 5s589ms 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"."receive_man_id" asc, "cash_policy"."state" asc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 20 15 1 5s98ms 5s98ms 16 1 5s953ms 5s953ms 17 3 15s639ms 5s213ms 19 3 17s893ms 5s964ms 20 2 11s636ms 5s818ms 21 2 10s852ms 5s426ms -
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 (85)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) 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"."receive_man_id" ASC, "cash_policy"."state" ASC LIMIT 200;
Date: 2026-07-20 19:59:45 Duration: 6s86ms
-
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 (85)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) 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"."receive_man_id" ASC, "cash_policy"."state" ASC LIMIT 200;
Date: 2026-07-20 20:11:05 Duration: 6s44ms
-
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 (85)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) 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"."receive_man_id" ASC, "cash_policy"."state" ASC LIMIT 200;
Date: 2026-07-20 19:34:34 Duration: 5s978ms
13 12 48s448ms 3s368ms 4s836ms 4s37ms 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 #13
Day Hour Count Duration Avg duration Jul 20 02 1 4s395ms 4s395ms 16 1 3s903ms 3s903ms 19 1 4s650ms 4s650ms 20 4 17s38ms 4s259ms 22 2 7s246ms 3s623ms 23 1 4s394ms 4s394ms Jul 21 01 2 6s819ms 3s409ms -
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-20 20:04:10 Duration: 4s836ms
-
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 (67)))))) 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-20 19:16:50 Duration: 4s650ms
-
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)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 02:15:30 Duration: 4s395ms
14 11 37s730ms 3s197ms 3s651ms 3s430ms 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"."state" = ?))) 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 20 11 1 3s324ms 3s324ms 12 1 3s197ms 3s197ms 13 3 10s558ms 3s519ms 14 2 6s928ms 3s464ms 15 3 10s69ms 3s356ms 18 1 3s651ms 3s651ms -
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"."state" = 'in_office'))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (101)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))) 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-20 18:52:53 Duration: 3s651ms
-
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"."state" = 'in_way'))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (53, 54)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (78)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (78))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (78))))) 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-20 13:12:44 Duration: 3s566ms
-
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"."state" = 'in_way'))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (53, 54)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (78)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (78))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (78))))) 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-20 13:09:23 Duration: 3s550ms
15 10 33s987ms 3s238ms 3s670ms 3s398ms 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"."name"::text ilike ?))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."name"::text ilike ?)))) and ("shipping_policy"."state" = ?)))) 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 #15
Day Hour Count Duration Avg duration Jul 20 08 3 10s546ms 3s515ms 09 4 13s109ms 3s277ms 10 1 3s349ms 3s349ms 13 2 6s982ms 3s491ms -
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"."name"::text ilike '%الزقازيق%'))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%الزقازيق%')))) AND ("shipping_policy"."state" = 'in_way')))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) 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 (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 08:21:03 Duration: 3s670ms
-
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"."name"::text ilike '%دمياط%'))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%دمياط%')))) AND ("shipping_policy"."state" = 'in_way')))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (62, 63, 113, 114)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24, 110)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24, 110))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24, 110))))) 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 (24, 110)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 13:23:22 Duration: 3s576ms
-
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"."name"::text ilike '%الزقازيق%'))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%الزقازيق%')))) AND ("shipping_policy"."state" = 'in_way')))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) 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 (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 08:20:54 Duration: 3s491ms
16 9 49s815ms 3s418ms 11s247ms 5s535ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."state" = ?) 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))))) 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 20 02 1 3s533ms 3s533ms 08 1 10s568ms 10s568ms 09 1 6s280ms 6s280ms 10 1 11s247ms 11s247ms 11 1 3s418ms 3s418ms 14 1 3s560ms 3s560ms 15 3 11s205ms 3s735ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') 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 (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) 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 (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 10:04:28 Duration: 11s247ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') 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 (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) 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 (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 08:43:43 Duration: 10s568ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') 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 (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) 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 (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 09:48:05 Duration: 6s280ms
17 8 1m21s 9s493ms 10s927ms 10s167ms select min("cash_policy".id) as id, count("cash_policy".id) AS "to_office_count", "cash_policy"."to_office" AS "to_office" from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") left join "urgent_office" AS "cash_policy__to_office" on ("cash_policy"."to_office" = "cash_policy__to_office"."id") where ((("cash_policy"."state" != ?) or "cash_policy"."state" is null) and ("cash_policy"."active" is null or "cash_policy"."active" = false)) 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)))))) group by "cash_policy"."to_office", "cash_policy__to_office"."new_code" order by "cash_policy__to_office"."new_code" asc limit ? offset ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 20 10 8 1m21s 10s167ms -
SELECT min("cash_policy".id) AS id, count("cash_policy".id) AS "to_office_count", "cash_policy"."to_office" as "to_office" FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") LEFT JOIN "urgent_office" AS "cash_policy__to_office" ON ("cash_policy"."to_office" = "cash_policy__to_office"."id") WHERE ((("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL) AND ("cash_policy"."active" IS NULL or "cash_policy"."active" = false)) AND ((("cash_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, 95, 112, 63, 69, 31, 12, 37)))) OR ("cash_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, 95, 112, 63, 69, 31, 12, 37))))) 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)))))) GROUP BY "cash_policy"."to_office", "cash_policy__to_office"."new_code" ORDER BY "cash_policy__to_office"."new_code" ASC LIMIT 100000 OFFSET 80;
Date: 2026-07-20 10:45:07 Duration: 10s927ms
-
SELECT min("cash_policy".id) AS id, count("cash_policy".id) AS "to_office_count", "cash_policy"."to_office" as "to_office" FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") LEFT JOIN "urgent_office" AS "cash_policy__to_office" ON ("cash_policy"."to_office" = "cash_policy__to_office"."id") WHERE ((("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL) AND ("cash_policy"."active" IS NULL or "cash_policy"."active" = false)) AND ((("cash_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, 95, 112, 63, 69, 31, 12, 37)))) OR ("cash_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, 95, 112, 63, 69, 31, 12, 37))))) 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)))))) GROUP BY "cash_policy"."to_office", "cash_policy__to_office"."new_code" ORDER BY "cash_policy__to_office"."new_code" ASC LIMIT 100000 OFFSET 80;
Date: 2026-07-20 10:42:24 Duration: 10s661ms
-
SELECT min("cash_policy".id) AS id, count("cash_policy".id) AS "to_office_count", "cash_policy"."to_office" as "to_office" FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") LEFT JOIN "urgent_office" AS "cash_policy__to_office" ON ("cash_policy"."to_office" = "cash_policy__to_office"."id") WHERE ((("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL) AND ("cash_policy"."active" IS NULL or "cash_policy"."active" = false)) AND ((("cash_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, 95, 112, 63, 69, 31, 12, 37)))) OR ("cash_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, 95, 112, 63, 69, 31, 12, 37))))) 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)))))) GROUP BY "cash_policy"."to_office", "cash_policy__to_office"."new_code" ORDER BY "cash_policy__to_office"."new_code" ASC LIMIT 100000 OFFSET 80;
Date: 2026-07-20 10:40:44 Duration: 10s494ms
18 8 26s702ms 3s189ms 3s418ms 3s337ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."state" = ?) 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"."name"::text ilike ?))) or ("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))))) 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 #18
Day Hour Count Duration Avg duration Jul 20 08 3 9s799ms 3s266ms 09 1 3s391ms 3s391ms 10 2 6s818ms 3s409ms 11 1 3s411ms 3s411ms 12 1 3s281ms 3s281ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') 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"."name"::text ilike '%الزقازيق%'))) OR ("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 (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) 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 (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 10:02:26 Duration: 3s418ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') 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"."name"::text ilike '%الزقازيق%'))) OR ("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 (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) 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 (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 11:07:16 Duration: 3s411ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') 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"."name"::text ilike '%الزقازيق%'))) OR ("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 (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) 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 (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 10:02:48 Duration: 3s399ms
19 7 1m7s 9s306ms 10s182ms 9s668ms 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 #19
Day Hour Count Duration Avg duration Jul 20 10 1 9s306ms 9s306ms 12 2 19s795ms 9s897ms 19 4 38s580ms 9s645ms -
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" = 1485))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1485))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-20 12:09:06 Duration: 10s182ms
-
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" = 2103))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2103))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-20 19:08:09 Duration: 9s812ms
-
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" = 2103))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2103))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-20 19:09:01 Duration: 9s733ms
20 7 24s498ms 3s45ms 4s375ms 3s499ms 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"."create_date" = ?))) 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 #20
Day Hour Count Duration Avg duration Jul 20 12 4 13s210ms 3s302ms 17 1 3s562ms 3s562ms 20 1 4s375ms 4s375ms 21 1 3s350ms 3s350ms -
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"."create_date" = '2026-07-20'))) 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-20 20:18:23 Duration: 4s375ms
-
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"."create_date" = '2026-07-17'))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (93)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) 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-20 17:04:00 Duration: 3s562ms
-
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"."create_date" = '2026-07-17'))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (93)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) 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-20 12:36:09 Duration: 3s451ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 12m43s 12m43s 12m43s 1 12m43s 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 20 08 1 12m43s 12m43s -
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-20 08:23:25 Duration: 12m43s
2 10m35s 10m35s 10m35s 1 10m35s delete from "cash_policy" where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 20 20 1 10m35s 10m35s -
DELETE FROM "cash_policy" WHERE id IN (11331244, 11327808, 11323075, 11320009, 11309921, 11299567, 11299431, 11284151, 11283340, 11279468, 11278395, 11277385, 11276579, 11275757, 11275080, 11274195, 11274172, 11273518, 11268883, 11266683, 11246860, 11236950, 11236949, 11236826, 11236816, 11236815, 11236530, 11236524, 11236470, 11236335, 11235643, 11235211, 11235156, 11235108, 11234117, 11234023, 11233358, 11233129, 11231457, 11229721, 11224234, 11219678, 11209236, 11199209, 11198202, 11176842, 11169617, 11166926, 11166588, 11164429, 11157403, 11142605, 11137481, 11135984, 11135983, 11122001);
Date: 2026-07-20 20:10:58 Duration: 10m35s
3 5m55s 5m55s 5m55s 1 5m55s 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 #3
Day Hour Count Duration Avg duration Jul 20 08 1 5m55s 5m55s -
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-20 08:29:24 Duration: 5m55s
4 5m10s 5m10s 5m10s 1 5m10s 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 #4
Day Hour Count Duration Avg duration Jul 20 08 1 5m10s 5m10s -
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-20 08:40:50 Duration: 5m10s
5 3m49s 3m49s 3m49s 1 3m49s 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 #5
Day Hour Count Duration Avg duration Jul 20 08 1 3m49s 3m49s -
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-20 08:34:50 Duration: 3m49s
6 3m40s 3m44s 3m42s 2 7m25s delete from "daily_movement" where id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 20 19 2 7m25s 3m42s -
DELETE FROM "daily_movement" WHERE id IN (57499, 57484, 57481, 57475, 57463, 57443, 57434, 57372, 57371, 57366, 57342, 57336, 57204, 57152, 57085, 57048, 56875, 56873, 56748, 56617, 56583, 56573, 56530, 56500, 56495, 56412, 56371, 56320, 56315, 56311, 56291, 56280, 56226, 56167, 56034, 56028, 55984, 55975, 55962, 55943, 55942, 55941, 55936, 55935, 55921, 55917, 55916, 55901, 55894, 55893, 55892, 55891, 55885, 55871, 55814, 55806, 55792, 55726, 55657, 55631, 55603, 55589, 55387, 55287, 55178, 55168, 55143, 55137, 55106, 55101, 55072, 55047, 55033, 55027, 54850, 54773, 54766, 54689, 54567, 54450, 54402, 54377, 54281, 54227, 54182, 54145, 54085, 54063);
Date: 2026-07-20 19:53:32 Duration: 3m44s
-
DELETE FROM "daily_movement" WHERE id IN (57499, 57484, 57481, 57475, 57463, 57443, 57434, 57372, 57371, 57366, 57342, 57336, 57204, 57152, 57085, 57048, 56875, 56873, 56748, 56617, 56583, 56573, 56530, 56500, 56495, 56412, 56371, 56320, 56315, 56311, 56291, 56280, 56226, 56167, 56034, 56028, 55984, 55975, 55962, 55943, 55942, 55941, 55936, 55935, 55921, 55917, 55916, 55901, 55894, 55893, 55892, 55891, 55885, 55871, 55814, 55806, 55792, 55726, 55657, 55631, 55603, 55589, 55387, 55287, 55178, 55168, 55143, 55137, 55106, 55101, 55072, 55047, 55033, 55027, 54850, 54773, 54766, 54689, 54567, 54450, 54402, 54377, 54281, 54227, 54182, 54145, 54085, 54063);
Date: 2026-07-20 19:57:13 Duration: 3m40s
7 3m4s 3m4s 3m4s 1 3m4s delete from "mail_message" where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 20 19 1 3m4s 3m4s -
DELETE FROM "mail_message" WHERE id IN (208652684, 208652683, 208647157, 208647156, 208646531, 208646530, 208645595, 208645594, 208625033, 208625032, 208624311, 208624310, 208620428, 208620427, 208618327, 208618326, 208605843, 208605842, 208591125, 208591121, 208585498, 208585497, 208568808, 208568807, 208554448, 208554447, 208527827, 208527826, 208526031, 208526030, 208283354, 208283353, 208280866, 208280865, 208271185, 208271184, 208220596, 208220593, 208219318, 208219317, 208218697, 208218696, 208214594, 208214593, 208213903, 208213902, 208145299, 208145297, 208118251, 208118249, 208115079, 208115078, 207982043, 207982042, 207981998, 207981997, 207981968, 207981967, 207696017, 207696016, 207673833, 207673832, 207387778, 207387777, 207383234, 207383231, 207054245, 207054244, 207054243, 207054242, 207054240, 207054239, 206981278, 206981277, 206977622, 206977621, 206341281, 206341280, 206295558, 206295557, 206291741, 206291740, 206285641, 206285640, 205851603, 205851602, 205719543, 205719542, 205415100, 205415099, 205379215, 205379214, 205298431, 205298425, 205297571, 205297570, 205093051, 205093050, 205092303, 205092302, 205035364, 205035363, 205017906, 205017905, 205017836, 205017835, 204940976, 204940975, 204940674, 204940673, 204940624, 204940623, 204873441, 204873440, 204847526, 204847525, 204588093, 204588092, 204514042, 204514041, 204394724, 204394723, 204381405, 204381404, 204380986, 204380985, 204107137, 204107136, 204101040, 204101039, 204101013, 204101012, 204097691, 204097690, 204096183, 204096182, 204096176, 204096175, 204093824, 204093823, 204092318, 204092317, 204071417, 204071416, 204060955, 204060954, 204060834, 204060829, 204053461, 204053460, 204047315, 204047314, 203758803, 203758802, 203734872, 203734871, 203734270, 203734269, 203620799, 203620798, 203619691, 203619690, 203187741, 203187740, 203186779, 203186778, 203178806, 203178805, 203177022, 203177021, 202887548, 202887547, 202885250, 202885249, 202885156, 202885155, 202863056, 202863055, 202862998, 202862997, 202862930, 202862929, 202855287, 202855286, 202855121, 202855120, 202854047, 202854046, 202854043, 202854042, 202851472, 202851471, 202836602, 202836601, 202834283, 202834281, 202833324, 202833323, 202832888, 202832887, 202832859, 202832858, 202832663, 202832662, 202832443, 202832442, 202832310, 202832309, 202832303, 202832302, 202831809, 202831808, 202829866, 202829865, 202829769, 202829768, 202827984, 202827983, 202824455, 202824454, 202817481, 202817480, 202816364, 202816359, 202815836, 202815835, 202814362, 202814361, 202813258, 202813257, 202812919, 202812918, 202810206, 202810205, 202810019, 202810018, 202802293, 202802292, 202802139, 202802138, 202801467, 202801466, 202800668, 202800667, 202764655, 202764654, 202764473, 202764472, 202760123, 202760122, 202759924, 202759923, 202753963, 202753962, 202753817, 202753816, 202752142, 202752141, 202751967, 202751966, 202733921, 202733920, 202733393, 202733392, 202520380, 202520379, 202520322, 202520321, 202487913, 202487912, 202487155, 202487154, 202471219, 202471218, 202466183, 202466181, 202346612, 202346611, 202346539, 202346538, 202282047, 202282046, 202141586, 202141585, 202120206, 202120205, 201995316, 201995313, 201994457, 201994456, 201993834, 201993833, 201826032, 201826031, 201707038, 201707037, 201706871, 201706870, 201458747, 201458721, 201456772, 201456771, 201434717, 201434716, 201422252, 201422251, 201420659, 201420658, 201388847, 201388846, 201388753, 201388752, 200791842, 200791841, 200780909, 200780908, 200109863, 200109861, 200101226, 200101224, 200101156, 200101155, 199669043, 199669042, 199663258, 199663257, 199662978, 199662977, 199656535, 199656534, 199656227, 199656226, 199621181, 199621180, 199608560, 199608558, 199607179, 199607178, 199605974, 199605973, 199589548, 199589547, 199359411, 199359410, 199352827, 199352826, 199352026, 199352025, 199344366, 199344365, 199317652, 199317651, 199287935, 199287934, 199287896, 199287895, 199222904, 199222903, 199217304, 199217303, 198993190, 198993188, 198992960, 198992959, 198992946, 198992945, 198969103, 198969101, 198967122, 198967121, 198966896, 198966895, 198344875, 198344874, 198344538, 198344537, 197990321, 197990320, 197972759, 197972758, 197959661, 197959660, 197954633, 197954632, 197610875, 197610874, 197578653, 197578652, 197578163, 197578162, 197123534, 197123533, 197099640, 197099639, 196473087, 196473085, 196471782, 196471781, 196430999, 196430998, 196369613, 196369610, 196360481, 196360480, 196360388, 196360387, 196180427, 196180426, 195854683, 195854682, 195854106, 195854105, 195735167, 195735165, 195734514, 195734513, 195461734, 195461733, 195460451, 195460450, 195448689, 195448688, 195380954, 195380953, 195366398, 195366395, 195059868, 195059867, 195048807, 195048806, 194994510, 194994509, 194992949, 194992948);
Date: 2026-07-20 19:53:32 Duration: 3m4s
8 2m7s 2m7s 2m7s 1 2m7s copy public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 20 08 1 2m7s 2m7s -
COPY public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) TO stdout;
Date: 2026-07-20 08:05:13 Duration: 2m7s
9 9s493ms 10s927ms 10s167ms 8 1m21s select min("cash_policy".id) as id, count("cash_policy".id) AS "to_office_count", "cash_policy"."to_office" AS "to_office" from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") left join "urgent_office" AS "cash_policy__to_office" on ("cash_policy"."to_office" = "cash_policy__to_office"."id") where ((("cash_policy"."state" != ?) or "cash_policy"."state" is null) and ("cash_policy"."active" is null or "cash_policy"."active" = false)) 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)))))) group by "cash_policy"."to_office", "cash_policy__to_office"."new_code" order by "cash_policy__to_office"."new_code" asc limit ? offset ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 20 10 8 1m21s 10s167ms -
SELECT min("cash_policy".id) AS id, count("cash_policy".id) AS "to_office_count", "cash_policy"."to_office" as "to_office" FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") LEFT JOIN "urgent_office" AS "cash_policy__to_office" ON ("cash_policy"."to_office" = "cash_policy__to_office"."id") WHERE ((("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL) AND ("cash_policy"."active" IS NULL or "cash_policy"."active" = false)) AND ((("cash_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, 95, 112, 63, 69, 31, 12, 37)))) OR ("cash_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, 95, 112, 63, 69, 31, 12, 37))))) 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)))))) GROUP BY "cash_policy"."to_office", "cash_policy__to_office"."new_code" ORDER BY "cash_policy__to_office"."new_code" ASC LIMIT 100000 OFFSET 80;
Date: 2026-07-20 10:45:07 Duration: 10s927ms
-
SELECT min("cash_policy".id) AS id, count("cash_policy".id) AS "to_office_count", "cash_policy"."to_office" as "to_office" FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") LEFT JOIN "urgent_office" AS "cash_policy__to_office" ON ("cash_policy"."to_office" = "cash_policy__to_office"."id") WHERE ((("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL) AND ("cash_policy"."active" IS NULL or "cash_policy"."active" = false)) AND ((("cash_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, 95, 112, 63, 69, 31, 12, 37)))) OR ("cash_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, 95, 112, 63, 69, 31, 12, 37))))) 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)))))) GROUP BY "cash_policy"."to_office", "cash_policy__to_office"."new_code" ORDER BY "cash_policy__to_office"."new_code" ASC LIMIT 100000 OFFSET 80;
Date: 2026-07-20 10:42:24 Duration: 10s661ms
-
SELECT min("cash_policy".id) AS id, count("cash_policy".id) AS "to_office_count", "cash_policy"."to_office" as "to_office" FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") LEFT JOIN "urgent_office" AS "cash_policy__to_office" ON ("cash_policy"."to_office" = "cash_policy__to_office"."id") WHERE ((("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL) AND ("cash_policy"."active" IS NULL or "cash_policy"."active" = false)) AND ((("cash_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, 95, 112, 63, 69, 31, 12, 37)))) OR ("cash_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, 95, 112, 63, 69, 31, 12, 37))))) 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)))))) GROUP BY "cash_policy"."to_office", "cash_policy__to_office"."new_code" ORDER BY "cash_policy__to_office"."new_code" ASC LIMIT 100000 OFFSET 80;
Date: 2026-07-20 10:40:44 Duration: 10s494ms
10 9s306ms 10s182ms 9s668ms 7 1m7s 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 20 10 1 9s306ms 9s306ms 12 2 19s795ms 9s897ms 19 4 38s580ms 9s645ms -
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" = 1485))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1485))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-20 12:09:06 Duration: 10s182ms
-
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" = 2103))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2103))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-20 19:08:09 Duration: 9s812ms
-
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" = 2103))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2103))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-07-20 19:09:01 Duration: 9s733ms
11 4s902ms 10s200ms 7s474ms 34 4m14s 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 20 02 1 8s470ms 8s470ms 16 4 28s322ms 7s80ms 19 5 32s416ms 6s483ms 20 9 1m16s 8s530ms 22 4 32s771ms 8s192ms 23 2 14s596ms 7s298ms Jul 21 01 9 1m 6s754ms -
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)))) AND ("policy_number"."name"::text ilike '%289533%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 16:21:33 Duration: 10s200ms
-
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 '%757953%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 20:04:18 Duration: 10s100ms
-
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 (27)))))) 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 '%236929%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 20:45:33 Duration: 10s16ms
12 6s722ms 8s710ms 7s281ms 58 7m2s 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 #12
Day Hour Count Duration Avg duration Jul 20 08 58 7m2s 7s281ms -
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 (22337195, 22367790, 21996109, 22356907, 22265890);
Date: 2026-07-20 08:49:44 Duration: 8s710ms
-
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 (22067880, 22018386, 21982281, 22307973, 22074724, 22292384, 22389840, 22409273, 22358761, 22054301, 22430031, 22005685, 22351883, 22201991, 22370969, 22023069, 22420376, 22397494, 22418124, 22409448, 20298251, 22309180, 22359238, 22391779, 22327325, 22158902, 22391661, 22422434, 22468691, 22441907, 22005625, 22464611, 22395584, 22388364, 21980501, 22397273, 22434859, 22420912, 22424376, 22402117, 22364697, 22301177, 22266986, 22313345, 21906317, 22393634, 22424967, 22346767, 22388394, 22357585, 22398180, 22073349);
Date: 2026-07-20 08:51:07 Duration: 8s71ms
-
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 (22420898, 22308288, 22365498, 22332205, 22389920, 22165396, 22425540, 22163267, 22220625, 22422358, 22432807, 22013590, 22363232, 22394519, 21402873, 22427813, 22428241);
Date: 2026-07-20 08:52:15 Duration: 8s26ms
13 4s818ms 6s86ms 5s589ms 12 1m7s 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"."receive_man_id" asc, "cash_policy"."state" asc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 20 15 1 5s98ms 5s98ms 16 1 5s953ms 5s953ms 17 3 15s639ms 5s213ms 19 3 17s893ms 5s964ms 20 2 11s636ms 5s818ms 21 2 10s852ms 5s426ms -
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 (85)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) 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"."receive_man_id" ASC, "cash_policy"."state" ASC LIMIT 200;
Date: 2026-07-20 19:59:45 Duration: 6s86ms
-
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 (85)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) 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"."receive_man_id" ASC, "cash_policy"."state" ASC LIMIT 200;
Date: 2026-07-20 20:11:05 Duration: 6s44ms
-
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 (85)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) 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"."receive_man_id" ASC, "cash_policy"."state" ASC LIMIT 200;
Date: 2026-07-20 19:34:34 Duration: 5s978ms
14 3s418ms 11s247ms 5s535ms 9 49s815ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."state" = ?) 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))))) 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 #14
Day Hour Count Duration Avg duration Jul 20 02 1 3s533ms 3s533ms 08 1 10s568ms 10s568ms 09 1 6s280ms 6s280ms 10 1 11s247ms 11s247ms 11 1 3s418ms 3s418ms 14 1 3s560ms 3s560ms 15 3 11s205ms 3s735ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') 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 (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) 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 (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 10:04:28 Duration: 11s247ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') 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 (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) 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 (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 08:43:43 Duration: 10s568ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') 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 (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) 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 (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-07-20 09:48:05 Duration: 6s280ms
15 3s284ms 9s754ms 4s406ms 241 17m42s select "bus_bus".id from "bus_bus" where (("bus_bus"."id" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 20 07 80 5m37s 4s222ms 09 71 5m11s 4s383ms 10 9 38s906ms 4s322ms 19 29 2m 4s146ms 20 52 4m13s 4s882ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."id" > '9086463') AND ("bus_bus"."channel" in ('["urg16","mail.channel",14052]', '["urg16","mail.channel",14891]', '["urg16","mail.channel",18436]', '["urg16","mail.channel",19165]', '["urg16","mail.channel",19284]', '["urg16","mail.channel",17807]', '["urg16","mail.channel",18054]', '["urg16","mail.channel",17828]', '["urg16","mail.channel",19469]', '["urg16","mail.channel",18694]', '["urg16","mail.channel",13053]', '["urg16","mail.channel",19023]', '["urg16","mail.channel",13382]', '["urg16","mail.channel",19325]', '["urg16","mail.channel",16097]', '["urg16","mail.channel",17174]', '["urg16","mail.channel",19398]', '["urg16","mail.channel",17903]', '["urg16","mail.channel",15999]', '["urg16","mail.channel",19199]', '["urg16","mail.channel",17359]', '["urg16","mail.channel",15208]', '["urg16","mail.channel",16776]', '["urg16","mail.channel",15946]', '["urg16","mail.channel",16321]', '["urg16","mail.channel",15000]', '["urg16","mail.channel",14051]', '["urg16","mail.channel",19274]', '["urg16","mail.channel",17361]', '["urg16","mail.channel",16040]', '["urg16","mail.channel",16705]', '["urg16","mail.channel",16769]', '["urg16","mail.channel",18755]', '["urg16","mail.channel",19002]', '["urg16","mail.channel",18282]', '["urg16","mail.channel",18291]', '["urg16","mail.channel",15420]', '["urg16","mail.channel",18483]', '["urg16","mail.channel",19569]', '["urg16","mail.channel",13635]', '["urg16","mail.channel",13525]', '["urg16","broadcast"]', '["urg16","mail.channel",18165]', '["urg16","mail.channel",16243]', '["urg16","mail.channel",19132]', '["urg16","mail.channel",17219]', '["urg16","mail.channel",15141]', '["urg16","mail.channel",16163]', '["urg16","mail.channel",18405]', '["urg16","mail.channel",19363]', '["urg16","mail.channel",14695]', '["urg16","mail.channel",15845]', '["urg16","mail.channel",16528]', '["urg16","mail.channel",13712]', '["urg16","mail.channel",18215]', '["urg16","mail.channel",16119]', '["urg16","mail.channel",15408]', '["urg16","mail.channel",17031]', '["urg16","mail.channel",15774]', '["urg16","mail.channel",15957]', '["urg16","mail.channel",18190]', '["urg16","mail.channel",16942]', '["urg16","mail.channel",15694]', '["urg16","mail.channel",15648]', '["urg16","mail.channel",17088]', '["urg16","mail.channel",14519]', '["urg16","mail.channel",13634]', '["urg16","mail.channel",18738]', '["urg16","mail.channel",19351]', '["urg16","mail.channel",14747]', '["urg16","mail.channel",16306]', '["urg16","mail.channel",15067]', '["urg16","mail.channel",15924]', '["urg16","mail.channel",17721]', '["urg16","res.partner",8007534]', '["urg16","mail.channel",17202]', '["urg16","mail.channel",15707]', '["urg16","mail.channel",19017]', '["urg16","mail.channel",14050]', '["urg16","mail.channel",16164]', '["urg16","mail.channel",16594]', '["urg16","mail.channel",15938]', '["urg16","mail.channel",13723]', '["urg16","mail.channel",18946]'))) ORDER BY "bus_bus"."id";
Date: 2026-07-20 20:00:36 Duration: 9s754ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."id" > '9086463') AND ("bus_bus"."channel" in ('["urg16","mail.channel",17088]', '["urg16","mail.channel",15648]', '["urg16","mail.channel",18165]', '["urg16","mail.channel",14519]', '["urg16","mail.channel",19351]', '["urg16","mail.channel",14695]', '["urg16","mail.channel",17721]', '["urg16","mail.channel",16528]', '["urg16","mail.channel",13712]', '["urg16","broadcast"]', '["urg16","mail.channel",18215]', '["urg16","mail.channel",17202]', '["urg16","mail.channel",15707]', '["urg16","mail.channel",16119]', '["urg16","mail.channel",15408]', '["urg16","mail.channel",19017]', '["urg16","mail.channel",14050]', '["urg16","mail.channel",16594]', '["urg16","mail.channel",15938]', '["urg16","mail.channel",13723]', '["urg16","mail.channel",18946]', '["urg16","mail.channel",14052]', '["urg16","mail.channel",14891]', '["urg16","mail.channel",18436]', '["urg16","mail.channel",13634]', '["urg16","mail.channel",18738]', '["urg16","mail.channel",19284]', '["urg16","mail.channel",19165]', '["urg16","mail.channel",14747]', '["urg16","mail.channel",16306]', '["urg16","mail.channel",17828]', '["urg16","mail.channel",15067]', '["urg16","mail.channel",15924]', '["urg16","mail.channel",19469]', '["urg16","mail.channel",18694]', '["urg16","mail.channel",13053]', '["urg16","mail.channel",19023]', '["urg16","mail.channel",13382]', '["urg16","mail.channel",19325]', '["urg16","mail.channel",17174]', '["urg16","mail.channel",19398]', '["urg16","mail.channel",17903]', '["urg16","mail.channel",16164]', '["urg16","mail.channel",15999]', '["urg16","mail.channel",19199]', '["urg16","mail.channel",17359]', '["urg16","mail.channel",15208]', '["urg16","mail.channel",16776]', '["urg16","mail.channel",17807]', '["urg16","mail.channel",16321]', '["urg16","mail.channel",15000]', '["urg16","mail.channel",18054]', '["urg16","mail.channel",19274]', '["urg16","res.partner",8007534]', '["urg16","mail.channel",17361]', '["urg16","mail.channel",16040]', '["urg16","mail.channel",16705]', '["urg16","mail.channel",16769]', '["urg16","mail.channel",19002]', '["urg16","mail.channel",18282]', '["urg16","mail.channel",18291]', '["urg16","mail.channel",18483]', '["urg16","mail.channel",19569]', '["urg16","mail.channel",13635]', '["urg16","mail.channel",16097]', '["urg16","mail.channel",16243]', '["urg16","mail.channel",19132]', '["urg16","mail.channel",17219]', '["urg16","mail.channel",15141]', '["urg16","mail.channel",16163]', '["urg16","mail.channel",18405]', '["urg16","mail.channel",19363]', '["urg16","mail.channel",15946]', '["urg16","mail.channel",15845]', '["urg16","mail.channel",14051]', '["urg16","mail.channel",18755]', '["urg16","mail.channel",17031]', '["urg16","mail.channel",15774]', '["urg16","mail.channel",15957]', '["urg16","mail.channel",15420]', '["urg16","mail.channel",18190]', '["urg16","mail.channel",16942]', '["urg16","mail.channel",13525]', '["urg16","mail.channel",15694]'))) ORDER BY "bus_bus"."id";
Date: 2026-07-20 07:22:38 Duration: 8s274ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."id" > '9086463') AND ("bus_bus"."channel" in ('["urg16","mail.channel",19325]', '["urg16","mail.channel",16097]', '["urg16","mail.channel",17174]', '["urg16","mail.channel",19398]', '["urg16","mail.channel",17903]', '["urg16","mail.channel",15999]', '["urg16","mail.channel",19199]', '["urg16","mail.channel",17359]', '["urg16","mail.channel",15208]', '["urg16","mail.channel",16776]', '["urg16","broadcast"]', '["urg16","mail.channel",15946]', '["urg16","mail.channel",16321]', '["urg16","mail.channel",15000]', '["urg16","mail.channel",14051]', '["urg16","mail.channel",19274]', '["urg16","mail.channel",17361]', '["urg16","mail.channel",16040]', '["urg16","mail.channel",16705]', '["urg16","mail.channel",16769]', '["urg16","mail.channel",18755]', '["urg16","mail.channel",19002]', '["urg16","mail.channel",18282]', '["urg16","res.partner",8007534]', '["urg16","mail.channel",18291]', '["urg16","mail.channel",15420]', '["urg16","mail.channel",18483]', '["urg16","mail.channel",19569]', '["urg16","mail.channel",13635]', '["urg16","mail.channel",13525]', '["urg16","mail.channel",18165]', '["urg16","mail.channel",16243]', '["urg16","mail.channel",19132]', '["urg16","mail.channel",17219]', '["urg16","mail.channel",15141]', '["urg16","mail.channel",16163]', '["urg16","mail.channel",18405]', '["urg16","mail.channel",19363]', '["urg16","mail.channel",14695]', '["urg16","mail.channel",15845]', '["urg16","mail.channel",16528]', '["urg16","mail.channel",13712]', '["urg16","mail.channel",18215]', '["urg16","mail.channel",16119]', '["urg16","mail.channel",15408]', '["urg16","mail.channel",17031]', '["urg16","mail.channel",15774]', '["urg16","mail.channel",15957]', '["urg16","mail.channel",18190]', '["urg16","mail.channel",16942]', '["urg16","mail.channel",15694]', '["urg16","mail.channel",17088]', '["urg16","mail.channel",15648]', '["urg16","mail.channel",14519]', '["urg16","mail.channel",13634]', '["urg16","mail.channel",18738]', '["urg16","mail.channel",19351]', '["urg16","mail.channel",14747]', '["urg16","mail.channel",16306]', '["urg16","mail.channel",15067]', '["urg16","mail.channel",17721]', '["urg16","mail.channel",17202]', '["urg16","mail.channel",15707]', '["urg16","mail.channel",19017]', '["urg16","mail.channel",14050]', '["urg16","mail.channel",16164]', '["urg16","mail.channel",16594]', '["urg16","mail.channel",15938]', '["urg16","mail.channel",13723]', '["urg16","mail.channel",18946]', '["urg16","mail.channel",14052]', '["urg16","mail.channel",14891]', '["urg16","mail.channel",18436]', '["urg16","mail.channel",19165]', '["urg16","mail.channel",19284]', '["urg16","mail.channel",17807]', '["urg16","mail.channel",18054]', '["urg16","mail.channel",17828]', '["urg16","mail.channel",15924]', '["urg16","mail.channel",19469]', '["urg16","mail.channel",18694]', '["urg16","mail.channel",13053]', '["urg16","mail.channel",19023]', '["urg16","mail.channel",13382]'))) ORDER BY "bus_bus"."id";
Date: 2026-07-20 19:52:08 Duration: 6s967ms
16 3s368ms 4s836ms 4s37ms 12 48s448ms 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 20 02 1 4s395ms 4s395ms 16 1 3s903ms 3s903ms 19 1 4s650ms 4s650ms 20 4 17s38ms 4s259ms 22 2 7s246ms 3s623ms 23 1 4s394ms 4s394ms Jul 21 01 2 6s819ms 3s409ms -
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-20 20:04:10 Duration: 4s836ms
-
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 (67)))))) 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-20 19:16:50 Duration: 4s650ms
-
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)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 02:15:30 Duration: 4s395ms
17 3s358ms 4s310ms 3s727ms 15 55s915ms 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 #17
Day Hour Count Duration Avg duration Jul 20 20 15 55s915ms 3s727ms -
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 (102))))))) 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 (102)))))) 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 (102)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (102)))))) 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 (102))))))))) 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 (102))))))) AND ("policy_number"."name"::text ilike '%7%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 20:28:03 Duration: 4s310ms
-
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 (102))))))) 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 (102)))))) 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 (102)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (102)))))) 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 (102))))))))) 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 (102))))))) AND ("policy_number"."name"::text ilike '%713%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 20:28:04 Duration: 4s186ms
-
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 (102))))))) 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 (102)))))) 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 (102)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (102)))))) 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 (102))))))))) 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 (102))))))) AND ("policy_number"."name"::text ilike '%7%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 20:28:00 Duration: 4s39ms
18 3s54ms 7s152ms 3s694ms 32 1m58s 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 #18
Day Hour Count Duration Avg duration Jul 20 08 3 14s368ms 4s789ms 09 2 7s522ms 3s761ms 11 13 43s944ms 3s380ms 12 5 17s907ms 3s581ms 13 3 11s121ms 3s707ms 14 1 3s620ms 3s620ms 16 1 3s486ms 3s486ms 17 1 4s786ms 4s786ms 19 3 11s465ms 3s821ms -
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 (64)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-20 08:09:53 Duration: 7s152ms
-
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 (49)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-07-20 17:39:35 Duration: 4s786ms
-
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-20 08:44:04 Duration: 4s24ms
19 3s147ms 5s737ms 3s585ms 218 13m1s 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 #19
Day Hour Count Duration Avg duration Jul 20 02 2 6s725ms 3s362ms 09 2 7s397ms 3s698ms 10 1 4s80ms 4s80ms 11 3 11s101ms 3s700ms 12 6 23s728ms 3s954ms 14 12 43s790ms 3s649ms 15 2 7s258ms 3s629ms 17 7 25s454ms 3s636ms 18 35 2m2s 3s507ms 19 57 3m23s 3s566ms 20 17 1m2s 3s705ms 21 19 1m8s 3s630ms 22 17 1m1s 3s610ms 23 17 59s413ms 3s494ms Jul 21 00 21 1m13s 3s486ms -
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)))))))) AND ("policy_number"."name"::text ilike '%7%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 18:30:27 Duration: 5s737ms
-
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 ("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 '%5%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 19:59:35 Duration: 4s721ms
-
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 (114))))))) 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 (114)))))) 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 (114)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (114)))))) 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 (114))))))))) 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 (114)))))))) AND ("policy_number"."name"::text ilike '%4%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-07-20 22:35:34 Duration: 4s393ms
20 3s45ms 4s375ms 3s499ms 7 24s498ms 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"."create_date" = ?))) 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 #20
Day Hour Count Duration Avg duration Jul 20 12 4 13s210ms 3s302ms 17 1 3s562ms 3s562ms 20 1 4s375ms 4s375ms 21 1 3s350ms 3s350ms -
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"."create_date" = '2026-07-20'))) 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-20 20:18:23 Duration: 4s375ms
-
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"."create_date" = '2026-07-17'))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (93)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) 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-20 17:04:00 Duration: 3s562ms
-
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"."create_date" = '2026-07-17'))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (93)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) 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-20 12:36:09 Duration: 3s451ms
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,375 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 146 FATAL entries
- 2719 ERROR entries
- 0 WARNING entries
- 39 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 2,606 Max number of times the same event was reported
- 2,904 Total events found
Rank Times reported Error 1 2,606 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 20 02 110 03 109 04 112 05 110 06 110 07 105 08 110 09 110 10 110 11 110 12 109 13 110 14 108 15 110 16 111 17 110 18 110 19 110 20 110 21 109 22 111 23 110 Jul 21 00 110 01 82 - 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-20 02:00:53
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-20 02:01:16
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-20 02:01:55
2 99 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 20 05 8 07 1 08 10 11 20 14 16 17 15 20 13 23 16 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Date: 2026-07-20 05:00:06
Date: 2026-07-20 05:00:06
Date: 2026-07-20 05:00:06
3 69 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 20 02 1 08 2 09 6 10 19 11 6 12 2 13 4 14 2 15 5 16 6 17 5 19 6 20 1 21 1 22 3 - ERROR: syntax error at or near ")" at character 162
- ERROR: syntax error at or near ")" at character 162
- ERROR: syntax error at or near ")" at character 162
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 ('755495',)
Date: 2026-07-20 02:46:02
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 ('492230',)
Date: 2026-07-20 08:57:50
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 ('492230',)
Date: 2026-07-20 08:57:56
4 30 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 20 07 16 09 11 19 3 - LOG: could not send data to client: Broken pipe
- LOG: could not send data to client: Broken pipe
- 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-20 07:20:02
Date: 2026-07-20 07:43:58
Date: 2026-07-20 07:43:58
5 29 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #5
Day Hour Count Jul 20 07 15 09 11 19 3 - FATAL: connection to client lost
- FATAL: connection to client lost
- FATAL: connection to client lost
Date: 2026-07-20 07:43:58
Date: 2026-07-20 07:43:58
Date: 2026-07-20 07:43:58
6 26 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #6
Day Hour Count Jul 20 07 3 08 1 09 5 11 1 12 1 14 2 17 1 18 1 20 3 21 1 22 3 23 2 Jul 21 00 1 01 1 - 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 "bus_presence" SET "last_poll" = '2026-07-20 05:22:31' WHERE id IN (1)
Date: 2026-07-20 07:22:31
Statement: UPDATE "bus_presence" SET "last_poll" = '2026-07-20 05:28:32' WHERE id IN (421)
Date: 2026-07-20 07:28:32
Statement: UPDATE "bus_presence" SET "last_poll" = '2026-07-20 05:29:32' WHERE id IN (421)
Date: 2026-07-20 07:29:32
7 13 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #7
Day Hour Count Jul 20 05 2 08 1 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-20 05:00:06
Date: 2026-07-20 05:00:06
Date: 2026-07-20 08:00:07
8 10 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #8
Day Hour Count Jul 20 14 5 18 5 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 3587405 waits for ShareLock on transaction 83258389; blocked by process 3590043. Process 3590043 waits for ShareLock on transaction 83258391; blocked by process 3587405. Process 3587405: UPDATE "shipping_policy" SET "archive_date" = '2026-07-20', "state" = 'archive', "write_date" = '2026-07-20 12:17:46.409549', "write_uid" = 2040 WHERE id IN (22464099, 22463096, 22463094, 22463069, 22462810, 22462809, 22462801, 22462799, 22462793, 22462786, 22462785, 22462783, 22462777, 22462775, 22462774, 22462773, 22462772, 22462771, 22462769, 22462768, 22462763, 22462759, 22462756, 22462751, 22462750, 22462748, 22462737, 22462730, 22462724, 22462723, 22462722, 22462720, 22462717, 22462713, 22462694, 22462693, 22462689, 22462687, 22462684, 22462680, 22462676, 22462675, 22462674, 22462671, 22462667, 22462665, 22462662, 22462660, 22462659, 22462657, 22462650, 22462648, 22462646, 22462642, 22462639, 22462638, 22462637, 22462636, 22462635, 22462634, 22462633, 22462632, 22462630, 22462626, 22462621, 22462617, 22462614, 22462613, 22462612, 22462611, 22462610, 22462605, 22462604, 22462601, 22462597, 22462588, 22462586, 22462582, 22462581, 22462579, 22462571, 22462570, 22462559, 22462555, 22462549, 22462544, 22462 Process 3590043: update shipping_policy set state_collection='confirm' where id=22462684
Context: while updating tuple (152403,26) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "archive_date" = '2026-07-20', "state" = 'archive', "write_date" = '2026-07-20 12:17:46.409549', "write_uid" = 2040 WHERE id IN (22464099, 22463096, 22463094, 22463069, 22462810, 22462809, 22462801, 22462799, 22462793, 22462786, 22462785, 22462783, 22462777, 22462775, 22462774, 22462773, 22462772, 22462771, 22462769, 22462768, 22462763, 22462759, 22462756, 22462751, 22462750, 22462748, 22462737, 22462730, 22462724, 22462723, 22462722, 22462720, 22462717, 22462713, 22462694, 22462693, 22462689, 22462687, 22462684, 22462680, 22462676, 22462675, 22462674, 22462671, 22462667, 22462665, 22462662, 22462660, 22462659, 22462657, 22462650, 22462648, 22462646, 22462642, 22462639, 22462638, 22462637, 22462636, 22462635, 22462634, 22462633, 22462632, 22462630, 22462626, 22462621, 22462617, 22462614, 22462613, 22462612, 22462611, 22462610, 22462605, 22462604, 22462601, 22462597, 22462588, 22462586, 22462582, 22462581, 22462579, 22462571, 22462570, 22462559, 22462555, 22462549, 22462544, 22462538, 22462537, 22462536, 22462532, 22462529, 22462527, 22462526, 22462011, 22462008, 22462005, 22462004, 22461999, 22461995, 22461992, 22461987, 22461983, 22461982, 22461981, 22461980, 22461979, 22461974, 22461973, 22461970, 22461968, 22461965, 22461962, 22461959, 22461958, 22461957, 22461955, 22461953, 22461952, 22461948, 22461945, 22461944, 22461942, 22461941, 22461937, 22461935, 22461934, 22461933, 22461932, 22461928, 22460613, 22460608, 22460604, 22460598, 22460597, 22460596, 22460593, 22460592, 22460415, 22460299, 22459636, 22459631, 22459629, 22459626, 22459624, 22459619, 22459616, 22459610, 22459003, 22458843, 22458694, 22458404, 22458396, 22458378, 22458368, 22458367, 22458354, 22458065, 22457580, 22457446, 22457433, 22457432, 22457190, 22457151, 22457110, 22457100, 22457007, 22456966, 22456878, 22456003, 22455902, 22455893, 22455770, 22455756, 22455645, 22455513, 22455511, 22455510, 22455509, 22455506, 22455486, 22455472, 22455464, 22455440, 22455438, 22455322, 22455251, 22455190, 22455038, 22455004, 22454991, 22454972, 22454904, 22454872, 22454858, 22454789, 22454760, 22454752, 22454682, 22454648, 22454570, 22454562, 22454532, 22454466, 22454464, 22454450, 22454449, 22454354, 22454315, 22454276, 22454267, 22454264, 22454172, 22454169, 22454166, 22454162, 22454158, 22454146, 22454101, 22454071, 22453828, 22453815, 22453750, 22453700, 22453687, 22453686, 22453658, 22453640, 22453633, 22453621, 22453493, 22453468, 22453394, 22453380, 22453378, 22453370, 22453367, 22453364, 22453359, 22453351, 22453349, 22453299, 22453268, 22453267, 22453128, 22452913, 22452849, 22452791, 22452598, 22452413, 22452403, 22452401, 22452380, 22452374, 22452368, 22452363, 22452308, 22451972, 22450990, 22450988, 22450985, 22450983, 22450980, 22450978, 22450974, 22450973, 22450972, 22450967, 22450961, 22450958, 22450956, 22450836, 22450829, 22450827, 22450825, 22450824, 22450821, 22450820, 22450815, 22450814, 22450811, 22450807, 22450802, 22450747, 22450059, 22450054, 22450048, 22450042, 22450040, 22450032, 22450031, 22450030, 22450028, 22450027, 22450014, 22450010, 22450005, 22450004, 22449628, 22449626, 22449625, 22449623)Date: 2026-07-20 14:17:48
Detail: Process 3587405 waits for ShareLock on transaction 83258389; blocked by process 3590043. Process 3590043 waits for ShareLock on transaction 83258393; blocked by process 3587405. Process 3587405: UPDATE "shipping_policy" SET "archive_date" = '2026-07-20', "state" = 'archive', "write_date" = '2026-07-20 12:17:49.131767', "write_uid" = 2040 WHERE id IN (22464099, 22463096, 22463094, 22463069, 22462810, 22462809, 22462801, 22462799, 22462793, 22462786, 22462785, 22462783, 22462777, 22462775, 22462774, 22462773, 22462772, 22462771, 22462769, 22462768, 22462763, 22462759, 22462756, 22462751, 22462750, 22462748, 22462737, 22462730, 22462724, 22462723, 22462722, 22462720, 22462717, 22462713, 22462694, 22462693, 22462689, 22462687, 22462684, 22462680, 22462676, 22462675, 22462674, 22462671, 22462667, 22462665, 22462662, 22462660, 22462659, 22462657, 22462650, 22462648, 22462646, 22462642, 22462639, 22462638, 22462637, 22462636, 22462635, 22462634, 22462633, 22462632, 22462630, 22462626, 22462621, 22462617, 22462614, 22462613, 22462612, 22462611, 22462610, 22462605, 22462604, 22462601, 22462597, 22462588, 22462586, 22462582, 22462581, 22462579, 22462571, 22462570, 22462559, 22462555, 22462549, 22462544, 22462 Process 3590043: update shipping_policy set state_collection='confirm' where id=22462614
Context: while updating tuple (241971,25) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "archive_date" = '2026-07-20', "state" = 'archive', "write_date" = '2026-07-20 12:17:49.131767', "write_uid" = 2040 WHERE id IN (22464099, 22463096, 22463094, 22463069, 22462810, 22462809, 22462801, 22462799, 22462793, 22462786, 22462785, 22462783, 22462777, 22462775, 22462774, 22462773, 22462772, 22462771, 22462769, 22462768, 22462763, 22462759, 22462756, 22462751, 22462750, 22462748, 22462737, 22462730, 22462724, 22462723, 22462722, 22462720, 22462717, 22462713, 22462694, 22462693, 22462689, 22462687, 22462684, 22462680, 22462676, 22462675, 22462674, 22462671, 22462667, 22462665, 22462662, 22462660, 22462659, 22462657, 22462650, 22462648, 22462646, 22462642, 22462639, 22462638, 22462637, 22462636, 22462635, 22462634, 22462633, 22462632, 22462630, 22462626, 22462621, 22462617, 22462614, 22462613, 22462612, 22462611, 22462610, 22462605, 22462604, 22462601, 22462597, 22462588, 22462586, 22462582, 22462581, 22462579, 22462571, 22462570, 22462559, 22462555, 22462549, 22462544, 22462538, 22462537, 22462536, 22462532, 22462529, 22462527, 22462526, 22462011, 22462008, 22462005, 22462004, 22461999, 22461995, 22461992, 22461987, 22461983, 22461982, 22461981, 22461980, 22461979, 22461974, 22461973, 22461970, 22461968, 22461965, 22461962, 22461959, 22461958, 22461957, 22461955, 22461953, 22461952, 22461948, 22461945, 22461944, 22461942, 22461941, 22461937, 22461935, 22461934, 22461933, 22461932, 22461928, 22460613, 22460608, 22460604, 22460598, 22460597, 22460596, 22460593, 22460592, 22460415, 22460299, 22459636, 22459631, 22459629, 22459626, 22459624, 22459619, 22459616, 22459610, 22459003, 22458843, 22458694, 22458404, 22458396, 22458378, 22458368, 22458367, 22458354, 22458065, 22457580, 22457446, 22457433, 22457432, 22457190, 22457151, 22457110, 22457100, 22457007, 22456966, 22456878, 22456003, 22455902, 22455893, 22455770, 22455756, 22455645, 22455513, 22455511, 22455510, 22455509, 22455506, 22455486, 22455472, 22455464, 22455440, 22455438, 22455322, 22455251, 22455190, 22455038, 22455004, 22454991, 22454972, 22454904, 22454872, 22454858, 22454789, 22454760, 22454752, 22454682, 22454648, 22454570, 22454562, 22454532, 22454466, 22454464, 22454450, 22454449, 22454354, 22454315, 22454276, 22454267, 22454264, 22454172, 22454169, 22454166, 22454162, 22454158, 22454146, 22454101, 22454071, 22453828, 22453815, 22453750, 22453700, 22453687, 22453686, 22453658, 22453640, 22453633, 22453621, 22453493, 22453468, 22453394, 22453380, 22453378, 22453370, 22453367, 22453364, 22453359, 22453351, 22453349, 22453299, 22453268, 22453267, 22453128, 22452913, 22452849, 22452791, 22452598, 22452413, 22452403, 22452401, 22452380, 22452374, 22452368, 22452363, 22452308, 22451972, 22450990, 22450988, 22450985, 22450983, 22450980, 22450978, 22450974, 22450973, 22450972, 22450967, 22450961, 22450958, 22450956, 22450836, 22450829, 22450827, 22450825, 22450824, 22450821, 22450820, 22450815, 22450814, 22450811, 22450807, 22450802, 22450747, 22450059, 22450054, 22450048, 22450042, 22450040, 22450032, 22450031, 22450030, 22450028, 22450027, 22450014, 22450010, 22450005, 22450004, 22449628, 22449626, 22449625, 22449623)Date: 2026-07-20 14:17:50
Detail: Process 3587405 waits for ShareLock on transaction 83258389; blocked by process 3590043. Process 3590043 waits for ShareLock on transaction 83258396; blocked by process 3587405. Process 3587405: UPDATE "shipping_policy" SET "archive_date" = '2026-07-20', "state" = 'archive', "write_date" = '2026-07-20 12:17:52.387751', "write_uid" = 2040 WHERE id IN (22464099, 22463096, 22463094, 22463069, 22462810, 22462809, 22462801, 22462799, 22462793, 22462786, 22462785, 22462783, 22462777, 22462775, 22462774, 22462773, 22462772, 22462771, 22462769, 22462768, 22462763, 22462759, 22462756, 22462751, 22462750, 22462748, 22462737, 22462730, 22462724, 22462723, 22462722, 22462720, 22462717, 22462713, 22462694, 22462693, 22462689, 22462687, 22462684, 22462680, 22462676, 22462675, 22462674, 22462671, 22462667, 22462665, 22462662, 22462660, 22462659, 22462657, 22462650, 22462648, 22462646, 22462642, 22462639, 22462638, 22462637, 22462636, 22462635, 22462634, 22462633, 22462632, 22462630, 22462626, 22462621, 22462617, 22462614, 22462613, 22462612, 22462611, 22462610, 22462605, 22462604, 22462601, 22462597, 22462588, 22462586, 22462582, 22462581, 22462579, 22462571, 22462570, 22462559, 22462555, 22462549, 22462544, 22462 Process 3590043: update shipping_policy set state_collection='confirm' where id=22461979
Context: while updating tuple (119900,47) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "archive_date" = '2026-07-20', "state" = 'archive', "write_date" = '2026-07-20 12:17:52.387751', "write_uid" = 2040 WHERE id IN (22464099, 22463096, 22463094, 22463069, 22462810, 22462809, 22462801, 22462799, 22462793, 22462786, 22462785, 22462783, 22462777, 22462775, 22462774, 22462773, 22462772, 22462771, 22462769, 22462768, 22462763, 22462759, 22462756, 22462751, 22462750, 22462748, 22462737, 22462730, 22462724, 22462723, 22462722, 22462720, 22462717, 22462713, 22462694, 22462693, 22462689, 22462687, 22462684, 22462680, 22462676, 22462675, 22462674, 22462671, 22462667, 22462665, 22462662, 22462660, 22462659, 22462657, 22462650, 22462648, 22462646, 22462642, 22462639, 22462638, 22462637, 22462636, 22462635, 22462634, 22462633, 22462632, 22462630, 22462626, 22462621, 22462617, 22462614, 22462613, 22462612, 22462611, 22462610, 22462605, 22462604, 22462601, 22462597, 22462588, 22462586, 22462582, 22462581, 22462579, 22462571, 22462570, 22462559, 22462555, 22462549, 22462544, 22462538, 22462537, 22462536, 22462532, 22462529, 22462527, 22462526, 22462011, 22462008, 22462005, 22462004, 22461999, 22461995, 22461992, 22461987, 22461983, 22461982, 22461981, 22461980, 22461979, 22461974, 22461973, 22461970, 22461968, 22461965, 22461962, 22461959, 22461958, 22461957, 22461955, 22461953, 22461952, 22461948, 22461945, 22461944, 22461942, 22461941, 22461937, 22461935, 22461934, 22461933, 22461932, 22461928, 22460613, 22460608, 22460604, 22460598, 22460597, 22460596, 22460593, 22460592, 22460415, 22460299, 22459636, 22459631, 22459629, 22459626, 22459624, 22459619, 22459616, 22459610, 22459003, 22458843, 22458694, 22458404, 22458396, 22458378, 22458368, 22458367, 22458354, 22458065, 22457580, 22457446, 22457433, 22457432, 22457190, 22457151, 22457110, 22457100, 22457007, 22456966, 22456878, 22456003, 22455902, 22455893, 22455770, 22455756, 22455645, 22455513, 22455511, 22455510, 22455509, 22455506, 22455486, 22455472, 22455464, 22455440, 22455438, 22455322, 22455251, 22455190, 22455038, 22455004, 22454991, 22454972, 22454904, 22454872, 22454858, 22454789, 22454760, 22454752, 22454682, 22454648, 22454570, 22454562, 22454532, 22454466, 22454464, 22454450, 22454449, 22454354, 22454315, 22454276, 22454267, 22454264, 22454172, 22454169, 22454166, 22454162, 22454158, 22454146, 22454101, 22454071, 22453828, 22453815, 22453750, 22453700, 22453687, 22453686, 22453658, 22453640, 22453633, 22453621, 22453493, 22453468, 22453394, 22453380, 22453378, 22453370, 22453367, 22453364, 22453359, 22453351, 22453349, 22453299, 22453268, 22453267, 22453128, 22452913, 22452849, 22452791, 22452598, 22452413, 22452403, 22452401, 22452380, 22452374, 22452368, 22452363, 22452308, 22451972, 22450990, 22450988, 22450985, 22450983, 22450980, 22450978, 22450974, 22450973, 22450972, 22450967, 22450961, 22450958, 22450956, 22450836, 22450829, 22450827, 22450825, 22450824, 22450821, 22450820, 22450815, 22450814, 22450811, 22450807, 22450802, 22450747, 22450059, 22450054, 22450048, 22450042, 22450040, 22450032, 22450031, 22450030, 22450028, 22450027, 22450014, 22450010, 22450005, 22450004, 22449628, 22449626, 22449625, 22449623)Date: 2026-07-20 14:17:54
9 9 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #9
Day Hour Count Jul 20 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-20 02:00:08 CEST
- LOG: database system was shut down at 2026-07-20 05:00:07 CEST
- LOG: database system was shut down at 2026-07-20 07:20:02 CEST
Date: 2026-07-20 02:00:10
Date: 2026-07-20 05:00:10
Date: 2026-07-20 07:22:04
10 6 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Jul 20 13 1 15 1 18 1 20 1 22 1 Jul 21 00 1 - ERROR: duplicate key value violates unique constraint "ir_filters_name_model_uid_unique_action_index"
- ERROR: duplicate key value violates unique constraint "ir_filters_name_model_uid_unique"
- ERROR: duplicate key value violates unique constraint "ir_filters_name_model_uid_unique"
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(shipping.policy, -1, 661, 20*7***اسيوط الاول سيلز) already exists.
Statement: INSERT INTO "ir_filters" ("action_id", "active", "context", "create_date", "create_uid", "domain", "is_default", "model_id", "name", "sort", "user_id", "write_date", "write_uid") VALUES (661, true, '{''group_by'': []}', '2026-07-20 09:44:01.681265', 1294, '["|", ("pol_name", "=", "606986"), "|", ("pol_name", "=", "522924"), "|", ("pol_name", "=", "351447"), "|", ("pol_name", "=", "581473"), "|", ("pol_name", "=", "721996"), "|", ("pol_name", "=", "602498"), "|", ("pol_name", "=", "649567"), "|", ("pol_name", "=", "755526"), "|", ("pol_name", "=", "572075"), "|", ("pol_name", "=", "309548"), "|", ("pol_name", "=", "647833"), "|", ("pol_name", "=", "607630"), "|", ("pol_name", "=", "730024"), "|", ("pol_name", "=", "456526"), "|", ("pol_name", "=", "456525"), "|", ("pol_name", "=", "64185"), "|", ("pol_name", "=", "641854"), "|", ("pol_name", "=", "661021"), "|", ("pol_name", "=", "62967"), "|", ("pol_name", "=", "629627"), "|", ("pol_name", "=", "576951"), "|", ("pol_name", "=", "394017"), "|", ("pol_name", "=", "597596"), "|", ("pol_name", "=", "811766"), "|", ("pol_name", "=", "736135"), "|", ("pol_name", "=", "651034"), "|", ("pol_name", "=", "673556"), "|", ("pol_name", "=", "612032"), "|", ("pol_name", "=", "760613"), "|", ("pol_name", "=", "692062"), "|", ("pol_name", "=", "606695"), "|", ("pol_name", "=", "647520"), "|", ("pol_name", "=", "683742"), "|", ("pol_name", "=", "802039"), "|", ("pol_name", "=", "568626"), ("pol_name", "=", "471130")]', false, 'shipping.policy', '20*7***اسيوط الاول سيلز', '["state desc","x_total_shipping_price"]', NULL, '2026-07-20 09:44:01.681265', 1294) RETURNING "id"Date: 2026-07-20 13:44:01
Detail: Key (model_id, user_id, action_id, name)=(shipping.policy, 1294, 661, بوليصة البضاعة) already exists.
Statement: INSERT INTO "ir_filters" ("action_id", "active", "context", "create_date", "create_uid", "domain", "is_default", "model_id", "name", "sort", "user_id", "write_date", "write_uid") VALUES (661, true, '{''group_by'': []}', '2026-07-20 11:38:45.143951', 1294, '["|", ("pol_name", "=", "804297"), "|", ("pol_name", "=", "779101"), "|", ("pol_name", "=", "632311"), "|", ("pol_name", "=", "606978"), "|", ("pol_name", "=", "577145"), "|", ("pol_name", "=", "577245"), "|", ("pol_name", "=", "605827"), "|", ("pol_name", "=", "608142"), "|", ("pol_name", "=", "669081"), "|", ("pol_name", "=", "530794"), "|", ("pol_name", "=", "608757"), "|", ("pol_name", "=", "712163"), "|", ("pol_name", "=", "551757"), "|", ("pol_name", "=", "774669"), "|", ("pol_name", "=", "687249"), "|", ("pol_name", "=", "456530"), "|", ("pol_name", "=", "431322"), "|", ("pol_name", "=", "713053"), "|", ("pol_name", "=", "644004"), "|", ("pol_name", "=", "336757"), "|", ("pol_name", "=", "687713"), "|", ("pol_name", "=", "644711"), "|", ("pol_name", "=", "408830"), "|", ("pol_name", "=", "503410"), "|", ("pol_name", "=", "728065"), "|", ("pol_name", "=", "696445"), "|", ("pol_name", "=", "608761"), "|", ("pol_name", "=", "737185+"), "|", ("pol_name", "=", "737185"), "|", ("pol_name", "=", "523460"), "|", ("pol_name", "=", "606342"), "|", ("pol_name", "=", "606973"), "|", ("pol_name", "=", "568269"), "|", ("pol_name", "=", "687705"), ("pol_name", "=", "608430")]', false, 'shipping.policy', 'بوليصة البضاعة', '[]', 1294, '2026-07-20 11:38:45.143951', 1294) RETURNING "id"Date: 2026-07-20 15:38:45
Detail: Key (model_id, user_id, action_id, name)=(shipping.policy, 844, 661, بوليصة البضاعة) already exists.
Statement: INSERT INTO "ir_filters" ("action_id", "active", "context", "create_date", "create_uid", "domain", "is_default", "model_id", "name", "sort", "user_id", "write_date", "write_uid") VALUES (661, true, '{''group_by'': []}', '2026-07-20 14:53:59.986634', 844, '["&", ("out_date", "=", "2026-07-20"), "&", ("state", "=", "in_way_to_client"), ("delegate_id", "ilike", "كريم احمد")]', false, 'shipping.policy', 'بوليصة البضاعة', '["x_total_shipping_price"]', 844, '2026-07-20 14:53:59.986634', 844) RETURNING "id"Date: 2026-07-20 18:54:00
11 5 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #11
Day Hour Count Jul 20 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-20 07:20:02
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-07-20 07:20:02
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-07-20 07:20:02
12 1 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #12
Day Hour Count Jul 20 20 1 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "mail_message" WHERE id IN (208664653, 208633087, 208633086, 208563056, 208523129, 208523128, 208255224, 208185179, 208185178, 207977150, 207967806, 207967805, 207370217, 207370213, 207335414, 207328187, 207328186, 207029033, 207029005, 206778602, 206778601, 206751695, 206751694, 205996914, 205887558, 205867328, 205857633, 205857632, 205828583, 205828582, 205675573, 205674556, 205510858, 205510857, 205434123, 205425726, 205425314, 205407229, 205407227, 205365682, 205365681, 205336208, 205336207, 205335486, 205317570, 205317569, 205300406, 205300405, 205293647, 205293622, 205251428, 205251427, 205249243, 205249242, 205092289, 205092288, 204922881, 204915493, 204915492, 204692701, 204685410, 204685409)
Date: 2026-07-20 20:10:58
13 1 ERROR: invalid input syntax for type date: ...
Times Reported Most Frequent Error / Event #13
Day Hour Count Jul 20 17 1 - ERROR: invalid input syntax for type date: "False" at character 37
Statement: update shipping_policy set d_date = 'False' where id=22424073
Date: 2026-07-20 17:02:18