-
Global information
- Generated on Sun Feb 16 23:47:19 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 39,314,806 log entries in 2m18s
- Log start from 2025-02-16 00:00:00 to 2025-02-16 22:45:01
-
Overview
Global Stats
- 18,524 Number of unique normalized queries
- 16,647,360 Number of queries
- 4d23h49m40s Total query duration
- 2025-02-16 00:00:00 First query
- 2025-02-16 22:45:01 Last query
- 2,790 queries/s at 2025-02-16 17:21:52 Query peak
- 4d23h49m40s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 4d23h49m40s Execute total duration
- 519 Number of events
- 17 Number of unique normalized events
- 272 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
- 16,647,360 Average queries per session
- 4d23h49m40s 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
- 2,790 queries/s Query Peak
- 2025-02-16 17:21:52 Date
SELECT Traffic
Key values
- 2,133 queries/s Query Peak
- 2025-02-16 17:21:54 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,073 queries/s Query Peak
- 2025-02-16 19:55:11 Date
Queries duration
Key values
- 4d23h49m40s 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) Feb 16 00 256,022 0ms 2s160ms 24ms 3m19s 3m41s 4m56s 01 261,577 0ms 1s644ms 41ms 5m10s 5m24s 8m34s 02 244,754 0ms 7s494ms 41ms 5m22s 6m53s 7m8s 03 240,141 0ms 6s813ms 37ms 4m49s 5m30s 6m28s 04 236,754 0ms 1s509ms 40ms 4m8s 5m17s 6m8s 05 252,354 0ms 2s894ms 44ms 5m19s 5m48s 5m50s 06 261,596 0ms 1s373ms 28ms 3m41s 4m12s 5m54s 07 264,405 0ms 2s54ms 17ms 2m39s 3m5s 3m43s 08 381,119 0ms 2s530ms 16ms 3m10s 3m29s 5m6s 09 978,850 0ms 15m59s 21ms 9m32s 12m8s 36m5s 10 1,377,116 0ms 53m27s 23ms 12m24s 14m17s 59m1s 11 1,444,160 0ms 7s839ms 20ms 16m14s 19m12s 19m37s 12 1,360,877 0ms 17s788ms 14ms 7m44s 9m8s 10m59s 13 1,350,647 0ms 2m4s 17ms 10m9s 11m38s 12m56s 14 1,272,798 0ms 8s998ms 15ms 7m58s 8m48s 9m16s 15 1,082,698 0ms 4s8ms 15ms 8m8s 8m19s 8m54s 16 1,139,252 0ms 7s465ms 16ms 7m24s 7m56s 8m7s 17 1,091,559 0ms 8s79ms 19ms 9m10s 10m56s 16m15s 18 986,036 0ms 3m20s 52ms 24m48s 25m56s 26m42s 19 827,514 0ms 2m57s 48ms 16m3s 18m37s 22m42s 20 686,201 0ms 1m57s 62ms 23m2s 25m6s 27m28s 21 424,126 0ms 1m27s 28ms 5m14s 6m4s 6m45s 22 226,804 0ms 6s884ms 22ms 3m35s 3m43s 4m23s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 16 00 133,758 0 47ms 2m50s 3m19s 3m51s 01 137,768 0 77ms 4m28s 5m10s 7m30s 02 127,268 0 80ms 4m13s 5m22s 7m6s 03 122,009 0 72ms 3m59s 4m48s 5m55s 04 119,967 0 79ms 3m46s 4m8s 5m44s 05 129,163 0 86ms 4m14s 5m18s 5m49s 06 143,508 0 52ms 3m8s 3m40s 5m45s 07 157,579 0 28ms 1m51s 2m38s 3m8s 08 218,349 0 29ms 2m51s 3m9s 4m12s 09 559,630 0 36ms 6m38s 9m31s 13m29s 10 763,980 0 42ms 11m26s 12m22s 17m41s 11 792,283 0 37ms 10m25s 16m11s 19m20s 12 762,316 0 26ms 6m50s 7m43s 10m13s 13 758,560 0 31ms 8m28s 10m8s 12m14s 14 712,421 0 26ms 7m10s 7m57s 9m5s 15 597,914 0 28ms 6m46s 8m7s 8m25s 16 629,423 0 29ms 6m16s 7m24s 7m56s 17 649,308 0 32ms 7m50s 9m8s 15m52s 18 564,110 0 90ms 20m6s 23m23s 25m53s 19 471,598 0 83ms 14m 15m30s 19m30s 20 395,263 0 107ms 18m28s 22m59s 25m47s 21 237,577 0 50ms 4m34s 5m14s 6m11s 22 123,019 0 42ms 2m42s 3m34s 4m23s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 16 00 20,536 3,650 86 1 0ms 114ms 146ms 195ms 01 29,168 6,311 224 0 0ms 159ms 221ms 318ms 02 26,532 5,484 79 0 0ms 152ms 208ms 330ms 03 23,852 5,906 110 0 0ms 140ms 215ms 285ms 04 24,274 6,359 144 0 0ms 144ms 169ms 226ms 05 28,902 7,530 94 0 0ms 174ms 213ms 250ms 06 19,507 5,031 73 0 0ms 118ms 142ms 170ms 07 10,340 2,817 101 0 0ms 67ms 84ms 119ms 08 17,480 4,533 226 0 0ms 104ms 131ms 177ms 09 53,049 12,903 881 0 1ms 308ms 361ms 559ms 10 85,418 18,288 763 0 0ms 524ms 643ms 871ms 11 83,665 17,277 963 0 0ms 519ms 621ms 947ms 12 68,434 14,200 646 0 0ms 350ms 400ms 489ms 13 74,884 14,462 725 0 0ms 426ms 481ms 625ms 14 71,675 16,347 618 2 0ms 339ms 471ms 866ms 15 52,507 13,159 675 0 0ms 282ms 319ms 403ms 16 67,821 18,109 749 0 0ms 317ms 444ms 851ms 17 57,885 15,156 797 0 0ms 456ms 562ms 840ms 18 94,524 33,990 776 0 7ms 878ms 1s349ms 2m16s 19 80,098 19,995 558 0 4ms 608ms 740ms 43s363ms 20 78,936 15,627 384 0 3ms 677ms 956ms 52s909ms 21 43,706 8,278 200 0 2ms 260ms 306ms 420ms 22 21,116 3,568 137 0 0ms 140ms 188ms 278ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Feb 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% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Feb 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 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s Day Hour Count Average Duration Average idle time Feb 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 20 0 0ms 0ms 21 0 0ms 0ms 22 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
- 86,478 buffers Checkpoint Peak
- 2025-02-16 18:46:21 Date
- 270.052 seconds Highest write time
- 0.019 seconds Sync time
Checkpoints Wal files
Key values
- 39 files Wal files usage Peak
- 2025-02-16 18:46:21 Date
Checkpoints distance
Key values
- 1,231.24 Mo Distance Peak
- 2025-02-16 18:46:21 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Feb 16 00 99,294 3,017.561s 0.03s 3,017.631s 01 146,432 3,239.531s 0.043s 3,239.628s 02 135,987 3,239.567s 0.038s 3,239.657s 03 124,715 3,239.621s 0.038s 3,239.704s 04 142,404 3,239.512s 0.038s 3,239.6s 05 150,742 3,239.596s 0.042s 3,239.688s 06 144,058 3,239.501s 0.027s 3,239.579s 07 80,343 3,239.557s 0.028s 3,239.625s 08 121,013 3,159.556s 0.029s 3,159.625s 09 362,112 3,239.465s 0.055s 3,239.594s 10 564,822 3,239.531s 0.071s 3,239.704s 11 604,594 3,239.455s 0.071s 3,239.639s 12 546,576 3,239.473s 0.057s 3,239.614s 13 528,753 3,239.537s 0.048s 3,239.669s 14 464,675 3,239.48s 0.058s 3,239.619s 15 387,197 3,239.539s 0.05s 3,239.677s 16 379,630 3,239.519s 0.056s 3,239.645s 17 331,425 2,875.564s 0.075s 2,875.716s 18 498,864 3,239.473s 0.065s 3,239.653s 19 434,224 3,239.513s 0.054s 3,239.66s 20 408,705 3,239.44s 0.058s 3,239.597s 21 203,312 3,239.56s 0.043s 3,239.662s 22 102,173 2,429.72s 0.029s 2,429.785s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 16 00 0 0 42 2,757 0.002s 0.012s 01 0 0 67 3,638 0.002s 0.012s 02 0 0 65 3,089 0.003s 0.012s 03 0 0 59 3,094 0.005s 0.012s 04 0 0 68 3,413 0.002s 0.012s 05 0 0 69 3,186 0.011s 0.012s 06 0 0 69 2,615 0.003s 0.012s 07 0 0 35 2,500 0.002s 0.012s 08 0 0 51 3,264 0.002s 0.012s 09 0 0 152 4,758 0.003s 0.012s 10 0 0 242 5,369 0.003s 0.012s 11 0 0 268 5,226 0.003s 0.012s 12 0 0 235 5,104 0.003s 0.012s 13 0 0 226 5,273 0.003s 0.012s 14 0 0 199 5,400 0.002s 0.012s 15 0 0 165 5,396 0.002s 0.012s 16 0 0 159 5,295 0.003s 0.012s 17 0 0 143 5,506 0.011s 0.012s 18 0 0 219 5,491 0.003s 0.012s 19 0 0 188 5,190 0.002s 0.012s 20 0 0 184 5,004 0.003s 0.012s 21 0 0 91 4,581 0.003s 0.012s 22 0 0 43 3,310 0.002s 0.009s Day Hour Count Avg time (sec) Feb 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 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Feb 16 00 58,343.17 kB 101,984.25 kB 01 91,316.75 kB 116,153.42 kB 02 88,662.58 kB 114,930.25 kB 03 77,614.64 kB 125,150.73 kB 04 92,325.08 kB 125,330.08 kB 05 94,678.27 kB 112,148.09 kB 06 94,607.42 kB 141,545.50 kB 07 47,701.67 kB 84,034.00 kB 08 69,357.08 kB 81,509.00 kB 09 207,439.83 kB 239,141.58 kB 10 330,108.58 kB 365,070.00 kB 11 366,661.42 kB 433,618.92 kB 12 319,842.67 kB 382,881.92 kB 13 309,340.08 kB 409,582.33 kB 14 271,192.83 kB 351,514.00 kB 15 225,128.83 kB 282,142.17 kB 16 216,724.42 kB 271,488.58 kB 17 196,013.58 kB 246,277.17 kB 18 298,851.67 kB 372,102.42 kB 19 256,798.83 kB 423,398.08 kB 20 251,565.50 kB 327,143.58 kB 21 123,795.33 kB 207,400.33 kB 22 79,105.78 kB 130,215.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 Feb 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 20 0 0 0 21 0 0 0 22 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 Feb 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 20 0 0 21 0 0 22 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
- 9,306,771 Total read queries
- 5,010,315 Total write queries
Queries by database
Key values
- unknown Main database
- 16,647,360 Requests
- 4d23h49m40s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 16,647,360 Requests
User Request type Count Duration unknown Total 16,647,360 4d23h49m40s copy from 3 4ms cte 6,552 1s610ms ddl 90 11ms delete 10,009 8m11s insert 1,134,309 6m10s others 2,330,274 2m18s select 9,306,771 4d23h4m4s tcl 3,590,372 2m25s update 268,980 26m27s Duration by user
Key values
- 4d23h49m40s (unknown) Main time consuming user
User Request type Count Duration unknown Total 16,647,360 4d23h49m40s copy from 3 4ms cte 6,552 1s610ms ddl 90 11ms delete 10,009 8m11s insert 1,134,309 6m10s others 2,330,274 2m18s select 9,306,771 4d23h4m4s tcl 3,590,372 2m25s update 268,980 26m27s Queries by host
Key values
- unknown Main host
- 16,647,360 Requests
- 4d23h49m40s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 16,647,360 Requests
- 4d23h49m40s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-02-16 05:17:49 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 15,233,514 0-1ms duration
Slowest individual queries
Rank Duration Query 1 53m27s SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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"."name"::text ilike '%39%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-16 10:18:35 ]
2 15m59s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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)))))))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-16 09:41:16 ]
3 15m57s SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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"."name"::text ilike '%3%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-16 09:41:15 ]
4 3m20s UPDATE "shipping_policy" SET "total_shipping_price" = '90', "write_date" = '2025-02-16 17:33:52.784419', "write_uid" = 1027 WHERE id IN (5426151, 5417501, 5417495, 5415190, 5396200, 5333171, 5312443);[ Date: 2025-02-16 18:37:13 ]
5 2m57s UPDATE "shipping_policy" SET "client_delivery_button" = true, "edit_cash_button" = false, "new_destination_button" = false, "return_button" = true, "state" = 'wating', "wating_reason" = '..', "write_date" = '2025-02-16 18:17:12.163477', "write_uid" = 983 WHERE id IN (5422163);[ Date: 2025-02-16 19:20:09 ]
6 2m49s update shipping_policy set count_search = 2 where id = 5359785;[ Date: 2025-02-16 18:56:30 ]
7 2m32s 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-02-16 19:17:02 ]
8 2m27s 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-02-16 18:57:14 ]
9 2m15s update shipping_policy set count_search = 1 where id = 5348302;[ Date: 2025-02-16 18:21:41 ]
10 2m7s 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-02-16 18:15:15 ]
11 2m7s 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-02-16 09:27:17 ]
12 2m4s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-16 13:24:01 ]
13 1m57s DELETE FROM "delegate_track" WHERE id IN (172445);[ Date: 2025-02-16 20:28:18 ]
14 1m55s DELETE FROM "delegate_track" WHERE id IN (172445);[ Date: 2025-02-16 20:26:03 ]
15 1m55s UPDATE "shipping_policy" SET "client_delivery_button" = true, "edit_cash_button" = false, "new_destination_button" = false, "return_button" = true, "state" = 'wating', "write_date" = '2025-02-16 18:14:43.799319', "write_uid" = 983 WHERE id IN (5422163);[ Date: 2025-02-16 19:17:09 ]
16 1m51s update shipping_policy set count_search = 1 where id = 5378788;[ Date: 2025-02-16 18:32:26 ]
17 1m35s DELETE FROM "res_partner" WHERE id IN (8006740, 8008226, 8005339, 8008218, 8007936, 8007934, 8007013, 8006739, 8008004, 8005335, 8008130, 8007935, 8008223);[ Date: 2025-02-16 18:44:58 ]
18 1m27s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-16 20:10:31.829227', "write_uid" = 975 WHERE id IN (32515359);[ Date: 2025-02-16 21:12:01 ]
19 1m22s UPDATE "shipping_policy" SET "notes" = 'جرد مكتب اكتوبر اليوم 16/2/2025', "write_date" = '2025-02-16 17:35:24.138409', "write_uid" = 876 WHERE id IN (5382667, 5211026, 5202192, 5101806, 5057180, 5009973, 4950730, 4936603, 4754966, 4709119, 4664952, 3762808, 3633843);[ Date: 2025-02-16 18:36:46 ]
20 1m18s DELETE FROM "res_partner" WHERE id IN (8008128, 8005755, 8005758, 8005762, 8005763, 8005753, 8007011, 8007937);[ Date: 2025-02-16 18:40:50 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2d11h34m10s 285,330 565ms 6s821ms 751ms 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 Feb 16 00 6,561 1h9m1s 631ms 01 9,736 1h44m21s 643ms 02 9,708 1h44m51s 648ms 03 8,341 1h28m43s 638ms 04 9,371 1h39m1s 634ms 05 10,000 1h47m1s 642ms 06 7,086 1h14m46s 633ms 07 4,059 41m53s 619ms 08 5,382 55m20s 616ms 09 12,206 2h25m22s 714ms 10 19,271 4h12m48s 787ms 11 19,430 4h21m55s 808ms 12 14,442 2h46m57s 693ms 13 17,258 3h29m27s 728ms 14 12,531 2h25m25s 696ms 15 10,611 2h53s 683ms 16 10,832 2h2m49s 680ms 17 11,378 2h17m22s 724ms 18 18,402 4h59m29s 976ms 19 27,073 6h10m18s 820ms 20 28,402 7h30m2s 950ms 21 9,363 1h43m45s 664ms 22 3,887 42m29s 655ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5435022)) AND (("shipping_track"."id" not in (45078545, 45078545)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 18:35:57 Duration: 6s821ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5439595)) AND (("shipping_track"."id" not in (45125072, 45125072)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 20:16:45 Duration: 6s767ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5439023)) AND (("shipping_track"."id" not in (45121481, 45121481)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 20:11:55 Duration: 6s763ms
2 15h55m27s 157,338 248ms 2s593ms 364ms 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 #2
Day Hour Count Duration Avg duration Feb 16 00 1,387 6m13s 269ms 01 2,289 10m18s 270ms 02 1,965 8m53s 271ms 03 3,056 13m51s 272ms 04 3,370 15m15s 271ms 05 3,936 18m1s 274ms 06 3,290 14m59s 273ms 07 1,555 6m56s 268ms 08 3,473 15m51s 274ms 09 6,433 34m2s 317ms 10 10,969 1h2m37s 342ms 11 6,893 40m33s 352ms 12 6,939 35m13s 304ms 13 6,432 34m15s 319ms 14 6,513 32m39s 300ms 15 8,605 42m51s 298ms 16 10,034 49m51s 298ms 17 7,818 44m40s 342ms 18 38,984 5h8m 474ms 19 15,005 1h40m14s 400ms 20 8,016 58m16s 436ms 21 154 45s235ms 293ms 22 222 1m4s 288ms -
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" = '342045')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-16 18:35:54 Duration: 2s593ms
-
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" = '9995100')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-16 11:06:14 Duration: 2s593ms
-
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" = '384654')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-16 18:32:49 Duration: 2s582ms
3 10h26m21s 48,622 573ms 8s405ms 772ms select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 16 00 195 2m13s 683ms 01 613 6m34s 644ms 02 165 1m59s 723ms 03 300 3m25s 684ms 04 475 5m11s 655ms 05 338 3m51s 683ms 06 249 2m48s 677ms 07 302 3m16s 649ms 08 969 10m12s 631ms 09 4,180 50m50s 729ms 10 3,740 51m34s 827ms 11 5,024 1h12m13s 862ms 12 3,472 41m46s 721ms 13 3,680 46m34s 759ms 14 3,620 42m38s 706ms 15 3,297 38m10s 694ms 16 2,994 34m4s 682ms 17 3,771 44m20s 705ms 18 3,501 58m56s 1s10ms 19 4,202 57m30s 821ms 20 2,136 32m51s 923ms 21 1,001 11m1s 660ms 22 398 4m15s 641ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5378919, 5374458, 5374454, 5374452, 5374448, 5374446, 5374439, 5374437, 5374429, 5374427, 5374421, 5374409, 5374392, 5374366, 5374349, 5374347, 5374346, 5374343, 5374339, 5373426, 5373419, 5372035, 5372027, 5372025, 5372024, 5372023, 5372022, 5372021, 5372019, 5372018, 5372017, 5372016, 5372013, 5371976, 5371965, 5371962, 5371959, 5371957, 5371954, 5371932, 5371918, 5371915, 5371912, 5371903, 5371900, 5371883, 5371872, 5371864, 5371861, 5371858, 5371855, 5371852, 5371845, 5371842, 5371839, 5371836, 5371835, 5371833, 5371831, 5371829, 5371827, 5371825, 5371824, 5371822, 5371820, 5371817, 5371814, 5371802, 5371799, 5371796, 5371795, 5371792, 5371789, 5371786, 5371783, 5371722, 5371719, 5371716, 5371713, 5367195, 5367192, 5367186, 5367183, 5367180, 5367174, 5367157, 5367150, 5367140, 5367135, 5367130, 5367126, 5367121, 5367116, 5367111, 5367106, 5367102, 5367098, 5367093, 5367072, 5367061, 5367042, 5367030, 5367021, 5367008, 5366996, 5366990, 5366978, 5366975, 5366972, 5366969, 5366965, 5366962, 5366960, 5366958, 5366956, 5366954, 5365470, 5365467, 5365464, 5365461, 5365458, 5365454, 5365428, 5365422, 5365416, 5365413, 5365408, 5365406, 5365403, 5365400, 5365391, 5365380, 5365366, 5365365, 5365351, 5365349, 5365344, 5365342, 5365340, 5365338, 5365335, 5365332, 5365324, 5365321, 5365316, 5365313, 5365310, 5365301, 5365298, 5365296, 5365293, 5365287, 5365285, 5365282, 5365279, 5365276, 5365273, 5365267, 5362052, 5362046, 5362041, 5362032, 5362027, 5362021, 5362017, 5362011, 5362005, 5362000, 5361995, 5361989, 5361985, 5361980, 5361975, 5361970, 5361965, 5361960, 5361955, 5358481, 5358479, 5358477, 5358473, 5358458, 5358455, 5358453, 5358426, 5358417, 5358413, 5358411, 5358400, 5358398, 5358362, 5358352, 5358351, 5358350, 5358349, 5358340, 5358339, 5358338, 5354651, 5354646, 5354641, 5354635, 5354630, 5354625, 5354620, 5354591, 5354515, 5354509, 5354505, 5353341, 5353340, 5353339, 5353338, 5353337, 5353335, 5353334, 5353332, 5353330, 5353328, 5353324, 5353311, 5353309, 5353307, 5353305, 5353303, 5353264, 5353260, 5353201)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 20:12:00 Duration: 8s405ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5362947, 5352858, 5348675, 5345384, 5343921)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 11:00:41 Duration: 6s816ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5434215, 5398373, 5398075, 5398068, 5398067, 5398063)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 20:13:28 Duration: 6s593ms
4 5h48m24s 17,275 808ms 3s77ms 1s210ms 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 Feb 16 00 640 10m41s 1s2ms 01 624 11m18s 1s87ms 02 947 16m50s 1s66ms 03 1,045 19m5s 1s96ms 04 399 7m10s 1s79ms 05 1,368 24m27s 1s72ms 06 591 10m26s 1s60ms 07 247 4m21s 1s58ms 08 1 1s20ms 1s20ms 09 396 7m34s 1s146ms 10 306 6m31s 1s278ms 11 120 2m46s 1s384ms 12 52 1m2s 1s209ms 13 237 4m47s 1s212ms 14 434 8m31s 1s179ms 15 103 1m56s 1s128ms 16 395 7m38s 1s160ms 17 1,607 30m59s 1s157ms 18 2,144 49m54s 1s396ms 19 1,046 25m6s 1s440ms 20 2,328 57m14s 1s475ms 21 1,533 27m52s 1s91ms 22 712 12m5s 1s18ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '312597')) 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-02-16 20:16:35 Duration: 3s77ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '204731')) 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-02-16 20:11:56 Duration: 3s50ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '312596')) 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-02-16 20:16:41 Duration: 3s47ms
5 4h21m23s 58,489 91ms 1s202ms 268ms 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 #5
Day Hour Count Duration Avg duration Feb 16 00 1,495 6m10s 247ms 01 3,506 14m2s 240ms 02 3,421 13m33s 237ms 03 2,068 8m42s 252ms 04 2,050 6m56s 203ms 05 3,163 11m38s 220ms 06 1,167 4m27s 228ms 07 486 1m51s 229ms 08 4 928ms 232ms 09 774 2m48s 218ms 10 690 3m24s 296ms 11 398 1m57s 294ms 12 466 1m43s 222ms 13 1,336 6m22s 286ms 14 1,624 7m4s 261ms 15 806 3m19s 247ms 16 2,306 9m57s 258ms 17 5,039 21m26s 255ms 18 6,870 37m42s 329ms 19 4,594 23m55s 312ms 20 8,314 44m29s 321ms 21 5,400 20m3s 222ms 22 2,512 9m43s 232ms -
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-02-16 20:16:43 Duration: 1s202ms
-
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-02-16 20:16:43 Duration: 1s141ms
-
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-02-16 20:06:50 Duration: 984ms
6 3h49m11s 12,315 330ms 2s898ms 1s116ms 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 #6
Day Hour Count Duration Avg duration Feb 16 00 116 1m56s 1s1ms 01 1,142 18m14s 958ms 02 780 12m15s 942ms 03 1 945ms 945ms 04 635 9m46s 923ms 05 234 3m38s 934ms 08 3 2s912ms 970ms 09 7 8s323ms 1s189ms 10 46 47s549ms 1s33ms 11 81 1m45s 1s299ms 12 185 3m18s 1s71ms 13 447 7m59s 1s72ms 14 389 6m48s 1s50ms 15 302 5m15s 1s44ms 16 772 13m2s 1s13ms 17 929 15m57s 1s31ms 18 1,328 29m40s 1s340ms 19 1,268 27m57s 1s323ms 20 1,880 41m30s 1s324ms 21 1,215 19m49s 979ms 22 555 9m15s 1s -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '144928')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (41))))))) 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 (41)))))) 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 (41)))))) 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 (41))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-16 19:12:27 Duration: 2s898ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '3039')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))))) 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 (30)))))) 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 (30)))))) 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 (30))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-16 20:11:57 Duration: 2s880ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '372430')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-16 20:11:20 Duration: 2s856ms
7 3h5m29s 27,244 269ms 2s780ms 408ms select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 16 08 945 5m23s 342ms 09 2,178 14m37s 402ms 10 3,649 25m58s 427ms 11 2,255 17m26s 463ms 12 3,298 21m28s 390ms 13 2,698 18m18s 407ms 14 2,411 15m41s 390ms 15 3,716 23m38s 381ms 16 3,165 20m58s 397ms 17 1,850 12m21s 400ms 18 902 8m16s 549ms 19 177 1m22s 464ms -
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" = '459365')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-16 11:03:33 Duration: 2s780ms
-
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" = '459256')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-16 11:03:36 Duration: 2s616ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_receiver') 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" = '416395')))) 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-02-16 11:00:32 Duration: 2s613ms
8 2h35m56s 160,475 40ms 465ms 58ms 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 #8
Day Hour Count Duration Avg duration Feb 16 00 3,013 2m27s 48ms 01 4,951 4m2s 48ms 02 4,564 3m44s 49ms 03 2,909 2m24s 49ms 04 2,685 2m12s 49ms 05 3,146 2m34s 49ms 06 2,208 1m49s 49ms 07 1,464 1m11s 49ms 08 2,938 2m24s 49ms 09 8,433 7m47s 55ms 10 14,483 14m42s 60ms 11 15,446 16m 62ms 12 12,322 11m6s 54ms 13 13,099 12m13s 55ms 14 10,374 9m17s 53ms 15 8,526 7m33s 53ms 16 8,454 7m21s 52ms 17 7,415 7m19s 59ms 18 10,343 13m43s 79ms 19 8,117 9m29s 70ms 20 6,931 8m34s 74ms 21 6,212 5m44s 55ms 22 2,442 2m14s 55ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5426151, 5417501, 5417495, 5415190, 5396200, 5333171, 5312443)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-16 18:33:53 Duration: 465ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5391738, 5387093, 5387031, 5385267, 5365518)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-16 11:01:21 Duration: 414ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5414093, 5404579, 5286017, 5206243, 5040099)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-16 18:30:40 Duration: 407ms
9 1h23m47s 209 663ms 53m27s 24s56ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 16 09 8 17m47s 2m13s 10 8 53m53s 6m44s 12 6 21s217ms 3s536ms 13 12 39s502ms 3s291ms 14 19 1m7s 3s546ms 15 13 46s464ms 3s574ms 16 15 53s474ms 3s564ms 17 19 1m2s 3s263ms 18 19 1m25s 4s498ms 19 37 2m30s 4s64ms 20 31 2m12s 4s260ms 21 16 50s466ms 3s154ms 22 6 18s651ms 3s108ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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"."name"::text ilike '%39%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-16 10:18:35 Duration: 53m27s
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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"."name"::text ilike '%3%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-16 09:41:15 Duration: 15m57s
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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"."name"::text ilike '%3969%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-16 09:26:02 Duration: 43s66ms
10 1h21m47s 15,487 253ms 2s599ms 316ms 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 #10
Day Hour Count Duration Avg duration Feb 16 00 166 45s127ms 271ms 01 777 3m31s 271ms 02 14 3s911ms 279ms 03 90 24s620ms 273ms 04 84 23s304ms 277ms 05 821 3m52s 283ms 06 1,122 5m10s 276ms 07 356 1m36s 269ms 08 1,377 6m15s 272ms 09 1,559 8m14s 317ms 10 2,378 14m26s 364ms 11 1,559 9m22s 360ms 12 395 1m59s 302ms 13 867 4m37s 320ms 14 1,197 5m58s 299ms 15 697 3m28s 298ms 16 387 1m51s 288ms 17 537 2m53s 323ms 18 391 2m51s 437ms 19 151 58s5ms 384ms 20 358 2m4s 348ms 21 117 33s673ms 287ms 22 87 24s929ms 286ms -
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" = '507120')) 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-02-16 11:05:09 Duration: 2s599ms
-
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" = '445640')) 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-02-16 18:31:17 Duration: 2s503ms
-
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" = '447616')) 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-02-16 10:58:53 Duration: 2s482ms
11 1h37s 2,537 108ms 5s339ms 1s433ms 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 #11
Day Hour Count Duration Avg duration Feb 16 00 8 5s22ms 627ms 01 3 3s455ms 1s151ms 07 10 7s184ms 718ms 08 28 28s57ms 1s2ms 09 124 2m31s 1s223ms 10 195 4m35s 1s410ms 11 275 6m41s 1s459ms 12 310 6m46s 1s310ms 13 305 7m33s 1s486ms 14 312 7m37s 1s465ms 15 256 6m 1s408ms 16 197 4m49s 1s468ms 17 250 4m51s 1s164ms 18 79 2m44s 2s80ms 19 99 3m14s 1s962ms 20 48 1m40s 2s86ms 21 19 20s259ms 1s66ms 22 19 28s863ms 1s519ms -
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 (115)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (115))))) 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-02-16 20:16:01 Duration: 5s339ms
-
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 (76)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (76))))) 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-02-16 18:33:24 Duration: 4s605ms
-
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 (44)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (44))))) 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-02-16 18:31:41 Duration: 4s597ms
12 58m39s 50,951 50ms 426ms 69ms 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 #12
Day Hour Count Duration Avg duration Feb 16 00 2 119ms 59ms 08 1,741 1m45s 60ms 09 4,173 4m39s 67ms 10 5,212 6m29s 74ms 11 5,726 7m33s 79ms 12 5,670 6m14s 66ms 13 5,450 6m11s 68ms 14 5,279 5m47s 65ms 15 5,236 5m48s 66ms 16 7,215 7m48s 64ms 17 3,247 3m34s 65ms 18 1,311 1m53s 86ms 19 688 54s349ms 78ms 21 1 56ms 56ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5276225) 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-02-16 18:29:27 Duration: 426ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5283401) 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-02-16 18:35:50 Duration: 414ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5282377) 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-02-16 18:35:51 Duration: 413ms
13 55m22s 23,261 103ms 926ms 142ms 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 #13
Day Hour Count Duration Avg duration Feb 16 00 69 7s709ms 111ms 01 125 15s963ms 127ms 03 24 2s989ms 124ms 04 56 6s921ms 123ms 05 9 1s242ms 138ms 07 20 2s491ms 124ms 08 175 21s743ms 124ms 09 1,282 2m58s 139ms 10 1,585 3m58s 150ms 11 2,402 6m10s 154ms 12 2,222 4m50s 130ms 13 2,716 6m5s 134ms 14 2,847 6m13s 131ms 15 1,761 3m45s 127ms 16 2,874 6m11s 129ms 17 921 2m6s 137ms 18 1,421 4m57s 209ms 19 1,864 5m4s 163ms 20 288 49s497ms 171ms 21 473 57s207ms 120ms 22 127 15s418ms 121ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8155548)) AND (("cash_track"."id" not in (8201195)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-16 18:34:06 Duration: 926ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8155529)) AND (("cash_track"."id" not in (8201172)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-16 18:32:46 Duration: 917ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8155542)) AND (("cash_track"."id" not in (8201189)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-16 18:33:49 Duration: 916ms
14 46m9s 15,615 145ms 231ms 177ms 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 #14
Day Hour Count Duration Avg duration Feb 16 00 1,207 3m28s 172ms 01 1,344 3m55s 175ms 02 1,828 5m25s 178ms 03 2,745 8m3s 176ms 04 2,880 8m37s 179ms 05 3,042 9m7s 179ms 06 1,863 5m29s 177ms 07 706 2m1s 172ms -
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" = '523302')) 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-02-16 05:52:17 Duration: 231ms
-
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" = '536307')) 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-02-16 01:10:35 Duration: 229ms
-
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" = '509836')) 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-02-16 05:53:17 Duration: 226ms
15 27m20s 2,557 431ms 2s182ms 641ms 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 #15
Day Hour Count Duration Avg duration Feb 16 08 251 2m6s 504ms 09 593 6m 607ms 10 246 2m46s 675ms 11 1,190 13m48s 696ms 12 140 1m20s 575ms 14 24 14s986ms 624ms 15 3 1s816ms 605ms 16 106 59s624ms 562ms 17 4 2s282ms 570ms -
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" = '451403')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-16 11:05:53 Duration: 2s182ms
-
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" = '269594')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-16 11:18:56 Duration: 1s869ms
-
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" = '305223')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-16 11:00:35 Duration: 1s430ms
16 26m4s 25,168 45ms 318ms 62ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 16 08 872 48s275ms 55ms 09 2,009 2m1s 60ms 10 3,978 4m21s 65ms 11 2,085 2m20s 67ms 12 2,914 2m57s 60ms 13 2,890 2m59s 62ms 14 2,374 2m22s 60ms 15 2,860 2m53s 60ms 16 2,630 2m36s 59ms 17 1,473 1m26s 58ms 18 711 53s141ms 74ms 19 372 24s477ms 65ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5394417) ORDER BY "collection_policy"."id";
Date: 2025-02-16 18:04:40 Duration: 318ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5236107) ORDER BY "collection_policy"."id";
Date: 2025-02-16 10:48:31 Duration: 318ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5342313) ORDER BY "collection_policy"."id";
Date: 2025-02-16 11:04:33 Duration: 316ms
17 18m16s 91 130ms 15m59s 12s50ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 16 09 3 16m11s 5m23s 10 3 4s167ms 1s389ms 12 4 5s244ms 1s311ms 13 4 4s916ms 1s229ms 14 9 10s985ms 1s220ms 15 5 6s205ms 1s241ms 16 7 9s775ms 1s396ms 17 9 11s122ms 1s235ms 18 10 17s659ms 1s765ms 19 15 23s146ms 1s543ms 20 13 20s785ms 1s598ms 21 6 7s222ms 1s203ms 22 3 3s921ms 1s307ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-16 09:41:16 Duration: 15m59s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-16 09:25:16 Duration: 10s596ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))))) 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 (10)))))) 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 (10)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))))))) 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 (10)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-16 18:28:06 Duration: 2s460ms
18 16m20s 5,608 122ms 1s208ms 174ms 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 #18
Day Hour Count Duration Avg duration Feb 16 00 27 3s578ms 132ms 02 5 657ms 131ms 07 10 1s326ms 132ms 08 65 8s779ms 135ms 09 326 52s438ms 160ms 10 974 2m57s 182ms 11 1,007 3m22s 201ms 12 805 2m3s 152ms 13 921 2m27s 159ms 14 391 1m 154ms 15 300 44s2ms 146ms 16 159 23s250ms 146ms 17 220 34s780ms 158ms 18 105 37s860ms 360ms 19 139 35s726ms 257ms 20 83 15s809ms 190ms 21 42 6s530ms 155ms 22 29 4s273ms 147ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 60)) 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-02-16 18:32:09 Duration: 1s208ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 60)) 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-02-16 19:11:44 Duration: 1s208ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 126)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-16 11:05:18 Duration: 1s200ms
19 15m17s 2,928 255ms 651ms 313ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 16 02 77 21s177ms 275ms 03 10 2s710ms 271ms 04 67 18s281ms 272ms 06 301 1m21s 272ms 07 493 2m13s 270ms 09 108 34s844ms 322ms 10 1,569 8m47s 336ms 11 34 14s751ms 433ms 13 67 23s344ms 348ms 15 67 20s417ms 304ms 22 135 39s177ms 290ms -
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" = '213795')) 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-02-16 10:42:18 Duration: 651ms
-
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" = '418763')) 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-02-16 10:42:17 Duration: 622ms
-
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" = '366114')) 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-02-16 11:03:12 Duration: 600ms
20 13m5s 2,726 219ms 2s53ms 287ms select name from shipping_policy order by create_date desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 16 00 120 29s925ms 249ms 01 120 30s318ms 252ms 02 120 30s181ms 251ms 03 120 30s47ms 250ms 04 120 30s142ms 251ms 05 120 30s648ms 255ms 06 120 29s953ms 249ms 07 120 29s766ms 248ms 08 120 29s979ms 249ms 09 120 33s661ms 280ms 10 120 36s673ms 305ms 11 120 41s288ms 344ms 12 120 33s259ms 277ms 13 120 34s478ms 287ms 14 120 33s64ms 275ms 15 120 32s791ms 273ms 16 120 32s297ms 269ms 17 116 32s477ms 279ms 18 120 58s544ms 487ms 19 120 45s270ms 377ms 20 120 48s891ms 407ms 21 120 29s703ms 247ms 22 90 21s687ms 240ms -
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-02-16 19:12:05 Duration: 2s53ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-02-16 18:35:03 Duration: 1s972ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-02-16 19:11:03 Duration: 1s935ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,330,140 2m18s 0ms 21ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 16 00 40,963 1s975ms 0ms 01 37,644 1s853ms 0ms 02 36,567 1s843ms 0ms 03 36,861 1s935ms 0ms 04 35,975 1s887ms 0ms 05 36,454 1s994ms 0ms 06 36,587 2s30ms 0ms 07 34,871 1s920ms 0ms 08 55,561 3s29ms 0ms 09 136,333 8s192ms 0ms 10 195,861 12s577ms 0ms 11 211,817 13s772ms 0ms 12 198,972 12s146ms 0ms 13 194,274 12s120ms 0ms 14 184,597 11s187ms 0ms 15 166,950 9s770ms 0ms 16 168,777 9s889ms 0ms 17 142,936 7s549ms 0ms 18 114,845 7s320ms 0ms 19 100,811 6s99ms 0ms 20 77,200 4s816ms 0ms 21 53,311 2s766ms 0ms 22 31,973 1s582ms 0ms -
DISCARD ALL;
Date: 2025-02-16 10:32:10 Duration: 21ms
-
DISCARD ALL;
Date: 2025-02-16 15:10:03 Duration: 15ms
-
DISCARD ALL;
Date: 2025-02-16 12:22:14 Duration: 3ms
2 1,795,180 29s238ms 0ms 11ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 16 00 28,362 425ms 0ms 01 25,134 398ms 0ms 02 24,378 390ms 0ms 03 25,672 405ms 0ms 04 24,995 398ms 0ms 05 25,096 407ms 0ms 06 28,433 439ms 0ms 07 29,287 427ms 0ms 08 42,390 630ms 0ms 09 107,821 1s722ms 0ms 10 156,224 2s678ms 0ms 11 168,917 2s879ms 0ms 12 157,995 2s388ms 0ms 13 153,685 2s418ms 0ms 14 143,352 2s152ms 0ms 15 125,577 1s854ms 0ms 16 127,011 1s882ms 0ms 17 111,948 1s666ms 0ms 18 88,675 1s926ms 0ms 19 77,056 1s509ms 0ms 20 59,283 1s245ms 0ms 21 40,422 629ms 0ms 22 23,467 361ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-16 18:35:05 Duration: 11ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-16 13:34:54 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-16 14:45:29 Duration: 1ms
3 1,183,233 12s833ms 0ms 4ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 16 00 21,124 187ms 0ms 01 19,439 179ms 0ms 02 18,955 179ms 0ms 03 19,067 187ms 0ms 04 18,652 181ms 0ms 05 18,890 188ms 0ms 06 18,952 186ms 0ms 07 18,083 174ms 0ms 08 28,572 277ms 0ms 09 69,274 762ms 0ms 10 98,934 1s167ms 0ms 11 107,039 1s254ms 0ms 12 100,413 1s78ms 0ms 13 98,104 1s89ms 0ms 14 93,228 980ms 0ms 15 84,478 865ms 0ms 16 85,221 877ms 0ms 17 72,281 740ms 0ms 18 58,164 751ms 0ms 19 51,136 613ms 0ms 20 39,335 496ms 0ms 21 27,400 264ms 0ms 22 16,492 149ms 0ms -
ROLLBACK;
Date: 2025-02-16 09:31:25 Duration: 4ms
-
ROLLBACK;
Date: 2025-02-16 03:27:06 Duration: 1ms
-
ROLLBACK;
Date: 2025-02-16 10:17:25 Duration: 0ms
4 1,176,651 3m24s 0ms 17ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 16 00 20,580 3s88ms 0ms 01 18,915 3s51ms 0ms 02 18,389 2s999ms 0ms 03 18,496 3s14ms 0ms 04 18,073 3s7ms 0ms 05 18,300 3s91ms 0ms 06 18,375 2s976ms 0ms 07 17,519 2s560ms 0ms 08 28,063 4s405ms 0ms 09 69,175 11s964ms 0ms 10 99,176 17s824ms 0ms 11 107,062 18s886ms 0ms 12 100,754 16s565ms 0ms 13 98,234 16s662ms 0ms 14 93,374 15s112ms 0ms 15 84,244 13s397ms 0ms 16 85,181 13s710ms 0ms 17 72,142 12s546ms 0ms 18 57,873 13s62ms 0ms 19 50,799 10s789ms 0ms 20 38,933 8s480ms 0ms 21 26,889 4s520ms 0ms 22 16,105 2s549ms 0ms -
SELECT payload FROM http_sessions WHERE sid = '776bbdd59a742309d54135eb06d9d9d34db0222e';
Date: 2025-02-16 09:09:58 Duration: 17ms
-
SELECT payload FROM http_sessions WHERE sid = '0fc84dc9c925258e57df1906223d8e2457993656';
Date: 2025-02-16 10:32:10 Duration: 16ms
-
SELECT payload FROM http_sessions WHERE sid = '0ce7e2e41c73610d464a735ff211fb2e8b4e9b57';
Date: 2025-02-16 13:10:06 Duration: 16ms
5 1,165,155 1m48s 0ms 2ms 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 Feb 16 00 20,528 1s683ms 0ms 01 18,870 1s602ms 0ms 02 18,330 1s572ms 0ms 03 18,472 1s598ms 0ms 04 18,034 1s561ms 0ms 05 18,270 1s610ms 0ms 06 18,342 1s596ms 0ms 07 17,475 1s442ms 0ms 08 27,780 2s395ms 0ms 09 68,087 6s314ms 0ms 10 97,894 9s476ms 0ms 11 105,819 10s171ms 0ms 12 99,482 9s6ms 0ms 13 97,124 8s987ms 0ms 14 92,248 8s216ms 0ms 15 83,430 7s335ms 0ms 16 84,376 7s458ms 0ms 17 71,400 6s656ms 0ms 18 57,454 6s560ms 0ms 19 50,435 5s417ms 0ms 20 38,624 4s209ms 0ms 21 26,674 2s331ms 0ms 22 16,007 1s342ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-16 09:34:01 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-16 10:56:54 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-16 18:25:06 Duration: 1ms
6 611,943 1m43s 0ms 44ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 16 00 7,237 1s219ms 0ms 01 5,696 1s286ms 0ms 02 5,423 1s191ms 0ms 03 6,606 1s409ms 0ms 04 6,341 1s588ms 0ms 05 6,203 1s576ms 0ms 06 9,486 1s614ms 0ms 07 11,204 1s477ms 0ms 08 13,816 1s816ms 0ms 09 38,544 6s121ms 0ms 10 57,279 10s328ms 0ms 11 61,892 11s58ms 0ms 12 57,573 8s740ms 0ms 13 55,581 8s666ms 0ms 14 50,132 7s315ms 0ms 15 41,098 6s54ms 0ms 16 41,790 5s660ms 0ms 17 39,652 5s987ms 0ms 18 30,519 6s807ms 0ms 19 25,919 5s695ms 0ms 20 19,950 4s995ms 0ms 21 13,027 2s168ms 0ms 22 6,975 1s106ms 0ms -
COMMIT;
Date: 2025-02-16 20:27:07 Duration: 44ms
-
COMMIT;
Date: 2025-02-16 14:46:46 Duration: 43ms
-
COMMIT;
Date: 2025-02-16 19:43:11 Duration: 42ms
7 524,957 1m23s 0ms 13ms 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 Feb 16 00 4,986 678ms 0ms 01 5,688 714ms 0ms 02 5,023 631ms 0ms 03 5,226 615ms 0ms 04 4,663 595ms 0ms 05 5,013 622ms 0ms 06 9,825 1s124ms 0ms 07 13,678 1s183ms 0ms 08 10,024 1s419ms 0ms 09 32,905 5s333ms 0ms 10 48,200 8s966ms 0ms 11 50,239 9s20ms 0ms 12 50,701 8s278ms 0ms 13 47,144 7s992ms 0ms 14 41,031 6s432ms 0ms 15 34,484 5s108ms 0ms 16 36,444 5s264ms 0ms 17 31,454 4s505ms 0ms 18 27,480 5s179ms 0ms 19 22,199 4s39ms 0ms 20 20,160 3s832ms 0ms 21 11,649 1s362ms 0ms 22 6,741 797ms 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 (5100238, 5099102, 5100207, 5221841, 5100564, 5099162, 5099170, 5101295, 5099445, 5519251, 5099333, 5102123, 5100628, 5100212, 5106217, 5100699, 5099272, 5101592, 5119991, 5103258, 5100729, 5099947, 5099724, 5099149, 5100718, 5100233, 5099128, 5105702, 5129398, 5519195, 5100004, 5099200, 5099003, 5099568, 5099574, 5100677, 5101578, 5100457, 5099815, 5102341, 5100726, 5101077, 5139290, 5106948, 5519164, 5109752, 5327763, 5255849, 5099642, 5121506, 5099313, 5099248, 5110498, 5099949, 5100538, 5104372, 5105333, 5099167, 5100723, 5104173, 5100539, 5119981, 5099958, 5166913, 5100514, 5100005, 5103633, 5100124, 5099788, 5100302, 5099176, 5099005, 5099420, 5099046, 5099897, 5099119, 5104773, 5100129, 5175432, 5119643, 5127272, 5117982, 5100762, 5101540, 5100421, 5108856, 5099669, 5100883, 5099254, 5112839, 5099356, 5099804, 5102094, 5105753, 5100554, 5125438, 5099873, 5120110, 5099491, 5099413, 5099264, 5113418, 5107475, 5109231, 5099885, 5099800, 5154919, 5099028, 5099348, 5113765, 5113408, 5166039, 5103411, 5278868, 5518423, 5105829, 5128930, 5101478, 5518337, 5100181, 5101617, 5100411, 5518176, 5518173, 5231625, 5104749, 5100717, 5099168, 5131236, 5100954, 5099089, 5110496, 5099577, 5100112, 5099671, 5099525, 5273319, 5100006, 5518046, 5100610, 5112547, 5517999, 5112160, 5099644, 5100933, 5103048, 5102530, 5100917, 5099139, 5100774, 5099130);
Date: 2025-02-16 08:02:42 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 (5099590, 5099130, 5099831, 5099550, 5099254, 5100762, 5100181, 5099009, 5100191, 5099180, 5099677, 5099282, 5099035, 5099387, 5099010, 5099296, 5100005, 5099662, 5102614, 5101992, 5110893, 5099674, 5457954, 5099138, 5099309, 5099224, 5135700, 5102148, 5099500, 5099013, 5037303, 5099007, 5130655, 5099095, 5099263, 5099144, 5099243, 5100901, 5220351, 5103290, 5099321, 5100354, 5099089, 5099798, 5250816, 5099264, 5511414, 5099006, 5103477, 5099206, 5100738, 5103356, 5099181, 5099577, 5099759, 5100443, 5099867, 5100902, 5099258, 5393365, 5100070, 5101362, 5102178, 5099129, 5500581, 5099008, 5099788, 5099415, 5100796, 5099177, 5099102, 2497731, 5100431, 5099202, 5099091, 5101568, 5100116, 5099745, 5101173, 5502563, 5100207, 5099244, 5099236, 5099190, 5099489, 5101367, 5107577, 5102416, 5462239, 5099272, 5099646, 5103048, 5353215, 5114310, 5099014, 5438008, 5099540, 5103258, 5099403, 5102794, 5103462, 5100499, 5100667, 5101077, 5100637, 5100540, 5099158, 5103022, 5099179, 5100554, 5100202, 5100144, 5099045, 5104376, 5306804, 5107438, 5099119, 5209606, 5100421, 5099137, 5099585, 5109168, 5099857, 5100490, 5099334, 5170451, 5123407, 5099027, 5099111, 5103478, 5452238, 5308385, 5114805, 5099028, 5099200, 5109279, 5120943, 5103188, 5099725, 5099120, 5115661, 5101484, 5111228, 5102206, 5099420, 5110180, 5122766, 5101116, 5099333, 5101056, 5099047, 5099722, 5502564, 5102793, 5110982, 5123599, 5099026, 5103788, 5152602, 5457945, 5099631, 5349883, 5099169, 5498770, 5191759, 5101165, 5099523, 5100619, 5099639, 5100049, 5099678, 5099914, 5102759, 5099003, 5100677, 5098989, 5510497, 5099855, 5100542, 5101782, 5108987, 5101578, 5099760, 5129083, 5100266, 5112098, 5099356, 5099941, 5102053, 5099128, 5100836, 5511702, 5117051, 5101315, 5100957, 5105829, 5100132, 5100468, 5100774, 5102785, 5510496, 5512927, 5100719, 5101308, 5103016, 5099445);
Date: 2025-02-16 17:22:01 Duration: 5ms
-
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 (5100935, 5104503, 5099206, 5099187, 5130105, 5099007, 5184656, 5099413, 5183059, 5519634, 5100952, 5231407, 5412631, 5100717, 5130831, 5100171, 5125789, 5099916, 5247546, 5164634, 5099930, 5101377, 5099224, 5099013, 5099202, 5103631, 5099264, 5431699, 5099284, 5281234, 5128530, 5199380, 5099006, 5099138, 5100941, 5099321, 5099009, 5452138, 5102507, 5220780, 5099403, 5224650, 5106023, 5519621, 5107518, 5099137, 5519619, 5425977, 5519618, 5099092);
Date: 2025-02-16 17:21:52 Duration: 4ms
8 512,489 39s108ms 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"."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 Feb 16 00 4,741 295ms 0ms 01 4,555 306ms 0ms 02 3,955 265ms 0ms 03 4,057 245ms 0ms 04 3,844 254ms 0ms 05 3,349 219ms 0ms 06 9,648 520ms 0ms 07 14,301 738ms 0ms 08 10,689 628ms 0ms 09 31,578 2s381ms 0ms 10 47,511 4s140ms 0ms 11 48,398 4s128ms 0ms 12 48,901 3s520ms 0ms 13 46,737 3s563ms 0ms 14 41,561 2s934ms 0ms 15 34,641 2s368ms 0ms 16 36,086 2s389ms 0ms 17 33,695 2s360ms 0ms 18 26,842 2s700ms 0ms 19 22,377 2s145ms 0ms 20 18,059 1s964ms 0ms 21 11,281 710ms 0ms 22 5,683 326ms 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"."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 (64, 1, 3, 36, 7, 9, 10, 19, 24);
Date: 2025-02-16 10:42:13 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"."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 (78, 51, 17, 123, 32, 23, 27, 19, 61);
Date: 2025-02-16 18:39:21 Duration: 2ms
-
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"."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, 57, 59, 97, 101, 108, 118, 120, 129, 124, 122, 23);
Date: 2025-02-16 16:15:30 Duration: 1ms
9 347,868 1m11s 0ms 11ms 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 #9
Day Hour Count Duration Avg duration Feb 16 00 3,577 617ms 0ms 01 2,603 488ms 0ms 02 2,488 465ms 0ms 03 2,755 502ms 0ms 04 2,301 435ms 0ms 05 2,335 446ms 0ms 06 5,470 968ms 0ms 07 8,239 1s348ms 0ms 08 8,502 1s384ms 0ms 09 23,918 4s558ms 0ms 10 32,235 7s192ms 0ms 11 33,318 7s456ms 0ms 12 33,553 6s585ms 0ms 13 32,953 6s649ms 0ms 14 29,559 5s683ms 0ms 15 24,724 4s571ms 0ms 16 24,139 4s564ms 0ms 17 23,149 4s590ms 0ms 18 16,941 4s676ms 0ms 19 14,001 3s498ms 0ms 20 10,420 2s783ms 0ms 21 6,877 1s211ms 0ms 22 3,811 611ms 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 (8006460);
Date: 2025-02-16 17:21:52 Duration: 11ms
-
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 (8006469);
Date: 2025-02-16 17:21:52 Duration: 11ms
-
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 (8007571);
Date: 2025-02-16 17:21:52 Duration: 11ms
10 289,668 29s109ms 0ms 3ms 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 #10
Day Hour Count Duration Avg duration Feb 16 00 2,945 311ms 0ms 01 2,115 268ms 0ms 02 1,976 248ms 0ms 03 2,326 260ms 0ms 04 2,002 243ms 0ms 05 1,825 248ms 0ms 06 4,947 437ms 0ms 07 7,458 541ms 0ms 08 6,702 575ms 0ms 09 18,296 1s722ms 0ms 10 26,637 2s856ms 0ms 11 27,490 2s944ms 0ms 12 28,069 2s588ms 0ms 13 27,318 2s608ms 0ms 14 24,785 2s208ms 0ms 15 20,328 1s784ms 0ms 16 20,713 1s840ms 0ms 17 19,266 1s798ms 0ms 18 14,172 1s987ms 0ms 19 11,954 1s493ms 0ms 20 9,256 1s313ms 0ms 21 5,829 530ms 0ms 22 3,259 297ms 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 (1);
Date: 2025-02-16 18:04:07 Duration: 3ms
-
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 (821);
Date: 2025-02-16 20:20:13 Duration: 3ms
-
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 (821);
Date: 2025-02-16 20:15:59 Duration: 3ms
11 285,330 2d11h34m10s 565ms 6s821ms 751ms 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 #11
Day Hour Count Duration Avg duration Feb 16 00 6,561 1h9m1s 631ms 01 9,736 1h44m21s 643ms 02 9,708 1h44m51s 648ms 03 8,341 1h28m43s 638ms 04 9,371 1h39m1s 634ms 05 10,000 1h47m1s 642ms 06 7,086 1h14m46s 633ms 07 4,059 41m53s 619ms 08 5,382 55m20s 616ms 09 12,206 2h25m22s 714ms 10 19,271 4h12m48s 787ms 11 19,430 4h21m55s 808ms 12 14,442 2h46m57s 693ms 13 17,258 3h29m27s 728ms 14 12,531 2h25m25s 696ms 15 10,611 2h53s 683ms 16 10,832 2h2m49s 680ms 17 11,378 2h17m22s 724ms 18 18,402 4h59m29s 976ms 19 27,073 6h10m18s 820ms 20 28,402 7h30m2s 950ms 21 9,363 1h43m45s 664ms 22 3,887 42m29s 655ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5435022)) AND (("shipping_track"."id" not in (45078545, 45078545)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 18:35:57 Duration: 6s821ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5439595)) AND (("shipping_track"."id" not in (45125072, 45125072)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 20:16:45 Duration: 6s767ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5439023)) AND (("shipping_track"."id" not in (45121481, 45121481)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 20:11:55 Duration: 6s763ms
12 245,393 1m4s 0ms 10ms 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 #12
Day Hour Count Duration Avg duration Feb 16 00 2,363 596ms 0ms 01 3,309 795ms 0ms 02 3,055 729ms 0ms 03 2,629 637ms 0ms 04 2,308 561ms 0ms 05 2,708 694ms 0ms 06 4,370 903ms 0ms 07 6,374 900ms 0ms 08 4,167 1s86ms 0ms 09 13,619 3s762ms 0ms 10 19,625 5s990ms 0ms 11 21,157 6s196ms 0ms 12 21,699 5s706ms 0ms 13 20,805 5s510ms 0ms 14 20,271 4s747ms 0ms 15 16,202 3s665ms 0ms 16 18,613 3s969ms 0ms 17 15,023 3s974ms 0ms 18 14,319 4s771ms 0ms 19 12,147 3s477ms 0ms 20 10,365 3s592ms 0ms 21 6,734 1s454ms 0ms 22 3,531 751ms 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 (44511088, 44528698, 32452700, 44530825, 32530871, 44551835, 44629715, 32423471, 44633637, 44544711, 44615131, 32532069, 44544914, 44556883, 44611782, 44594024, 44480748, 44551230, 44548597, 44546341, 32523144, 44529539);
Date: 2025-02-16 17:21:52 Duration: 10ms
-
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 (41989280, 44552044, 32530907, 32530865, 44591890, 44591812, 44605907, 32527236, 44601341, 44496037, 44518794, 44489533, 32536545, 44509184, 44552400, 32500064, 44520065, 32436928, 42063523, 32531495, 32531315, 44551926, 44480910, 32319071, 32417893, 44483467, 44591247, 44514663, 32292601, 32292505, 44539265, 32527302, 44515002, 32484469, 32552900, 32489108, 32384839, 32523654, 32480238, 44556135, 32562994, 44501047, 44531268, 32567760, 32500735, 32227391, 32408582, 32551560, 44552360, 32534099, 44488872, 32494225, 44513782, 44484027, 41867030, 32497685, 32542631, 41489522, 42056012, 41814485);
Date: 2025-02-16 17:21:55 Duration: 10ms
-
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 (32487641, 44544033, 44588647, 44503082, 44612030, 44489879, 32535490, 32524679, 32420620, 44548667, 44629698);
Date: 2025-02-16 17:21:52 Duration: 10ms
13 240,815 1m30s 0ms 4ms 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 #13
Day Hour Count Duration Avg duration Feb 16 00 3,475 1s139ms 0ms 01 2,492 838ms 0ms 02 2,031 687ms 0ms 03 1,749 597ms 0ms 04 1,316 445ms 0ms 05 1,340 449ms 0ms 06 1,613 546ms 0ms 07 1,533 471ms 0ms 08 7,612 2s434ms 0ms 09 17,865 6s473ms 0ms 10 19,259 7s895ms 0ms 11 18,018 7s301ms 0ms 12 19,262 7s52ms 0ms 13 20,081 7s531ms 0ms 14 20,190 7s286ms 0ms 15 16,975 6s74ms 0ms 16 17,026 6s 0ms 17 25,639 8s959ms 0ms 18 14,941 7s42ms 0ms 19 11,817 5s90ms 0ms 20 8,198 3s641ms 0ms 21 5,826 1s832ms 0ms 22 2,557 775ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'cash.policy' 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 = 889) OR r.global) ORDER BY r.id;
Date: 2025-02-16 19:06:15 Duration: 4ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'urgent.car' 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 = 875) OR r.global) ORDER BY r.id;
Date: 2025-02-16 19:51:06 Duration: 3ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'cash.policy' 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 = 1387) OR r.global) ORDER BY r.id;
Date: 2025-02-16 14:23:55 Duration: 3ms
14 186,264 1m52s 0ms 33ms 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 #14
Day Hour Count Duration Avg duration Feb 16 00 512 312ms 0ms 01 300 175ms 0ms 02 228 132ms 0ms 03 270 157ms 0ms 04 306 177ms 0ms 05 336 196ms 0ms 06 1,881 785ms 0ms 07 4,853 1s957ms 0ms 08 2,735 1s316ms 0ms 09 7,073 4s123ms 0ms 10 10,813 7s237ms 0ms 11 10,795 7s266ms 0ms 12 12,521 7s775ms 0ms 13 11,281 7s502ms 0ms 14 11,576 7s279ms 0ms 15 10,886 6s86ms 0ms 16 9,938 5s374ms 0ms 17 7,993 4s745ms 0ms 18 27,942 17s210ms 0ms 19 28,877 16s441ms 0ms 20 22,777 14s989ms 0ms 21 1,446 836ms 0ms 22 925 594ms 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 (4857979, 5250691, 4828678, 5274501, 5315815, 5166046, 4963031, 5348444, 5192351, 4972629, 5360744, 5327602, 4613386, 4803245, 5283012, 5356352, 5170696, 4803252, 5172747, 5284081, 4383994, 4666789, 5215477, 5324957, 4201784, 5277579, 4990305, 4666826, 5165405, 5006367, 4894256, 5273203, 5059758, 5324915, 4637525, 4803232, 5212535, 4613479, 5167366, 4772835, 5273181, 5314339, 5242757, 4891966, 5273158, 5327344, 4894251, 4307956, 4803272, 4926890, 4772820, 5170519, 4770434, 4828621, 5222953, 4629713, 5059712, 4508692, 4582548, 5093559, 5250670, 5273171, 5059702, 5219518, 4828611, 5270706, 5236900, 4637534, 5236899, 5192363, 5192355, 5274317, 5016688, 5235712, 5242772, 5192326, 5059756, 5212439, 5213459, 4828564, 5093566, 5273173, 5242766, 5212494, 5006371, 5212534, 5313575, 5213364, 5093563, 5275433, 5235725, 5238080, 5346902, 5170507, 4666848, 4920498, 5328632, 5213473, 4730506, 4892642, 4972662, 4803242, 4828630, 5250678, 5327578, 4694756, 4892617, 5325322, 5341917, 5284061, 4666824, 4828584, 5235727, 5235724, 5317596, 5326729, 4963035, 5270895, 5328281, 4772828, 5093030, 5311975, 4637540, 5213463, 4772849, 5239670, 4613426, 5214148, 5122039, 5056020, 4694770, 5312022, 5213457, 5167597, 5243223, 5247790, 5313583, 5247680, 5059225, 5277593, 4803222, 5025567, 5131484, 5023873, 5131479, 4694750, 4972633, 4637502, 4421451, 5328620, 5270908, 4582525, 5023879, 5095948, 5235718, 5025569, 4828605, 4421455, 5338409, 4730533, 5124392, 4666793, 4803259, 5270921, 5245838, 4582543, 5270897, 5192257, 5240074, 4926895, 5238689, 4803238, 4857984, 5213410, 4828600, 4926856, 4582530, 5270917, 5213469, 4772819, 5342799, 4828685, 5129320, 5314162, 5236508, 5192283, 5208458, 4637530, 5247684, 4730517, 4857975, 5313586, 4772827, 5212408, 4803219, 5059736, 5250687, 4537982, 5240889, 5280512, 5192367, 4730524, 4666822, 4857988, 4694772, 5023870, 5246083, 5059733, 4772825, 4435273, 5272450, 4772817, 5311978, 4790927, 5352696, 5326794, 5215459, 5270697, 5277387, 5192359, 5167512, 5025572, 5241035, 4772840, 5059763, 5246062, 4772859, 4828615, 5192317, 5327346, 5242767, 4694760, 5093568, 4857972, 5129297, 5218190, 5284032, 4992417, 4926892, 5327339, 4730528, 4666840, 4613400, 4803269, 5129318, 5346116, 5315795, 5025576, 5059729, 5172797, 4613416, 5271733, 4571179, 4926868, 4772839, 5324905, 4772832, 4694778, 4666838, 5324908, 5327598, 5016689, 4582550, 5222861, 5059761, 4926898, 4926853, 5119888, 4881752, 4857964, 5211439, 4857994, 4892626, 4803234, 5192298, 5006339, 5006353, 5283008, 5129329, 4730523, 5239661, 5315832, 5242771, 4666816, 4582534, 4892620, 5284036, 5284065, 5240078, 4637516, 4730525, 5342305, 5342304, 4803229, 5023872, 5129306, 5212995, 4926874, 4730536, 4857977, 5059760, 5212427, 4694790, 5170702, 5123898, 5239633, 5167353, 4828588, 5025565, 4582527, 4926897, 4694785, 5192248, 5212513, 5274515, 5346854, 5129323, 5274380, 4803265, 5346125, 5250668, 4970322, 5280326, 4730530, 4772854, 4666818, 4926882, 5209649, 5006355, 4894246, 4772845, 4828593, 5192280, 5284093, 4772857, 4926887, 5272405, 4926879, 4730529, 5023884, 5238679, 4629715, 4962296, 5093571, 5273118, 4383995, 5284076, 5123874, 5243226, 5222937, 4688337, 5246355, 4694767, 5212507, 5056091, 4666785, 5212416, 5242756, 5247735, 5242769, 5025574, 4801136, 4582541, 5192277, 5214659, 5209643, 5122056, 5243512, 5213613, 5328502, 5093567, 4066196, 5088280, 5086683, 5172790, 5059747, 5325286, 5056094, 4887846, 4926903, 4201786, 4730515, 4508668, 5352693, 5170537, 5274484, 5284039, 5315808, 5315817, 5274505, 5239676, 5206649, 5270723, 5326724, 5267647, 5167599, 5170693, 4537431, 5059762, 5350040, 5282829, 4894253, 5171363, 4435239, 5328637, 4968124, 5215713, 5215745, 4972672, 5246076, 5273177, 5126970, 5212511, 4892635, 5240984, 4926884, 4661365, 4508672, 4383996, 4537441, 5350893, 4666830, 5341584, 4857962, 5327349, 5222936, 5270724, 5239743, 4992418, 4571177, 5059231, 5313577, 5192348, 5023855, 4666799, 5353080, 5324943, 4637549, 4828567, 4730531, 4688335, 4508673, 4571175, 5245789, 5211419, 4801139, 5186896, 5277574, 5243627, 4926871, 4666849, 5167619, 4892623, 4613381, 5250663, 5235565, 4694753, 5239629, 5059707, 5327342, 5353071, 5315810, 4613409, 5119890, 5023868, 5341608, 5213366, 4972657, 5246067, 5240941, 5129316, 5214182, 5242780, 4926859, 4926866, 5354358, 5215667, 5354367, 5271731, 5170690, 5219523, 5051149, 5275437, 5270926, 4613423, 4803256, 5167601, 5324954, 5270696, 5212410);
Date: 2025-02-16 17:22:01 Duration: 33ms
-
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 (5290359, 4663355, 5237466, 5249437, 5255846, 5282510, 5296681, 5345291, 5348987, 5351415, 5353081, 5367241, 5379432, 5386811, 5060799, 4978354, 5355547, 5342138, 5360122, 5372977, 5378708, 5391650, 5360137, 5342102, 5354788, 5342106, 5257081, 5382604, 5191850, 5290289, 5220808, 5101235, 5263251, 5263577, 5318417, 5035150, 5289736, 5344403, 5272603, 5307461, 5319145, 5319178, 5321420, 5317666, 5210410, 5074227, 4907452, 5299778, 5299875, 4939490, 5354524, 4982645, 5013110, 4894021, 5350498, 5347917, 5358058, 5380903, 5354134, 5363887, 5354386, 5354336, 5373017, 5005386, 5194539, 5354570, 5349349, 5344550, 5335926, 5256331, 5287389, 5373349, 5372867, 5372035, 5381102, 5252091, 5384193, 5356451, 5232640, 5357852, 5367180, 5209630, 5368426, 5289649, 5327837, 5364022, 5358826, 5352415, 5349283, 5346158, 5344018, 5247103, 5348060, 5386939, 5390716, 5350611, 5370557, 5386231, 5354232, 5361661, 5369363, 5353337, 5256416, 5284910, 5294728, 5298243, 5310490, 5329481, 5337826, 5343120, 5371898, 5378678, 5382944, 5391639, 5314040, 5283810, 5347903, 5358769, 5360374, 5323704, 5326517, 5360590, 5370570, 5330425, 4981628, 5151527, 5171960, 5178687, 5184004, 5193330, 5209571, 5224237, 5235237, 5241542, 5242282, 5242318, 5244510, 5266962, 5274157, 5275228, 5277061, 5277130, 5279017, 5279087, 5283533, 5286302, 5287464, 5288215, 5290297, 5295041, 5300019, 5300774, 5301261, 5309070, 4736684, 4790060, 4865614, 4984894, 5154462, 5165751, 5176155, 5188963, 5195163, 5212284, 5216706, 5228945, 5229011, 5233079, 5233187, 5235783, 5236577, 5237311, 5238706, 5243149, 5243352, 5243743, 5247463, 5247522, 5247755, 5248108, 5249442, 5256313, 5258644, 5260561, 5260716, 5262598, 5266963, 5267298);
Date: 2025-02-16 17:21:54 Duration: 27ms
-
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 (5281389, 5355258, 5353566, 5220294, 5317670, 5353636, 5353644, 5319146, 5223061, 5223075, 5276783, 5278212, 5322991, 5243612, 5247271, 5318963, 5282728, 5319719, 5247156, 5322857, 5278241, 5281358, 5281989, 5322922, 5281967, 5245034, 5281353, 5320736, 5282454, 5320523, 5282006, 5319034, 5223001, 5319170, 5322760, 5322626, 5184006, 5281462, 5244923, 5282751, 5278203, 5173446, 5247286, 5281374, 5281431, 5281923, 5282131, 5281915, 5245696, 5245536, 5282086, 5276844, 5281745, 5223183, 5281394, 4972740, 5218362, 5281612, 5281420, 5282803, 5243690, 5173449, 5282113, 5221921, 5282081, 5223006, 5278290, 5282883, 5245540, 5247703, 5244972, 5219089, 5220287, 5247607, 5247570, 5183641, 4920852, 5247715, 5243796, 5173557, 5243608, 5244967, 5094805, 5245019, 5247539, 5244954, 5219076, 5247767, 5247679, 5245737, 5223021, 5126192, 5223163, 5057021, 5218356, 5127070, 5220182, 5127026, 5218385, 5093893, 5184601, 5126222, 5184574, 5091030, 5094279, 5126193, 5127132, 5127065, 5126201, 5093903, 5027103, 5027282, 4889925, 4998469, 5022856, 5022514, 4998475, 5022515, 5027502, 5022935, 5001016, 5001054, 4972475, 4972716, 4972848, 4925274, 4538956);
Date: 2025-02-16 17:21:53 Duration: 18ms
15 183,578 33s650ms 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 #15
Day Hour Count Duration Avg duration Feb 16 00 2,894 424ms 0ms 01 2,627 383ms 0ms 02 2,114 289ms 0ms 03 2,148 290ms 0ms 04 1,798 238ms 0ms 05 1,763 230ms 0ms 06 1,657 231ms 0ms 07 1,872 259ms 0ms 08 8,207 1s201ms 0ms 09 15,763 2s840ms 0ms 10 14,174 2s879ms 0ms 11 12,636 2s568ms 0ms 12 13,384 2s424ms 0ms 13 14,115 2s625ms 0ms 14 14,288 2s480ms 0ms 15 12,230 2s82ms 0ms 16 11,980 2s51ms 0ms 17 17,443 3s260ms 0ms 18 10,160 2s459ms 0ms 19 9,059 1s940ms 0ms 20 6,686 1s500ms 0ms 21 4,319 657ms 0ms 22 2,261 328ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1384 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_cash_policy' AND name = 'confirm_payment' AND model = 'res.groups');
Date: 2025-02-16 13:01:13 Duration: 3ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 903 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-02-16 10:25:16 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1112 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2025-02-16 19:15:38 Duration: 1ms
16 179,598 20s639ms 0ms 1ms 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 #16
Day Hour Count Duration Avg duration Feb 16 00 1,568 169ms 0ms 01 1,385 171ms 0ms 02 1,304 160ms 0ms 03 1,546 207ms 0ms 04 1,214 174ms 0ms 05 1,088 160ms 0ms 06 3,667 500ms 0ms 07 5,991 798ms 0ms 08 3,647 502ms 0ms 09 11,293 1s888ms 0ms 10 16,750 2s128ms 0ms 11 17,797 1s952ms 0ms 12 18,075 1s784ms 0ms 13 16,851 1s841ms 0ms 14 14,732 1s263ms 0ms 15 12,554 1s4ms 0ms 16 12,720 1s125ms 0ms 17 10,644 1s29ms 0ms 18 8,662 1s582ms 0ms 19 7,183 1s77ms 0ms 20 5,673 746ms 0ms 21 3,244 228ms 0ms 22 2,010 139ms 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 (2);
Date: 2025-02-16 17:21:52 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2025-02-16 17:21:52 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2025-02-16 17:21:52 Duration: 1ms
17 160,475 2h35m56s 40ms 465ms 58ms 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 Feb 16 00 3,013 2m27s 48ms 01 4,951 4m2s 48ms 02 4,564 3m44s 49ms 03 2,909 2m24s 49ms 04 2,685 2m12s 49ms 05 3,146 2m34s 49ms 06 2,208 1m49s 49ms 07 1,464 1m11s 49ms 08 2,938 2m24s 49ms 09 8,433 7m47s 55ms 10 14,483 14m42s 60ms 11 15,446 16m 62ms 12 12,322 11m6s 54ms 13 13,099 12m13s 55ms 14 10,374 9m17s 53ms 15 8,526 7m33s 53ms 16 8,454 7m21s 52ms 17 7,415 7m19s 59ms 18 10,343 13m43s 79ms 19 8,117 9m29s 70ms 20 6,931 8m34s 74ms 21 6,212 5m44s 55ms 22 2,442 2m14s 55ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5426151, 5417501, 5417495, 5415190, 5396200, 5333171, 5312443)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-16 18:33:53 Duration: 465ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5391738, 5387093, 5387031, 5385267, 5365518)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-16 11:01:21 Duration: 414ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5414093, 5404579, 5286017, 5206243, 5040099)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-16 18:30:40 Duration: 407ms
18 157,338 15h55m27s 248ms 2s593ms 364ms 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 #18
Day Hour Count Duration Avg duration Feb 16 00 1,387 6m13s 269ms 01 2,289 10m18s 270ms 02 1,965 8m53s 271ms 03 3,056 13m51s 272ms 04 3,370 15m15s 271ms 05 3,936 18m1s 274ms 06 3,290 14m59s 273ms 07 1,555 6m56s 268ms 08 3,473 15m51s 274ms 09 6,433 34m2s 317ms 10 10,969 1h2m37s 342ms 11 6,893 40m33s 352ms 12 6,939 35m13s 304ms 13 6,432 34m15s 319ms 14 6,513 32m39s 300ms 15 8,605 42m51s 298ms 16 10,034 49m51s 298ms 17 7,818 44m40s 342ms 18 38,984 5h8m 474ms 19 15,005 1h40m14s 400ms 20 8,016 58m16s 436ms 21 154 45s235ms 293ms 22 222 1m4s 288ms -
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" = '342045')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-16 18:35:54 Duration: 2s593ms
-
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" = '9995100')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-16 11:06:14 Duration: 2s593ms
-
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" = '384654')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-16 18:32:49 Duration: 2s582ms
19 139,639 51s383ms 0ms 1ms 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 #19
Day Hour Count Duration Avg duration Feb 16 00 4,465 1s486ms 0ms 01 8,335 2s553ms 0ms 02 8,593 2s708ms 0ms 03 6,287 2s113ms 0ms 04 6,877 2s391ms 0ms 05 9,055 2s996ms 0ms 06 4,511 1s618ms 0ms 07 2,191 828ms 0ms 08 1,203 547ms 0ms 09 1,925 739ms 0ms 10 2,874 1s394ms 0ms 11 1,688 869ms 0ms 12 1,436 589ms 0ms 13 4,075 1s702ms 0ms 14 3,446 1s181ms 0ms 15 1,876 650ms 0ms 16 4,714 1s498ms 0ms 17 10,137 3s385ms 0ms 18 13,958 6s367ms 0ms 19 9,249 3s940ms 0ms 20 16,848 7s403ms 0ms 21 10,834 3s52ms 0ms 22 5,062 1s364ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 51) AND ("price_list"."to_office_id" = 123)) ORDER BY "price_list"."id";
Date: 2025-02-16 11:01:10 Duration: 1ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 6) AND ("price_list"."to_office_id" = 17)) ORDER BY "price_list"."id";
Date: 2025-02-16 18:03:03 Duration: 1ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 22) AND ("price_list"."to_office_id" = 119)) ORDER BY "price_list"."id";
Date: 2025-02-16 17:23:09 Duration: 1ms
20 124,832 14s528ms 0ms 27ms 0ms insert into "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) returning "id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 16 00 3,482 252ms 0ms 01 3,460 267ms 0ms 02 2,782 206ms 0ms 03 3,002 233ms 0ms 04 2,421 184ms 0ms 05 2,725 203ms 0ms 06 2,240 178ms 0ms 07 1,149 95ms 0ms 08 2,462 194ms 0ms 09 6,976 763ms 0ms 10 9,962 1s366ms 0ms 11 10,895 1s542ms 0ms 12 8,007 912ms 0ms 13 9,294 1s90ms 0ms 14 8,285 934ms 0ms 15 6,474 701ms 0ms 16 7,193 741ms 0ms 17 6,104 759ms 0ms 18 8,700 1s555ms 0ms 19 5,384 783ms 0ms 20 5,578 890ms 0ms 21 5,977 503ms 0ms 22 2,280 167ms 0ms -
INSERT INTO "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") VALUES ('2025-02-16 14:55:34.587232', 853, 7312, 'الحالة', 'selection', 41054422, 'تم استلام العميل', 'في الطريق الي العميل', 100, '2025-02-16 14:55:34.587232', 853) RETURNING "id";
Date: 2025-02-16 15:58:31 Duration: 27ms
-
INSERT INTO "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") VALUES ('2025-02-16 13:46:30.954051', 1036, 7312, 'الحالة', 'selection', 41036147, 'جاري التوصيل ', 'تم التوصيل', 100, '2025-02-16 13:46:30.954051', 1036) RETURNING "id";
Date: 2025-02-16 14:47:40 Duration: 23ms
-
INSERT INTO "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") VALUES ('2025-02-16 19:04:03.306048', 1027, 7312, 'الحالة', 'selection', 41124161, 'تم استلام العميل', 'تم التوصيل', 100, '2025-02-16 19:04:03.306048', 1027) RETURNING "id";
Date: 2025-02-16 20:05:24 Duration: 18ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 663ms 53m27s 24s56ms 209 1h23m47s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 16 09 8 17m47s 2m13s 10 8 53m53s 6m44s 12 6 21s217ms 3s536ms 13 12 39s502ms 3s291ms 14 19 1m7s 3s546ms 15 13 46s464ms 3s574ms 16 15 53s474ms 3s564ms 17 19 1m2s 3s263ms 18 19 1m25s 4s498ms 19 37 2m30s 4s64ms 20 31 2m12s 4s260ms 21 16 50s466ms 3s154ms 22 6 18s651ms 3s108ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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"."name"::text ilike '%39%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-16 10:18:35 Duration: 53m27s
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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"."name"::text ilike '%3%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-16 09:41:15 Duration: 15m57s
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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"."name"::text ilike '%3969%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-16 09:26:02 Duration: 43s66ms
2 130ms 15m59s 12s50ms 91 18m16s select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 16 09 3 16m11s 5m23s 10 3 4s167ms 1s389ms 12 4 5s244ms 1s311ms 13 4 4s916ms 1s229ms 14 9 10s985ms 1s220ms 15 5 6s205ms 1s241ms 16 7 9s775ms 1s396ms 17 9 11s122ms 1s235ms 18 10 17s659ms 1s765ms 19 15 23s146ms 1s543ms 20 13 20s785ms 1s598ms 21 6 7s222ms 1s203ms 22 3 3s921ms 1s307ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-16 09:41:16 Duration: 15m59s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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"."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 (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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-16 09:25:16 Duration: 10s596ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))))) 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 (10)))))) 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 (10)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (10))))))))) 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 (10)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-16 18:28:06 Duration: 2s460ms
3 108ms 5s339ms 1s433ms 2,537 1h37s 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 #3
Day Hour Count Duration Avg duration Feb 16 00 8 5s22ms 627ms 01 3 3s455ms 1s151ms 07 10 7s184ms 718ms 08 28 28s57ms 1s2ms 09 124 2m31s 1s223ms 10 195 4m35s 1s410ms 11 275 6m41s 1s459ms 12 310 6m46s 1s310ms 13 305 7m33s 1s486ms 14 312 7m37s 1s465ms 15 256 6m 1s408ms 16 197 4m49s 1s468ms 17 250 4m51s 1s164ms 18 79 2m44s 2s80ms 19 99 3m14s 1s962ms 20 48 1m40s 2s86ms 21 19 20s259ms 1s66ms 22 19 28s863ms 1s519ms -
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 (115)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (115))))) 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-02-16 20:16:01 Duration: 5s339ms
-
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 (76)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (76))))) 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-02-16 18:33:24 Duration: 4s605ms
-
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 (44)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (44))))) 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-02-16 18:31:41 Duration: 4s597ms
4 808ms 3s77ms 1s210ms 17,275 5h48m24s 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 Feb 16 00 640 10m41s 1s2ms 01 624 11m18s 1s87ms 02 947 16m50s 1s66ms 03 1,045 19m5s 1s96ms 04 399 7m10s 1s79ms 05 1,368 24m27s 1s72ms 06 591 10m26s 1s60ms 07 247 4m21s 1s58ms 08 1 1s20ms 1s20ms 09 396 7m34s 1s146ms 10 306 6m31s 1s278ms 11 120 2m46s 1s384ms 12 52 1m2s 1s209ms 13 237 4m47s 1s212ms 14 434 8m31s 1s179ms 15 103 1m56s 1s128ms 16 395 7m38s 1s160ms 17 1,607 30m59s 1s157ms 18 2,144 49m54s 1s396ms 19 1,046 25m6s 1s440ms 20 2,328 57m14s 1s475ms 21 1,533 27m52s 1s91ms 22 712 12m5s 1s18ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '312597')) 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-02-16 20:16:35 Duration: 3s77ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '204731')) 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-02-16 20:11:56 Duration: 3s50ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '312596')) 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-02-16 20:16:41 Duration: 3s47ms
5 330ms 2s898ms 1s116ms 12,315 3h49m11s 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 #5
Day Hour Count Duration Avg duration Feb 16 00 116 1m56s 1s1ms 01 1,142 18m14s 958ms 02 780 12m15s 942ms 03 1 945ms 945ms 04 635 9m46s 923ms 05 234 3m38s 934ms 08 3 2s912ms 970ms 09 7 8s323ms 1s189ms 10 46 47s549ms 1s33ms 11 81 1m45s 1s299ms 12 185 3m18s 1s71ms 13 447 7m59s 1s72ms 14 389 6m48s 1s50ms 15 302 5m15s 1s44ms 16 772 13m2s 1s13ms 17 929 15m57s 1s31ms 18 1,328 29m40s 1s340ms 19 1,268 27m57s 1s323ms 20 1,880 41m30s 1s324ms 21 1,215 19m49s 979ms 22 555 9m15s 1s -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '144928')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (41))))))) 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 (41)))))) 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 (41)))))) 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 (41))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-16 19:12:27 Duration: 2s898ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '3039')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))))) 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 (30)))))) 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 (30)))))) 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 (30))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-16 20:11:57 Duration: 2s880ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '372430')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-16 20:11:20 Duration: 2s856ms
6 573ms 8s405ms 772ms 48,622 10h26m21s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 16 00 195 2m13s 683ms 01 613 6m34s 644ms 02 165 1m59s 723ms 03 300 3m25s 684ms 04 475 5m11s 655ms 05 338 3m51s 683ms 06 249 2m48s 677ms 07 302 3m16s 649ms 08 969 10m12s 631ms 09 4,180 50m50s 729ms 10 3,740 51m34s 827ms 11 5,024 1h12m13s 862ms 12 3,472 41m46s 721ms 13 3,680 46m34s 759ms 14 3,620 42m38s 706ms 15 3,297 38m10s 694ms 16 2,994 34m4s 682ms 17 3,771 44m20s 705ms 18 3,501 58m56s 1s10ms 19 4,202 57m30s 821ms 20 2,136 32m51s 923ms 21 1,001 11m1s 660ms 22 398 4m15s 641ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5378919, 5374458, 5374454, 5374452, 5374448, 5374446, 5374439, 5374437, 5374429, 5374427, 5374421, 5374409, 5374392, 5374366, 5374349, 5374347, 5374346, 5374343, 5374339, 5373426, 5373419, 5372035, 5372027, 5372025, 5372024, 5372023, 5372022, 5372021, 5372019, 5372018, 5372017, 5372016, 5372013, 5371976, 5371965, 5371962, 5371959, 5371957, 5371954, 5371932, 5371918, 5371915, 5371912, 5371903, 5371900, 5371883, 5371872, 5371864, 5371861, 5371858, 5371855, 5371852, 5371845, 5371842, 5371839, 5371836, 5371835, 5371833, 5371831, 5371829, 5371827, 5371825, 5371824, 5371822, 5371820, 5371817, 5371814, 5371802, 5371799, 5371796, 5371795, 5371792, 5371789, 5371786, 5371783, 5371722, 5371719, 5371716, 5371713, 5367195, 5367192, 5367186, 5367183, 5367180, 5367174, 5367157, 5367150, 5367140, 5367135, 5367130, 5367126, 5367121, 5367116, 5367111, 5367106, 5367102, 5367098, 5367093, 5367072, 5367061, 5367042, 5367030, 5367021, 5367008, 5366996, 5366990, 5366978, 5366975, 5366972, 5366969, 5366965, 5366962, 5366960, 5366958, 5366956, 5366954, 5365470, 5365467, 5365464, 5365461, 5365458, 5365454, 5365428, 5365422, 5365416, 5365413, 5365408, 5365406, 5365403, 5365400, 5365391, 5365380, 5365366, 5365365, 5365351, 5365349, 5365344, 5365342, 5365340, 5365338, 5365335, 5365332, 5365324, 5365321, 5365316, 5365313, 5365310, 5365301, 5365298, 5365296, 5365293, 5365287, 5365285, 5365282, 5365279, 5365276, 5365273, 5365267, 5362052, 5362046, 5362041, 5362032, 5362027, 5362021, 5362017, 5362011, 5362005, 5362000, 5361995, 5361989, 5361985, 5361980, 5361975, 5361970, 5361965, 5361960, 5361955, 5358481, 5358479, 5358477, 5358473, 5358458, 5358455, 5358453, 5358426, 5358417, 5358413, 5358411, 5358400, 5358398, 5358362, 5358352, 5358351, 5358350, 5358349, 5358340, 5358339, 5358338, 5354651, 5354646, 5354641, 5354635, 5354630, 5354625, 5354620, 5354591, 5354515, 5354509, 5354505, 5353341, 5353340, 5353339, 5353338, 5353337, 5353335, 5353334, 5353332, 5353330, 5353328, 5353324, 5353311, 5353309, 5353307, 5353305, 5353303, 5353264, 5353260, 5353201)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 20:12:00 Duration: 8s405ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5362947, 5352858, 5348675, 5345384, 5343921)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 11:00:41 Duration: 6s816ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5434215, 5398373, 5398075, 5398068, 5398067, 5398063)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 20:13:28 Duration: 6s593ms
7 565ms 6s821ms 751ms 285,330 2d11h34m10s 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 #7
Day Hour Count Duration Avg duration Feb 16 00 6,561 1h9m1s 631ms 01 9,736 1h44m21s 643ms 02 9,708 1h44m51s 648ms 03 8,341 1h28m43s 638ms 04 9,371 1h39m1s 634ms 05 10,000 1h47m1s 642ms 06 7,086 1h14m46s 633ms 07 4,059 41m53s 619ms 08 5,382 55m20s 616ms 09 12,206 2h25m22s 714ms 10 19,271 4h12m48s 787ms 11 19,430 4h21m55s 808ms 12 14,442 2h46m57s 693ms 13 17,258 3h29m27s 728ms 14 12,531 2h25m25s 696ms 15 10,611 2h53s 683ms 16 10,832 2h2m49s 680ms 17 11,378 2h17m22s 724ms 18 18,402 4h59m29s 976ms 19 27,073 6h10m18s 820ms 20 28,402 7h30m2s 950ms 21 9,363 1h43m45s 664ms 22 3,887 42m29s 655ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5435022)) AND (("shipping_track"."id" not in (45078545, 45078545)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 18:35:57 Duration: 6s821ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5439595)) AND (("shipping_track"."id" not in (45125072, 45125072)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 20:16:45 Duration: 6s767ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5439023)) AND (("shipping_track"."id" not in (45121481, 45121481)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-16 20:11:55 Duration: 6s763ms
8 431ms 2s182ms 641ms 2,557 27m20s 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 #8
Day Hour Count Duration Avg duration Feb 16 08 251 2m6s 504ms 09 593 6m 607ms 10 246 2m46s 675ms 11 1,190 13m48s 696ms 12 140 1m20s 575ms 14 24 14s986ms 624ms 15 3 1s816ms 605ms 16 106 59s624ms 562ms 17 4 2s282ms 570ms -
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" = '451403')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-16 11:05:53 Duration: 2s182ms
-
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" = '269594')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-16 11:18:56 Duration: 1s869ms
-
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" = '305223')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-16 11:00:35 Duration: 1s430ms
9 269ms 2s780ms 408ms 27,244 3h5m29s 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 Feb 16 08 945 5m23s 342ms 09 2,178 14m37s 402ms 10 3,649 25m58s 427ms 11 2,255 17m26s 463ms 12 3,298 21m28s 390ms 13 2,698 18m18s 407ms 14 2,411 15m41s 390ms 15 3,716 23m38s 381ms 16 3,165 20m58s 397ms 17 1,850 12m21s 400ms 18 902 8m16s 549ms 19 177 1m22s 464ms -
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" = '459365')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-16 11:03:33 Duration: 2s780ms
-
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" = '459256')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-16 11:03:36 Duration: 2s616ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_receiver') 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" = '416395')))) 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-02-16 11:00:32 Duration: 2s613ms
10 248ms 2s593ms 364ms 157,338 15h55m27s 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 #10
Day Hour Count Duration Avg duration Feb 16 00 1,387 6m13s 269ms 01 2,289 10m18s 270ms 02 1,965 8m53s 271ms 03 3,056 13m51s 272ms 04 3,370 15m15s 271ms 05 3,936 18m1s 274ms 06 3,290 14m59s 273ms 07 1,555 6m56s 268ms 08 3,473 15m51s 274ms 09 6,433 34m2s 317ms 10 10,969 1h2m37s 342ms 11 6,893 40m33s 352ms 12 6,939 35m13s 304ms 13 6,432 34m15s 319ms 14 6,513 32m39s 300ms 15 8,605 42m51s 298ms 16 10,034 49m51s 298ms 17 7,818 44m40s 342ms 18 38,984 5h8m 474ms 19 15,005 1h40m14s 400ms 20 8,016 58m16s 436ms 21 154 45s235ms 293ms 22 222 1m4s 288ms -
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" = '342045')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-16 18:35:54 Duration: 2s593ms
-
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" = '9995100')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-16 11:06:14 Duration: 2s593ms
-
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" = '384654')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-16 18:32:49 Duration: 2s582ms
11 253ms 2s599ms 316ms 15,487 1h21m47s 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 Feb 16 00 166 45s127ms 271ms 01 777 3m31s 271ms 02 14 3s911ms 279ms 03 90 24s620ms 273ms 04 84 23s304ms 277ms 05 821 3m52s 283ms 06 1,122 5m10s 276ms 07 356 1m36s 269ms 08 1,377 6m15s 272ms 09 1,559 8m14s 317ms 10 2,378 14m26s 364ms 11 1,559 9m22s 360ms 12 395 1m59s 302ms 13 867 4m37s 320ms 14 1,197 5m58s 299ms 15 697 3m28s 298ms 16 387 1m51s 288ms 17 537 2m53s 323ms 18 391 2m51s 437ms 19 151 58s5ms 384ms 20 358 2m4s 348ms 21 117 33s673ms 287ms 22 87 24s929ms 286ms -
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" = '507120')) 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-02-16 11:05:09 Duration: 2s599ms
-
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" = '445640')) 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-02-16 18:31:17 Duration: 2s503ms
-
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" = '447616')) 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-02-16 10:58:53 Duration: 2s482ms
12 255ms 651ms 313ms 2,928 15m17s 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 Feb 16 02 77 21s177ms 275ms 03 10 2s710ms 271ms 04 67 18s281ms 272ms 06 301 1m21s 272ms 07 493 2m13s 270ms 09 108 34s844ms 322ms 10 1,569 8m47s 336ms 11 34 14s751ms 433ms 13 67 23s344ms 348ms 15 67 20s417ms 304ms 22 135 39s177ms 290ms -
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" = '213795')) 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-02-16 10:42:18 Duration: 651ms
-
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" = '418763')) 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-02-16 10:42:17 Duration: 622ms
-
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" = '366114')) 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-02-16 11:03:12 Duration: 600ms
13 219ms 2s53ms 287ms 2,726 13m5s select name from shipping_policy order by create_date desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 16 00 120 29s925ms 249ms 01 120 30s318ms 252ms 02 120 30s181ms 251ms 03 120 30s47ms 250ms 04 120 30s142ms 251ms 05 120 30s648ms 255ms 06 120 29s953ms 249ms 07 120 29s766ms 248ms 08 120 29s979ms 249ms 09 120 33s661ms 280ms 10 120 36s673ms 305ms 11 120 41s288ms 344ms 12 120 33s259ms 277ms 13 120 34s478ms 287ms 14 120 33s64ms 275ms 15 120 32s791ms 273ms 16 120 32s297ms 269ms 17 116 32s477ms 279ms 18 120 58s544ms 487ms 19 120 45s270ms 377ms 20 120 48s891ms 407ms 21 120 29s703ms 247ms 22 90 21s687ms 240ms -
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-02-16 19:12:05 Duration: 2s53ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-02-16 18:35:03 Duration: 1s972ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-02-16 19:11:03 Duration: 1s935ms
14 91ms 1s202ms 268ms 58,489 4h21m23s 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 #14
Day Hour Count Duration Avg duration Feb 16 00 1,495 6m10s 247ms 01 3,506 14m2s 240ms 02 3,421 13m33s 237ms 03 2,068 8m42s 252ms 04 2,050 6m56s 203ms 05 3,163 11m38s 220ms 06 1,167 4m27s 228ms 07 486 1m51s 229ms 08 4 928ms 232ms 09 774 2m48s 218ms 10 690 3m24s 296ms 11 398 1m57s 294ms 12 466 1m43s 222ms 13 1,336 6m22s 286ms 14 1,624 7m4s 261ms 15 806 3m19s 247ms 16 2,306 9m57s 258ms 17 5,039 21m26s 255ms 18 6,870 37m42s 329ms 19 4,594 23m55s 312ms 20 8,314 44m29s 321ms 21 5,400 20m3s 222ms 22 2,512 9m43s 232ms -
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-02-16 20:16:43 Duration: 1s202ms
-
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-02-16 20:16:43 Duration: 1s141ms
-
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-02-16 20:06:50 Duration: 984ms
15 145ms 231ms 177ms 15,615 46m9s 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 Feb 16 00 1,207 3m28s 172ms 01 1,344 3m55s 175ms 02 1,828 5m25s 178ms 03 2,745 8m3s 176ms 04 2,880 8m37s 179ms 05 3,042 9m7s 179ms 06 1,863 5m29s 177ms 07 706 2m1s 172ms -
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" = '523302')) 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-02-16 05:52:17 Duration: 231ms
-
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" = '536307')) 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-02-16 01:10:35 Duration: 229ms
-
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" = '509836')) 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-02-16 05:53:17 Duration: 226ms
16 122ms 1s208ms 174ms 5,608 16m20s 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 Feb 16 00 27 3s578ms 132ms 02 5 657ms 131ms 07 10 1s326ms 132ms 08 65 8s779ms 135ms 09 326 52s438ms 160ms 10 974 2m57s 182ms 11 1,007 3m22s 201ms 12 805 2m3s 152ms 13 921 2m27s 159ms 14 391 1m 154ms 15 300 44s2ms 146ms 16 159 23s250ms 146ms 17 220 34s780ms 158ms 18 105 37s860ms 360ms 19 139 35s726ms 257ms 20 83 15s809ms 190ms 21 42 6s530ms 155ms 22 29 4s273ms 147ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 60)) 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-02-16 18:32:09 Duration: 1s208ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 60)) 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-02-16 19:11:44 Duration: 1s208ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 126)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-16 11:05:18 Duration: 1s200ms
17 103ms 926ms 142ms 23,261 55m22s 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 #17
Day Hour Count Duration Avg duration Feb 16 00 69 7s709ms 111ms 01 125 15s963ms 127ms 03 24 2s989ms 124ms 04 56 6s921ms 123ms 05 9 1s242ms 138ms 07 20 2s491ms 124ms 08 175 21s743ms 124ms 09 1,282 2m58s 139ms 10 1,585 3m58s 150ms 11 2,402 6m10s 154ms 12 2,222 4m50s 130ms 13 2,716 6m5s 134ms 14 2,847 6m13s 131ms 15 1,761 3m45s 127ms 16 2,874 6m11s 129ms 17 921 2m6s 137ms 18 1,421 4m57s 209ms 19 1,864 5m4s 163ms 20 288 49s497ms 171ms 21 473 57s207ms 120ms 22 127 15s418ms 121ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8155548)) AND (("cash_track"."id" not in (8201195)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-16 18:34:06 Duration: 926ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8155529)) AND (("cash_track"."id" not in (8201172)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-16 18:32:46 Duration: 917ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8155542)) AND (("cash_track"."id" not in (8201189)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-16 18:33:49 Duration: 916ms
18 50ms 426ms 69ms 50,951 58m39s 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 Feb 16 00 2 119ms 59ms 08 1,741 1m45s 60ms 09 4,173 4m39s 67ms 10 5,212 6m29s 74ms 11 5,726 7m33s 79ms 12 5,670 6m14s 66ms 13 5,450 6m11s 68ms 14 5,279 5m47s 65ms 15 5,236 5m48s 66ms 16 7,215 7m48s 64ms 17 3,247 3m34s 65ms 18 1,311 1m53s 86ms 19 688 54s349ms 78ms 21 1 56ms 56ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5276225) 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-02-16 18:29:27 Duration: 426ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5283401) 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-02-16 18:35:50 Duration: 414ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5282377) 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-02-16 18:35:51 Duration: 413ms
19 45ms 318ms 62ms 25,168 26m4s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 16 08 872 48s275ms 55ms 09 2,009 2m1s 60ms 10 3,978 4m21s 65ms 11 2,085 2m20s 67ms 12 2,914 2m57s 60ms 13 2,890 2m59s 62ms 14 2,374 2m22s 60ms 15 2,860 2m53s 60ms 16 2,630 2m36s 59ms 17 1,473 1m26s 58ms 18 711 53s141ms 74ms 19 372 24s477ms 65ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5394417) ORDER BY "collection_policy"."id";
Date: 2025-02-16 18:04:40 Duration: 318ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5236107) ORDER BY "collection_policy"."id";
Date: 2025-02-16 10:48:31 Duration: 318ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5342313) ORDER BY "collection_policy"."id";
Date: 2025-02-16 11:04:33 Duration: 316ms
20 40ms 465ms 58ms 160,475 2h35m56s select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 16 00 3,013 2m27s 48ms 01 4,951 4m2s 48ms 02 4,564 3m44s 49ms 03 2,909 2m24s 49ms 04 2,685 2m12s 49ms 05 3,146 2m34s 49ms 06 2,208 1m49s 49ms 07 1,464 1m11s 49ms 08 2,938 2m24s 49ms 09 8,433 7m47s 55ms 10 14,483 14m42s 60ms 11 15,446 16m 62ms 12 12,322 11m6s 54ms 13 13,099 12m13s 55ms 14 10,374 9m17s 53ms 15 8,526 7m33s 53ms 16 8,454 7m21s 52ms 17 7,415 7m19s 59ms 18 10,343 13m43s 79ms 19 8,117 9m29s 70ms 20 6,931 8m34s 74ms 21 6,212 5m44s 55ms 22 2,442 2m14s 55ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5426151, 5417501, 5417495, 5415190, 5396200, 5333171, 5312443)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-16 18:33:53 Duration: 465ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5391738, 5387093, 5387031, 5385267, 5365518)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-16 11:01:21 Duration: 414ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5414093, 5404579, 5286017, 5206243, 5040099)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-16 18:30:40 Duration: 407ms
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
- 16,648,827 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 216 FATAL entries
- 301 ERROR entries
- 0 WARNING entries
- 2 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 272 Max number of times the same event was reported
- 519 Total events found
Rank Times reported Error 1 272 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 16 00 1 01 6 02 7 03 2 04 8 05 2 06 1 07 3 09 3 10 20 11 14 12 7 13 10 14 5 15 6 16 11 17 3 18 61 19 64 20 38 - 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 shipping_policy set count_search=2 where id=5407045
Date: 2025-02-16 00:55:58
Statement: update shipping_policy set count_search=2 where id=5417327
Date: 2025-02-16 01:05:27
Statement: UPDATE "shipping_policy" SET "destination_type" = 'warehouse', "last_action" = '2025-02-16', "last_car" = 13, "last_driver" = 8007152, "last_office" = NULL, "last_office_warehouse" = 51, "last_warehouse" = 17, "new_destination_button" = true, "state" = 'in_way', "write_date" = '2025-02-16 00:24:36.548577', "write_uid" = 970 WHERE id IN (5418875, 5418872, 5418869, 5418867, 5418865, 5418862, 5418859, 5418856, 5418854, 5418851, 5418849, 5418846, 5418843, 5418840, 5418837, 5418835, 5418832, 5418829, 5418826, 5418824, 5418821, 5418818, 5418816, 5418813, 5418811, 5418808, 5418805, 5418803, 5418801, 5418799, 5418797, 5418795, 5418794, 5418792, 5418790, 5418788, 5418786, 5418784, 5418782, 5418780, 5418778, 5418777, 5418775, 5418773, 5418771, 5418769, 5418767, 5418765, 5418763, 5418761, 5418759, 5418758, 5418756, 5418754, 5418752, 5418750, 5418748, 5418746, 5418744, 5418742, 5418740, 5418738, 5418736, 5418734, 5418733, 5418731, 5418729, 5418727, 5418725, 5418723, 5418721, 5418719, 5418717, 5418716, 5418714, 5418712, 5418710, 5418708, 5418705, 5418702, 5418699, 5418696, 5418693, 5418690, 5418688, 5418685, 5418683, 5418680, 5418677, 5418674, 5418671, 5418669, 5418666, 5418663, 5418660, 5418657, 5418654, 5418652, 5418649, 5418646, 5418643, 5418640, 5418637, 5418634, 5418631, 5418630, 5418627, 5418624, 5418621, 5418618, 5418615, 5418613, 5418610, 5418607, 5418604, 5418601, 5418598, 5418595, 5418592, 5418589, 5418586, 5418583, 5418580, 5418577, 5418575, 5418572, 5418570, 5418567, 5418564, 5418561, 5418558, 5418555, 5418552, 5418549, 5418546, 5418543, 5418540, 5418538, 5418535, 5418532, 5418529, 5418526, 5418523, 5418521, 5418518, 5418516, 5418514, 5418512, 5418510, 5418508, 5418506, 5418504, 5418502, 5418500, 5418498, 5418496, 5418494, 5418492, 5418490, 5418488, 5418486, 5418484, 5418482, 5418480, 5418478, 5418476, 5418474, 5418471, 5418469, 5418466, 5418463, 5418460, 5418457, 5418454, 5418451, 5418448, 5418445, 5418442, 5418439, 5418436, 5418432, 5418429, 5418424, 5418420, 5418416, 5418414, 5418410, 5418406, 5418402, 5418398, 5418394, 5418389, 5418385, 5418381, 5418377, 5418375, 5418370, 5418366, 5418362, 5418357, 5418352, 5418348, 5418344, 5418339, 5418333, 5418327, 5418321, 5418316, 5418309, 5418304, 5418299, 5418292, 5418287, 5418281, 5418274, 5418269, 5418265, 5418259, 5418253, 5418248, 5418244, 5418238, 5418233, 5418227, 5418222, 5418217, 5418212, 5418207, 5418202, 5418197, 5415556, 5415554, 5415552, 5415550, 5415549, 5415547, 5415545, 5415543, 5415541, 5415539, 5415537, 5415535, 5415534, 5415532, 5415530, 5415528, 5415526, 5415524, 5415522, 5415520, 5415519, 5415518, 5415517, 5415516, 5415515, 5415514, 5415513, 5415512, 5415511, 5415510, 5415509, 5415508, 5415507, 5415505, 5415503, 5415501, 5415499, 5415497, 5415496, 5415494, 5415492, 5415490, 5415488, 5415487, 5415485, 5415483, 5415481, 5415479, 5415477, 5415475, 5415473, 5415471, 5415469, 5415467, 5415465, 5415463, 5415461, 5415459, 5415457, 5415455, 5415452, 5415449, 5415445, 5415443, 5415440, 5415436, 5415433, 5415430, 5415427, 5415425, 5415422, 5415419, 5415417, 5415414, 5415411, 5415409, 5415406, 5415403, 5415400, 5415397, 5415394, 5415391, 5415388, 5415387)
Date: 2025-02-16 01:28:05
2 152 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 16 17 152 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-02-16 17:20:01
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '514902')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false )) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false )) AND (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id"
Date: 2025-02-16 17:20:01
3 23 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #3
Day Hour Count Feb 16 17 23 4 16 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #4
Day Hour Count Feb 16 17 16 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-02-16 17:20:01
Statement: 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" = '153832')) ORDER BY "shipping_policy"."id" DESC
Date: 2025-02-16 17:20:01
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5430454, 5430452, 5430450)) ORDER BY "shipping_track"."id"
Date: 2025-02-16 17:20:01
5 9 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #5
Day Hour Count Feb 16 08 3 16 3 19 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-02-16 08:24:14
6 8 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #6
Day Hour Count Feb 16 04 1 10 1 14 1 18 2 19 2 20 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 43390 waits for ShareLock on transaction 9369605; blocked by process 4528. Process 4528 waits for ShareLock on transaction 9369589; blocked by process 43390. Process 43390: UPDATE "shipping_policy" SET "last_office_warehouse" = NULL, "new_destination_button" = true, "write_date" = '2025-02-16 03:35:10.888214', "write_uid" = 1088 WHERE id IN (5421445, 5421441, 5421438, 5421423, 5421416, 5421402, 5421400, 5420254, 5420248, 5419123, 5418795, 5418736, 5418733, 5418646, 5418640, 5418200, 5418191, 5418156, 5418145, 5418121, 5418101, 5418099, 5418095, 5418080, 5418068, 5417320, 5416086, 5415913, 5415769, 5415682, 5415679, 5415578, 5415448, 5415361, 5415045, 5415034, 5411392, 5411183, 5409157, 5409115, 5409061, 5408770, 5408744, 5408666, 5407344, 5405977, 5404047, 5401740, 5399420, 5398929, 5394837, 5394836, 5394708, 5391995, 5358968) Process 4528: update shipping_policy set count_search=3 where id=4646718
Context: while updating tuple (47436,43) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "last_office_warehouse" = NULL, "new_destination_button" = true, "write_date" = '2025-02-16 03:35:10.888214', "write_uid" = 1088 WHERE id IN (5421445, 5421441, 5421438, 5421423, 5421416, 5421402, 5421400, 5420254, 5420248, 5419123, 5418795, 5418736, 5418733, 5418646, 5418640, 5418200, 5418191, 5418156, 5418145, 5418121, 5418101, 5418099, 5418095, 5418080, 5418068, 5417320, 5416086, 5415913, 5415769, 5415682, 5415679, 5415578, 5415448, 5415361, 5415045, 5415034, 5411392, 5411183, 5409157, 5409115, 5409061, 5408770, 5408744, 5408666, 5407344, 5405977, 5404047, 5401740, 5399420, 5398929, 5394837, 5394836, 5394708, 5391995, 5358968)Date: 2025-02-16 04:36:31
Detail: Process 101510 waits for ShareLock on transaction 9381770; blocked by process 4616. Process 4616 waits for ShareLock on transaction 9381747; blocked by process 101510. Process 101510: UPDATE "shipping_policy" SET "delegate_button" = true, "delegate_id" = 8005240, "driver_id" = 8005695, "last_car" = 529, "state" = 'in_way_to_client', "state_id" = 1903, "write_date" = '2025-02-16 09:58:04.405773', "write_uid" = 836 WHERE id IN (5425139, 5421050, 5421016, 5421015, 5420443, 5420402, 5419297, 5418842, 5418833, 5418827, 5418807, 5418804, 5418713, 5418641, 5418547) Process 4616: update shipping_policy set count_search=4 where id=5418807
Context: while updating tuple (51171,50) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "delegate_button" = true, "delegate_id" = 8005240, "driver_id" = 8005695, "last_car" = 529, "state" = 'in_way_to_client', "state_id" = 1903, "write_date" = '2025-02-16 09:58:04.405773', "write_uid" = 836 WHERE id IN (5425139, 5421050, 5421016, 5421015, 5420443, 5420402, 5419297, 5418842, 5418833, 5418827, 5418807, 5418804, 5418713, 5418641, 5418547)Date: 2025-02-16 10:58:57
Detail: Process 4533 waits for ShareLock on transaction 9399791; blocked by process 4421. Process 4421 waits for ShareLock on transaction 9399793; blocked by process 4533. Process 4533: update shipping_policy set count_search=4 where id=5322329 Process 4421: UPDATE "shipping_policy" SET "client_delivery_button" = false, "collection_amount_receive" = '65', "total_collection_amount" = true, "write_date" = '2025-02-16 13:48:55.414854', "write_uid" = 866 WHERE id IN (5390797, 5386686, 5383974, 5372761, 5368663, 5352485, 5337667, 5332508, 5322329)
Context: while updating tuple (55262,61) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=4 where id=5322329Date: 2025-02-16 14:49:33
7 8 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #7
Day Hour Count Feb 16 09 1 10 3 11 2 13 1 18 1 - ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_car" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (5519380, null, 825, 825, null, روبست, null, null, t, 2025-02-16 08:55:53.473817, 2025-02-16 08:55:53.473817, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-16 08:55:53.473817', 825, 'روبست', '2025-02-16 08:55:53.473817', 825) RETURNING "id"Date: 2025-02-16 09:55:53
Detail: Failing row contains (944, null, null, 1092, 1092, 952, null, null, 2025-02-16 09:27:53.043704, 2025-02-16 09:27:53.043704).
Statement: INSERT INTO "urgent_car" ("car_no", "create_date", "create_uid", "write_date", "write_uid") VALUES ('952', '2025-02-16 09:27:53.043704', 1092, '2025-02-16 09:27:53.043704', 1092) RETURNING "id"Date: 2025-02-16 10:27:53
Detail: Failing row contains (5519383, null, 825, 825, null, جولد, null, null, t, 2025-02-16 09:31:16.832217, 2025-02-16 09:31:16.832217, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-16 09:31:16.832217', 825, 'جولد', '2025-02-16 09:31:16.832217', 825) RETURNING "id"Date: 2025-02-16 10:31:16
8 7 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #8
Day Hour Count Feb 16 03 1 05 1 08 1 11 1 13 1 15 2 - ERROR: syntax error at or near ")" at character 162
- ERROR: syntax error at or near ")" at character 162
- ERROR: syntax error at or near ")" at character 163
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('464496',)
Date: 2025-02-16 03:32:22
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('331044',)
Date: 2025-02-16 05:52:43
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 ('8485500',)
Date: 2025-02-16 08:47:37
9 5 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #9
Day Hour Count Feb 16 02 3 09 1 19 1 10 4 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #10
Day Hour Count Feb 16 17 4 11 3 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #11
Day Hour Count Feb 16 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_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" = '153832')) ORDER BY "shipping_policy"."id" DESCDate: 2025-02-16 17:20:01
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5430454, 5430452, 5430450)) ORDER BY "shipping_track"."id"Date: 2025-02-16 17:20:01
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5424901, 5424891, 5424886, 5419015, 5416426, 5415928, 5415924, 5415458, 5414014, 5411563, 5411245, 5407873, 5407862, 5407486, 5407120, 5402784, 5399228, 5395455, 5394877, 5393656, 5389879, 5380977, 5321911)) ORDER BY "shipping_track"."id"Date: 2025-02-16 17:20:01
12 3 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #12
Day Hour Count Feb 16 02 1 09 1 19 1 13 3 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #13
Day Hour Count Feb 16 16 1 18 1 20 1 - ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (172966)
Date: 2025-02-16 16:50:32
Statement: DELETE FROM "res_partner" WHERE id IN (8005754, 8008128, 8005755, 8005758, 8005762, 8005763, 8005753, 8007011, 8007937)
Date: 2025-02-16 18:37:13
Statement: DELETE FROM "delegate_track" WHERE id IN (172447)
Date: 2025-02-16 20:30:42
14 2 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #14
Day Hour Count Feb 16 02 1 12 1 15 2 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #15
Day Hour Count Feb 16 09 1 19 1 16 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #16
Day Hour Count Feb 16 17 1 17 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #17
Day Hour Count Feb 16 02 1