-
Global information
- Generated on Sat Aug 15 23:45:04 2026
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 14,460 log entries in 2s
- Log start from 2026-08-15 02:00:09 to 2026-08-16 01:44:54
-
Overview
Global Stats
- 182 Number of unique normalized queries
- 981 Number of queries
- 1h58m6s Total query duration
- 2026-08-15 03:36:03 First query
- 2026-08-16 01:41:44 Last query
- 6 queries/s at 2026-08-15 17:30:21 Query peak
- 1h58m6s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1h58m6s Execute total duration
- 2,855 Number of events
- 11 Number of unique normalized events
- 2,637 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
- 981 Average queries per session
- 1h58m6s 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
- 6 queries/s Query Peak
- 2026-08-15 17:30:21 Date
SELECT Traffic
Key values
- 6 queries/s Query Peak
- 2026-08-15 17:30:21 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-08-15 08:43:06 Date
Queries duration
Key values
- 1h58m6s 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) Aug 15 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 1 0ms 3s747ms 3s747ms 0ms 0ms 3s747ms 04 4 0ms 10s793ms 5s309ms 0ms 3s433ms 10s793ms 05 2 0ms 3s570ms 3s470ms 0ms 0ms 3s570ms 06 2 0ms 3s771ms 3s503ms 0ms 0ms 7s7ms 07 0 0ms 0ms 0ms 0ms 0ms 0ms 08 90 0ms 13m8s 30s883ms 1m5s 5m7s 13m11s 09 36 0ms 10s957ms 3s607ms 7s472ms 10s957ms 19s84ms 10 57 0ms 10s104ms 4s207ms 13s19ms 26s45ms 36s983ms 11 108 0ms 14s318ms 4s555ms 31s924ms 46s275ms 1m1s 12 37 0ms 11s130ms 4s339ms 10s124ms 13s812ms 18s101ms 13 60 0ms 10s347ms 3s979ms 10s533ms 15s179ms 39s160ms 14 45 0ms 11s641ms 4s441ms 10s45ms 14s863ms 28s190ms 15 50 0ms 12s402ms 4s767ms 12s852ms 21s641ms 40s68ms 16 73 0ms 13s144ms 4s778ms 16s250ms 25s974ms 44s72ms 17 74 0ms 13s898ms 5s861ms 24s188ms 59s182ms 1m12s 18 37 0ms 12s506ms 4s709ms 12s506ms 16s349ms 17s281ms 19 91 0ms 11s447ms 4s182ms 20s205ms 31s586ms 58s33ms 20 57 0ms 10s176ms 3s995ms 13s339ms 15s724ms 38s423ms 21 33 0ms 13s668ms 8s395ms 25s145ms 25s863ms 29s768ms 22 48 0ms 14s271ms 6s865ms 21s943ms 25s963ms 36s266ms 23 54 0ms 13s53ms 5s756ms 15s579ms 24s806ms 1m Aug 16 00 14 0ms 4s932ms 3s366ms 3s191ms 6s535ms 16s422ms 01 8 0ms 9s610ms 4s878ms 3s5ms 9s306ms 13s373ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 15 02 0 0 0ms 0ms 0ms 0ms 03 1 0 3s747ms 0ms 0ms 0ms 04 4 0 5s309ms 0ms 0ms 3s608ms 05 2 0 3s470ms 0ms 0ms 3s371ms 06 2 0 3s503ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 60 30 30s883ms 57s203ms 1m5s 6m57s 09 36 0 3s607ms 3s562ms 7s472ms 16s109ms 10 57 0 4s207ms 6s337ms 13s19ms 32s62ms 11 108 0 4s555ms 8s860ms 31s924ms 59s879ms 12 37 0 4s339ms 4s352ms 10s124ms 18s71ms 13 60 0 3s979ms 6s936ms 10s533ms 37s617ms 14 45 0 4s441ms 6s931ms 10s45ms 22s197ms 15 50 0 4s767ms 9s789ms 12s852ms 25s134ms 16 73 0 4s778ms 9s512ms 16s250ms 32s566ms 17 74 0 5s861ms 9s475ms 24s188ms 1m8s 18 37 0 4s709ms 7s282ms 12s506ms 17s119ms 19 86 0 4s91ms 12s881ms 20s205ms 33s903ms 20 57 0 3s995ms 9s624ms 13s339ms 18s105ms 21 33 0 8s395ms 10s489ms 25s145ms 25s901ms 22 48 0 6s865ms 13s173ms 21s943ms 26s613ms 23 54 0 5s756ms 12s137ms 15s579ms 25s471ms Aug 16 00 14 0 3s366ms 0ms 3s191ms 9s464ms 01 8 0 4s878ms 0ms 3s5ms 13s373ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 15 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 5 0 5s745ms 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 Aug 16 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 Aug 15 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% Aug 16 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% Day Hour Count Average / Second Aug 15 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 Aug 16 00 0 0.00/s 01 0 0.00/s Day Hour Count Average Duration Average idle time Aug 15 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 Aug 16 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
- 36,732 buffers Checkpoint Peak
- 2026-08-15 19:24:42 Date
- 270.066 seconds Highest write time
- 0.018 seconds Sync time
Checkpoints Wal files
Key values
- 15 files Wal files usage Peak
- 2026-08-15 19:24:42 Date
Checkpoints distance
Key values
- 496.88 Mo Distance Peak
- 2026-08-15 19:24:42 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Aug 15 02 35,102 2,358.308s 0.035s 2,358.376s 03 42,126 2,978.325s 0.026s 2,978.387s 04 34,278 2,825.322s 0.026s 2,825.378s 05 42,611 2,540.94s 0.04s 2,541.012s 06 10,004 899.97s 0.023s 900.046s 07 18,949 1,497.345s 0.034s 1,497.411s 08 68,252 3,137.112s 0.056s 3,137.208s 09 107,158 3,239.525s 0.034s 3,239.614s 10 211,715 3,239.53s 0.043s 3,239.636s 11 264,007 2,969.63s 0.045s 2,969.735s 12 236,241 3,239.429s 0.055s 3,239.549s 13 222,522 3,239.538s 0.052s 3,239.645s 14 191,361 2,969.946s 0.042s 2,970.037s 15 187,087 3,239.565s 0.042s 3,239.663s 16 173,478 3,239.583s 0.051s 3,239.692s 17 221,657 2,969.523s 0.052s 2,969.625s 18 205,329 3,239.532s 0.043s 3,239.626s 19 239,526 3,239.554s 0.039s 3,239.652s 20 200,375 2,969.584s 0.053s 2,969.689s 21 148,366 3,239.511s 0.035s 3,239.595s 22 156,544 3,239.601s 0.061s 3,239.708s 23 184,484 2,969.542s 0.056s 2,969.659s Aug 16 00 132,011 3,226.52s 0.047s 3,226.618s 01 125,169 2,389.638s 0.025s 2,389.703s Day Hour Added Removed Recycled Synced files Longest sync Average sync Aug 15 02 0 0 15 1,943 0.002s 0.011s 03 0 0 18 2,194 0.002s 0.012s 04 0 0 15 1,867 0.002s 0.012s 05 0 0 18 1,770 0.008s 0.012s 06 0 0 4 991 0.002s 0.012s 07 0 0 7 1,251 0.013s 0.011s 08 0 0 26 2,927 0.003s 0.013s 09 0 0 44 3,723 0.002s 0.012s 10 0 0 91 4,035 0.002s 0.012s 11 0 0 111 4,433 0.003s 0.012s 12 0 0 101 4,279 0.004s 0.012s 13 0 0 93 4,482 0.004s 0.012s 14 0 0 71 4,311 0.004s 0.012s 15 0 0 78 4,518 0.002s 0.012s 16 0 0 71 4,566 0.005s 0.012s 17 0 0 94 4,748 0.006s 0.012s 18 0 0 89 4,360 0.003s 0.012s 19 0 0 106 4,643 0.002s 0.012s 20 0 0 86 4,522 0.008s 0.012s 21 0 0 64 3,992 0.002s 0.012s 22 0 0 69 4,059 0.016s 0.012s 23 0 0 78 4,067 0.009s 0.012s Aug 16 00 0 0 56 3,632 0.014s 0.012s 01 0 0 53 2,458 0.002s 0.009s Day Hour Count Avg time (sec) Aug 15 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 Aug 16 00 0 0s 01 0 0s Day Hour Mean distance Mean estimate Aug 15 02 22,032.73 kB 27,095.09 kB 03 24,620.42 kB 36,565.50 kB 04 19,714.08 kB 32,762.67 kB 05 24,813.92 kB 43,941.92 kB 06 5,232.92 kB 22,137.08 kB 07 10,888.82 kB 17,188.55 kB 08 32,585.77 kB 39,780.23 kB 09 60,531.50 kB 81,464.17 kB 10 123,645.42 kB 145,985.33 kB 11 152,668.50 kB 177,422.00 kB 12 137,204.67 kB 190,424.92 kB 13 127,527.33 kB 157,826.08 kB 14 96,197.00 kB 120,063.92 kB 15 107,033.83 kB 123,391.50 kB 16 96,685.67 kB 129,125.83 kB 17 128,175.17 kB 150,685.83 kB 18 122,175.00 kB 143,979.67 kB 19 144,004.75 kB 199,182.25 kB 20 117,587.17 kB 146,263.17 kB 21 87,654.58 kB 162,331.25 kB 22 93,429.17 kB 146,334.08 kB 23 106,910.08 kB 145,932.67 kB Aug 16 00 76,885.42 kB 144,064.08 kB 01 96,896.56 kB 162,460.56 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 Aug 15 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 Aug 16 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 Aug 15 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 Aug 16 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
- 946 Total read queries
- 35 Total write queries
Queries by database
Key values
- unknown Main database
- 981 Requests
- 1h58m6s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 981 Requests
User Request type Count Duration unknown Total 981 1h58m6s copy to 30 39m56s delete 5 28s726ms select 946 1h17m40s Duration by user
Key values
- 1h58m6s (unknown) Main time consuming user
User Request type Count Duration unknown Total 981 1h58m6s copy to 30 39m56s delete 5 28s726ms select 946 1h17m40s Queries by host
Key values
- unknown Main host
- 981 Requests
- 1h58m6s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 981 Requests
- 1h58m6s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-08-15 16:23:33 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 876 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 13m8s 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-08-15 08:24:48 ]
2 6m9s COPY public.mail_tracking_value (id, field, old_value_integer, new_value_integer, currency_id, mail_message_id, tracking_sequence, create_uid, write_uid, field_desc, field_type, old_value_char, new_value_char, old_value_text, new_value_text, old_value_datetime, new_value_datetime, create_date, write_date, old_value_float, old_value_monetary, new_value_float, new_value_monetary) TO stdout;[ Date: 2026-08-15 08:31:01 ]
3 5m7s COPY public.shipping_track (id, office_id, state_id, warehouse_id, next_office_id, next_warehouse_id, car_id, delegate_id, driver_id, user_id, shipping_id, cash_policy_id, create_uid, write_uid, state, receive_man_id_no, receive_man_id, action_date, change_date, create_date, write_date) TO stdout;[ Date: 2026-08-15 08:42:31 ]
4 3m53s COPY public.shipping_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, office_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, cash_policy_id, last_driver, last_office, last_car, last_office_warehouse, last_warehouse, destination_office, total_no_items, cancel_shipping_policy, create_uid, write_uid, search_name, name, pol_name, state, review_state, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, return_reason, wating_reason, scan_code, destination_type, state_collection, paid_by_customer, last_action, confirm_date, client_date, archive_date, cancel_date, return_date, wating_date, create_date, active, cash, cheques, total_collection_amount, new_destination_button, edit_cash_button, create_cash_policy_button, client_delivery_button, return_button, delegate_button, old_policy, review_date, write_date, total_amount_cash_lines, cash_amount, collection_amount_sender, collection_amount_receive, total_shipping_price, v_10_id, driver_id, delegate_id, out_date, attachment_date, count_search, notes, return_before, from_poilcy, x_from_poilcy, before_office_id, policy_name, x_review_date, state_id, attachment_user, d_date, d_unlink_delete, zero_date_change, zero_date_change_user, is_change_cash_price, transfer_date, is_imported, client_delivery_user, cash_amount_written, total_shipping_price_written, review_state_department, review_date_department, in_office_date, x_state_hold, x_date_sales, delivery_method_id, x_is_color, x_sales_move_date, x_return_office_id, privous_last_office, privous_last_warehouse, supervious_ids, x_direction_name, x_count_delivery, x_total_shipping_price, x_collection_amount_sender, x_collection_amount_receive, x_total_amount_cash_lines, x_total_shipping_price_written, x_collection_amount_left, x_cash_amount_written, x_is_block_delievery, x_is_update, x_is_inventory, delay_reason_id, return_reason_id, date_sales_policy, is_color_policy, sale_policy_id, x_date_hold, inventory_id, inventory_date) TO stdout;[ Date: 2026-08-15 08:36:34 ]
5 2m50s COPY public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) TO stdout;[ Date: 2026-08-15 08:05:57 ]
6 1m5s 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-08-15 08:08:54 ]
7 57s699ms 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-08-15 08:06:55 ]
8 48s107ms COPY public.policy_number (id, notebook_id, office_id, delegate_id, package_id, create_uid, write_uid, name, reason, damaged, done, active, create_date, write_date, reason_date, from_poilcy, deliver_date, note, message_main_attachment_id) TO stdout;[ Date: 2026-08-15 08:31:52 ]
9 47s880ms COPY public.cash_policy_tracking (id, create_uid, write_uid, name, shipping_id, cash_id, create_date, write_date) TO stdout;[ Date: 2026-08-15 08:07:49 ]
10 43s470ms COPY public.shipping_policy_items (id, product_id, shipping_policy_id, amount, create_uid, write_uid, desc_name, change_reason, paid, create_date, write_date, shipping_cost, shipping_cost_basic, total_shipping_cost) TO stdout;[ Date: 2026-08-15 08:37:19 ]
11 38s71ms COPY public.mail_followers (id, res_id, partner_id, res_model) TO stdout;[ Date: 2026-08-15 08:10:56 ]
12 33s983ms 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-08-15 08:09:57 ]
13 33s964ms COPY public.urgent_customer (id, message_main_attachment_id, create_uid, write_uid, name, phone, code, address, active, create_date, write_date, v_10_id, receive_man_id_no, is_company, user_id) TO stdout;[ Date: 2026-08-15 08:43:06 ]
14 28s712ms 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-08-15 08:11:39 ]
15 27s190ms COPY public.policy_search (id, create_uid, write_uid, name, model, model_char, search_domain, missing_data, create_date, write_date, type, count_search, filter_name, active_p, is_inventory) TO stdout;[ Date: 2026-08-15 08:32:21 ]
16 21s64ms 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-08-15 08:09:15 ]
17 15s801ms COPY public.res_partner (id, company_id, create_date, name, title, parent_id, user_id, state_id, country_id, industry_id, color, commercial_partner_id, create_uid, write_uid, display_name, ref, lang, tz, vat, company_registry, website, function, type, street, street2, zip, city, email, phone, mobile, commercial_company_name, company_name, date, comment, partner_latitude, partner_longitude, active, employee, is_company, partner_share, write_date, message_main_attachment_id, message_bounce, email_normalized, signup_type, signup_expiration, signup_token, office_id, office_driver_id, employee_traffic, code, type_employee, type_driver, v_10_id, x_is_client, x_precentage_office, website_id, is_published) TO stdout;[ Date: 2026-08-15 08:32:39 ]
18 14s318ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (96)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;[ Date: 2026-08-15 11:07:34 ]
19 14s271ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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-08-15 22:28:34 ]
20 13s898ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (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"."policy_id", "shipping_policy"."state" ASC LIMIT 100;[ Date: 2026-08-15 17:40:21 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 13m21s 64 10s489ms 14s318ms 12s527ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" not in (...)) 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 #1
Day Hour Count Duration Avg duration Aug 15 11 2 26s627ms 13s313ms 15 2 23s990ms 11s995ms 16 7 1m26s 12s345ms 18 3 37s104ms 12s368ms 19 1 11s447ms 11s447ms 21 18 3m47s 12s661ms 22 17 3m34s 12s643ms 23 14 2m53s 12s381ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (96)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-08-15 11:07:34 Duration: 14s318ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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-08-15 22:28:34 Duration: 14s271ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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-08-15 21:21:17 Duration: 13s668ms
2 13m8s 1 13m8s 13m8s 13m8s copy public.mail_message (id, parent_id, res_id, subtype_id, mail_activity_type_id, author_id, author_guest_id, mail_server_id, create_uid, write_uid, subject, model, record_name, message_type, email_from, message_id, reply_to, email_layout_xmlid, body, is_internal, reply_to_force_new, email_add_signature, date, create_date, write_date) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 15 08 1 13m8s 13m8s -
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-08-15 08:24:48 Duration: 13m8s
3 11m3s 203 3s2ms 4s988ms 3s270ms 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 #3
Day Hour Count Duration Avg duration Aug 15 10 2 6s307ms 3s153ms 11 2 6s485ms 3s242ms 12 1 3s251ms 3s251ms 14 3 9s641ms 3s213ms 15 7 24s712ms 3s530ms 16 14 45s759ms 3s268ms 17 12 39s458ms 3s288ms 18 12 40s53ms 3s337ms 19 55 3m4s 3s359ms 20 33 1m45s 3s186ms 21 10 31s547ms 3s154ms 22 22 1m10s 3s210ms 23 13 41s547ms 3s195ms Aug 16 00 13 42s194ms 3s245ms 01 4 12s311ms 3s77ms -
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 '%1%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 19:08:49 Duration: 4s988ms
-
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 '%1%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 19:11:14 Duration: 4s947ms
-
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 (14))))))) 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 (14)))))) 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 (14)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14)))))) 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 (14))))))))) 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 (14)))))))) AND ("policy_number"."name"::text ilike '%875711%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 15:29:51 Duration: 3s879ms
4 6m9s 1 6m9s 6m9s 6m9s copy public.mail_tracking_value (id, field, old_value_integer, new_value_integer, currency_id, mail_message_id, tracking_sequence, create_uid, write_uid, field_desc, field_type, old_value_char, new_value_char, old_value_text, new_value_text, old_value_datetime, new_value_datetime, create_date, write_date, old_value_float, old_value_monetary, new_value_float, new_value_monetary) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 15 08 1 6m9s 6m9s -
COPY public.mail_tracking_value (id, field, old_value_integer, new_value_integer, currency_id, mail_message_id, tracking_sequence, create_uid, write_uid, field_desc, field_type, old_value_char, new_value_char, old_value_text, new_value_text, old_value_datetime, new_value_datetime, create_date, write_date, old_value_float, old_value_monetary, new_value_float, new_value_monetary) TO stdout;
Date: 2026-08-15 08:31:01 Duration: 6m9s
5 5m15s 44 6s623ms 7s890ms 7s170ms 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 #5
Day Hour Count Duration Avg duration Aug 15 08 44 5m15s 7s170ms -
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 (23064714, 22935848, 23003472, 22997866, 23107155);
Date: 2026-08-15 08:48:49 Duration: 7s890ms
-
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 (22982208, 23007618, 23097795, 22973517, 23141527, 23056851, 23086168, 23185755, 23184262);
Date: 2026-08-15 08:51:11 Duration: 7s854ms
-
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 (23080628, 23100661, 22087847, 23186374, 23008773);
Date: 2026-08-15 08:51:02 Duration: 7s732ms
6 5m7s 1 5m7s 5m7s 5m7s copy public.shipping_track (id, office_id, state_id, warehouse_id, next_office_id, next_warehouse_id, car_id, delegate_id, driver_id, user_id, shipping_id, cash_policy_id, create_uid, write_uid, state, receive_man_id_no, receive_man_id, action_date, change_date, create_date, write_date) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 15 08 1 5m7s 5m7s -
COPY public.shipping_track (id, office_id, state_id, warehouse_id, next_office_id, next_warehouse_id, car_id, delegate_id, driver_id, user_id, shipping_id, cash_policy_id, create_uid, write_uid, state, receive_man_id_no, receive_man_id, action_date, change_date, create_date, write_date) TO stdout;
Date: 2026-08-15 08:42:31 Duration: 5m7s
7 3m53s 1 3m53s 3m53s 3m53s copy public.shipping_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, office_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, cash_policy_id, last_driver, last_office, last_car, last_office_warehouse, last_warehouse, destination_office, total_no_items, cancel_shipping_policy, create_uid, write_uid, search_name, name, pol_name, state, review_state, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, return_reason, wating_reason, scan_code, destination_type, state_collection, paid_by_customer, last_action, confirm_date, client_date, archive_date, cancel_date, return_date, wating_date, create_date, active, cash, cheques, total_collection_amount, new_destination_button, edit_cash_button, create_cash_policy_button, client_delivery_button, return_button, delegate_button, old_policy, review_date, write_date, total_amount_cash_lines, cash_amount, collection_amount_sender, collection_amount_receive, total_shipping_price, v_10_id, driver_id, delegate_id, out_date, attachment_date, count_search, notes, return_before, from_poilcy, x_from_poilcy, before_office_id, policy_name, x_review_date, state_id, attachment_user, d_date, d_unlink_delete, zero_date_change, zero_date_change_user, is_change_cash_price, transfer_date, is_imported, client_delivery_user, cash_amount_written, total_shipping_price_written, review_state_department, review_date_department, in_office_date, x_state_hold, x_date_sales, delivery_method_id, x_is_color, x_sales_move_date, x_return_office_id, privous_last_office, privous_last_warehouse, supervious_ids, x_direction_name, x_count_delivery, x_total_shipping_price, x_collection_amount_sender, x_collection_amount_receive, x_total_amount_cash_lines, x_total_shipping_price_written, x_collection_amount_left, x_cash_amount_written, x_is_block_delievery, x_is_update, x_is_inventory, delay_reason_id, return_reason_id, date_sales_policy, is_color_policy, sale_policy_id, x_date_hold, inventory_id, inventory_date) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 15 08 1 3m53s 3m53s -
COPY public.shipping_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, office_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, cash_policy_id, last_driver, last_office, last_car, last_office_warehouse, last_warehouse, destination_office, total_no_items, cancel_shipping_policy, create_uid, write_uid, search_name, name, pol_name, state, review_state, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, return_reason, wating_reason, scan_code, destination_type, state_collection, paid_by_customer, last_action, confirm_date, client_date, archive_date, cancel_date, return_date, wating_date, create_date, active, cash, cheques, total_collection_amount, new_destination_button, edit_cash_button, create_cash_policy_button, client_delivery_button, return_button, delegate_button, old_policy, review_date, write_date, total_amount_cash_lines, cash_amount, collection_amount_sender, collection_amount_receive, total_shipping_price, v_10_id, driver_id, delegate_id, out_date, attachment_date, count_search, notes, return_before, from_poilcy, x_from_poilcy, before_office_id, policy_name, x_review_date, state_id, attachment_user, d_date, d_unlink_delete, zero_date_change, zero_date_change_user, is_change_cash_price, transfer_date, is_imported, client_delivery_user, cash_amount_written, total_shipping_price_written, review_state_department, review_date_department, in_office_date, x_state_hold, x_date_sales, delivery_method_id, x_is_color, x_sales_move_date, x_return_office_id, privous_last_office, privous_last_warehouse, supervious_ids, x_direction_name, x_count_delivery, x_total_shipping_price, x_collection_amount_sender, x_collection_amount_receive, x_total_amount_cash_lines, x_total_shipping_price_written, x_collection_amount_left, x_cash_amount_written, x_is_block_delievery, x_is_update, x_is_inventory, delay_reason_id, return_reason_id, date_sales_policy, is_color_policy, sale_policy_id, x_date_hold, inventory_id, inventory_date) TO stdout;
Date: 2026-08-15 08:36:34 Duration: 3m53s
8 3m30s 26 5s245ms 10s470ms 8s92ms 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 Aug 15 15 2 15s678ms 7s839ms 16 8 54s550ms 6s818ms 17 8 1m7s 8s382ms 18 2 19s806ms 9s903ms 19 1 9s510ms 9s510ms 20 5 43s802ms 8s760ms -
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 (78)))))) 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 '%713378%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 17:14:41 Duration: 10s470ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%1293040%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 16:39:15 Duration: 10s260ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%1235023%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 17:28:31 Duration: 10s254ms
9 2m58s 40 3s929ms 4s922ms 4s454ms select min("shipping_policy".id) as id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" AS "last_warehouse" from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."last_office" = ?) and (((("shipping_policy"."state" not in (...)) 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" = ?) or ("shipping_policy"."state" = ?)) and ("shipping_policy"."return_date" is null and (("shipping_policy"."create_date" < ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)))) or "shipping_policy"."delegate_policy_id" is null))))))) and true group by "shipping_policy"."last_warehouse" order by "last_warehouse" limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 15 10 7 30s704ms 4s386ms 11 33 2m27s 4s469ms -
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."last_office" = 121) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:00:46 Duration: 4s922ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."last_office" = 119) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:00:45 Duration: 4s869ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."last_office" = 126) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 10:58:32 Duration: 4s813ms
10 2m50s 1 2m50s 2m50s 2m50s copy public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 15 08 1 2m50s 2m50s -
COPY public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) TO stdout;
Date: 2026-08-15 08:05:57 Duration: 2m50s
11 2m37s 21 5s229ms 10s552ms 7s484ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 15 15 3 21s641ms 7s213ms 19 12 1m22s 6s884ms 20 2 15s131ms 7s565ms 22 2 18s602ms 9s301ms Aug 16 01 2 19s180ms 9s590ms -
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 '%1068673%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 15:55:26 Duration: 10s552ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (41)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%1259620%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 19:21:45 Duration: 9s864ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%1100557%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 19:03:16 Duration: 9s784ms
12 2m24s 15 8s312ms 10s347ms 9s629ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."customer_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))) or ("shipping_policy"."customer_receive_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 15 10 3 26s946ms 8s982ms 13 3 30s118ms 10s39ms 14 2 19s968ms 9s984ms 15 3 28s22ms 9s340ms 17 4 39s391ms 9s847ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2107))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2107))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-08-15 13:46:26 Duration: 10s347ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-08-15 17:25:39 Duration: 10s339ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-08-15 17:25:50 Duration: 10s180ms
13 1m45s 20 4s947ms 5s620ms 5s262ms select min("shipping_policy".id) as id, count("shipping_policy".id) AS "last_office_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_office" AS "last_office" from "shipping_policy" left join "urgent_office" AS "shipping_policy__last_office" on ("shipping_policy"."last_office" = "shipping_policy__last_office"."id") where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" not in (...)) 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" = ?) or ("shipping_policy"."state" = ?)) and ("shipping_policy"."return_date" is null and (("shipping_policy"."create_date" < ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)))) or "shipping_policy"."delegate_policy_id" is null)))))) and true group by "shipping_policy"."last_office", "shipping_policy__last_office"."new_code" order by "shipping_policy__last_office"."new_code" asc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 15 10 6 30s893ms 5s148ms 11 14 1m14s 5s311ms -
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_office_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_office" as "last_office" FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__last_office" ON ("shipping_policy"."last_office" = "shipping_policy__last_office"."id") WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))) AND TRUE GROUP BY "shipping_policy"."last_office", "shipping_policy__last_office"."new_code" ORDER BY "shipping_policy__last_office"."new_code" ASC LIMIT 80;
Date: 2026-08-15 11:00:40 Duration: 5s620ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_office_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_office" as "last_office" FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__last_office" ON ("shipping_policy"."last_office" = "shipping_policy__last_office"."id") WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))) AND TRUE GROUP BY "shipping_policy"."last_office", "shipping_policy__last_office"."new_code" ORDER BY "shipping_policy__last_office"."new_code" ASC LIMIT 80;
Date: 2026-08-15 11:07:20 Duration: 5s590ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_office_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_office" as "last_office" FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__last_office" ON ("shipping_policy"."last_office" = "shipping_policy__last_office"."id") WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))) AND TRUE GROUP BY "shipping_policy"."last_office", "shipping_policy__last_office"."new_code" ORDER BY "shipping_policy__last_office"."new_code" ASC LIMIT 80;
Date: 2026-08-15 11:01:45 Duration: 5s416ms
14 1m36s 30 3s3ms 3s553ms 3s220ms 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 #14
Day Hour Count Duration Avg duration Aug 15 11 2 6s118ms 3s59ms 13 6 20s718ms 3s453ms 17 3 9s475ms 3s158ms 18 1 3s208ms 3s208ms 23 18 57s98ms 3s172ms -
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 (16))))))) 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 (16)))))) 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 (16)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16)))))) 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 (16))))))))) 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 (16))))))) AND ("policy_number"."name"::text ilike '%1336000%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 13:44:31 Duration: 3s553ms
-
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 (78))))))) 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 (78)))))) 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 (78)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (78)))))) 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 (78))))))))) 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 (78))))))) AND ("policy_number"."name"::text ilike '%11405%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 23:09:03 Duration: 3s544ms
-
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 (16))))))) 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 (16)))))) 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 (16)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16)))))) 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 (16))))))))) 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 (16))))))) AND ("policy_number"."name"::text ilike '%133500%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 13:44:22 Duration: 3s515ms
15 1m33s 22 3s723ms 4s647ms 4s256ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ("shipping_policy"."last_warehouse" is null and (("shipping_policy"."last_office" = ?) and (((("shipping_policy"."state" not in (...)) 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" = ?) or ("shipping_policy"."state" = ?)) and ("shipping_policy"."return_date" is null and (("shipping_policy"."create_date" < ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)))) or "shipping_policy"."delegate_policy_id" is null)))))))) and true order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 15 10 6 25s461ms 4s243ms 11 16 1m8s 4s261ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_warehouse" IS NULL AND (("shipping_policy"."last_office" = 28) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))))) AND TRUE ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 11:04:30 Duration: 4s647ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_warehouse" IS NULL AND (("shipping_policy"."last_office" = 126) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))))) AND TRUE ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 10:58:06 Duration: 4s561ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_warehouse" IS NULL AND (("shipping_policy"."last_office" = 32) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))))) AND TRUE ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 11:01:54 Duration: 4s553ms
16 1m26s 23 3s293ms 5s627ms 3s773ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and ((("policy_number"."done" is null or "policy_number"."done" = false) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and ("policy_number"."office_id" in (...)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 15 08 1 3s421ms 3s421ms 09 2 7s231ms 3s615ms 10 5 18s132ms 3s626ms 11 2 7s644ms 3s822ms 12 2 7s832ms 3s916ms 13 3 12s215ms 4s71ms 14 2 9s293ms 4s646ms 15 4 13s617ms 3s404ms 16 2 7s398ms 3s699ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (64)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-08-15 14:02:11 Duration: 5s627ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (16)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-08-15 13:25:43 Duration: 4s286ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (102)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-08-15 12:03:19 Duration: 4s41ms
17 1m25s 19 4s185ms 4s866ms 4s498ms select min("shipping_policy".id) as id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" AS "last_warehouse" from "shipping_policy" where (("shipping_policy"."active" = true) and ("shipping_policy"."last_office" is null and (((("shipping_policy"."state" not in (...)) 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" = ?) or ("shipping_policy"."state" = ?)) and ("shipping_policy"."return_date" is null and (("shipping_policy"."create_date" < ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)))) or "shipping_policy"."delegate_policy_id" is null))))))) and true group by "shipping_policy"."last_warehouse" order by "last_warehouse" limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 15 10 6 25s913ms 4s318ms 11 13 59s551ms 4s580ms -
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_office" IS NULL AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:00:46 Duration: 4s866ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_office" IS NULL AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:06:06 Duration: 4s766ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_office" IS NULL AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:01:49 Duration: 4s684ms
18 1m5s 1 1m5s 1m5s 1m5s 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 #18
Day Hour Count Duration Avg duration Aug 15 08 1 1m5s 1m5s -
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-08-15 08:08:54 Duration: 1m5s
19 1m 17 3s213ms 3s843ms 3s558ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" not in (...)) 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 #19
Day Hour Count Duration Avg duration Aug 15 09 4 13s894ms 3s473ms 10 3 10s281ms 3s427ms 11 3 10s979ms 3s659ms 13 2 7s369ms 3s684ms 14 2 7s77ms 3s538ms 16 1 3s347ms 3s347ms 18 2 7s537ms 3s768ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%ميت غمر%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (58)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 18:30:08 Duration: 3s843ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (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-08-15 13:04:48 Duration: 3s789ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%الوراق%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (108)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 11:44:40 Duration: 3s716ms
20 57s699ms 1 57s699ms 57s699ms 57s699ms 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 #20
Day Hour Count Duration Avg duration Aug 15 08 1 57s699ms 57s699ms -
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-08-15 08:06:55 Duration: 57s699ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 203 11m3s 3s2ms 4s988ms 3s270ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 15 10 2 6s307ms 3s153ms 11 2 6s485ms 3s242ms 12 1 3s251ms 3s251ms 14 3 9s641ms 3s213ms 15 7 24s712ms 3s530ms 16 14 45s759ms 3s268ms 17 12 39s458ms 3s288ms 18 12 40s53ms 3s337ms 19 55 3m4s 3s359ms 20 33 1m45s 3s186ms 21 10 31s547ms 3s154ms 22 22 1m10s 3s210ms 23 13 41s547ms 3s195ms Aug 16 00 13 42s194ms 3s245ms 01 4 12s311ms 3s77ms -
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 '%1%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 19:08:49 Duration: 4s988ms
-
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 '%1%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 19:11:14 Duration: 4s947ms
-
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 (14))))))) 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 (14)))))) 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 (14)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14)))))) 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 (14))))))))) 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 (14)))))))) AND ("policy_number"."name"::text ilike '%875711%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 15:29:51 Duration: 3s879ms
2 64 13m21s 10s489ms 14s318ms 12s527ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" not in (...)) 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 #2
Day Hour Count Duration Avg duration Aug 15 11 2 26s627ms 13s313ms 15 2 23s990ms 11s995ms 16 7 1m26s 12s345ms 18 3 37s104ms 12s368ms 19 1 11s447ms 11s447ms 21 18 3m47s 12s661ms 22 17 3m34s 12s643ms 23 14 2m53s 12s381ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (96)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-08-15 11:07:34 Duration: 14s318ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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-08-15 22:28:34 Duration: 14s271ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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-08-15 21:21:17 Duration: 13s668ms
3 44 5m15s 6s623ms 7s890ms 7s170ms 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 Aug 15 08 44 5m15s 7s170ms -
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 (23064714, 22935848, 23003472, 22997866, 23107155);
Date: 2026-08-15 08:48:49 Duration: 7s890ms
-
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 (22982208, 23007618, 23097795, 22973517, 23141527, 23056851, 23086168, 23185755, 23184262);
Date: 2026-08-15 08:51:11 Duration: 7s854ms
-
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 (23080628, 23100661, 22087847, 23186374, 23008773);
Date: 2026-08-15 08:51:02 Duration: 7s732ms
4 40 2m58s 3s929ms 4s922ms 4s454ms select min("shipping_policy".id) as id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" AS "last_warehouse" from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."last_office" = ?) and (((("shipping_policy"."state" not in (...)) 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" = ?) or ("shipping_policy"."state" = ?)) and ("shipping_policy"."return_date" is null and (("shipping_policy"."create_date" < ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)))) or "shipping_policy"."delegate_policy_id" is null))))))) and true group by "shipping_policy"."last_warehouse" order by "last_warehouse" limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 15 10 7 30s704ms 4s386ms 11 33 2m27s 4s469ms -
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."last_office" = 121) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:00:46 Duration: 4s922ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."last_office" = 119) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:00:45 Duration: 4s869ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."last_office" = 126) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 10:58:32 Duration: 4s813ms
5 30 1m36s 3s3ms 3s553ms 3s220ms 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 #5
Day Hour Count Duration Avg duration Aug 15 11 2 6s118ms 3s59ms 13 6 20s718ms 3s453ms 17 3 9s475ms 3s158ms 18 1 3s208ms 3s208ms 23 18 57s98ms 3s172ms -
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 (16))))))) 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 (16)))))) 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 (16)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16)))))) 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 (16))))))))) 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 (16))))))) AND ("policy_number"."name"::text ilike '%1336000%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 13:44:31 Duration: 3s553ms
-
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 (78))))))) 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 (78)))))) 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 (78)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (78)))))) 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 (78))))))))) 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 (78))))))) AND ("policy_number"."name"::text ilike '%11405%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 23:09:03 Duration: 3s544ms
-
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 (16))))))) 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 (16)))))) 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 (16)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16)))))) 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 (16))))))))) 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 (16))))))) AND ("policy_number"."name"::text ilike '%133500%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 13:44:22 Duration: 3s515ms
6 26 3m30s 5s245ms 10s470ms 8s92ms select "policy_number".id from "policy_number" where (((((((("policy_number"."active" = true) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 15 15 2 15s678ms 7s839ms 16 8 54s550ms 6s818ms 17 8 1m7s 8s382ms 18 2 19s806ms 9s903ms 19 1 9s510ms 9s510ms 20 5 43s802ms 8s760ms -
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 (78)))))) 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 '%713378%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 17:14:41 Duration: 10s470ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%1293040%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 16:39:15 Duration: 10s260ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%1235023%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 17:28:31 Duration: 10s254ms
7 23 1m26s 3s293ms 5s627ms 3s773ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and ((("policy_number"."done" is null or "policy_number"."done" = false) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and ("policy_number"."office_id" in (...)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 15 08 1 3s421ms 3s421ms 09 2 7s231ms 3s615ms 10 5 18s132ms 3s626ms 11 2 7s644ms 3s822ms 12 2 7s832ms 3s916ms 13 3 12s215ms 4s71ms 14 2 9s293ms 4s646ms 15 4 13s617ms 3s404ms 16 2 7s398ms 3s699ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (64)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-08-15 14:02:11 Duration: 5s627ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (16)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-08-15 13:25:43 Duration: 4s286ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (102)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-08-15 12:03:19 Duration: 4s41ms
8 22 1m33s 3s723ms 4s647ms 4s256ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ("shipping_policy"."last_warehouse" is null and (("shipping_policy"."last_office" = ?) and (((("shipping_policy"."state" not in (...)) 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" = ?) or ("shipping_policy"."state" = ?)) and ("shipping_policy"."return_date" is null and (("shipping_policy"."create_date" < ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)))) or "shipping_policy"."delegate_policy_id" is null)))))))) and true order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 15 10 6 25s461ms 4s243ms 11 16 1m8s 4s261ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_warehouse" IS NULL AND (("shipping_policy"."last_office" = 28) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))))) AND TRUE ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 11:04:30 Duration: 4s647ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_warehouse" IS NULL AND (("shipping_policy"."last_office" = 126) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))))) AND TRUE ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 10:58:06 Duration: 4s561ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_warehouse" IS NULL AND (("shipping_policy"."last_office" = 32) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))))) AND TRUE ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 11:01:54 Duration: 4s553ms
9 21 2m37s 5s229ms 10s552ms 7s484ms 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 Aug 15 15 3 21s641ms 7s213ms 19 12 1m22s 6s884ms 20 2 15s131ms 7s565ms 22 2 18s602ms 9s301ms Aug 16 01 2 19s180ms 9s590ms -
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 '%1068673%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 15:55:26 Duration: 10s552ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (41)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%1259620%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 19:21:45 Duration: 9s864ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%1100557%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 19:03:16 Duration: 9s784ms
10 20 1m45s 4s947ms 5s620ms 5s262ms select min("shipping_policy".id) as id, count("shipping_policy".id) AS "last_office_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_office" AS "last_office" from "shipping_policy" left join "urgent_office" AS "shipping_policy__last_office" on ("shipping_policy"."last_office" = "shipping_policy__last_office"."id") where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" not in (...)) 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" = ?) or ("shipping_policy"."state" = ?)) and ("shipping_policy"."return_date" is null and (("shipping_policy"."create_date" < ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)))) or "shipping_policy"."delegate_policy_id" is null)))))) and true group by "shipping_policy"."last_office", "shipping_policy__last_office"."new_code" order by "shipping_policy__last_office"."new_code" asc limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 15 10 6 30s893ms 5s148ms 11 14 1m14s 5s311ms -
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_office_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_office" as "last_office" FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__last_office" ON ("shipping_policy"."last_office" = "shipping_policy__last_office"."id") WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))) AND TRUE GROUP BY "shipping_policy"."last_office", "shipping_policy__last_office"."new_code" ORDER BY "shipping_policy__last_office"."new_code" ASC LIMIT 80;
Date: 2026-08-15 11:00:40 Duration: 5s620ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_office_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_office" as "last_office" FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__last_office" ON ("shipping_policy"."last_office" = "shipping_policy__last_office"."id") WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))) AND TRUE GROUP BY "shipping_policy"."last_office", "shipping_policy__last_office"."new_code" ORDER BY "shipping_policy__last_office"."new_code" ASC LIMIT 80;
Date: 2026-08-15 11:07:20 Duration: 5s590ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_office_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_office" as "last_office" FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__last_office" ON ("shipping_policy"."last_office" = "shipping_policy__last_office"."id") WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))) AND TRUE GROUP BY "shipping_policy"."last_office", "shipping_policy__last_office"."new_code" ORDER BY "shipping_policy__last_office"."new_code" ASC LIMIT 80;
Date: 2026-08-15 11:01:45 Duration: 5s416ms
11 19 1m25s 4s185ms 4s866ms 4s498ms select min("shipping_policy".id) as id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" AS "last_warehouse" from "shipping_policy" where (("shipping_policy"."active" = true) and ("shipping_policy"."last_office" is null and (((("shipping_policy"."state" not in (...)) 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" = ?) or ("shipping_policy"."state" = ?)) and ("shipping_policy"."return_date" is null and (("shipping_policy"."create_date" < ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)))) or "shipping_policy"."delegate_policy_id" is null))))))) and true group by "shipping_policy"."last_warehouse" order by "last_warehouse" limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 15 10 6 25s913ms 4s318ms 11 13 59s551ms 4s580ms -
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_office" IS NULL AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:00:46 Duration: 4s866ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_office" IS NULL AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:06:06 Duration: 4s766ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_office" IS NULL AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:01:49 Duration: 4s684ms
12 17 1m 3s213ms 3s843ms 3s558ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" not in (...)) 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 #12
Day Hour Count Duration Avg duration Aug 15 09 4 13s894ms 3s473ms 10 3 10s281ms 3s427ms 11 3 10s979ms 3s659ms 13 2 7s369ms 3s684ms 14 2 7s77ms 3s538ms 16 1 3s347ms 3s347ms 18 2 7s537ms 3s768ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%ميت غمر%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (58)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 18:30:08 Duration: 3s843ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (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-08-15 13:04:48 Duration: 3s789ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%الوراق%'))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (108)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 11:44:40 Duration: 3s716ms
13 17 57s312ms 3s29ms 5s737ms 3s371ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" not in (...)) 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_action" < ?) and (("shipping_policy"."review_state" = ?) and ("shipping_policy"."attachment_date" is null and (("shipping_policy"."state" = ?) and ("shipping_policy"."review_date" < ?))))))) and true order by "shipping_policy"."policy_id" limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 15 08 1 5s737ms 5s737ms 09 15 48s283ms 3s218ms 12 1 3s291ms 3s291ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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_action" < '2026-08-13') AND (("shipping_policy"."review_state" = 'reviewed') AND ("shipping_policy"."attachment_date" IS NULL AND (("shipping_policy"."state" = 'in_way') AND ("shipping_policy"."review_date" < '2026-08-13'))))))) AND TRUE ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-08-15 08:51:05 Duration: 5s737ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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_action" < '2026-08-13') AND (("shipping_policy"."review_state" = 'reviewed') AND ("shipping_policy"."attachment_date" IS NULL AND (("shipping_policy"."state" = 'in_way') AND ("shipping_policy"."review_date" < '2026-08-13'))))))) AND TRUE ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-08-15 09:36:04 Duration: 3s457ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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_action" < '2026-08-13') AND (("shipping_policy"."review_state" = 'reviewed') AND ("shipping_policy"."attachment_date" IS NULL AND (("shipping_policy"."state" = 'in_way') AND ("shipping_policy"."review_date" < '2026-08-13'))))))) AND TRUE ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-08-15 09:34:58 Duration: 3s381ms
14 16 55s637ms 3s199ms 3s772ms 3s477ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."state" = ?) and (((("shipping_policy"."state" not in (...)) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."name"::text ilike ?))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."name"::text ilike ?))))))) and ((("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("shipping_policy"."state" in (...)) and ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 15 08 2 6s645ms 3s322ms 10 1 3s388ms 3s388ms 11 2 7s175ms 3s587ms 12 6 21s40ms 3s506ms 15 2 7s238ms 3s619ms 16 1 3s542ms 3s542ms 17 2 6s606ms 3s303ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') AND (((("shipping_policy"."state" not in ('cancel', 'hold')) OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."name"::text ilike '%الزقازيق %'))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%الزقازيق%'))))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 15:58:09 Duration: 3s772ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') AND (((("shipping_policy"."state" not in ('cancel', 'hold')) OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."name"::text ilike '%الزقازيق%'))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%الزقازيق%'))))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 12:45:28 Duration: 3s755ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') AND (((("shipping_policy"."state" not in ('cancel', 'hold')) OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false)) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."name"::text ilike '%الزقازيق%'))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%الزقازيق%'))))))) AND ((("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (64)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("shipping_policy"."state" in ('in_way_to_client', 'wating')) AND ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 11:35:14 Duration: 3s741ms
15 15 2m24s 8s312ms 10s347ms 9s629ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."customer_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))) or ("shipping_policy"."customer_receive_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 15 10 3 26s946ms 8s982ms 13 3 30s118ms 10s39ms 14 2 19s968ms 9s984ms 15 3 28s22ms 9s340ms 17 4 39s391ms 9s847ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2107))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2107))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-08-15 13:46:26 Duration: 10s347ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-08-15 17:25:39 Duration: 10s339ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-08-15 17:25:50 Duration: 10s180ms
16 15 51s649ms 3s146ms 4s328ms 3s443ms select count(*) from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."customer_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))) or ("shipping_policy"."customer_receive_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?)))));Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 15 10 3 9s977ms 3s325ms 13 3 10s284ms 3s428ms 14 2 6s687ms 3s343ms 15 3 9s891ms 3s297ms 17 4 14s808ms 3s702ms -
SELECT COUNT(*) FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234)))));
Date: 2026-08-15 17:25:28 Duration: 4s328ms
-
SELECT COUNT(*) FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234)))));
Date: 2026-08-15 17:25:10 Duration: 3s729ms
-
SELECT COUNT(*) FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2107))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2107)))));
Date: 2026-08-15 10:50:09 Duration: 3s579ms
17 13 56s946ms 3s67ms 6s446ms 4s380ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" not in (...)) 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"."last_warehouse", "shipping_policy"."state" asc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 15 11 3 16s80ms 5s360ms 12 4 20s718ms 5s179ms 13 5 16s650ms 3s330ms 14 1 3s497ms 3s497ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."last_warehouse", "shipping_policy"."state" ASC LIMIT 100;
Date: 2026-08-15 12:58:31 Duration: 6s446ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."last_warehouse", "shipping_policy"."state" ASC LIMIT 100;
Date: 2026-08-15 12:54:13 Duration: 5s864ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (82, 116, 117, 118, 143)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (36, 33, 34)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (36, 33, 34))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (36, 33, 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))))) ORDER BY "shipping_policy"."last_warehouse", "shipping_policy"."state" ASC LIMIT 100;
Date: 2026-08-15 11:58:31 Duration: 5s398ms
18 13 49s345ms 3s325ms 4s728ms 3s795ms 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 Aug 15 15 1 4s10ms 4s10ms 16 2 7s614ms 3s807ms 17 3 12s129ms 4s43ms 18 2 7s303ms 3s651ms 19 1 3s371ms 3s371ms 20 4 14s915ms 3s728ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("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 (78)))))) 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-08-15 17:10:03 Duration: 4s728ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 20:32:54 Duration: 4s440ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 15:58:46 Duration: 4s10ms
19 13 46s290ms 3s311ms 3s833ms 3s560ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" not in (...)) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false)) and ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."name"::text ilike ?))))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 15 11 3 11s4ms 3s668ms 13 2 6s947ms 3s473ms 14 1 3s482ms 3s482ms 16 3 10s776ms 3s592ms 17 1 3s608ms 3s608ms 22 3 10s470ms 3s490ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (127)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (127))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (127))))) 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-08-15 11:23:50 Duration: 3s833ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (56)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 145;
Date: 2026-08-15 16:21:07 Duration: 3s716ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 13:07:02 Duration: 3s635ms
20 13 40s831ms 3s7ms 3s286ms 3s140ms select min("policy_number".id) as id, count("policy_number".id) AS "notebook_id_count", "policy_number"."notebook_id" AS "notebook_id" from "policy_number" where (("policy_number"."active" = true) and (("policy_number"."office_id" = ?) and ("policy_number"."note" is null 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"."package_id" in ( select "notebook_package".id from "notebook_package" where ("notebook_package"."name" = ?))))))) group by "policy_number"."notebook_id" order by "notebook_id" limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 15 13 1 3s184ms 3s184ms 14 1 3s204ms 3s204ms 16 11 34s441ms 3s131ms -
SELECT min("policy_number".id) AS id, count("policy_number".id) AS "notebook_id_count", "policy_number"."notebook_id" as "notebook_id" FROM "policy_number" WHERE (("policy_number"."active" = true) AND (("policy_number"."office_id" = 17) AND ("policy_number"."note" IS NULL 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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name" = 'A1'))))))) GROUP BY "policy_number"."notebook_id" ORDER BY "notebook_id" LIMIT 80;
Date: 2026-08-15 16:11:03 Duration: 3s286ms
-
SELECT min("policy_number".id) AS id, count("policy_number".id) AS "notebook_id_count", "policy_number"."notebook_id" as "notebook_id" FROM "policy_number" WHERE (("policy_number"."active" = true) AND (("policy_number"."office_id" = 17) AND ("policy_number"."note" IS NULL 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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name" = 'A1'))))))) GROUP BY "policy_number"."notebook_id" ORDER BY "notebook_id" LIMIT 80;
Date: 2026-08-15 14:46:58 Duration: 3s204ms
-
SELECT min("policy_number".id) AS id, count("policy_number".id) AS "notebook_id_count", "policy_number"."notebook_id" as "notebook_id" FROM "policy_number" WHERE (("policy_number"."active" = true) AND (("policy_number"."office_id" = 17) AND ("policy_number"."note" IS NULL 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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name" = 'A1'))))))) GROUP BY "policy_number"."notebook_id" ORDER BY "notebook_id" LIMIT 80;
Date: 2026-08-15 16:08:12 Duration: 3s204ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 13m8s 13m8s 13m8s 1 13m8s copy public.mail_message (id, parent_id, res_id, subtype_id, mail_activity_type_id, author_id, author_guest_id, mail_server_id, create_uid, write_uid, subject, model, record_name, message_type, email_from, message_id, reply_to, email_layout_xmlid, body, is_internal, reply_to_force_new, email_add_signature, date, create_date, write_date) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 15 08 1 13m8s 13m8s -
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-08-15 08:24:48 Duration: 13m8s
2 6m9s 6m9s 6m9s 1 6m9s copy public.mail_tracking_value (id, field, old_value_integer, new_value_integer, currency_id, mail_message_id, tracking_sequence, create_uid, write_uid, field_desc, field_type, old_value_char, new_value_char, old_value_text, new_value_text, old_value_datetime, new_value_datetime, create_date, write_date, old_value_float, old_value_monetary, new_value_float, new_value_monetary) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 15 08 1 6m9s 6m9s -
COPY public.mail_tracking_value (id, field, old_value_integer, new_value_integer, currency_id, mail_message_id, tracking_sequence, create_uid, write_uid, field_desc, field_type, old_value_char, new_value_char, old_value_text, new_value_text, old_value_datetime, new_value_datetime, create_date, write_date, old_value_float, old_value_monetary, new_value_float, new_value_monetary) TO stdout;
Date: 2026-08-15 08:31:01 Duration: 6m9s
3 5m7s 5m7s 5m7s 1 5m7s copy public.shipping_track (id, office_id, state_id, warehouse_id, next_office_id, next_warehouse_id, car_id, delegate_id, driver_id, user_id, shipping_id, cash_policy_id, create_uid, write_uid, state, receive_man_id_no, receive_man_id, action_date, change_date, create_date, write_date) to stdout;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 15 08 1 5m7s 5m7s -
COPY public.shipping_track (id, office_id, state_id, warehouse_id, next_office_id, next_warehouse_id, car_id, delegate_id, driver_id, user_id, shipping_id, cash_policy_id, create_uid, write_uid, state, receive_man_id_no, receive_man_id, action_date, change_date, create_date, write_date) TO stdout;
Date: 2026-08-15 08:42:31 Duration: 5m7s
4 3m53s 3m53s 3m53s 1 3m53s copy public.shipping_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, office_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, cash_policy_id, last_driver, last_office, last_car, last_office_warehouse, last_warehouse, destination_office, total_no_items, cancel_shipping_policy, create_uid, write_uid, search_name, name, pol_name, state, review_state, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, return_reason, wating_reason, scan_code, destination_type, state_collection, paid_by_customer, last_action, confirm_date, client_date, archive_date, cancel_date, return_date, wating_date, create_date, active, cash, cheques, total_collection_amount, new_destination_button, edit_cash_button, create_cash_policy_button, client_delivery_button, return_button, delegate_button, old_policy, review_date, write_date, total_amount_cash_lines, cash_amount, collection_amount_sender, collection_amount_receive, total_shipping_price, v_10_id, driver_id, delegate_id, out_date, attachment_date, count_search, notes, return_before, from_poilcy, x_from_poilcy, before_office_id, policy_name, x_review_date, state_id, attachment_user, d_date, d_unlink_delete, zero_date_change, zero_date_change_user, is_change_cash_price, transfer_date, is_imported, client_delivery_user, cash_amount_written, total_shipping_price_written, review_state_department, review_date_department, in_office_date, x_state_hold, x_date_sales, delivery_method_id, x_is_color, x_sales_move_date, x_return_office_id, privous_last_office, privous_last_warehouse, supervious_ids, x_direction_name, x_count_delivery, x_total_shipping_price, x_collection_amount_sender, x_collection_amount_receive, x_total_amount_cash_lines, x_total_shipping_price_written, x_collection_amount_left, x_cash_amount_written, x_is_block_delievery, x_is_update, x_is_inventory, delay_reason_id, return_reason_id, date_sales_policy, is_color_policy, sale_policy_id, x_date_hold, inventory_id, inventory_date) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 15 08 1 3m53s 3m53s -
COPY public.shipping_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, office_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, cash_policy_id, last_driver, last_office, last_car, last_office_warehouse, last_warehouse, destination_office, total_no_items, cancel_shipping_policy, create_uid, write_uid, search_name, name, pol_name, state, review_state, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, return_reason, wating_reason, scan_code, destination_type, state_collection, paid_by_customer, last_action, confirm_date, client_date, archive_date, cancel_date, return_date, wating_date, create_date, active, cash, cheques, total_collection_amount, new_destination_button, edit_cash_button, create_cash_policy_button, client_delivery_button, return_button, delegate_button, old_policy, review_date, write_date, total_amount_cash_lines, cash_amount, collection_amount_sender, collection_amount_receive, total_shipping_price, v_10_id, driver_id, delegate_id, out_date, attachment_date, count_search, notes, return_before, from_poilcy, x_from_poilcy, before_office_id, policy_name, x_review_date, state_id, attachment_user, d_date, d_unlink_delete, zero_date_change, zero_date_change_user, is_change_cash_price, transfer_date, is_imported, client_delivery_user, cash_amount_written, total_shipping_price_written, review_state_department, review_date_department, in_office_date, x_state_hold, x_date_sales, delivery_method_id, x_is_color, x_sales_move_date, x_return_office_id, privous_last_office, privous_last_warehouse, supervious_ids, x_direction_name, x_count_delivery, x_total_shipping_price, x_collection_amount_sender, x_collection_amount_receive, x_total_amount_cash_lines, x_total_shipping_price_written, x_collection_amount_left, x_cash_amount_written, x_is_block_delievery, x_is_update, x_is_inventory, delay_reason_id, return_reason_id, date_sales_policy, is_color_policy, sale_policy_id, x_date_hold, inventory_id, inventory_date) TO stdout;
Date: 2026-08-15 08:36:34 Duration: 3m53s
5 2m50s 2m50s 2m50s 1 2m50s copy public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 15 08 1 2m50s 2m50s -
COPY public.bus_bus (id, create_uid, write_uid, channel, message, create_date, write_date) TO stdout;
Date: 2026-08-15 08:05:57 Duration: 2m50s
6 1m5s 1m5s 1m5s 1 1m5s copy public.cash_track (id, office_id, user_id, cash_policy_id, create_uid, write_uid, state, receive_man_id, action_date, create_date, write_date, action_date_time) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 15 08 1 1m5s 1m5s -
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-08-15 08:08:54 Duration: 1m5s
7 57s699ms 57s699ms 57s699ms 1 57s699ms copy public.cash_policy (id, message_main_attachment_id, notebook_package_id, policy_id, delegate_policy_id, from_office, to_office, from_state, to_state, customer_id, customer_receive_id, delivery_method_id, shipping_payment, shipping_payment_at_receive, total_paid_by_sender, total_paid_by_receiver, user_delivered_id, user_confirm_payment_id, create_uid, write_uid, name, pol_name, state, state_previous, sender_mob, sender_name, receive_mob, receive_name, sender_add, receive_add, receive_man_id, receive_man_id_no, cheque_desc, confirmation_code, source, create_date_policy, confirm_payment_date, receive_main_office_date, confirm_payment_main_office_date, suspended_date, payment_delivered_date, policy_delivered_date, archive_date, flag_date, notes, total_amount_cash_lines_at_receive, cash, cheques, active, old_system_policy, custom_shipping, paid, create_date, write_date, cash_amount, total_amount_cash_lines, v_10_id, sp_id_10, sp_id, attachment_date, count_search, policy_name, attachment_user, change_date_recievable, sale_id, is_more_year, x_delivery_10, x_daily_move_date, is_color_polciy_cash_after_confirm, is_block_delievery, x_total_amount_cash_lines_at_receive, x_shipping_payment_at_receive, x_shipping_payment, x_cash_amount, x_total_amount_cash_lines, x_is_update, x_total_paid_by_sender, x_total_paid_by_receiver, x_daily_movement_id, x_other_daily_movement_id, sale_policy_id) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 15 08 1 57s699ms 57s699ms -
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-08-15 08:06:55 Duration: 57s699ms
8 10s489ms 14s318ms 12s527ms 64 13m21s select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" not in (...)) 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 Aug 15 11 2 26s627ms 13s313ms 15 2 23s990ms 11s995ms 16 7 1m26s 12s345ms 18 3 37s104ms 12s368ms 19 1 11s447ms 11s447ms 21 18 3m47s 12s661ms 22 17 3m34s 12s643ms 23 14 2m53s 12s381ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (96)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."policy_id" LIMIT 100;
Date: 2026-08-15 11:07:34 Duration: 14s318ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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-08-15 22:28:34 Duration: 14s271ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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-08-15 21:21:17 Duration: 13s668ms
9 8s312ms 10s347ms 9s629ms 15 2m24s select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."customer_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))) or ("shipping_policy"."customer_receive_id" in ( select "urgent_customer".id from "urgent_customer" where ("urgent_customer"."user_id" = ?))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 15 10 3 26s946ms 8s982ms 13 3 30s118ms 10s39ms 14 2 19s968ms 9s984ms 15 3 28s22ms 9s340ms 17 4 39s391ms 9s847ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2107))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 2107))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-08-15 13:46:26 Duration: 10s347ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-08-15 17:25:39 Duration: 10s339ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."customer_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))) OR ("shipping_policy"."customer_receive_id" in ( SELECT "urgent_customer".id FROM "urgent_customer" WHERE ("urgent_customer"."user_id" = 1234))))) ORDER BY "shipping_policy"."id" DESC LIMIT 10;
Date: 2026-08-15 17:25:50 Duration: 10s180ms
10 5s245ms 10s470ms 8s92ms 26 3m30s 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 Aug 15 15 2 15s678ms 7s839ms 16 8 54s550ms 6s818ms 17 8 1m7s 8s382ms 18 2 19s806ms 9s903ms 19 1 9s510ms 9s510ms 20 5 43s802ms 8s760ms -
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 (78)))))) 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 '%713378%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 17:14:41 Duration: 10s470ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%1293040%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 16:39:15 Duration: 10s260ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) AND ("policy_number"."name"::text ilike '%1235023%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 17:28:31 Duration: 10s254ms
11 5s229ms 10s552ms 7s484ms 21 2m37s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 15 15 3 21s641ms 7s213ms 19 12 1m22s 6s884ms 20 2 15s131ms 7s565ms 22 2 18s602ms 9s301ms Aug 16 01 2 19s180ms 9s590ms -
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 '%1068673%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 15:55:26 Duration: 10s552ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (41)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%1259620%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 19:21:45 Duration: 9s864ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2425) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%1100557%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 19:03:16 Duration: 9s784ms
12 6s623ms 7s890ms 7s170ms 44 5m15s select "shipping_report_details"."id" AS "id", "shipping_report_details"."last_office" AS "last_office", "shipping_report_details"."delegate_id" AS "delegate_id", "shipping_report_details"."last_car" AS "last_car", "shipping_report_details"."total_count" AS "total_count", "shipping_report_details"."received_count" AS "received_count", "shipping_report_details"."delay_count" AS "delay_count", "shipping_report_details"."out_date" AS "out_date" from "shipping_report_details" where "shipping_report_details".id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 15 08 44 5m15s 7s170ms -
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 (23064714, 22935848, 23003472, 22997866, 23107155);
Date: 2026-08-15 08:48:49 Duration: 7s890ms
-
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 (22982208, 23007618, 23097795, 22973517, 23141527, 23056851, 23086168, 23185755, 23184262);
Date: 2026-08-15 08:51:11 Duration: 7s854ms
-
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 (23080628, 23100661, 22087847, 23186374, 23008773);
Date: 2026-08-15 08:51:02 Duration: 7s732ms
13 4s947ms 5s620ms 5s262ms 20 1m45s select min("shipping_policy".id) as id, count("shipping_policy".id) AS "last_office_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_office" AS "last_office" from "shipping_policy" left join "urgent_office" AS "shipping_policy__last_office" on ("shipping_policy"."last_office" = "shipping_policy__last_office"."id") where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" not in (...)) 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" = ?) or ("shipping_policy"."state" = ?)) and ("shipping_policy"."return_date" is null and (("shipping_policy"."create_date" < ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)))) or "shipping_policy"."delegate_policy_id" is null)))))) and true group by "shipping_policy"."last_office", "shipping_policy__last_office"."new_code" order by "shipping_policy__last_office"."new_code" asc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 15 10 6 30s893ms 5s148ms 11 14 1m14s 5s311ms -
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_office_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_office" as "last_office" FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__last_office" ON ("shipping_policy"."last_office" = "shipping_policy__last_office"."id") WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))) AND TRUE GROUP BY "shipping_policy"."last_office", "shipping_policy__last_office"."new_code" ORDER BY "shipping_policy__last_office"."new_code" ASC LIMIT 80;
Date: 2026-08-15 11:00:40 Duration: 5s620ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_office_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_office" as "last_office" FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__last_office" ON ("shipping_policy"."last_office" = "shipping_policy__last_office"."id") WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))) AND TRUE GROUP BY "shipping_policy"."last_office", "shipping_policy__last_office"."new_code" ORDER BY "shipping_policy__last_office"."new_code" ASC LIMIT 80;
Date: 2026-08-15 11:07:20 Duration: 5s590ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_office_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_office" as "last_office" FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__last_office" ON ("shipping_policy"."last_office" = "shipping_policy__last_office"."id") WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))) AND TRUE GROUP BY "shipping_policy"."last_office", "shipping_policy__last_office"."new_code" ORDER BY "shipping_policy__last_office"."new_code" ASC LIMIT 80;
Date: 2026-08-15 11:01:45 Duration: 5s416ms
14 4s185ms 4s866ms 4s498ms 19 1m25s select min("shipping_policy".id) as id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" AS "last_warehouse" from "shipping_policy" where (("shipping_policy"."active" = true) and ("shipping_policy"."last_office" is null and (((("shipping_policy"."state" not in (...)) 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" = ?) or ("shipping_policy"."state" = ?)) and ("shipping_policy"."return_date" is null and (("shipping_policy"."create_date" < ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)))) or "shipping_policy"."delegate_policy_id" is null))))))) and true group by "shipping_policy"."last_warehouse" order by "last_warehouse" limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 15 10 6 25s913ms 4s318ms 11 13 59s551ms 4s580ms -
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_office" IS NULL AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:00:46 Duration: 4s866ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_office" IS NULL AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:06:06 Duration: 4s766ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_office" IS NULL AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:01:49 Duration: 4s684ms
15 3s929ms 4s922ms 4s454ms 40 2m58s select min("shipping_policy".id) as id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" AS "last_warehouse" from "shipping_policy" where (("shipping_policy"."active" = true) and (("shipping_policy"."last_office" = ?) and (((("shipping_policy"."state" not in (...)) 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" = ?) or ("shipping_policy"."state" = ?)) and ("shipping_policy"."return_date" is null and (("shipping_policy"."create_date" < ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)))) or "shipping_policy"."delegate_policy_id" is null))))))) and true group by "shipping_policy"."last_warehouse" order by "last_warehouse" limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 15 10 7 30s704ms 4s386ms 11 33 2m27s 4s469ms -
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."last_office" = 121) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:00:46 Duration: 4s922ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."last_office" = 119) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 11:00:45 Duration: 4s869ms
-
SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "last_warehouse_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."x_total_shipping_price") AS "x_total_shipping_price", sum("shipping_policy"."x_total_shipping_price_written") AS "x_total_shipping_price_written", sum("shipping_policy"."x_collection_amount_sender") AS "x_collection_amount_sender", sum("shipping_policy"."x_collection_amount_receive") AS "x_collection_amount_receive", sum("shipping_policy"."x_total_amount_cash_lines") AS "x_total_amount_cash_lines", sum("shipping_policy"."x_cash_amount_written") AS "x_cash_amount_written", "shipping_policy"."last_warehouse" as "last_warehouse" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."last_office" = 126) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))))) AND TRUE GROUP BY "shipping_policy"."last_warehouse" ORDER BY "last_warehouse" LIMIT 80;
Date: 2026-08-15 10:58:32 Duration: 4s813ms
16 3s67ms 6s446ms 4s380ms 13 56s946ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ((("shipping_policy"."state" not in (...)) 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"."last_warehouse", "shipping_policy"."state" asc limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 15 11 3 16s80ms 5s360ms 12 4 20s718ms 5s179ms 13 5 16s650ms 3s330ms 14 1 3s497ms 3s497ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."last_warehouse", "shipping_policy"."state" ASC LIMIT 100;
Date: 2026-08-15 12:58:31 Duration: 6s446ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) OR "shipping_policy"."state" IS NULL) AND ("shipping_policy"."x_is_inventory" IS NULL or "shipping_policy"."x_is_inventory" = false))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."last_warehouse", "shipping_policy"."state" ASC LIMIT 100;
Date: 2026-08-15 12:54:13 Duration: 5s864ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (82, 116, 117, 118, 143)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (36, 33, 34)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (36, 33, 34))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (36, 33, 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))))) ORDER BY "shipping_policy"."last_warehouse", "shipping_policy"."state" ASC LIMIT 100;
Date: 2026-08-15 11:58:31 Duration: 5s398ms
17 3s723ms 4s647ms 4s256ms 22 1m33s select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and ("shipping_policy"."last_warehouse" is null and (("shipping_policy"."last_office" = ?) and (((("shipping_policy"."state" not in (...)) 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" = ?) or ("shipping_policy"."state" = ?)) and ("shipping_policy"."return_date" is null and (("shipping_policy"."create_date" < ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)))) or "shipping_policy"."delegate_policy_id" is null)))))))) and true order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 15 10 6 25s461ms 4s243ms 11 16 1m8s 4s261ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_warehouse" IS NULL AND (("shipping_policy"."last_office" = 28) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))))) AND TRUE ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 11:04:30 Duration: 4s647ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_warehouse" IS NULL AND (("shipping_policy"."last_office" = 126) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))))) AND TRUE ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 10:58:06 Duration: 4s561ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ("shipping_policy"."last_warehouse" IS NULL AND (("shipping_policy"."last_office" = 32) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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') OR ("shipping_policy"."state" = 'wating')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."create_date" < '2026-07-30') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب ايطاليانو(اسكندرية ابيس) (عميل)%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))))) AND TRUE ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 11:01:54 Duration: 4s553ms
18 3s325ms 4s728ms 3s795ms 13 49s345ms 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 Aug 15 15 1 4s10ms 4s10ms 16 2 7s614ms 3s807ms 17 3 12s129ms 4s43ms 18 2 7s303ms 3s651ms 19 1 3s371ms 3s371ms 20 4 14s915ms 3s728ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("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 (78)))))) 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-08-15 17:10:03 Duration: 4s728ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 20:32:54 Duration: 4s440ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."package_id" = 2425)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2026-08-15 15:58:46 Duration: 4s10ms
19 3s293ms 5s627ms 3s773ms 23 1m26s select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and ((("policy_number"."done" is null or "policy_number"."done" = false) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and ("policy_number"."office_id" in (...)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 15 08 1 3s421ms 3s421ms 09 2 7s231ms 3s615ms 10 5 18s132ms 3s626ms 11 2 7s644ms 3s822ms 12 2 7s832ms 3s916ms 13 3 12s215ms 4s71ms 14 2 9s293ms 4s646ms 15 4 13s617ms 3s404ms 16 2 7s398ms 3s699ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (64)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-08-15 14:02:11 Duration: 5s627ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (16)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-08-15 13:25:43 Duration: 4s286ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND ("policy_number"."office_id" in (102)))) ORDER BY "policy_number"."id" LIMIT 80;
Date: 2026-08-15 12:03:19 Duration: 4s41ms
20 3s311ms 3s833ms 3s560ms 13 46s290ms select "shipping_policy".id from "shipping_policy" where (("shipping_policy"."active" = true) and (((("shipping_policy"."state" not in (...)) or "shipping_policy"."state" is null) and ("shipping_policy"."x_is_inventory" is null or "shipping_policy"."x_is_inventory" = false)) and ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."name"::text ilike ?))))) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 15 11 3 11s4ms 3s668ms 13 2 6s947ms 3s473ms 14 1 3s482ms 3s482ms 16 3 10s776ms 3s592ms 17 1 3s608ms 3s608ms 22 3 10s470ms 3s490ms -
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (42, 77, 78, 123)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (127)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (127))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (127))))) 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-08-15 11:23:50 Duration: 3s833ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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 (56)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (16))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 145;
Date: 2026-08-15 16:21:07 Duration: 3s716ms
-
SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (((("shipping_policy"."state" not in ('cancel', 'hold')) 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))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;
Date: 2026-08-15 13:07:02 Duration: 3s635ms
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,227 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 123 FATAL entries
- 2722 ERROR entries
- 0 WARNING entries
- 10 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 2,637 Max number of times the same event was reported
- 2,855 Total events found
Rank Times reported Error 1 2,637 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #1
Day Hour Count Aug 15 02 109 03 110 04 110 05 109 06 110 07 105 08 110 09 110 10 110 11 110 12 109 13 110 14 110 15 110 16 111 17 108 18 110 19 111 20 109 21 111 22 113 23 138 Aug 16 00 111 01 83 - ERROR: column res_partner.x_precentage_office does not exist at character 2190
- ERROR: column res_partner.x_precentage_office does not exist at character 2190
- ERROR: column res_partner.x_precentage_office does not exist at character 2190
Statement: SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."x_is_client" AS "x_is_client", "res_partner"."x_precentage_office" AS "x_precentage_office", "res_partner"."signup_type" AS "signup_type", "res_partner"."signup_expiration" AS "signup_expiration" FROM "res_partner" WHERE "res_partner".id IN (2)
Date: 2026-08-15 02:01:15
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-08-15 02:01:17
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-08-15 02:02:21
2 90 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Aug 15 05 8 07 1 08 8 11 18 14 18 17 17 20 11 23 9 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Date: 2026-08-15 05:00:06
Date: 2026-08-15 05:00:06
Date: 2026-08-15 05:00:06
3 51 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Aug 15 08 3 09 2 10 2 11 9 12 2 13 4 14 17 15 2 17 2 18 5 20 2 Aug 16 01 1 - ERROR: syntax error at or near ")" at character 159
- ERROR: syntax error at or near ")" at character 159
- ERROR: syntax error at or near ")" at character 159
Statement: select po.id,policy.name from cash_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('9106221',)
Date: 2026-08-15 08:28:47
Statement: select po.id,policy.name from cash_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('1226019',)
Date: 2026-08-15 08:29:09
Statement: select po.id,policy.name from cash_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('1226019',)
Date: 2026-08-15 08:29:11
4 30 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #4
Day Hour Count Aug 15 03 1 09 1 10 4 11 5 12 10 13 2 14 1 16 2 17 1 19 1 Aug 16 00 2 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: UPDATE "policy_tracking_missing" SET "count" = 1133, "shipping_id" = 23225206, "to_policy_id" = 55599574, "write_date" = '2026-08-15 01:43:08.932863', "write_uid" = 2091 WHERE id IN (22372)
Date: 2026-08-15 03:43:15
Statement: UPDATE "notebook_package" SET "write_date" = '2026-08-15 07:11:04.187427', "write_uid" = 1870 WHERE id IN (2425)
Date: 2026-08-15 09:11:04
Statement: UPDATE "shipping_policy" SET "total_shipping_price" = '150', "write_date" = '2026-08-15 08:14:05.134254', "write_uid" = 1083, "x_total_shipping_price" = '150' WHERE id IN (23137369)
Date: 2026-08-15 10:14:09
5 15 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #5
Day Hour Count Aug 15 21 13 22 2 - FATAL: database "admin" does not exist
- FATAL: database "admin" does not exist
- FATAL: database "admin" does not exist
Date: 2026-08-15 21:52:33
Date: 2026-08-15 21:52:48
Date: 2026-08-15 21:53:03
6 13 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #6
Day Hour Count Aug 15 05 2 08 1 11 2 14 2 17 2 20 2 23 2 - FATAL: the database system is shutting down
- FATAL: the database system is shutting down
- FATAL: the database system is shutting down
Date: 2026-08-15 05:00:06
Date: 2026-08-15 05:00:07
Date: 2026-08-15 08:00:07
7 9 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #7
Day Hour Count Aug 15 02 1 05 1 07 1 08 1 11 1 14 1 17 1 20 1 23 1 - LOG: database system was shut down at 2026-08-15 02:00:07 CEST
- LOG: database system was shut down at 2026-08-15 05:00:07 CEST
- LOG: database system was shut down at 2026-08-15 07:20:02 CEST
Date: 2026-08-15 02:00:09
Date: 2026-08-15 05:00:09
Date: 2026-08-15 07:22:10
8 5 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #8
Day Hour Count Aug 15 07 5 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-08-15 07:20:02
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-08-15 07:20:02
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-08-15 07:20:02
9 3 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Aug 15 11 1 19 2 - 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, 661, حسن18/5) 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-08-15 07:10:45.494385', 2139, '["|", ("pol_name", "=", "1149107"), "|", ("pol_name", "=", "807688"), "|", ("pol_name", "=", "1283425"), "|", ("pol_name", "=", "1040742"), "|", ("pol_name", "=", "1180510"), "|", ("pol_name", "=", "1209901"), "|", ("pol_name", "=", "1219353"), "|", ("pol_name", "=", "12229489"), "|", ("pol_name", "=", "1229489"), "|", ("pol_name", "=", "1317005"), "|", ("pol_name", "=", "404390"), "|", ("pol_name", "=", "1145175"), "|", ("pol_name", "=", "1178807"), "|", ("pol_name", "=", "1230195"), "|", ("pol_name", "=", "1211871"), "|", ("pol_name", "=", "1197857"), "|", ("pol_name", "=", "1317817"), "|", ("pol_name", "=", "1318265"), "|", ("pol_name", "=", "1318219"), "|", ("pol_name", "=", "1051507"), "|", ("pol_name", "=", "1325591"), "|", ("pol_name", "=", "1215243"), "|", ("pol_name", "=", "1193263"), "|", ("pol_name", "=", "1148752"), "|", ("pol_name", "=", "1317836"), "|", ("pol_name", "=", "1195445"), "|", ("pol_name", "=", "726744"), ("pol_name", "=", "1195861")]', false, 'shipping.policy', 'حسن18/5', '[]', NULL, '2026-08-15 07:10:45.494385', 2139) RETURNING "id"Date: 2026-08-15 11:10:45
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(shipping.policy, -1, 661, 1) 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-08-15 15:04:02.377660', 1570, '["|", ("pol_name", "=", "1090349"), "|", ("pol_name", "=", "1317724"), "|", ("pol_name", "=", "1318606"), "|", ("pol_name", "=", "1317730"), "|", ("pol_name", "=", "1034785"), "|", ("pol_name", "=", "1165128"), "|", ("pol_name", "=", "1251546"), "|", ("pol_name", "=", "1156525"), "|", ("pol_name", "=", "1166577"), "|", ("pol_name", "=", "1108084"), "|", ("pol_name", "=", "1287008"), "|", ("pol_name", "=", "1259907"), "|", ("pol_name", "=", "965606"), "|", ("pol_name", "=", "1325637"), "|", ("pol_name", "=", "1109971"), "|", ("pol_name", "=", "1070065"), "|", ("pol_name", "=", "1168132"), "|", ("pol_name", "=", "1325093"), "|", ("pol_name", "=", "1279192"), "|", ("pol_name", "=", "1072449"), "|", ("pol_name", "=", "1306791"), "|", ("pol_name", "=", "1325797"), "|", ("pol_name", "=", "820628"), "|", ("pol_name", "=", "1192616"), "|", ("pol_name", "=", "1279193"), "|", ("pol_name", "=", "823862"), "|", ("pol_name", "=", "1215247"), "|", ("pol_name", "=", "1295103"), "|", ("pol_name", "=", "1138221"), "|", ("pol_name", "=", "1325014"), "|", ("pol_name", "=", "1173160"), "|", ("pol_name", "=", "1326653"), "|", ("pol_name", "=", "1317850"), "|", ("pol_name", "=", "1125432"), "|", ("pol_name", "=", "1318123"), "|", ("pol_name", "=", "1125404"), "|", ("pol_name", "=", "1128057"), "|", ("pol_name", "=", "1079906"), "|", ("pol_name", "=", "1168709"), ("pol_name", "=", "832915")]', false, 'shipping.policy', '1', '["x_collection_amount_sender desc","x_total_shipping_price","x_total_amount_cash_lines"]', NULL, '2026-08-15 15:04:02.377660', 1570) RETURNING "id"Date: 2026-08-15 19:04:02
Detail: Key (model_id, user_id, action_id, name)=(shipping.policy, 1570, 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-08-15 15:04:10.715917', 1570, '["|", ("pol_name", "=", "1090349"), "|", ("pol_name", "=", "1317724"), "|", ("pol_name", "=", "1318606"), "|", ("pol_name", "=", "1317730"), "|", ("pol_name", "=", "1034785"), "|", ("pol_name", "=", "1165128"), "|", ("pol_name", "=", "1251546"), "|", ("pol_name", "=", "1156525"), "|", ("pol_name", "=", "1166577"), "|", ("pol_name", "=", "1108084"), "|", ("pol_name", "=", "1287008"), "|", ("pol_name", "=", "1259907"), "|", ("pol_name", "=", "965606"), "|", ("pol_name", "=", "1325637"), "|", ("pol_name", "=", "1109971"), "|", ("pol_name", "=", "1070065"), "|", ("pol_name", "=", "1168132"), "|", ("pol_name", "=", "1325093"), "|", ("pol_name", "=", "1279192"), "|", ("pol_name", "=", "1072449"), "|", ("pol_name", "=", "1306791"), "|", ("pol_name", "=", "1325797"), "|", ("pol_name", "=", "820628"), "|", ("pol_name", "=", "1192616"), "|", ("pol_name", "=", "1279193"), "|", ("pol_name", "=", "823862"), "|", ("pol_name", "=", "1215247"), "|", ("pol_name", "=", "1295103"), "|", ("pol_name", "=", "1138221"), "|", ("pol_name", "=", "1325014"), "|", ("pol_name", "=", "1173160"), "|", ("pol_name", "=", "1326653"), "|", ("pol_name", "=", "1317850"), "|", ("pol_name", "=", "1125432"), "|", ("pol_name", "=", "1318123"), "|", ("pol_name", "=", "1125404"), "|", ("pol_name", "=", "1128057"), "|", ("pol_name", "=", "1079906"), "|", ("pol_name", "=", "1168709"), ("pol_name", "=", "832915")]', true, 'shipping.policy', 'بوليصة البضاعة', '["x_collection_amount_sender desc","x_total_shipping_price","x_total_amount_cash_lines"]', 1570, '2026-08-15 15:04:10.715917', 1570) RETURNING "id"Date: 2026-08-15 19:04:10
10 1 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #10
Day Hour Count Aug 15 07 1 - LOG: could not send data to client: Broken pipe
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2026-08-15 07:20:02
11 1 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #11
Day Hour Count Aug 15 23 1 - ERROR: current transaction is aborted, commands ignored until end of transaction block
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 (10)
Date: 2026-08-15 23:09:42