-
Global information
- Generated on Tue Feb 25 23:47:30 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 43,607,247 log entries in 2m28s
- Log start from 2025-02-25 00:00:00 to 2025-02-25 22:45:01
-
Overview
Global Stats
- 19,337 Number of unique normalized queries
- 18,416,015 Number of queries
- 5d18h31m24s Total query duration
- 2025-02-25 00:00:00 First query
- 2025-02-25 22:45:01 Last query
- 3,384 queries/s at 2025-02-25 10:34:59 Query peak
- 5d18h31m24s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 5d18h31m24s Execute total duration
- 619 Number of events
- 19 Number of unique normalized events
- 376 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
- 18,416,015 Average queries per session
- 5d18h31m24s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 3,384 queries/s Query Peak
- 2025-02-25 10:34:59 Date
SELECT Traffic
Key values
- 3,168 queries/s Query Peak
- 2025-02-25 10:34:59 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,277 queries/s Query Peak
- 2025-02-25 20:02:51 Date
Queries duration
Key values
- 5d18h31m24s 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 25 00 357,385 0ms 6s984ms 26ms 4m53s 5m47s 6m19s 01 272,729 0ms 1s811ms 34ms 4m32s 5m4s 6m11s 02 247,044 0ms 25s96ms 42ms 5m10s 7m19s 8m29s 03 280,227 0ms 1s725ms 51ms 6m1s 6m44s 6m57s 04 250,578 0ms 1s924ms 52ms 6m17s 6m40s 6m59s 05 267,537 0ms 8s527ms 43ms 5m9s 6m16s 7m18s 06 290,624 0ms 9s275ms 31ms 3m50s 4m46s 6m21s 07 281,319 0ms 8s487ms 35ms 4m40s 4m56s 7m33s 08 483,519 0ms 7s124ms 18ms 4m24s 5m26s 7m58s 09 837,167 0ms 37s458ms 20ms 7m37s 8m8s 9m29s 10 1,629,840 0ms 9s700ms 18ms 12m12s 13m34s 14m39s 11 1,483,271 0ms 9s774ms 20ms 12m56s 14m26s 16m30s 12 1,576,610 0ms 1m6s 24ms 19m38s 21m33s 26m27s 13 1,521,951 0ms 8s711ms 18ms 12m46s 16m56s 20m40s 14 1,279,940 0ms 7s751ms 17ms 8m39s 9m59s 10m31s 15 1,274,717 0ms 19s629ms 16ms 9m20s 10m54s 14m44s 16 1,143,871 0ms 20s451ms 14ms 6m53s 7m35s 7m58s 17 1,023,368 0ms 1m53s 29ms 15m4s 17m11s 19m47s 18 1,084,796 0ms 1m15s 40ms 21m 21m19s 22m12s 19 1,006,294 0ms 1m15s 48ms 18m48s 20m6s 22m36s 20 869,463 0ms 1m15s 50ms 21m59s 23m2s 26m34s 21 579,849 0ms 49s716ms 34ms 8m9s 9m49s 10m41s 22 373,916 0ms 5m27s 29ms 5m59s 6m52s 14m47s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 25 00 201,175 0 46ms 3m52s 4m53s 6m1s 01 147,067 0 63ms 3m39s 4m32s 5m47s 02 130,532 0 80ms 3m53s 5m10s 8m21s 03 149,437 0 95ms 5m22s 6m1s 6m54s 04 131,052 0 100ms 5m4s 6m16s 6m51s 05 136,767 0 85ms 4m31s 5m9s 6m32s 06 150,381 0 60ms 3m27s 3m49s 5m32s 07 152,614 0 64ms 4m7s 4m39s 5m6s 08 273,582 0 32ms 3m27s 4m23s 5m29s 09 472,450 0 35ms 6m 7m36s 8m9s 10 956,775 0 31ms 11m4s 12m10s 14m34s 11 829,932 0 36ms 10m47s 12m55s 14m40s 12 881,400 0 42ms 15m30s 19m36s 24m54s 13 854,241 0 33ms 9m40s 12m44s 18m56s 14 713,773 0 31ms 7m26s 8m37s 10m4s 15 730,190 0 28ms 6m20s 9m19s 11m13s 16 650,776 0 26ms 6m4s 6m52s 7m38s 17 601,741 0 49ms 12m40s 14m38s 17m29s 18 642,559 0 68ms 19m22s 20m41s 21m17s 19 574,836 0 84ms 18m1s 18m46s 20m5s 20 491,240 0 88ms 17m37s 21m21s 25m48s 21 344,251 0 57ms 7m41s 8m8s 10m1s 22 227,730 0 47ms 5m21s 5m59s 14m46s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 25 00 33,984 5,505 95 0 0ms 168ms 244ms 445ms 01 27,274 4,711 73 0 0ms 155ms 187ms 278ms 02 27,553 5,531 91 0 1ms 191ms 224ms 403ms 03 36,674 8,653 79 0 0ms 228ms 262ms 328ms 04 32,496 6,973 85 0 0ms 188ms 251ms 321ms 05 26,690 7,413 74 0 0ms 167ms 202ms 300ms 06 22,312 4,979 79 0 0ms 133ms 169ms 217ms 07 26,181 5,385 83 0 0ms 152ms 190ms 265ms 08 24,349 5,576 378 0 0ms 155ms 190ms 286ms 09 46,219 10,661 862 0 1ms 259ms 329ms 467ms 10 76,282 17,596 769 6 0ms 471ms 624ms 885ms 11 82,244 17,965 941 0 0ms 527ms 607ms 703ms 12 94,040 21,574 661 0 1ms 675ms 889ms 19s379ms 13 84,789 17,598 680 0 0ms 505ms 631ms 934ms 14 68,720 16,183 865 0 0ms 388ms 466ms 611ms 15 66,594 15,291 815 0 0ms 354ms 426ms 635ms 16 56,435 14,469 704 0 0ms 310ms 361ms 504ms 17 58,862 19,783 745 0 5ms 686ms 817ms 38s561ms 18 81,664 16,829 1,011 2 1ms 691ms 912ms 18s460ms 19 94,679 22,002 751 0 1ms 775ms 868ms 1s209ms 20 92,620 26,321 770 0 1ms 766ms 1s39ms 3s179ms 21 51,494 9,073 246 0 1ms 313ms 374ms 519ms 22 30,181 6,464 130 0 0ms 268ms 334ms 412ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Feb 25 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 25 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 25 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
- 69,567 buffers Checkpoint Peak
- 2025-02-25 13:01:23 Date
- 270.056 seconds Highest write time
- 0.018 seconds Sync time
Checkpoints Wal files
Key values
- 29 files Wal files usage Peak
- 2025-02-25 13:01:23 Date
Checkpoints distance
Key values
- 924.48 Mo Distance Peak
- 2025-02-25 13:01:23 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Feb 25 00 182,301 3,239.541s 0.045s 3,239.636s 01 133,980 3,239.591s 0.032s 3,239.685s 02 150,756 3,239.574s 0.029s 3,239.651s 03 193,806 3,239.55s 0.03s 3,239.634s 04 166,450 3,239.58s 0.028s 3,239.659s 05 188,441 3,239.468s 0.032s 3,239.549s 06 203,067 3,239.557s 0.03s 3,239.638s 07 154,282 3,239.638s 0.04s 3,239.728s 08 210,531 3,239.54s 0.033s 3,239.628s 09 372,589 3,239.439s 0.05s 3,239.572s 10 505,798 3,239.576s 0.066s 3,239.738s 11 624,610 3,239.397s 0.066s 3,239.563s 12 640,272 3,239.476s 0.054s 3,239.647s 13 637,191 3,239.51s 0.056s 3,239.673s 14 508,249 3,239.438s 0.049s 3,239.579s 15 476,130 3,239.604s 0.047s 3,239.731s 16 386,481 3,239.442s 0.048s 3,239.572s 17 318,502 2,888.251s 0.079s 2,888.399s 18 370,468 3,239.442s 0.067s 3,239.61s 19 423,545 3,239.464s 0.081s 3,239.643s 20 390,577 3,239.475s 0.084s 3,239.646s 21 263,123 3,239.545s 0.054s 3,239.66s 22 97,970 2,429.625s 0.028s 2,429.689s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 25 00 0 0 77 3,941 0.002s 0.012s 01 0 0 61 2,961 0.002s 0.012s 02 0 0 66 2,850 0.002s 0.012s 03 0 0 88 2,912 0.002s 0.012s 04 0 0 76 2,851 0.002s 0.012s 05 0 0 82 2,780 0.002s 0.012s 06 0 0 90 2,472 0.002s 0.012s 07 0 0 68 3,158 0.005s 0.012s 08 0 0 87 3,418 0.002s 0.012s 09 0 0 151 4,837 0.002s 0.012s 10 0 0 216 5,266 0.002s 0.012s 11 0 0 263 5,295 0.003s 0.012s 12 0 0 276 5,229 0.002s 0.012s 13 0 0 277 5,375 0.003s 0.012s 14 0 0 216 5,217 0.003s 0.012s 15 0 0 201 5,531 0.002s 0.012s 16 0 0 163 5,422 0.003s 0.012s 17 0 0 134 5,272 0.010s 0.012s 18 0 0 167 5,223 0.003s 0.012s 19 0 0 188 5,172 0.003s 0.012s 20 0 0 177 5,196 0.003s 0.012s 21 0 0 114 5,046 0.002s 0.012s 22 0 0 42 3,244 0.002s 0.009s Day Hour Count Avg time (sec) Feb 25 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 25 00 104,792.08 kB 164,653.33 kB 01 83,309.50 kB 124,078.42 kB 02 90,040.83 kB 116,791.33 kB 03 120,760.33 kB 146,356.00 kB 04 102,774.25 kB 139,722.33 kB 05 112,979.50 kB 154,659.08 kB 06 122,759.67 kB 155,837.67 kB 07 92,143.42 kB 132,002.58 kB 08 119,217.92 kB 142,378.33 kB 09 206,418.33 kB 238,192.00 kB 10 293,876.83 kB 320,058.17 kB 11 358,927.75 kB 402,709.58 kB 12 379,524.18 kB 425,921.55 kB 13 378,160.33 kB 437,278.33 kB 14 294,757.75 kB 357,090.58 kB 15 273,865.25 kB 334,358.00 kB 16 228,009.55 kB 292,985.18 kB 17 187,699.73 kB 228,764.45 kB 18 227,601.33 kB 296,296.92 kB 19 255,144.36 kB 359,778.73 kB 20 241,913.33 kB 309,891.08 kB 21 153,289.09 kB 223,584.73 kB 22 77,232.22 kB 141,571.33 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 25 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 25 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
- 10,444,501 Total read queries
- 5,456,389 Total write queries
Queries by database
Key values
- unknown Main database
- 18,416,015 Requests
- 5d18h31m24s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 18,416,015 Requests
User Request type Count Duration unknown Total 18,416,015 5d18h31m24s copy from 8 6ms cte 10,440 2s603ms ddl 94 13ms delete 10,987 40s820ms insert 1,242,336 7m10s others 2,515,125 2m34s select 10,444,501 5d17h58m48s tcl 3,905,989 2m55s update 286,535 19m11s Duration by user
Key values
- 5d18h31m24s (unknown) Main time consuming user
User Request type Count Duration unknown Total 18,416,015 5d18h31m24s copy from 8 6ms cte 10,440 2s603ms ddl 94 13ms delete 10,987 40s820ms insert 1,242,336 7m10s others 2,515,125 2m34s select 10,444,501 5d17h58m48s tcl 3,905,989 2m55s update 286,535 19m11s Queries by host
Key values
- unknown Main host
- 18,416,015 Requests
- 5d18h31m24s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 18,416,015 Requests
- 5d18h31m24s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-02-25 11:59:57 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 16,880,395 0-1ms duration
Slowest individual queries
Rank Duration Query 1 5m27s SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12)))))) 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)))) LIMIT 10001) t;[ Date: 2025-02-25 22:18:29 ]
2 5m23s SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12)))))) 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)))) LIMIT 10001) t;[ Date: 2025-02-25 22:18:56 ]
3 1m53s update shipping_policy set count_search = 2 where id = 5667792;[ Date: 2025-02-25 17:41:20 ]
4 1m47s UPDATE "shipping_policy" SET "collection_amount_receive" = '65', "create_cash_policy_button" = false, "total_collection_amount" = true, "write_date" = '2025-02-25 16:29:40.631280', "write_uid" = 877 WHERE id IN (5684682, 5672402, 5572197);[ Date: 2025-02-25 17:32:03 ]
5 1m15s 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-25 20:22:47 ]
6 1m15s 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-25 18:03:55 ]
7 1m15s 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-25 19:15:53 ]
8 1m13s 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-25 20:24:39 ]
9 1m12s 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-25 18:05:22 ]
10 1m7s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-25 20:13:05 ]
11 1m6s update shipping_policy set count_search = 2 where id = 5716369;[ Date: 2025-02-25 12:39:28 ]
12 1m2s 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-25 20:36:11 ]
13 1m1s 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-25 18:16:54 ]
14 1m 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-25 19:01:44 ]
15 58s52ms UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-25 18:24:54.122164', "write_uid" = 934 WHERE id IN (44668382);[ Date: 2025-02-25 19:25:55 ]
16 56s869ms UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-25 17:15:08.165918', "write_uid" = 1238 WHERE id IN (44719764);[ Date: 2025-02-25 18:16:08 ]
17 56s139ms 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-25 17:14:10 ]
18 55s877ms UPDATE "shipping_policy" SET "collection_amount_receive" = '75', "create_cash_policy_button" = false, "total_collection_amount" = true, "write_date" = '2025-02-25 16:30:46.537915', "write_uid" = 890 WHERE id IN (5672413);[ Date: 2025-02-25 17:32:03 ]
19 55s831ms 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-25 19:03:02 ]
20 53s220ms update shipping_policy set count_search = 2 where id = 5677316;[ Date: 2025-02-25 17:41:20 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 3d1h46m13s 320,511 630ms 7s415ms 828ms 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 25 00 7,121 1h24m31s 712ms 01 8,521 1h39m20s 699ms 02 8,644 1h41m37s 705ms 03 11,339 2h15m23s 716ms 04 11,373 2h14m43s 710ms 05 9,462 1h51m26s 706ms 06 9,096 1h44m18s 688ms 07 7,294 1h25m57s 707ms 08 8,119 1h33m29s 690ms 09 12,415 2h31m42s 733ms 10 17,292 4h2m41s 842ms 11 18,761 4h24m32s 846ms 12 19,934 5h17m39s 956ms 13 17,995 4h15m10s 850ms 14 14,039 3h2m3s 778ms 15 12,288 2h36m42s 765ms 16 10,774 2h13m19s 742ms 17 15,748 3h51m55s 883ms 18 28,401 7h43m12s 978ms 19 27,940 7h38m46s 985ms 20 21,674 5h38m21s 936ms 21 16,183 3h23m9s 753ms 22 6,098 1h16m8s 749ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5738608)) AND (("shipping_track"."id" not in (47615285, 47615285)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 12:55:55 Duration: 7s415ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5748473)) AND (("shipping_track"."id" not in (47733796, 47733796)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 19:34:30 Duration: 7s197ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5752471)) AND (("shipping_track"."id" not in (47751791, 47751791)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 20:25:22 Duration: 7s175ms
2 13h34m1s 136,472 248ms 2s663ms 357ms 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 25 00 1,217 5m34s 275ms 01 1,310 6m1s 275ms 02 2,036 9m28s 279ms 03 3,789 17m42s 280ms 04 3,433 16m4s 281ms 05 4,703 22m1s 281ms 06 3,941 18m26s 280ms 07 2,385 11m7s 280ms 08 2,280 10m37s 279ms 09 3,508 17m37s 301ms 10 10,077 57m34s 342ms 11 8,163 49m51s 366ms 12 11,320 1h14m16s 393ms 13 6,351 36m54s 348ms 14 5,711 30m28s 320ms 15 5,932 30m48s 311ms 16 4,361 22m 302ms 17 18,494 1h52m49s 366ms 18 6,265 40m34s 388ms 19 10,297 1h12m21s 421ms 20 19,417 2h24m18s 445ms 21 1,166 5m50s 300ms 22 316 1m30s 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" = '471548')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 12:55:52 Duration: 2s663ms
-
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" = '620212')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 20:19:48 Duration: 2s643ms
-
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" = '9954191')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 12:29:35 Duration: 2s623ms
3 12h37m54s 52,585 630ms 7s469ms 864ms 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 25 00 273 3m21s 737ms 01 248 3m3s 738ms 02 564 6m37s 703ms 03 160 2m9s 811ms 04 166 2m16s 823ms 05 181 2m26s 807ms 06 293 3m42s 758ms 07 320 3m53s 729ms 08 1,510 17m55s 712ms 09 3,317 40m52s 739ms 10 3,892 56m25s 869ms 11 4,286 1h2m31s 875ms 12 3,705 1h4m10s 1s39ms 13 4,192 1h1m46s 884ms 14 4,505 59m13s 788ms 15 3,868 49m57s 774ms 16 3,481 43m29s 749ms 17 4,084 58m7s 853ms 18 4,108 1h10m29s 1s29ms 19 3,425 57m25s 1s5ms 20 3,808 1h51s 958ms 21 1,468 18m35s 759ms 22 731 8m34s 703ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5649770, 5643377, 5625329, 5620193, 5613471, 5610669, 5603568, 5585664, 5549001, 5531584, 5528076, 5527187, 5515376, 5486253, 5486194, 5410275, 5376840, 5113691, 4994785, 4988126, 4908636, 4784715, 4778782, 4742886, 4680659, 4555141, 4245606, 3918275)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 12:58:24 Duration: 7s469ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5738190, 5736087, 5732592, 5732573, 5732544, 5729486, 5729460, 5729458, 5729432, 5729429, 5729392, 5728821, 5726184, 5725168, 5725145, 5723397, 5723238, 5717581, 5716700, 5716322, 5715744, 5715130, 5710470, 5710252, 5709931, 5706433, 5706075, 5704363, 5701886, 5701844, 5699152, 5698070, 5698042, 5696251, 5694848, 5692998, 5691891, 5691205, 5683224, 5681916, 5680127, 5678660, 5676486, 5673653, 5673351, 5668043, 5661685, 5627356, 5626974, 5626684, 5598032)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 13:00:47 Duration: 6s703ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5695304, 5693742, 5687504, 5685010, 5684231, 5683174, 5682542, 5681487, 5674560, 5674553, 5674440, 5673700, 5673682, 5673625, 5671903, 5667881, 5667861, 5659739, 5658351, 5654979, 5653606, 5637122, 5632416, 5621638, 5603808, 5564582, 5554672, 5528070, 5488235, 5473433, 5461765, 5326454)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 18:12:04 Duration: 6s647ms
4 7h28m47s 22,232 865ms 2s888ms 1s211ms 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 25 00 803 14m32s 1s86ms 01 723 12m56s 1s74ms 02 1,323 23m58s 1s87ms 03 1,909 35m10s 1s105ms 04 1,609 29m30s 1s100ms 05 1,178 21m32s 1s97ms 06 352 6m21s 1s83ms 07 1,764 32m2s 1s89ms 08 1 1s60ms 1s60ms 09 526 9m59s 1s139ms 10 632 13m41s 1s300ms 11 249 5m19s 1s283ms 12 84 1m57s 1s402ms 13 263 5m38s 1s287ms 14 223 4m35s 1s237ms 15 250 4m57s 1s191ms 16 504 9m30s 1s131ms 17 726 16m1s 1s323ms 18 1,250 30m53s 1s482ms 19 2,168 54m57s 1s520ms 20 2,090 48m59s 1s406ms 21 2,214 41m5s 1s113ms 22 1,391 25m4s 1s81ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '386694')) 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-25 19:34:08 Duration: 2s888ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '242139')) 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-25 19:13:03 Duration: 2s867ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '385998')) 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-25 18:08:53 Duration: 2s863ms
5 5h27m55s 73,812 88ms 1s48ms 266ms 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 25 00 4,018 14m26s 215ms 01 3,036 10m21s 204ms 02 3,558 12m2s 203ms 03 5,060 17m28s 207ms 04 3,726 13m50s 222ms 05 2,914 11m11s 230ms 06 694 2m29s 215ms 07 3,492 13m27s 231ms 08 194 51s592ms 265ms 09 1,038 3m57s 228ms 10 1,540 6m44s 262ms 11 598 2m47s 280ms 12 882 4m41s 319ms 13 1,216 5m10s 254ms 14 770 3m20s 260ms 15 902 4m5s 271ms 16 1,750 7m10s 246ms 17 3,208 15m52s 296ms 18 6,051 33m48s 335ms 19 9,706 54m45s 338ms 20 8,003 45m4s 337ms 21 5,501 22m21s 243ms 22 5,955 21m56s 221ms -
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-25 19:29:01 Duration: 1s48ms
-
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-25 18:12:06 Duration: 975ms
-
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-25 19:16:36 Duration: 971ms
6 4h57m22s 15,148 338ms 2s651ms 1s177ms 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 25 00 1,238 20m45s 1s6ms 01 817 13m18s 977ms 02 471 7m43s 984ms 03 643 10m41s 998ms 04 275 4m33s 995ms 05 301 5m12s 1s39ms 08 97 1m35s 989ms 09 3 3s304ms 1s101ms 10 155 3m9s 1s224ms 11 60 1m6s 1s115ms 12 365 8m17s 1s362ms 13 351 6m46s 1s156ms 14 170 3m2s 1s75ms 15 206 3m45s 1s95ms 16 387 6m51s 1s62ms 17 898 18m43s 1s251ms 18 1,806 39m13s 1s303ms 19 2,741 1h23s 1s321ms 20 1,942 45m10s 1s395ms 21 587 10m4s 1s29ms 22 1,635 26m51s 985ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '304500')) 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-25 20:24:45 Duration: 2s651ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '772743')) 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 (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-25 20:22:06 Duration: 2s558ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '281885')) 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-25 19:38:10 Duration: 2s511ms
7 3h20m14s 174,881 43ms 456ms 68ms 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 #7
Day Hour Count Duration Avg duration Feb 25 00 3,381 3m22s 59ms 01 4,562 4m33s 59ms 02 3,441 3m26s 60ms 03 3,994 4m2s 60ms 04 4,595 4m41s 61ms 05 2,536 2m36s 61ms 06 3,211 3m15s 60ms 07 2,841 2m51s 60ms 08 3,624 3m43s 61ms 09 8,345 8m57s 64ms 10 13,633 16m38s 73ms 11 14,529 17m52s 73ms 12 15,045 20m53s 83ms 13 14,886 18m32s 74ms 14 10,938 12m22s 67ms 15 9,420 10m28s 66ms 16 8,277 8m53s 64ms 17 6,667 7m24s 66ms 18 8,120 9m46s 72ms 19 12,237 14m36s 71ms 20 11,076 12m39s 68ms 21 6,274 5m44s 54ms 22 3,249 2m51s 52ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5673693, 5662810, 5650367, 5635065, 5632727, 5629888, 5629813)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-25 13:01:34 Duration: 456ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5716201, 5714823, 5701899, 5700256, 5699266)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-25 12:56:03 Duration: 440ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5678059, 5668194, 5667030, 5665199, 5628850)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-25 12:40:49 Duration: 431ms
8 2h18m26s 18,514 282ms 3s283ms 448ms 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 #8
Day Hour Count Duration Avg duration Feb 25 09 495 3m4s 373ms 10 4,122 30m5s 438ms 11 2,554 20m30s 481ms 12 2,510 23m5s 551ms 13 2,374 17m32s 443ms 14 2,534 18m1s 426ms 15 2,378 15m52s 400ms 16 1,522 9m58s 393ms 17 25 13s914ms 556ms -
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" = '467506')))) 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-25 12:58:42 Duration: 3s283ms
-
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" = '607707')))) 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-25 12:58:33 Duration: 3s212ms
-
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" = '439315')))) 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-25 12:58:26 Duration: 3s199ms
9 1h52m30s 20,459 253ms 2s565ms 329ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 25 00 260 1m12s 279ms 01 167 46s841ms 280ms 02 415 1m55s 277ms 03 95 27s861ms 293ms 04 128 39s811ms 311ms 05 940 4m26s 283ms 06 441 2m 273ms 07 517 2m25s 280ms 08 1,249 5m52s 282ms 09 1,885 9m34s 304ms 10 2,712 15m 331ms 11 1,521 9m6s 359ms 12 3,134 20m9s 386ms 13 1,393 8m43s 375ms 14 513 2m47s 326ms 15 949 4m50s 305ms 16 1,248 6m18s 303ms 17 429 2m19s 325ms 18 183 1m6s 364ms 19 768 5m1s 392ms 20 431 2m29s 347ms 21 765 3m45s 294ms 22 316 1m30s 287ms -
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" = '642315')) 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 (30)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) 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-25 12:59:32 Duration: 2s565ms
-
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" = '678647')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 13:01:14 Duration: 2s348ms
-
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" = '710680')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 12:27:30 Duration: 2s294ms
10 1h21m33s 2,568 119ms 5s322ms 1s905ms 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 #10
Day Hour Count Duration Avg duration Feb 25 00 19 22s585ms 1s188ms 01 1 1s811ms 1s811ms 07 2 2s20ms 1s10ms 08 45 36s117ms 802ms 09 109 3m2s 1s670ms 10 248 7m37s 1s844ms 11 275 8m18s 1s811ms 12 360 12m30s 2s85ms 13 271 8m50s 1s958ms 14 258 7m51s 1s827ms 15 269 8m51s 1s976ms 16 197 6m4s 1s851ms 17 146 4m58s 2s42ms 18 109 4m12s 2s320ms 19 141 3m58s 1s694ms 20 51 2m 2s360ms 21 53 1m55s 2s171ms 22 14 18s379ms 1s312ms -
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 (73)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) 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-25 12:40:11 Duration: 5s322ms
-
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 (71)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))) 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-25 18:06:38 Duration: 5s292ms
-
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-25 18:01:33 Duration: 5s219ms
11 1h5m24s 17,576 175ms 302ms 223ms 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 #11
Day Hour Count Duration Avg duration Feb 25 00 823 2m55s 213ms 01 1,143 4m8s 217ms 02 1,504 5m32s 220ms 03 3,544 13m12s 223ms 04 2,970 11m2s 223ms 05 3,013 11m22s 226ms 06 2,179 8m14s 227ms 07 1,404 5m15s 224ms 08 974 3m34s 219ms 09 22 5s344ms 242ms -
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" = '650915')) 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, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 06:25:00 Duration: 302ms
-
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" = '740037')) 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, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 06:25:00 Duration: 302ms
-
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" = '722001')) 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, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 05:48:10 Duration: 301ms
12 57m7s 22,358 110ms 977ms 153ms 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 #12
Day Hour Count Duration Avg duration Feb 25 00 73 8s821ms 120ms 08 262 36s355ms 138ms 09 1,204 2m47s 139ms 10 1,716 4m28s 156ms 11 2,583 6m39s 154ms 12 2,279 6m29s 170ms 13 2,242 5m40s 152ms 14 2,727 6m33s 144ms 15 2,844 6m32s 137ms 16 1,852 4m11s 135ms 17 977 2m36s 160ms 18 1,043 3m18s 190ms 19 878 2m42s 185ms 20 1,196 3m16s 163ms 21 396 54s727ms 138ms 22 86 11s172ms 129ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8213932)) AND (("cash_track"."id" not in (8597734)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-25 18:12:03 Duration: 977ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8213854)) AND (("cash_track"."id" not in (8597643)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-25 18:09:46 Duration: 969ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8215183)) AND (("cash_track"."id" not in (8604616)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-25 20:25:01 Duration: 952ms
13 46m37s 35,984 56ms 405ms 77ms 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 #13
Day Hour Count Duration Avg duration Feb 25 08 150 10s377ms 69ms 09 861 1m 70ms 10 7,609 10m1s 79ms 11 6,874 9m21s 81ms 12 4,049 5m54s 87ms 13 3,965 5m9s 78ms 14 5,511 6m43s 73ms 15 3,579 4m15s 71ms 16 3,323 3m54s 70ms 17 60 4s706ms 78ms 18 3 498ms 166ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5584603) 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-25 12:56:04 Duration: 405ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5649970) 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-25 12:59:24 Duration: 404ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5647616) 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-25 12:59:24 Duration: 404ms
14 29m17s 4,650 254ms 2s500ms 378ms 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 #14
Day Hour Count Duration Avg duration Feb 25 05 72 20s260ms 281ms 07 463 2m9s 278ms 09 386 1m53s 294ms 10 469 2m49s 361ms 11 354 2m5s 354ms 12 2,734 19m4s 418ms 13 48 17s213ms 358ms 14 52 16s289ms 313ms 19 72 22s304ms 309ms -
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" = '282563')) 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-25 12:40:17 Duration: 2s500ms
-
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" = '328689')) 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-25 12:57:34 Duration: 2s205ms
-
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" = '684351')) 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-25 12:40:35 Duration: 2s187ms
15 28m59s 3,579 305ms 2s842ms 485ms 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 25 08 173 1m3s 366ms 09 751 5m14s 419ms 10 676 5m42s 506ms 11 754 6m6s 485ms 12 392 3m56s 603ms 13 181 1m40s 556ms 14 209 1m29s 426ms 15 67 29s81ms 434ms 16 4 1s686ms 421ms 17 372 3m14s 523ms -
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" = '646759')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-25 12:58:47 Duration: 2s842ms
-
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" = '321397')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-25 12:59:23 Duration: 2s612ms
-
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" = '426410')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-25 12:59:27 Duration: 2s194ms
16 21m49s 7,128 121ms 1s246ms 183ms 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 25 00 40 5s299ms 132ms 01 50 6s513ms 130ms 02 50 6s744ms 134ms 06 5 708ms 141ms 08 63 8s664ms 137ms 09 371 54s683ms 147ms 10 861 2m28s 172ms 11 904 2m41s 178ms 12 1,363 5m17s 232ms 13 1,149 3m43s 194ms 14 730 1m55s 158ms 15 468 1m10s 150ms 16 456 1m7s 147ms 17 176 32s928ms 187ms 18 186 41s156ms 221ms 19 105 22s991ms 218ms 20 76 15s60ms 198ms 21 74 11s171ms 150ms 22 1 135ms 135ms -
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-25 12:58:51 Duration: 1s246ms
-
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-25 12:55:41 Duration: 1s240ms
-
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-25 12:55:54 Duration: 1s239ms
17 20m32s 17,105 49ms 342ms 72ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 25 09 404 25s336ms 62ms 10 4,134 5m19s 77ms 11 2,233 2m43s 73ms 12 2,119 2m54s 82ms 13 1,937 2m14s 69ms 14 2,748 3m2s 66ms 15 1,795 1m59s 66ms 16 1,710 1m52s 65ms 17 25 1s589ms 63ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5191045) ORDER BY "collection_policy"."id";
Date: 2025-02-25 12:56:40 Duration: 342ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5537443) ORDER BY "collection_policy"."id";
Date: 2025-02-25 12:29:37 Duration: 326ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5533671) ORDER BY "collection_policy"."id";
Date: 2025-02-25 12:29:37 Duration: 322ms
18 20m32s 335 2s941ms 6s941ms 3s678ms 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 #18
Day Hour Count Duration Avg duration Feb 25 00 2 6s462ms 3s231ms 09 23 1m18s 3s408ms 10 7 27s430ms 3s918ms 11 16 1m4s 4s2ms 12 10 43s225ms 4s322ms 13 3 9s621ms 3s207ms 14 15 52s132ms 3s475ms 15 62 3m36s 3s492ms 16 15 51s16ms 3s401ms 17 17 1m12s 4s238ms 18 90 5m20s 3s556ms 19 18 1m16s 4s237ms 20 23 1m40s 4s361ms 21 28 1m35s 3s401ms 22 6 19s563ms 3s260ms -
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 (76))))))) 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 (76)))))) 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 (76)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (76)))))) 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 (76))))))))) 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 (76)))))))) AND ("policy_number"."name"::text ilike '%749728%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-25 19:40:41 Duration: 6s941ms
-
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 (66))))))) 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 (66)))))) 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 (66)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) 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 (66))))))))) 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 (66)))))))) AND ("policy_number"."name"::text ilike '%74666%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-25 20:10:12 Duration: 6s293ms
-
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 (49))))))) 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 (49)))))) 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 (49)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49)))))) 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 (49))))))))) 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 (49)))))))) AND ("policy_number"."name"::text ilike '%774856%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-25 20:13:18 Duration: 6s100ms
19 18m12s 42 197ms 1m15s 26s22ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 25 00 3 3s461ms 1s153ms 08 2 1s680ms 840ms 10 2 1s981ms 990ms 13 1 1s750ms 1s750ms 14 3 3s706ms 1s235ms 15 2 3s449ms 1s724ms 16 2 2s28ms 1s14ms 17 8 2m41s 20s139ms 18 4 3m30s 52s513ms 19 5 3m12s 38s440ms 20 5 4m39s 55s828ms 21 3 2m23s 47s895ms 22 2 1m28s 44s351ms -
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-25 20:22:47 Duration: 1m15s
-
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-25 18:03:55 Duration: 1m15s
-
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-25 19:15:53 Duration: 1m15s
20 15m43s 2,687 255ms 2s643ms 351ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 25 08 173 47s853ms 276ms 09 751 3m46s 301ms 10 382 2m13s 349ms 11 434 2m24s 332ms 12 393 2m57s 450ms 13 178 1m9s 390ms 16 4 1s173ms 293ms 17 372 2m22s 384ms -
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" = '360932')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-25 12:58:20 Duration: 2s643ms
-
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" = '570512')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-25 12:55:45 Duration: 2s600ms
-
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" = '646759')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-25 12:58:44 Duration: 2s275ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,514,962 2m34s 0ms 2ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 25 00 47,031 2s405ms 0ms 01 38,930 1s988ms 0ms 02 35,471 1s819ms 0ms 03 36,505 1s932ms 0ms 04 33,893 1s787ms 0ms 05 40,668 2s226ms 0ms 06 45,431 2s464ms 0ms 07 39,220 2s116ms 0ms 08 70,481 3s976ms 0ms 09 120,148 6s999ms 0ms 10 217,570 14s594ms 0ms 11 211,661 13s936ms 0ms 12 222,767 15s491ms 0ms 13 217,481 14s326ms 0ms 14 188,480 11s741ms 0ms 15 180,620 11s57ms 0ms 16 166,336 9s872ms 0ms 17 133,768 7s281ms 0ms 18 132,520 7s966ms 0ms 19 123,067 7s932ms 0ms 20 100,867 6s464ms 0ms 21 68,664 3s843ms 0ms 22 43,383 2s319ms 0ms -
DISCARD ALL;
Date: 2025-02-25 12:52:49 Duration: 2ms
-
DISCARD ALL;
Date: 2025-02-25 20:19:39 Duration: 2ms
-
DISCARD ALL;
Date: 2025-02-25 15:52:56 Duration: 2ms
2 1,952,982 34s135ms 0ms 2ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 25 00 34,547 549ms 0ms 01 27,303 454ms 0ms 02 23,871 398ms 0ms 03 24,421 412ms 0ms 04 23,027 388ms 0ms 05 27,957 463ms 0ms 06 33,707 537ms 0ms 07 28,881 463ms 0ms 08 54,417 852ms 0ms 09 93,242 1s484ms 0ms 10 180,232 3s183ms 0ms 11 170,061 3s19ms 0ms 12 177,908 3s484ms 0ms 13 173,329 3s29ms 0ms 14 145,753 2s362ms 0ms 15 139,926 2s206ms 0ms 16 127,212 1s931ms 0ms 17 103,569 1s754ms 0ms 18 104,442 2s82ms 0ms 19 95,219 2s62ms 0ms 20 78,692 1s630ms 0ms 21 52,646 865ms 0ms 22 32,620 518ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-25 12:28:08 Duration: 2ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-25 13:07:01 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-25 12:20:59 Duration: 1ms
3 1,275,895 14s578ms 0ms 1ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 25 00 24,355 234ms 0ms 01 20,267 197ms 0ms 02 18,357 178ms 0ms 03 18,833 189ms 0ms 04 17,527 175ms 0ms 05 20,983 213ms 0ms 06 23,295 228ms 0ms 07 20,189 199ms 0ms 08 36,081 359ms 0ms 09 61,050 644ms 0ms 10 109,739 1s339ms 0ms 11 106,806 1s302ms 0ms 12 112,240 1s442ms 0ms 13 109,595 1s304ms 0ms 14 95,181 1s62ms 0ms 15 91,285 994ms 0ms 16 83,978 881ms 0ms 17 67,720 776ms 0ms 18 67,126 816ms 0ms 19 62,381 802ms 0ms 20 51,362 642ms 0ms 21 35,176 369ms 0ms 22 22,369 220ms 0ms -
ROLLBACK;
Date: 2025-02-25 14:47:52 Duration: 1ms
-
ROLLBACK;
Date: 2025-02-25 09:39:55 Duration: 0ms
-
ROLLBACK;
Date: 2025-02-25 10:16:13 Duration: 0ms
4 1,269,407 3m55s 0ms 23ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 25 00 23,679 3s953ms 0ms 01 19,666 3s340ms 0ms 02 17,782 3s90ms 0ms 03 18,256 3s263ms 0ms 04 16,969 3s34ms 0ms 05 20,415 3s637ms 0ms 06 22,726 3s973ms 0ms 07 19,679 3s330ms 0ms 08 35,664 6s79ms 0ms 09 60,808 10s671ms 0ms 10 109,934 20s355ms 0ms 11 107,101 20s216ms 0ms 12 112,499 22s49ms 0ms 13 109,874 20s281ms 0ms 14 95,285 16s718ms 0ms 15 91,195 15s730ms 0ms 16 84,008 14s41ms 0ms 17 67,552 13s61ms 0ms 18 66,901 13s957ms 0ms 19 61,937 13s529ms 0ms 20 50,988 10s804ms 0ms 21 34,624 6s256ms 0ms 22 21,865 3s649ms 0ms -
SELECT payload FROM http_sessions WHERE sid = '15790f3716792554cc943a253eca285174dae783';
Date: 2025-02-25 19:20:41 Duration: 23ms
-
SELECT payload FROM http_sessions WHERE sid = 'cd1d4f3f426fe21bb6e361564c26be922ef2ffd5';
Date: 2025-02-25 13:05:33 Duration: 14ms
-
SELECT payload FROM http_sessions WHERE sid = 'b9676fc1d6fe6fd53f1e321fce4c2c3d2bdf1b39';
Date: 2025-02-25 13:42:54 Duration: 13ms
5 1,257,582 2m 0ms 1ms 0ms select base_registry_signaling.last_value, base_cache_signaling.last_value from base_registry_signaling, base_cache_signaling;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 25 00 23,538 1s999ms 0ms 01 19,515 1s688ms 0ms 02 17,779 1s550ms 0ms 03 18,298 1s620ms 0ms 04 16,992 1s480ms 0ms 05 20,378 1s793ms 0ms 06 22,753 1s969ms 0ms 07 19,665 1s700ms 0ms 08 35,223 3s68ms 0ms 09 60,011 5s428ms 0ms 10 108,761 10s622ms 0ms 11 105,779 10s367ms 0ms 12 111,380 11s368ms 0ms 13 108,723 10s456ms 0ms 14 94,234 8s647ms 0ms 15 90,276 8s157ms 0ms 16 83,175 7s318ms 0ms 17 66,867 6s835ms 0ms 18 66,236 7s205ms 0ms 19 61,520 6s866ms 0ms 20 50,444 5s465ms 0ms 21 34,337 3s161ms 0ms 22 21,698 1s886ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-25 13:19:36 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-25 15:25:53 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-25 11:11:48 Duration: 1ms
6 677,082 2m6s 0ms 45ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 25 00 10,193 1s717ms 0ms 01 7,035 1s355ms 0ms 02 5,509 1s283ms 0ms 03 5,593 1s471ms 0ms 04 5,499 1s427ms 0ms 05 6,976 1s666ms 0ms 06 10,410 1s943ms 0ms 07 8,694 1s663ms 0ms 08 18,336 3s29ms 0ms 09 32,190 5s201ms 0ms 10 70,485 13s103ms 0ms 11 63,263 12s258ms 0ms 12 65,652 13s742ms 0ms 13 63,744 11s832ms 0ms 14 50,573 8s861ms 0ms 15 48,645 7s931ms 0ms 16 43,237 6s544ms 0ms 17 35,827 6s296ms 0ms 18 37,320 7s603ms 0ms 19 32,843 7s118ms 0ms 20 27,333 5s853ms 0ms 21 17,472 3s308ms 0ms 22 10,253 1s424ms 0ms -
COMMIT;
Date: 2025-02-25 10:48:00 Duration: 45ms
-
COMMIT;
Date: 2025-02-25 18:02:02 Duration: 39ms
-
COMMIT;
Date: 2025-02-25 10:42:36 Duration: 37ms
7 600,337 1m48s 0ms 9ms 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 25 00 10,107 1s287ms 0ms 01 7,354 1s35ms 0ms 02 6,089 833ms 0ms 03 6,550 785ms 0ms 04 5,542 726ms 0ms 05 6,149 857ms 0ms 06 9,734 1s615ms 0ms 07 7,998 1s54ms 0ms 08 14,645 2s162ms 0ms 09 28,584 4s441ms 0ms 10 76,277 19s562ms 0ms 11 54,476 10s417ms 0ms 12 54,684 11s179ms 0ms 13 52,906 9s438ms 0ms 14 41,232 6s717ms 0ms 15 39,843 6s428ms 0ms 16 35,515 5s129ms 0ms 17 30,688 5s166ms 0ms 18 33,232 6s133ms 0ms 19 29,860 5s888ms 0ms 20 24,939 4s489ms 0ms 21 15,442 1s987ms 0ms 22 8,491 904ms 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 (5532987, 5228287, 5099008, 5102367, 5099013, 5361475, 5110392, 5119747, 5532984, 5532983, 5122538, 5122885, 5532982, 5532981, 5133075, 5532979, 5199380, 5235965, 5103268, 5126868, 5116972, 5104028, 5133864, 5532977, 5100673, 5322722, 5099644, 5115528, 5104993, 5099037, 5103670, 5238510, 5176981, 5104534, 5170358, 5160064, 5107020, 5099025, 5099024, 5532973, 5109647, 5100207, 5119967, 5144809, 5111561, 5100562, 5099103, 5101763, 5108424, 5227425, 5101674, 5099296, 5100761, 5099403, 5443343, 5099007, 5099006, 5099941, 5099445, 5195029, 5100356, 5099590, 5105545, 5099128, 5099174, 5112006, 5218709, 5100443, 5099540, 5099010, 5100854, 5099009, 5099254, 5099111, 5099158);
Date: 2025-02-25 17:21:55 Duration: 9ms
-
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 (5099906, 5405531, 5157605, 5099138, 5120346, 5105491, 5252006, 5200570, 5532980, 5493377, 5532978, 5166180, 5486776, 5101461, 5103719, 5122081, 5532976, 5101470, 5252221, 5129624, 5480010, 5532975, 5101547, 5532974, 5135570, 5108281, 5129643, 5099190, 5099244, 5100181, 5101920, 5099102, 5108463, 5099528, 5099333, 5099105, 5105152, 5099582, 5099334, 5099117, 5115156, 5128030, 5105966, 5099130, 5102203, 5099112, 5099967, 5108851, 5098989, 5105620, 5100172, 5114931);
Date: 2025-02-25 17:21:55 Duration: 8ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5099008, 5099014, 5523866, 5099007, 5099114, 5099009, 5099929, 5099536, 5100519, 5099092, 5099333, 5527176, 5101592, 5099010, 5105502, 5100443, 5106998, 5099095, 5099243, 5099758, 5099013, 5100667, 5106668, 5224929, 5100563, 5100637, 5104205, 5101408, 5099415, 5100086, 5099090, 5099202, 5099168, 5099282, 5114726, 5132106, 5193777, 5526804, 5099144, 5099162, 5109823, 5529522, 5115970, 5099119, 5099236, 5099547, 5099170, 5099006, 5521104, 5099646, 5099128, 5116182, 5100554, 5099045, 5100564, 5160494, 5297413, 5530032, 5276675, 5120933, 5101116, 5099224, 5099102, 5099727, 5099103, 5106028, 5099027, 5100135, 5099139, 5100618, 5185540, 5100004, 5099533, 5099540, 5099165, 5521103, 5099590, 5129916, 5099190, 5099187, 5099129, 5326083, 5103800, 5351307, 5312897, 5099489, 5104828, 5110084, 5100796, 5525849, 5099430, 5330922, 5111267, 5431316, 5111406, 5101077, 5099169, 5106308, 5099137, 5099499, 5099321, 5102208, 5099028, 5099285, 5099815, 5106235, 5523861, 5103868, 5099413, 5098994, 5525857, 5447277, 5099200, 5522756, 5099912, 5099334, 5106194, 5527180, 5107916, 5100511, 5529265, 5525851, 5164901, 5527177, 5099206, 5100142, 5102337, 5099426, 5122119, 5135489, 5114324, 5519680, 5099800, 5106266, 5103898, 5135383);
Date: 2025-02-25 17:21:59 Duration: 5ms
8 589,174 51s490ms 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 25 00 7,963 483ms 0ms 01 5,909 398ms 0ms 02 4,328 285ms 0ms 03 3,896 270ms 0ms 04 3,304 227ms 0ms 05 4,024 285ms 0ms 06 8,611 514ms 0ms 07 6,373 386ms 0ms 08 14,449 891ms 0ms 09 26,331 1s853ms 0ms 10 76,223 8s446ms 0ms 11 53,450 4s835ms 0ms 12 54,491 5s736ms 0ms 13 53,250 4s874ms 0ms 14 43,110 3s399ms 0ms 15 41,306 3s15ms 0ms 16 37,307 2s538ms 0ms 17 31,391 2s515ms 0ms 18 33,560 3s199ms 0ms 19 30,076 3s176ms 0ms 20 25,487 2s568ms 0ms 21 15,417 1s52ms 0ms 22 8,918 532ms 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 (111, 17, 14, 39, 85, 60, 30);
Date: 2025-02-25 13:11:50 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 (26);
Date: 2025-02-25 12:34:13 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 (128, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 16, 17, 19, 22, 23, 24, 26, 27, 28, 29, 30, 32, 35, 36, 38, 39, 40, 41, 42, 44, 46, 48, 49, 51, 52, 53, 55, 60, 61, 62, 64, 65, 66, 67, 68, 70, 71, 73, 74, 75, 76, 77, 78, 79, 80, 85, 102, 110, 111, 113, 114, 115, 119, 121, 123, 126, 127);
Date: 2025-02-25 12:51:46 Duration: 2ms
9 385,974 1m25s 0ms 9ms 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 25 00 5,336 911ms 0ms 01 4,000 702ms 0ms 02 2,606 513ms 0ms 03 2,573 505ms 0ms 04 2,130 448ms 0ms 05 2,874 567ms 0ms 06 5,234 973ms 0ms 07 4,541 833ms 0ms 08 10,772 1s886ms 0ms 09 19,974 3s663ms 0ms 10 44,826 10s984ms 0ms 11 35,221 8s256ms 0ms 12 37,106 9s292ms 0ms 13 36,338 8s234ms 0ms 14 29,627 6s63ms 0ms 15 27,913 5s623ms 0ms 16 26,603 5s11ms 0ms 17 20,789 4s781ms 0ms 18 20,801 5s403ms 0ms 19 17,778 4s839ms 0ms 20 14,379 3s690ms 0ms 21 8,680 1s699ms 0ms 22 5,873 1s15ms 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 (8006427);
Date: 2025-02-25 17:21:53 Duration: 9ms
-
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 (8007461);
Date: 2025-02-25 17:21:53 Duration: 9ms
-
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 (8004691);
Date: 2025-02-25 14:17:05 Duration: 3ms
10 322,133 35s140ms 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 25 00 4,549 422ms 0ms 01 3,207 350ms 0ms 02 2,106 274ms 0ms 03 2,119 273ms 0ms 04 1,920 260ms 0ms 05 2,242 293ms 0ms 06 4,591 452ms 0ms 07 3,924 427ms 0ms 08 8,799 784ms 0ms 09 15,392 1s402ms 0ms 10 39,030 4s579ms 0ms 11 29,796 3s225ms 0ms 12 30,822 3s711ms 0ms 13 30,115 3s205ms 0ms 14 24,489 2s337ms 0ms 15 23,302 2s225ms 0ms 16 21,375 1s903ms 0ms 17 17,281 1s948ms 0ms 18 17,377 2s236ms 0ms 19 14,979 2s79ms 0ms 20 12,397 1s614ms 0ms 21 7,555 718ms 0ms 22 4,766 412ms 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 (821);
Date: 2025-02-25 19:10:53 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-25 19:13:08 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-25 19:15:23 Duration: 3ms
11 320,511 3d1h46m13s 630ms 7s415ms 828ms 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 25 00 7,121 1h24m31s 712ms 01 8,521 1h39m20s 699ms 02 8,644 1h41m37s 705ms 03 11,339 2h15m23s 716ms 04 11,373 2h14m43s 710ms 05 9,462 1h51m26s 706ms 06 9,096 1h44m18s 688ms 07 7,294 1h25m57s 707ms 08 8,119 1h33m29s 690ms 09 12,415 2h31m42s 733ms 10 17,292 4h2m41s 842ms 11 18,761 4h24m32s 846ms 12 19,934 5h17m39s 956ms 13 17,995 4h15m10s 850ms 14 14,039 3h2m3s 778ms 15 12,288 2h36m42s 765ms 16 10,774 2h13m19s 742ms 17 15,748 3h51m55s 883ms 18 28,401 7h43m12s 978ms 19 27,940 7h38m46s 985ms 20 21,674 5h38m21s 936ms 21 16,183 3h23m9s 753ms 22 6,098 1h16m8s 749ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5738608)) AND (("shipping_track"."id" not in (47615285, 47615285)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 12:55:55 Duration: 7s415ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5748473)) AND (("shipping_track"."id" not in (47733796, 47733796)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 19:34:30 Duration: 7s197ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5752471)) AND (("shipping_track"."id" not in (47751791, 47751791)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 20:25:22 Duration: 7s175ms
12 293,126 1m54s 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 #12
Day Hour Count Duration Avg duration Feb 25 00 5,099 1s624ms 0ms 01 3,029 1s4ms 0ms 02 2,192 731ms 0ms 03 2,086 719ms 0ms 04 1,526 552ms 0ms 05 1,492 521ms 0ms 06 1,728 609ms 0ms 07 1,905 616ms 0ms 08 9,186 3s19ms 0ms 09 14,573 5s152ms 0ms 10 20,981 8s654ms 0ms 11 20,176 8s341ms 0ms 12 21,737 9s660ms 0ms 13 24,068 9s712ms 0ms 14 20,872 7s901ms 0ms 15 26,677 9s614ms 0ms 16 23,641 8s408ms 0ms 17 23,604 9s493ms 0ms 18 22,766 9s734ms 0ms 19 15,496 7s198ms 0ms 20 10,856 4s784ms 0ms 21 11,952 3s820ms 0ms 22 7,484 2s309ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'urgent.customer' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 848) OR r.global) ORDER BY r.id;
Date: 2025-02-25 12:17:41 Duration: 4ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.company' 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 = 884) OR r.global) ORDER BY r.id;
Date: 2025-02-25 20:11:17 Duration: 3ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'urgent.customer' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1421) OR r.global) ORDER BY r.id;
Date: 2025-02-25 17:35:28 Duration: 3ms
13 279,378 1m27s 0ms 12ms 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 #13
Day Hour Count Duration Avg duration Feb 25 00 4,906 1s198ms 0ms 01 3,496 956ms 0ms 02 3,210 875ms 0ms 03 3,957 1s 0ms 04 3,110 809ms 0ms 05 3,006 858ms 0ms 06 3,728 1s205ms 0ms 07 4,065 1s55ms 0ms 08 5,839 1s613ms 0ms 09 11,726 3s261ms 0ms 10 34,486 15s989ms 0ms 11 23,001 7s241ms 0ms 12 23,624 8s260ms 0ms 13 23,564 6s901ms 0ms 14 19,585 5s73ms 0ms 15 18,954 4s954ms 0ms 16 17,109 3s986ms 0ms 17 14,083 4s129ms 0ms 18 15,594 5s109ms 0ms 19 15,395 5s320ms 0ms 20 13,395 4s100ms 0ms 21 8,131 1s902ms 0ms 22 5,414 1s219ms 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 (44533474, 44709261, 44766208, 32529130, 44766210, 32357346, 42047861, 44767161, 44598751, 44598753, 32357345, 44597412, 44597827, 44598561, 44708828, 44476427, 32470974, 44710061, 44534493, 32470373, 44597875, 44709826, 44708788, 44475277, 44656581, 44475281, 44656566, 44475276, 44656570, 44476270, 44766091, 44598964, 44598965, 44598971, 44598972, 41907766, 44656593, 32528678, 44475237, 44476184, 44476174, 44656605, 44656596, 44655107, 44476187, 44476182, 44656606, 44767821, 44656631, 44767820, 44656590, 44476179, 44476173, 44476178, 44656595, 44475309, 44475298, 44656625, 44475307, 44656611, 44476172, 44475299, 44656614, 44475284, 44656629, 44476171, 44475292, 44655987, 44655970, 44655972, 44655094, 44655977, 44655978, 44476160, 44655967, 44655974, 32398486, 44475223, 44656001, 44655979, 44709238, 44655990, 44475263, 44655994, 44476161, 44655995, 44655981, 32469969, 44767885, 32469733, 44655682, 44599014, 44766439, 44708343, 44767669, 32356702, 44598799, 44708911, 44655684, 41270050, 44709215, 44656419, 44656414, 44656742, 44533400, 44656738, 44656737, 44656722, 44656719, 44656735, 44656747, 44656249, 44599031, 44533063, 44534404, 44598085, 44734130, 44656152, 44656151, 44656150, 41785945, 40789830, 44534352, 44766812, 44709803, 44534286, 44534285, 32528918, 44597954, 44708767, 44708329, 44767296, 44767370, 44766459, 44597840, 44533310, 44767232, 44709903, 41173748, 44708346, 44709137, 44709136, 44475616, 32471633, 32282284, 44655933, 44709247, 44766867, 44708270, 44709381, 44656928, 32529113, 32283177, 32283176, 32529112, 32283181, 32283178, 32193721, 32356846, 32283173, 44656783, 32283172, 32356842, 44708391, 44655501, 44709818, 44655500, 44534187, 32529799, 32529800, 44476530, 44597993, 44597994, 44533888, 32528720, 32528719, 44766657, 32528953, 44655968, 32470030, 32470029, 44534399, 32470020, 44708818, 44708514, 32470026, 44708524, 41944394, 32470036, 44708532, 41720435, 44708310, 32529561, 44710007, 32530379, 32469668, 42135932, 32282102, 44766166, 42047484, 44655738, 44656564, 44656498, 44708387, 44655696, 44533133, 44477059, 44477058, 41545565, 44767237, 44766416, 44475229, 44655997, 44476192, 44476205, 44656582, 44476206, 44656003, 44655969, 44656636, 44476189, 44475228, 44656642, 44476207, 44656572, 44655991, 44656002, 44655984, 44656004, 44656603, 44656591, 44656635, 44655986, 44476157, 44476188, 44656580, 44656008, 44476210, 44476209, 44476196, 44655982, 44656637, 44656602, 44476211, 44476208, 44655971, 41173841, 44656007, 44656567, 44476203, 44655992, 44656562, 44476191, 44655973, 44656622, 44476124, 44476150, 44476181, 44656619, 44476153, 44656626, 44475310, 44475286, 44475288, 44475304, 44475294, 44475293, 44475302, 44476113, 41908476, 44475251, 44476148, 42099621, 44655697, 44708890, 44534901, 44709623, 44709626, 44709627, 44709625, 44709624, 44533944, 44655854, 44655853, 44655888, 44597303, 44655908, 44766147, 44655907, 44766146, 44766113, 44766143, 44655910, 44766112, 44766116, 44597641, 44709926, 44708491, 44709932, 44598411, 44708352, 44709935, 44709938, 44767158, 44767218, 44534203, 44598413, 32529002, 44708786, 44709898, 44709942, 44710015, 44767216, 44767133, 44708448, 44709868, 44708790, 44708459, 44598412, 44708350, 44534079, 44708804, 44709048, 42135683, 44710003, 44709995, 44708955, 44709160, 44708954, 44708953, 32528760, 41590218, 32528766, 32528769, 44813625, 44766194, 44476256, 44766192, 44534367, 44534405, 44708570, 32398650, 44709493, 44709413, 44766624, 44710037, 44597571, 44597569, 44708405, 44534094, 44534095, 44656260, 44597644, 44597950, 44767215, 44476028, 44476763, 44709366, 32398397, 44709227, 44656499, 41174769, 44533846, 44534103, 44766912, 44708708, 32470114, 44655571, 44476761, 44476970, 44655658, 44533845, 44708707, 32471622, 44655275, 40969957, 44656483, 44709904, 44709905, 44709901, 44655414, 44709906, 44710055, 44710053, 44598968, 44534406, 44655558, 44656154, 44655614, 44708831, 44709802, 44708945, 32355126, 44708860, 44656196, 32193390, 42046723, 32398244, 32398245, 32398246, 44598849, 44655944, 44655964, 44598565, 44598567, 44655963, 44708967, 44656518, 44476722, 44656183, 44533675, 44533676, 44533677, 44656080, 32471039, 44708313, 41544740, 44656276, 44656274, 44655595, 44656277, 44656280, 44656268, 44598168, 44655747, 44656967, 44657007, 32481314, 44533324, 32530562, 44533329, 44533327, 44597374, 32530564, 44533320, 32530559, 32530558, 32530560, 44767953, 32530563, 44533318, 44766638, 44655076, 42099367, 44476180, 44655965, 44476154, 44708355, 42099369, 44767312, 44656607, 41999558, 44656574, 44476152, 44476176, 44709892, 44597183, 44476156, 44655716, 44655975, 44476147, 44656585, 44656639, 44475257, 44656009, 44475285, 44475303, 44475287, 32398477, 44476170, 44534102, 44655859, 44767167, 44708434, 44767168, 44598954, 44598953, 44708758, 44598956, 44598957, 44766631, 44766632, 44656987, 44656021, 44655919, 44709327, 44709531, 44533227, 44813466, 44708100, 44708105, 44708070, 32530186, 42099631, 44533241, 44533220, 44533237, 44533231, 44533240, 44533223, 44533232, 44533234, 44533219, 44533222, 44533239, 44533230, 44533218, 44533216, 44533238, 44533233, 44533236, 44533235, 44533242, 42047146, 42047148, 44655721, 44655395, 44708780, 44655396, 44708796, 44655367, 44767578, 44708417, 44533582, 44656896, 44534553, 44475191, 32530013, 44533588, 44598824, 32357162, 32357164, 44533573, 44533581, 44597203, 44598735, 44708268, 44598437, 44767579, 44708121, 41999612, 32357167, 44598548, 44475415, 41946105, 41589938, 32193309, 44598450, 32471620, 44598732, 32529976, 44534277, 44597202, 32529327, 44709369, 44598717, 44655751, 44767571, 44655394, 44598731, 44534023, 32194195, 32529329, 44708496, 44475654, 32194194, 44533614, 32471110, 44766865, 44476628, 44476629, 44656078, 44655780, 44766179, 44533579, 44598449, 44709509, 32354826, 44475638, 32356940, 32471109, 32529127, 41943926, 44476632, 44767949, 44656868, 44534153, 44655552, 44475413, 32357163, 41589073, 44475637, 32471090, 44598536, 44475652, 41907081, 41786746, 32195206, 44655507, 44598718, 40789828, 32471108, 44655506, 44597689, 32528825, 41999007, 32356727, 32529139, 32529135, 44475211, 44475206, 44597707, 44598529, 44533601, 44598519, 44533595, 44533634, 44598522, 44533600, 44533622, 44598530, 32357145, 44597102, 44656677, 44708830, 44656358, 44476631, 44533295, 44656135, 44475093, 44475094, 44475095, 44476007, 44597408, 44597564, 44709142, 44655822, 44709293, 44767245, 44708778, 44476164, 44533275, 44597206, 44709143, 44534953, 44598424, 44598425, 32530014, 44597971, 44597972, 44475384, 44598079, 44709461, 32356845, 44708858, 42047147, 32356850, 32356851, 32356844, 44766149, 44766203, 44476358, 32194707, 32470788, 44766284, 44766269, 44597284, 44766270, 44766268, 44475500, 44709220, 32530498, 44767775, 44766118, 44766119, 44767768, 32399155, 44767772, 44767771, 44709347, 44766125, 44766123, 44709348, 44709345, 44766129, 44708930, 44708939, 44766084, 32528919, 32528906, 44656131, 32194709, 44767286, 44767289, 44767283, 44656551, 44598106, 44656899, 44533997, 44656560, 44767977, 44656403, 44767962, 44767976, 44656410, 44533558, 41499410, 44656216, 32471560, 44656213, 44656212, 32471561, 44656219, 32471562, 44709357, 44656215, 44656220, 44656221, 44598792, 44655531, 44476428, 44767924, 44766066, 44709222, 44709237, 44599056, 44476828, 44655149, 44476829, 44533139, 44655151, 44597825, 32528995, 44655153, 32528994, 32529089, 32398462, 44709637, 44533298, 44533297, 44533300, 44533299, 44708686, 44709018, 44656573, 44708575, 44708577, 44708682, 44657040, 41589914, 41999027, 32399152, 44657041, 44708462, 32193253, 41589922, 44655618, 44708680, 32399153, 44657039, 44708678, 32399150, 32399148, 32471193, 32471211);
Date: 2025-02-25 11:54:16 Duration: 12ms
-
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 (44540734, 32515385, 32515352, 32515384, 32515372, 44540737, 44650040, 44541009, 44540721, 44540722, 44541053, 44541035, 44480738, 44650001, 44540725, 32515376, 44649499, 44538405, 44540762, 44649100, 32515266, 32513441, 44540727, 44650041, 32515379, 44539378, 32515370, 44626184, 32515374, 44540715, 44539547, 44649218, 44541049, 32515362, 44649190, 44649142, 44539184, 44540866, 32515382, 44539318, 44539921, 44649255, 44637612, 44541057, 32515388, 32515366, 32515357, 44649220, 32515368, 44626599, 44640622, 44649987, 32322300, 44539461, 44649990, 44539474, 44640620, 44539922, 44540679, 44540316, 44541050, 44626183, 32515265, 44649205, 44649138, 32515365, 44541051, 32515348, 32437602, 32515350, 44538424, 44540650, 44480805, 32515364, 44540681, 44649077, 44649095, 32515375, 32515355, 32515381, 44541054, 44540675, 44539383, 44540683, 32515373, 32437604, 32515369, 32515361, 44649143, 44539915, 44540865, 44540672, 32437603, 44539462, 44480731, 44480740, 44540664, 44649078, 44539812, 44649093, 44480734, 44626598, 44540674, 44539545, 44626596, 44539813, 44626594, 44539424, 44540669, 44626595, 44480737, 44539463, 44626182, 44539486, 44480732, 44539544, 44480735, 44539471, 44539119, 32431504, 44539470, 32514799, 44539932, 44626185, 44539417, 44539262, 44539467, 44539933, 44539472, 44480935, 32546858, 44539215, 44539216, 32514806, 44539214, 44538372, 44480936, 32514509, 44539217, 32546859, 32515292, 44538373, 44538374, 32515280, 32514040, 32514138, 32514855, 32515272, 44480253, 32485069, 32513147, 32404302, 32429642, 32521402);
Date: 2025-02-25 12:17:41 Duration: 9ms
-
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 (42139770, 42033420, 32359477, 32338197, 41902420, 42136282, 41856038, 32227456, 42159565, 41955733, 32544268, 42158825, 42156250, 41623488, 32400548, 32401051, 32399781, 32400649, 41767430, 32324711, 42118471, 32284162, 41892742, 32503472, 32258545, 32401881, 32456661, 32338579, 41965560, 42032827, 42146542, 42116363, 42058222, 41971264, 32185333, 32505566, 32212024, 42092852, 32360016, 44588313, 42149280, 42088639, 32281962, 32380617, 32401223, 32389418, 32335890, 41693448, 32275889, 32185007, 32222627, 42140149, 44475313, 32293287, 32422127, 42091924, 42044107, 42117001, 32420185, 32437271, 44486811, 32447634, 32214425, 32543631, 32377785, 41963445, 42129089, 40918320, 32373869, 44526322, 42112556, 42153104, 32387154, 42129078, 42056508, 32420187, 32348448, 32511110, 42089792, 44592577, 32293469, 32405697, 44484031, 32357613, 32415250, 44592586, 41935473, 32442632, 42112528, 44752326, 42066045, 32497017, 32219765, 42113413, 32347348, 42085497, 42170931, 32347345, 32247621, 41908747, 42056451, 41909130, 42089871, 42093465, 32437289, 41949325, 32347346, 41950235, 41967304, 41979449, 42113827, 42089736, 44752611, 32285470, 42121712, 41990129, 42056570, 41879415, 42056434, 32482160, 42062476, 42089802, 41838058, 32427362, 42042232, 41999768, 40919412, 32368757, 32430855, 41990134, 44513826, 44512741, 32512450, 32524146, 42138209, 32450548, 32312620, 41964126, 42056073, 32290421, 32415174, 32420177, 32472050, 41984071, 32329571, 44487588, 42064999, 44604661, 42024457, 32221530, 41979055, 44487041, 32497786, 41972004, 41842435, 41870915, 42069492, 32334375, 42069493, 32292319, 42078520, 32380344, 32222666, 42115121, 32235588, 41971262, 41674637, 42062002, 44518766, 32546932, 41971054, 32233994, 41894632, 32425931, 42013000, 32355372, 42112510, 32292994, 42112631, 32245407, 42112629, 44518820, 42112630, 42044197, 32408208, 32345355, 42172724, 42092811, 42012162, 44486715, 41983859, 32543689, 41903124, 42125136, 41746636, 32517047, 44519814, 42149482, 32393421, 42160757, 32558037, 32190788, 32366869, 41693358, 42084949, 41873327, 32402746, 42121950, 32381046, 41676217, 32338879, 32378581, 41545028, 41928222, 32327867, 44692620, 32430348, 41925255, 32220006, 42056495, 32220009, 42054963, 42087754, 42028862, 41952986, 32415331, 32428395, 32266269, 32411685, 42028955, 42125429, 41987429, 42031973, 44497100, 42031517, 42081158, 41659576, 41771339, 42130520, 40578876, 40793695, 41951166, 32290857, 32339475, 32411959, 41984945, 42130099, 42130314, 32469193, 42113875, 32234951, 32317172, 44610570, 42081175, 42110837, 41989461, 32659614, 32354208, 42066807, 42028912, 32321591, 42048217, 44493702, 42099467, 42112586, 32429142, 32191952, 42161417, 32440446, 44493699, 32429128, 42157274, 32191898, 42055378, 42107243, 42062193, 42144845, 42058808, 32400654, 32264712, 32236361, 42176858, 32260841, 42062034, 42062013, 42086720, 42107972, 42062442, 32296420, 32399731, 42099175, 32260848, 41955737, 32554655, 32305417, 42155382, 41355040, 42081560, 32212649, 32400594, 42108010, 41662894, 32291912, 32212717, 32212710, 42038212, 32414049, 42038209, 32192304, 32299811, 32191766, 32354178, 32185097, 32209345, 42060738, 42103658, 42001727, 32543841, 32399365, 32183548, 42043863, 32187026, 32187029, 32285993, 44631594, 32187039, 32321948, 32266044, 32286976, 42170657, 41828627, 44510280, 32425972, 32320076, 32554370, 41962855, 41442334, 41953371, 32360730, 44526730, 32265789, 32305055, 42144227, 42117869, 42110597, 41983163, 42128962, 42112223, 32190773, 32428312, 42073937, 42111413, 32536229, 32212765, 32381174, 32346139, 44596196, 32663276, 32502012, 41762173, 42117868, 42168060, 42090169, 41661682, 42149843, 41921320, 32322634, 42159552, 32460552, 32191774, 41833076, 32285703, 32252056, 32387297, 42137080, 42136128, 42059008, 42170002, 42160837, 42155139, 32182645, 42060879, 44521614, 41984856, 41159229, 42136139, 32234589, 42054488, 32418389, 32229306, 32326829, 32394819, 44519337, 42155388, 42056428, 32369843, 32187078, 44517838, 32187075, 32515916, 32187074, 44751833, 32367948, 44497088, 42042231, 32277754, 41986058, 41402176, 32191080, 32282927, 42037510, 41945566, 42112467, 41982231, 42110826, 42111340, 32380716, 44510138, 42009088, 42080868, 42149163, 42095450, 42111537, 32400406, 32186091, 32400610, 41989185, 32205551, 44751826, 32663890, 32400262, 42053313, 42098462, 42110565, 41833774, 42048256, 32468048, 44509191, 32438432, 41958566, 32425919, 42003052, 41969216, 32400461, 32516472, 44606102, 41982235, 42110559, 32499889, 32390224, 32403960, 32402126, 32319318, 32530438, 42018237, 44512696, 42115520, 42110872, 32183868, 32292789, 42088607, 44676287, 32540077, 32231570, 42029459, 32191358, 42110808, 32500595, 42122039, 32199028, 32418184, 41736095, 42045230, 41969188, 32282916, 42117170, 32229447, 32380726, 32364470, 42117294, 32181849, 32380725, 41945825, 32560789, 41713441, 42087054, 32289881, 32400156, 44553085, 32179139, 32188970, 41672887, 42170672, 32513520, 32277188, 32418399, 42028943, 42084456, 32478282, 32311520, 32289805, 32381831, 32654158, 32381834, 32368465, 32403324, 41971302, 32307441, 42172442, 44804887, 32342588, 41794590, 44804886, 42170675, 44600421, 42114604, 44513484, 32188967, 41960258, 32279075, 44523672, 32390039, 44811362, 32281722, 32195291, 44801317, 32486307, 44801670, 32479700, 44811411, 42129086, 32449267, 32188888, 32426989, 44691123, 32662985, 41692983, 32399114, 32549380, 32513050, 32205113, 32346540, 42110810, 32267299, 32341045, 42152754, 41777687, 32201531, 42061958, 44693937, 41475090, 32192417, 42128953, 42128966, 41770095, 32378203, 42079881, 42051354, 32361371, 32253129, 41986995, 32361948, 32196494, 32506793, 32547610, 32539350, 32188887, 42056431, 32489125, 32229454, 32328650, 32344637, 32320474, 32320780, 32462082, 32214418, 32401624, 41926475, 32461829, 32192239, 42080842, 32505907, 42080949, 42136592, 42103892, 32228879, 42125793, 32407476, 42087789, 42120603, 41886465, 41680218, 32361375, 32347108, 32349110, 42053935, 32337735, 32490205, 42144560, 32191371, 44706122, 32285232, 44512670, 41810223, 41989487, 32214646, 32190511, 41976473, 42059785, 42093885, 32400354, 32397567, 32413688, 32539346, 42158001, 32270983, 32399081, 42120974, 44665441, 44486141, 41680387, 32466490, 41911463, 32389138, 42166248, 42121281, 32215294, 32444393, 42032502, 32267162, 32189028, 42155583, 42117315, 42141160, 32215057, 32374111, 32192290, 42117339, 32214953, 32215074, 41969490, 44494333, 42115165, 32190145, 32215724, 42165663, 42031974, 32554668, 32662383, 32556927, 32349740, 41958331, 41987431, 41693028, 41544688, 32426901, 42121316, 42103682, 32490156, 41940150, 32249813, 42080834, 42079035, 32303803, 32197391, 44487253, 32373447, 32192042, 32446766, 32439412, 41811241, 32254780, 42012163, 32400887, 32267526, 32485178, 32373784, 42096652, 32272363, 32235339, 32350782, 32513656, 42117864, 32656002, 32196528, 42117871, 40249281, 42117867, 42117862, 42117865, 42117861, 42098030, 42117870, 42117863, 32466934, 32391343, 32242569, 42002707, 42033573, 44508938, 42154624, 32546942, 32360117, 32354251, 44486865, 32394622, 42042360, 32519507, 42156110, 41922214, 32394268, 32294094, 32466931, 32314234, 32294167, 32250147, 41473183, 32400382, 42002818, 32429903, 41987687, 32662319, 32294123, 32354250, 32464131, 32310262, 42080821, 41095956, 32259561, 32393790, 32459715, 42113308, 32241657, 42086991, 41806209, 32470845, 42086960, 42086902, 42168075, 41990704, 32226336, 32293765, 32411035, 44632852, 32388699, 32213896, 32181708, 42047268, 32512925, 41998613, 42129239, 32187049, 41990720, 42087051, 41485386, 42117814, 32430344, 41990713, 41510041, 32354154, 42069278, 32436650, 42171784, 42073570, 42174126, 32474590, 32185363, 42096805, 41969501, 32368146, 41801971, 40959471, 42069043, 42117876, 41839429, 42144294, 44513345, 32252381, 32195505, 44546920, 32463934, 42177762, 32551896, 42141785, 32659437, 32338165, 32372369, 32215107, 32482049, 42162438, 44752322, 42024206, 42099334, 41935450, 42138148, 32330157, 32205184, 32653806, 32659001, 32317987, 41994511, 41893510, 41798230, 32377429, 42020385, 42167670, 42140249, 42117966, 42141373, 42141374, 42086145, 42141372, 42049635, 32667019, 32369423, 41902470, 32361934, 41997331, 32394916, 32654940, 42135820, 42079014, 42081577, 42024204, 42174099, 32251935, 41934428, 32250477, 42099383, 32322001, 32321598, 42117604, 42136296, 32432537, 32208173, 32191753, 32191732, 42099258, 42084437, 32246188, 41929639, 32544810, 42024203, 44643863, 32361242, 44545949, 32318187, 41818627, 32187959, 42145293, 42155384, 41967210, 41490590, 32535928, 42042886, 42099585, 32191932, 42076423, 44486475, 42023628, 41957388, 42068725, 32540545, 41990465, 32252808, 41902575, 42005365, 32252798, 42127036, 32368540, 42114897, 42071463, 32307734, 42042644, 42024199, 32330992, 42024202, 41791624, 42043500, 41473147, 41957376, 32322637, 32358607, 32437806, 42042824, 32517744, 41473151, 41931409, 32191931, 32192369, 42112582, 32283057, 32189100, 44642719, 40517019, 42139074, 32350941, 32192634, 32249451, 32199481, 44530040, 42137094, 44517352, 32446860, 42069603, 41997159, 42111526, 32437589, 32188582, 32378068, 32238859, 32398686, 42095048, 42144902, 32356375, 42108109, 32213201, 32192095, 42151272, 41987440, 42002420, 32334683, 42041345, 32462440, 42085314, 32404157, 32401963, 32531445, 42140686, 32321614, 42140857, 32419842, 42119508, 41934631, 42056473, 32322007, 41996580, 39352441, 44487376, 41990476, 42035498, 32667165, 42078663, 42091932, 32321954, 32463939, 42120038, 42091803, 42144438, 42114886, 42086520, 42159055, 32215472, 32236246, 32360109, 41986518, 42094725, 42104621, 42090020, 42090203, 32273438, 32192364, 32327445, 41453263, 32322025, 42080847, 44642198, 41815328, 32215470, 41847727, 41873216, 41999198, 41902571, 32358771, 42088935, 42090241, 42006571, 42057147, 42083785, 32403139, 44752645, 42117627, 44486120, 32427057, 32408047, 32347745, 42058466, 42144647, 44487501, 41935405, 32200989, 41924066, 32312043, 32334656, 41969484, 44730511, 32377575, 32468807, 32243693, 32534613);
Date: 2025-02-25 11:01:10 Duration: 8ms
14 213,584 41s690ms 0ms 6ms 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 #14
Day Hour Count Duration Avg duration Feb 25 00 5,437 810ms 0ms 01 2,364 355ms 0ms 02 2,240 311ms 0ms 03 2,177 310ms 0ms 04 1,959 264ms 0ms 05 2,014 278ms 0ms 06 1,862 257ms 0ms 07 2,300 319ms 0ms 08 9,381 1s453ms 0ms 09 12,870 2s193ms 0ms 10 15,175 3s116ms 0ms 11 14,013 2s894ms 0ms 12 15,271 3s390ms 0ms 13 15,266 3s143ms 0ms 14 13,456 2s546ms 0ms 15 18,361 3s408ms 0ms 16 14,718 2s666ms 0ms 17 15,909 3s458ms 0ms 18 16,317 3s816ms 0ms 19 11,144 2s696ms 0ms 20 7,745 1s713ms 0ms 21 7,446 1s316ms 0ms 22 6,159 964ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1416 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_shipping_policy' AND name = 'group_confirm_payment_wizard' AND model = 'res.groups');
Date: 2025-02-25 16:12:15 Duration: 6ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 844 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_portal' AND model = 'res.groups');
Date: 2025-02-25 13:18:48 Duration: 3ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1259 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_cash_policy' AND name = 'archive' AND model = 'res.groups');
Date: 2025-02-25 15:23:54 Duration: 2ms
15 204,467 24s150ms 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 #15
Day Hour Count Duration Avg duration Feb 25 00 2,812 209ms 0ms 01 1,950 157ms 0ms 02 1,400 128ms 0ms 03 1,395 138ms 0ms 04 1,232 123ms 0ms 05 1,529 161ms 0ms 06 3,283 306ms 0ms 07 2,160 196ms 0ms 08 5,191 467ms 0ms 09 9,687 991ms 0ms 10 29,504 3s314ms 0ms 11 19,411 2s224ms 0ms 12 19,445 3s33ms 0ms 13 18,968 2s594ms 0ms 14 14,899 1s239ms 0ms 15 14,328 1s290ms 0ms 16 12,656 1s100ms 0ms 17 10,645 1s261ms 0ms 18 10,955 1s717ms 0ms 19 9,046 1s488ms 0ms 20 7,204 1s110ms 0ms 21 4,631 600ms 0ms 22 2,136 292ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414, 2);
Date: 2025-02-25 13:03: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-25 17:21:53 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 (2414, 2);
Date: 2025-02-25 12:17:41 Duration: 1ms
16 176,514 1m50s 0ms 22ms 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 #16
Day Hour Count Duration Avg duration Feb 25 00 1,024 728ms 0ms 01 274 203ms 0ms 02 226 142ms 0ms 03 181 129ms 0ms 04 189 135ms 0ms 05 503 265ms 0ms 06 1,215 524ms 0ms 07 1,201 655ms 0ms 08 1,873 1s125ms 0ms 09 3,435 2s146ms 0ms 10 11,146 7s593ms 0ms 11 12,022 7s984ms 0ms 12 11,994 9s412ms 0ms 13 12,149 8s51ms 0ms 14 10,830 6s973ms 0ms 15 9,581 6s50ms 0ms 16 7,947 4s620ms 0ms 17 20,369 11s224ms 0ms 18 24,470 14s862ms 0ms 19 17,945 11s711ms 0ms 20 17,423 10s372ms 0ms 21 9,084 4s713ms 0ms 22 1,433 609ms 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 (5681201, 5635169, 5529247, 5682678, 5623597, 5664408, 5542945, 5663272, 5466648, 5678753, 5665911, 5665930, 5682676, 5604931, 5612335, 5663260, 5163658, 5674222, 5610790, 5630254, 5633072, 5663262, 5676656, 5679578, 5566443, 5680507, 5663245, 4694954, 5663236, 5673971, 5681235, 5627823, 5623599, 5627788, 5676648, 5613581, 5627760, 5627790, 5626793, 5676663, 5682672, 5663246, 5635179, 5491099, 5554828, 5573006, 5595360, 5596064, 5609906, 5629334, 5635669, 5636816, 5653500, 5672998, 5680347, 5681248, 5683841, 5696090, 5578622, 5682669, 5466645, 5674697, 5663247, 5674120, 5542916, 5633029, 5682658, 5665938, 5679612, 5673870, 5623617, 5623620, 5663275, 5680488, 5671542, 5541973, 5680530, 5665906, 5627829, 5604940, 5635992, 5675489, 5623589, 5542912, 5663298, 5195994, 5507481, 5546982, 5562232, 5569701, 5591890, 5625394, 5627169, 5629099, 5630065, 5636866, 5649800, 5650478, 5664172, 5664176, 5623607, 5627801, 5623605, 5665908, 5635189, 5623046, 5589530, 5466642, 5542925, 5556486, 5572202, 5623593, 5627762, 5623600, 5623604, 5635185, 5627756, 5578625, 5623594, 5572251, 5529202, 5578628, 5623610, 5633001, 5466816, 5545903, 5610792, 5572227, 5545879, 5623609, 5572261, 5627758, 5492155, 5500356, 5530030, 5623587, 5623601, 5635166, 5500285, 5623595, 5635195, 5623608, 5627764, 5633041, 5545894, 5623585, 5630260, 5623616, 5633060, 5623611, 5578679, 5604933, 5630180, 5529165, 5268864, 5500390, 5541710, 5541593, 5572257, 5541747, 5623602, 5500397, 5633035, 5578614, 5610745, 5466895, 5623619, 5604945, 5500312, 5477535, 5510111, 5569689, 5581057, 5626645, 5630171, 5633633, 5645038, 5648202, 5649122, 5610751, 5572232, 5567729, 5604935, 5500226, 5432438, 5546000, 5500185, 5578631, 5354532, 5466794, 5612331, 5432306, 5610757, 5541875, 5578653, 5541602, 5541960, 5610756);
Date: 2025-02-25 17:21:59 Duration: 22ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (5572704, 5531014, 5552138, 5512838, 5548830, 5456966, 5553174, 5548459, 5586411, 5511225, 5548468, 5586845, 5586395, 5547724, 5586849, 5572044, 5553179, 5552499, 5567029, 5511203, 5548455, 5553169, 5583422, 5572711, 5547495, 5554256, 5583427, 5553155, 5532348, 5552142, 5261380, 5553215, 5553099, 5511808, 5547482, 5553097, 5547468, 5553190, 5552150, 5532400, 5547491, 4976260, 5587341, 5548343, 5287894, 5553160, 5502112, 5547500, 5577717, 5548354, 5511805, 5502244, 5552156, 5513415, 5532288, 5532282, 5498699, 5532344, 5548390, 5502237, 5361001, 5444988, 5513413, 5498687, 5448277, 5498692, 5461195, 5502232, 5394801, 5498682, 5502079, 5461190, 5461189, 5459598, 5512258, 5456025, 5444558, 5448473, 5444989, 5287878, 5448429, 5411444, 5448259, 5448469, 5408596, 5408709, 5411348, 5314416, 5325709, 5255916, 5325708, 5255565, 5255564, 5206952, 5187420, 4557635, 5036223, 4945471, 5010003, 4585182, 4703443, 4355503, 4642728, 4731416, 4642734, 4585164, 4585161, 4642732, 4642736, 4545597, 4616645, 4585175, 4585159, 4585174, 4471930, 4585171, 4585185, 4355497, 4471929, 4512156, 4442142, 4323310, 4471931, 4442145, 4418494, 4418490, 4418493, 4355501, 4391884, 4355499, 4323317, 4323319, 4323321, 4263866, 4239478, 4211725, 4239481, 4161826, 4239479, 4239475, 4239476, 4133617, 4161820, 4211727, 4209013, 4161822, 4211397, 4161828, 4161825, 4161830, 4161827, 4133349, 4018152, 4053682, 4104723, 4022424, 4053681, 4018167, 4018163, 3941206, 3981011, 3981004, 3941197, 3941202, 3904678, 3904684);
Date: 2025-02-25 12:51:33 Duration: 19ms
-
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 (5750259, 5750253, 5750247, 5750241, 5750235, 5750229, 5750224, 5750219, 5750214, 5750209, 5750205, 5750200, 5750195, 5750190, 5750185, 5750180, 5750175, 5750170, 5750165, 5750160, 5750155, 5750150, 5750145, 5750140, 5750135, 5750130, 5750125, 5750122, 5750118, 5750113, 5750108, 5750103, 5750098, 5750093, 5750089, 5750084, 5750079, 5750074, 5750070, 5750065, 5750060, 5750055, 5750050, 5750045, 5750039, 5750034, 5750029, 5750024, 5750020, 5750015, 5750010, 5750007, 5750003, 5749998, 5749994, 5749990, 5749986, 5749984, 5749980, 5749976, 5749972, 5749968, 5749964, 5749960, 5749956, 5749952, 5749948, 5749944, 5749942, 5749938, 5749934, 5749930, 5749926, 5749921, 5749915, 5749909, 5749904, 5749900, 5749896, 5749893, 5749890, 5749887, 5749884, 5749882, 5749881, 5749879, 5749877, 5749875, 5749873, 5749871, 5749869, 5749867, 5749864, 5749862, 5749860, 5749858, 5749856, 5749854, 5749850, 5749848, 5749845, 5749841, 5749838, 5749833, 5749829, 5749825, 5749823, 5749819, 5749815, 5749809, 5749805, 5749801, 5749797, 5749793, 5749789, 5749786, 5749783, 5749780, 5749777, 5749774, 5749771, 5749769, 5749767, 5749765, 5749763, 5749761, 5749758, 5749755, 5749752, 5749750, 5749746, 5749742, 5749738, 5749734, 5749730, 5749726, 5749722, 5749718, 5749716, 5749712, 5749708, 5749703, 5749698, 5749694, 5749690, 5749684, 5749682, 5749677, 5749672, 5749669, 5749666, 5749663, 5749660, 5749656, 5749652, 5749650, 5749646, 5749642, 5749636, 5749631, 5749627, 5749622, 5749617, 5749612, 5749608, 5749604, 5749600, 5749596, 5749592, 5749588, 5749584, 5749580, 5749577, 5749572, 5749568, 5749564, 5749560, 5749557, 5749553, 5749549, 5749545, 5749541, 5749537, 5749533, 5749528, 5749523, 5749518, 5749513, 5749508, 5749504, 5749498, 5749492, 5749487, 5749482, 5749476, 5749469, 5749461, 5749455, 5749451, 5749446, 5749440, 5749436, 5749431, 5749426, 5749421, 5749417, 5749412, 5749407, 5749402, 5749396, 5749391, 5749385, 5749379, 5749374, 5749368, 5749361, 5749356, 5749350, 5749345);
Date: 2025-02-25 19:58:56 Duration: 18ms
17 174,881 3h20m14s 43ms 456ms 68ms 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 25 00 3,381 3m22s 59ms 01 4,562 4m33s 59ms 02 3,441 3m26s 60ms 03 3,994 4m2s 60ms 04 4,595 4m41s 61ms 05 2,536 2m36s 61ms 06 3,211 3m15s 60ms 07 2,841 2m51s 60ms 08 3,624 3m43s 61ms 09 8,345 8m57s 64ms 10 13,633 16m38s 73ms 11 14,529 17m52s 73ms 12 15,045 20m53s 83ms 13 14,886 18m32s 74ms 14 10,938 12m22s 67ms 15 9,420 10m28s 66ms 16 8,277 8m53s 64ms 17 6,667 7m24s 66ms 18 8,120 9m46s 72ms 19 12,237 14m36s 71ms 20 11,076 12m39s 68ms 21 6,274 5m44s 54ms 22 3,249 2m51s 52ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5673693, 5662810, 5650367, 5635065, 5632727, 5629888, 5629813)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-25 13:01:34 Duration: 456ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5716201, 5714823, 5701899, 5700256, 5699266)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-25 12:56:03 Duration: 440ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5678059, 5668194, 5667030, 5665199, 5628850)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-25 12:40:49 Duration: 431ms
18 173,354 1m6s 0ms 3ms 0ms select "price_list".id from "price_list" where (("price_list"."from_office_id" = ?) and ("price_list"."to_office_id" = ?)) order by "price_list"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 25 00 8,923 2s710ms 0ms 01 7,332 2s349ms 0ms 02 8,691 2s829ms 0ms 03 12,500 4s73ms 0ms 04 9,938 3s407ms 0ms 05 8,616 3s86ms 0ms 06 4,236 1s850ms 0ms 07 8,551 2s717ms 0ms 08 2,320 1s124ms 0ms 09 2,740 994ms 0ms 10 3,832 1s636ms 0ms 11 2,564 1s318ms 0ms 12 3,569 2s133ms 0ms 13 3,119 1s315ms 0ms 14 2,244 943ms 0ms 15 2,472 986ms 0ms 16 3,976 1s391ms 0ms 17 6,483 2s658ms 0ms 18 12,325 5s502ms 0ms 19 19,678 9s128ms 0ms 20 16,208 7s322ms 0ms 21 11,064 3s426ms 0ms 22 11,973 3s427ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 52) AND ("price_list"."to_office_id" = 27)) ORDER BY "price_list"."id";
Date: 2025-02-25 00:00:37 Duration: 3ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 17) AND ("price_list"."to_office_id" = 55)) ORDER BY "price_list"."id";
Date: 2025-02-25 04:13:27 Duration: 2ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 27) AND ("price_list"."to_office_id" = 65)) ORDER BY "price_list"."id";
Date: 2025-02-25 20:23:02 Duration: 1ms
19 141,132 12s45ms 0ms 0ms 0ms select "urgent_warehouse"."id" AS "id", "urgent_warehouse"."active" AS "active", "urgent_warehouse"."name" AS "name", "urgent_warehouse"."create_uid" AS "create_uid", "urgent_warehouse"."create_date" AS "create_date", "urgent_warehouse"."write_uid" AS "write_uid", "urgent_warehouse"."write_date" AS "write_date" from "urgent_warehouse" where "urgent_warehouse".id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 25 00 2,497 140ms 0ms 01 2,402 127ms 0ms 02 1,707 93ms 0ms 03 1,961 107ms 0ms 04 1,737 90ms 0ms 05 2,227 114ms 0ms 06 3,684 169ms 0ms 07 1,798 88ms 0ms 08 4,229 255ms 0ms 09 6,750 448ms 0ms 10 22,394 2s260ms 0ms 11 10,993 901ms 0ms 12 11,259 1s66ms 0ms 13 10,695 926ms 0ms 14 8,206 613ms 0ms 15 9,637 779ms 0ms 16 8,016 590ms 0ms 17 7,058 748ms 0ms 18 7,273 869ms 0ms 19 5,698 662ms 0ms 20 4,700 456ms 0ms 21 3,906 341ms 0ms 22 2,305 192ms 0ms -
SELECT "urgent_warehouse"."id" AS "id", "urgent_warehouse"."active" AS "active", "urgent_warehouse"."name" AS "name", "urgent_warehouse"."create_uid" AS "create_uid", "urgent_warehouse"."create_date" AS "create_date", "urgent_warehouse"."write_uid" AS "write_uid", "urgent_warehouse"."write_date" AS "write_date" FROM "urgent_warehouse" WHERE "urgent_warehouse".id IN (28);
Date: 2025-02-25 14:58:39 Duration: 0ms
-
SELECT "urgent_warehouse"."id" AS "id", "urgent_warehouse"."active" AS "active", "urgent_warehouse"."name" AS "name", "urgent_warehouse"."create_uid" AS "create_uid", "urgent_warehouse"."create_date" AS "create_date", "urgent_warehouse"."write_uid" AS "write_uid", "urgent_warehouse"."write_date" AS "write_date" FROM "urgent_warehouse" WHERE "urgent_warehouse".id IN (41, 46, 37, 82);
Date: 2025-02-25 10:33:36 Duration: 0ms
-
SELECT "urgent_warehouse"."id" AS "id", "urgent_warehouse"."active" AS "active", "urgent_warehouse"."name" AS "name", "urgent_warehouse"."create_uid" AS "create_uid", "urgent_warehouse"."create_date" AS "create_date", "urgent_warehouse"."write_uid" AS "write_uid", "urgent_warehouse"."write_date" AS "write_date" FROM "urgent_warehouse" WHERE "urgent_warehouse".id IN (41, 46, 37, 82);
Date: 2025-02-25 10:35:23 Duration: 0ms
20 136,472 13h34m1s 248ms 2s663ms 357ms 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 #20
Day Hour Count Duration Avg duration Feb 25 00 1,217 5m34s 275ms 01 1,310 6m1s 275ms 02 2,036 9m28s 279ms 03 3,789 17m42s 280ms 04 3,433 16m4s 281ms 05 4,703 22m1s 281ms 06 3,941 18m26s 280ms 07 2,385 11m7s 280ms 08 2,280 10m37s 279ms 09 3,508 17m37s 301ms 10 10,077 57m34s 342ms 11 8,163 49m51s 366ms 12 11,320 1h14m16s 393ms 13 6,351 36m54s 348ms 14 5,711 30m28s 320ms 15 5,932 30m48s 311ms 16 4,361 22m 302ms 17 18,494 1h52m49s 366ms 18 6,265 40m34s 388ms 19 10,297 1h12m21s 421ms 20 19,417 2h24m18s 445ms 21 1,166 5m50s 300ms 22 316 1m30s 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" = '471548')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 12:55:52 Duration: 2s663ms
-
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" = '620212')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 20:19:48 Duration: 2s643ms
-
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" = '9954191')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 12:29:35 Duration: 2s623ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 197ms 1m15s 26s22ms 42 18m12s select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 25 00 3 3s461ms 1s153ms 08 2 1s680ms 840ms 10 2 1s981ms 990ms 13 1 1s750ms 1s750ms 14 3 3s706ms 1s235ms 15 2 3s449ms 1s724ms 16 2 2s28ms 1s14ms 17 8 2m41s 20s139ms 18 4 3m30s 52s513ms 19 5 3m12s 38s440ms 20 5 4m39s 55s828ms 21 3 2m23s 47s895ms 22 2 1m28s 44s351ms -
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-25 20:22:47 Duration: 1m15s
-
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-25 18:03:55 Duration: 1m15s
-
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-25 19:15:53 Duration: 1m15s
2 2s941ms 6s941ms 3s678ms 335 20m32s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 25 00 2 6s462ms 3s231ms 09 23 1m18s 3s408ms 10 7 27s430ms 3s918ms 11 16 1m4s 4s2ms 12 10 43s225ms 4s322ms 13 3 9s621ms 3s207ms 14 15 52s132ms 3s475ms 15 62 3m36s 3s492ms 16 15 51s16ms 3s401ms 17 17 1m12s 4s238ms 18 90 5m20s 3s556ms 19 18 1m16s 4s237ms 20 23 1m40s 4s361ms 21 28 1m35s 3s401ms 22 6 19s563ms 3s260ms -
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 (76))))))) 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 (76)))))) 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 (76)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (76)))))) 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 (76))))))))) 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 (76)))))))) AND ("policy_number"."name"::text ilike '%749728%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-25 19:40:41 Duration: 6s941ms
-
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 (66))))))) 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 (66)))))) 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 (66)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) 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 (66))))))))) 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 (66)))))))) AND ("policy_number"."name"::text ilike '%74666%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-25 20:10:12 Duration: 6s293ms
-
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 (49))))))) 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 (49)))))) 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 (49)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (49)))))) 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 (49))))))))) 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 (49)))))))) AND ("policy_number"."name"::text ilike '%774856%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-25 20:13:18 Duration: 6s100ms
3 119ms 5s322ms 1s905ms 2,568 1h21m33s 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 25 00 19 22s585ms 1s188ms 01 1 1s811ms 1s811ms 07 2 2s20ms 1s10ms 08 45 36s117ms 802ms 09 109 3m2s 1s670ms 10 248 7m37s 1s844ms 11 275 8m18s 1s811ms 12 360 12m30s 2s85ms 13 271 8m50s 1s958ms 14 258 7m51s 1s827ms 15 269 8m51s 1s976ms 16 197 6m4s 1s851ms 17 146 4m58s 2s42ms 18 109 4m12s 2s320ms 19 141 3m58s 1s694ms 20 51 2m 2s360ms 21 53 1m55s 2s171ms 22 14 18s379ms 1s312ms -
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 (73)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))) 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-25 12:40:11 Duration: 5s322ms
-
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 (71)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))) 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-25 18:06:38 Duration: 5s292ms
-
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-25 18:01:33 Duration: 5s219ms
4 865ms 2s888ms 1s211ms 22,232 7h28m47s 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 25 00 803 14m32s 1s86ms 01 723 12m56s 1s74ms 02 1,323 23m58s 1s87ms 03 1,909 35m10s 1s105ms 04 1,609 29m30s 1s100ms 05 1,178 21m32s 1s97ms 06 352 6m21s 1s83ms 07 1,764 32m2s 1s89ms 08 1 1s60ms 1s60ms 09 526 9m59s 1s139ms 10 632 13m41s 1s300ms 11 249 5m19s 1s283ms 12 84 1m57s 1s402ms 13 263 5m38s 1s287ms 14 223 4m35s 1s237ms 15 250 4m57s 1s191ms 16 504 9m30s 1s131ms 17 726 16m1s 1s323ms 18 1,250 30m53s 1s482ms 19 2,168 54m57s 1s520ms 20 2,090 48m59s 1s406ms 21 2,214 41m5s 1s113ms 22 1,391 25m4s 1s81ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '386694')) 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-25 19:34:08 Duration: 2s888ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '242139')) 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-25 19:13:03 Duration: 2s867ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '385998')) 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-25 18:08:53 Duration: 2s863ms
5 338ms 2s651ms 1s177ms 15,148 4h57m22s 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 25 00 1,238 20m45s 1s6ms 01 817 13m18s 977ms 02 471 7m43s 984ms 03 643 10m41s 998ms 04 275 4m33s 995ms 05 301 5m12s 1s39ms 08 97 1m35s 989ms 09 3 3s304ms 1s101ms 10 155 3m9s 1s224ms 11 60 1m6s 1s115ms 12 365 8m17s 1s362ms 13 351 6m46s 1s156ms 14 170 3m2s 1s75ms 15 206 3m45s 1s95ms 16 387 6m51s 1s62ms 17 898 18m43s 1s251ms 18 1,806 39m13s 1s303ms 19 2,741 1h23s 1s321ms 20 1,942 45m10s 1s395ms 21 587 10m4s 1s29ms 22 1,635 26m51s 985ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '304500')) 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-25 20:24:45 Duration: 2s651ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '772743')) 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 (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-25 20:22:06 Duration: 2s558ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '281885')) 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-25 19:38:10 Duration: 2s511ms
6 630ms 7s469ms 864ms 52,585 12h37m54s 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 25 00 273 3m21s 737ms 01 248 3m3s 738ms 02 564 6m37s 703ms 03 160 2m9s 811ms 04 166 2m16s 823ms 05 181 2m26s 807ms 06 293 3m42s 758ms 07 320 3m53s 729ms 08 1,510 17m55s 712ms 09 3,317 40m52s 739ms 10 3,892 56m25s 869ms 11 4,286 1h2m31s 875ms 12 3,705 1h4m10s 1s39ms 13 4,192 1h1m46s 884ms 14 4,505 59m13s 788ms 15 3,868 49m57s 774ms 16 3,481 43m29s 749ms 17 4,084 58m7s 853ms 18 4,108 1h10m29s 1s29ms 19 3,425 57m25s 1s5ms 20 3,808 1h51s 958ms 21 1,468 18m35s 759ms 22 731 8m34s 703ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5649770, 5643377, 5625329, 5620193, 5613471, 5610669, 5603568, 5585664, 5549001, 5531584, 5528076, 5527187, 5515376, 5486253, 5486194, 5410275, 5376840, 5113691, 4994785, 4988126, 4908636, 4784715, 4778782, 4742886, 4680659, 4555141, 4245606, 3918275)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 12:58:24 Duration: 7s469ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5738190, 5736087, 5732592, 5732573, 5732544, 5729486, 5729460, 5729458, 5729432, 5729429, 5729392, 5728821, 5726184, 5725168, 5725145, 5723397, 5723238, 5717581, 5716700, 5716322, 5715744, 5715130, 5710470, 5710252, 5709931, 5706433, 5706075, 5704363, 5701886, 5701844, 5699152, 5698070, 5698042, 5696251, 5694848, 5692998, 5691891, 5691205, 5683224, 5681916, 5680127, 5678660, 5676486, 5673653, 5673351, 5668043, 5661685, 5627356, 5626974, 5626684, 5598032)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 13:00:47 Duration: 6s703ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5695304, 5693742, 5687504, 5685010, 5684231, 5683174, 5682542, 5681487, 5674560, 5674553, 5674440, 5673700, 5673682, 5673625, 5671903, 5667881, 5667861, 5659739, 5658351, 5654979, 5653606, 5637122, 5632416, 5621638, 5603808, 5564582, 5554672, 5528070, 5488235, 5473433, 5461765, 5326454)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 18:12:04 Duration: 6s647ms
7 630ms 7s415ms 828ms 320,511 3d1h46m13s 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 25 00 7,121 1h24m31s 712ms 01 8,521 1h39m20s 699ms 02 8,644 1h41m37s 705ms 03 11,339 2h15m23s 716ms 04 11,373 2h14m43s 710ms 05 9,462 1h51m26s 706ms 06 9,096 1h44m18s 688ms 07 7,294 1h25m57s 707ms 08 8,119 1h33m29s 690ms 09 12,415 2h31m42s 733ms 10 17,292 4h2m41s 842ms 11 18,761 4h24m32s 846ms 12 19,934 5h17m39s 956ms 13 17,995 4h15m10s 850ms 14 14,039 3h2m3s 778ms 15 12,288 2h36m42s 765ms 16 10,774 2h13m19s 742ms 17 15,748 3h51m55s 883ms 18 28,401 7h43m12s 978ms 19 27,940 7h38m46s 985ms 20 21,674 5h38m21s 936ms 21 16,183 3h23m9s 753ms 22 6,098 1h16m8s 749ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5738608)) AND (("shipping_track"."id" not in (47615285, 47615285)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 12:55:55 Duration: 7s415ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5748473)) AND (("shipping_track"."id" not in (47733796, 47733796)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 19:34:30 Duration: 7s197ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5752471)) AND (("shipping_track"."id" not in (47751791, 47751791)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-25 20:25:22 Duration: 7s175ms
8 305ms 2s842ms 485ms 3,579 28m59s 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 25 08 173 1m3s 366ms 09 751 5m14s 419ms 10 676 5m42s 506ms 11 754 6m6s 485ms 12 392 3m56s 603ms 13 181 1m40s 556ms 14 209 1m29s 426ms 15 67 29s81ms 434ms 16 4 1s686ms 421ms 17 372 3m14s 523ms -
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" = '646759')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-25 12:58:47 Duration: 2s842ms
-
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" = '321397')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-25 12:59:23 Duration: 2s612ms
-
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" = '426410')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-25 12:59:27 Duration: 2s194ms
9 282ms 3s283ms 448ms 18,514 2h18m26s 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 25 09 495 3m4s 373ms 10 4,122 30m5s 438ms 11 2,554 20m30s 481ms 12 2,510 23m5s 551ms 13 2,374 17m32s 443ms 14 2,534 18m1s 426ms 15 2,378 15m52s 400ms 16 1,522 9m58s 393ms 17 25 13s914ms 556ms -
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" = '467506')))) 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-25 12:58:42 Duration: 3s283ms
-
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" = '607707')))) 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-25 12:58:33 Duration: 3s212ms
-
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" = '439315')))) 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-25 12:58:26 Duration: 3s199ms
10 254ms 2s500ms 378ms 4,650 29m17s 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 #10
Day Hour Count Duration Avg duration Feb 25 05 72 20s260ms 281ms 07 463 2m9s 278ms 09 386 1m53s 294ms 10 469 2m49s 361ms 11 354 2m5s 354ms 12 2,734 19m4s 418ms 13 48 17s213ms 358ms 14 52 16s289ms 313ms 19 72 22s304ms 309ms -
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" = '282563')) 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-25 12:40:17 Duration: 2s500ms
-
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" = '328689')) 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-25 12:57:34 Duration: 2s205ms
-
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" = '684351')) 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-25 12:40:35 Duration: 2s187ms
11 248ms 2s663ms 357ms 136,472 13h34m1s 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 #11
Day Hour Count Duration Avg duration Feb 25 00 1,217 5m34s 275ms 01 1,310 6m1s 275ms 02 2,036 9m28s 279ms 03 3,789 17m42s 280ms 04 3,433 16m4s 281ms 05 4,703 22m1s 281ms 06 3,941 18m26s 280ms 07 2,385 11m7s 280ms 08 2,280 10m37s 279ms 09 3,508 17m37s 301ms 10 10,077 57m34s 342ms 11 8,163 49m51s 366ms 12 11,320 1h14m16s 393ms 13 6,351 36m54s 348ms 14 5,711 30m28s 320ms 15 5,932 30m48s 311ms 16 4,361 22m 302ms 17 18,494 1h52m49s 366ms 18 6,265 40m34s 388ms 19 10,297 1h12m21s 421ms 20 19,417 2h24m18s 445ms 21 1,166 5m50s 300ms 22 316 1m30s 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" = '471548')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 12:55:52 Duration: 2s663ms
-
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" = '620212')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 20:19:48 Duration: 2s643ms
-
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" = '9954191')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 12:29:35 Duration: 2s623ms
12 255ms 2s643ms 351ms 2,687 15m43s select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 25 08 173 47s853ms 276ms 09 751 3m46s 301ms 10 382 2m13s 349ms 11 434 2m24s 332ms 12 393 2m57s 450ms 13 178 1m9s 390ms 16 4 1s173ms 293ms 17 372 2m22s 384ms -
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" = '360932')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-25 12:58:20 Duration: 2s643ms
-
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" = '570512')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-25 12:55:45 Duration: 2s600ms
-
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" = '646759')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-25 12:58:44 Duration: 2s275ms
13 253ms 2s565ms 329ms 20,459 1h52m30s 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 #13
Day Hour Count Duration Avg duration Feb 25 00 260 1m12s 279ms 01 167 46s841ms 280ms 02 415 1m55s 277ms 03 95 27s861ms 293ms 04 128 39s811ms 311ms 05 940 4m26s 283ms 06 441 2m 273ms 07 517 2m25s 280ms 08 1,249 5m52s 282ms 09 1,885 9m34s 304ms 10 2,712 15m 331ms 11 1,521 9m6s 359ms 12 3,134 20m9s 386ms 13 1,393 8m43s 375ms 14 513 2m47s 326ms 15 949 4m50s 305ms 16 1,248 6m18s 303ms 17 429 2m19s 325ms 18 183 1m6s 364ms 19 768 5m1s 392ms 20 431 2m29s 347ms 21 765 3m45s 294ms 22 316 1m30s 287ms -
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" = '642315')) 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 (30)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) 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-25 12:59:32 Duration: 2s565ms
-
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" = '678647')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 13:01:14 Duration: 2s348ms
-
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" = '710680')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 12:27:30 Duration: 2s294ms
14 88ms 1s48ms 266ms 73,812 5h27m55s 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 25 00 4,018 14m26s 215ms 01 3,036 10m21s 204ms 02 3,558 12m2s 203ms 03 5,060 17m28s 207ms 04 3,726 13m50s 222ms 05 2,914 11m11s 230ms 06 694 2m29s 215ms 07 3,492 13m27s 231ms 08 194 51s592ms 265ms 09 1,038 3m57s 228ms 10 1,540 6m44s 262ms 11 598 2m47s 280ms 12 882 4m41s 319ms 13 1,216 5m10s 254ms 14 770 3m20s 260ms 15 902 4m5s 271ms 16 1,750 7m10s 246ms 17 3,208 15m52s 296ms 18 6,051 33m48s 335ms 19 9,706 54m45s 338ms 20 8,003 45m4s 337ms 21 5,501 22m21s 243ms 22 5,955 21m56s 221ms -
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-25 19:29:01 Duration: 1s48ms
-
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-25 18:12:06 Duration: 975ms
-
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-25 19:16:36 Duration: 971ms
15 175ms 302ms 223ms 17,576 1h5m24s 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 25 00 823 2m55s 213ms 01 1,143 4m8s 217ms 02 1,504 5m32s 220ms 03 3,544 13m12s 223ms 04 2,970 11m2s 223ms 05 3,013 11m22s 226ms 06 2,179 8m14s 227ms 07 1,404 5m15s 224ms 08 974 3m34s 219ms 09 22 5s344ms 242ms -
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" = '650915')) 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, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 06:25:00 Duration: 302ms
-
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" = '740037')) 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, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 06:25:00 Duration: 302ms
-
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" = '722001')) 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, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-25 05:48:10 Duration: 301ms
16 121ms 1s246ms 183ms 7,128 21m49s 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 25 00 40 5s299ms 132ms 01 50 6s513ms 130ms 02 50 6s744ms 134ms 06 5 708ms 141ms 08 63 8s664ms 137ms 09 371 54s683ms 147ms 10 861 2m28s 172ms 11 904 2m41s 178ms 12 1,363 5m17s 232ms 13 1,149 3m43s 194ms 14 730 1m55s 158ms 15 468 1m10s 150ms 16 456 1m7s 147ms 17 176 32s928ms 187ms 18 186 41s156ms 221ms 19 105 22s991ms 218ms 20 76 15s60ms 198ms 21 74 11s171ms 150ms 22 1 135ms 135ms -
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-25 12:58:51 Duration: 1s246ms
-
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-25 12:55:41 Duration: 1s240ms
-
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-25 12:55:54 Duration: 1s239ms
17 110ms 977ms 153ms 22,358 57m7s 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 25 00 73 8s821ms 120ms 08 262 36s355ms 138ms 09 1,204 2m47s 139ms 10 1,716 4m28s 156ms 11 2,583 6m39s 154ms 12 2,279 6m29s 170ms 13 2,242 5m40s 152ms 14 2,727 6m33s 144ms 15 2,844 6m32s 137ms 16 1,852 4m11s 135ms 17 977 2m36s 160ms 18 1,043 3m18s 190ms 19 878 2m42s 185ms 20 1,196 3m16s 163ms 21 396 54s727ms 138ms 22 86 11s172ms 129ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8213932)) AND (("cash_track"."id" not in (8597734)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-25 18:12:03 Duration: 977ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8213854)) AND (("cash_track"."id" not in (8597643)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-25 18:09:46 Duration: 969ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8215183)) AND (("cash_track"."id" not in (8604616)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-25 20:25:01 Duration: 952ms
18 56ms 405ms 77ms 35,984 46m37s 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 25 08 150 10s377ms 69ms 09 861 1m 70ms 10 7,609 10m1s 79ms 11 6,874 9m21s 81ms 12 4,049 5m54s 87ms 13 3,965 5m9s 78ms 14 5,511 6m43s 73ms 15 3,579 4m15s 71ms 16 3,323 3m54s 70ms 17 60 4s706ms 78ms 18 3 498ms 166ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5584603) 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-25 12:56:04 Duration: 405ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5649970) 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-25 12:59:24 Duration: 404ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5647616) 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-25 12:59:24 Duration: 404ms
19 49ms 342ms 72ms 17,105 20m32s 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 25 09 404 25s336ms 62ms 10 4,134 5m19s 77ms 11 2,233 2m43s 73ms 12 2,119 2m54s 82ms 13 1,937 2m14s 69ms 14 2,748 3m2s 66ms 15 1,795 1m59s 66ms 16 1,710 1m52s 65ms 17 25 1s589ms 63ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5191045) ORDER BY "collection_policy"."id";
Date: 2025-02-25 12:56:40 Duration: 342ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5537443) ORDER BY "collection_policy"."id";
Date: 2025-02-25 12:29:37 Duration: 326ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5533671) ORDER BY "collection_policy"."id";
Date: 2025-02-25 12:29:37 Duration: 322ms
20 43ms 456ms 68ms 174,881 3h20m14s 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 25 00 3,381 3m22s 59ms 01 4,562 4m33s 59ms 02 3,441 3m26s 60ms 03 3,994 4m2s 60ms 04 4,595 4m41s 61ms 05 2,536 2m36s 61ms 06 3,211 3m15s 60ms 07 2,841 2m51s 60ms 08 3,624 3m43s 61ms 09 8,345 8m57s 64ms 10 13,633 16m38s 73ms 11 14,529 17m52s 73ms 12 15,045 20m53s 83ms 13 14,886 18m32s 74ms 14 10,938 12m22s 67ms 15 9,420 10m28s 66ms 16 8,277 8m53s 64ms 17 6,667 7m24s 66ms 18 8,120 9m46s 72ms 19 12,237 14m36s 71ms 20 11,076 12m39s 68ms 21 6,274 5m44s 54ms 22 3,249 2m51s 52ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5673693, 5662810, 5650367, 5635065, 5632727, 5629888, 5629813)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-25 13:01:34 Duration: 456ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5716201, 5714823, 5701899, 5700256, 5699266)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-25 12:56:03 Duration: 440ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5678059, 5668194, 5667030, 5665199, 5628850)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-25 12:40:49 Duration: 431ms
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
- 18,417,697 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 207 FATAL entries
- 410 ERROR entries
- 0 WARNING entries
- 2 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 376 Max number of times the same event was reported
- 619 Total events found
Rank Times reported Error 1 376 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 25 00 1 01 3 02 1 03 5 04 11 05 1 06 5 07 2 08 1 09 7 10 22 11 11 12 40 13 16 14 9 15 6 16 10 17 50 18 63 19 49 20 54 21 9 - 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=5699270
Date: 2025-02-25 00:44:53
Statement: UPDATE "shipping_policy" SET "delegate_button" = false, "new_destination_button" = false, "state" = 'in_office', "write_date" = '2025-02-24 23:59:26.746236', "write_uid" = 857 WHERE id IN (5686317, 5691542, 5691558, 5680855, 5676351, 5633907, 5653248, 5684799, 5686819, 5665547, 5645113, 5691404, 5690810, 5672648, 5610691, 5682396, 5680663, 5623979, 5681344, 5695477, 5667103, 5669170, 5668978, 5670853, 5687652, 5665173, 5669350, 5677656, 5677736, 5677893, 5671328, 5669272, 5665659, 5645084, 5680483, 5677211, 5677708, 5677865, 5691330, 5674915, 5675019, 5683104, 5683295, 5686937)
Date: 2025-02-25 01:00:21
Statement: update shipping_policy set count_search=2 where id=5700002
Date: 2025-02-25 01:01:53
2 137 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 25 17 137 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '724228')) 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 (60))))))) 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 (60)))))) 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 (60)))))) 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 (60))))))))) ORDER BY "policy_number"."id"
Date: 2025-02-25 17:20:01
Statement: SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'محمود')) ORDER BY "urgent_customer"."id" LIMIT 1
Date: 2025-02-25 17:20:01
3 35 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Feb 25 00 1 01 1 02 1 03 1 04 1 05 2 06 1 07 1 08 2 09 1 10 1 11 2 12 1 13 1 14 2 15 1 16 4 17 2 18 1 19 1 20 1 21 2 22 4 - 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-25 00:33:27
4 16 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #4
Day Hour Count Feb 25 17 16 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: SELECT "shipping_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" = '727672')) ORDER BY "shipping_policy"."id" DESC
Date: 2025-02-25 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" = '727544')) ORDER BY "shipping_policy"."id" DESC
Date: 2025-02-25 17:20:01
Statement: SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8187705)) AND (("cash_track"."id" not in (8427088, 8428603, 8444536, 8596330, 8596332, 8596332)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id"
Date: 2025-02-25 17:20:01
5 12 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #5
Day Hour Count Feb 25 17 12 6 10 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Feb 25 06 1 10 2 12 3 14 1 15 3 - 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 162
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 ('650894',)
Date: 2025-02-25 06:38:16
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 ('297339',)
Date: 2025-02-25 10:51:38
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 ('559984',)
Date: 2025-02-25 12:08:43
7 7 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #7
Day Hour Count Feb 25 10 1 12 1 13 1 15 1 16 3 - 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
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (966, null, null, 1092, 1092, 970, null, null, 2025-02-25 09:10:09.541102, 2025-02-25 09:10:09.541102).
Statement: INSERT INTO "urgent_car" ("car_no", "create_date", "create_uid", "write_date", "write_uid") VALUES ('970', '2025-02-25 09:10:09.541102', 1092, '2025-02-25 09:10:09.541102', 1092) RETURNING "id"Date: 2025-02-25 10:10:09
Detail: Failing row contains (5532822, null, 827, 827, null, فلاش, null, null, t, 2025-02-25 11:43:12.160386, 2025-02-25 11:43:12.160386, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-25 11:43:12.160386', 827, 'فلاش', '2025-02-25 11:43:12.160386', 827) RETURNING "id"Date: 2025-02-25 12:43:12
Detail: Failing row contains (5532863, null, 827, 827, null, مكتب, null, null, t, 2025-02-25 12:07:13.198608, 2025-02-25 12:07:13.198608, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-25 12:07:13.198608', 827, 'مكتب', '2025-02-25 12:07:13.198608', 827) RETURNING "id"Date: 2025-02-25 13:07:13
8 4 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #8
Day Hour Count Feb 25 06 1 11 1 18 1 20 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 646871 waits for ShareLock on transaction 9890684; blocked by process 546829. Process 546829 waits for ShareLock on transaction 9890682; blocked by process 646871. Process 646871: update shipping_policy set count_search=7 where id=5645658 Process 546829: UPDATE "shipping_policy" SET "before_office_id" = 76, "write_date" = '2025-02-25 05:30:17.603828', "write_uid" = 1067 WHERE id IN (5645658, 5673776, 5673777, 5675805, 5696417, 5696548, 5696677, 5697805, 5697905, 5698492, 5698502, 5698976, 5700300, 5700306, 5700324, 5700327, 5700348, 5700384, 5700688, 5700755, 5701593, 5702283, 5702304, 5702828, 5703075, 5703626, 5703819, 5705481, 5707138, 5707176, 5707286, 5707888, 5707995, 5708869, 5709144, 5712548, 5714075, 5716705, 5716834, 5716857, 5717538, 5717595, 5717650, 5719426, 5719857, 5723182, 5724619, 5726191, 5726196, 5726199, 5726202, 5726210, 5726218, 5726229, 5591283)
Context: while updating tuple (62964,23) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=7 where id=5645658Date: 2025-02-25 06:30:26
Detail: Process 546752 waits for ShareLock on transaction 9903024; blocked by process 752711. Process 752711 waits for ShareLock on transaction 9902943; blocked by process 546752. Process 546752: update cash_policy set count_search=6 where id=7804906 Process 752711: update cash_policy set count_search=4 where id=8139712
Context: while updating tuple (2230,47) in relation "cash_policy"
Hint: See server log for query details.
Statement: update cash_policy set count_search=6 where id=7804906Date: 2025-02-25 11:28:32
Detail: Process 127718 waits for ShareLock on transaction 9934494; blocked by process 90981. Process 90981 waits for ShareLock on transaction 9934605; blocked by process 127718. Process 127718: update shipping_policy set count_search=3 where id=5665355 Process 90981: UPDATE "shipping_policy" SET "client_date" = '2025-02-25', "client_delivery_button" = true, "edit_cash_button" = false, "receive_man_id" = '.', "return_button" = true, "state" = 'client_receive', "write_date" = '2025-02-25 17:10:50.598464', "write_uid" = 852 WHERE id IN (5658196, 5658472, 5659428, 5659997, 5660036, 5660083, 5665355, 5665367, 5667059, 5670931, 5679183, 5680513, 5680553, 5683025, 5683767, 5688029, 5694032, 5694033, 5694037, 5694126, 5695317, 5702620, 5659973, 5248361)
Context: while updating tuple (66856,40) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=3 where id=5665355Date: 2025-02-25 18:14:03
9 4 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #9
Day Hour Count Feb 25 10 1 18 1 19 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 (180834)
Date: 2025-02-25 10:19:04
Statement: delete from cash_policy_line where id=2133355
Date: 2025-02-25 18:15:40
Statement: DELETE FROM "delegate_track" WHERE id IN (182320)
Date: 2025-02-25 19:31:31
10 4 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #10
Day Hour Count Feb 25 17 4 - ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
Context: parallel worker
Statement: SELECT "shipping_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" = '727672')) ORDER BY "shipping_policy"."id" DESCDate: 2025-02-25 17:20:01
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" = '727544')) ORDER BY "shipping_policy"."id" DESCDate: 2025-02-25 17:20:01
Context: parallel worker
Statement: SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8187705)) AND (("cash_track"."id" not in (8427088, 8428603, 8444536, 8596330, 8596332, 8596332)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id"Date: 2025-02-25 17:20:01
11 3 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Feb 25 16 1 17 1 21 1 - ERROR: duplicate key value violates unique constraint "res_country_state_name_code_uniq"
- ERROR: duplicate key value violates unique constraint "ir_filters_name_model_uid_unique_action_index"
- ERROR: duplicate key value violates unique constraint "urgent_office_pkey"
Detail: Key (country_id, code)=(65, 4444444444445454) already exists.
Statement: INSERT INTO "res_country_state" ("code", "country_id", "create_date", "create_uid", "name", "write_date", "write_uid") VALUES ('4444444444445454', 65, '2025-02-25 15:19:19.370701', 866, 'مدينة نصر', '2025-02-25 15:19:19.370701', 866) RETURNING "id"Date: 2025-02-25 16:19:19
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(shipping.policy, -1, -1, bahtim) already exists.
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2025-02-25 16:44:30.041761', 1111, '[(''state'', ''!='', ''cancel''), (''id'', ''in'', [4746026, 4730188])]', 'shipping.policy', 'Bahtim', '[]', '2025-02-25 16:44:30.041761', 1111) RETURNING "id"Date: 2025-02-25 17:44:30
Detail: Key (id)=(26) already exists.
Statement: INSERT INTO "urgent_office" ("active", "create_date", "create_uid", "name", "write_date", "write_uid") VALUES (true, '2025-02-25 20:46:16.374903', 2, 'وسط', '2025-02-25 20:46:16.374903', 2) RETURNING "id"Date: 2025-02-25 21:46:16
12 2 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #12
Day Hour Count Feb 25 20 2 - ERROR: invalid input syntax for type integer: "s" at character 4769
Statement: SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN ('s')
Date: 2025-02-25 20:28:07
13 2 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #13
Day Hour Count Feb 25 17 2 14 2 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #14
Day Hour Count Feb 25 02 1 15 1 15 1 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #15
Day Hour Count Feb 25 02 1 16 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #16
Day Hour Count Feb 25 17 1 17 1 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #17
Day Hour Count Feb 25 02 1 18 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #18
Day Hour Count Feb 25 17 1 19 1 FATAL: unsupported frontend protocol 16.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #19
Day Hour Count Feb 25 20 1