-
Global information
- Generated on Thu Mar 20 23:48:01 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 49,833,397 log entries in 3m
- Log start from 2025-03-19 23:00:10 to 2025-03-20 19:45:01
-
Overview
Global Stats
- 22,722 Number of unique normalized queries
- 20,860,156 Number of queries
- 9d9h36m26s Total query duration
- 2025-03-19 23:00:10 First query
- 2025-03-20 19:45:01 Last query
- 3,180 queries/s at 2025-03-20 14:21:52 Query peak
- 9d9h36m26s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 9d9h36m26s Execute total duration
- 4,164 Number of events
- 22 Number of unique normalized events
- 1,669 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
- 20,860,156 Average queries per session
- 9d9h36m26s 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
- 3,180 queries/s Query Peak
- 2025-03-20 14:21:52 Date
SELECT Traffic
Key values
- 1,931 queries/s Query Peak
- 2025-03-20 14:21:52 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2,073 queries/s Query Peak
- 2025-03-20 00:02:35 Date
Queries duration
Key values
- 9d9h36m26s 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) Mar 19 23 675,274 0ms 8m6s 44ms 13m26s 15m16s 17m40s Mar 20 00 628,446 0ms 9s899ms 36ms 8m52s 12m5s 13m56s 01 429,739 0ms 8s198ms 29ms 5m53s 6m41s 8m12s 02 406,860 0ms 8s77ms 33ms 6m16s 7m36s 9m11s 03 302,178 0ms 5s18ms 41ms 5m35s 7m 7m37s 04 279,338 0ms 1s636ms 36ms 4m55s 6m 7m9s 05 333,062 0ms 1m41s 64ms 10m39s 11m41s 13m4s 06 344,670 0ms 4m36s 55ms 9m35s 11m19s 15m26s 07 443,414 0ms 13m11s 64ms 11m24s 13m4s 21m7s 08 588,977 0ms 30s779ms 37ms 8m52s 9m34s 10m53s 09 1,278,438 0ms 1m12s 32ms 23m22s 26m26s 30m10s 10 1,597,403 0ms 12s857ms 28ms 22m34s 25m48s 27m8s 11 1,907,551 0ms 15s255ms 30ms 27m25s 29m58s 31m28s 12 2,397,063 0ms 1m27s 45ms 39m10s 40m22s 45m6s 13 2,134,341 0ms 3m22s 30ms 28m47s 31m51s 36m29s 14 1,910,078 0ms 6m50s 48ms 35m23s 39m54s 40m15s 15 1,614,922 0ms 4m38s 50ms 28m56s 31m44s 33m11s 16 1,151,659 0ms 6m34s 38ms 18m54s 20m14s 23m45s 17 636,665 0ms 49s547ms 28ms 7m37s 8m54s 9m18s 18 1,007,172 0ms 1m14s 39ms 14m46s 15m30s 19m26s 19 792,906 0ms 1m4s 29ms 12m54s 13m43s 16m4s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 19 23 385,975 0 76ms 11m11s 12m56s 15m14s Mar 20 00 342,715 0 67ms 8m5s 8m51s 12m57s 01 227,843 0 56ms 4m47s 5m53s 7m39s 02 230,064 0 59ms 5m21s 6m14s 8m38s 03 166,960 0 75ms 4m35s 5m34s 7m3s 04 148,896 0 68ms 4m13s 4m55s 6m11s 05 181,022 0 117ms 9m7s 10m34s 12m11s 06 188,171 0 100ms 7m16s 9m34s 13m13s 07 250,392 0 110ms 10m32s 11m22s 13m3s 08 351,205 0 63ms 8m30s 8m51s 10m16s 09 777,025 0 53ms 14m3s 23m20s 29m52s 10 913,787 0 49ms 16m16s 22m31s 26m54s 11 1,137,263 0 50ms 21m33s 27m22s 30m35s 12 1,526,237 0 70ms 36m3s 39m7s 42m22s 13 1,288,431 0 50ms 22m11s 28m45s 32m1s 14 1,176,479 0 77ms 33m9s 34m38s 38m59s 15 986,303 0 82ms 27m27s 28m53s 32m49s 16 669,506 0 64ms 15m6s 17m49s 21m11s 17 348,188 0 52ms 6m45s 7m36s 9m8s 18 574,450 0 68ms 13m7s 14m45s 16m15s 19 446,764 0 52ms 10m57s 12m53s 16m3s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 19 23 66,282 13,511 609 0 6ms 503ms 584ms 756ms Mar 20 00 68,666 15,615 386 0 0ms 389ms 511ms 1s126ms 01 32,334 5,459 180 0 0ms 190ms 220ms 266ms 02 33,609 5,913 146 0 0ms 314ms 407ms 898ms 03 29,897 5,778 103 0 0ms 222ms 272ms 459ms 04 22,054 5,208 75 0 0ms 179ms 217ms 378ms 05 33,599 5,910 77 0 3ms 310ms 387ms 7s938ms 06 35,713 6,695 77 0 6ms 248ms 321ms 615ms 07 52,131 11,898 77 0 12ms 374ms 434ms 537ms 08 43,997 11,761 212 0 1ms 324ms 406ms 632ms 09 67,272 15,509 808 0 2ms 618ms 816ms 1s125ms 10 88,751 18,826 1,097 0 0ms 726ms 908ms 1s201ms 11 99,142 21,202 897 0 0ms 846ms 950ms 1s209ms 12 113,696 23,768 1,005 0 1ms 1s82ms 1s279ms 27s360ms 13 100,916 22,941 1,150 0 2ms 876ms 1s44ms 16s894ms 14 98,690 23,073 966 0 8ms 1s136ms 1s395ms 2m30s 15 96,628 21,706 1,755 0 4ms 1s39ms 1s100ms 1m7s 16 76,653 19,177 791 0 14ms 675ms 951ms 3m45s 17 42,366 8,984 335 0 0ms 263ms 316ms 397ms 18 78,511 21,826 796 0 1ms 493ms 711ms 28s766ms 19 53,485 11,431 866 0 0ms 432ms 557ms 830ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 19 23 0 0 0.00 0.00% Mar 20 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% Day Hour Count Average / Second Mar 19 23 0 0.00/s Mar 20 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s Day Hour Count Average Duration Average idle time Mar 19 23 0 0ms 0ms Mar 20 00 0 0ms 0ms 01 0 0ms 0ms 02 0 0ms 0ms 03 0 0ms 0ms 04 0 0ms 0ms 05 0 0ms 0ms 06 0 0ms 0ms 07 0 0ms 0ms 08 0 0ms 0ms 09 0 0ms 0ms 10 0 0ms 0ms 11 0 0ms 0ms 12 0 0ms 0ms 13 0 0ms 0ms 14 0 0ms 0ms 15 0 0ms 0ms 16 0 0ms 0ms 17 0 0ms 0ms 18 0 0ms 0ms 19 0 0ms 0ms -
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
- 90,615 buffers Checkpoint Peak
- 2025-03-20 11:29:40 Date
- 270.044 seconds Highest write time
- 0.269 seconds Sync time
Checkpoints Wal files
Key values
- 56 files Wal files usage Peak
- 2025-03-20 11:09:40 Date
Checkpoints distance
Key values
- 1,770.22 Mo Distance Peak
- 2025-03-20 11:09:40 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 19 23 327,521 2,968.661s 0.045s 2,968.776s Mar 20 00 389,163 3,239.538s 0.043s 3,239.648s 01 302,254 3,239.635s 0.035s 3,239.733s 02 226,394 2,428.938s 0.058s 2,429.051s 03 212,512 3,239.495s 0.038s 3,239.598s 04 224,276 3,239.636s 0.033s 3,239.726s 05 247,347 3,163.894s 0.046s 3,164.012s 06 215,495 3,239.559s 0.041s 3,239.664s 07 283,815 3,239.523s 0.05s 3,239.648s 08 264,194 2,969.585s 0.051s 2,969.712s 09 477,243 3,239.46s 0.051s 3,239.606s 10 705,578 3,239.418s 0.065s 3,239.618s 11 774,359 2,969.95s 0.074s 2,970.179s 12 876,685 3,239.377s 0.089s 3,239.655s 13 763,949 3,239.306s 0.07s 3,239.556s 14 712,078 2,430.927s 0.094s 2,431.171s 15 710,079 3,239.166s 0.356s 3,239.68s 16 563,286 3,239.414s 0.074s 3,239.601s 17 267,338 3,166.252s 0.063s 3,166.377s 18 423,535 3,239.427s 0.096s 3,239.609s 19 329,398 2,429.65s 0.04s 2,429.759s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 19 23 0 0 143 4,636 0.003s 0.011s Mar 20 00 0 0 163 4,862 0.002s 0.012s 01 0 0 127 4,129 0.002s 0.012s 02 0 0 97 3,348 0.016s 0.011s 03 0 0 94 3,305 0.002s 0.012s 04 0 0 95 3,070 0.002s 0.012s 05 0 0 105 3,112 0.004s 0.013s 06 0 0 97 2,840 0.010s 0.012s 07 0 0 126 3,619 0.009s 0.012s 08 0 0 112 4,057 0.004s 0.012s 09 0 0 213 5,074 0.002s 0.012s 10 0 0 313 5,137 0.003s 0.012s 11 0 0 346 5,505 0.005s 0.012s 12 0 0 373 5,347 0.003s 0.012s 13 0 0 324 5,380 0.003s 0.012s 14 0 0 301 5,158 0.008s 0.011s 15 0 0 295 5,682 0.250s 0.012s 16 0 0 240 5,756 0.003s 0.012s 17 0 0 111 5,220 0.005s 0.013s 18 0 0 184 5,371 0.026s 0.012s 19 0 0 144 4,009 0.002s 0.009s Day Hour Count Avg time (sec) Mar 19 23 0 0s Mar 20 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s Day Hour Mean distance Mean estimate Mar 19 23 213,187.55 kB 288,311.91 kB Mar 20 00 221,824.50 kB 348,168.92 kB 01 173,003.83 kB 288,705.17 kB 02 145,655.18 kB 196,501.18 kB 03 128,375.08 kB 179,004.58 kB 04 128,952.33 kB 176,376.42 kB 05 131,872.08 kB 172,246.77 kB 06 133,055.17 kB 170,722.92 kB 07 171,735.00 kB 219,702.17 kB 08 153,742.08 kB 185,561.58 kB 09 289,644.83 kB 331,453.83 kB 10 428,611.17 kB 485,391.75 kB 11 471,188.42 kB 717,168.17 kB 12 509,826.67 kB 567,141.67 kB 13 441,984.55 kB 514,724.82 kB 14 447,768.45 kB 475,479.36 kB 15 402,207.42 kB 464,592.42 kB 16 328,084.58 kB 446,499.42 kB 17 139,577.38 kB 221,049.38 kB 18 253,517.73 kB 270,095.91 kB 19 255,760.00 kB 358,857.62 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 Mar 19 23 0 0 0 Mar 20 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 -
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
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 Mar 19 23 0 0 Mar 20 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 - 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
- 12,317,676 Total read queries
- 5,861,437 Total write queries
Queries by database
Key values
- unknown Main database
- 20,860,156 Requests
- 9d9h36m26s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 20,860,156 Requests
User Request type Count Duration unknown Total 20,860,156 9d9h36m26s cte 26,383 9s435ms ddl 338 52ms delete 12,408 1m51s insert 1,334,392 9m31s others 2,681,043 2m45s select 12,317,676 9d7h46m23s tcl 4,191,725 3m52s update 296,191 1h31m53s Duration by user
Key values
- 9d9h36m26s (unknown) Main time consuming user
User Request type Count Duration unknown Total 20,860,156 9d9h36m26s cte 26,383 9s435ms ddl 338 52ms delete 12,408 1m51s insert 1,334,392 9m31s others 2,681,043 2m45s select 12,317,676 9d7h46m23s tcl 4,191,725 3m52s update 296,191 1h31m53s Queries by host
Key values
- unknown Main host
- 20,860,156 Requests
- 9d9h36m26s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 20,860,156 Requests
- 9d9h36m26s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-03-20 16:38:32 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 18,977,658 0-1ms duration
Slowest individual queries
Rank Duration Query 1 13m11s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-20 06:29:30.123506', "write_uid" = 970 WHERE id IN (45131897);[ Date: 2025-03-20 07:42:46 ]
2 8m6s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-19 22:43:58.007256', "write_uid" = 995 WHERE id IN (45281598);[ Date: 2025-03-19 23:52:07 ]
3 6m50s update shipping_policy set d_date = '2025-03-20' where id = 6258867;[ Date: 2025-03-20 14:35:19 ]
4 6m34s UPDATE "shipping_policy" SET "archive_date" = '2025-03-20', "state" = 'archive', "write_date" = '2025-03-20 15:31:52.695245', "write_uid" = 1079 WHERE id IN (6411871, 6429453, 6281205, 6406741, 6297646, 6390839, 6424338, 6374423, 6371784, 6387945, 6426109, 6426289, 6426098, 6426115, 6420856, 6420848, 6429448, 6420883, 6420886, 6324560, 6342233, 6455417);[ Date: 2025-03-20 16:42:52 ]
5 4m38s UPDATE "shipping_policy" SET "cash_policy_id" = 8394571, "client_delivery_button" = false, "write_date" = '2025-03-20 14:00:06.717959', "write_uid" = 963 WHERE id IN (6596285);[ Date: 2025-03-20 15:06:22 ]
6 4m36s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-20 05:37:27.744202', "write_uid" = 1001 WHERE id IN (45279399);[ Date: 2025-03-20 06:42:07 ]
7 4m5s UPDATE "shipping_policy" SET "archive_date" = '2025-03-20', "state" = 'archive', "write_date" = '2025-03-20 15:34:46.221801', "write_uid" = 1079 WHERE id IN (6446249, 6415563, 6383003, 6423837, 6378436, 6253296, 6390604, 6388020, 6324560, 6342233, 6455417);[ Date: 2025-03-20 16:42:52 ]
8 3m22s UPDATE "shipping_policy" SET "cash_policy_id" = 8393367, "client_delivery_button" = false, "create_cash_policy_button" = true, "edit_cash_button" = false, "return_button" = true, "write_date" = '2025-03-20 12:13:35.740561', "write_uid" = 939 WHERE id IN (6411686);[ Date: 2025-03-20 13:18:24 ]
9 2m43s update shipping_policy set d_date = '2025-03-20' where id = 6406966;[ Date: 2025-03-20 14:46:32 ]
10 2m30s update shipping_policy set count_search = 1 where id = 6426820;[ Date: 2025-03-20 14:31:52 ]
11 2m24s UPDATE "shipping_policy" SET "client_date" = '2025-03-20', "client_delivery_button" = true, "receive_man_id" = 'اسامة محمد نجيب', "state" = 'client_receive', "write_date" = '2025-03-20 15:03:56.636501', "write_uid" = 979 WHERE id IN (6483363, 6461092, 6385435, 6370257, 6405584, 6528171, 6449663, 6465030, 6467390, 6424868, 6511955, 6420269, 6494682, 6514432);[ Date: 2025-03-20 16:08:16 ]
12 2m13s update shipping_policy set count_search = 2 where id = 6479737;[ Date: 2025-03-20 16:30:08 ]
13 1m48s update shipping_policy set count_search = 2 where id = 6479808;[ Date: 2025-03-20 16:30:08 ]
14 1m41s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-20 04:41:20.756202', "write_uid" = 1088 WHERE id IN (45198686);[ Date: 2025-03-20 05:43:05 ]
15 1m41s UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-03-20 13:38:05.046333', "write_uid" = 1214 WHERE id IN (6401459, 6400934, 6394881, 6394869, 6394741, 6394729, 6394669, 6394654, 6390884, 6384641, 6383440, 6382875, 6382705, 6380915, 6380566, 6380559, 6378095, 6378036, 6374929, 6374772, 6374367, 6374321, 6374112, 6372833, 6372770, 6372036, 6371629, 6370945, 6370915, 6370432, 6369514, 6369404, 6369299, 6368930, 6368287, 6368120, 6368068, 6364261, 6363343, 6362036, 6361822, 6361658, 6360974, 6358975, 6353693, 6349463, 6327440, 6323118, 6289193, 6448842, 6448798, 6448634, 6439356, 6438922, 6436014, 6434504, 6433967, 6432354, 6432054, 6428450, 6424571, 6422411, 6421655, 6417952, 6417471, 6415856, 6414016, 6413180, 6408915, 6408303, 6406819, 6403626, 6400428, 6394915, 6387139, 6382712, 6379321, 6364345, 6347679, 6323919, 6301101, 6272798, 6190490, 5690030, 5466471, 6448879, 6448857, 6448856, 6448746, 6448623, 6438990, 6438971, 6435991, 6434226, 6433895, 6433352, 6432089, 6431879, 6428683, 6427268, 6426205, 6425365, 6423956, 6423757, 6423664, 6423642, 6423342, 6422510, 6420636, 6420222, 6413361, 6411831, 6409204, 6409143, 6409087, 6408165, 6407055, 6404069, 6394883, 6384531, 6382443, 6381297, 6380499, 6377953, 6371796, 6369035, 6366782, 6364842, 6362432, 6346893, 6302789, 6294068, 6286685, 6275777, 6210231, 6198616, 5661700, 6498739, 6401478, 6401470, 6400949, 6400937, 6400908, 6400436, 6400415, 6394872, 6394631, 6392851, 6389194, 6387258, 6386173, 6384359, 6382699, 6381421, 6380283, 6379631, 6379560, 6378313, 6378236, 6377548, 6377297, 6376900, 6374605, 6371515, 6371292, 6371048, 6368500, 6366151, 6365775, 6365366, 6365030, 6364830, 6364395, 6363542, 6363313, 6363221, 6361999, 6361586, 6361035, 6358964, 6353777, 6346924, 6343875, 6343684, 6338643, 6338620, 6338619, 6338322, 6338213, 6328891, 6309128, 6298835, 6295652, 6293791, 6292614, 6289152, 6281278, 6274117, 6256901, 6254779, 6254315, 6248336, 6225351, 6223860, 6009780, 5815987, 5482451, 6551362, 6551356, 6453788, 6451055, 6449108, 6448877, 6448871, 6448843, 6448829, 6448825, 6448820, 6448809, 6448801, 6448637, 6448631, 6448615, 6439036, 6439032, 6439013, 6438994, 6438586, 6436237, 6435344, 6434429, 6432340, 6432297, 6432280, 6432100, 6431829, 6427404, 6425582, 6425581, 6423557, 6421113, 6420773, 6420754, 6420697, 6420531, 6419249, 6419116, 6418411, 6418296, 6417936, 6417630, 6417020, 6415480, 6415155, 6414981, 6413047, 6412815, 6411886, 6411655, 6411025, 6408990, 6408805, 6402853, 6400473, 6391533, 6390874, 6384492, 6377199, 6371807, 6371435, 6371243, 6369894, 6368497, 6357171, 6338470, 6317720, 6295691, 6294296, 5957690);[ Date: 2025-03-20 14:40:32 ]
16 1m39s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-20 14:03:36.498788', "write_uid" = 837 WHERE id IN (45047056);[ Date: 2025-03-20 15:05:21 ]
17 1m27s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) 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: 2025-03-20 12:52:49 ]
18 1m27s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) 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: 2025-03-20 12:51:46 ]
19 1m26s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) 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: 2025-03-20 14:24:24 ]
20 1m24s UPDATE "shipping_policy" SET "review_date" = '2025-03-20', "review_state" = 'reviewed', "write_date" = '2025-03-20 15:35:00.616164', "write_uid" = 1509 WHERE id IN (6498739, 6498732, 6497244, 6497242, 6497238, 6497227, 6497224, 6497222, 6497215, 6497210, 6497209, 6479962, 6479960, 6479958, 6479956, 6479954, 6479950, 6479948, 6479947, 6479946, 6479945, 6479944, 6479943, 6479942, 6479940, 6479937, 6479934, 6479929, 6479927, 6479924, 6479920, 6479916, 6479912, 6479884, 6479881, 6479878, 6479875, 6479873, 6479869, 6479866, 6479863, 6479818, 6479816, 6479814, 6479808, 6479803, 6479799, 6479796, 6479792, 6479770, 6479149, 6479145, 6479065, 6479055, 6479052, 6479049, 6479045, 6479039, 6479036, 6479028, 6479016, 6479014, 6479012, 6479010, 6479006, 6479000, 6478998, 6478996, 6478994, 6478992, 6478988, 6478987, 6478984, 6472755, 6472745, 6472739, 6471568, 6471566, 6471564, 6471561, 6471558, 6471555, 6471542, 6471539, 6471536, 6471532, 6471528, 6471523, 6471511, 6471507, 6471474, 6471471, 6471364, 6471360, 6471352, 6471348, 6471344, 6471338, 6471334, 6471330, 6471326, 6471322, 6471318, 6471314, 6471310, 6471307, 6471303, 6471299, 6471295, 6471291, 6471287, 6471284, 6471280, 6471272, 6471268, 6471264, 6471260, 6471257, 6471210, 6471206, 6471202, 6471197, 6471193, 6471189, 6471185, 6471181, 6471177, 6471173, 6471169, 6471164, 6471160, 6471156, 6471152, 6471147, 6471142, 6449734, 6449698, 6449695, 6434119, 6434115, 6434110, 6434105, 6434099, 6434083, 6434079, 6434075, 6434071, 6434067, 6434063, 6433403, 6433387, 6433382, 6433377, 6433368, 6433359, 6433354, 6433349, 6433339, 6433334, 6432524, 6432520, 6432512, 6432508, 6432504, 6432500, 6432447, 6432444);[ Date: 2025-03-20 16:39:55 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 5d3h41m 338,237 745ms 8s841ms 1s316ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 19 23 14,658 4h31m43s 1s112ms Mar 20 00 12,724 3h42m42s 1s50ms 01 8,288 2h14m12s 971ms 02 9,556 2h21m56s 891ms 03 9,095 2h8m5s 844ms 04 8,037 1h50m40s 826ms 05 16,742 4h23m14s 943ms 06 13,470 3h28m 926ms 07 16,862 4h33m26s 972ms 08 11,015 2h53m37s 945ms 09 17,590 6h3m58s 1s241ms 10 20,209 6h52m58s 1s226ms 11 22,052 8h57m3s 1s461ms 12 26,993 16h37m25s 2s217ms 13 22,037 9h20m25s 1s525ms 14 22,851 13h5m41s 2s63ms 15 25,891 12h15m23s 1s704ms 16 17,933 5h57m40s 1s196ms 17 11,017 2h55m4s 953ms 18 18,777 5h48m8s 1s112ms 19 12,440 3h39m31s 1s58ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6597248)) AND (("shipping_track"."id" not in (55068226, 55068226)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 14:38:09 Duration: 8s841ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6598223)) AND (("shipping_track"."id" not in (55082850, 55082850)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 15:15:42 Duration: 8s760ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6598215)) AND (("shipping_track"."id" not in (55082686, 55082686)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 15:15:20 Duration: 8s659ms
2 1d14m33s 53,887 752ms 9s444ms 1s619ms select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 19 23 2,491 45m14s 1s89ms Mar 20 00 1,437 24m55s 1s40ms 01 1,175 19m34s 999ms 02 701 10m42s 916ms 03 218 3m18s 911ms 04 160 2m28s 930ms 05 210 3m54s 1s118ms 06 231 3m55s 1s20ms 07 288 5m5s 1s59ms 08 864 13m54s 965ms 09 3,315 1h20m16s 1s453ms 10 4,779 1h44m50s 1s316ms 11 4,409 2h1m7s 1s648ms 12 5,147 3h47m31s 2s652ms 13 5,108 2h30m25s 1s766ms 14 4,637 3h15m43s 2s532ms 15 6,494 3h30m2s 1s940ms 16 3,756 1h20m15s 1s281ms 17 1,468 23m31s 961ms 18 3,655 1h9m35s 1s142ms 19 3,344 58m8s 1s43ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6540178, 6494131, 6491311, 6483707, 6427856, 6110715)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 12:44:45 Duration: 9s444ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6500773, 6497675, 6472469, 6448223, 6415930, 6411777, 6406910)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 14:09:27 Duration: 9s350ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6594016, 6594013, 6593998, 6581068, 6578546, 6577392, 6533874, 6470901)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 14:42:37 Duration: 9s346ms
3 20h14m56s 142,266 251ms 3s14ms 512ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 19 23 1,670 9m54s 355ms Mar 20 00 2,463 13m46s 335ms 01 1,971 10m10s 309ms 02 1,992 10m24s 313ms 03 2,974 14m24s 290ms 04 2,958 14m19s 290ms 05 3,559 21m25s 361ms 06 2,778 15m49s 341ms 07 7,939 47m42s 360ms 08 8,917 55m8s 371ms 09 11,377 1h26m21s 455ms 10 8,887 1h12m1s 486ms 11 9,275 1h20m9s 518ms 12 12,236 2h44m10s 805ms 13 9,914 1h33m26s 565ms 14 13,063 2h49m14s 777ms 15 8,897 1h39m9s 668ms 16 14,714 1h59m9s 485ms 17 3,030 18m52s 373ms 18 13,184 1h36m11s 437ms 19 468 3m3s 392ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1179180')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-20 14:38:03 Duration: 3s14ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1157887')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-20 14:38:04 Duration: 3s11ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1036938')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-20 14:39:24 Duration: 3s6ms
4 9h12m11s 25,113 920ms 2s965ms 1s319ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) 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"."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";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 19 23 2,498 55m2s 1s322ms Mar 20 00 1,963 40m35s 1s240ms 01 790 15m16s 1s159ms 02 1,038 20m5s 1s161ms 03 1,358 25m44s 1s137ms 04 725 13m47s 1s141ms 05 906 20m3s 1s328ms 06 2,347 48m 1s227ms 07 3,429 1h13m47s 1s291ms 08 2,550 51m55s 1s221ms 09 1,252 29m1s 1s390ms 10 644 16m 1s491ms 11 180 4m52s 1s625ms 12 82 3m3s 2s241ms 13 403 12m17s 1s829ms 14 342 10m27s 1s834ms 15 771 25m49s 2s9ms 16 685 17m46s 1s556ms 17 1,377 27m20s 1s191ms 18 1,207 28m54s 1s437ms 19 566 12m18s 1s305ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1248313')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."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";
Date: 2025-03-20 14:38:50 Duration: 2s965ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1248311')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."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";
Date: 2025-03-20 14:38:39 Duration: 2s954ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1152022')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."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";
Date: 2025-03-20 14:49:02 Duration: 2s927ms
5 5h49m45s 27,325 344ms 4s845ms 767ms select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 20 07 277 2m15s 488ms 08 2,233 18m9s 487ms 09 3,585 37m23s 625ms 10 2,528 27m29s 652ms 11 2,210 24m37s 668ms 12 2,703 50m50s 1s128ms 13 3,331 43m2s 775ms 14 4,236 1h12m10s 1s22ms 15 2,350 34m12s 873ms 16 2,154 23m53s 665ms 17 530 4m37s 523ms 18 1,188 11m3s 558ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '1194221')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-20 12:12:35 Duration: 4s845ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '1091805')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-20 12:43:44 Duration: 4s821ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '1044080')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-20 12:43:13 Duration: 4s781ms
6 5h35m37s 193,464 49ms 623ms 104ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 19 23 7,411 9m47s 79ms Mar 20 00 7,202 9m11s 76ms 01 4,604 5m31s 71ms 02 4,383 4m46s 65ms 03 4,848 4m52s 60ms 04 3,475 3m26s 59ms 05 9,341 11m59s 77ms 06 3,781 4m32s 72ms 07 4,208 5m23s 76ms 08 5,448 6m44s 74ms 09 9,891 16m19s 99ms 10 14,144 23m20s 99ms 11 16,231 30m11s 111ms 12 19,170 52m41s 164ms 13 15,163 30m17s 119ms 14 15,459 38m36s 149ms 15 16,458 33m14s 121ms 16 11,229 16m12s 86ms 17 6,205 7m39s 73ms 18 7,638 11m6s 87ms 19 7,175 9m40s 80ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6438216, 6415506, 6413972, 6380208, 6371810, 6367256, 6365727, 6365004)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-20 12:04:41 Duration: 623ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6545745, 6526482, 6509022, 6503359, 6497624, 6482547, 6481513, 6472296)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-20 15:30:29 Duration: 610ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6495004, 6478599, 6471122, 6453303, 6434434, 6416879, 6415920, 6103730)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-20 15:40:05 Duration: 606ms
7 5h23m2s 68,692 96ms 1s668ms 282ms select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 19 23 8,366 39m59s 286ms Mar 20 00 5,986 25m21s 254ms 01 2,046 7m56s 232ms 02 3,324 12m42s 229ms 03 3,170 10m49s 204ms 04 1,772 6m40s 225ms 05 2,300 9m50s 256ms 06 4,642 19m5s 246ms 07 6,900 30m21s 264ms 08 5,220 20m11s 232ms 09 2,652 12m45s 288ms 10 1,260 6m27s 307ms 11 614 3m41s 361ms 12 524 4m39s 533ms 13 882 6m14s 424ms 14 1,153 8m7s 422ms 15 3,451 27m32s 478ms 16 1,949 10m15s 315ms 17 3,722 16m25s 264ms 18 4,499 24m13s 322ms 19 4,260 19m40s 277ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'نببيل')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-20 14:23:00 Duration: 1s668ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'اسنكرية')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-20 15:15:18 Duration: 1s51ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'مكتب توبرا')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-20 16:00:33 Duration: 1s42ms
8 3h32m4s 9,654 529ms 3s107ms 1s318ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) 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"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 19 23 1,724 34m43s 1s208ms Mar 20 00 1,058 19m44s 1s119ms 01 245 4m23s 1s73ms 02 644 11m35s 1s79ms 03 239 4m8s 1s39ms 04 174 2m57s 1s21ms 05 259 5m 1s159ms 07 62 1m7s 1s87ms 08 89 1m38s 1s106ms 09 97 2m12s 1s363ms 10 1 1s462ms 1s462ms 11 134 3m10s 1s419ms 12 184 6m7s 1s998ms 13 53 1m22s 1s551ms 14 252 8m24s 2s1ms 15 983 31m31s 1s923ms 16 304 7m33s 1s492ms 17 506 9m8s 1s83ms 18 1,065 23m59s 1s351ms 19 1,581 33m15s 1s262ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '372190')) AND ("policy_number"."package_id" = 2)) 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 (67))))))) 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 (67)))))) OR (("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 (67)))))) 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 (67))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-20 14:37:49 Duration: 3s107ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9812686')) AND ("policy_number"."package_id" = 2)) 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 (74))))))) 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 (74)))))) OR (("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 (74)))))) 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 (74))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-20 15:34:54 Duration: 2s957ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9812879')) AND ("policy_number"."package_id" = 2)) 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 (74))))))) 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 (74)))))) OR (("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 (74)))))) 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 (74))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-20 15:36:32 Duration: 2s938ms
9 2h40m58s 18,786 259ms 3s43ms 514ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 19 23 883 5m16s 357ms Mar 20 00 1,149 6m20s 331ms 01 563 2m55s 312ms 02 205 1m13s 357ms 03 934 4m30s 289ms 04 244 1m10s 288ms 05 585 3m48s 391ms 06 454 2m45s 365ms 07 1,411 8m17s 352ms 08 1,470 9m14s 377ms 09 713 5m10s 434ms 10 1,345 10m56s 487ms 11 1,474 12m35s 512ms 12 2,493 35m30s 854ms 13 2,002 19m21s 580ms 14 1,325 16m29s 746ms 15 749 8m39s 693ms 16 527 4m53s 557ms 17 86 31s249ms 363ms 18 164 1m12s 443ms 19 10 3s895ms 389ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1005702')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) 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;
Date: 2025-03-20 14:28:31 Duration: 3s43ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1155278')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))) 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;
Date: 2025-03-20 14:28:27 Duration: 3s3ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1208044')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-20 12:12:46 Duration: 2s973ms
10 2h26m29s 31,875 129ms 1s196ms 275ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 19 23 771 2m27s 191ms Mar 20 00 1,616 4m47s 177ms 01 176 30s876ms 175ms 02 49 9s719ms 198ms 03 16 2s694ms 168ms 08 66 12s302ms 186ms 09 1,099 4m17s 234ms 10 3,192 12m37s 237ms 11 3,298 15m9s 275ms 12 3,558 24m36s 415ms 13 3,550 17m16s 291ms 14 3,466 21m25s 370ms 15 2,964 15m23s 311ms 16 3,104 11m38s 225ms 17 600 1m40s 167ms 18 2,571 8m44s 204ms 19 1,779 5m27s 184ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8393993)) AND (("cash_track"."id" not in (9838871)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-20 14:14:12 Duration: 1s196ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8394160)) AND (("cash_track"."id" not in (9840814)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-20 14:36:14 Duration: 1s194ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8394100)) AND (("cash_track"."id" not in (9840062)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-20 14:28:06 Duration: 1s184ms
11 2h7m7s 58,513 67ms 492ms 130ms select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 19 23 85 8s174ms 96ms Mar 20 00 43 3s931ms 91ms 01 1 83ms 83ms 07 278 24s851ms 89ms 08 3,029 4m40s 92ms 09 6,037 11m12s 111ms 10 4,677 9m17s 119ms 11 3,963 8m21s 126ms 12 5,483 15m33s 170ms 13 6,305 14m28s 137ms 14 5,457 15m39s 172ms 15 8,616 21m18s 148ms 16 9,419 17m56s 114ms 17 2,596 3m44s 86ms 18 2,524 4m19s 102ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6413930) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-20 14:28:17 Duration: 492ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6292393) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-20 14:27:46 Duration: 489ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6234322) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-20 15:45:30 Duration: 488ms
12 1h22m22s 7,869 248ms 2s880ms 628ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 19 23 9 3s293ms 365ms Mar 20 02 176 52s525ms 298ms 08 8 2s677ms 334ms 09 103 52s227ms 507ms 10 375 2m53s 463ms 11 1,190 10m19s 520ms 12 1,290 17m48s 828ms 13 1,808 17m11s 570ms 14 1,528 18m44s 736ms 15 773 9m7s 708ms 16 355 2m50s 479ms 17 47 15s600ms 331ms 18 95 38s151ms 401ms 19 112 42s193ms 376ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1100372')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:31:23 Duration: 2s880ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '956362')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:13:06 Duration: 2s805ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '820265')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:31:06 Duration: 2s793ms
13 1h14m36s 16,408 198ms 526ms 272ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 19 23 646 3m30s 325ms Mar 20 00 1,144 6m3s 317ms 01 1,338 6m38s 298ms 02 1,605 7m7s 266ms 03 1,734 7m38s 264ms 04 2,611 11m29s 264ms 05 2,272 10m 264ms 06 2,087 8m53s 255ms 07 1,970 8m45s 266ms 08 806 3m30s 260ms 09 195 57s887ms 296ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1165826')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-20 02:22:12 Duration: 526ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1269105')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-20 00:51:35 Duration: 476ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1219174')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-19 23:04:48 Duration: 469ms
14 1h10s 2,752 30ms 2s887ms 1s311ms select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 19 23 60 52s349ms 872ms Mar 20 00 31 17s274ms 557ms 01 24 6s421ms 267ms 03 2 900ms 450ms 04 1 39ms 39ms 07 4 1s450ms 362ms 08 26 22s523ms 866ms 09 105 1m46s 1s16ms 10 245 4m26s 1s86ms 11 339 8m10s 1s447ms 12 441 12m9s 1s653ms 13 402 9m36s 1s434ms 14 311 7m38s 1s474ms 15 327 7m4s 1s298ms 16 185 2m42s 880ms 17 42 41s72ms 977ms 18 114 2m27s 1s290ms 19 93 1m45s 1s139ms -
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-20 13:28:03 Duration: 2s887ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (75)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (75))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-20 12:44:31 Duration: 2s854ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-20 14:35:16 Duration: 2s849ms
15 1h2s 29,853 64ms 445ms 120ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 20 07 240 20s462ms 85ms 08 1,501 2m8s 85ms 09 3,621 6m30s 107ms 10 2,271 3m51s 102ms 11 2,297 4m20s 113ms 12 2,567 6m25s 150ms 13 3,279 6m54s 126ms 14 5,275 13m 147ms 15 2,588 5m45s 133ms 16 4,089 7m41s 112ms 17 971 1m17s 79ms 18 1,153 1m45s 91ms 19 1 75ms 75ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6387838) ORDER BY "collection_policy"."id";
Date: 2025-03-20 12:17:11 Duration: 445ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6205489) ORDER BY "collection_policy"."id";
Date: 2025-03-20 15:17:42 Duration: 411ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6419903) ORDER BY "collection_policy"."id";
Date: 2025-03-20 14:31:56 Duration: 409ms
16 55m29s 2,892 324ms 7s115ms 1s151ms select po.id, policy.name from shipping_policy as po inner join policy_number as policy on policy.id = po.policy_id where policy.name in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 19 23 61 27s897ms 457ms Mar 20 00 67 29s799ms 444ms 01 42 16s687ms 397ms 02 51 21s519ms 421ms 03 41 15s244ms 371ms 04 48 17s705ms 368ms 05 61 29s734ms 487ms 06 55 23s954ms 435ms 07 77 36s239ms 470ms 08 116 58s15ms 500ms 09 143 1m47s 750ms 10 189 2m54s 923ms 11 266 4m54s 1s108ms 12 386 13m32s 2s104ms 13 313 6m31s 1s249ms 14 323 9m51s 1s830ms 15 217 6m23s 1s766ms 16 160 2m22s 893ms 17 49 24s592ms 501ms 18 133 1m18s 591ms 19 94 51s367ms 546ms -
select po.id, policy.name from shipping_policy as po inner join policy_number as policy on policy.id = po.policy_id where policy.name in ('1123485', '432515', '1053533', '1123487', '1123488', '1123490', '1123489', '');
Date: 2025-03-20 10:47:21 Duration: 7s115ms
-
select po.id, policy.name from shipping_policy as po inner join policy_number as policy on policy.id = po.policy_id where policy.name in ('1044074', '1138234', '1000582', '1256552', '1115491', '1037836', '1140879', '1149832');
Date: 2025-03-20 12:43:48 Duration: 6s296ms
-
select po.id, policy.name from shipping_policy as po inner join policy_number as policy on policy.id = po.policy_id where policy.name in ('745737', '843069', '745734', '745733', '1144020', '843074', '');
Date: 2025-03-20 13:24:13 Duration: 6s14ms
17 48m31s 6,700 122ms 1s319ms 434ms select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) 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)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 19 23 214 38s130ms 178ms Mar 20 00 212 34s880ms 164ms 01 138 20s797ms 150ms 02 16 2s282ms 142ms 03 71 9s771ms 137ms 04 61 8s198ms 134ms 05 10 1s582ms 158ms 07 15 2s337ms 155ms 08 60 9s644ms 160ms 09 209 1m16s 364ms 10 501 2m46s 331ms 11 1,064 6m7s 345ms 12 1,415 14m38s 620ms 13 992 6m43s 406ms 14 800 8m48s 660ms 15 431 4m5s 569ms 16 185 57s482ms 310ms 17 48 7s684ms 160ms 18 127 26s324ms 207ms 19 131 26s949ms 205ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 6)) 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)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-20 14:31:54 Duration: 1s319ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 126)) 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)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-20 12:12:41 Duration: 1s306ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 24)) 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)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-20 12:13:19 Duration: 1s301ms
18 46m16s 4,313 326ms 2s963ms 643ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."id" desc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 20 10 5 3s706ms 741ms 11 908 7m40s 506ms 12 580 7m9s 739ms 13 1,341 12m34s 562ms 14 904 12m56s 859ms 15 394 4m32s 692ms 16 181 1m19s 439ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1075276')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 14:35:15 Duration: 2s963ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1091451')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:16:56 Duration: 2s910ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1100374')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:31:32 Duration: 2s871ms
19 42m2s 4,640 280ms 2s983ms 543ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("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;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 19 23 39 13s241ms 339ms Mar 20 00 78 25s793ms 330ms 05 462 2m54s 378ms 08 123 49s658ms 403ms 09 1,221 8m33s 420ms 10 146 1m9s 473ms 11 1,584 14m44s 558ms 12 741 10m23s 840ms 13 82 38s320ms 467ms 14 164 2m10s 793ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1017598')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) 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;
Date: 2025-03-20 14:28:58 Duration: 2s983ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1124107')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) 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;
Date: 2025-03-20 12:44:03 Duration: 2s888ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1043524')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) 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;
Date: 2025-03-20 14:27:47 Duration: 2s884ms
20 37m41s 3,556 264ms 2s943ms 636ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and (((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) and (("cash_policy"."state" not in (...)) or "cash_policy"."state" is null)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 19 23 9 3s5ms 333ms Mar 20 02 176 50s972ms 289ms 08 8 2s838ms 354ms 09 103 56s899ms 552ms 10 370 3m2s 493ms 11 282 2m34s 547ms 12 710 11m2s 932ms 13 467 4m14s 544ms 14 624 6m57s 668ms 15 379 4m48s 761ms 16 174 1m27s 503ms 17 47 16s325ms 347ms 18 95 40s177ms 422ms 19 112 44s121ms 393ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1109590')) AND (((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:12:54 Duration: 2s943ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1133978')) AND (((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:11:36 Duration: 2s938ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1016928')) AND (((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:11:09 Duration: 2s928ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,680,723 2m45s 0ms 24ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 19 23 83,702 3s944ms 0ms Mar 20 00 80,993 4s203ms 0ms 01 66,945 3s348ms 0ms 02 54,489 2s260ms 0ms 03 40,928 1s958ms 0ms 04 42,398 2s18ms 0ms 05 45,340 1s945ms 0ms 06 46,320 2s136ms 0ms 07 52,357 2s555ms 0ms 08 71,448 3s194ms 0ms 09 159,391 9s875ms 0ms 10 219,960 15s336ms 0ms 11 246,405 14s775ms 0ms 12 274,466 21s39ms 0ms 13 274,784 20s675ms 0ms 14 232,707 14s261ms 0ms 15 195,553 14s806ms 0ms 16 152,321 10s159ms 0ms 17 97,777 4s44ms 0ms 18 131,935 7s348ms 0ms 19 110,504 5s957ms 0ms -
DISCARD ALL;
Date: 2025-03-20 02:16:33 Duration: 24ms
-
DISCARD ALL;
Date: 2025-03-20 15:44:25 Duration: 3ms
-
DISCARD ALL;
Date: 2025-03-20 15:44:30 Duration: 3ms
2 2,095,898 43s798ms 0ms 1ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 19 23 62,449 971ms 0ms Mar 20 00 59,898 953ms 0ms 01 48,449 741ms 0ms 02 40,904 609ms 0ms 03 29,098 504ms 0ms 04 30,283 516ms 0ms 05 33,514 579ms 0ms 06 33,812 584ms 0ms 07 38,206 698ms 0ms 08 54,971 898ms 0ms 09 128,266 2s723ms 0ms 10 176,999 3s959ms 0ms 11 200,011 4s316ms 0ms 12 225,799 5s746ms 0ms 13 221,292 5s355ms 0ms 14 187,151 4s211ms 0ms 15 154,938 3s804ms 0ms 16 116,087 2s357ms 0ms 17 69,356 985ms 0ms 18 99,642 1s844ms 0ms 19 84,773 1s434ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-20 14:07:10 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-20 10:24:11 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-20 13:17:31 Duration: 1ms
3 1,358,849 17s606ms 0ms 2ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 19 23 42,795 445ms 0ms Mar 20 00 41,222 401ms 0ms 01 34,105 313ms 0ms 02 27,860 280ms 0ms 03 21,108 220ms 0ms 04 21,827 222ms 0ms 05 23,316 257ms 0ms 06 23,761 264ms 0ms 07 26,821 313ms 0ms 08 36,626 401ms 0ms 09 80,930 1s51ms 0ms 10 111,003 1s486ms 0ms 11 124,462 1s789ms 0ms 12 138,398 2s191ms 0ms 13 138,563 2s36ms 0ms 14 117,638 1s766ms 0ms 15 98,924 1s417ms 0ms 16 77,146 935ms 0ms 17 49,655 465ms 0ms 18 66,808 764ms 0ms 19 55,881 581ms 0ms -
ROLLBACK;
Date: 2025-03-20 13:39:18 Duration: 2ms
-
ROLLBACK;
Date: 2025-03-20 10:02:06 Duration: 2ms
-
ROLLBACK;
Date: 2025-03-20 03:25:03 Duration: 1ms
4 1,352,871 5m24s 0ms 25ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 19 23 42,372 8s354ms 0ms Mar 20 00 40,747 7s695ms 0ms 01 33,546 5s959ms 0ms 02 27,289 5s843ms 0ms 03 20,548 4s723ms 0ms 04 21,252 4s752ms 0ms 05 22,765 5s569ms 0ms 06 23,184 5s664ms 0ms 07 26,253 6s595ms 0ms 08 36,000 8s627ms 0ms 09 80,587 20s841ms 0ms 10 111,283 28s681ms 0ms 11 124,719 32s886ms 0ms 12 138,754 38s667ms 0ms 13 139,039 36s390ms 0ms 14 117,519 29s959ms 0ms 15 98,979 24s316ms 0ms 16 76,891 16s523ms 0ms 17 49,159 8s661ms 0ms 18 66,338 13s558ms 0ms 19 55,647 10s589ms 0ms -
SELECT payload FROM http_sessions WHERE sid = '0b32e30d131c1d29b423b1dc0539249e8a3db9a8';
Date: 2025-03-20 12:51:07 Duration: 25ms
-
SELECT payload FROM http_sessions WHERE sid = '3ecf6564a4160d5c351c91d16913e6b657499af5';
Date: 2025-03-20 04:41:34 Duration: 21ms
-
SELECT payload FROM http_sessions WHERE sid = '83ebf66a5124b93a4bb9b3037d076834778979ea';
Date: 2025-03-20 15:57:31 Duration: 21ms
5 1,340,046 2m35s 0ms 1ms 0ms select base_registry_signaling.last_value, base_cache_signaling.last_value from base_registry_signaling, base_cache_signaling;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 19 23 41,891 4s99ms 0ms Mar 20 00 40,532 3s803ms 0ms 01 33,512 3s20ms 0ms 02 27,292 2s673ms 0ms 03 20,514 2s59ms 0ms 04 21,248 2s118ms 0ms 05 22,757 2s410ms 0ms 06 23,212 2s451ms 0ms 07 26,227 2s854ms 0ms 08 35,759 3s633ms 0ms 09 79,628 9s267ms 0ms 10 109,912 13s66ms 0ms 11 123,127 15s512ms 0ms 12 137,056 18s302ms 0ms 13 137,235 17s122ms 0ms 14 116,249 15s337ms 0ms 15 97,684 12s479ms 0ms 16 76,108 8s542ms 0ms 17 48,940 4s427ms 0ms 18 65,932 6s992ms 0ms 19 55,231 5s512ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-20 12:49:28 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-20 14:07:26 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-20 11:59:15 Duration: 1ms
6 736,978 2m50s 0ms 79ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 19 23 19,645 4s370ms 0ms Mar 20 00 18,683 3s998ms 0ms 01 14,342 2s812ms 0ms 02 13,038 2s358ms 0ms 03 7,989 1s890ms 0ms 04 8,458 1s786ms 0ms 05 10,193 2s78ms 0ms 06 10,047 2s269ms 0ms 07 11,388 2s777ms 0ms 08 18,336 3s191ms 0ms 09 47,332 9s943ms 0ms 10 65,999 14s523ms 0ms 11 75,528 17s893ms 0ms 12 87,412 24s129ms 0ms 13 82,718 20s553ms 0ms 14 69,484 18s200ms 0ms 15 56,006 15s56ms 0ms 16 38,958 8s397ms 0ms 17 19,697 3s206ms 0ms 18 32,840 6s586ms 0ms 19 28,885 4s916ms 0ms -
COMMIT;
Date: 2025-03-20 10:45:06 Duration: 79ms
-
COMMIT;
Date: 2025-03-20 18:43:31 Duration: 71ms
-
COMMIT;
Date: 2025-03-20 12:19:58 Duration: 68ms
7 644,533 2m19s 0ms 8ms 0ms select "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" from "urgent_customer" where "urgent_customer".id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 19 23 18,073 2s848ms 0ms Mar 20 00 17,446 2s704ms 0ms 01 13,174 2s160ms 0ms 02 13,530 2s228ms 0ms 03 8,805 1s314ms 0ms 04 8,612 1s410ms 0ms 05 11,404 2s198ms 0ms 06 11,859 2s13ms 0ms 07 12,660 2s51ms 0ms 08 17,860 2s867ms 0ms 09 41,991 9s331ms 0ms 10 62,090 13s673ms 0ms 11 63,075 15s160ms 0ms 12 69,556 17s913ms 0ms 13 70,982 16s991ms 0ms 14 55,189 14s463ms 0ms 15 46,402 12s333ms 0ms 16 31,948 6s758ms 0ms 17 15,828 2s421ms 0ms 18 27,116 4s729ms 0ms 19 26,933 4s180ms 0ms -
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5105968, 5099007, 5099102, 5118354, 5099037, 5099921, 5099515, 5100354, 5102612, 5103607, 5099144, 5256958, 5229478, 5106424, 5099254, 5101808, 5099009, 5099630, 5114859, 5567994, 5100499, 5100181, 5099138, 5101222, 5099013, 5099190, 5099134, 5099582, 5099130, 5103258, 5099206, 5102283, 5099415, 5100015, 5099129, 5115015, 5185366, 5099008, 5099272, 5099111, 5099028, 5099521, 5103065, 5551240, 5100238, 5103188, 5099590, 5101992, 5100832, 5099095, 5099264, 5099815, 5100070, 5248121, 5564269, 5099236, 5099413, 5099406, 5099540, 5100738, 5174404, 5110151, 5099914, 5099006, 5125129, 5099904, 5099243, 5347144, 5133075, 5111730, 5100129, 5101884, 5107333, 5133128, 5099315, 5099224, 5108432, 5099724, 5100857, 5100252, 5099491, 5099334, 5105173, 5099644, 5116631, 5099333, 5120333, 5107434, 5128604, 5120982, 5099309, 5099181, 5099035, 5567413, 5108551, 5099103, 5105977, 5183299, 5099010, 5565288, 5104087, 5099043, 5100761, 5112277, 5103020, 5210855, 5099296, 5108558, 5400529, 5121630, 5184405, 5099014, 5107184, 5567758, 5099422, 5099356, 5101121, 5359115, 5101971, 5104250, 5552361, 5134271, 5099359, 5102257, 5567799, 5102973, 5254214, 5099677, 5101782, 5547414, 5099167, 5099941, 5099202, 5099313, 5111639, 5565599, 5099430, 5100421, 5103256, 5100273, 5563244, 5101313, 5101352, 5099642, 5099149, 5470995, 5550740, 5100916, 5248978, 5200777, 5099523, 5099277, 5100202, 5099892, 5099162, 5099005, 5101209, 5099170, 5104574, 5105188, 5099929, 5099092, 5099119, 5100431, 5120705, 5099887, 5116499, 5103834, 5103731, 5099349, 5099168, 5099244, 5099117, 5099547, 5130656, 5450397, 5101470, 5100980, 5101243, 5100448, 5120263, 5107091, 5174154, 5549878, 5099646, 5099722, 5099182, 5211006, 5106105, 5099382, 5116304, 5101193, 5133910, 5547587, 5099137, 5099192, 5113864, 5099660, 5565660, 5122834, 5100822, 5099577, 5099140, 5535441, 5100453, 5100362, 5108300, 5099489, 5103478, 5099401, 5101057, 5099348, 5099875, 5099128, 5098989, 5109869, 5170123, 5558932, 5119197, 5428591, 5105196, 5108968, 5105516, 5100628, 5099446, 5100723, 5112582, 5334419, 5100517, 5100339, 5099045, 5124557, 5099256, 5150200, 5547099, 5113090, 5184224, 5112840, 5099759, 5423321, 5127395, 5108399, 5106335, 5285262, 5099693, 5099258, 5099186, 5100477, 5124682, 5099930, 5101786, 5099427, 5099179, 5100124, 5102890, 5099251, 5099445, 5439250, 5445908, 5102793, 5102136, 5100246, 5400155, 5115225, 5102415, 5231373, 5099873, 5099091, 5100204, 5114438, 5108588, 5101032, 5125242, 5455393, 5103835, 5111940, 5101461, 5206483, 5099826, 5109463, 5099687, 5099503, 5198424, 5100714, 5099588, 5563365, 5550074, 5100883, 5105958, 5128901, 5559628, 5099897, 5100212, 5113221, 5105990, 5100148, 5559762, 5539531, 5099585, 5101538, 5330756, 5102399, 5100919, 5108564, 5099614, 5112009, 5099120, 5378703, 5101315, 5118197, 5101225, 5107834, 5132387, 5100729, 5099671, 5099920, 5099549, 5100717, 5099174, 5106226, 5100263, 5103016, 5109097, 5100762, 5100150, 5100952, 5119991, 5103120, 5108814, 5150340, 5099831, 5112091, 5099135, 5099712, 5099922, 5101567, 5178190, 5556647, 5112379, 5099898, 5181714, 5099404, 5560050, 5104084, 5129434, 5100842, 5101515, 5344234, 5100346, 5198143, 5100327, 5100538, 5105212, 5543802, 5100855, 5158110, 5102427, 5105790, 5099360, 5108554, 5099321, 5122191, 5115585, 5099047, 5100232, 5099734, 5328763, 5103487, 5125197, 5561247, 5101173, 5099857, 5529658, 5099403, 5100901, 5099855, 5099204, 5102148, 5100881, 5100004, 5105884, 5114981, 5111375, 5101181, 5314416, 5391799, 5099662, 5099679, 5108742, 5116088, 5099901, 5099003, 5103881, 5167943, 5494715, 5099802, 5099654, 5101298, 5101214, 5130710, 5184571, 5555129, 5099169, 5121564, 5100563);
Date: 2025-03-20 14:22:41 Duration: 8ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5099105, 5101722, 5103585, 5123775, 5100301, 5103109, 5099496, 5099141, 5100166, 5100352, 5102247, 5099282, 5105575, 5108058, 5100720, 5101943, 5537690, 5104921, 5126587, 5101940, 5107136, 5209111, 5562431, 5100737, 5504735, 5134290, 5099718, 5101775, 5100220, 5565549, 5103367, 5120288, 5099281, 5109728, 5119129, 5108793, 5099536, 5099967, 5099758, 5099250, 5547184, 5258545, 5108202, 5099326, 5567432, 5104194, 5100740, 5496419, 5105078, 5102312, 5100835, 5099317, 5099947, 5112393, 5179910, 5567544, 5129051, 5099497, 5111295, 5100556, 5107661, 5105337, 5100525, 5556660, 5102648, 5103198, 5100506, 5114820, 5101122, 5223834, 5106857, 5100173, 5099024, 5101050, 5102265, 5103919, 5142808, 5103509, 5110163, 5102203, 5099285, 5106708, 5102189, 5119616, 5103620, 5103199, 5126547, 5536229, 5104711, 5225880, 5104632, 5125499, 5100086, 5109823, 5112347, 5099080, 5101546, 5104282, 5111529, 5101817, 5103985, 5522115, 5100443, 5100600, 5151610, 5101930, 5103462, 5098996, 5100927, 5114096, 5100700, 5102856, 5424609, 5111686, 5102665, 5106656, 5535884, 5101367, 5103442, 5555140, 5101539, 5501265, 5549877, 5119543, 5100561, 5101294, 5134140, 5114931, 5100207, 5116739, 5100463, 5107823, 5103275, 5099643, 5110808, 5183389, 5557025, 5101328, 5100727, 5101055, 5108025, 5099737, 5100953, 5385550, 5108836, 5102528, 5100472, 5104394, 5152046, 5118578, 5102727, 5101635, 5103420, 5115391, 5182441, 5103316, 5268682, 5102811, 5100562, 5102979, 5099568, 5159831, 5102060, 5103217, 5108397, 5101741, 5114237, 5099652, 5101169, 5099252, 5105713, 5106291, 5199459, 5104199, 5559968, 5099082, 5101319, 5100386, 5100420, 5107762, 5100074, 5104938, 5563357, 5128969, 5355559, 5108670, 5100532, 5102451, 5536007, 5104081, 5545389, 5099392, 5154327, 5099041, 5559789, 5116562, 5134203, 5099958, 5101322, 5101653, 5547594, 5116279, 5113952, 5101167, 5262200, 5109329, 5114441, 5244044, 5156228, 5130511, 5133755, 5101356, 5099650, 5099604, 5101941, 5100326, 5238956, 5561307, 5121745, 5104407, 5113306, 5499565, 5099995, 5370832, 5100227, 5561633, 5100850, 5321946, 5104060, 5125241, 5201007, 5117821, 5100258, 5561499, 5099290, 5555073, 5101853, 5102109, 5257449, 5185338, 5103363, 5130945, 5100356, 5206634, 5110833, 5342338, 5281946, 5307344, 5549254, 5113550, 5132730, 5099300, 5101306, 5563948, 5158064, 5144088, 5121439, 5102000, 5100259, 5559788, 5257570, 5106400, 5165058, 5430611, 5099782, 5100807, 5103703, 5105095, 5104702, 5106206, 5559741, 5100054, 5124053, 5100490, 5542210, 5179481, 5099896, 5148953, 5174460, 5561069, 5099541, 5099768, 5114376, 5558796, 5427176, 5527062, 5101592, 5552949, 5547505, 5550056, 5129786, 5558792, 5558793);
Date: 2025-03-20 14:22:41 Duration: 6ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5100761, 5112277, 5103020, 5210855, 5099181, 5108558, 5400529, 5121630, 5099014, 5099009, 5099914, 5107184, 5567758, 5099422, 5099356, 5099013, 5099138, 5100070, 5099144, 5101121, 5099007, 5101971, 5104250, 5134271, 5099359, 5567799, 5099035, 5102973, 5254214, 5099590, 5100181, 5099111, 5099254, 5099406, 5547414, 5099167, 5099941, 5099202, 5099008, 5099313, 5111639, 5099296, 5099129, 5565599, 5099430, 5099006, 5100354, 5100421, 5103256, 5100273, 5099010, 5563244, 5101313, 5101352, 5099149, 5470995, 5550740, 5100916, 5248978, 5200777, 5099264, 5100202, 5099892, 5099005, 5101209, 5099170, 5099092, 5100431, 5120705, 5099887, 5099224, 5099130, 5116499, 5103834, 5099119, 5103731, 5099349, 5099168, 5099236, 5099244, 5099547, 5130656, 5099540, 5450397, 5101470, 5100980, 5101243, 5100448, 5120263, 5099028, 5107091, 5174154, 5549878, 5099582, 5099722, 5099182, 5211006, 5099134, 5106105, 5099382, 5116304, 5133910, 5547587, 5099192, 5113864, 5099660, 5122834, 5100822, 5099577, 5099140, 5099037, 5100453, 5100362, 5108300, 5099489, 5103478, 5099102, 5101057, 5099348, 5100738, 5099095, 5099162, 5099875, 5099128, 5109869, 5428591, 5105196, 5108968, 5105516, 5099137, 5099446, 5112582, 5099334, 5334419, 5100339, 5124557, 5099256, 5099043, 5113090, 5099759, 5127395, 5285262, 5099693, 5099272, 5101786, 5099427, 5099206, 5099445, 5439250, 5099258, 5100246, 5400155, 5115225, 5102415, 5231373, 5099873, 5099091, 5100204, 5114438, 5108588, 5099523, 5101032, 5099190, 5455393, 5111940, 5099826, 5109463, 5099503, 5099588, 5100883, 5113221, 5099521, 5559762, 5330756, 5102399, 5100919, 5108564, 5099120, 5378703, 5101315, 5132387, 5100729, 5099920, 5099549, 5100717, 5099174, 5103016, 5109097, 5100762, 5099103, 5119991, 5099831, 5112091, 5101567, 5099898, 5099404, 5560050, 5099045, 5099186, 5100842, 5101515, 5344234, 5100346, 5198143, 5100327, 5099677, 5543802, 5102427, 5105790, 5099360, 5108554, 5122191, 5099734, 5328763, 5103487, 5561247, 5100901, 5099855, 5099585, 5100004, 5101181, 5314416, 5391799, 5108742, 5099901, 5103881, 5099415, 5099802, 5099654, 5101214, 5101222, 5184571, 5555129, 5121564, 5102821, 5101631, 5106637, 5132078, 5099639, 5099188, 5538199, 5102605, 5110893, 5098985, 5115861, 5123655, 5098989, 5101581, 5103258, 5112126, 5131932, 5100233, 5117459, 5347069, 5099788, 5115378, 5099294, 5359115, 5100511, 5101604, 5245789, 5105488, 5125904, 5099528, 5105186, 5104678, 5099444, 5099515, 5152500, 5100939, 5117618, 5099491, 5112325, 5099746, 5121573, 5108187, 5099194, 5099642, 5102933, 5169151, 5146316, 5540779, 5099791, 5558563, 5104407, 5101367, 5099260, 5119643, 5100935, 5100132, 5101994, 5099383, 5100723, 5387103, 5109792, 5100985, 5212929, 5558832, 5103416, 5113291, 5109527, 5099309, 5111127, 5106283, 5102575, 5128337, 5167648, 5099857, 5100714, 5171624, 5099718, 5100556, 5103195, 5099027, 5101743, 5100142, 5100615, 5375050, 5100305, 5099947, 5556782, 5112869, 5556748, 5104575, 5258521, 5555090, 5099719, 5121221, 5103580, 5100514, 5107740, 5099135, 5100540, 5101775, 5108399, 5099815, 5100129, 5099158, 5488133, 5101355, 5143008, 5100854, 5099245, 5103577, 5099724, 5100611, 5198393, 5551294, 5110954, 5099725, 5099297, 5101128, 5100027, 5122957, 5099131, 5099171, 5103117, 5100352, 5103633, 5099169, 5102432, 5100220, 5100832, 5099282, 5100505, 5133397, 5551300, 5100636, 5164145, 5112791, 5187811, 5549940, 5101225, 5100443, 5099285, 5549829, 5101774, 5116938, 5099416, 5099295, 5104276, 5544088, 5102499, 5547209, 5099187, 5105884, 5224353, 5099961, 5115997, 5257329, 5099563, 5100902, 5533998, 5108533, 5099500, 5109192, 5237599, 5108001, 5101642, 5110356, 5099139, 5106167, 5101020, 5153080, 5106955, 5099956, 5102053, 5100485, 5424284, 5100618, 5102562, 5099277, 5105774, 5240802, 5190900, 5099403, 5104623);
Date: 2025-03-20 14:22:44 Duration: 5ms
8 608,757 1m10s 0ms 28ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" from "urgent_office" where "urgent_office".id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 19 23 16,462 1s434ms 0ms Mar 20 00 15,358 1s188ms 0ms 01 11,703 754ms 0ms 02 10,233 697ms 0ms 03 6,126 429ms 0ms 04 6,054 388ms 0ms 05 8,330 729ms 0ms 06 7,654 574ms 0ms 07 8,762 716ms 0ms 08 13,504 1s70ms 0ms 09 38,407 4s278ms 0ms 10 55,822 6s25ms 0ms 11 60,125 7s367ms 0ms 12 71,730 10s616ms 0ms 13 68,840 9s6ms 0ms 14 57,577 8s144ms 0ms 15 47,480 7s42ms 0ms 16 32,578 3s896ms 0ms 17 16,874 1s449ms 0ms 18 28,533 2s779ms 0ms 19 26,605 2s92ms 0ms -
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (30);
Date: 2025-03-20 13:47:34 Duration: 28ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (32, 62, 39, 23, 51, 17, 70, 6, 46, 128, 52, 53, 74, 22, 111, 55, 13, 77, 27, 28, 61, 66, 30, 119, 7, 64, 49, 5, 24, 60, 14, 79, 40, 26, 68, 19, 1);
Date: 2025-03-20 16:28:54 Duration: 1ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (26);
Date: 2025-03-20 15:59:30 Duration: 1ms
9 482,090 3m53s 0ms 6ms 0ms select r.id from ir_rule r join ir_model m on (r.model_id = m.id) where m.model = ? and r.active and r.perm_read and (r.id in ( select rule_group_id from rule_group_rel rg join res_groups_users_rel gu on (rg.group_id = gu.gid) where gu.uid = ?) or r.global) order by r.id;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 19 23 10,984 4s164ms 0ms Mar 20 00 8,171 2s997ms 0ms 01 4,222 1s462ms 0ms 02 6,235 2s145ms 0ms 03 3,872 1s305ms 0ms 04 3,072 1s74ms 0ms 05 2,713 1s111ms 0ms 06 2,988 1s76ms 0ms 07 4,394 1s686ms 0ms 08 12,257 4s417ms 0ms 09 32,268 14s699ms 0ms 10 29,937 14s327ms 0ms 11 46,433 22s891ms 0ms 12 81,862 43s771ms 0ms 13 59,888 30s721ms 0ms 14 59,242 31s876ms 0ms 15 45,547 25s45ms 0ms 16 26,340 12s234ms 0ms 17 10,471 3s745ms 0ms 18 16,975 7s346ms 0ms 19 14,219 5s579ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.lang' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1251) OR r.global) ORDER BY r.id;
Date: 2025-03-20 14:21:52 Duration: 6ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.lang' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 858) OR r.global) ORDER BY r.id;
Date: 2025-03-20 14:21:52 Duration: 5ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'urgent.customer' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1344) OR r.global) ORDER BY r.id;
Date: 2025-03-20 09:54:17 Duration: 4ms
10 405,388 1m52s 0ms 13ms 0ms 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"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 19 23 10,424 2s323ms 0ms Mar 20 00 9,689 2s5ms 0ms 01 7,937 1s533ms 0ms 02 6,051 1s337ms 0ms 03 3,619 721ms 0ms 04 3,863 753ms 0ms 05 4,597 1s160ms 0ms 06 4,778 1s34ms 0ms 07 5,851 1s305ms 0ms 08 11,612 2s319ms 0ms 09 27,632 7s87ms 0ms 10 36,483 9s709ms 0ms 11 42,225 12s140ms 0ms 12 46,180 15s403ms 0ms 13 45,052 13s667ms 0ms 14 38,910 12s859ms 0ms 15 30,820 10s245ms 0ms 16 21,992 5s804ms 0ms 17 10,984 2s206ms 0ms 18 19,811 4s841ms 0ms 19 16,878 3s644ms 0ms -
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"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (8007437);
Date: 2025-03-20 14:21:52 Duration: 13ms
-
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"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (8007225);
Date: 2025-03-20 02:21:55 Duration: 8ms
-
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"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (8007200);
Date: 2025-03-20 19:30:03 Duration: 3ms
11 365,489 1m40s 0ms 25ms 0ms select ? from res_groups_users_rel where uid = ? and gid in ( select res_id from ir_model_data where module = ? and name = ? and model = ?);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 19 23 8,742 1s700ms 0ms Mar 20 00 5,827 1s30ms 0ms 01 3,376 517ms 0ms 02 5,511 964ms 0ms 03 3,390 561ms 0ms 04 2,993 460ms 0ms 05 2,883 547ms 0ms 06 2,474 424ms 0ms 07 4,467 825ms 0ms 08 13,291 2s412ms 0ms 09 27,053 6s855ms 0ms 10 23,184 5s729ms 0ms 11 34,887 10s31ms 0ms 12 58,157 19s814ms 0ms 13 43,120 12s843ms 0ms 14 43,169 13s783ms 0ms 15 33,404 10s773ms 0ms 16 19,063 4s757ms 0ms 17 7,469 1s346ms 0ms 18 13,297 2s958ms 0ms 19 9,732 1s875ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1509 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_shipping_policy' AND name = 'group_reviwed' AND model = 'res.groups');
Date: 2025-03-20 18:38:20 Duration: 25ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2025-03-20 15:43:49 Duration: 5ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1089 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_track_search' AND name = 'group_search_training_shipping' AND model = 'res.groups');
Date: 2025-03-20 10:50:01 Duration: 3ms
12 340,683 48s980ms 0ms 28ms 0ms select "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" from "res_users" where "res_users".id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 19 23 8,759 993ms 0ms Mar 20 00 8,337 889ms 0ms 01 6,681 660ms 0ms 02 5,345 647ms 0ms 03 3,346 406ms 0ms 04 3,299 379ms 0ms 05 4,220 602ms 0ms 06 4,190 530ms 0ms 07 5,058 623ms 0ms 08 9,085 969ms 0ms 09 23,025 3s3ms 0ms 10 30,863 4s51ms 0ms 11 34,747 5s111ms 0ms 12 39,746 6s973ms 0ms 13 38,136 6s20ms 0ms 14 32,391 5s611ms 0ms 15 25,207 4s522ms 0ms 16 18,460 2s516ms 0ms 17 9,455 980ms 0ms 18 16,486 2s4ms 0ms 19 13,847 1s479ms 0ms -
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (1004, 1014, 928, 866, 975, 985, 1089);
Date: 2025-03-20 12:03:34 Duration: 28ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (985, 1083, 1077, 1509);
Date: 2025-03-20 13:25:49 Duration: 27ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (1088, 1451, 1031, 1034, 1459, 1241, 1036, 1509, 1076);
Date: 2025-03-20 00:57:46 Duration: 20ms
13 338,237 5d3h41m 745ms 8s841ms 1s316ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 19 23 14,658 4h31m43s 1s112ms Mar 20 00 12,724 3h42m42s 1s50ms 01 8,288 2h14m12s 971ms 02 9,556 2h21m56s 891ms 03 9,095 2h8m5s 844ms 04 8,037 1h50m40s 826ms 05 16,742 4h23m14s 943ms 06 13,470 3h28m 926ms 07 16,862 4h33m26s 972ms 08 11,015 2h53m37s 945ms 09 17,590 6h3m58s 1s241ms 10 20,209 6h52m58s 1s226ms 11 22,052 8h57m3s 1s461ms 12 26,993 16h37m25s 2s217ms 13 22,037 9h20m25s 1s525ms 14 22,851 13h5m41s 2s63ms 15 25,891 12h15m23s 1s704ms 16 17,933 5h57m40s 1s196ms 17 11,017 2h55m4s 953ms 18 18,777 5h48m8s 1s112ms 19 12,440 3h39m31s 1s58ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6597248)) AND (("shipping_track"."id" not in (55068226, 55068226)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 14:38:09 Duration: 8s841ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6598223)) AND (("shipping_track"."id" not in (55082850, 55082850)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 15:15:42 Duration: 8s760ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6598215)) AND (("shipping_track"."id" not in (55082686, 55082686)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 15:15:20 Duration: 8s659ms
14 297,209 1m52s 0ms 22ms 0ms select "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" from "policy_number" where "policy_number".id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 19 23 11,994 3s306ms 0ms Mar 20 00 9,583 2s640ms 0ms 01 5,369 1s661ms 0ms 02 5,768 2s115ms 0ms 03 3,999 1s126ms 0ms 04 3,542 1s44ms 0ms 05 4,652 1s759ms 0ms 06 5,527 1s921ms 0ms 07 6,855 2s199ms 0ms 08 8,170 2s636ms 0ms 09 17,319 6s936ms 0ms 10 25,831 9s552ms 0ms 11 27,396 11s414ms 0ms 12 30,034 13s677ms 0ms 13 31,134 12s962ms 0ms 14 25,306 11s413ms 0ms 15 21,379 9s969ms 0ms 16 15,460 5s515ms 0ms 17 8,242 2s346ms 0ms 18 16,142 4s465ms 0ms 19 13,507 3s597ms 0ms -
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (45235620, 42059856, 45093994, 45037598, 45303360, 45136512, 45132667, 45036046, 45278036, 45303468, 45216870, 45012780, 44885739, 45069395, 44893124, 45159631, 45260414, 45113855, 45279532, 45273382, 44654844, 45229975, 45159622, 45194287, 45274312, 45173553, 45258949, 45258950, 45137452, 45127520, 45296877, 45221925, 45293937, 45258952, 45258048, 45302441, 44968752, 45186963, 44849411, 44868241, 45103911, 45263763, 44867504, 45179174, 45274019, 45303568, 45291595, 45306686, 45074179, 45296837, 45258261, 45127545, 32547482, 45254057, 45246964, 45258972, 45246155, 45142800, 45296003, 45313913, 45292629, 45304050, 44726496, 45302444, 45146639, 45114816, 45264750, 45265215, 45205864, 45008988, 45303557, 45152400, 45303487, 45300118, 45303521, 44813521, 45292633, 45264799, 44889372, 44888916, 44833479, 45300075, 45013056, 45199340, 45013092, 45268873, 45179305, 45291710, 45291634, 45117256, 45300066, 45214141, 45192717, 45274628, 45186628, 45312063, 45238260, 45128044, 45236497, 45126567, 45116879, 45179957, 45134899);
Date: 2025-03-20 02:22:02 Duration: 22ms
-
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (32529859, 42161418, 32284643, 44648745, 32542228, 42114536, 42114534, 42159671, 40959112, 42114541, 42114078, 41998564, 44703698, 44703700, 42114068, 44505916, 32311467, 42018289, 42085198, 42115973, 42068687, 42093878, 42036125, 41752104, 41921523, 41756211, 41941619, 41826938, 41989367, 32662358, 42097946, 41989319, 41723022, 42054944, 42005141, 42099161, 42019741, 41828291, 44729915, 42157694, 42043872, 41986490, 42080398, 41986363, 41986058, 41986059, 44529026, 32485461, 32412752, 32259653, 45071436, 44743091, 32259654, 42147618, 42147614, 45007184, 42009418, 42114808, 41829295, 32259655, 32259651, 32259649, 42043875, 42043883, 42081077, 42177977, 42063567, 32273990, 41816439, 32312740, 42018226, 32277905, 41995564, 32215103, 32186304, 42043884, 41969581, 42149344, 32186731, 42043888, 42043879, 42043882, 42043889, 42043890, 42043874, 42099316, 42073095, 42016360, 44548868, 45051718, 44675862, 44514685, 44607017, 32209350, 32276521, 32426194, 41811438, 42073412, 41975621, 32282387);
Date: 2025-03-20 14:21:55 Duration: 15ms
-
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (45390964, 45390963, 45390990, 45390966, 45390464, 45390912, 45390526, 45390104, 45390865, 45390813, 45390525, 45390973, 45381812, 45084382, 45322908, 45322889, 45322909, 45322880, 45390972, 45381814, 45284330, 45334567, 45284336, 45350437, 45211733, 45353760, 45294654, 45335095, 45085410, 45267335, 45130795, 45211650, 45084381, 45350433, 45353764, 45353763, 45305739, 45130792, 32554634, 45268951, 45381813, 45305725, 45315867, 32300024, 45095764, 45102093, 45101955, 45306712, 45084383, 45084401, 41972132, 45084398, 45284616, 45000020, 45183479, 45164010, 45241189, 44964633, 45350456, 45350450, 45139149, 45084410, 45241238, 45084402, 45267364, 45084403, 45241150, 45241673, 45241280, 45294601, 44999969, 45357015, 45212007, 45284061, 45069506, 45282059, 45281520, 45283161, 45283151, 45283145, 45283146, 45283149, 45283834, 45283835, 45282159, 45282160, 45282161, 45283832, 45283148, 45283147, 45283833, 45283150, 45357043, 45165047, 45356315, 45356328, 44879606, 45282631, 45282737, 45282739);
Date: 2025-03-20 02:22:09 Duration: 13ms
15 216,555 43s954ms 0ms 2ms 0ms select "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" from "notebook_package" where "notebook_package".id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 19 23 4,912 1s91ms 0ms Mar 20 00 5,020 1s113ms 0ms 01 4,155 902ms 0ms 02 3,977 520ms 0ms 03 2,357 180ms 0ms 04 2,631 200ms 0ms 05 3,480 333ms 0ms 06 3,140 275ms 0ms 07 3,192 323ms 0ms 08 5,183 491ms 0ms 09 14,224 2s144ms 0ms 10 21,433 3s629ms 0ms 11 22,598 4s879ms 0ms 12 24,953 7s425ms 0ms 13 25,411 6s609ms 0ms 14 19,855 3s776ms 0ms 15 15,664 3s911ms 0ms 16 11,043 2s496ms 0ms 17 5,096 883ms 0ms 18 9,233 1s985ms 0ms 19 8,998 779ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414);
Date: 2025-03-20 14:29:24 Duration: 2ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414);
Date: 2025-03-20 12:18:33 Duration: 2ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2025-03-20 15:16:42 Duration: 1ms
16 210,385 19s667ms 0ms 2ms 0ms select "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" from "ir_rule" where "ir_rule".id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 19 23 4,721 315ms 0ms Mar 20 00 3,473 214ms 0ms 01 1,780 99ms 0ms 02 2,773 174ms 0ms 03 1,724 101ms 0ms 04 1,338 75ms 0ms 05 1,087 78ms 0ms 06 1,251 79ms 0ms 07 1,798 122ms 0ms 08 5,312 350ms 0ms 09 14,596 1s246ms 0ms 10 12,610 1s96ms 0ms 11 20,185 1s970ms 0ms 12 36,927 4s77ms 0ms 13 26,007 2s562ms 0ms 14 26,239 2s794ms 0ms 15 19,732 2s129ms 0ms 16 10,979 926ms 0ms 17 4,597 282ms 0ms 18 7,434 575ms 0ms 19 5,822 394ms 0ms -
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (89);
Date: 2025-03-20 12:39:41 Duration: 2ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (98, 99);
Date: 2025-03-20 13:27:40 Duration: 1ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (96);
Date: 2025-03-20 12:40:54 Duration: 1ms
17 202,081 43s477ms 0ms 20ms 0ms select rule_group_rel.rule_group_id, rule_group_rel.group_id from rule_group_rel, "res_groups" where ? = ? and rule_group_rel.rule_group_id in (...) and rule_group_rel.group_id = res_groups.id order by coalesce("res_groups"."name" ->> ?, "res_groups"."name" ->> ?);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 19 23 4,529 646ms 0ms Mar 20 00 3,272 437ms 0ms 01 1,727 208ms 0ms 02 2,589 336ms 0ms 03 1,446 179ms 0ms 04 1,267 151ms 0ms 05 1,075 163ms 0ms 06 1,235 171ms 0ms 07 1,779 267ms 0ms 08 5,205 735ms 0ms 09 14,012 2s778ms 0ms 10 12,367 2s422ms 0ms 11 19,718 4s462ms 0ms 12 35,309 9s264ms 0ms 13 24,754 5s657ms 0ms 14 24,922 6s143ms 0ms 15 18,871 4s721ms 0ms 16 10,597 2s28ms 0ms 17 4,495 602ms 0ms 18 7,229 1s253ms 0ms 19 5,683 845ms 0ms -
SELECT rule_group_rel.rule_group_id, rule_group_rel.group_id FROM rule_group_rel, "res_groups" WHERE 1 = 1 AND rule_group_rel.rule_group_id IN (98, 99) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-03-20 09:45:40 Duration: 20ms
-
SELECT rule_group_rel.rule_group_id, rule_group_rel.group_id FROM rule_group_rel, "res_groups" WHERE 1 = 1 AND rule_group_rel.rule_group_id IN (2, 10) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-03-20 12:11:16 Duration: 2ms
-
SELECT rule_group_rel.rule_group_id, rule_group_rel.group_id FROM rule_group_rel, "res_groups" WHERE 1 = 1 AND rule_group_rel.rule_group_id IN (17) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-03-20 12:52:47 Duration: 2ms
18 193,464 5h35m37s 49ms 623ms 104ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 19 23 7,411 9m47s 79ms Mar 20 00 7,202 9m11s 76ms 01 4,604 5m31s 71ms 02 4,383 4m46s 65ms 03 4,848 4m52s 60ms 04 3,475 3m26s 59ms 05 9,341 11m59s 77ms 06 3,781 4m32s 72ms 07 4,208 5m23s 76ms 08 5,448 6m44s 74ms 09 9,891 16m19s 99ms 10 14,144 23m20s 99ms 11 16,231 30m11s 111ms 12 19,170 52m41s 164ms 13 15,163 30m17s 119ms 14 15,459 38m36s 149ms 15 16,458 33m14s 121ms 16 11,229 16m12s 86ms 17 6,205 7m39s 73ms 18 7,638 11m6s 87ms 19 7,175 9m40s 80ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6438216, 6415506, 6413972, 6380208, 6371810, 6367256, 6365727, 6365004)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-20 12:04:41 Duration: 623ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6545745, 6526482, 6509022, 6503359, 6497624, 6482547, 6481513, 6472296)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-20 15:30:29 Duration: 610ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6495004, 6478599, 6471122, 6453303, 6434434, 6416879, 6415920, 6103730)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-20 15:40:05 Duration: 606ms
19 175,200 2m15s 0ms 34ms 0ms select "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" from "shipping_policy" where "shipping_policy".id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 19 23 2,063 1s440ms 0ms Mar 20 00 1,598 966ms 0ms 01 1,564 1s19ms 0ms 02 1,108 1s9ms 0ms 03 789 678ms 0ms 04 669 532ms 0ms 05 851 827ms 0ms 06 429 336ms 0ms 07 4,181 2s274ms 0ms 08 5,554 2s963ms 0ms 09 13,004 9s896ms 0ms 10 15,618 13s222ms 0ms 11 14,487 12s790ms 0ms 12 19,473 18s7ms 0ms 13 17,476 15s347ms 0ms 14 16,461 14s360ms 0ms 15 14,322 12s669ms 0ms 16 15,442 10s71ms 0ms 17 6,339 3s422ms 0ms 18 18,302 10s216ms 0ms 19 5,470 3s477ms 0ms -
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (6148238, 6138936, 6281184, 5734349, 6272140, 6288993, 5834834, 6068717, 6301156, 6189736, 6307381, 6234715, 6205409, 6315658, 6321382, 6215649, 6231808, 6231817, 6335875, 6243668, 6245176, 6225008, 6195413, 5734316, 6357971, 6146305, 6301812, 6009572, 6173231, 6245242, 6272111, 5687620, 5800410, 6326328, 5978731, 6051112, 6148909, 6205470, 6205508, 6245196, 6286143, 6288938, 6298722, 6335922, 6335935, 5814587, 6313119, 6042784, 6292884, 5786955, 6294137, 6294472, 6296093, 6294236, 6300131, 6108665, 6227477, 6217706, 6316654, 6321694, 6266549, 6247775, 6335762, 6296404, 6326377, 6335890, 6335891, 6210065, 6356009, 6292336, 6249666, 6268376, 5755076, 6027075, 6151258, 6186755, 6222962, 6251778, 6258867, 6265223, 6270187, 6274866, 6276840, 6280224, 6288712, 6288943, 6294431, 6297073, 6302316, 6302398, 6305295, 6306298, 6307894, 6310866, 6326357, 6326361, 6334082, 6266598, 6335880, 6264359, 5799872, 5546183, 6357959, 6294359, 6084666, 6295487, 6102443, 6357594, 6223982, 6203491, 6311478, 6316060, 6320857, 6357999, 6335937, 6328979, 6307814, 6310884, 6321745, 6071012, 6212203, 6341198, 6288757, 5105179, 5965492, 5983751, 6296014, 6345991, 6357639, 6357649, 6357584, 6358009, 6357955, 6357949, 6252021, 6335747, 6315193, 6335726, 6335916, 6343671, 6357711, 6357967, 6275157, 6357989, 6068716, 6027057, 5973448, 6375711, 6243757, 5917509, 6288760, 6288972, 5934323, 5946764, 6176802, 6310985, 6083794, 6307657, 6128532, 6297427, 6310402, 6296615, 6326147, 6328472, 6245192, 6093376, 6341148, 6343817, 6357534, 6357562, 6357983, 6243574, 6385070, 6288771, 6369697, 6368967, 6400285, 6304367, 6309858, 6373888, 6369713, 4701532, 5883294, 6027058, 6097993, 6104242, 6203507, 6245258, 6247915, 6251313, 6267450, 6270257, 6271814, 6281703, 6320647, 6335893, 6346683, 6351435, 6351677, 6378175, 6380519, 6380824, 6380922, 6383409, 6389685, 6393277, 6393286, 6393327, 6397650, 6397655, 6400141, 6379068, 6400282, 6255891, 6274550, 6401988, 6288723, 6291355, 6293024, 6177886, 6218894, 6295002, 6307993, 6151181, 6343084, 6298655, 6203484, 6245169, 6252698, 6215575, 6231968, 6313124, 6211636, 6211905, 6321719, 6326106, 6215146, 6335729, 6336738, 6338698, 6327210, 6249712, 6256897, 6170892, 6217762, 6341749, 6265468, 6310660, 6024887, 6292807, 6142268, 6146663, 6210730, 6098103, 6227904, 6300139, 6346188, 6218970, 6153420, 6190627, 6228563, 6243624, 6268869, 6269277, 6297049, 6298637, 6298657, 6304976, 6312778, 6312804, 6326343, 6345919, 6346591, 6348273, 6266495, 6357985);
Date: 2025-03-20 15:12:39 Duration: 34ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (6548687, 6548649, 6548591, 6548054, 6544955, 6544949, 6544939, 6544814, 6544808, 6544750, 6544574, 6544570, 6544541, 6544535, 6544514, 6543499, 6543442, 6543403, 6543313, 6543301, 6541877, 6536611, 6536494, 6536490, 6531732, 6531676, 6530082, 6529350, 6527192, 6526939, 6525845, 6525764, 6523246, 6522844, 6522170, 6521353, 6521267, 6521257, 6521233, 6520440, 6520270, 6518225, 6517909, 6517445, 6517180, 6516822, 6515074, 6514797, 6514498, 6513886, 6512365, 6511916, 6510001, 6507202, 6506599, 6506344, 6505470, 6505467, 6504881, 6501008, 6500060, 6499506, 6496562, 6494383, 6494379, 6494371, 6483282, 6483132, 6473965, 6467677, 6466211, 6465485, 6465080, 6465066, 6464771, 6464605, 6464590, 6464141, 6461347, 6460135, 6459154, 6458756, 6436216, 6435310, 6433852, 6432296, 6429213, 6427801, 6426603, 6426167, 6425342, 6423165, 6423016, 6422539, 6419220, 6417256, 6360368, 6218423);
Date: 2025-03-20 02:22:00 Duration: 22ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (6581072, 6581070, 6581068, 6581065, 6581063, 6581061, 6581059, 6581057, 6581055, 6581053, 6581051, 6581048, 6581045, 6581042, 6581039, 6581036, 6581033, 6581030, 6581027, 6581024, 6581021, 6581018, 6581015);
Date: 2025-03-20 02:21:58 Duration: 22ms
20 169,878 52s141ms 0ms 2ms 0ms select res_groups_users_rel.uid, res_groups_users_rel.gid from res_groups_users_rel, "res_groups" where ? = ? and res_groups_users_rel.uid in (...) and res_groups_users_rel.gid = res_groups.id order by coalesce("res_groups"."name" ->> ?, "res_groups"."name" ->> ?);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 19 23 3,617 895ms 0ms Mar 20 00 2,759 628ms 0ms 01 1,607 343ms 0ms 02 2,205 482ms 0ms 03 1,175 239ms 0ms 04 1,076 213ms 0ms 05 906 235ms 0ms 06 970 218ms 0ms 07 1,380 331ms 0ms 08 4,064 947ms 0ms 09 11,490 3s297ms 0ms 10 10,775 3s182ms 0ms 11 16,966 5s338ms 0ms 12 30,071 10s325ms 0ms 13 21,197 6s719ms 0ms 14 20,726 7s94ms 0ms 15 15,713 5s489ms 0ms 16 8,627 2s500ms 0ms 17 3,832 878ms 0ms 18 5,985 1s626ms 0ms 19 4,737 1s152ms 0ms -
SELECT res_groups_users_rel.uid, res_groups_users_rel.gid FROM res_groups_users_rel, "res_groups" WHERE 1 = 1 AND res_groups_users_rel.uid IN (848) AND res_groups_users_rel.gid = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-03-20 12:47:39 Duration: 2ms
-
SELECT res_groups_users_rel.uid, res_groups_users_rel.gid FROM res_groups_users_rel, "res_groups" WHERE 1 = 1 AND res_groups_users_rel.uid IN (848) AND res_groups_users_rel.gid = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-03-20 15:58:30 Duration: 2ms
-
SELECT res_groups_users_rel.uid, res_groups_users_rel.gid FROM res_groups_users_rel, "res_groups" WHERE 1 = 1 AND res_groups_users_rel.uid IN (1251) AND res_groups_users_rel.gid = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-03-20 14:21:52 Duration: 2ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 752ms 9s444ms 1s619ms 53,887 1d14m33s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 19 23 2,491 45m14s 1s89ms Mar 20 00 1,437 24m55s 1s40ms 01 1,175 19m34s 999ms 02 701 10m42s 916ms 03 218 3m18s 911ms 04 160 2m28s 930ms 05 210 3m54s 1s118ms 06 231 3m55s 1s20ms 07 288 5m5s 1s59ms 08 864 13m54s 965ms 09 3,315 1h20m16s 1s453ms 10 4,779 1h44m50s 1s316ms 11 4,409 2h1m7s 1s648ms 12 5,147 3h47m31s 2s652ms 13 5,108 2h30m25s 1s766ms 14 4,637 3h15m43s 2s532ms 15 6,494 3h30m2s 1s940ms 16 3,756 1h20m15s 1s281ms 17 1,468 23m31s 961ms 18 3,655 1h9m35s 1s142ms 19 3,344 58m8s 1s43ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6540178, 6494131, 6491311, 6483707, 6427856, 6110715)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 12:44:45 Duration: 9s444ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6500773, 6497675, 6472469, 6448223, 6415930, 6411777, 6406910)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 14:09:27 Duration: 9s350ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6594016, 6594013, 6593998, 6581068, 6578546, 6577392, 6533874, 6470901)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 14:42:37 Duration: 9s346ms
2 920ms 2s965ms 1s319ms 25,113 9h12m11s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) 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"."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";Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 19 23 2,498 55m2s 1s322ms Mar 20 00 1,963 40m35s 1s240ms 01 790 15m16s 1s159ms 02 1,038 20m5s 1s161ms 03 1,358 25m44s 1s137ms 04 725 13m47s 1s141ms 05 906 20m3s 1s328ms 06 2,347 48m 1s227ms 07 3,429 1h13m47s 1s291ms 08 2,550 51m55s 1s221ms 09 1,252 29m1s 1s390ms 10 644 16m 1s491ms 11 180 4m52s 1s625ms 12 82 3m3s 2s241ms 13 403 12m17s 1s829ms 14 342 10m27s 1s834ms 15 771 25m49s 2s9ms 16 685 17m46s 1s556ms 17 1,377 27m20s 1s191ms 18 1,207 28m54s 1s437ms 19 566 12m18s 1s305ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1248313')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."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";
Date: 2025-03-20 14:38:50 Duration: 2s965ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1248311')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."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";
Date: 2025-03-20 14:38:39 Duration: 2s954ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1152022')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."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";
Date: 2025-03-20 14:49:02 Duration: 2s927ms
3 529ms 3s107ms 1s318ms 9,654 3h32m4s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) 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"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 19 23 1,724 34m43s 1s208ms Mar 20 00 1,058 19m44s 1s119ms 01 245 4m23s 1s73ms 02 644 11m35s 1s79ms 03 239 4m8s 1s39ms 04 174 2m57s 1s21ms 05 259 5m 1s159ms 07 62 1m7s 1s87ms 08 89 1m38s 1s106ms 09 97 2m12s 1s363ms 10 1 1s462ms 1s462ms 11 134 3m10s 1s419ms 12 184 6m7s 1s998ms 13 53 1m22s 1s551ms 14 252 8m24s 2s1ms 15 983 31m31s 1s923ms 16 304 7m33s 1s492ms 17 506 9m8s 1s83ms 18 1,065 23m59s 1s351ms 19 1,581 33m15s 1s262ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '372190')) AND ("policy_number"."package_id" = 2)) 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 (67))))))) 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 (67)))))) OR (("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 (67)))))) 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 (67))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-20 14:37:49 Duration: 3s107ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9812686')) AND ("policy_number"."package_id" = 2)) 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 (74))))))) 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 (74)))))) OR (("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 (74)))))) 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 (74))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-20 15:34:54 Duration: 2s957ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9812879')) AND ("policy_number"."package_id" = 2)) 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 (74))))))) 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 (74)))))) OR (("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 (74)))))) 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 (74))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-20 15:36:32 Duration: 2s938ms
4 745ms 8s841ms 1s316ms 338,237 5d3h41m select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 19 23 14,658 4h31m43s 1s112ms Mar 20 00 12,724 3h42m42s 1s50ms 01 8,288 2h14m12s 971ms 02 9,556 2h21m56s 891ms 03 9,095 2h8m5s 844ms 04 8,037 1h50m40s 826ms 05 16,742 4h23m14s 943ms 06 13,470 3h28m 926ms 07 16,862 4h33m26s 972ms 08 11,015 2h53m37s 945ms 09 17,590 6h3m58s 1s241ms 10 20,209 6h52m58s 1s226ms 11 22,052 8h57m3s 1s461ms 12 26,993 16h37m25s 2s217ms 13 22,037 9h20m25s 1s525ms 14 22,851 13h5m41s 2s63ms 15 25,891 12h15m23s 1s704ms 16 17,933 5h57m40s 1s196ms 17 11,017 2h55m4s 953ms 18 18,777 5h48m8s 1s112ms 19 12,440 3h39m31s 1s58ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6597248)) AND (("shipping_track"."id" not in (55068226, 55068226)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 14:38:09 Duration: 8s841ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6598223)) AND (("shipping_track"."id" not in (55082850, 55082850)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 15:15:42 Duration: 8s760ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6598215)) AND (("shipping_track"."id" not in (55082686, 55082686)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-20 15:15:20 Duration: 8s659ms
5 30ms 2s887ms 1s311ms 2,752 1h10s select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 19 23 60 52s349ms 872ms Mar 20 00 31 17s274ms 557ms 01 24 6s421ms 267ms 03 2 900ms 450ms 04 1 39ms 39ms 07 4 1s450ms 362ms 08 26 22s523ms 866ms 09 105 1m46s 1s16ms 10 245 4m26s 1s86ms 11 339 8m10s 1s447ms 12 441 12m9s 1s653ms 13 402 9m36s 1s434ms 14 311 7m38s 1s474ms 15 327 7m4s 1s298ms 16 185 2m42s 880ms 17 42 41s72ms 977ms 18 114 2m27s 1s290ms 19 93 1m45s 1s139ms -
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-20 13:28:03 Duration: 2s887ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (75)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (75))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-20 12:44:31 Duration: 2s854ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-20 14:35:16 Duration: 2s849ms
6 324ms 7s115ms 1s151ms 2,892 55m29s select po.id, policy.name from shipping_policy as po inner join policy_number as policy on policy.id = po.policy_id where policy.name in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 19 23 61 27s897ms 457ms Mar 20 00 67 29s799ms 444ms 01 42 16s687ms 397ms 02 51 21s519ms 421ms 03 41 15s244ms 371ms 04 48 17s705ms 368ms 05 61 29s734ms 487ms 06 55 23s954ms 435ms 07 77 36s239ms 470ms 08 116 58s15ms 500ms 09 143 1m47s 750ms 10 189 2m54s 923ms 11 266 4m54s 1s108ms 12 386 13m32s 2s104ms 13 313 6m31s 1s249ms 14 323 9m51s 1s830ms 15 217 6m23s 1s766ms 16 160 2m22s 893ms 17 49 24s592ms 501ms 18 133 1m18s 591ms 19 94 51s367ms 546ms -
select po.id, policy.name from shipping_policy as po inner join policy_number as policy on policy.id = po.policy_id where policy.name in ('1123485', '432515', '1053533', '1123487', '1123488', '1123490', '1123489', '');
Date: 2025-03-20 10:47:21 Duration: 7s115ms
-
select po.id, policy.name from shipping_policy as po inner join policy_number as policy on policy.id = po.policy_id where policy.name in ('1044074', '1138234', '1000582', '1256552', '1115491', '1037836', '1140879', '1149832');
Date: 2025-03-20 12:43:48 Duration: 6s296ms
-
select po.id, policy.name from shipping_policy as po inner join policy_number as policy on policy.id = po.policy_id where policy.name in ('745737', '843069', '745734', '745733', '1144020', '843074', '');
Date: 2025-03-20 13:24:13 Duration: 6s14ms
7 344ms 4s845ms 767ms 27,325 5h49m45s select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 20 07 277 2m15s 488ms 08 2,233 18m9s 487ms 09 3,585 37m23s 625ms 10 2,528 27m29s 652ms 11 2,210 24m37s 668ms 12 2,703 50m50s 1s128ms 13 3,331 43m2s 775ms 14 4,236 1h12m10s 1s22ms 15 2,350 34m12s 873ms 16 2,154 23m53s 665ms 17 530 4m37s 523ms 18 1,188 11m3s 558ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '1194221')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-20 12:12:35 Duration: 4s845ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '1091805')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-20 12:43:44 Duration: 4s821ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '1044080')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-20 12:43:13 Duration: 4s781ms
8 326ms 2s963ms 643ms 4,313 46m16s select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."id" desc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 20 10 5 3s706ms 741ms 11 908 7m40s 506ms 12 580 7m9s 739ms 13 1,341 12m34s 562ms 14 904 12m56s 859ms 15 394 4m32s 692ms 16 181 1m19s 439ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1075276')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 14:35:15 Duration: 2s963ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1091451')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:16:56 Duration: 2s910ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1100374')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:31:32 Duration: 2s871ms
9 264ms 2s943ms 636ms 3,556 37m41s select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and (((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) and (("cash_policy"."state" not in (...)) or "cash_policy"."state" is null)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 19 23 9 3s5ms 333ms Mar 20 02 176 50s972ms 289ms 08 8 2s838ms 354ms 09 103 56s899ms 552ms 10 370 3m2s 493ms 11 282 2m34s 547ms 12 710 11m2s 932ms 13 467 4m14s 544ms 14 624 6m57s 668ms 15 379 4m48s 761ms 16 174 1m27s 503ms 17 47 16s325ms 347ms 18 95 40s177ms 422ms 19 112 44s121ms 393ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1109590')) AND (((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:12:54 Duration: 2s943ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1133978')) AND (((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:11:36 Duration: 2s938ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1016928')) AND (((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:11:09 Duration: 2s928ms
10 248ms 2s880ms 628ms 7,869 1h22m22s select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 19 23 9 3s293ms 365ms Mar 20 02 176 52s525ms 298ms 08 8 2s677ms 334ms 09 103 52s227ms 507ms 10 375 2m53s 463ms 11 1,190 10m19s 520ms 12 1,290 17m48s 828ms 13 1,808 17m11s 570ms 14 1,528 18m44s 736ms 15 773 9m7s 708ms 16 355 2m50s 479ms 17 47 15s600ms 331ms 18 95 38s151ms 401ms 19 112 42s193ms 376ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '1100372')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:31:23 Duration: 2s880ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '956362')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:13:06 Duration: 2s805ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '820265')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-20 12:31:06 Duration: 2s793ms
11 280ms 2s983ms 543ms 4,640 42m2s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("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;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 19 23 39 13s241ms 339ms Mar 20 00 78 25s793ms 330ms 05 462 2m54s 378ms 08 123 49s658ms 403ms 09 1,221 8m33s 420ms 10 146 1m9s 473ms 11 1,584 14m44s 558ms 12 741 10m23s 840ms 13 82 38s320ms 467ms 14 164 2m10s 793ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1017598')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) 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;
Date: 2025-03-20 14:28:58 Duration: 2s983ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1124107')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) 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;
Date: 2025-03-20 12:44:03 Duration: 2s888ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1043524')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) 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;
Date: 2025-03-20 14:27:47 Duration: 2s884ms
12 259ms 3s43ms 514ms 18,786 2h40m58s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 19 23 883 5m16s 357ms Mar 20 00 1,149 6m20s 331ms 01 563 2m55s 312ms 02 205 1m13s 357ms 03 934 4m30s 289ms 04 244 1m10s 288ms 05 585 3m48s 391ms 06 454 2m45s 365ms 07 1,411 8m17s 352ms 08 1,470 9m14s 377ms 09 713 5m10s 434ms 10 1,345 10m56s 487ms 11 1,474 12m35s 512ms 12 2,493 35m30s 854ms 13 2,002 19m21s 580ms 14 1,325 16m29s 746ms 15 749 8m39s 693ms 16 527 4m53s 557ms 17 86 31s249ms 363ms 18 164 1m12s 443ms 19 10 3s895ms 389ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1005702')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) 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;
Date: 2025-03-20 14:28:31 Duration: 3s43ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1155278')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))) 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;
Date: 2025-03-20 14:28:27 Duration: 3s3ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1208044')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-20 12:12:46 Duration: 2s973ms
13 251ms 3s14ms 512ms 142,266 20h14m56s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 19 23 1,670 9m54s 355ms Mar 20 00 2,463 13m46s 335ms 01 1,971 10m10s 309ms 02 1,992 10m24s 313ms 03 2,974 14m24s 290ms 04 2,958 14m19s 290ms 05 3,559 21m25s 361ms 06 2,778 15m49s 341ms 07 7,939 47m42s 360ms 08 8,917 55m8s 371ms 09 11,377 1h26m21s 455ms 10 8,887 1h12m1s 486ms 11 9,275 1h20m9s 518ms 12 12,236 2h44m10s 805ms 13 9,914 1h33m26s 565ms 14 13,063 2h49m14s 777ms 15 8,897 1h39m9s 668ms 16 14,714 1h59m9s 485ms 17 3,030 18m52s 373ms 18 13,184 1h36m11s 437ms 19 468 3m3s 392ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1179180')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-20 14:38:03 Duration: 3s14ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1157887')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-20 14:38:04 Duration: 3s11ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1036938')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-20 14:39:24 Duration: 3s6ms
14 122ms 1s319ms 434ms 6,700 48m31s select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) 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)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 19 23 214 38s130ms 178ms Mar 20 00 212 34s880ms 164ms 01 138 20s797ms 150ms 02 16 2s282ms 142ms 03 71 9s771ms 137ms 04 61 8s198ms 134ms 05 10 1s582ms 158ms 07 15 2s337ms 155ms 08 60 9s644ms 160ms 09 209 1m16s 364ms 10 501 2m46s 331ms 11 1,064 6m7s 345ms 12 1,415 14m38s 620ms 13 992 6m43s 406ms 14 800 8m48s 660ms 15 431 4m5s 569ms 16 185 57s482ms 310ms 17 48 7s684ms 160ms 18 127 26s324ms 207ms 19 131 26s949ms 205ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 6)) 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)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-20 14:31:54 Duration: 1s319ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 126)) 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)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-20 12:12:41 Duration: 1s306ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 24)) 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)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-20 12:13:19 Duration: 1s301ms
15 96ms 1s668ms 282ms 68,692 5h23m2s select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 19 23 8,366 39m59s 286ms Mar 20 00 5,986 25m21s 254ms 01 2,046 7m56s 232ms 02 3,324 12m42s 229ms 03 3,170 10m49s 204ms 04 1,772 6m40s 225ms 05 2,300 9m50s 256ms 06 4,642 19m5s 246ms 07 6,900 30m21s 264ms 08 5,220 20m11s 232ms 09 2,652 12m45s 288ms 10 1,260 6m27s 307ms 11 614 3m41s 361ms 12 524 4m39s 533ms 13 882 6m14s 424ms 14 1,153 8m7s 422ms 15 3,451 27m32s 478ms 16 1,949 10m15s 315ms 17 3,722 16m25s 264ms 18 4,499 24m13s 322ms 19 4,260 19m40s 277ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'نببيل')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-20 14:23:00 Duration: 1s668ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'اسنكرية')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-20 15:15:18 Duration: 1s51ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'مكتب توبرا')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-20 16:00:33 Duration: 1s42ms
16 129ms 1s196ms 275ms 31,875 2h26m29s select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 19 23 771 2m27s 191ms Mar 20 00 1,616 4m47s 177ms 01 176 30s876ms 175ms 02 49 9s719ms 198ms 03 16 2s694ms 168ms 08 66 12s302ms 186ms 09 1,099 4m17s 234ms 10 3,192 12m37s 237ms 11 3,298 15m9s 275ms 12 3,558 24m36s 415ms 13 3,550 17m16s 291ms 14 3,466 21m25s 370ms 15 2,964 15m23s 311ms 16 3,104 11m38s 225ms 17 600 1m40s 167ms 18 2,571 8m44s 204ms 19 1,779 5m27s 184ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8393993)) AND (("cash_track"."id" not in (9838871)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-20 14:14:12 Duration: 1s196ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8394160)) AND (("cash_track"."id" not in (9840814)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-20 14:36:14 Duration: 1s194ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8394100)) AND (("cash_track"."id" not in (9840062)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-20 14:28:06 Duration: 1s184ms
17 198ms 526ms 272ms 16,408 1h14m36s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 19 23 646 3m30s 325ms Mar 20 00 1,144 6m3s 317ms 01 1,338 6m38s 298ms 02 1,605 7m7s 266ms 03 1,734 7m38s 264ms 04 2,611 11m29s 264ms 05 2,272 10m 264ms 06 2,087 8m53s 255ms 07 1,970 8m45s 266ms 08 806 3m30s 260ms 09 195 57s887ms 296ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1165826')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-20 02:22:12 Duration: 526ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1269105')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-20 00:51:35 Duration: 476ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '1219174')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-19 23:04:48 Duration: 469ms
18 67ms 492ms 130ms 58,513 2h7m7s select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 19 23 85 8s174ms 96ms Mar 20 00 43 3s931ms 91ms 01 1 83ms 83ms 07 278 24s851ms 89ms 08 3,029 4m40s 92ms 09 6,037 11m12s 111ms 10 4,677 9m17s 119ms 11 3,963 8m21s 126ms 12 5,483 15m33s 170ms 13 6,305 14m28s 137ms 14 5,457 15m39s 172ms 15 8,616 21m18s 148ms 16 9,419 17m56s 114ms 17 2,596 3m44s 86ms 18 2,524 4m19s 102ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6413930) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-20 14:28:17 Duration: 492ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6292393) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-20 14:27:46 Duration: 489ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6234322) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-20 15:45:30 Duration: 488ms
19 64ms 445ms 120ms 29,853 1h2s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 20 07 240 20s462ms 85ms 08 1,501 2m8s 85ms 09 3,621 6m30s 107ms 10 2,271 3m51s 102ms 11 2,297 4m20s 113ms 12 2,567 6m25s 150ms 13 3,279 6m54s 126ms 14 5,275 13m 147ms 15 2,588 5m45s 133ms 16 4,089 7m41s 112ms 17 971 1m17s 79ms 18 1,153 1m45s 91ms 19 1 75ms 75ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6387838) ORDER BY "collection_policy"."id";
Date: 2025-03-20 12:17:11 Duration: 445ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6205489) ORDER BY "collection_policy"."id";
Date: 2025-03-20 15:17:42 Duration: 411ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6419903) ORDER BY "collection_policy"."id";
Date: 2025-03-20 14:31:56 Duration: 409ms
20 49ms 623ms 104ms 193,464 5h35m37s select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 19 23 7,411 9m47s 79ms Mar 20 00 7,202 9m11s 76ms 01 4,604 5m31s 71ms 02 4,383 4m46s 65ms 03 4,848 4m52s 60ms 04 3,475 3m26s 59ms 05 9,341 11m59s 77ms 06 3,781 4m32s 72ms 07 4,208 5m23s 76ms 08 5,448 6m44s 74ms 09 9,891 16m19s 99ms 10 14,144 23m20s 99ms 11 16,231 30m11s 111ms 12 19,170 52m41s 164ms 13 15,163 30m17s 119ms 14 15,459 38m36s 149ms 15 16,458 33m14s 121ms 16 11,229 16m12s 86ms 17 6,205 7m39s 73ms 18 7,638 11m6s 87ms 19 7,175 9m40s 80ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6438216, 6415506, 6413972, 6380208, 6371810, 6367256, 6365727, 6365004)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-20 12:04:41 Duration: 623ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6545745, 6526482, 6509022, 6503359, 6497624, 6482547, 6481513, 6472296)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-20 15:30:29 Duration: 610ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6495004, 6478599, 6471122, 6453303, 6434434, 6416879, 6415920, 6103730)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-20 15:40:05 Duration: 606ms
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
- 20,866,157 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 3443 FATAL entries
- 709 ERROR entries
- 0 WARNING entries
- 12 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 1,669 Max number of times the same event was reported
- 4,164 Total events found
Rank Times reported Error 1 1,669 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 20 02 344 05 193 08 170 11 250 14 479 17 233 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-03-20 02:20:02
Statement: update shipping_policy set count_search=5 where id=6560797
Date: 2025-03-20 08:00:06
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '672542')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (102))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false )) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false )) AND (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (102)))))) OR (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (102)))))) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (102))))))))) ORDER BY "policy_number"."id"
Date: 2025-03-20 08:00:06
2 1,536 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 20 02 106 05 66 08 83 11 471 14 592 17 218 3 476 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 19 23 4 Mar 20 00 3 01 1 02 6 03 10 04 1 05 39 06 7 07 11 08 10 09 22 10 19 11 17 12 68 13 36 14 66 15 44 16 48 17 13 18 48 19 3 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-19 22:15:41.620551', "write_uid" = 1040 WHERE id IN (45265938)
Date: 2025-03-19 23:16:13
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-19 22:29:22.527640', "write_uid" = 1040 WHERE id IN (45343533)
Date: 2025-03-19 23:30:24
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-19 22:50:41.582636', "write_uid" = 1227 WHERE id IN (45224832)
Date: 2025-03-19 23:53:52
4 187 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 20 02 40 08 12 11 24 14 95 17 16 - 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 "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6506679)) AND (("shipping_track"."id" not in (54327793, 54328574, 54329566, 54469589, 54469903, 54687299, 54695815, 54859959, 54859959)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-03-20 02:00:06
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6505736)) AND (("shipping_track"."id" not in (54322614, 54323614, 54325557, 54503006, 54514890, 54515406, 54859958, 54859958)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-03-20 02:00:06
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6580274)) AND (("shipping_track"."id" not in (54858514, 54859957, 54859957)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-03-20 02:00:06
5 144 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 19 23 8 Mar 20 00 4 08 6 09 6 10 17 11 7 12 29 13 6 14 7 15 8 16 18 17 1 18 8 19 19 - ERROR: syntax error at or near ")" at character 162
- ERROR: syntax error at or near ")" at character 162
- ERROR: syntax error at or near ")" at character 163
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('117988',)
Date: 2025-03-19 23:12:22
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('679635',)
Date: 2025-03-19 23:29:22
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('1159023',)
Date: 2025-03-19 23:38:16
6 49 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 20 02 9 08 3 11 6 14 27 17 4 - ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6506679)) AND (("shipping_track"."id" not in (54327793, 54328574, 54329566, 54469589, 54469903, 54687299, 54695815, 54859959, 54859959)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-03-20 02:00:06
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6505736)) AND (("shipping_track"."id" not in (54322614, 54323614, 54325557, 54503006, 54514890, 54515406, 54859958, 54859958)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-03-20 02:00:06
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6580274)) AND (("shipping_track"."id" not in (54858514, 54859957, 54859957)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-03-20 02:00:06
7 22 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 19 23 1 Mar 20 05 2 08 1 09 2 10 1 12 4 13 1 14 2 15 1 16 4 18 3 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 2173347 waits for ShareLock on transaction 11345250; blocked by process 2173355. Process 2173355 waits for ShareLock on transaction 11345257; blocked by process 2173347. Process 2173347: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-19 22:15:22.408744', "write_uid" = 1040 WHERE id IN (45265944) Process 2173355: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-19 22:14:42.767034', "write_uid" = 1070 WHERE id IN (45265938)
Context: while updating tuple (217302,82) in relation "policy_number"
Hint: See server log for query details.
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-19 22:15:22.408744', "write_uid" = 1040 WHERE id IN (45265944)Date: 2025-03-19 23:15:40
Detail: Process 263881 waits for ShareLock on transaction 11352246; blocked by process 264049. Process 264049 waits for ShareLock on transaction 11352243; blocked by process 263881. Process 263881: update shipping_policy set count_search=2 where id=6494281 Process 264049: UPDATE "shipping_policy" SET "before_office_id" = 62, "write_date" = '2025-03-20 04:26:35.203899', "write_uid" = 1225 WHERE id IN (6494281, 6568344, 6568432, 6568650, 6568676, 6575158, 6575201, 6575233, 6575252, 6575256, 6575258, 6575262, 6575266, 6575285, 6575310, 6575334, 6575551, 6575659)
Context: while updating tuple (142612,2) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=2 where id=6494281Date: 2025-03-20 05:26:58
Detail: Process 263758 waits for ShareLock on transaction 11352434; blocked by process 263696. Process 263696 waits for ShareLock on transaction 11352419; blocked by process 263758. Process 263758: update shipping_policy set count_search=2 where id=6580515 Process 263696: UPDATE "shipping_policy" SET "before_office_id" = 70, "write_date" = '2025-03-20 04:37:51.519201', "write_uid" = 1010 WHERE id IN (6581203, 6580993, 6580670, 6580642, 6580556, 6580552, 6580515)
Context: while updating tuple (138975,22) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=2 where id=6580515Date: 2025-03-20 05:37:59
8 20 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 20 12 19 18 1 - FATAL: password authentication failed for user "postgres"
Detail: User "postgres" has no password assigned. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-03-20 12:05:30
9 13 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 19 23 2 Mar 20 11 1 13 2 15 4 16 1 17 2 18 1 - ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (208214)
Date: 2025-03-19 23:05:17
Statement: DELETE FROM "delegate_track" WHERE id IN (207553)
Date: 2025-03-19 23:47:26
Statement: DELETE FROM "delegate_track" WHERE id IN (207822)
Date: 2025-03-20 11:55:35
10 10 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 20 11 5 14 5 11 9 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 19 23 1 Mar 20 02 2 05 1 08 1 11 1 14 2 17 1 12 7 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 20 12 1 15 4 16 1 17 1 13 5 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 20 12 1 15 2 16 1 17 1 14 4 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 20 12 1 15 1 16 1 17 1 15 3 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #15
Day Hour Count Mar 20 08 1 14 1 17 1 16 2 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #16
Day Hour Count Mar 20 13 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"
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(cash.policy, -1, -1, احمد) already exists.
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2025-03-20 12:50:04.335375', 1472, '[(''id'', ''in'', [8385611, 8380491, 8387270, 8392425, 8390440, 8389580, 8383494, 8383400, 8383531, 8382539, 8382528, 8383799, 8386719, 8382904])]', 'cash.policy', 'احمد', '[]', '2025-03-20 12:50:04.335375', 1472) RETURNING "id"Date: 2025-03-20 13:50:04
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(cash.policy, -1, -1, احمد) already exists.
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2025-03-20 12:50:10.424473', 1472, '[(''id'', ''in'', [8385611, 8380491, 8387270, 8392425, 8390440, 8389580, 8383494, 8383400, 8383531, 8382539, 8382528, 8383799, 8386719, 8382904])]', 'cash.policy', 'احمد', '[]', '2025-03-20 12:50:10.424473', 1472) RETURNING "id"Date: 2025-03-20 13:50:10
17 2 ERROR: incomplete startup packet
Times Reported Most Frequent Error / Event #17
Day Hour Count Mar 20 14 1 16 1 18 2 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #18
Day Hour Count Mar 20 10 1 15 1 - ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "code" of relation "res_country_state" violates not-null constraint
Detail: Failing row contains (5569986, null, 822, 822, null, 0000000136, null, null, t, 2025-03-20 09:34:35.850126, 2025-03-20 09:34:35.850126, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-03-20 09:34:35.850126', 822, '0000000136', '2025-03-20 09:34:35.850126', 822) RETURNING "id"Date: 2025-03-20 10:34:35
Detail: Failing row contains (4561, 65, 866, 866, مدينة نصر, null, 2025-03-20 14:14:24.784946, 2025-03-20 14:14:24.784946).
Statement: INSERT INTO "res_country_state" ("country_id", "create_date", "create_uid", "name", "write_date", "write_uid") VALUES (65, '2025-03-20 14:14:24.784946', 866, 'مدينة نصر', '2025-03-20 14:14:24.784946', 866) RETURNING "id"Date: 2025-03-20 15:14:24
19 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #19
Day Hour Count Mar 20 13 1 - ERROR: column urgent_office.is_no_change_office does not exist at character 574
Statement: SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (39)
Date: 2025-03-20 13:34:17
20 1 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #20
Day Hour Count Mar 20 15 1 21 1 FATAL: unsupported frontend protocol 16.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #21
Day Hour Count Mar 20 12 1 22 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #22
Day Hour Count Mar 20 15 1