-
Global information
- Generated on Sun Mar 16 23:48:05 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 46,621,999 log entries in 3m3s
- Log start from 2025-03-15 23:00:09 to 2025-03-16 19:45:02
-
Overview
Global Stats
- 19,940 Number of unique normalized queries
- 19,572,920 Number of queries
- 10d1h17m48s Total query duration
- 2025-03-15 23:00:09 First query
- 2025-03-16 19:45:02 Last query
- 4,563 queries/s at 2025-03-16 13:15:25 Query peak
- 10d1h17m48s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 10d1h17m48s Execute total duration
- 8,429 Number of events
- 25 Number of unique normalized events
- 3,312 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
- 19,572,920 Average queries per session
- 10d1h17m48s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 4,563 queries/s Query Peak
- 2025-03-16 13:15:25 Date
SELECT Traffic
Key values
- 3,175 queries/s Query Peak
- 2025-03-16 13:15:25 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,419 queries/s Query Peak
- 2025-03-16 00:41:33 Date
Queries duration
Key values
- 10d1h17m48s 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 15 23 712,924 0ms 59s792ms 31ms 10m38s 11m49s 12m56s Mar 16 00 542,245 0ms 8s230ms 27ms 6m17s 6m42s 7m27s 01 494,735 0ms 6s948ms 40ms 8m16s 9m16s 10m20s 02 364,949 0ms 6s841ms 41ms 7m59s 9m51s 13m23s 03 202,814 0ms 1s829ms 21ms 2m40s 3m5s 3m9s 04 278,782 0ms 1s888ms 46ms 5m25s 5m58s 7m16s 05 348,527 0ms 3s292ms 41ms 5m35s 6m5s 8m13s 06 448,726 0ms 1s964ms 41ms 7m39s 8m21s 9m33s 07 349,955 0ms 29s425ms 40ms 6m36s 6m50s 7m27s 08 1,000,680 0ms 51s73ms 15ms 7m23s 7m45s 10m7s 09 1,264,339 0ms 1m7s 30ms 15m19s 16m40s 18m29s 10 1,645,851 0ms 1m19s 34ms 26m12s 29m6s 32m42s 11 1,678,955 0ms 1m23s 46ms 28m26s 30m44s 39m3s 12 1,968,917 0ms 1m49s 66ms 45m36s 46m34s 47m20s 13 1,913,505 0ms 2m3s 67ms 44m57s 45m40s 45m41s 14 1,942,024 0ms 2m19s 74ms 58m56s 1h23s 1h2m38s 15 1,402,020 0ms 2m10s 36ms 24m25s 25m59s 28m47s 16 948,783 0ms 2m4s 24ms 9m19s 10m50s 14m9s 17 520,342 0ms 1m58s 28ms 7m43s 8m22s 8m30s 18 835,907 0ms 1m1s 26ms 10m23s 11m7s 11m36s 19 707,940 0ms 1m4s 34ms 12m34s 13m13s 14m36s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 15 23 403,077 0 54ms 8m25s 10m37s 12m19s Mar 16 00 296,362 0 50ms 5m17s 6m16s 7m18s 01 270,061 0 73ms 7m20s 8m16s 9m25s 02 205,745 0 73ms 6m55s 7m58s 10m47s 03 108,768 0 40ms 2m5s 2m39s 3m6s 04 148,688 0 86ms 4m54s 5m25s 6m43s 05 191,899 0 75ms 5m13s 5m35s 6m8s 06 250,246 0 74ms 7m1s 7m38s 8m40s 07 191,096 0 74ms 5m33s 6m36s 7m15s 08 637,764 0 23ms 6m21s 7m22s 7m48s 09 782,478 0 49ms 14m18s 15m18s 16m46s 10 985,976 0 57ms 20m2s 26m9s 32m34s 11 958,899 0 81ms 26m45s 28m24s 34m53s 12 1,209,612 0 108ms 43m59s 45m34s 46m35s 13 1,237,227 0 103ms 43m50s 44m53s 45m37s 14 1,225,422 0 117ms 55m6s 58m52s 59m56s 15 812,093 0 62ms 20m28s 24m23s 26m16s 16 533,060 0 43ms 8m16s 9m17s 12m26s 17 280,130 0 52ms 6m6s 7m42s 8m24s 18 466,546 0 48ms 9m2s 10m22s 11m16s 19 401,995 0 61ms 10m39s 12m33s 14m34s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 15 23 60,169 13,324 460 0 1ms 421ms 513ms 1s73ms Mar 16 00 55,927 11,585 213 1 0ms 284ms 395ms 762ms 01 46,614 9,728 342 0 0ms 290ms 336ms 455ms 02 31,790 6,720 153 0 0ms 292ms 368ms 795ms 03 9,932 2,837 83 0 0ms 100ms 129ms 233ms 04 29,713 6,656 81 0 0ms 230ms 272ms 418ms 05 31,763 7,590 131 0 0ms 229ms 253ms 321ms 06 39,441 8,827 89 0 0ms 265ms 311ms 366ms 07 29,287 7,328 84 0 1ms 194ms 252ms 363ms 08 29,606 7,336 206 0 0ms 218ms 279ms 370ms 09 68,146 18,716 792 0 0ms 580ms 630ms 2s776ms 10 93,717 20,402 1,316 0 1ms 801ms 964ms 1s271ms 11 101,160 20,346 1,399 0 1ms 909ms 1s142ms 2s571ms 12 96,138 22,754 1,273 0 9ms 1s245ms 16s197ms 1m55s 13 90,408 21,042 979 0 17ms 1s424ms 1m1s 4m48s 14 103,117 23,049 1,254 0 8ms 1s530ms 2s682ms 2m21s 15 90,453 19,976 1,364 0 2ms 873ms 1s72ms 24s46ms 16 60,519 13,718 772 0 2ms 399ms 473ms 734ms 17 33,856 7,078 245 0 3ms 259ms 317ms 423ms 18 50,973 14,663 701 0 0ms 307ms 407ms 752ms 19 49,793 12,220 665 0 0ms 400ms 502ms 647ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 15 23 0 0 0.00 0.00% Mar 16 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 15 23 0 0.00/s Mar 16 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 15 23 0 0ms 0ms Mar 16 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
- 108,553 buffers Checkpoint Peak
- 2025-03-16 10:34:39 Date
- 270.053 seconds Highest write time
- 0.018 seconds Sync time
Checkpoints Wal files
Key values
- 54 files Wal files usage Peak
- 2025-03-16 10:34:39 Date
Checkpoints distance
Key values
- 1,726.15 Mo Distance Peak
- 2025-03-16 10:34:39 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 15 23 270,266 2,968.707s 0.041s 2,968.8s Mar 16 00 235,500 3,239.53s 0.042s 3,239.624s 01 260,240 3,239.541s 0.045s 3,239.644s 02 214,587 2,429.532s 0.063s 2,429.654s 03 85,711 3,103.484s 0.031s 3,103.554s 04 197,928 3,239.552s 0.031s 3,239.639s 05 193,070 3,165.972s 0.041s 3,166.07s 06 220,569 3,239.535s 0.035s 3,239.639s 07 182,543 3,239.618s 0.034s 3,239.708s 08 198,831 2,969.628s 0.039s 2,969.732s 09 471,280 3,239.484s 0.058s 3,239.628s 10 693,766 3,239.454s 0.08s 3,239.655s 11 777,663 2,970.633s 0.08s 2,970.856s 12 721,699 3,239.351s 0.081s 3,239.579s 13 543,126 2,840.628s 0.089s 2,840.839s 14 662,991 2,228.871s 0.124s 2,229.176s 15 628,071 3,239.396s 0.066s 3,239.588s 16 407,124 3,239.496s 0.056s 3,239.622s 17 176,745 3,113.568s 0.055s 3,113.681s 18 265,284 3,239.571s 0.048s 3,239.683s 19 281,585 2,429.672s 0.04s 2,429.773s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 15 23 0 0 104 4,523 0.002s 0.011s Mar 16 00 0 0 94 4,700 0.002s 0.012s 01 0 0 99 4,534 0.002s 0.012s 02 0 0 83 3,790 0.009s 0.011s 03 0 0 32 2,645 0.002s 0.012s 04 0 0 81 3,020 0.002s 0.012s 05 0 0 79 3,428 0.003s 0.013s 06 0 0 92 3,150 0.002s 0.012s 07 0 0 76 3,316 0.002s 0.012s 08 0 0 80 3,873 0.004s 0.012s 09 0 0 181 5,193 0.002s 0.012s 10 0 0 279 5,335 0.007s 0.012s 11 0 0 291 5,294 0.004s 0.012s 12 0 0 273 5,491 0.003s 0.012s 13 0 0 210 5,319 0.010s 0.012s 14 0 0 259 5,574 0.005s 0.013s 15 0 0 252 5,572 0.003s 0.012s 16 0 0 155 5,356 0.003s 0.012s 17 0 0 68 4,609 0.003s 0.013s 18 0 0 105 5,062 0.002s 0.012s 19 0 0 111 3,925 0.002s 0.009s Day Hour Count Avg time (sec) Mar 15 23 0 0s Mar 16 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 15 23 154,947.55 kB 218,723.64 kB Mar 16 00 128,046.17 kB 198,365.92 kB 01 135,514.00 kB 195,702.17 kB 02 124,241.91 kB 162,045.64 kB 03 43,277.08 kB 93,539.58 kB 04 110,607.67 kB 126,059.17 kB 05 99,577.92 kB 118,870.69 kB 06 125,838.42 kB 144,777.83 kB 07 103,465.25 kB 173,189.08 kB 08 111,001.55 kB 129,536.82 kB 09 247,537.67 kB 265,379.42 kB 10 380,816.17 kB 563,560.00 kB 11 391,160.73 kB 425,448.82 kB 12 372,250.50 kB 441,677.50 kB 13 286,579.33 kB 382,662.75 kB 14 325,973.15 kB 375,631.77 kB 15 344,094.42 kB 429,677.00 kB 16 212,415.00 kB 305,635.33 kB 17 85,220.08 kB 143,808.85 kB 18 144,262.08 kB 186,240.50 kB 19 200,493.67 kB 215,793.56 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 15 23 0 0 0 Mar 16 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 15 23 0 0 Mar 16 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
- 11,597,144 Total read queries
- 5,477,149 Total write queries
Queries by database
Key values
- unknown Main database
- 19,572,920 Requests
- 10d1h17m48s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 19,572,920 Requests
User Request type Count Duration unknown Total 19,572,920 10d1h17m48s copy from 1 1ms cte 24,225 8s781ms ddl 2,981 511ms delete 12,602 12m2s insert 1,202,522 9m3s others 2,498,627 2m27s select 11,597,144 9d23h39m37s tcl 3,958,923 3m33s update 275,895 1h10m54s Duration by user
Key values
- 10d1h17m48s (unknown) Main time consuming user
User Request type Count Duration unknown Total 19,572,920 10d1h17m48s copy from 1 1ms cte 24,225 8s781ms ddl 2,981 511ms delete 12,602 12m2s insert 1,202,522 9m3s others 2,498,627 2m27s select 11,597,144 9d23h39m37s tcl 3,958,923 3m33s update 275,895 1h10m54s Queries by host
Key values
- unknown Main host
- 19,572,920 Requests
- 10d1h17m48s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 19,572,920 Requests
- 10d1h17m48s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-03-15 23:08:46 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 17,707,444 0-1ms duration
Slowest individual queries
Rank Duration Query 1 2m19s update shipping_policy set count_search = 1 where id = 6389762;[ Date: 2025-03-16 14:16:34 ]
2 2m10s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-16 14:05:31.565006', "write_uid" = 837 WHERE id IN (45222163);[ Date: 2025-03-16 15:07:46 ]
3 2m4s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-16 15:48:37.845244', "write_uid" = 1238 WHERE id IN (45176053);[ Date: 2025-03-16 16:50:44 ]
4 2m3s update shipping_policy set count_search = 4 where id = 6094152;[ Date: 2025-03-16 13:15:23 ]
5 1m58s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-16 16:08:26.770945', "write_uid" = 1038 WHERE id IN (45248722);[ Date: 2025-03-16 17:10:28 ]
6 1m49s update shipping_policy set count_search = 3 where id = 6120176;[ Date: 2025-03-16 12:58:21 ]
7 1m46s update shipping_policy set count_search = 1 where id = 6389762;[ Date: 2025-03-16 14:14:54 ]
8 1m41s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-16 12:07:37.392294', "write_uid" = 1452 WHERE id IN (44739661);[ Date: 2025-03-16 13:09:24 ]
9 1m30s update shipping_policy set d_date = '2025-03-16' where id = 6251382;[ Date: 2025-03-16 13:12:22 ]
10 1m24s UPDATE "shipping_policy" SET "notes" = 'جرد عبدالرازق 16-3-2025 تاجيلات منيا القمح', "write_date" = '2025-03-16 12:26:58.906842', "write_uid" = 934 WHERE id IN (6361028, 6360991, 6354024, 6354015, 6353397, 6351421, 6351381, 6338026, 6323433, 6320217, 6306862, 6221852, 6221830, 6218928, 6199080, 6194412, 6179241, 6156075, 6118328, 6112623, 6108412, 6094076, 6077231, 6077039, 6073567, 6039980, 6039878, 6023463, 6008711, 6006170, 5997185, 5983691, 5951962, 5846377, 5775351, 5753793, 5742284, 5725032, 5557888, 5472104, 5333611);[ Date: 2025-03-16 13:28:23 ]
11 1m23s 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-16 11:04:11 ]
12 1m20s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-16 14:02:30.814567', "write_uid" = 837 WHERE id IN (45222163);[ Date: 2025-03-16 15:04:03 ]
13 1m19s 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-16 10:41:44 ]
14 1m13s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-16 12:06:02.424345', "write_uid" = 1452 WHERE id IN (44739661);[ Date: 2025-03-16 13:07:23 ]
15 1m11s delete from cash_policy_line where id = 2401111;[ Date: 2025-03-16 12:40:25 ]
16 1m11s delete from cash_policy_line where id = 2395123;[ Date: 2025-03-16 13:09:25 ]
17 1m11s 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-16 11:02:01 ]
18 1m10s delete from cash_policy_line where id = 2386178;[ Date: 2025-03-16 13:43:24 ]
19 1m9s delete from cash_policy_line where id = 2373488;[ Date: 2025-03-16 12:45:23 ]
20 1m7s 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-16 09:51:33 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 5d6h59m58s 304,119 698ms 9s13ms 1s503ms 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 15 23 11,271 3h10m32s 1s14ms Mar 16 00 8,331 2h12m10s 951ms 01 11,346 3h4m27s 975ms 02 9,850 2h29m19s 909ms 03 3,487 44m25s 764ms 04 9,794 2h9m26s 792ms 05 10,206 2h21m53s 834ms 06 13,037 3h6m42s 859ms 07 10,561 2h25m28s 826ms 08 8,666 2h8m29s 889ms 09 16,227 4h55m31s 1s92ms 10 21,843 8h4m23s 1s330ms 11 25,725 12h35m43s 1s762ms 12 26,017 19h37m22s 2s715ms 13 24,961 18h1m32s 2s599ms 14 27,019 21h8m5s 2s815ms 15 21,931 7h24m43s 1s216ms 16 13,140 3h10m48s 871ms 17 6,911 1h44m29s 907ms 18 10,991 2h51m7s 934ms 19 12,805 3h33m15s 999ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6405682)) AND (("shipping_track"."id" not in (53500287, 53500287)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:32:08 Duration: 9s13ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6405683)) AND (("shipping_track"."id" not in (53500290, 53500290)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:32:08 Duration: 8s928ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6405501)) AND (("shipping_track"."id" not in (53493352, 53493352)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:16:30 Duration: 8s910ms
2 1d5h56m20s 56,204 711ms 10s330ms 1s917ms 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 15 23 1,961 32m15s 986ms Mar 16 00 729 11m24s 939ms 01 1,481 23m28s 950ms 02 933 14m57s 961ms 03 128 1m48s 846ms 04 147 2m11s 896ms 05 377 5m32s 882ms 06 558 8m20s 896ms 07 262 3m57s 904ms 08 707 10m59s 932ms 09 3,062 59m34s 1s167ms 10 5,210 2h10m58s 1s508ms 11 6,263 3h32m49s 2s38ms 12 6,764 5h41m31s 3s29ms 13 6,409 5h13m29s 2s934ms 14 6,485 6h4m21s 3s371ms 15 5,494 1h55m39s 1s263ms 16 3,068 45m 880ms 17 1,281 18m59s 889ms 18 2,046 31m45s 931ms 19 2,839 47m15s 998ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6392393, 6390198, 6388181, 6388086, 6386467, 6385956, 6382454, 6379514)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:42:56 Duration: 10s330ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6307407, 6307163, 6347027, 6338684, 6347195, 6355811, 6351733, 6294737)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:28:23 Duration: 10s123ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6362861, 6266761, 6265149, 6257279, 6243889, 6243871, 6243606)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 12:26:16 Duration: 9s776ms
3 23h45m21s 140,193 267ms 5s671ms 610ms 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 15 23 1,181 7m3s 358ms Mar 16 00 1,353 7m34s 335ms 01 2,082 12m13s 352ms 02 2,717 17m12s 380ms 03 1,639 8m11s 300ms 04 2,823 14m19s 304ms 05 2,875 15m20s 320ms 06 3,536 20m14s 343ms 07 6,108 33m22s 327ms 08 6,709 39m44s 355ms 09 13,999 1h42m50s 440ms 10 11,805 1h44m3s 528ms 11 8,221 1h25m15s 622ms 12 13,562 3h36m40s 958ms 13 15,602 4h13m6s 973ms 14 14,554 4h29m18s 1s110ms 15 8,417 1h10m13s 500ms 16 4,308 26m24s 367ms 17 2,042 11m45s 345ms 18 9,071 59m2s 390ms 19 7,589 51m22s 406ms -
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" = '1077085')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-16 13:26:26 Duration: 5s671ms
-
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" = '1052212')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-16 12:44:08 Duration: 3s335ms
-
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" = '1172832')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-16 14:29:32 Duration: 3s313ms
4 8h44m21s 24,370 905ms 3s609ms 1s290ms 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 15 23 2,737 55m48s 1s223ms Mar 16 00 1,937 36m52s 1s142ms 01 2,484 48m37s 1s174ms 02 1,074 21m3s 1s176ms 03 373 6m58s 1s121ms 04 2,007 37m51s 1s132ms 05 2,292 43m15s 1s132ms 06 2,592 49m56s 1s156ms 07 1,116 21m3s 1s132ms 08 663 13m19s 1s205ms 09 900 20m50s 1s389ms 10 203 5m20s 1s580ms 11 415 13m19s 1s926ms 12 371 13m46s 2s227ms 13 727 28m23s 2s343ms 14 453 18m29s 2s448ms 15 875 24m 1s646ms 16 511 10m40s 1s254ms 17 556 10m29s 1s132ms 18 1,013 20m30s 1s214ms 19 1,071 23m42s 1s328ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '350140')) AND ("policy_number"."package_id" = 2)) 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-16 14:24:05 Duration: 3s609ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '153583')) AND ("policy_number"."package_id" = 2)) 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-16 14:38:08 Duration: 3s359ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '153580')) AND ("policy_number"."package_id" = 2)) 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-16 14:38:22 Duration: 3s274ms
5 8h1m2s 34,072 292ms 4s683ms 847ms 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 16 07 596 3m58s 400ms 08 1,079 8m32s 475ms 09 5,029 46m21s 553ms 10 4,076 45m45s 673ms 11 1,877 25m3s 800ms 12 4,915 1h38m24s 1s201ms 13 5,139 1h43m23s 1s207ms 14 3,979 1h20m25s 1s212ms 15 3,116 33m51s 651ms 16 2,023 16m45s 497ms 17 933 7m11s 462ms 18 1,084 9m29s 525ms 19 226 1m49s 485ms -
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" = '570645')))) 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-16 14:23:55 Duration: 4s683ms
-
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" = '679181')))) 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-16 14:24:04 Duration: 4s610ms
-
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" = '269483')))) 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-16 14:34:14 Duration: 4s597ms
6 5h44m33s 174,814 50ms 856ms 118ms 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 15 23 7,054 9m58s 84ms Mar 16 00 3,642 4m52s 80ms 01 5,660 7m45s 82ms 02 4,346 5m5s 70ms 03 1,340 1m28s 65ms 04 3,622 4m 66ms 05 3,130 3m30s 67ms 06 4,238 4m48s 68ms 07 2,922 3m16s 67ms 08 3,328 3m49s 68ms 09 11,208 16m 85ms 10 15,729 27m18s 104ms 11 16,404 34m49s 127ms 12 15,545 46m44s 180ms 13 17,193 54m6s 188ms 14 20,847 1h5m32s 188ms 15 15,423 23m42s 92ms 16 7,555 8m32s 67ms 17 4,044 4m39s 69ms 18 5,574 6m44s 72ms 19 6,010 7m47s 77ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6401680)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-16 13:19:22 Duration: 856ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6259831, 6259822, 6213640, 6199337, 6197519, 6157387, 6152723, 5990301)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-16 13:46:10 Duration: 685ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6384780, 6384616, 6384544, 6384334, 6384327, 6384307, 6384305, 6384284)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-16 14:17:23 Duration: 628ms
7 5h15m21s 66,868 95ms 1s337ms 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 15 23 7,036 30m17s 258ms Mar 16 00 5,712 23m3s 242ms 01 6,231 24m43s 238ms 02 3,514 14m21s 245ms 03 786 2m56s 224ms 04 3,988 14m16s 214ms 05 4,558 16m45s 220ms 06 5,144 19m57s 232ms 07 2,198 8m13s 224ms 08 1,544 6m41s 259ms 09 1,824 9m24s 309ms 10 768 4m43s 368ms 11 1,047 8m25s 482ms 12 989 9m53s 600ms 13 1,561 16m47s 645ms 14 1,252 13m41s 655ms 15 3,329 19m51s 357ms 16 3,556 14m52s 251ms 17 5,056 21m50s 259ms 18 3,432 16m59s 296ms 19 3,343 17m35s 315ms -
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-16 13:20:00 Duration: 1s337ms
-
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-16 14:00:30 Duration: 1s97ms
-
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-16 11:58:31 Duration: 1s72ms
8 3h58m19s 20,215 273ms 3s131ms 707ms 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 #8
Day Hour Count Duration Avg duration Mar 15 23 614 3m40s 358ms Mar 16 00 588 3m20s 341ms 01 251 1m27s 349ms 02 451 2m53s 384ms 03 246 1m12s 294ms 04 400 2m1s 304ms 05 280 1m31s 328ms 06 968 5m29s 340ms 07 1,181 6m32s 332ms 08 1,163 6m57s 359ms 09 1,663 12m42s 458ms 10 2,058 19m6s 557ms 11 1,415 17m3s 723ms 12 1,791 31m42s 1s62ms 13 3,014 54m32s 1s85ms 14 2,759 56m30s 1s228ms 15 997 9m3s 544ms 16 31 16s33ms 517ms 18 177 1m7s 382ms 19 168 1m7s 399ms -
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" = '1070959')) 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-16 14:40:46 Duration: 3s131ms
-
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" = '1054960')) 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, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-16 14:39:48 Duration: 3s117ms
-
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" = '1145777')) 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-16 14:37:04 Duration: 3s115ms
9 3h13m20s 9,542 745ms 2s913ms 1s215ms 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 #9
Day Hour Count Duration Avg duration Mar 15 23 826 15m22s 1s117ms Mar 16 00 953 16m52s 1s62ms 01 655 11m56s 1s94ms 02 700 13m14s 1s134ms 03 25 26s14ms 1s40ms 05 25 24s84ms 963ms 06 7 6s798ms 971ms 08 122 2m16s 1s118ms 09 36 52s353ms 1s454ms 10 198 5m11s 1s574ms 11 119 3m38s 1s832ms 12 142 4m41s 1s984ms 13 78 3m6s 2s392ms 14 198 7m20s 2s223ms 15 826 20m25s 1s483ms 16 1,285 24m26s 1s141ms 17 2,007 36m18s 1s85ms 18 725 13m54s 1s150ms 19 615 12m44s 1s242ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1032357')) 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 (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-16 14:28:17 Duration: 2s913ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1109414')) 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 (75))))))) AND ("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 (75)))))) 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 (75)))))) 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 (75))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-16 14:23:55 Duration: 2s911ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1138103')) 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 (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-16 14:30:32 Duration: 2s908ms
10 2h52m 72,612 63ms 658ms 142ms 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 #10
Day Hour Count Duration Avg duration Mar 15 23 99 8s803ms 88ms Mar 16 00 19 1s663ms 87ms 07 828 1m2s 75ms 08 2,620 3m30s 80ms 09 9,568 15m17s 95ms 10 8,341 15m48s 113ms 11 4,814 11m44s 146ms 12 7,144 23m28s 197ms 13 12,158 37m37s 185ms 14 11,776 37m28s 190ms 15 6,153 12m39s 123ms 16 4,364 6m37s 91ms 17 2,036 2m44s 80ms 18 1,801 2m33s 85ms 19 891 1m16s 86ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6353215) 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-16 14:21:51 Duration: 658ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5753981) 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-16 11:04:03 Duration: 530ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6108352) 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-16 14:14:08 Duration: 530ms
11 2h18m6s 26,845 123ms 1s219ms 308ms 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 #11
Day Hour Count Duration Avg duration Mar 15 23 1,377 3m55s 170ms Mar 16 00 1,427 3m41s 155ms 01 274 45s635ms 166ms 02 62 11s692ms 188ms 05 48 8s134ms 169ms 08 148 23s911ms 161ms 09 1,377 4m30s 196ms 10 2,751 11m42s 255ms 11 3,477 18m37s 321ms 12 2,982 22m20s 449ms 13 2,558 21m6s 495ms 14 3,024 27m34s 547ms 15 2,596 10m7s 233ms 16 1,632 4m24s 161ms 17 482 1m15s 157ms 18 1,425 3m49s 160ms 19 1,205 3m31s 175ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8354573)) AND (("cash_track"."id" not in (9568176)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-16 13:21:14 Duration: 1s219ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8354933)) AND (("cash_track"."id" not in (9571555)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-16 13:58:25 Duration: 1s218ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8354967)) AND (("cash_track"."id" not in (9571668)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-16 14:02:29 Duration: 1s203ms
12 1h36m14s 6,479 281ms 3s114ms 891ms 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 #12
Day Hour Count Duration Avg duration Mar 15 23 18 5s908ms 328ms Mar 16 00 14 4s564ms 326ms 06 406 2m30s 370ms 08 807 5m 372ms 09 148 1m2s 425ms 11 952 9m11s 579ms 12 1,912 33m31s 1s52ms 13 1,091 20m35s 1s132ms 14 1,131 24m11s 1s283ms -
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" = '1211351')) 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-16 14:40:21 Duration: 3s114ms
-
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" = '1056777')) 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-16 14:37:23 Duration: 3s100ms
-
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" = '1135713')) 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-16 14:37:46 Duration: 3s95ms
13 1h9m48s 7,271 242ms 2s754ms 576ms 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 #13
Day Hour Count Duration Avg duration Mar 16 00 66 22s788ms 345ms 01 231 1m20s 349ms 03 2 492ms 246ms 08 549 2m55s 320ms 09 1,770 11m38s 394ms 10 952 8m36s 542ms 11 832 7m50s 565ms 12 910 12m34s 829ms 13 536 8m43s 976ms 14 549 9m32s 1s42ms 15 302 2m40s 532ms 16 221 1m19s 358ms 17 26 8s667ms 333ms 18 135 46s387ms 343ms 19 190 1m16s 404ms -
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" = '587681')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-16 14:39:16 Duration: 2s754ms
-
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" = '539628')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-16 14:24:06 Duration: 2s753ms
-
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" = '1016915')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-16 14:39:33 Duration: 2s749ms
14 56m3s 28,983 56ms 472ms 116ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 16 07 460 31s708ms 68ms 08 1,303 1m36s 74ms 09 4,715 6m57s 88ms 10 4,224 7m 99ms 11 2,015 4m34s 136ms 12 3,103 8m29s 164ms 13 2,220 5m59s 161ms 14 3,300 9m13s 167ms 15 3,021 5m26s 108ms 16 2,386 3m22s 84ms 17 997 1m13s 73ms 18 1,010 1m20s 79ms 19 229 17s506ms 76ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6064813) ORDER BY "collection_policy"."id";
Date: 2025-03-16 13:16:16 Duration: 472ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6249726) ORDER BY "collection_policy"."id";
Date: 2025-03-16 12:47:37 Duration: 441ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6042389) ORDER BY "collection_policy"."id";
Date: 2025-03-16 13:59:36 Duration: 424ms
15 55m34s 14,655 156ms 592ms 227ms 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 #15
Day Hour Count Duration Avg duration Mar 15 23 363 1m38s 271ms Mar 16 00 646 2m43s 252ms 01 1,358 6m5s 269ms 02 2,168 8m54s 246ms 03 1,386 4m46s 206ms 04 2,131 7m47s 219ms 05 2,497 8m36s 206ms 06 2,142 7m51s 219ms 07 1,659 6m2s 218ms 08 305 1m9s 228ms -
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" = '1075495')) 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, 36, 37, 40, 41, 42, 43, 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-16 02:00:14 Duration: 592ms
-
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" = '1189262')) 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-16 08:00:14 Duration: 505ms
-
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" = '1189484')) 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-16 02:22:05 Duration: 489ms
16 54m54s 5,978 121ms 1s385ms 551ms 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 #16
Day Hour Count Duration Avg duration Mar 15 23 147 23s888ms 162ms Mar 16 00 80 11s890ms 148ms 01 125 19s783ms 158ms 02 30 4s900ms 163ms 03 56 7s379ms 131ms 04 31 4s168ms 134ms 08 17 2s595ms 152ms 09 314 1m10s 225ms 10 627 4m39s 445ms 11 1,093 10m13s 560ms 12 1,140 14m19s 754ms 13 664 8m32s 771ms 14 744 10m54s 879ms 15 428 2m24s 336ms 16 252 40s369ms 160ms 17 45 8s43ms 178ms 18 85 16s290ms 191ms 19 100 21s687ms 216ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 27)) 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-16 13:15:52 Duration: 1s385ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 3)) 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-16 14:33:23 Duration: 1s376ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 39)) 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-16 14:32:45 Duration: 1s376ms
17 53m20s 2,435 29ms 2s968ms 1s314ms 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 #17
Day Hour Count Duration Avg duration Mar 15 23 51 39s794ms 780ms Mar 16 00 22 11s161ms 507ms 01 6 1s614ms 269ms 02 3 1s670ms 556ms 03 2 78ms 39ms 04 1 781ms 781ms 07 1 1s384ms 1s384ms 08 29 11s219ms 386ms 09 96 1m25s 894ms 10 208 3m50s 1s108ms 11 272 6m20s 1s400ms 12 376 9m34s 1s526ms 13 437 10m36s 1s455ms 14 326 8m43s 1s606ms 15 228 5m1s 1s324ms 16 116 1m59s 1s26ms 17 45 40s446ms 898ms 18 121 2m7s 1s54ms 19 95 1m52s 1s182ms -
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 (3)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3))))) 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-16 13:19:26 Duration: 2s968ms
-
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 (46)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (46))))) 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-16 14:40:49 Duration: 2s809ms
-
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-16 14:37:03 Duration: 2s782ms
18 53m11s 2,614 345ms 5s807ms 1s220ms 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 #18
Day Hour Count Duration Avg duration Mar 15 23 63 29s304ms 465ms Mar 16 00 49 20s773ms 423ms 01 70 31s211ms 445ms 02 44 22s147ms 503ms 03 47 17s973ms 382ms 04 51 19s644ms 385ms 05 75 32s108ms 428ms 06 86 39s721ms 461ms 07 71 29s698ms 418ms 08 70 32s359ms 462ms 09 157 1m53s 720ms 10 152 2m37s 1s34ms 11 139 3m42s 1s601ms 12 320 10m51s 2s37ms 13 321 11m46s 2s200ms 14 288 11m20s 2s361ms 15 220 3m9s 863ms 16 123 59s413ms 483ms 17 41 18s975ms 462ms 18 138 1m6s 482ms 19 89 49s875ms 560ms -
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 ('91474', '1027276', '919677', '611561', '611544', '9761536', '1027295', '851527');
Date: 2025-03-16 12:14:05 Duration: 5s807ms
-
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 ('750468', '864983', '729509', '298680', '975582', '962572', '716954');
Date: 2025-03-16 14:02:06 Duration: 5s646ms
-
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 ('1111188', '1109077', '1087244', '996535', '587479', '8906378', '');
Date: 2025-03-16 13:32:31 Duration: 5s514ms
19 46m10s 3,695 287ms 3s84ms 749ms 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 #19
Day Hour Count Duration Avg duration Mar 16 00 16 5s620ms 351ms 01 231 1m19s 344ms 03 2 578ms 289ms 08 105 35s893ms 341ms 09 194 1m30s 465ms 10 402 4m5s 610ms 11 349 3m51s 662ms 12 546 9m24s 1s33ms 13 452 8m5s 1s74ms 14 529 10m43s 1s217ms 15 297 2m48s 567ms 16 221 1m21s 369ms 17 26 9s350ms 359ms 18 135 48s749ms 361ms 19 190 1m19s 420ms -
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" = '1100523')) 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-16 14:37:53 Duration: 3s84ms
-
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" = '1100524')) 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-16 14:37:59 Duration: 3s83ms
-
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" = '1100501')) 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-16 14:37:25 Duration: 3s36ms
20 39m29s 56 221ms 1m23s 42s307ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 16 01 3 2s111ms 703ms 02 4 2s918ms 729ms 08 3 1m42s 34s281ms 09 3 3m7s 1m2s 10 3 3m11s 1m3s 11 2 2m34s 1m17s 12 3 9s216ms 3s72ms 13 2 1s268ms 634ms 16 2 1m46s 53s206ms 17 10 8m26s 50s608ms 18 12 10m28s 52s397ms 19 9 7m55s 52s852ms -
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-16 11:04:11 Duration: 1m23s
-
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-16 10:41:44 Duration: 1m19s
-
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-16 11:02:01 Duration: 1m11s
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,496,935 2m27s 0ms 2ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 15 23 92,829 4s558ms 0ms Mar 16 00 72,160 3s608ms 0ms 01 68,058 3s624ms 0ms 02 48,843 1s998ms 0ms 03 34,266 1s447ms 0ms 04 39,299 1s982ms 0ms 05 47,039 2s16ms 0ms 06 58,706 2s746ms 0ms 07 49,196 2s365ms 0ms 08 117,877 5s425ms 0ms 09 148,442 9s317ms 0ms 10 205,001 14s852ms 0ms 11 227,233 15s720ms 0ms 12 241,536 15s337ms 0ms 13 210,615 11s276ms 0ms 14 219,419 13s936ms 0ms 15 183,135 13s410ms 0ms 16 134,234 8s265ms 0ms 17 82,719 3s576ms 0ms 18 120,290 6s547ms 0ms 19 96,038 5s612ms 0ms -
DISCARD ALL;
Date: 2025-03-16 14:17:37 Duration: 2ms
-
DISCARD ALL;
Date: 2025-03-16 15:43:25 Duration: 2ms
-
DISCARD ALL;
Date: 2025-03-16 10:49:54 Duration: 2ms
2 1,980,204 42s963ms 0ms 17ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 15 23 71,390 1s192ms 0ms Mar 16 00 52,892 892ms 0ms 01 49,891 903ms 0ms 02 35,528 585ms 0ms 03 23,304 381ms 0ms 04 27,147 501ms 0ms 05 35,012 572ms 0ms 06 45,604 768ms 0ms 07 36,439 638ms 0ms 08 103,640 1s640ms 0ms 09 121,414 2s602ms 0ms 10 168,561 4s179ms 0ms 11 184,656 4s848ms 0ms 12 196,362 4s989ms 0ms 13 173,152 4s1ms 0ms 14 182,356 4s952ms 0ms 15 147,040 3s485ms 0ms 16 103,064 1s900ms 0ms 17 58,112 892ms 0ms 18 91,194 1s594ms 0ms 19 73,446 1s437ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-16 02:49:42 Duration: 17ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-16 16:33:34 Duration: 2ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-16 10:40:55 Duration: 2ms
3 1,266,648 17s40ms 0ms 1ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 15 23 47,340 520ms 0ms Mar 16 00 36,787 381ms 0ms 01 34,747 377ms 0ms 02 25,089 263ms 0ms 03 17,867 164ms 0ms 04 20,217 209ms 0ms 05 24,154 260ms 0ms 06 30,049 331ms 0ms 07 25,201 263ms 0ms 08 59,854 646ms 0ms 09 75,141 974ms 0ms 10 103,479 1s490ms 0ms 11 114,797 1s766ms 0ms 12 121,944 1s977ms 0ms 13 106,436 1s784ms 0ms 14 111,014 1s954ms 0ms 15 92,623 1s273ms 0ms 16 67,984 748ms 0ms 17 42,053 421ms 0ms 18 61,106 661ms 0ms 19 48,766 567ms 0ms -
ROLLBACK;
Date: 2025-03-16 05:20:08 Duration: 1ms
-
ROLLBACK;
Date: 2025-03-16 13:21:37 Duration: 1ms
-
ROLLBACK;
Date: 2025-03-16 12:55:04 Duration: 1ms
4 1,257,530 5m21s 0ms 31ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 15 23 46,778 10s498ms 0ms Mar 16 00 36,243 7s902ms 0ms 01 34,192 7s867ms 0ms 02 24,597 5s544ms 0ms 03 17,282 3s178ms 0ms 04 19,642 4s508ms 0ms 05 23,594 5s259ms 0ms 06 29,427 6s667ms 0ms 07 24,665 5s461ms 0ms 08 59,209 13s411ms 0ms 09 74,989 19s733ms 0ms 10 103,689 28s663ms 0ms 11 114,940 34s131ms 0ms 12 121,627 34s269ms 0ms 13 105,302 28s272ms 0ms 14 110,664 32s88ms 0ms 15 92,660 24s703ms 0ms 16 67,676 15s309ms 0ms 17 41,501 8s885ms 0ms 18 60,474 13s686ms 0ms 19 48,379 11s557ms 0ms -
SELECT payload FROM http_sessions WHERE sid = '56c5644937b6f31e4eb9f349a63010971a190030';
Date: 2025-03-16 13:38:42 Duration: 31ms
-
SELECT payload FROM http_sessions WHERE sid = '7d4b83dea5ae00aeafa84c0bad2a9a8f83d58ee5';
Date: 2025-03-16 12:19:43 Duration: 29ms
-
SELECT payload FROM http_sessions WHERE sid = '3f3a0fabcb28e0e73589fbfd0a4362824d4e35c7';
Date: 2025-03-16 13:55:13 Duration: 26ms
5 1,247,623 2m27s 0ms 35ms 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 15 23 46,441 4s634ms 0ms Mar 16 00 36,101 3s429ms 0ms 01 34,046 3s367ms 0ms 02 24,470 2s425ms 0ms 03 17,164 1s489ms 0ms 04 19,699 1s944ms 0ms 05 23,595 2s374ms 0ms 06 29,397 2s975ms 0ms 07 24,643 2s455ms 0ms 08 58,953 5s970ms 0ms 09 74,146 8s562ms 0ms 10 102,441 12s720ms 0ms 11 113,587 15s93ms 0ms 12 120,490 16s241ms 0ms 13 104,888 14s149ms 0ms 14 109,529 16s8ms 0ms 15 91,468 11s336ms 0ms 16 67,076 6s998ms 0ms 17 41,432 3s917ms 0ms 18 60,091 6s97ms 0ms 19 47,966 5s223ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-16 13:55:13 Duration: 35ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-16 14:18:37 Duration: 3ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-16 14:37:47 Duration: 3ms
6 712,068 2m33s 0ms 62ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 15 23 24,047 4s57ms 0ms Mar 16 00 16,103 2s445ms 0ms 01 15,144 2s875ms 0ms 02 10,429 2s33ms 0ms 03 5,434 861ms 0ms 04 6,931 1s555ms 0ms 05 10,856 2s38ms 0ms 06 15,555 2s389ms 0ms 07 11,239 1s999ms 0ms 08 43,779 6s540ms 0ms 09 46,270 9s468ms 0ms 10 65,081 15s93ms 0ms 11 69,834 17s664ms 0ms 12 73,967 18s555ms 0ms 13 66,045 16s424ms 0ms 14 71,013 19s169ms 0ms 15 54,437 12s361ms 0ms 16 35,086 6s414ms 0ms 17 16,054 2s616ms 0ms 18 30,080 4s686ms 0ms 19 24,684 4s483ms 0ms -
COMMIT;
Date: 2025-03-16 12:55:26 Duration: 62ms
-
COMMIT;
Date: 2025-03-16 11:10:04 Duration: 49ms
-
COMMIT;
Date: 2025-03-16 11:30:17 Duration: 46ms
7 633,328 2m14s 0ms 15ms 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 15 23 19,542 2s879ms 0ms Mar 16 00 13,752 1s878ms 0ms 01 16,361 2s420ms 0ms 02 10,156 1s602ms 0ms 03 3,289 435ms 0ms 04 8,331 1s146ms 0ms 05 11,785 1s647ms 0ms 06 16,616 2s537ms 0ms 07 10,885 1s557ms 0ms 08 64,776 6s748ms 0ms 09 37,935 7s953ms 0ms 10 60,878 15s314ms 0ms 11 63,704 16s871ms 0ms 12 57,092 16s408ms 0ms 13 48,174 14s694ms 0ms 14 56,120 17s282ms 0ms 15 46,428 9s969ms 0ms 16 29,242 4s526ms 0ms 17 15,672 2s135ms 0ms 18 22,385 3s346ms 0ms 19 20,205 3s555ms 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 (5099456, 5101282, 5100667, 5101623, 5099599, 5546251, 5099141, 5100927, 5123762, 5100009, 5099544, 5099887, 5103145, 5105921, 5099008, 5110518, 5178094, 5107075, 5105335, 5113882, 5098996, 5121866, 5105468, 5099376, 5181141, 5182703, 5147499, 5105699, 5099920, 5099464, 5103426, 5102111, 5099906, 5101708, 5099359, 5158064, 5103477, 5139515, 5100872, 5107665, 5099847, 5119699, 5099244, 5099556, 5100166, 5101741, 5100455, 5102795, 5099326, 5100207, 5099305, 5099154, 5104564, 5103583, 5099560, 5099564, 5100476, 5102108, 5109665, 5102171, 5104522, 5102402, 5099727, 5113217, 5102681, 5337441, 5102647, 5100061, 5138735, 5100699, 5196276, 5489089, 5154951, 5099441, 5193920, 5487189, 5555637, 5101295, 5102054, 5557927, 5558091, 5099169, 5101367, 5099761, 5101319, 5099095, 5099037, 5099136, 5099242, 5230729, 5104872, 5555363, 5318080, 5099181, 5118073, 5123910, 5100494, 5099821, 5104274, 5099458, 5099521, 5103662, 5100464, 5100005, 5359593, 5541956, 5099693, 5101316, 5100981, 5100082, 5099826, 5102233, 5113194, 5103784, 5099191, 5491678, 5128988, 5103195, 5526948, 5328330, 5099129, 5262338, 5558061, 5099540, 5107494, 5099707, 5332267, 5114820, 5172962, 5112813, 5100952, 5105588, 5099598, 5110328, 5099203, 5126356, 5102186, 5101246, 5099248);
Date: 2025-03-16 13:19:22 Duration: 15ms
-
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 (5101081, 5102295, 5100551, 5100719, 5099007, 5099010, 5557580, 5557959, 5558431, 5100070, 5102575, 5138511, 5099111, 5099102, 5111900, 5100554, 5099009, 5114312, 5099254, 5103363, 5099558, 5106748, 5101850, 5099035, 5558629, 5123128, 5099264, 5115265, 5099251, 5099186, 5099590, 5245327, 5099187, 5099382, 5099953, 5099028, 5144803, 5225757, 5112874, 5099006, 5108752, 5529854, 5113502, 5099134, 5100421, 5112090, 5101119, 5100662, 5557566, 5099206, 5555953, 5100743, 5100189, 5099333, 5100846, 5252600, 5100376, 5412420, 5100628, 5105264, 5100112, 5100725, 5099045, 5102604, 5495948, 5110982, 5099271, 5099679, 5099170, 5099159, 5099415, 5099090, 5099014, 5209739, 5099523, 5102232, 5099306, 5102421, 5100163, 5100431, 5099263, 5555364, 5100457, 5099119, 5099138, 5138539, 5099103, 5101817, 5103969, 5100916, 5100091, 5099403, 5141487, 5101160, 5100800, 5099144, 5100143, 5099224, 5112204, 5099654, 5099867, 5103199, 5126022, 5099190, 5099137, 5099525, 5099321, 5101388, 5099043, 5100707, 5109094, 5120901, 5099130, 5105549, 5099967, 5099013, 5113475, 5099662, 5555606, 5129592, 5099499);
Date: 2025-03-16 13:19:22 Duration: 13ms
-
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 (5100911, 5099224, 5126587, 5099181, 5101531, 5187560, 5104045, 5100061, 5152365, 5099141, 5099013, 5099095, 5100786, 5099009, 5099007, 5104278, 5557886, 5099243, 5099282, 5370279, 5099010, 5257476, 5100144, 5101638, 5108701, 5122926, 5103426, 5099600, 5099006, 5101169, 5099521, 5099138, 5104863, 5103094, 5131518, 5374478, 5099169, 5099464, 5100001, 5101852, 5099544, 5165076, 5112015, 5100525, 5105759, 5100302, 5100638, 5099186, 5101066, 5099254, 5126994, 5115123, 5102073, 5107837, 5099784, 5113204, 5265547, 5100181, 5149286, 5102611, 5148162, 5100187, 5116762, 5099296, 5158017, 5101461, 5099590, 5099134, 5101969, 5104058, 5558836, 5107451, 5507436, 5122575, 5114634, 5099135, 5099144, 5099348);
Date: 2025-03-16 14:21:50 Duration: 10ms
8 611,884 1m12s 0ms 3ms 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 15 23 20,326 1s394ms 0ms Mar 16 00 11,937 839ms 0ms 01 11,862 871ms 0ms 02 7,596 559ms 0ms 03 2,786 175ms 0ms 04 4,831 310ms 0ms 05 7,860 513ms 0ms 06 12,448 866ms 0ms 07 8,628 578ms 0ms 08 61,969 4s4ms 0ms 09 37,110 4s209ms 0ms 10 56,675 7s629ms 0ms 11 59,914 8s641ms 0ms 12 59,697 9s518ms 0ms 13 52,944 8s769ms 0ms 14 60,212 10s912ms 0ms 15 46,655 5s251ms 0ms 16 29,538 2s317ms 0ms 17 14,454 1s42ms 0ms 18 23,794 1s906ms 0ms 19 20,648 1s917ms 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 (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, 57, 59, 97, 101, 108, 118, 120, 129, 124, 122, 112, 12, 20);
Date: 2025-03-16 14:29:46 Duration: 3ms
-
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, 35);
Date: 2025-03-16 13:23:08 Duration: 3ms
-
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 (17);
Date: 2025-03-16 14:39:31 Duration: 3ms
9 409,464 3m22s 0ms 18ms 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 15 23 10,653 3s851ms 0ms Mar 16 00 6,890 2s350ms 0ms 01 5,184 1s884ms 0ms 02 5,100 1s788ms 0ms 03 3,614 1s125ms 0ms 04 2,306 820ms 0ms 05 3,665 1s308ms 0ms 06 3,926 1s402ms 0ms 07 3,592 1s237ms 0ms 08 12,464 4s382ms 0ms 09 34,006 15s205ms 0ms 10 38,038 19s255ms 0ms 11 27,483 15s375ms 0ms 12 52,179 28s936ms 0ms 13 60,617 33s49ms 0ms 14 58,257 34s926ms 0ms 15 30,639 15s541ms 0ms 16 16,273 6s364ms 0ms 17 6,370 2s309ms 0ms 18 15,290 5s853ms 0ms 19 12,918 5s442ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'money.collection.wizard' 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 = 848) OR r.global) ORDER BY r.id;
Date: 2025-03-16 14:35:54 Duration: 18ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'shipping.track' 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 = 837) OR r.global) ORDER BY r.id;
Date: 2025-03-16 14:25:18 Duration: 10ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.country.state' 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 = 926) OR r.global) ORDER BY r.id;
Date: 2025-03-16 10:57:46 Duration: 5ms
10 402,043 1m52s 0ms 26ms 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 15 23 13,388 2s696ms 0ms Mar 16 00 7,844 1s580ms 0ms 01 7,480 1s468ms 0ms 02 4,887 1s55ms 0ms 03 2,370 408ms 0ms 04 2,846 587ms 0ms 05 5,163 1s20ms 0ms 06 7,756 1s560ms 0ms 07 6,069 1s106ms 0ms 08 35,207 7s197ms 0ms 09 26,680 6s684ms 0ms 10 36,834 10s833ms 0ms 11 39,325 12s687ms 0ms 12 39,606 13s965ms 0ms 13 37,649 13s375ms 0ms 14 41,349 15s504ms 0ms 15 29,815 8s534ms 0ms 16 19,040 4s20ms 0ms 17 8,665 1s722ms 0ms 18 16,265 3s364ms 0ms 19 13,805 3s245ms 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 (8004724);
Date: 2025-03-16 11:36:51 Duration: 26ms
-
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 (2);
Date: 2025-03-16 13:19:21 Duration: 24ms
-
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 (8006327);
Date: 2025-03-16 13:19:21 Duration: 14ms
11 337,840 48s26ms 0ms 4ms 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 #11
Day Hour Count Duration Avg duration Mar 15 23 11,147 1s94ms 0ms Mar 16 00 6,830 740ms 0ms 01 6,471 661ms 0ms 02 4,233 497ms 0ms 03 2,012 246ms 0ms 04 2,575 324ms 0ms 05 4,388 491ms 0ms 06 6,794 743ms 0ms 07 5,144 531ms 0ms 08 33,045 2s693ms 0ms 09 21,625 2s752ms 0ms 10 31,511 4s807ms 0ms 11 33,014 5s509ms 0ms 12 32,732 5s911ms 0ms 13 29,786 5s452ms 0ms 14 32,778 6s728ms 0ms 15 24,943 3s644ms 0ms 16 16,181 1s669ms 0ms 17 7,361 760ms 0ms 18 13,685 1s390ms 0ms 19 11,585 1s376ms 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 (1463, 1238, 1451, 961, 1275, 1089, 953, 1452, 924, 1029, 905);
Date: 2025-03-16 14:23:50 Duration: 4ms
-
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 (1081, 1113, 981, 1123, 1294, 1074, 1076, 1034, 966, 1509, 1080, 1082, 1011, 1015, 1102, 1310, 1295, 1387, 1083, 989, 915, 1079, 1075, 1211, 1066, 1111, 1077, 1078);
Date: 2025-03-16 14:13:04 Duration: 4ms
-
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 (824);
Date: 2025-03-16 14:35:56 Duration: 4ms
12 324,050 1m29s 0ms 3ms 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 #12
Day Hour Count Duration Avg duration Mar 15 23 8,521 1s520ms 0ms Mar 16 00 5,660 910ms 0ms 01 4,652 746ms 0ms 02 4,956 861ms 0ms 03 3,807 550ms 0ms 04 2,174 324ms 0ms 05 3,325 518ms 0ms 06 4,405 681ms 0ms 07 3,761 576ms 0ms 08 12,497 2s317ms 0ms 09 26,789 6s795ms 0ms 10 27,961 7s971ms 0ms 11 20,827 6s25ms 0ms 12 40,623 13s492ms 0ms 13 49,134 16s814ms 0ms 14 45,435 16s429ms 0ms 15 22,017 5s831ms 0ms 16 12,040 2s340ms 0ms 17 4,281 753ms 0ms 18 11,592 2s155ms 0ms 19 9,593 2s34ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 905 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_public' AND model = 'res.groups');
Date: 2025-03-16 13:03:57 Duration: 3ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1375 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-16 14:14:42 Duration: 3ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1459 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_system' AND model = 'res.groups');
Date: 2025-03-16 13:03:57 Duration: 3ms
13 304,119 5d6h59m58s 698ms 9s13ms 1s503ms 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 15 23 11,271 3h10m32s 1s14ms Mar 16 00 8,331 2h12m10s 951ms 01 11,346 3h4m27s 975ms 02 9,850 2h29m19s 909ms 03 3,487 44m25s 764ms 04 9,794 2h9m26s 792ms 05 10,206 2h21m53s 834ms 06 13,037 3h6m42s 859ms 07 10,561 2h25m28s 826ms 08 8,666 2h8m29s 889ms 09 16,227 4h55m31s 1s92ms 10 21,843 8h4m23s 1s330ms 11 25,725 12h35m43s 1s762ms 12 26,017 19h37m22s 2s715ms 13 24,961 18h1m32s 2s599ms 14 27,019 21h8m5s 2s815ms 15 21,931 7h24m43s 1s216ms 16 13,140 3h10m48s 871ms 17 6,911 1h44m29s 907ms 18 10,991 2h51m7s 934ms 19 12,805 3h33m15s 999ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6405682)) AND (("shipping_track"."id" not in (53500287, 53500287)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:32:08 Duration: 9s13ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6405683)) AND (("shipping_track"."id" not in (53500290, 53500290)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:32:08 Duration: 8s928ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6405501)) AND (("shipping_track"."id" not in (53493352, 53493352)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:16:30 Duration: 8s910ms
14 291,606 1m47s 0ms 32ms 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 15 23 11,382 3s74ms 0ms Mar 16 00 9,611 2s100ms 0ms 01 8,056 2s538ms 0ms 02 4,831 1s466ms 0ms 03 1,422 404ms 0ms 04 4,019 1s141ms 0ms 05 5,537 1s592ms 0ms 06 7,488 2s251ms 0ms 07 4,664 1s321ms 0ms 08 30,719 4s908ms 0ms 09 15,384 5s899ms 0ms 10 25,655 10s741ms 0ms 11 26,459 12s360ms 0ms 12 24,701 12s636ms 0ms 13 22,098 12s540ms 0ms 14 24,311 13s225ms 0ms 15 21,388 7s730ms 0ms 16 13,987 3s759ms 0ms 17 7,936 2s87ms 0ms 18 11,907 2s964ms 0ms 19 10,051 3s15ms 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 (45137424, 45256108, 45150484, 45136149, 45097549, 45195466, 45063809, 45035274, 45018022, 45043701, 45194415, 45195876, 45017365, 45141395, 45037741, 45202302, 45158770, 45129934, 45029441, 45162568, 45230072, 45033583, 45198077, 45063805, 44802227, 45253720, 45177927, 44999891, 45022753, 45028448, 45172164, 45033701, 45061961, 45118743, 44599201, 45181843, 44830499, 45063807, 45121712, 45035995, 45207303, 45014712, 45195935, 45195570, 45084190, 44687060, 45171125, 32475467, 45219423, 45235020, 45153227, 45111963, 44985660, 45203907, 45003907, 45256680, 45099472, 44830495, 44831645, 45111541, 45111946, 45032264, 45071607, 45195331, 45178020, 44995483, 45105868, 44956532, 45096770, 44953383, 45048602, 44551015, 45064949, 45056549, 45178612, 45194628, 44762442, 45124659, 45075563, 45242902, 45235753, 45257131, 45256984, 45232360, 45231455, 45129576, 44913135, 45195677, 45106068, 44949487, 32381406, 45122975, 45005817, 45084910, 44959919, 44990796, 44899765, 45253279, 45149152, 45159032, 45153672, 45131153);
Date: 2025-03-16 14:21:50 Duration: 32ms
-
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 (45204611, 45205201, 45232489, 44956736, 45032320, 45079400, 45079406, 45204834, 45175310, 45173155, 45173219, 45036435, 45173467, 45036273, 45257689, 45219970, 45181972, 45293829, 44963633, 45067769, 45140314, 45052117, 45113659, 45113660, 45190446, 45214112, 45240812, 45159953, 45234193, 45186821, 45167648, 45215032, 45134970, 45191717, 45190356, 45080401, 45012843, 45012842, 44888734, 45026033, 45196330, 45115521, 45117085, 45126592, 45125603, 45186292, 45124576, 45118794, 44956630, 45231431, 45152344, 45185272, 44990455, 44942203, 44658662);
Date: 2025-03-16 13:19:22 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 (41898608, 39689092, 32247955, 32359181, 32359420, 32360612, 32419039, 32419105, 32454693, 32454805, 32525061, 32525421, 32526250, 32526582, 41994041, 42133188, 44503470, 44504314, 44822123, 44822248, 44822427, 44822678, 44868676, 44869125, 44946428, 44946842, 44947401, 44947580, 45120886, 45120887, 44899306, 32260000, 44552255, 44914065, 44914610, 45064622, 32396145, 32396910, 32397362, 32452599, 44849192, 44967517, 32325140, 32326080, 32432364, 32433070, 32433743, 32434405, 32434442, 32557014, 32559508, 42037312, 44711264, 44711425, 44713669, 44839740, 32193109, 32282570, 32356704, 32357174, 32530436, 39953262, 42048130, 42098991, 44475219, 44533789, 44534355, 44534437, 44597771, 44597833, 44709298, 44814802, 44815493, 44890725, 44891065, 44891488, 45005178, 45006042, 45006064, 45007867, 45057966, 44529371, 44631988, 44632833, 44913174, 41525720, 41526345, 44530071, 32221812, 32372424, 42151307, 44776192, 32196093, 32273389, 32308986, 32310675, 32310754, 32310917, 32311101, 32444281);
Date: 2025-03-16 13:19:23 Duration: 15ms
15 219,583 43s462ms 0ms 28ms 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 15 23 5,783 481ms 0ms Mar 16 00 3,937 314ms 0ms 01 4,529 412ms 0ms 02 2,907 311ms 0ms 03 988 82ms 0ms 04 2,018 208ms 0ms 05 3,121 327ms 0ms 06 4,742 510ms 0ms 07 3,375 368ms 0ms 08 29,518 3s44ms 0ms 09 12,897 2s610ms 0ms 10 21,263 3s563ms 0ms 11 22,206 4s744ms 0ms 12 20,330 6s99ms 0ms 13 17,273 6s406ms 0ms 14 20,071 8s89ms 0ms 15 15,970 2s409ms 0ms 16 9,721 1s87ms 0ms 17 4,720 501ms 0ms 18 7,571 1s67ms 0ms 19 6,643 820ms 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, 2);
Date: 2025-03-16 12:19:43 Duration: 28ms
-
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, 2);
Date: 2025-03-16 12:48:09 Duration: 21ms
-
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, 2);
Date: 2025-03-16 14:36:23 Duration: 4ms
16 179,555 17s257ms 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 15 23 4,657 293ms 0ms Mar 16 00 3,026 170ms 0ms 01 2,078 124ms 0ms 02 2,161 138ms 0ms 03 1,664 86ms 0ms 04 968 54ms 0ms 05 1,446 86ms 0ms 06 1,591 94ms 0ms 07 1,598 90ms 0ms 08 5,604 360ms 0ms 09 15,082 1s270ms 0ms 10 16,608 1s599ms 0ms 11 11,108 1s142ms 0ms 12 23,119 2s566ms 0ms 13 28,164 3s188ms 0ms 14 26,477 3s355ms 0ms 15 12,902 1s203ms 0ms 16 6,739 448ms 0ms 17 2,560 159ms 0ms 18 6,530 424ms 0ms 19 5,473 399ms 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 (2, 10);
Date: 2025-03-15 23:04:25 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-16 14:41:08 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 (21);
Date: 2025-03-16 14:12:57 Duration: 1ms
17 174,814 5h44m33s 50ms 856ms 118ms 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 #17
Day Hour Count Duration Avg duration Mar 15 23 7,054 9m58s 84ms Mar 16 00 3,642 4m52s 80ms 01 5,660 7m45s 82ms 02 4,346 5m5s 70ms 03 1,340 1m28s 65ms 04 3,622 4m 66ms 05 3,130 3m30s 67ms 06 4,238 4m48s 68ms 07 2,922 3m16s 67ms 08 3,328 3m49s 68ms 09 11,208 16m 85ms 10 15,729 27m18s 104ms 11 16,404 34m49s 127ms 12 15,545 46m44s 180ms 13 17,193 54m6s 188ms 14 20,847 1h5m32s 188ms 15 15,423 23m42s 92ms 16 7,555 8m32s 67ms 17 4,044 4m39s 69ms 18 5,574 6m44s 72ms 19 6,010 7m47s 77ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6401680)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-16 13:19:22 Duration: 856ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6259831, 6259822, 6213640, 6199337, 6197519, 6157387, 6152723, 5990301)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-16 13:46:10 Duration: 685ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6384780, 6384616, 6384544, 6384334, 6384327, 6384307, 6384305, 6384284)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-16 14:17:23 Duration: 628ms
18 173,738 2m12s 0ms 67ms 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 #18
Day Hour Count Duration Avg duration Mar 15 23 3,180 1s763ms 0ms Mar 16 00 1,155 678ms 0ms 01 1,888 1s308ms 0ms 02 1,325 1s201ms 0ms 03 196 122ms 0ms 04 168 127ms 0ms 05 575 284ms 0ms 06 947 424ms 0ms 07 2,502 1s204ms 0ms 08 28,933 15s444ms 0ms 09 12,174 8s61ms 0ms 10 16,788 14s328ms 0ms 11 15,851 14s211ms 0ms 12 15,668 15s493ms 0ms 13 15,566 17s467ms 1ms 14 13,532 13s749ms 1ms 15 11,036 8s205ms 0ms 16 7,304 4s255ms 0ms 17 3,409 1s943ms 0ms 18 10,717 5s625ms 0ms 19 10,824 6s234ms 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 (6386787, 6064851, 6159224, 6192404, 6194734, 6213305, 6266767, 6290770, 6304564, 6315296, 6325938, 6325943, 6328483, 6333941, 6340861, 6341820, 6349434, 6359267, 1400990, 6332524, 6294121, 6318027, 6321682, 6323125, 6323145, 6303324, 6352822, 6326799, 6272323, 6333916, 6353197, 6330042, 6334505, 6330028, 6316266, 6357739, 6291098, 6334598, 6357861, 6315809, 6339391, 6320614, 6321178, 6322254, 6332167, 6279740, 6332059, 6358376, 6358307, 6316056, 6321400, 6294318, 6323802, 6240923, 6323670, 5661732, 6357893, 6300722, 6323755, 6300452, 6341796, 6357895, 5854121, 6307547, 6274767, 5882853, 6048783, 6025699, 6314788, 6319877, 6101091, 6321222, 6358202, 6357915, 6279729, 6321141, 6169400, 6304093, 6288397, 6267877, 6307199, 6266170, 6324000, 6312301, 6343920, 6268963, 6290212, 6313035, 6129236, 6176838, 5895015, 6143137, 6183688, 6192012, 6208315, 6223414, 6235275, 6236131, 6256332, 6257502, 6271743, 6294682, 6307272, 6312457, 6314354, 6320265, 6320386, 6327598, 6327624, 6333293, 6340843, 6343923, 6346457, 6346576, 6347659, 6349872, 6354700, 6358826, 6213164, 6318130, 6346802, 6302357, 6326096, 6230241, 6250457, 6057655, 6296394, 6105092, 6217270, 6249214, 6257099, 6257242, 6261778, 6299897, 6307058, 6307552, 6333672, 6332117, 6296588, 5833446, 6288108, 6285540, 6357723, 6357903, 6357742, 6357885, 6354066, 6349032, 6348944, 6346340, 6323830, 6323856, 6351457, 6300741, 6295256, 6313338, 5995690, 6236043, 6262022, 6312348, 6286694, 6066873, 5955784, 6061338, 6220312, 6286251, 6042034, 6319674, 6070693, 6314816, 6184251, 6221595, 6246282, 6319344, 6245145, 6286228, 6206313, 6321003, 6251271, 6286209, 6245060, 6175161, 6256785, 6145683, 6223865, 6342672, 6245024, 6357530, 6138637, 6299400, 6311192);
Date: 2025-03-16 13:19:22 Duration: 67ms
-
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 (6342672, 6298816, 6174998, 6255178, 6257481, 6343693, 5955896, 6212570, 6251074, 6093689, 5633514, 6343385, 6255061, 6171454, 6295750, 6256729, 6256423, 6293887, 6295824, 6301262, 6175617, 6297127, 6141359, 6208839, 6294029, 6303966, 6257472, 6301230, 6298873, 6049808, 6254793, 6217821, 6298818, 6297010, 6216244, 6254871, 6250910, 6300946, 5049152, 6255001, 6250913, 6174703, 6257326, 6216302, 6175508, 6212525, 6298756, 6301181, 6300874, 6293991, 6215922, 6175107, 6254930, 5855331, 6065271, 6214396, 6294036, 5960761, 6071723, 5925097, 6257467, 6293951, 6070426, 6255215, 6257497, 6256978, 6255157, 6214336, 6174728, 6295938, 5707568, 6212584, 6297099, 6254812, 6175503, 6254981, 6070496, 6070428, 6171520, 6171516, 6212567, 6174731, 6301227, 6255209, 6257363, 6214485, 6217987, 6256419, 6255066, 6257489, 6171589, 6256608, 6255186, 6070490, 6146356, 6256411, 6257321, 6212559, 6255056, 6254795, 6257485, 6256961, 6093661, 6255019, 6212580, 6174692, 6048456, 6257463, 6212585, 6175666, 5996698, 6257493, 6144665, 6216215, 6212551, 5961109, 6212575, 6208875, 6216241, 6255199, 6217591, 6212564, 6255203, 6257325, 6175451, 6254931, 5899602, 6070469, 6212555, 5999025, 6212544, 6214287, 6171432, 6174724, 6070416, 6175139, 6092691, 6212566, 6167045, 6090569, 6254893, 6257324, 6208855, 5961553, 5999075, 5996947, 5747907, 6212576, 6175145, 5991810, 6212520, 6212557, 6212796, 6175657, 6177217, 6214332, 6170355, 6208840, 6208843, 6215997, 6208836, 6255133, 6175363, 6212534, 6256407, 6170417, 6141304, 6071843, 6071867, 6170354, 6177157, 6144764, 6170340, 6070475, 6216153, 5961570, 6174715, 6144676, 5917172, 6216161, 6141332, 6216311, 6212784, 6216221, 6141238, 6140787, 6174689, 6174861, 6212548, 6174712, 6216165, 6174695, 6217985, 6215988, 6174755, 5886579, 6148377, 6214335, 6029791, 6175002, 6140977, 6216313, 6140850, 6175366, 6214333, 6217689, 6170357, 6146335, 6174758, 6212569, 6212537, 6174752, 6174674, 6212540, 6070466, 6208830, 6212572, 6174871, 6070477, 6212568, 6140985, 6214767, 6175143, 6092689, 6093022, 6175132, 6175478, 6093016, 6174672, 6171455, 6175465, 6141103, 6175466, 6174677, 6071845, 6141336, 6070453, 6175054, 6171485, 6175041, 6175110, 5996689, 6171753, 6070610, 6174686, 6175468, 6174747, 6230833, 6170356, 6167091, 6170335, 6140607, 6029774, 6093693, 6093694, 6070485, 6093692, 6092736, 6146439, 5955328, 6141292, 6090539, 6032150, 6141296, 6093649, 5999206, 6071854, 6095389, 6072016, 6093686, 6048890, 6090541, 6071835, 6029731, 5894738, 5957146, 6048531, 6032313, 6053830, 5999083, 6003462, 6003453, 5955297, 6003457, 6003586, 6050576, 5989444, 6032319, 6048720, 6003591, 6003467, 5957081, 5858196, 5823283, 5705736, 5955308, 5784945, 5917473, 5956175, 5955303, 5858138, 5894729, 5858130, 5894740, 5858126, 5858124, 5917474, 5879095, 5637898, 5894847, 5918894, 5894735, 5858132, 5879097, 5879324, 5879096, 5779542, 5858128, 5879098, 5879322, 5858136, 5858293, 5823646, 5879323, 5857840, 5779469, 5779548, 5705939, 5779555, 5779539, 5779531, 5779535, 5778836, 5779472, 5637892, 5779536, 5779520, 5779481, 5671299, 5608678, 5637880);
Date: 2025-03-16 13:19:22 Duration: 53ms
-
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 (6401680, 6401670, 6401181, 6401175, 6401154, 6401144, 6401082, 6401066, 6401010, 6400863, 6400353, 6400244, 6400201, 6399883, 6399881, 6399878, 6399877, 6399868, 6399856, 6398546, 6390699, 6390113, 6388933, 6386293, 6384894, 6384343, 6383709, 6379036, 6379018, 6377942, 6377798, 6376822, 6374459, 6374279, 6373342, 6373038, 6372876, 6372850, 6372846, 6372818, 6372815, 6371130, 6367318, 6367245, 6365561, 6364775, 6364388, 6363455, 6361599, 6360758, 6360248, 6356777, 6356666, 6338188, 6295041);
Date: 2025-03-16 13:19:21 Duration: 36ms
19 172,419 37s921ms 0ms 1ms 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 #19
Day Hour Count Duration Avg duration Mar 15 23 4,366 567ms 0ms Mar 16 00 2,825 339ms 0ms 01 1,941 246ms 0ms 02 2,139 278ms 0ms 03 1,428 155ms 0ms 04 932 110ms 0ms 05 1,427 175ms 0ms 06 1,560 199ms 0ms 07 1,575 191ms 0ms 08 5,484 754ms 0ms 09 14,675 2s883ms 0ms 10 15,889 3s564ms 0ms 11 10,576 2s484ms 0ms 12 22,101 5s730ms 0ms 13 27,059 7s129ms 0ms 14 25,460 7s508ms 0ms 15 12,373 2s591ms 0ms 16 6,425 929ms 0ms 17 2,516 329ms 0ms 18 6,352 896ms 0ms 19 5,316 854ms 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-16 09:44:36 Duration: 1ms
-
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-16 14:17:51 Duration: 1ms
-
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-16 13:03:57 Duration: 1ms
20 165,294 1m8s 0ms 3ms 0ms select "price_list".id from "price_list" where (("price_list"."from_office_id" = ?) and ("price_list"."to_office_id" = ?)) order by "price_list"."id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 15 23 14,443 4s804ms 0ms Mar 16 00 12,408 3s905ms 0ms 01 13,270 4s245ms 0ms 02 8,867 3s245ms 0ms 03 2,506 935ms 0ms 04 10,130 3s348ms 0ms 05 11,577 3s824ms 0ms 06 13,883 4s920ms 0ms 07 7,794 3s2ms 0ms 08 5,022 2s114ms 0ms 09 4,644 2s220ms 0ms 10 2,163 1s250ms 0ms 11 2,837 1s981ms 0ms 12 4,731 3s989ms 0ms 13 5,919 5s119ms 0ms 14 4,516 3s980ms 0ms 15 8,285 4s578ms 0ms 16 8,337 3s144ms 0ms 17 10,167 3s58ms 0ms 18 7,071 2s419ms 0ms 19 6,724 2s528ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 9) AND ("price_list"."to_office_id" = 113)) ORDER BY "price_list"."id";
Date: 2025-03-16 10:28:57 Duration: 3ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 75) AND ("price_list"."to_office_id" = 3)) ORDER BY "price_list"."id";
Date: 2025-03-16 14:22:00 Duration: 3ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 111) AND ("price_list"."to_office_id" = 17)) ORDER BY "price_list"."id";
Date: 2025-03-16 14:13:22 Duration: 2ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 221ms 1m23s 42s307ms 56 39m29s select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 16 01 3 2s111ms 703ms 02 4 2s918ms 729ms 08 3 1m42s 34s281ms 09 3 3m7s 1m2s 10 3 3m11s 1m3s 11 2 2m34s 1m17s 12 3 9s216ms 3s72ms 13 2 1s268ms 634ms 16 2 1m46s 53s206ms 17 10 8m26s 50s608ms 18 12 10m28s 52s397ms 19 9 7m55s 52s852ms -
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-16 11:04:11 Duration: 1m23s
-
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-16 10:41:44 Duration: 1m19s
-
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-16 11:02:01 Duration: 1m11s
2 711ms 10s330ms 1s917ms 56,204 1d5h56m20s 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 15 23 1,961 32m15s 986ms Mar 16 00 729 11m24s 939ms 01 1,481 23m28s 950ms 02 933 14m57s 961ms 03 128 1m48s 846ms 04 147 2m11s 896ms 05 377 5m32s 882ms 06 558 8m20s 896ms 07 262 3m57s 904ms 08 707 10m59s 932ms 09 3,062 59m34s 1s167ms 10 5,210 2h10m58s 1s508ms 11 6,263 3h32m49s 2s38ms 12 6,764 5h41m31s 3s29ms 13 6,409 5h13m29s 2s934ms 14 6,485 6h4m21s 3s371ms 15 5,494 1h55m39s 1s263ms 16 3,068 45m 880ms 17 1,281 18m59s 889ms 18 2,046 31m45s 931ms 19 2,839 47m15s 998ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6392393, 6390198, 6388181, 6388086, 6386467, 6385956, 6382454, 6379514)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:42:56 Duration: 10s330ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6307407, 6307163, 6347027, 6338684, 6347195, 6355811, 6351733, 6294737)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:28:23 Duration: 10s123ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6362861, 6266761, 6265149, 6257279, 6243889, 6243871, 6243606)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 12:26:16 Duration: 9s776ms
3 698ms 9s13ms 1s503ms 304,119 5d6h59m58s 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 #3
Day Hour Count Duration Avg duration Mar 15 23 11,271 3h10m32s 1s14ms Mar 16 00 8,331 2h12m10s 951ms 01 11,346 3h4m27s 975ms 02 9,850 2h29m19s 909ms 03 3,487 44m25s 764ms 04 9,794 2h9m26s 792ms 05 10,206 2h21m53s 834ms 06 13,037 3h6m42s 859ms 07 10,561 2h25m28s 826ms 08 8,666 2h8m29s 889ms 09 16,227 4h55m31s 1s92ms 10 21,843 8h4m23s 1s330ms 11 25,725 12h35m43s 1s762ms 12 26,017 19h37m22s 2s715ms 13 24,961 18h1m32s 2s599ms 14 27,019 21h8m5s 2s815ms 15 21,931 7h24m43s 1s216ms 16 13,140 3h10m48s 871ms 17 6,911 1h44m29s 907ms 18 10,991 2h51m7s 934ms 19 12,805 3h33m15s 999ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6405682)) AND (("shipping_track"."id" not in (53500287, 53500287)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:32:08 Duration: 9s13ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6405683)) AND (("shipping_track"."id" not in (53500290, 53500290)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:32:08 Duration: 8s928ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6405501)) AND (("shipping_track"."id" not in (53493352, 53493352)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-16 14:16:30 Duration: 8s910ms
4 29ms 2s968ms 1s314ms 2,435 53m20s 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 #4
Day Hour Count Duration Avg duration Mar 15 23 51 39s794ms 780ms Mar 16 00 22 11s161ms 507ms 01 6 1s614ms 269ms 02 3 1s670ms 556ms 03 2 78ms 39ms 04 1 781ms 781ms 07 1 1s384ms 1s384ms 08 29 11s219ms 386ms 09 96 1m25s 894ms 10 208 3m50s 1s108ms 11 272 6m20s 1s400ms 12 376 9m34s 1s526ms 13 437 10m36s 1s455ms 14 326 8m43s 1s606ms 15 228 5m1s 1s324ms 16 116 1m59s 1s26ms 17 45 40s446ms 898ms 18 121 2m7s 1s54ms 19 95 1m52s 1s182ms -
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 (3)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3))))) 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-16 13:19:26 Duration: 2s968ms
-
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 (46)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (46))))) 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-16 14:40:49 Duration: 2s809ms
-
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-16 14:37:03 Duration: 2s782ms
5 905ms 3s609ms 1s290ms 24,370 8h44m21s 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 #5
Day Hour Count Duration Avg duration Mar 15 23 2,737 55m48s 1s223ms Mar 16 00 1,937 36m52s 1s142ms 01 2,484 48m37s 1s174ms 02 1,074 21m3s 1s176ms 03 373 6m58s 1s121ms 04 2,007 37m51s 1s132ms 05 2,292 43m15s 1s132ms 06 2,592 49m56s 1s156ms 07 1,116 21m3s 1s132ms 08 663 13m19s 1s205ms 09 900 20m50s 1s389ms 10 203 5m20s 1s580ms 11 415 13m19s 1s926ms 12 371 13m46s 2s227ms 13 727 28m23s 2s343ms 14 453 18m29s 2s448ms 15 875 24m 1s646ms 16 511 10m40s 1s254ms 17 556 10m29s 1s132ms 18 1,013 20m30s 1s214ms 19 1,071 23m42s 1s328ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '350140')) AND ("policy_number"."package_id" = 2)) 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-16 14:24:05 Duration: 3s609ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '153583')) AND ("policy_number"."package_id" = 2)) 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-16 14:38:08 Duration: 3s359ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '153580')) AND ("policy_number"."package_id" = 2)) 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-16 14:38:22 Duration: 3s274ms
6 345ms 5s807ms 1s220ms 2,614 53m11s 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 15 23 63 29s304ms 465ms Mar 16 00 49 20s773ms 423ms 01 70 31s211ms 445ms 02 44 22s147ms 503ms 03 47 17s973ms 382ms 04 51 19s644ms 385ms 05 75 32s108ms 428ms 06 86 39s721ms 461ms 07 71 29s698ms 418ms 08 70 32s359ms 462ms 09 157 1m53s 720ms 10 152 2m37s 1s34ms 11 139 3m42s 1s601ms 12 320 10m51s 2s37ms 13 321 11m46s 2s200ms 14 288 11m20s 2s361ms 15 220 3m9s 863ms 16 123 59s413ms 483ms 17 41 18s975ms 462ms 18 138 1m6s 482ms 19 89 49s875ms 560ms -
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 ('91474', '1027276', '919677', '611561', '611544', '9761536', '1027295', '851527');
Date: 2025-03-16 12:14:05 Duration: 5s807ms
-
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 ('750468', '864983', '729509', '298680', '975582', '962572', '716954');
Date: 2025-03-16 14:02:06 Duration: 5s646ms
-
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 ('1111188', '1109077', '1087244', '996535', '587479', '8906378', '');
Date: 2025-03-16 13:32:31 Duration: 5s514ms
7 745ms 2s913ms 1s215ms 9,542 3h13m20s 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 #7
Day Hour Count Duration Avg duration Mar 15 23 826 15m22s 1s117ms Mar 16 00 953 16m52s 1s62ms 01 655 11m56s 1s94ms 02 700 13m14s 1s134ms 03 25 26s14ms 1s40ms 05 25 24s84ms 963ms 06 7 6s798ms 971ms 08 122 2m16s 1s118ms 09 36 52s353ms 1s454ms 10 198 5m11s 1s574ms 11 119 3m38s 1s832ms 12 142 4m41s 1s984ms 13 78 3m6s 2s392ms 14 198 7m20s 2s223ms 15 826 20m25s 1s483ms 16 1,285 24m26s 1s141ms 17 2,007 36m18s 1s85ms 18 725 13m54s 1s150ms 19 615 12m44s 1s242ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1032357')) 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 (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-16 14:28:17 Duration: 2s913ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1109414')) 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 (75))))))) AND ("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 (75)))))) 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 (75)))))) 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 (75))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-16 14:23:55 Duration: 2s911ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1138103')) 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 (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-16 14:30:32 Duration: 2s908ms
8 281ms 3s114ms 891ms 6,479 1h36m14s 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 #8
Day Hour Count Duration Avg duration Mar 15 23 18 5s908ms 328ms Mar 16 00 14 4s564ms 326ms 06 406 2m30s 370ms 08 807 5m 372ms 09 148 1m2s 425ms 11 952 9m11s 579ms 12 1,912 33m31s 1s52ms 13 1,091 20m35s 1s132ms 14 1,131 24m11s 1s283ms -
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" = '1211351')) 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-16 14:40:21 Duration: 3s114ms
-
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" = '1056777')) 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-16 14:37:23 Duration: 3s100ms
-
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" = '1135713')) 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-16 14:37:46 Duration: 3s95ms
9 292ms 4s683ms 847ms 34,072 8h1m2s 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 #9
Day Hour Count Duration Avg duration Mar 16 07 596 3m58s 400ms 08 1,079 8m32s 475ms 09 5,029 46m21s 553ms 10 4,076 45m45s 673ms 11 1,877 25m3s 800ms 12 4,915 1h38m24s 1s201ms 13 5,139 1h43m23s 1s207ms 14 3,979 1h20m25s 1s212ms 15 3,116 33m51s 651ms 16 2,023 16m45s 497ms 17 933 7m11s 462ms 18 1,084 9m29s 525ms 19 226 1m49s 485ms -
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" = '570645')))) 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-16 14:23:55 Duration: 4s683ms
-
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" = '679181')))) 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-16 14:24:04 Duration: 4s610ms
-
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" = '269483')))) 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-16 14:34:14 Duration: 4s597ms
10 287ms 3s84ms 749ms 3,695 46m10s 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 #10
Day Hour Count Duration Avg duration Mar 16 00 16 5s620ms 351ms 01 231 1m19s 344ms 03 2 578ms 289ms 08 105 35s893ms 341ms 09 194 1m30s 465ms 10 402 4m5s 610ms 11 349 3m51s 662ms 12 546 9m24s 1s33ms 13 452 8m5s 1s74ms 14 529 10m43s 1s217ms 15 297 2m48s 567ms 16 221 1m21s 369ms 17 26 9s350ms 359ms 18 135 48s749ms 361ms 19 190 1m19s 420ms -
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" = '1100523')) 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-16 14:37:53 Duration: 3s84ms
-
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" = '1100524')) 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-16 14:37:59 Duration: 3s83ms
-
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" = '1100501')) 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-16 14:37:25 Duration: 3s36ms
11 273ms 3s131ms 707ms 20,215 3h58m19s 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 #11
Day Hour Count Duration Avg duration Mar 15 23 614 3m40s 358ms Mar 16 00 588 3m20s 341ms 01 251 1m27s 349ms 02 451 2m53s 384ms 03 246 1m12s 294ms 04 400 2m1s 304ms 05 280 1m31s 328ms 06 968 5m29s 340ms 07 1,181 6m32s 332ms 08 1,163 6m57s 359ms 09 1,663 12m42s 458ms 10 2,058 19m6s 557ms 11 1,415 17m3s 723ms 12 1,791 31m42s 1s62ms 13 3,014 54m32s 1s85ms 14 2,759 56m30s 1s228ms 15 997 9m3s 544ms 16 31 16s33ms 517ms 18 177 1m7s 382ms 19 168 1m7s 399ms -
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" = '1070959')) 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-16 14:40:46 Duration: 3s131ms
-
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" = '1054960')) 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, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-16 14:39:48 Duration: 3s117ms
-
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" = '1145777')) 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-16 14:37:04 Duration: 3s115ms
12 267ms 5s671ms 610ms 140,193 23h45m21s 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 #12
Day Hour Count Duration Avg duration Mar 15 23 1,181 7m3s 358ms Mar 16 00 1,353 7m34s 335ms 01 2,082 12m13s 352ms 02 2,717 17m12s 380ms 03 1,639 8m11s 300ms 04 2,823 14m19s 304ms 05 2,875 15m20s 320ms 06 3,536 20m14s 343ms 07 6,108 33m22s 327ms 08 6,709 39m44s 355ms 09 13,999 1h42m50s 440ms 10 11,805 1h44m3s 528ms 11 8,221 1h25m15s 622ms 12 13,562 3h36m40s 958ms 13 15,602 4h13m6s 973ms 14 14,554 4h29m18s 1s110ms 15 8,417 1h10m13s 500ms 16 4,308 26m24s 367ms 17 2,042 11m45s 345ms 18 9,071 59m2s 390ms 19 7,589 51m22s 406ms -
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" = '1077085')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-16 13:26:26 Duration: 5s671ms
-
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" = '1052212')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-16 12:44:08 Duration: 3s335ms
-
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" = '1172832')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-16 14:29:32 Duration: 3s313ms
13 242ms 2s754ms 576ms 7,271 1h9m48s 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 #13
Day Hour Count Duration Avg duration Mar 16 00 66 22s788ms 345ms 01 231 1m20s 349ms 03 2 492ms 246ms 08 549 2m55s 320ms 09 1,770 11m38s 394ms 10 952 8m36s 542ms 11 832 7m50s 565ms 12 910 12m34s 829ms 13 536 8m43s 976ms 14 549 9m32s 1s42ms 15 302 2m40s 532ms 16 221 1m19s 358ms 17 26 8s667ms 333ms 18 135 46s387ms 343ms 19 190 1m16s 404ms -
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" = '587681')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-16 14:39:16 Duration: 2s754ms
-
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" = '539628')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-16 14:24:06 Duration: 2s753ms
-
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" = '1016915')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-16 14:39:33 Duration: 2s749ms
14 121ms 1s385ms 551ms 5,978 54m54s 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 15 23 147 23s888ms 162ms Mar 16 00 80 11s890ms 148ms 01 125 19s783ms 158ms 02 30 4s900ms 163ms 03 56 7s379ms 131ms 04 31 4s168ms 134ms 08 17 2s595ms 152ms 09 314 1m10s 225ms 10 627 4m39s 445ms 11 1,093 10m13s 560ms 12 1,140 14m19s 754ms 13 664 8m32s 771ms 14 744 10m54s 879ms 15 428 2m24s 336ms 16 252 40s369ms 160ms 17 45 8s43ms 178ms 18 85 16s290ms 191ms 19 100 21s687ms 216ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 27)) 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-16 13:15:52 Duration: 1s385ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 3)) 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-16 14:33:23 Duration: 1s376ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 39)) 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-16 14:32:45 Duration: 1s376ms
15 123ms 1s219ms 308ms 26,845 2h18m6s 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 #15
Day Hour Count Duration Avg duration Mar 15 23 1,377 3m55s 170ms Mar 16 00 1,427 3m41s 155ms 01 274 45s635ms 166ms 02 62 11s692ms 188ms 05 48 8s134ms 169ms 08 148 23s911ms 161ms 09 1,377 4m30s 196ms 10 2,751 11m42s 255ms 11 3,477 18m37s 321ms 12 2,982 22m20s 449ms 13 2,558 21m6s 495ms 14 3,024 27m34s 547ms 15 2,596 10m7s 233ms 16 1,632 4m24s 161ms 17 482 1m15s 157ms 18 1,425 3m49s 160ms 19 1,205 3m31s 175ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8354573)) AND (("cash_track"."id" not in (9568176)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-16 13:21:14 Duration: 1s219ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8354933)) AND (("cash_track"."id" not in (9571555)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-16 13:58:25 Duration: 1s218ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8354967)) AND (("cash_track"."id" not in (9571668)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-16 14:02:29 Duration: 1s203ms
16 95ms 1s337ms 282ms 66,868 5h15m21s 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 #16
Day Hour Count Duration Avg duration Mar 15 23 7,036 30m17s 258ms Mar 16 00 5,712 23m3s 242ms 01 6,231 24m43s 238ms 02 3,514 14m21s 245ms 03 786 2m56s 224ms 04 3,988 14m16s 214ms 05 4,558 16m45s 220ms 06 5,144 19m57s 232ms 07 2,198 8m13s 224ms 08 1,544 6m41s 259ms 09 1,824 9m24s 309ms 10 768 4m43s 368ms 11 1,047 8m25s 482ms 12 989 9m53s 600ms 13 1,561 16m47s 645ms 14 1,252 13m41s 655ms 15 3,329 19m51s 357ms 16 3,556 14m52s 251ms 17 5,056 21m50s 259ms 18 3,432 16m59s 296ms 19 3,343 17m35s 315ms -
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-16 13:20:00 Duration: 1s337ms
-
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-16 14:00:30 Duration: 1s97ms
-
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-16 11:58:31 Duration: 1s72ms
17 156ms 592ms 227ms 14,655 55m34s 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 15 23 363 1m38s 271ms Mar 16 00 646 2m43s 252ms 01 1,358 6m5s 269ms 02 2,168 8m54s 246ms 03 1,386 4m46s 206ms 04 2,131 7m47s 219ms 05 2,497 8m36s 206ms 06 2,142 7m51s 219ms 07 1,659 6m2s 218ms 08 305 1m9s 228ms -
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" = '1075495')) 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, 36, 37, 40, 41, 42, 43, 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-16 02:00:14 Duration: 592ms
-
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" = '1189262')) 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-16 08:00:14 Duration: 505ms
-
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" = '1189484')) 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-16 02:22:05 Duration: 489ms
18 63ms 658ms 142ms 72,612 2h52m 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 15 23 99 8s803ms 88ms Mar 16 00 19 1s663ms 87ms 07 828 1m2s 75ms 08 2,620 3m30s 80ms 09 9,568 15m17s 95ms 10 8,341 15m48s 113ms 11 4,814 11m44s 146ms 12 7,144 23m28s 197ms 13 12,158 37m37s 185ms 14 11,776 37m28s 190ms 15 6,153 12m39s 123ms 16 4,364 6m37s 91ms 17 2,036 2m44s 80ms 18 1,801 2m33s 85ms 19 891 1m16s 86ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6353215) 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-16 14:21:51 Duration: 658ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5753981) 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-16 11:04:03 Duration: 530ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6108352) 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-16 14:14:08 Duration: 530ms
19 50ms 856ms 118ms 174,814 5h44m33s 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 #19
Day Hour Count Duration Avg duration Mar 15 23 7,054 9m58s 84ms Mar 16 00 3,642 4m52s 80ms 01 5,660 7m45s 82ms 02 4,346 5m5s 70ms 03 1,340 1m28s 65ms 04 3,622 4m 66ms 05 3,130 3m30s 67ms 06 4,238 4m48s 68ms 07 2,922 3m16s 67ms 08 3,328 3m49s 68ms 09 11,208 16m 85ms 10 15,729 27m18s 104ms 11 16,404 34m49s 127ms 12 15,545 46m44s 180ms 13 17,193 54m6s 188ms 14 20,847 1h5m32s 188ms 15 15,423 23m42s 92ms 16 7,555 8m32s 67ms 17 4,044 4m39s 69ms 18 5,574 6m44s 72ms 19 6,010 7m47s 77ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6401680)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-16 13:19:22 Duration: 856ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6259831, 6259822, 6213640, 6199337, 6197519, 6157387, 6152723, 5990301)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-16 13:46:10 Duration: 685ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6384780, 6384616, 6384544, 6384334, 6384327, 6384307, 6384305, 6384284)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-16 14:17:23 Duration: 628ms
20 56ms 472ms 116ms 28,983 56m3s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 16 07 460 31s708ms 68ms 08 1,303 1m36s 74ms 09 4,715 6m57s 88ms 10 4,224 7m 99ms 11 2,015 4m34s 136ms 12 3,103 8m29s 164ms 13 2,220 5m59s 161ms 14 3,300 9m13s 167ms 15 3,021 5m26s 108ms 16 2,386 3m22s 84ms 17 997 1m13s 73ms 18 1,010 1m20s 79ms 19 229 17s506ms 76ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6064813) ORDER BY "collection_policy"."id";
Date: 2025-03-16 13:16:16 Duration: 472ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6249726) ORDER BY "collection_policy"."id";
Date: 2025-03-16 12:47:37 Duration: 441ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6042389) ORDER BY "collection_policy"."id";
Date: 2025-03-16 13:59:36 Duration: 424ms
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
- 19,583,682 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 6326 FATAL entries
- 746 ERROR entries
- 0 WARNING entries
- 1357 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 3,312 Max number of times the same event was reported
- 8,429 Total events found
Rank Times reported Error 1 3,312 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 16 02 172 05 46 08 74 11 449 13 153 14 2,268 17 150 2 1,554 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 16 02 283 05 168 08 141 11 189 13 115 14 419 17 239 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Statement: 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-16 02:00:07
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-03-16 02:20:02
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9797893')) AND ("policy_number"."package_id" = 2)) 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-16 02:20:02
3 1,069 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 16 12 371 13 522 14 176 - LOG: could not send data to client: Broken pipe
- LOG: could not send data to client: Broken pipe
- LOG: could not send data to client: Broken pipe
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6399198, 6399126, 6398670, 6396926, 6395682, 6395605, 6395580, 6395423, 6391717, 6390759, 6389756, 6389008, 6388206, 6388111, 6388103, 6387275, 6386524, 6386466, 6386207, 6386196, 6385696, 6385643, 6385605, 6385433, 6384474, 6384423, 6383715, 6382800, 6382281, 6381905, 6381437, 6381049, 6380775, 6380613, 6380123, 6379513, 6378569, 6378396, 6377442, 6376947, 6376922, 6376201, 6376155, 6375955, 6375770, 6375713, 6375502, 6375496, 6375278, 6374646, 6374028, 6373588, 6373543, 6373233, 6373162, 6373152, 6373150, 6373102, 6372403, 6372370, 6371660, 6371612, 6371523, 6370854, 6370441, 6369811, 6368709, 6368368, 6367693, 6367686, 6365647, 6364491, 6363281, 6362502, 6362500, 6362498, 6362481, 6362366, 6356886, 6356816, 6352242, 6352112, 6352099, 6330443, 6314900, 6314831, 6281367)) ORDER BY "shipping_track"."id"
Date: 2025-03-16 13:05:24
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6256943, 6267151, 5993350, 6015896, 6044440, 6152723, 6157387, 6160706, 5975273, 6119439, 6161893, 6168267, 6197496, 6197519, 6197456, 5996100, 6127073, 6113196, 6307667, 6199337, 6281138, 6195398, 6133403, 6035519, 6281137, 6222535, 6213640, 6030757, 6137346, 6138609, 6171985, 6211286, 6256500, 6259822, 6259831, 6047560, 6174925, 5896990, 5990301, 6297857, 6141896, 6304811, 6306917, 6216551, 6152085, 6255003, 6262404, 6095385, 5921813, 6001813, 6035285, 6256856, 6101841, 6143590, 6017476)) ORDER BY "shipping_track"."id"
Date: 2025-03-16 13:43:26
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6399047, 6395045, 6395013, 6394998, 6394991, 6394987, 6394986, 6394967, 6394939, 6394194, 6394189, 6394187, 6394182, 6394167, 6394150, 6394123, 6394099, 6394089, 6394077, 6391350, 6384938, 6384688, 6383843, 6383822, 6381958, 6381729, 6381239, 6381237, 6379115, 6378994, 6378645, 6378406, 6377905, 6377735, 6377516, 6377344, 6377075, 6376915, 6375269, 6375082, 6374663, 6374524, 6373656, 6373574, 6373487, 6371806, 6371427, 6371089, 6369732, 6369688, 6369612, 6369010, 6368732, 6367957, 6367798, 6367770, 6367699, 6367236, 6366678, 6366629, 6366568, 6365681, 6365499, 6365299, 6364341, 6363756, 6363443, 6363015, 6362564, 6362289, 6361548, 6361446, 6360305, 6360096, 6353702, 6349890, 6347404, 6341110, 6297813, 6296388, 6286947, 6260600)) ORDER BY "shipping_track"."id"
Date: 2025-03-16 14:04:23
4 1,069 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 16 12 371 13 522 14 176 - FATAL: connection to client lost
- FATAL: connection to client lost
- FATAL: connection to client lost
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6399198, 6399126, 6398670, 6396926, 6395682, 6395605, 6395580, 6395423, 6391717, 6390759, 6389756, 6389008, 6388206, 6388111, 6388103, 6387275, 6386524, 6386466, 6386207, 6386196, 6385696, 6385643, 6385605, 6385433, 6384474, 6384423, 6383715, 6382800, 6382281, 6381905, 6381437, 6381049, 6380775, 6380613, 6380123, 6379513, 6378569, 6378396, 6377442, 6376947, 6376922, 6376201, 6376155, 6375955, 6375770, 6375713, 6375502, 6375496, 6375278, 6374646, 6374028, 6373588, 6373543, 6373233, 6373162, 6373152, 6373150, 6373102, 6372403, 6372370, 6371660, 6371612, 6371523, 6370854, 6370441, 6369811, 6368709, 6368368, 6367693, 6367686, 6365647, 6364491, 6363281, 6362502, 6362500, 6362498, 6362481, 6362366, 6356886, 6356816, 6352242, 6352112, 6352099, 6330443, 6314900, 6314831, 6281367)) ORDER BY "shipping_track"."id"
Date: 2025-03-16 13:05:24
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6256943, 6267151, 5993350, 6015896, 6044440, 6152723, 6157387, 6160706, 5975273, 6119439, 6161893, 6168267, 6197496, 6197519, 6197456, 5996100, 6127073, 6113196, 6307667, 6199337, 6281138, 6195398, 6133403, 6035519, 6281137, 6222535, 6213640, 6030757, 6137346, 6138609, 6171985, 6211286, 6256500, 6259822, 6259831, 6047560, 6174925, 5896990, 5990301, 6297857, 6141896, 6304811, 6306917, 6216551, 6152085, 6255003, 6262404, 6095385, 5921813, 6001813, 6035285, 6256856, 6101841, 6143590, 6017476)) ORDER BY "shipping_track"."id"
Date: 2025-03-16 13:43:26
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6399047, 6395045, 6395013, 6394998, 6394991, 6394987, 6394986, 6394967, 6394939, 6394194, 6394189, 6394187, 6394182, 6394167, 6394150, 6394123, 6394099, 6394089, 6394077, 6391350, 6384938, 6384688, 6383843, 6383822, 6381958, 6381729, 6381239, 6381237, 6379115, 6378994, 6378645, 6378406, 6377905, 6377735, 6377516, 6377344, 6377075, 6376915, 6375269, 6375082, 6374663, 6374524, 6373656, 6373574, 6373487, 6371806, 6371427, 6371089, 6369732, 6369688, 6369612, 6369010, 6368732, 6367957, 6367798, 6367770, 6367699, 6367236, 6366678, 6366629, 6366568, 6365681, 6365499, 6365299, 6364341, 6363756, 6363443, 6363015, 6362564, 6362289, 6361548, 6361446, 6360305, 6360096, 6353702, 6349890, 6347404, 6341110, 6297813, 6296388, 6286947, 6260600)) ORDER BY "shipping_track"."id"
Date: 2025-03-16 14:04:23
5 375 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 15 23 2 Mar 16 00 1 01 1 02 3 03 2 04 2 05 1 06 3 07 9 08 3 09 20 10 27 11 46 12 66 13 46 14 63 15 21 16 14 17 5 18 16 19 24 - 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-15 22:34:05.995479', "write_uid" = 1040 WHERE id IN (45112479)
Date: 2025-03-15 23:35:06
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-15 22:44:44.593082', "write_uid" = 1040 WHERE id IN (45112475)
Date: 2025-03-15 23:45:45
Statement: UPDATE "shipping_policy" SET "delegate_button" = false, "edit_cash_button" = true, "last_action" = '2025-03-15', "return_button" = false, "state" = 'in_office', "write_date" = '2025-03-15 23:01:27.667095', "write_uid" = 1027 WHERE id IN (6304666, 6294692, 6339388, 6293040, 6321141, 6321222, 6314788, 6320906, 6321039, 6320566, 6320600, 6337222, 6307547, 6334502, 6324495, 6300452, 6334434, 6323670, 6321894, 6321892, 6332197)
Date: 2025-03-16 00:02:07
6 323 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 16 02 40 05 4 08 8 11 28 13 55 14 176 17 12 - 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 (6390922)) AND (("shipping_track"."id" not in (53303307, 53305510, 53305510)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-03-16 02:00:07
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6320793)) ORDER BY "shipping_track"."id"
Date: 2025-03-16 02:00:07
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6355555)) ORDER BY "shipping_track"."id"
Date: 2025-03-16 02:00:07
7 213 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 15 23 1 Mar 16 01 8 05 1 08 1 09 3 10 28 11 32 12 23 13 13 14 16 15 30 16 24 17 2 18 14 19 17 - ERROR: syntax error at or near ")" at character 159
- ERROR: syntax error at or near ")" at character 163
- ERROR: syntax error at or near ")" at character 158
Statement: select po.id,policy.name from cash_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('1026845',)
Date: 2025-03-15 23:14:40
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 ('1065939',)
Date: 2025-03-16 01:17:37
Statement: select po.id,policy.name from cash_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('154686',)
Date: 2025-03-16 01:20:15
8 190 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 16 12 60 13 101 14 29 9 115 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 16 02 9 05 1 08 2 11 7 13 26 14 67 17 3 - 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 (6390922)) AND (("shipping_track"."id" not in (53303307, 53305510, 53305510)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-03-16 02:00:07
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6355555)) ORDER BY "shipping_track"."id"Date: 2025-03-16 02:00:07
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6320793)) ORDER BY "shipping_track"."id"Date: 2025-03-16 02:00:07
10 87 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 16 12 28 13 47 14 12 11 26 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 16 02 5 11 5 13 5 14 11 12 23 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 15 23 1 Mar 16 07 1 08 1 09 3 11 4 12 9 13 1 14 1 15 2 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 1368612 waits for ShareLock on transaction 11041691; blocked by process 1368578. Process 1368578 waits for ShareLock on transaction 11041643; blocked by process 1368612. Process 1368612: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-15 22:31:12.777350', "write_uid" = 1040 WHERE id IN (45113649) Process 1368578: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-15 22:32:01.743151', "write_uid" = 1070 WHERE id IN (45112474)
Context: while updating tuple (215867,40) in relation "policy_number"
Hint: See server log for query details.
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-15 22:31:12.777350', "write_uid" = 1040 WHERE id IN (45113649)Date: 2025-03-15 23:34:04
Detail: Process 210203 waits for ShareLock on transaction 11051053; blocked by process 210315. Process 210315 waits for ShareLock on transaction 11051044; blocked by process 210203. Process 210203: update shipping_policy set count_search=2 where id=6376061 Process 210315: UPDATE "shipping_policy" SET "confirm_date" = '2025-03-16', "delegate_button" = false, "destination_type" = 'office', "edit_cash_button" = true, "last_action" = '2025-03-16', "return_button" = false, "state" = 'in_office', "write_date" = '2025-03-16 06:46:43.288795', "write_uid" = 1067 WHERE id IN (6380667, 6376061)
Context: while updating tuple (3950,22) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=2 where id=6376061Date: 2025-03-16 07:47:17
Detail: Process 559326 waits for ShareLock on transaction 11052680; blocked by process 558972. Process 558972 waits for ShareLock on transaction 11052691; blocked by process 559326. Process 559326: DELETE FROM "delegate_track" WHERE id IN (202575) Process 558972: DELETE FROM "delegate_track" WHERE id IN (201449)
Context: while deleting tuple (11,13) in relation "delegate_track"
Hint: See server log for query details.
Statement: DELETE FROM "delegate_track" WHERE id IN (202575)Date: 2025-03-16 08:55:59
13 22 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 16 08 8 12 8 15 4 19 2 14 14 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 16 08 1 10 1 12 3 13 6 14 3 - 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 (201411)
Date: 2025-03-16 08:42:01
Statement: DELETE FROM "delegate_track" WHERE id IN (201474)
Date: 2025-03-16 10:13:16
Statement: DELETE FROM "delegate_track" WHERE id IN (202677)
Date: 2025-03-16 12:04:29
15 11 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #15
Day Hour Count Mar 15 23 1 Mar 16 02 2 05 1 08 1 11 1 13 1 14 3 17 1 16 9 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #16
Day Hour Count Mar 16 07 3 08 3 14 3 - 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-16 07:49:38
17 3 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #17
Day Hour Count Mar 16 04 1 12 1 16 1 18 3 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #18
Day Hour Count Mar 16 04 1 12 1 16 1 19 2 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #19
Day Hour Count Mar 16 04 1 16 1 20 2 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #20
Day Hour Count Mar 16 00 2 - ERROR: invalid input syntax for type integer: "s" at character 4769
Statement: SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."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 ('s')
Date: 2025-03-16 00:13:34
21 2 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #21
Day Hour Count Mar 16 11 1 14 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 (5561771, null, 822, 822, null, 01115114150, null, null, t, 2025-03-16 10:49:55.036306, 2025-03-16 10:49:55.036306, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-03-16 10:49:55.036306', 822, '01115114150', '2025-03-16 10:49:55.036306', 822) RETURNING "id"Date: 2025-03-16 11:49:55
Detail: Failing row contains (4552, 65, 866, 866, مدينة نصر, null, 2025-03-16 13:42:13.167868, 2025-03-16 13:42:13.167868).
Statement: INSERT INTO "res_country_state" ("country_id", "create_date", "create_uid", "name", "write_date", "write_uid") VALUES (65, '2025-03-16 13:42:13.167868', 866, 'مدينة نصر', '2025-03-16 13:42:13.167868', 866) RETURNING "id"Date: 2025-03-16 14:42:13
22 2 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #22
Day Hour Count Mar 16 02 1 05 1 23 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #23
Day Hour Count Mar 16 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-16 13:33:41
24 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #24
Day Hour Count Mar 16 14 1 - 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, 866823) 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-16 13:54:05.806469', 1337, '[(''id'', ''in'', [8342802, 8346918, 8344236])]', 'cash.policy', '866823', '[]', '2025-03-16 13:54:05.806469', 1337) RETURNING "id"Date: 2025-03-16 14:54:11
25 1 FATAL: unsupported frontend protocol 16.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #25
Day Hour Count Mar 16 03 1