-
Global information
- Generated on Fri Jun 26 23:45:03 2026
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 15,387 log entries in 2s
- Log start from 2026-06-26 02:00:09 to 2026-06-27 01:44:38
-
Overview
Global Stats
- 85 Number of unique normalized queries
- 1,154 Number of queries
- 1h35m52s Total query duration
- 2026-06-26 02:00:30 First query
- 2026-06-27 01:22:13 Last query
- 48 queries/s at 2026-06-27 01:22:12 Query peak
- 1h35m52s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1h35m52s Execute total duration
- 2,923 Number of events
- 11 Number of unique normalized events
- 2,609 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,154 Average queries per session
- 1h35m52s 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
- 48 queries/s Query Peak
- 2026-06-27 01:22:12 Date
SELECT Traffic
Key values
- 48 queries/s Query Peak
- 2026-06-27 01:22:12 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-06-26 08:04:28 Date
Queries duration
Key values
- 1h35m52s 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) Jun 26 02 11 0ms 7s646ms 3s903ms 0ms 6s345ms 25s170ms 03 67 0ms 11s750ms 5s523ms 0ms 0ms 5m58s 04 4 0ms 5s111ms 3s960ms 0ms 0ms 15s843ms 05 63 0ms 5s551ms 4s513ms 0ms 0ms 4m44s 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 0 0ms 0ms 0ms 0ms 0ms 0ms 08 143 0ms 1m22s 7s492ms 55s232ms 1m22s 6m38s 09 70 0ms 9s546ms 6s105ms 43s934ms 56s487ms 57s67ms 10 3 0ms 3s377ms 3s269ms 0ms 3s155ms 3s377ms 11 71 0ms 9s934ms 3s830ms 9s234ms 11s737ms 3m26s 12 7 0ms 8s250ms 4s514ms 0ms 6s460ms 13s574ms 13 11 0ms 2m39s 19s115ms 3s314ms 8s859ms 2m39s 14 103 0ms 10s98ms 4s112ms 3s479ms 10s98ms 5m57s 15 46 0ms 11s841ms 3s732ms 11s110ms 14s853ms 19s985ms 16 16 0ms 6s492ms 4s61ms 3s273ms 7s838ms 21s484ms 17 133 0ms 13s834ms 4s30ms 5s704ms 14s637ms 7m10s 18 31 0ms 5s994ms 3s592ms 6s899ms 13s38ms 13s623ms 19 55 0ms 12s857ms 3s947ms 16s394ms 20s583ms 42s247ms 20 161 0ms 9s243ms 4s241ms 13s150ms 16s285ms 5m8s 21 28 0ms 10s637ms 4s907ms 10s607ms 13s896ms 34s638ms 22 10 0ms 9s783ms 3s979ms 0ms 3s766ms 19s829ms 23 47 0ms 8s843ms 4s183ms 8s82ms 8s843ms 1m50s Jun 27 00 9 0ms 8s892ms 5s457ms 0ms 3s419ms 29s554ms 01 65 0ms 6s706ms 5s937ms 0ms 0ms 6m22s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 26 02 10 0 3s658ms 0ms 0ms 7s646ms 03 66 0 5s429ms 0ms 0ms 0ms 04 4 0 3s960ms 0ms 0ms 0ms 05 63 0 4s513ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 131 12 7s492ms 3s368ms 55s232ms 4m28s 09 70 0 6s105ms 3s94ms 43s934ms 56s930ms 10 3 0 3s269ms 0ms 0ms 3s273ms 11 70 0 3s837ms 0ms 9s234ms 11s737ms 12 5 0 3s377ms 0ms 0ms 3s312ms 13 10 0 5s37ms 0ms 3s94ms 8s859ms 14 103 0 4s112ms 0ms 3s479ms 33s633ms 15 46 0 3s732ms 6s196ms 11s110ms 19s66ms 16 16 0 4s61ms 0ms 3s273ms 19s400ms 17 133 0 4s30ms 3s68ms 5s704ms 32s997ms 18 31 0 3s592ms 4s110ms 6s899ms 13s249ms 19 55 0 3s947ms 3s350ms 16s394ms 32s604ms 20 161 0 4s241ms 0ms 13s150ms 5m 21 28 0 4s907ms 3s356ms 10s607ms 16s475ms 22 10 0 3s979ms 0ms 0ms 9s783ms 23 47 0 4s183ms 3s416ms 8s82ms 16s947ms Jun 27 00 9 0 5s457ms 0ms 0ms 13s100ms 01 65 0 5s937ms 0ms 0ms 6m22s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 26 02 0 1 0 0 6s345ms 0ms 0ms 0ms 03 1 0 0 0 11s750ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 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 1 0 3s341ms 0ms 0ms 0ms 12 0 2 0 0 7s355ms 0ms 0ms 0ms 13 0 0 1 0 2m39s 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jun 27 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 Jun 26 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% Jun 27 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% Day Hour Count Average / Second Jun 26 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 Jun 27 00 0 0.00/s 01 0 0.00/s Day Hour Count Average Duration Average idle time Jun 26 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 Jun 27 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
- 195,021 buffers Checkpoint Peak
- 2026-06-26 09:26:24 Date
- 270.046 seconds Highest write time
- 0.012 seconds Sync time
Checkpoints Wal files
Key values
- 58 files Wal files usage Peak
- 2026-06-26 13:04:40 Date
Checkpoints distance
Key values
- 1,881.95 Mo Distance Peak
- 2026-06-26 13:04:40 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jun 26 02 110,084 2,968.822s 0.029s 2,968.904s 03 87,086 2,699.611s 0.028s 2,699.68s 04 84,538 3,208.577s 0.032s 3,208.662s 05 41,927 3,022.041s 0.032s 3,022.12s 06 33,916 2,663.818s 0.026s 2,663.888s 07 20,604 1,748.717s 0.022s 1,748.781s 08 38,491 1,957.06s 0.042s 1,957.136s 09 284,942 3,239.601s 0.031s 3,239.676s 10 129,096 3,239.469s 0.03s 3,239.547s 11 170,857 3,162.726s 0.035s 3,162.819s 12 87,880 3,127.423s 0.031s 3,127.501s 13 286,036 3,239.592s 0.033s 3,239.688s 14 143,861 2,969.303s 0.043s 2,969.393s 15 92,046 3,239.57s 0.039s 3,239.653s 16 105,955 3,239.589s 0.028s 3,239.664s 17 102,205 2,969.415s 0.041s 2,969.501s 18 99,802 3,239.602s 0.035s 3,239.682s 19 129,976 3,239.562s 0.036s 3,239.645s 20 110,030 2,429.487s 0.051s 2,429.581s 21 109,044 3,239.512s 0.041s 3,239.599s 22 79,865 3,216.536s 0.029s 3,216.61s 23 80,520 3,104.779s 0.04s 3,104.866s Jun 27 00 68,264 3,116.507s 0.034s 3,116.588s 01 42,155 1,820.814s 0.027s 1,820.895s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jun 26 02 0 0 45 2,412 0.002s 0.011s 03 0 0 37 2,156 0.002s 0.011s 04 0 0 33 2,453 0.002s 0.012s 05 0 0 17 1,958 0.004s 0.013s 06 0 0 13 1,542 0.002s 0.012s 07 0 0 8 1,243 0.002s 0.012s 08 0 0 12 1,739 0.006s 0.011s 09 0 0 43 2,744 0.002s 0.012s 10 0 0 52 2,969 0.002s 0.012s 11 0 0 69 3,370 0.002s 0.013s 12 0 0 35 2,629 0.002s 0.012s 13 0 0 114 3,759 0.002s 0.012s 14 0 0 56 3,602 0.005s 0.012s 15 0 0 35 3,824 0.002s 0.012s 16 0 0 38 3,604 0.002s 0.012s 17 0 0 34 3,844 0.003s 0.012s 18 0 0 39 3,801 0.002s 0.012s 19 0 0 52 3,861 0.003s 0.012s 20 0 0 44 3,478 0.004s 0.011s 21 0 0 43 3,484 0.002s 0.012s 22 0 0 31 3,158 0.002s 0.012s 23 0 0 32 3,360 0.004s 0.013s Jun 27 00 0 0 29 2,915 0.002s 0.012s 01 0 0 17 1,716 0.004s 0.008s Day Hour Count Avg time (sec) Jun 26 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 Jun 27 00 0 0s 01 0 0s Day Hour Mean distance Mean estimate Jun 26 02 66,864.73 kB 86,401.73 kB 03 54,721.36 kB 100,005.82 kB 04 46,342.25 kB 69,508.08 kB 05 20,427.92 kB 29,519.31 kB 06 18,613.17 kB 29,591.92 kB 07 11,141.25 kB 24,354.17 kB 08 17,480.73 kB 21,188.73 kB 09 58,014.08 kB 72,012.75 kB 10 72,013.25 kB 94,471.58 kB 11 86,581.15 kB 115,379.23 kB 12 47,050.42 kB 86,481.08 kB 13 155,931.67 kB 613,784.50 kB 14 77,053.42 kB 120,209.83 kB 15 46,855.17 kB 79,053.50 kB 16 52,042.00 kB 70,234.42 kB 17 46,600.17 kB 61,755.00 kB 18 52,851.08 kB 62,009.42 kB 19 71,744.17 kB 84,544.17 kB 20 65,083.27 kB 79,239.55 kB 21 59,323.42 kB 74,381.92 kB 22 41,947.25 kB 59,717.67 kB 23 40,955.38 kB 49,068.92 kB Jun 27 00 38,830.92 kB 88,367.33 kB 01 35,693.00 kB 55,544.88 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 Jun 26 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 Jun 27 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 Jun 26 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 Jun 27 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,136 Total read queries
- 18 Total write queries
Queries by database
Key values
- unknown Main database
- 1,154 Requests
- 1h35m52s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 1,154 Requests
User Request type Count Duration unknown Total 1,154 1h35m52s copy to 12 6m16s delete 2 2m43s insert 1 11s750ms select 1,136 1h26m19s update 3 21s56ms Duration by user
Key values
- 1h35m52s (unknown) Main time consuming user
User Request type Count Duration unknown Total 1,154 1h35m52s copy to 12 6m16s delete 2 2m43s insert 1 11s750ms select 1,136 1h26m19s update 3 21s56ms Queries by host
Key values
- unknown Main host
- 1,154 Requests
- 1h35m52s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 1,154 Requests
- 1h35m52s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-06-26 07:34:05 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 1,133 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 2m39s DELETE FROM "res_users" WHERE id IN (2060);[ Date: 2026-06-26 13:04:09 ]
2 1m22s COPY public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) TO stdout;[ Date: 2026-06-26 08:04:28 ]
3 59s450ms 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-06-26 08:07:10 ]
4 52s71ms 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-06-26 08:05:20 ]
5 44s191ms COPY public.cash_policy_tracking (id, create_uid, write_uid, name, shipping_id, cash_id, create_date, write_date) TO stdout;[ Date: 2026-06-26 08:06:11 ]
6 35s23ms COPY public.mail_followers (id, res_id, partner_id, res_model) TO stdout;[ Date: 2026-06-26 08:08:58 ]
7 30s118ms 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-06-26 08:08:06 ]
8 28s87ms 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-06-26 08:09:39 ]
9 19s185ms 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-06-26 08:07:29 ]
10 13s834ms SELECT COUNT(*) FROM ( SELECT FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (69)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))))) LIMIT 10001) t;[ Date: 2026-06-26 17:00:39 ]
11 12s857ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (94)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85)))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;[ Date: 2026-06-26 19:25:06 ]
12 12s630ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (94)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85)))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;[ Date: 2026-06-26 19:25:47 ]
13 12s521ms COPY public.mail_followers_mail_message_subtype_rel (mail_followers_id, mail_message_subtype_id) TO stdout;[ Date: 2026-06-26 08:09:10 ]
14 11s945ms SELECT "notebook".id FROM "notebook" WHERE (("notebook"."active" = true) AND ("notebook"."id" IN ( SELECT "policy_number"."notebook_id" FROM "policy_number" WHERE (("policy_number"."active" = true) AND ("policy_number"."name"::text ilike '%411000%')) AND "policy_number"."notebook_id" IS NOT NULL))) ORDER BY "notebook"."id" LIMIT 80;[ Date: 2026-06-26 17:22:01 ]
15 11s841ms SELECT min("notebook".id) AS id, count("notebook".id) AS "office_id_count", sum("notebook"."start") AS "start", sum("notebook"."end") AS "end", "notebook"."office_id" as "office_id" FROM "notebook" LEFT JOIN "urgent_office" AS "notebook__office_id" ON ("notebook"."office_id" = "notebook__office_id"."id") WHERE (("notebook"."active" = true) AND ("notebook"."id" IN ( SELECT "policy_number"."notebook_id" FROM "policy_number" WHERE (("policy_number"."active" = true) AND ("policy_number"."name"::text ilike '%25092%')) AND "policy_number"."notebook_id" IS NOT NULL))) GROUP BY "notebook"."office_id", "notebook__office_id"."new_code" ORDER BY "notebook__office_id"."new_code" ASC LIMIT 80;[ Date: 2026-06-26 15:42:36 ]
16 11s750ms INSERT INTO policy_number_policy_tracking_missing_rel (policy_tracking_missing_id, policy_number_id) VALUES (16935, 54597818), (16935, 54597819), (16935, 54597820) ON CONFLICT DO NOTHING;[ Date: 2026-06-26 03:04:44 ]
17 11s191ms SELECT min("notebook".id) AS id, count("notebook".id) AS "office_id_count", sum("notebook"."start") AS "start", sum("notebook"."end") AS "end", "notebook"."office_id" as "office_id" FROM "notebook" LEFT JOIN "urgent_office" AS "notebook__office_id" ON ("notebook"."office_id" = "notebook__office_id"."id") WHERE (("notebook"."active" = true) AND ("notebook"."id" IN ( SELECT "policy_number"."notebook_id" FROM "policy_number" WHERE (("policy_number"."active" = true) AND ("policy_number"."name"::text ilike '%411000%')) AND "policy_number"."notebook_id" IS NOT NULL))) GROUP BY "notebook"."office_id", "notebook__office_id"."new_code" ORDER BY "notebook__office_id"."new_code" ASC LIMIT 80;[ Date: 2026-06-26 17:22:19 ]
18 11s97ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (43, 44, 45, 70)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (35)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (35))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (35))))) 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"."total_shipping_price" ASC LIMIT 100;[ Date: 2026-06-26 17:00:39 ]
19 10s771ms 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 ((FALSE OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (43)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (43))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (43))))) 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 (43)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;[ Date: 2026-06-26 17:23:47 ]
20 10s637ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ("policy_number"."name"::text ilike '%8502983%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2026-06-26 21:31:01 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 55m25s 736 3s 7s668ms 4s518ms select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 26 02 8 25s170ms 3s146ms 03 63 5m43s 5s453ms 05 63 4m44s 4s513ms 08 123 10m58s 5s351ms 11 55 3m12s 3s494ms 14 85 5m47s 4s88ms 17 107 6m38s 3s728ms 20 137 9m46s 4s281ms 23 32 1m50s 3s452ms Jun 27 01 63 6m18s 6s3ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2026-06-26 06:21:20') AND ("bus_bus"."channel" in ('["urg16","mail.channel",16172]', '["urg16","broadcast"]', '["urg16","mail.channel",13941]', '["urg16","mail.channel",120]', '["urg16","mail.channel",17399]', '["urg16","mail.channel",15882]', '["urg16","mail.channel",16602]', '["urg16","mail.channel",13497]', '["urg16","mail.channel",15255]', '["urg16","mail.channel",362]', '["urg16","mail.channel",16170]', '["urg16","mail.channel",13065]', '["urg16","mail.channel",17340]', '["urg16","mail.channel",16443]', '["urg16","mail.channel",16809]', '["urg16","res.partner",8004901]'))) ORDER BY "bus_bus"."id";
Date: 2026-06-26 08:22:17 Duration: 7s668ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2026-06-26 06:21:20') AND ("bus_bus"."channel" in ('["urg16","mail.channel",17101]', '["urg16","broadcast"]', '["urg16","mail.channel",120]', '["urg16","res.partner",8010184]', '["urg16","mail.channel",18446]', '["urg16","mail.channel",13065]'))) ORDER BY "bus_bus"."id";
Date: 2026-06-26 08:22:17 Duration: 7s666ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2026-06-26 06:21:20') AND ("bus_bus"."channel" in ('["urg16","mail.channel",18541]', '["urg16","mail.channel",16863]', '["urg16","mail.channel",14608]', '["urg16","mail.channel",13061]', '["urg16","mail.channel",13247]', '["urg16","mail.channel",14565]', '["urg16","mail.channel",16008]', '["urg16","mail.channel",18894]', '["urg16","mail.channel",16743]', '["urg16","mail.channel",16691]', '["urg16","mail.channel",18860]', '["urg16","mail.channel",15623]', '["urg16","mail.channel",14067]', '["urg16","res.partner",8007704]', '["urg16","mail.channel",13646]', '["urg16","broadcast"]', '["urg16","mail.channel",15635]', '["urg16","mail.channel",17151]', '["urg16","mail.channel",18243]', '["urg16","mail.channel",13752]', '["urg16","mail.channel",19277]', '["urg16","mail.channel",15143]', '["urg16","mail.channel",13227]', '["urg16","mail.channel",15518]', '["urg16","mail.channel",16000]', '["urg16","mail.channel",14139]', '["urg16","mail.channel",14038]'))) ORDER BY "bus_bus"."id";
Date: 2026-06-26 08:22:17 Duration: 7s653ms
2 6m20s 113 3s164ms 5s198ms 3s363ms 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 Jun 26 04 3 10s731ms 3s577ms 11 3 10s170ms 3s390ms 12 4 13s574ms 3s393ms 15 4 13s719ms 3s429ms 16 4 14s992ms 3s748ms 17 3 10s118ms 3s372ms 18 19 1m3s 3s331ms 19 34 1m53s 3s348ms 20 17 56s150ms 3s302ms 21 12 40s218ms 3s351ms 22 7 23s95ms 3s299ms 23 2 6s800ms 3s400ms Jun 27 01 1 3s298ms 3s298ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 16:51:19 Duration: 5s198ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))))) AND ("policy_number"."name"::text ilike '%33%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 04:46:37 Duration: 3s900ms
-
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 (85))))))) 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 (85)))))) 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 (85)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85)))))) 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 (85))))))))) 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 (85)))))))) AND ("policy_number"."name"::text ilike '%2%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 19:31:14 Duration: 3s632ms
3 6m11s 59 6s25ms 6s998ms 6s300ms 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 Jun 26 09 59 6m11s 6s300ms -
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 (20837112, 21862656, 21704672, 21767746, 21739114, 21485779, 21743675, 21781694, 21767759, 21718698, 21703566, 21749336, 21865662, 21542708, 21370148, 21564337, 21764702, 21653829, 21531097, 21116330, 21574893, 21732161, 21612933, 21853435, 21750287, 21729121, 21738677, 21764810, 21382768, 21732973, 21544124, 21286079, 21826429, 21702040, 21400532, 21160306, 21631240, 21783880, 21707579, 21854674, 21433972, 21228790, 21567592, 21820134, 21725624, 21630201, 21762733, 21653596, 21845942, 21520702, 21766519, 21766642, 21724580, 21761794, 21150095, 21847600, 21568091, 21413509, 21185622, 21123841, 21289658, 21188980, 21317941, 21580960, 21700485, 21744557, 21767821, 21737737, 21737701, 21819555, 21732941, 21170194, 21704349, 21205172, 21804672, 21732927, 21613867, 21600575, 21732152, 21768852);
Date: 2026-06-26 09:18:07 Duration: 6s998ms
-
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 (21116095, 21709178, 21730560, 21700122, 21730796);
Date: 2026-06-26 09:21:12 Duration: 6s902ms
-
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 (21739936, 21208462, 21589381, 21709893, 21766912, 21521426, 21799205, 21581288, 21728904, 21734711, 21740494, 21542483, 21818817, 21773955, 21363020, 21376919, 21448997, 21577423, 21078541, 20597656, 21578403, 21579085, 21574351, 21236245, 21747170, 21825770, 21769011, 21738962, 21574893, 21818011, 21740020, 21776509, 21497683, 21530900, 21383974, 21727860, 21719130, 21519389, 21696628, 21646952, 21588653, 21597608, 21420825, 21340473, 21613942, 21125782, 21368570, 21070656, 21765919, 21435183, 21694199, 21615028, 21485123, 21567850, 21781755, 21765684, 21614274, 21538244, 21573505, 21733726, 21326594, 21725068, 21581132, 21286079, 21360849, 21439653, 21077475, 21442507, 21473353, 21485779, 21063725, 21738525, 21305031, 21568562, 21706594, 21230654, 21595458, 21359160, 21553097, 21207177);
Date: 2026-06-26 09:17:46 Duration: 6s867ms
4 2m39s 1 2m39s 2m39s 2m39s delete from "res_users" where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 26 13 1 2m39s 2m39s -
DELETE FROM "res_users" WHERE id IN (2060);
Date: 2026-06-26 13:04:09 Duration: 2m39s
5 1m52s 17 4s816ms 8s917ms 6s642ms 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 Jun 26 13 3 19s66ms 6s355ms 19 4 27s768ms 6s942ms 21 4 27s637ms 6s909ms Jun 27 00 6 38s446ms 6s407ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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)))) AND ("policy_number"."name"::text ilike '%9495040%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 19:37:24 Duration: 8s917ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (8)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%260795%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-27 00:01:53 Duration: 8s892ms
-
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 '%289503%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 13:52:03 Duration: 8s859ms
6 1m22s 1 1m22s 1m22s 1m22s copy public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 26 08 1 1m22s 1m22s -
COPY public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) TO stdout;
Date: 2026-06-26 08:04:28 Duration: 1m22s
7 1m16s 24 3s14ms 3s519ms 3s195ms 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 #7
Day Hour Count Duration Avg duration Jun 26 13 2 6s121ms 3s60ms 15 18 57s854ms 3s214ms 17 2 6s353ms 3s176ms 19 2 6s357ms 3s178ms -
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 (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-06-26 15:40:25 Duration: 3s519ms
-
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 (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-06-26 15:40:25 Duration: 3s486ms
-
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 (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-06-26 15:40:25 Duration: 3s367ms
8 1m16s 11 4s180ms 9s546ms 6s943ms select "policy_number".id from "policy_number" where (((((((("policy_number"."active" = true) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 26 09 4 27s241ms 6s810ms 13 1 8s762ms 8s762ms 21 6 40s377ms 6s729ms -
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 33, 34, 43, 50, 54, 58, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%284482%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 09:16:32 Duration: 9s546ms
-
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 (17)))))) 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 '%9944%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 21:09:00 Duration: 9s118ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 33, 34, 112, 12, 31, 43, 50, 54, 58, 63, 69, 81, 84)))))) 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 '%6290768%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 13:14:53 Duration: 8s762ms
9 1m15s 10 3s946ms 9s783ms 7s564ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."policy_id" limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 26 22 1 9s783ms 9s783ms 23 9 1m5s 7s318ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 22:11:50 Duration: 9s783ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 23:39:51 Duration: 8s843ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 23:19:51 Duration: 8s779ms
10 1m 17 3s77ms 4s29ms 3s544ms 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"."review_state" = ?) and ("shipping_policy"."create_date" < ?))))) and true order by "shipping_policy"."policy_id" limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 26 14 9 33s633ms 3s737ms 15 6 19s908ms 3s318ms 16 2 6s716ms 3s358ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'archive') 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"."review_state" = 'not_review') AND ("shipping_policy"."create_date" < '2026-06-11'))))) AND TRUE ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 14:42:15 Duration: 4s29ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'archive') 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"."review_state" = 'not_review') AND ("shipping_policy"."create_date" < '2026-06-11'))))) AND TRUE ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 14:42:14 Duration: 3s893ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'archive') 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"."review_state" = 'not_review') AND ("shipping_policy"."create_date" < '2026-06-11'))))) AND TRUE ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 14:42:13 Duration: 3s856ms
11 59s450ms 1 59s450ms 59s450ms 59s450ms copy public.cash_track (id, office_id, user_id, cash_policy_id, create_uid, write_uid, state, receive_man_id, action_date, create_date, write_date, action_date_time) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 26 08 1 59s450ms 59s450ms -
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-06-26 08:07:10 Duration: 59s450ms
12 52s951ms 9 3s479ms 7s708ms 5s883ms select "collection_policy".id from "collection_policy" where (("collection_policy"."active" = true) and ("collection_policy"."type" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id" limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 26 02 1 7s646ms 7s646ms 08 2 13s567ms 6s783ms 14 1 3s479ms 3s479ms 17 3 14s637ms 4s879ms 20 2 13s620ms 6s810ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND ("collection_policy"."type" = 'from_sender')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-06-26 20:55:11 Duration: 7s708ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND ("collection_policy"."type" = 'from_sender')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-06-26 08:45:31 Duration: 7s664ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND ("collection_policy"."type" = 'from_sender')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-06-26 02:25:09 Duration: 7s646ms
13 52s71ms 1 52s71ms 52s71ms 52s71ms copy public.cash_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, delivery_method_id, shipping_payment, shipping_payment_at_receive, total_paid_by_sender, total_paid_by_receiver, user_delivered_id, user_confirm_payment_id, create_uid, write_uid, name, pol_name, state, state_previous, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, confirmation_code, source, create_date_policy, confirm_payment_date, receive_main_office_date, confirm_payment_main_office_date, suspended_date, payment_delivered_date, policy_delivered_date, archive_date, flag_date, notes, total_amount_cash_lines_at_receive, cash, cheques, active, old_system_policy, custom_shipping, paid, create_date, write_date, cash_amount, total_amount_cash_lines, v_10_id, sp_id_10, sp_id, attachment_date, count_search, policy_name, attachment_user, change_date_recievable, sale_id, is_more_year, x_delivery_10, x_daily_move_date, is_color_polciy_cash_after_confirm, is_block_delievery, x_total_amount_cash_lines_at_receive, x_shipping_payment_at_receive, x_shipping_payment, x_cash_amount, x_total_amount_cash_lines, x_is_update, x_total_paid_by_sender, x_total_paid_by_receiver, x_daily_movement_id, x_other_daily_movement_id, sale_policy_id) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 26 08 1 52s71ms 52s71ms -
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-06-26 08:05:20 Duration: 52s71ms
14 44s191ms 1 44s191ms 44s191ms 44s191ms copy public.cash_policy_tracking (id, create_uid, write_uid, name, shipping_id, cash_id, create_date, write_date) to stdout;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 26 08 1 44s191ms 44s191ms -
COPY public.cash_policy_tracking (id, create_uid, write_uid, name, shipping_id, cash_id, create_date, write_date) TO stdout;
Date: 2026-06-26 08:06:11 Duration: 44s191ms
15 39s459ms 7 4s648ms 6s455ms 5s637ms 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"."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 #15
Day Hour Count Duration Avg duration Jun 26 13 1 6s455ms 6s455ms 14 1 4s894ms 4s894ms 16 1 4s648ms 4s648ms 17 1 5s704ms 5s704ms 18 3 17s755ms 5s918ms -
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"."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-06-26 13:33:47 Duration: 6s455ms
-
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"."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-06-26 18:14:36 Duration: 5s994ms
-
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"."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-06-26 18:15:01 Duration: 5s890ms
16 35s23ms 1 35s23ms 35s23ms 35s23ms copy public.mail_followers (id, res_id, partner_id, res_model) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 26 08 1 35s23ms 35s23ms -
COPY public.mail_followers (id, res_id, partner_id, res_model) TO stdout;
Date: 2026-06-26 08:08:58 Duration: 35s23ms
17 31s866ms 10 3s11ms 3s444ms 3s186ms 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))))) 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 #17
Day Hour Count Duration Avg duration Jun 26 10 1 3s273ms 3s273ms 15 1 3s17ms 3s17ms 16 2 6s269ms 3s134ms 17 3 9s470ms 3s156ms 19 1 3s350ms 3s350ms 23 1 3s444ms 3s444ms Jun 27 00 1 3s41ms 3s41ms -
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 (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-06-26 23:38:32 Duration: 3s444ms
-
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 (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-06-26 19:18:34 Duration: 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"."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 (79)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (44)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (44))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (44))))) 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 (44)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 17:21:14 Duration: 3s305ms
18 30s118ms 1 30s118ms 30s118ms 30s118ms 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;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 26 08 1 30s118ms 30s118ms -
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-06-26 08:08:06 Duration: 30s118ms
19 28s736ms 9 3s18ms 3s369ms 3s192ms 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 #19
Day Hour Count Duration Avg duration Jun 26 09 2 6s383ms 3s191ms 11 1 3s130ms 3s130ms 13 1 3s18ms 3s18ms 16 2 6s471ms 3s235ms 17 1 3s53ms 3s53ms 18 2 6s679ms 3s339ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%السويس%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (69)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 16:42:59 Duration: 3s369ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%السويس%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (69)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 18:58:49 Duration: 3s360ms
-
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 (99)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (46)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (46))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (46))))) 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 (46)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 18:41:22 Duration: 3s318ms
20 28s140ms 9 3s51ms 3s377ms 3s126ms 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 #20
Day Hour Count Duration Avg duration Jun 26 10 1 3s377ms 3s377ms 11 1 3s137ms 3s137ms 14 1 3s55ms 3s55ms 15 4 12s360ms 3s90ms 23 2 6s209ms 3s104ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%حلوان%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (95)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 10:38:05 Duration: 3s377ms
-
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 '%245385%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (100, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (5, 8, 29, 85, 60, 49, 11, 43)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (5, 8, 29, 85, 60, 49, 11, 43))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (5, 8, 29, 85, 60, 49, 11, 43))))) 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-06-26 23:07:29 Duration: 3s154ms
-
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 '%172452%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84))))) 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-06-26 15:13:16 Duration: 3s147ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 736 55m25s 3s 7s668ms 4s518ms select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 26 02 8 25s170ms 3s146ms 03 63 5m43s 5s453ms 05 63 4m44s 4s513ms 08 123 10m58s 5s351ms 11 55 3m12s 3s494ms 14 85 5m47s 4s88ms 17 107 6m38s 3s728ms 20 137 9m46s 4s281ms 23 32 1m50s 3s452ms Jun 27 01 63 6m18s 6s3ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2026-06-26 06:21:20') AND ("bus_bus"."channel" in ('["urg16","mail.channel",16172]', '["urg16","broadcast"]', '["urg16","mail.channel",13941]', '["urg16","mail.channel",120]', '["urg16","mail.channel",17399]', '["urg16","mail.channel",15882]', '["urg16","mail.channel",16602]', '["urg16","mail.channel",13497]', '["urg16","mail.channel",15255]', '["urg16","mail.channel",362]', '["urg16","mail.channel",16170]', '["urg16","mail.channel",13065]', '["urg16","mail.channel",17340]', '["urg16","mail.channel",16443]', '["urg16","mail.channel",16809]', '["urg16","res.partner",8004901]'))) ORDER BY "bus_bus"."id";
Date: 2026-06-26 08:22:17 Duration: 7s668ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2026-06-26 06:21:20') AND ("bus_bus"."channel" in ('["urg16","mail.channel",17101]', '["urg16","broadcast"]', '["urg16","mail.channel",120]', '["urg16","res.partner",8010184]', '["urg16","mail.channel",18446]', '["urg16","mail.channel",13065]'))) ORDER BY "bus_bus"."id";
Date: 2026-06-26 08:22:17 Duration: 7s666ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2026-06-26 06:21:20') AND ("bus_bus"."channel" in ('["urg16","mail.channel",18541]', '["urg16","mail.channel",16863]', '["urg16","mail.channel",14608]', '["urg16","mail.channel",13061]', '["urg16","mail.channel",13247]', '["urg16","mail.channel",14565]', '["urg16","mail.channel",16008]', '["urg16","mail.channel",18894]', '["urg16","mail.channel",16743]', '["urg16","mail.channel",16691]', '["urg16","mail.channel",18860]', '["urg16","mail.channel",15623]', '["urg16","mail.channel",14067]', '["urg16","res.partner",8007704]', '["urg16","mail.channel",13646]', '["urg16","broadcast"]', '["urg16","mail.channel",15635]', '["urg16","mail.channel",17151]', '["urg16","mail.channel",18243]', '["urg16","mail.channel",13752]', '["urg16","mail.channel",19277]', '["urg16","mail.channel",15143]', '["urg16","mail.channel",13227]', '["urg16","mail.channel",15518]', '["urg16","mail.channel",16000]', '["urg16","mail.channel",14139]', '["urg16","mail.channel",14038]'))) ORDER BY "bus_bus"."id";
Date: 2026-06-26 08:22:17 Duration: 7s653ms
2 113 6m20s 3s164ms 5s198ms 3s363ms 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 Jun 26 04 3 10s731ms 3s577ms 11 3 10s170ms 3s390ms 12 4 13s574ms 3s393ms 15 4 13s719ms 3s429ms 16 4 14s992ms 3s748ms 17 3 10s118ms 3s372ms 18 19 1m3s 3s331ms 19 34 1m53s 3s348ms 20 17 56s150ms 3s302ms 21 12 40s218ms 3s351ms 22 7 23s95ms 3s299ms 23 2 6s800ms 3s400ms Jun 27 01 1 3s298ms 3s298ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 16:51:19 Duration: 5s198ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))))) AND ("policy_number"."name"::text ilike '%33%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 04:46:37 Duration: 3s900ms
-
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 (85))))))) 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 (85)))))) 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 (85)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85)))))) 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 (85))))))))) 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 (85)))))))) AND ("policy_number"."name"::text ilike '%2%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 19:31:14 Duration: 3s632ms
3 59 6m11s 6s25ms 6s998ms 6s300ms 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 Jun 26 09 59 6m11s 6s300ms -
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 (20837112, 21862656, 21704672, 21767746, 21739114, 21485779, 21743675, 21781694, 21767759, 21718698, 21703566, 21749336, 21865662, 21542708, 21370148, 21564337, 21764702, 21653829, 21531097, 21116330, 21574893, 21732161, 21612933, 21853435, 21750287, 21729121, 21738677, 21764810, 21382768, 21732973, 21544124, 21286079, 21826429, 21702040, 21400532, 21160306, 21631240, 21783880, 21707579, 21854674, 21433972, 21228790, 21567592, 21820134, 21725624, 21630201, 21762733, 21653596, 21845942, 21520702, 21766519, 21766642, 21724580, 21761794, 21150095, 21847600, 21568091, 21413509, 21185622, 21123841, 21289658, 21188980, 21317941, 21580960, 21700485, 21744557, 21767821, 21737737, 21737701, 21819555, 21732941, 21170194, 21704349, 21205172, 21804672, 21732927, 21613867, 21600575, 21732152, 21768852);
Date: 2026-06-26 09:18:07 Duration: 6s998ms
-
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 (21116095, 21709178, 21730560, 21700122, 21730796);
Date: 2026-06-26 09:21:12 Duration: 6s902ms
-
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 (21739936, 21208462, 21589381, 21709893, 21766912, 21521426, 21799205, 21581288, 21728904, 21734711, 21740494, 21542483, 21818817, 21773955, 21363020, 21376919, 21448997, 21577423, 21078541, 20597656, 21578403, 21579085, 21574351, 21236245, 21747170, 21825770, 21769011, 21738962, 21574893, 21818011, 21740020, 21776509, 21497683, 21530900, 21383974, 21727860, 21719130, 21519389, 21696628, 21646952, 21588653, 21597608, 21420825, 21340473, 21613942, 21125782, 21368570, 21070656, 21765919, 21435183, 21694199, 21615028, 21485123, 21567850, 21781755, 21765684, 21614274, 21538244, 21573505, 21733726, 21326594, 21725068, 21581132, 21286079, 21360849, 21439653, 21077475, 21442507, 21473353, 21485779, 21063725, 21738525, 21305031, 21568562, 21706594, 21230654, 21595458, 21359160, 21553097, 21207177);
Date: 2026-06-26 09:17:46 Duration: 6s867ms
4 24 1m16s 3s14ms 3s519ms 3s195ms 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 Jun 26 13 2 6s121ms 3s60ms 15 18 57s854ms 3s214ms 17 2 6s353ms 3s176ms 19 2 6s357ms 3s178ms -
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 (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-06-26 15:40:25 Duration: 3s519ms
-
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 (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-06-26 15:40:25 Duration: 3s486ms
-
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 (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-06-26 15:40:25 Duration: 3s367ms
5 17 1m52s 4s816ms 8s917ms 6s642ms 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 Jun 26 13 3 19s66ms 6s355ms 19 4 27s768ms 6s942ms 21 4 27s637ms 6s909ms Jun 27 00 6 38s446ms 6s407ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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)))) AND ("policy_number"."name"::text ilike '%9495040%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 19:37:24 Duration: 8s917ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (8)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%260795%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-27 00:01:53 Duration: 8s892ms
-
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 '%289503%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 13:52:03 Duration: 8s859ms
6 17 1m 3s77ms 4s29ms 3s544ms 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"."review_state" = ?) and ("shipping_policy"."create_date" < ?))))) and true order by "shipping_policy"."policy_id" limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 26 14 9 33s633ms 3s737ms 15 6 19s908ms 3s318ms 16 2 6s716ms 3s358ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'archive') 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"."review_state" = 'not_review') AND ("shipping_policy"."create_date" < '2026-06-11'))))) AND TRUE ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 14:42:15 Duration: 4s29ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'archive') 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"."review_state" = 'not_review') AND ("shipping_policy"."create_date" < '2026-06-11'))))) AND TRUE ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 14:42:14 Duration: 3s893ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'archive') 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"."review_state" = 'not_review') AND ("shipping_policy"."create_date" < '2026-06-11'))))) AND TRUE ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 14:42:13 Duration: 3s856ms
7 11 1m16s 4s180ms 9s546ms 6s943ms 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 #7
Day Hour Count Duration Avg duration Jun 26 09 4 27s241ms 6s810ms 13 1 8s762ms 8s762ms 21 6 40s377ms 6s729ms -
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 33, 34, 43, 50, 54, 58, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%284482%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 09:16:32 Duration: 9s546ms
-
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 (17)))))) 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 '%9944%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 21:09:00 Duration: 9s118ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 33, 34, 112, 12, 31, 43, 50, 54, 58, 63, 69, 81, 84)))))) 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 '%6290768%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 13:14:53 Duration: 8s762ms
8 10 1m15s 3s946ms 9s783ms 7s564ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."policy_id" limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 26 22 1 9s783ms 9s783ms 23 9 1m5s 7s318ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 22:11:50 Duration: 9s783ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 23:39:51 Duration: 8s843ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 23:19:51 Duration: 8s779ms
9 10 31s866ms 3s11ms 3s444ms 3s186ms 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))))) 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 Jun 26 10 1 3s273ms 3s273ms 15 1 3s17ms 3s17ms 16 2 6s269ms 3s134ms 17 3 9s470ms 3s156ms 19 1 3s350ms 3s350ms 23 1 3s444ms 3s444ms Jun 27 00 1 3s41ms 3s41ms -
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 (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-06-26 23:38:32 Duration: 3s444ms
-
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 (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-06-26 19:18:34 Duration: 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"."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 (79)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (44)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (44))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (44))))) 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 (44)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 17:21:14 Duration: 3s305ms
10 9 52s951ms 3s479ms 7s708ms 5s883ms select "collection_policy".id from "collection_policy" where (("collection_policy"."active" = true) and ("collection_policy"."type" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id" limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 26 02 1 7s646ms 7s646ms 08 2 13s567ms 6s783ms 14 1 3s479ms 3s479ms 17 3 14s637ms 4s879ms 20 2 13s620ms 6s810ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND ("collection_policy"."type" = 'from_sender')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-06-26 20:55:11 Duration: 7s708ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND ("collection_policy"."type" = 'from_sender')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-06-26 08:45:31 Duration: 7s664ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND ("collection_policy"."type" = 'from_sender')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-06-26 02:25:09 Duration: 7s646ms
11 9 28s736ms 3s18ms 3s369ms 3s192ms 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 #11
Day Hour Count Duration Avg duration Jun 26 09 2 6s383ms 3s191ms 11 1 3s130ms 3s130ms 13 1 3s18ms 3s18ms 16 2 6s471ms 3s235ms 17 1 3s53ms 3s53ms 18 2 6s679ms 3s339ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%السويس%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (69)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 16:42:59 Duration: 3s369ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%السويس%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (69)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 18:58:49 Duration: 3s360ms
-
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 (99)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (46)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (46))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (46))))) 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 (46)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 18:41:22 Duration: 3s318ms
12 9 28s140ms 3s51ms 3s377ms 3s126ms 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 #12
Day Hour Count Duration Avg duration Jun 26 10 1 3s377ms 3s377ms 11 1 3s137ms 3s137ms 14 1 3s55ms 3s55ms 15 4 12s360ms 3s90ms 23 2 6s209ms 3s104ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%حلوان%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (95)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 10:38:05 Duration: 3s377ms
-
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 '%245385%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (100, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (5, 8, 29, 85, 60, 49, 11, 43)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (5, 8, 29, 85, 60, 49, 11, 43))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (5, 8, 29, 85, 60, 49, 11, 43))))) 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-06-26 23:07:29 Duration: 3s154ms
-
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 '%172452%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 141, 142)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84))))) 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-06-26 15:13:16 Duration: 3s147ms
13 8 26s306ms 3s163ms 3s579ms 3s288ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false)) and ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."name"::text ilike ?))))) and ((("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("shipping_policy"."state" in (...)) and ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 26 18 1 3s167ms 3s167ms 19 6 19s559ms 3s259ms 20 1 3s579ms 3s579ms -
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 (96)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) 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 (49)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 20:40:29 Duration: 3s579ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%عبود%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (107)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 19:31:02 Duration: 3s347ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%دار%'))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (94)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-06-26 19:16:47 Duration: 3s345ms
14 8 26s82ms 3s53ms 3s668ms 3s260ms 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"."out_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 #14
Day Hour Count Duration Avg duration Jun 26 16 1 3s254ms 3s254ms 17 2 6s839ms 3s419ms 18 4 12s834ms 3s208ms 22 1 3s153ms 3s153ms -
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"."out_date" = '2026-06-26'))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (67, 68)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3))))) 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-06-26 17:04:07 Duration: 3s668ms
-
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"."out_date" = '2026-06-26'))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (67, 68)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3))))) 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-06-26 18:01:52 Duration: 3s348ms
-
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"."out_date" = '2026-06-26'))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (67, 68)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (80)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (80))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (80))))) 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-06-26 18:43:41 Duration: 3s329ms
15 7 39s459ms 4s648ms 6s455ms 5s637ms 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"."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 #15
Day Hour Count Duration Avg duration Jun 26 13 1 6s455ms 6s455ms 14 1 4s894ms 4s894ms 16 1 4s648ms 4s648ms 17 1 5s704ms 5s704ms 18 3 17s755ms 5s918ms -
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"."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-06-26 13:33:47 Duration: 6s455ms
-
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"."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-06-26 18:14:36 Duration: 5s994ms
-
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"."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-06-26 18:15:01 Duration: 5s890ms
16 6 23s399ms 3s81ms 4s874ms 3s899ms select name from shipping_policy order by create_date desc limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 26 03 2 7s477ms 3s738ms 08 2 8s303ms 4s151ms 20 1 3s206ms 3s206ms Jun 27 01 1 4s411ms 4s411ms -
select name from shipping_policy order by create_date desc limit 10;
Date: 2026-06-26 08:22:13 Duration: 4s874ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2026-06-27 01:22:10 Duration: 4s411ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2026-06-26 03:22:12 Duration: 4s396ms
17 5 19s173ms 3s195ms 5s111ms 3s834ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 26 04 1 5s111ms 5s111ms 15 1 3s195ms 3s195ms 16 1 3s236ms 3s236ms 18 2 7s629ms 3s814ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 04:46:37 Duration: 5s111ms
-
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 (6))))))) 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 (6)))))) 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 (6)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (6)))))) 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 (6))))))))) 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 (6)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 18:09:37 Duration: 4s110ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 18:12:48 Duration: 3s519ms
18 5 18s316ms 3s348ms 4s208ms 3s663ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 26 13 1 3s630ms 3s630ms 19 1 3s710ms 3s710ms 21 1 3s348ms 3s348ms Jun 27 00 2 7s627ms 3s813ms -
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-06-27 00:01:46 Duration: 4s208ms
-
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-06-26 19:06:12 Duration: 3s710ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (51)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 13:51:07 Duration: 3s630ms
19 4 16s744ms 3s202ms 5s285ms 4s186ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 26 09 3 11s876ms 3s958ms 21 1 4s868ms 4s868ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 33, 34, 43, 50, 54, 58, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 09:16:25 Duration: 5s285ms
-
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 (17)))))) 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-06-26 21:08:52 Duration: 4s868ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 33, 34, 43, 50, 54, 58, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 09:17:34 Duration: 3s388ms
20 4 12s274ms 3s32ms 3s141ms 3s68ms 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"."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_name" asc, "cash_policy"."x_total_amount_cash_lines_at_receive" asc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 26 17 4 12s274ms 3s68ms -
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"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) 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_name" ASC, "cash_policy"."x_total_amount_cash_lines_at_receive" ASC LIMIT 396;
Date: 2026-06-26 17:49:37 Duration: 3s141ms
-
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"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) 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_name" ASC, "cash_policy"."x_total_amount_cash_lines_at_receive" ASC LIMIT 396;
Date: 2026-06-26 17:43:07 Duration: 3s68ms
-
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"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) 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_name" ASC, "cash_policy"."x_total_amount_cash_lines_at_receive" ASC LIMIT 396;
Date: 2026-06-26 17:34:24 Duration: 3s32ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2m39s 2m39s 2m39s 1 2m39s delete from "res_users" where id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 26 13 1 2m39s 2m39s -
DELETE FROM "res_users" WHERE id IN (2060);
Date: 2026-06-26 13:04:09 Duration: 2m39s
2 1m22s 1m22s 1m22s 1 1m22s copy public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 26 08 1 1m22s 1m22s -
COPY public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) TO stdout;
Date: 2026-06-26 08:04:28 Duration: 1m22s
3 59s450ms 59s450ms 59s450ms 1 59s450ms copy public.cash_track (id, office_id, user_id, cash_policy_id, create_uid, write_uid, state, receive_man_id, action_date, create_date, write_date, action_date_time) to stdout;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 26 08 1 59s450ms 59s450ms -
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-06-26 08:07:10 Duration: 59s450ms
4 52s71ms 52s71ms 52s71ms 1 52s71ms copy public.cash_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, delivery_method_id, shipping_payment, shipping_payment_at_receive, total_paid_by_sender, total_paid_by_receiver, user_delivered_id, user_confirm_payment_id, create_uid, write_uid, name, pol_name, state, state_previous, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, confirmation_code, source, create_date_policy, confirm_payment_date, receive_main_office_date, confirm_payment_main_office_date, suspended_date, payment_delivered_date, policy_delivered_date, archive_date, flag_date, notes, total_amount_cash_lines_at_receive, cash, cheques, active, old_system_policy, custom_shipping, paid, create_date, write_date, cash_amount, total_amount_cash_lines, v_10_id, sp_id_10, sp_id, attachment_date, count_search, policy_name, attachment_user, change_date_recievable, sale_id, is_more_year, x_delivery_10, x_daily_move_date, is_color_polciy_cash_after_confirm, is_block_delievery, x_total_amount_cash_lines_at_receive, x_shipping_payment_at_receive, x_shipping_payment, x_cash_amount, x_total_amount_cash_lines, x_is_update, x_total_paid_by_sender, x_total_paid_by_receiver, x_daily_movement_id, x_other_daily_movement_id, sale_policy_id) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 26 08 1 52s71ms 52s71ms -
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-06-26 08:05:20 Duration: 52s71ms
5 44s191ms 44s191ms 44s191ms 1 44s191ms copy public.cash_policy_tracking (id, create_uid, write_uid, name, shipping_id, cash_id, create_date, write_date) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 26 08 1 44s191ms 44s191ms -
COPY public.cash_policy_tracking (id, create_uid, write_uid, name, shipping_id, cash_id, create_date, write_date) TO stdout;
Date: 2026-06-26 08:06:11 Duration: 44s191ms
6 35s23ms 35s23ms 35s23ms 1 35s23ms copy public.mail_followers (id, res_id, partner_id, res_model) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 26 08 1 35s23ms 35s23ms -
COPY public.mail_followers (id, res_id, partner_id, res_model) TO stdout;
Date: 2026-06-26 08:08:58 Duration: 35s23ms
7 30s118ms 30s118ms 30s118ms 1 30s118ms 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;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 26 08 1 30s118ms 30s118ms -
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-06-26 08:08:06 Duration: 30s118ms
8 3s946ms 9s783ms 7s564ms 10 1m15s select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" != ?) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."policy_id" limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 26 22 1 9s783ms 9s783ms 23 9 1m5s 7s318ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 22:11:50 Duration: 9s783ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 23:39:51 Duration: 8s843ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (80)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 23:19:51 Duration: 8s779ms
9 4s180ms 9s546ms 6s943ms 11 1m16s 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 Jun 26 09 4 27s241ms 6s810ms 13 1 8s762ms 8s762ms 21 6 40s377ms 6s729ms -
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 33, 34, 43, 50, 54, 58, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%284482%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 09:16:32 Duration: 9s546ms
-
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 (17)))))) 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 '%9944%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 21:09:00 Duration: 9s118ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 33, 34, 112, 12, 31, 43, 50, 54, 58, 63, 69, 81, 84)))))) 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 '%6290768%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 13:14:53 Duration: 8s762ms
10 4s816ms 8s917ms 6s642ms 17 1m52s 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 #10
Day Hour Count Duration Avg duration Jun 26 13 3 19s66ms 6s355ms 19 4 27s768ms 6s942ms 21 4 27s637ms 6s909ms Jun 27 00 6 38s446ms 6s407ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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)))) AND ("policy_number"."name"::text ilike '%9495040%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 19:37:24 Duration: 8s917ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (8)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%260795%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-27 00:01:53 Duration: 8s892ms
-
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 '%289503%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 13:52:03 Duration: 8s859ms
11 6s25ms 6s998ms 6s300ms 59 6m11s 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 #11
Day Hour Count Duration Avg duration Jun 26 09 59 6m11s 6s300ms -
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 (20837112, 21862656, 21704672, 21767746, 21739114, 21485779, 21743675, 21781694, 21767759, 21718698, 21703566, 21749336, 21865662, 21542708, 21370148, 21564337, 21764702, 21653829, 21531097, 21116330, 21574893, 21732161, 21612933, 21853435, 21750287, 21729121, 21738677, 21764810, 21382768, 21732973, 21544124, 21286079, 21826429, 21702040, 21400532, 21160306, 21631240, 21783880, 21707579, 21854674, 21433972, 21228790, 21567592, 21820134, 21725624, 21630201, 21762733, 21653596, 21845942, 21520702, 21766519, 21766642, 21724580, 21761794, 21150095, 21847600, 21568091, 21413509, 21185622, 21123841, 21289658, 21188980, 21317941, 21580960, 21700485, 21744557, 21767821, 21737737, 21737701, 21819555, 21732941, 21170194, 21704349, 21205172, 21804672, 21732927, 21613867, 21600575, 21732152, 21768852);
Date: 2026-06-26 09:18:07 Duration: 6s998ms
-
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 (21116095, 21709178, 21730560, 21700122, 21730796);
Date: 2026-06-26 09:21:12 Duration: 6s902ms
-
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 (21739936, 21208462, 21589381, 21709893, 21766912, 21521426, 21799205, 21581288, 21728904, 21734711, 21740494, 21542483, 21818817, 21773955, 21363020, 21376919, 21448997, 21577423, 21078541, 20597656, 21578403, 21579085, 21574351, 21236245, 21747170, 21825770, 21769011, 21738962, 21574893, 21818011, 21740020, 21776509, 21497683, 21530900, 21383974, 21727860, 21719130, 21519389, 21696628, 21646952, 21588653, 21597608, 21420825, 21340473, 21613942, 21125782, 21368570, 21070656, 21765919, 21435183, 21694199, 21615028, 21485123, 21567850, 21781755, 21765684, 21614274, 21538244, 21573505, 21733726, 21326594, 21725068, 21581132, 21286079, 21360849, 21439653, 21077475, 21442507, 21473353, 21485779, 21063725, 21738525, 21305031, 21568562, 21706594, 21230654, 21595458, 21359160, 21553097, 21207177);
Date: 2026-06-26 09:17:46 Duration: 6s867ms
12 3s479ms 7s708ms 5s883ms 9 52s951ms select "collection_policy".id from "collection_policy" where (("collection_policy"."active" = true) and ("collection_policy"."type" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id" limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 26 02 1 7s646ms 7s646ms 08 2 13s567ms 6s783ms 14 1 3s479ms 3s479ms 17 3 14s637ms 4s879ms 20 2 13s620ms 6s810ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND ("collection_policy"."type" = 'from_sender')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-06-26 20:55:11 Duration: 7s708ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND ("collection_policy"."type" = 'from_sender')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-06-26 08:45:31 Duration: 7s664ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."active" = true) AND ("collection_policy"."type" = 'from_sender')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 23, 33, 34, 43, 50, 54, 58, 69, 81, 84)))) ORDER BY "collection_policy"."id" LIMIT 20;
Date: 2026-06-26 02:25:09 Duration: 7s646ms
13 4s648ms 6s455ms 5s637ms 7 39s459ms 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"."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 Jun 26 13 1 6s455ms 6s455ms 14 1 4s894ms 4s894ms 16 1 4s648ms 4s648ms 17 1 5s704ms 5s704ms 18 3 17s755ms 5s918ms -
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"."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-06-26 13:33:47 Duration: 6s455ms
-
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"."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-06-26 18:14:36 Duration: 5s994ms
-
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"."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-06-26 18:15:01 Duration: 5s890ms
14 3s 7s668ms 4s518ms 736 55m25s select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 26 02 8 25s170ms 3s146ms 03 63 5m43s 5s453ms 05 63 4m44s 4s513ms 08 123 10m58s 5s351ms 11 55 3m12s 3s494ms 14 85 5m47s 4s88ms 17 107 6m38s 3s728ms 20 137 9m46s 4s281ms 23 32 1m50s 3s452ms Jun 27 01 63 6m18s 6s3ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2026-06-26 06:21:20') AND ("bus_bus"."channel" in ('["urg16","mail.channel",16172]', '["urg16","broadcast"]', '["urg16","mail.channel",13941]', '["urg16","mail.channel",120]', '["urg16","mail.channel",17399]', '["urg16","mail.channel",15882]', '["urg16","mail.channel",16602]', '["urg16","mail.channel",13497]', '["urg16","mail.channel",15255]', '["urg16","mail.channel",362]', '["urg16","mail.channel",16170]', '["urg16","mail.channel",13065]', '["urg16","mail.channel",17340]', '["urg16","mail.channel",16443]', '["urg16","mail.channel",16809]', '["urg16","res.partner",8004901]'))) ORDER BY "bus_bus"."id";
Date: 2026-06-26 08:22:17 Duration: 7s668ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2026-06-26 06:21:20') AND ("bus_bus"."channel" in ('["urg16","mail.channel",17101]', '["urg16","broadcast"]', '["urg16","mail.channel",120]', '["urg16","res.partner",8010184]', '["urg16","mail.channel",18446]', '["urg16","mail.channel",13065]'))) ORDER BY "bus_bus"."id";
Date: 2026-06-26 08:22:17 Duration: 7s666ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2026-06-26 06:21:20') AND ("bus_bus"."channel" in ('["urg16","mail.channel",18541]', '["urg16","mail.channel",16863]', '["urg16","mail.channel",14608]', '["urg16","mail.channel",13061]', '["urg16","mail.channel",13247]', '["urg16","mail.channel",14565]', '["urg16","mail.channel",16008]', '["urg16","mail.channel",18894]', '["urg16","mail.channel",16743]', '["urg16","mail.channel",16691]', '["urg16","mail.channel",18860]', '["urg16","mail.channel",15623]', '["urg16","mail.channel",14067]', '["urg16","res.partner",8007704]', '["urg16","mail.channel",13646]', '["urg16","broadcast"]', '["urg16","mail.channel",15635]', '["urg16","mail.channel",17151]', '["urg16","mail.channel",18243]', '["urg16","mail.channel",13752]', '["urg16","mail.channel",19277]', '["urg16","mail.channel",15143]', '["urg16","mail.channel",13227]', '["urg16","mail.channel",15518]', '["urg16","mail.channel",16000]', '["urg16","mail.channel",14139]', '["urg16","mail.channel",14038]'))) ORDER BY "bus_bus"."id";
Date: 2026-06-26 08:22:17 Duration: 7s653ms
15 3s202ms 5s285ms 4s186ms 4 16s744ms 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 #15
Day Hour Count Duration Avg duration Jun 26 09 3 11s876ms 3s958ms 21 1 4s868ms 4s868ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 33, 34, 43, 50, 54, 58, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 09:16:25 Duration: 5s285ms
-
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 (17)))))) 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-06-26 21:08:52 Duration: 4s868ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 33, 34, 43, 50, 54, 58, 63, 69)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 09:17:34 Duration: 3s388ms
16 3s81ms 4s874ms 3s899ms 6 23s399ms select name from shipping_policy order by create_date desc limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 26 03 2 7s477ms 3s738ms 08 2 8s303ms 4s151ms 20 1 3s206ms 3s206ms Jun 27 01 1 4s411ms 4s411ms -
select name from shipping_policy order by create_date desc limit 10;
Date: 2026-06-26 08:22:13 Duration: 4s874ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2026-06-27 01:22:10 Duration: 4s411ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2026-06-26 03:22:12 Duration: 4s396ms
17 3s195ms 5s111ms 3s834ms 5 19s173ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 26 04 1 5s111ms 5s111ms 15 1 3s195ms 3s195ms 16 1 3s236ms 3s236ms 18 2 7s629ms 3s814ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 04:46:37 Duration: 5s111ms
-
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 (6))))))) 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 (6)))))) 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 (6)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (6)))))) 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 (6))))))))) 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 (6)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 18:09:37 Duration: 4s110ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (55)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 18:12:48 Duration: 3s519ms
18 3s348ms 4s208ms 3s663ms 5 18s316ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 26 13 1 3s630ms 3s630ms 19 1 3s710ms 3s710ms 21 1 3s348ms 3s348ms Jun 27 00 2 7s627ms 3s813ms -
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-06-27 00:01:46 Duration: 4s208ms
-
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-06-26 19:06:12 Duration: 3s710ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (51)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 13:51:07 Duration: 3s630ms
19 3s77ms 4s29ms 3s544ms 17 1m 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"."review_state" = ?) and ("shipping_policy"."create_date" < ?))))) and true order by "shipping_policy"."policy_id" limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 26 14 9 33s633ms 3s737ms 15 6 19s908ms 3s318ms 16 2 6s716ms 3s358ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'archive') 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"."review_state" = 'not_review') AND ("shipping_policy"."create_date" < '2026-06-11'))))) AND TRUE ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 14:42:15 Duration: 4s29ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'archive') 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"."review_state" = 'not_review') AND ("shipping_policy"."create_date" < '2026-06-11'))))) AND TRUE ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 14:42:14 Duration: 3s893ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'archive') 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"."review_state" = 'not_review') AND ("shipping_policy"."create_date" < '2026-06-11'))))) AND TRUE ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-06-26 14:42:13 Duration: 3s856ms
20 3s164ms 5s198ms 3s363ms 113 6m20s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 26 04 3 10s731ms 3s577ms 11 3 10s170ms 3s390ms 12 4 13s574ms 3s393ms 15 4 13s719ms 3s429ms 16 4 14s992ms 3s748ms 17 3 10s118ms 3s372ms 18 19 1m3s 3s331ms 19 34 1m53s 3s348ms 20 17 56s150ms 3s302ms 21 12 40s218ms 3s351ms 22 7 23s95ms 3s299ms 23 2 6s800ms 3s400ms Jun 27 01 1 3s298ms 3s298ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 16:51:19 Duration: 5s198ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))))) AND ("policy_number"."name"::text ilike '%33%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 04:46:37 Duration: 3s900ms
-
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 (85))))))) 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 (85)))))) 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 (85)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85)))))) 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 (85))))))))) 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 (85)))))))) AND ("policy_number"."name"::text ilike '%2%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-06-26 19:31:14 Duration: 3s632ms
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,625 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 106 FATAL entries
- 2800 ERROR entries
- 0 WARNING entries
- 17 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 2,609 Max number of times the same event was reported
- 2,923 Total events found
Rank Times reported Error 1 2,609 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #1
Day Hour Count Jun 26 02 110 03 106 04 111 05 111 06 111 07 111 08 107 09 110 10 111 11 110 12 111 13 110 14 108 15 112 16 110 17 111 18 111 19 109 20 106 21 111 22 112 23 110 Jun 27 00 111 01 79 - 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-06-26 02:00:58
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-06-26 02:01:14
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-06-26 02:02:04
2 131 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #2
Day Hour Count Jun 26 02 3 03 1 05 1 08 2 12 1 13 11 14 5 15 1 16 7 17 27 18 5 19 12 20 20 21 22 22 9 Jun 27 00 1 01 3 - 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: INSERT INTO policy_number_policy_tracking_missing_rel (policy_tracking_missing_id, policy_number_id) VALUES (16925, 54671796), (16925, 54671797), (16925, 54671798), (16925, 54671799), (16925, 54671800), (16925, 54671801) ON CONFLICT DO NOTHING
Date: 2026-06-26 02:07:11
Statement: UPDATE "bus_presence" SET "last_poll" = '2026-06-26 00:14:05' WHERE id IN (219)
Date: 2026-06-26 02:14:05
Statement: UPDATE "bus_presence" SET "last_poll" = '2026-06-26 00:26:05' WHERE id IN (219)
Date: 2026-06-26 02:26:05
3 69 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #3
Day Hour Count Jun 26 03 1 05 7 08 9 11 9 14 10 17 11 20 12 23 9 Jun 27 01 1 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-06-26 03:20:01
Date: 2026-06-26 05:00:07
Date: 2026-06-26 05:00:07
4 51 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Jun 26 02 4 03 2 04 2 07 1 09 2 11 2 12 7 13 3 14 1 16 3 17 7 18 8 20 3 22 2 Jun 27 00 2 01 2 - ERROR: syntax error at or near ")" at character 163
- ERROR: syntax error at or near ")" at character 163
- ERROR: syntax error at or near ")" at character 163
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('9838821',)
Date: 2026-06-26 02:16:22
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 ('9973823',)
Date: 2026-06-26 02:47:55
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 ('9973823',)
Date: 2026-06-26 02:48:01
5 24 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #5
Day Hour Count Jun 26 03 5 08 5 20 9 Jun 27 01 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-06-26 03:20:01
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-06-26 03:20:01
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-06-26 03:20:01
6 12 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #6
Day Hour Count Jun 26 02 1 03 1 05 1 08 2 11 1 14 1 17 1 20 2 23 1 Jun 27 01 1 - LOG: database system was shut down at 2026-06-26 02:00:07 CEST
- LOG: database system was shut down at 2026-06-26 03:20:02 CEST
- LOG: database system was shut down at 2026-06-26 05:00:07 CEST
Date: 2026-06-26 02:00:09
Date: 2026-06-26 03:21:53
Date: 2026-06-26 05:00:10
7 12 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #7
Day Hour Count Jun 26 05 1 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-06-26 05:00:07
Date: 2026-06-26 08:00:06
Date: 2026-06-26 11:00:07
8 6 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #8
Day Hour Count Jun 26 13 3 14 1 15 1 17 1 - ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "domain" of relation "ir_filters" violates not-null constraint
- ERROR: null value in column "domain" of relation "ir_filters" violates not-null constraint
Detail: Failing row contains (15427731, null, 825, 825, null, بيلا, null, null, t, 2026-06-26 09:13:34.182923, 2026-06-26 09:13:34.182923, null, null, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2026-06-26 09:13:34.182923', 825, 'بيلا', '2026-06-26 09:13:34.182923', 825) RETURNING "id"Date: 2026-06-26 13:13:34
Detail: Failing row contains (201507, null, null, 2059, 2059, 9415067, shipping.policy, null, {}, [], null, t, 2026-06-26 09:21:14.539835, 2026-06-26 09:21:14.539835).
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2026-06-26 09:21:14.539835', 2059, NULL, 'shipping.policy', '9415067', '[]', '2026-06-26 09:21:14.539835', 2059) RETURNING "id"Date: 2026-06-26 13:21:14
Detail: Failing row contains (201508, null, null, 2059, 2059, 9415067, shipping.policy, null, {}, [], null, t, 2026-06-26 09:21:17.204537, 2026-06-26 09:21:17.204537).
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2026-06-26 09:21:17.204537', 2059, NULL, 'shipping.policy', '9415067', '[]', '2026-06-26 09:21:17.204537', 2059) RETURNING "id"Date: 2026-06-26 13:21:17
9 5 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #9
Day Hour Count Jun 26 03 1 08 2 20 1 Jun 27 01 1 - 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-06-26 03:20:01
Statement: 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-06-26 08:20:01
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-06-26 08:20:01
10 3 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Jun 26 13 1 15 1 18 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_action_index"
- 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, -1, 9415067) already exists.
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2026-06-26 09:21:34.834819', 2059, '[(''id'', ''in'', [19874703, 3632690]), (''state'', ''!='', ''cancel''), (''x_is_inventory'', ''='', False)]', 'shipping.policy', '9415067', '[]', '2026-06-26 09:21:34.834819', 2059) RETURNING "id"Date: 2026-06-26 13:21:34
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(cash.policy, -1, -1, فريحة) already exists.
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2026-06-26 11:02:49.827916', 1472, '[(''state'', ''!='', ''cancel''), (''id'', ''in'', [11171436, 11170977, 11175137, 11173951, 11175118, 8062998, 11190935, 11183063, 11176825, 11174240, 11195209, 8100571, 11189327, 8072365, 11194683, 8084074, 8078600, 8068531, 8069496, 11204348, 11200285, 11204351, 11168704, 11175667, 11177028, 11181671, 7868447, 11180657, 11179758, 7994483, 8014527, 7987431, 11164427, 7987691, 11163973, 7989251, 11164975])]', 'cash.policy', 'فريحة', '[]', '2026-06-26 11:02:49.827916', 1472) RETURNING "id"Date: 2026-06-26 15:02:49
Detail: Key (model_id, user_id, action_id, name)=(shipping.policy, 905, 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-06-26 14:51:54.725047', 905, '["&", ("out_date", "=", "2026-06-26"), "&", ("state", "=", "in_way_to_client"), ("delegate_id", "ilike", "محمود عبدالواحد ")]', false, 'shipping.policy', 'بوليصة البضاعة', '[]', 905, '2026-06-26 14:51:54.725047', 905) RETURNING "id"Date: 2026-06-26 18:51:54
11 1 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #11
Day Hour Count Jun 26 08 1 - FATAL: connection to client lost
Statement: 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-06-26 08:20:01