-
Global information
- Generated on Tue Mar 4 23:47:35 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 42,067,366 log entries in 2m34s
- Log start from 2025-03-04 00:00:00 to 2025-03-04 22:45:01
-
Overview
Global Stats
- 16,361 Number of unique normalized queries
- 17,766,260 Number of queries
- 5d2h30m22s Total query duration
- 2025-03-04 00:00:00 First query
- 2025-03-04 22:45:01 Last query
- 3,315 queries/s at 2025-03-04 11:16:26 Query peak
- 5d2h30m22s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 5d2h30m22s Execute total duration
- 610 Number of events
- 20 Number of unique normalized events
- 306 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
- 17,766,260 Average queries per session
- 5d2h30m22s 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,315 queries/s Query Peak
- 2025-03-04 11:16:26 Date
SELECT Traffic
Key values
- 2,402 queries/s Query Peak
- 2025-03-04 11:16:26 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,023 queries/s Query Peak
- 2025-03-04 12:14:39 Date
Queries duration
Key values
- 5d2h30m22s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 04 00 353,522 0ms 7s109ms 17ms 2m51s 3m31s 4m23s 01 327,745 0ms 6s881ms 25ms 3m47s 4m12s 5m41s 02 300,128 0ms 1s650ms 29ms 3m52s 4m12s 5m34s 03 216,365 0ms 7s602ms 28ms 3m20s 4m8s 4m33s 04 295,835 0ms 2s969ms 36ms 5m2s 6m12s 7m16s 05 314,153 0ms 7s676ms 40ms 5m19s 6m12s 7m17s 06 311,253 0ms 4m1s 34ms 5m24s 7m39s 11m40s 07 252,450 0ms 1s155ms 22ms 2m39s 3m13s 3m54s 08 617,531 0ms 1m31s 33ms 9m42s 11m19s 12m43s 09 1,140,868 0ms 1m 19ms 8m54s 9m21s 10m40s 10 1,493,713 0ms 3m 26ms 18m16s 25m42s 29m36s 11 1,787,652 0ms 2m37s 33ms 25m30s 26m16s 27m18s 12 1,743,130 0ms 42s75ms 21ms 15m37s 17m25s 22m9s 13 1,605,118 0ms 1m4s 18ms 12m59s 15m5s 16m27s 14 1,354,243 0ms 1m1s 15ms 8m59s 10m15s 12m39s 15 1,058,769 0ms 54s588ms 15ms 7m4s 7m44s 10m21s 16 698,689 0ms 46s819ms 20ms 6m48s 7m14s 8m40s 17 415,737 0ms 46s353ms 23ms 5m34s 5m42s 6m49s 18 584,601 0ms 9m47s 29ms 10m6s 11m46s 15m18s 19 810,476 0ms 7s259ms 37ms 13m59s 15m46s 18m7s 20 858,291 0ms 28s419ms 28ms 10m33s 10m58s 13m4s 21 736,137 0ms 1m33s 22ms 6m41s 7m25s 9m27s 22 489,854 0ms 1m16s 24ms 6m40s 7m42s 7m58s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 04 00 191,325 0 31ms 2m19s 2m51s 3m48s 01 177,196 0 47ms 3m28s 3m47s 4m23s 02 155,204 0 57ms 3m20s 3m51s 4m19s 03 111,248 0 55ms 2m44s 3m20s 4m20s 04 157,778 0 68ms 4m25s 5m2s 6m17s 05 165,217 0 76ms 4m39s 5m19s 7m8s 06 165,657 0 62ms 4m31s 5m23s 7m38s 07 132,965 0 43ms 2m17s 2m39s 3m40s 08 362,195 0 56ms 8m47s 9m29s 11m18s 09 647,017 0 33ms 7m57s 8m53s 10m11s 10 850,337 0 46ms 13m18s 18m2s 28m6s 11 1,060,693 0 55ms 24m28s 25m29s 26m44s 12 994,646 0 37ms 12m21s 15m35s 17m33s 13 937,125 0 31ms 11m10s 12m58s 16m23s 14 791,526 0 26ms 7m49s 8m58s 12m18s 15 594,475 0 28ms 6m13s 7m3s 8m9s 16 376,811 0 38ms 5m42s 6m47s 7m26s 17 228,226 0 42ms 4m36s 5m34s 5m43s 18 330,207 0 52ms 6m22s 10m6s 13m6s 19 466,078 0 65ms 11m33s 13m58s 17m45s 20 484,525 0 50ms 9m14s 10m31s 11m24s 21 407,666 0 40ms 5m58s 6m40s 8m29s 22 269,865 0 44ms 6m11s 6m39s 7m57s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 04 00 24,030 4,769 126 0 0ms 124ms 152ms 487ms 01 22,976 5,166 255 0 0ms 146ms 171ms 270ms 02 23,796 5,726 125 0 0ms 157ms 180ms 219ms 03 17,413 3,635 99 0 0ms 116ms 152ms 240ms 04 28,677 6,769 94 0 0ms 179ms 234ms 355ms 05 31,822 6,663 115 0 0ms 204ms 243ms 295ms 06 27,708 5,659 118 0 7ms 171ms 247ms 362ms 07 13,241 3,501 90 0 0ms 91ms 114ms 180ms 08 38,062 10,375 330 0 4ms 247ms 309ms 508ms 09 63,883 13,710 842 0 0ms 373ms 440ms 553ms 10 84,726 23,142 1,168 0 5ms 604ms 746ms 1m3s 11 108,852 20,782 655 0 5ms 1s53ms 1s286ms 1m50s 12 92,478 20,510 942 0 1ms 639ms 750ms 1s404ms 13 82,051 16,374 616 0 0ms 502ms 618ms 869ms 14 67,683 18,516 757 1 1ms 418ms 602ms 19s684ms 15 55,907 11,718 884 0 0ms 301ms 357ms 599ms 16 46,087 10,541 333 0 0ms 278ms 352ms 486ms 17 23,111 7,093 230 0 0ms 203ms 271ms 510ms 18 34,348 12,611 410 0 1ms 256ms 305ms 540ms 19 68,618 18,659 606 0 0ms 491ms 628ms 747ms 20 72,831 15,493 449 0 1ms 452ms 589ms 1s969ms 21 53,988 11,842 651 0 1ms 311ms 387ms 537ms 22 36,965 8,955 481 0 2ms 295ms 357ms 521ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 04 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 Mar 04 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 Mar 04 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
- 76,186 buffers Checkpoint Peak
- 2025-03-04 12:06:25 Date
- 270.052 seconds Highest write time
- 0.075 seconds Sync time
Checkpoints Wal files
Key values
- 33 files Wal files usage Peak
- 2025-03-04 11:31:25 Date
Checkpoints distance
Key values
- 1,057.02 Mo Distance Peak
- 2025-03-04 12:06:25 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 04 00 195,639 3,239.465s 0.037s 3,239.579s 01 167,205 3,239.565s 0.042s 3,239.655s 02 162,103 3,239.589s 0.037s 3,239.674s 03 99,636 3,099.494s 0.034s 3,099.573s 04 142,649 3,040.467s 0.032s 3,040.555s 05 248,488 3,239.513s 0.113s 3,239.685s 06 186,353 3,239.51s 0.036s 3,239.593s 07 141,513 3,204.546s 0.031s 3,204.628s 08 240,865 3,239.577s 0.039s 3,239.673s 09 493,131 3,239.503s 0.046s 3,239.64s 10 624,190 3,239.457s 0.058s 3,239.625s 11 723,623 3,239.424s 0.07s 3,239.633s 12 675,000 3,239.424s 0.069s 3,239.607s 13 602,503 3,239.526s 0.056s 3,239.692s 14 443,316 3,239.464s 0.052s 3,239.6s 15 376,498 3,239.542s 0.042s 3,239.656s 16 243,821 3,239.566s 0.063s 3,239.686s 17 118,951 2,886.244s 0.076s 2,886.381s 18 199,919 3,239.576s 0.047s 3,239.681s 19 299,799 3,239.508s 0.06s 3,239.641s 20 313,221 3,239.482s 0.053s 3,239.597s 21 300,558 3,239.516s 0.054s 3,239.631s 22 210,294 2,429.62s 0.038s 2,429.707s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 04 00 0 0 81 4,184 0.002s 0.012s 01 0 0 70 3,671 0.003s 0.012s 02 0 0 72 2,952 0.002s 0.012s 03 0 0 44 3,063 0.003s 0.012s 04 0 0 61 3,197 0.002s 0.012s 05 0 0 110 3,339 0.028s 0.012s 06 0 0 82 3,089 0.002s 0.012s 07 0 0 60 2,860 0.003s 0.012s 08 0 0 101 3,927 0.002s 0.012s 09 0 0 211 4,959 0.002s 0.012s 10 0 0 274 5,233 0.003s 0.012s 11 0 0 323 5,480 0.003s 0.012s 12 0 0 298 5,550 0.003s 0.012s 13 0 0 265 5,423 0.003s 0.012s 14 0 0 190 5,420 0.003s 0.012s 15 0 0 163 5,397 0.003s 0.012s 16 0 0 105 5,277 0.010s 0.012s 17 0 0 51 3,875 0.018s 0.012s 18 0 0 85 4,407 0.002s 0.012s 19 0 0 131 4,945 0.002s 0.012s 20 0 0 141 5,164 0.003s 0.012s 21 0 0 131 5,199 0.002s 0.012s 22 0 0 91 3,697 0.002s 0.009s Day Hour Count Avg time (sec) Mar 04 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 Mar 04 00 110,470.50 kB 182,462.67 kB 01 93,677.73 kB 138,370.55 kB 02 97,908.58 kB 139,348.75 kB 03 59,872.83 kB 103,712.92 kB 04 77,046.82 kB 104,182.27 kB 05 149,525.67 kB 300,341.33 kB 06 112,761.67 kB 189,995.00 kB 07 82,177.67 kB 141,711.00 kB 08 137,072.17 kB 167,155.58 kB 09 288,712.08 kB 347,589.33 kB 10 373,954.92 kB 404,577.58 kB 11 440,700.00 kB 496,052.25 kB 12 405,183.18 kB 479,275.27 kB 13 358,543.64 kB 443,197.36 kB 14 263,228.73 kB 371,020.09 kB 15 221,261.25 kB 284,889.08 kB 16 144,527.58 kB 222,418.75 kB 17 69,621.64 kB 125,945.27 kB 18 115,004.25 kB 145,147.75 kB 19 180,133.83 kB 214,747.58 kB 20 191,207.17 kB 243,103.00 kB 21 179,536.42 kB 224,988.83 kB 22 165,259.78 kB 214,838.67 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 04 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 Mar 04 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,057,982 Total read queries
- 5,219,037 Total write queries
Queries by database
Key values
- unknown Main database
- 17,766,260 Requests
- 5d2h30m22s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 17,766,260 Requests
User Request type Count Duration unknown Total 17,766,260 5d2h30m22s copy from 1 2ms cte 11,478 3s57ms ddl 215 30ms delete 10,376 1m48s insert 1,119,253 6m29s others 2,489,241 2m31s select 10,057,982 5d1h37m52s tcl 3,815,505 2m51s update 262,209 38m46s Duration by user
Key values
- 5d2h30m22s (unknown) Main time consuming user
User Request type Count Duration unknown Total 17,766,260 5d2h30m22s copy from 1 2ms cte 11,478 3s57ms ddl 215 30ms delete 10,376 1m48s insert 1,119,253 6m29s others 2,489,241 2m31s select 10,057,982 5d1h37m52s tcl 3,815,505 2m51s update 262,209 38m46s Queries by host
Key values
- unknown Main host
- 17,766,260 Requests
- 5d2h30m22s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 17,766,260 Requests
- 5d2h30m22s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-03-04 17:16:53 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 16,332,930 0-1ms duration
Slowest individual queries
Rank Duration Query 1 9m47s 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, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;[ Date: 2025-03-04 18:32:21 ]
2 9m47s 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, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;[ Date: 2025-03-04 18:30:01 ]
3 4m1s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-04 05:37:14.171395', "write_uid" = 1001 WHERE id IN (44933258);[ Date: 2025-03-04 06:41:18 ]
4 3m update shipping_policy set count_search = 2 where id = 5856019;[ Date: 2025-03-04 10:50:23 ]
5 2m37s update shipping_policy set d_date = '2025-03-04' where id = 5809356;[ Date: 2025-03-04 11:22:15 ]
6 2m30s UPDATE "policy_number" SET "office_id" = 55, "write_date" = '2025-03-04T10:13:54.551710'::timestamp, "write_uid" = 1217 WHERE id IN (44961062, 44961063, 44961064, 44961065, 44961066, 44961067, 44961068, 44961069, 44961070, 44961071, 44961072, 44961073, 44961074, 44961075, 44961076, 44961077, 44961078, 44961079, 44961080, 44961081, 44961082, 44961083, 44961084, 44961085, 44961086, 44961087, 44961088, 44961089, 44961090, 44961091, 44961092, 44961093, 44961094, 44961095, 44961096, 44961097, 44961098, 44961099, 44961100, 44961101, 44961102, 44961103, 44961104, 44961105, 44961106, 44961107, 44961108, 44961109, 44961110, 44961111, 44961112, 44961113, 44961114, 44961115, 44961116, 44961117, 44961118, 44961119, 44961120, 44961121, 44961122, 44961123, 44961124, 44961125, 44961126, 44961127, 44961128, 44961129, 44961130, 44961131, 44961132, 44961133, 44961134, 44961135, 44961136, 44961137, 44961138, 44961139, 44961140, 44961141, 44961142, 44961143, 44961144, 44961145, 44961146, 44961147, 44961148, 44961149, 44961150, 44961151, 44961152, 44961153, 44961154, 44961155, 44961156, 44961157, 44961158, 44961159, 44961160, 44961161, 44961162, 44961163, 44961164, 44961165, 44961166, 44961167, 44961168, 44961169, 44961170, 44961171, 44961172, 44961173, 44961174, 44961175, 44961176, 44961177, 44961178, 44961179, 44961180, 44961181, 44961182, 44961183, 44961184, 44961185, 44961186, 44961187, 44961188, 44961189, 44961190, 44961191, 44961192, 44961193, 44961194, 44961195, 44961196, 44961197, 44961198, 44961199, 44961200, 44961201, 44961202, 44961203, 44961204, 44961205, 44961206, 44961207, 44961208, 44961209, 44961210, 44961211, 44961212, 44961213, 44961214, 44961215, 44961216, 44961217, 44961218, 44961219, 44961220, 44961221, 44961222, 44961223, 44961224, 44961225, 44961226, 44961227, 44961228, 44961229, 44961230, 44961231, 44961232, 44961233, 44961234, 44961235, 44961236, 44961237, 44961238, 44961239, 44961240, 44961241, 44961242, 44961243, 44961244, 44961245, 44961246, 44961247, 44961248, 44961249, 44961250, 44961251, 44961252, 44961253, 44961254, 44961255, 44961256, 44961257, 44961258, 44961259, 44961260, 44961261, 44961262, 44961263, 44961264, 44961265, 44961266, 44961267, 44961268, 44961269, 44961270, 44961271, 44961272, 44961273, 44961274, 44961275, 44961276, 44961277, 44961278, 44961279, 44961280, 44961281, 44961282, 44961283, 44961284, 44961285, 44961286, 44961287, 44961288, 44961289, 44961290, 44961291, 44961292, 44961293, 44961294, 44961295, 44961296, 44961297, 44961298, 44961299, 44961300, 44961301, 44961302, 44961303, 44961304, 44961305, 44961306, 44961307, 44961308, 44961309, 44961310, 44961311, 44961312, 44961313, 44961314, 44961315, 44961316, 44961317, 44961318, 44961319, 44961320, 44961321, 44961322, 44961323, 44961324, 44961325, 44961326, 44961327, 44961328, 44961329, 44961330, 44961331, 44961332, 44961333, 44961334, 44961335, 44961336, 44961337, 44961338, 44961339, 44961340, 44961341, 44961342, 44961343, 44961344, 44961345, 44961346, 44961347, 44961348, 44961349, 44961350, 44961351, 44961352, 44961353, 44961354, 44961355, 44961356, 44961357, 44961358, 44961359, 44961360, 44961361, 44961362, 44961363, 44961364, 44961365, 44961366, 44961367, 44961368, 44961369, 44961370, 44961371, 44961372, 44961373, 44961374, 44961375, 44961376, 44961377, 44961378, 44961379, 44961380, 44961381, 44961382, 44961383, 44961384, 44961385, 44961386, 44961387, 44961388, 44961389, 44961390, 44961391, 44961392, 44961393, 44961394, 44961395, 44961396, 44961397, 44961398, 44961399, 44961400, 44961401, 44961402, 44961403, 44961404, 44961405, 44961406, 44961407, 44961408, 44961409, 44961410, 44961411, 44961412, 44961413, 44961414, 44961415, 44961416, 44961417, 44961418, 44961419, 44961420, 44961421, 44961422, 44961423, 44961424, 44961425, 44961426, 44961427, 44961428, 44961429, 44961430, 44961431, 44961432, 44961433, 44961434, 44961435, 44961436, 44961437, 44961438, 44961439, 44961440, 44961441, 44961442, 44961443, 44961444, 44961445, 44961446, 44961447, 44961448, 44961449, 44961450, 44961451, 44961452, 44961453, 44961454, 44961455, 44961456, 44961457, 44961458, 44961459, 44961460, 44961461, 44961462, 44961463, 44961464, 44961465, 44961466, 44961467, 44961468, 44961469, 44961470, 44961471, 44961472, 44961473, 44961474, 44961475, 44961476, 44961477, 44961478, 44961479, 44961480, 44961481, 44961482, 44961483, 44961484, 44961485, 44961486, 44961487, 44961488, 44961489, 44961490, 44961491, 44961492, 44961493, 44961494, 44961495, 44961496, 44961497, 44961498, 44961499, 44961500, 44961501, 44961502, 44961503, 44961504, 44961505, 44961506, 44961507, 44961508, 44961509, 44961510, 44961511, 44961512, 44961513, 44961514, 44961515, 44961516, 44961517, 44961518, 44961519, 44961520, 44961521, 44961522, 44961523, 44961524, 44961525, 44961526, 44961527, 44961528, 44961529, 44961530, 44961531, 44961532, 44961533, 44961534, 44961535, 44961536, 44961537, 44961538, 44961539, 44961540, 44961541, 44961542, 44961543, 44961544, 44961545, 44961546, 44961547, 44961548, 44961549, 44961550, 44961551, 44961552, 44961553, 44961554, 44961555, 44961556, 44961557, 44961558, 44961559, 44961560, 44961561, 44961562, 44961563, 44961564, 44961565, 44961566, 44961567, 44961568, 44961569, 44961570, 44961571, 44961572, 44961573, 44961574, 44961575, 44961576, 44961577, 44961578, 44961579, 44961580, 44961581, 44961582, 44961583, 44961584, 44961585, 44961586, 44961587, 44961588, 44961589, 44961590, 44961591, 44961592, 44961593, 44961594, 44961595, 44961596, 44961597, 44961598, 44961599, 44961600, 44961601, 44961602, 44961603, 44961604, 44961605, 44961606, 44961607, 44961608, 44961609, 44961610, 44961611, 44961612, 44961613, 44961614, 44961615, 44961616, 44961617, 44961618, 44961619, 44961620, 44961621, 44961622, 44961623, 44961624, 44961625, 44961626, 44961627, 44961628, 44961629, 44961630, 44961631, 44961632, 44961633, 44961634, 44961635, 44961636, 44961637, 44961638, 44961639, 44961640, 44961641, 44961642, 44961643, 44961644, 44961645, 44961646, 44961647, 44961648, 44961649, 44961650, 44961651, 44961652, 44961653, 44961654, 44961655, 44961656, 44961657, 44961658, 44961659, 44961660, 44961661, 44961662, 44961663, 44961664, 44961665, 44961666, 44961667, 44961668, 44961669, 44961670, 44961671, 44961672, 44961673, 44961674, 44961675, 44961676, 44961677, 44961678, 44961679, 44961680, 44961681, 44961682, 44961683, 44961684, 44961685, 44961686, 44961687, 44961688, 44961689, 44961690, 44961691, 44961692, 44961693, 44961694, 44961695, 44961696, 44961697, 44961698, 44961699, 44961700, 44961701, 44961702, 44961703, 44961704, 44961705, 44961706, 44961707, 44961708, 44961709, 44961710, 44961711, 44961712, 44961713, 44961714, 44961715, 44961716, 44961717, 44961718, 44961719, 44961720, 44961721, 44961722, 44961723, 44961724, 44961725, 44961726, 44961727, 44961728, 44961729, 44961730, 44961731, 44961732, 44961733, 44961734, 44961735, 44961736, 44961737, 44961738, 44961739, 44961740, 44961741, 44961742, 44961743, 44961744, 44961745, 44961746, 44961747, 44961748, 44961749, 44961750, 44961751, 44961752, 44961753, 44961754, 44961755, 44961756, 44961757, 44961758, 44961759, 44961760, 44961761, 44961762, 44961763, 44961764, 44961765, 44961766, 44961767, 44961768, 44961769, 44961770, 44961771, 44961772, 44961773, 44961774, 44961775, 44961776, 44961777, 44961778, 44961779, 44961780, 44961781, 44961782, 44961783, 44961784, 44961785, 44961786, 44961787, 44961788, 44961789, 44961790, 44961791, 44961792, 44961793, 44961794, 44961795, 44961796, 44961797, 44961798, 44961799, 44961800, 44961801, 44961802, 44961803, 44961804, 44961805, 44961806, 44961807, 44961808, 44961809, 44961810, 44961811, 44961812, 44961813, 44961814, 44961815, 44961816, 44961817, 44961818, 44961819, 44961820, 44961821, 44961822, 44961823, 44961824, 44961825, 44961826, 44961827, 44961828, 44961829, 44961830, 44961831, 44961832, 44961833, 44961834, 44961835, 44961836, 44961837, 44961838, 44961839, 44961840, 44961841, 44961842, 44961843, 44961844, 44961845, 44961846, 44961847, 44961848, 44961849, 44961850, 44961851, 44961852, 44961853, 44961854, 44961855, 44961856, 44961857, 44961858, 44961859, 44961860, 44961861, 44961862, 44961863, 44961864, 44961865, 44961866, 44961867, 44961868, 44961869, 44961870, 44961871, 44961872, 44961873, 44961874, 44961875, 44961876, 44961877, 44961878, 44961879, 44961880, 44961881, 44961882, 44961883, 44961884, 44961885, 44961886, 44961887, 44961888, 44961889, 44961890, 44961891, 44961892, 44961893, 44961894, 44961895, 44961896, 44961897, 44961898, 44961899, 44961900, 44961901, 44961902, 44961903, 44961904, 44961905, 44961906, 44961907, 44961908, 44961909, 44961910, 44961911, 44961912, 44961913, 44961914, 44961915, 44961916, 44961917, 44961918, 44961919, 44961920, 44961921, 44961922, 44961923, 44961924, 44961925, 44961926, 44961927, 44961928, 44961929, 44961930, 44961931, 44961932, 44961933, 44961934, 44961935, 44961936, 44961937, 44961938, 44961939, 44961940, 44961941, 44961942, 44961943, 44961944, 44961945, 44961946, 44961947, 44961948, 44961949, 44961950, 44961951, 44961952, 44961953, 44961954, 44961955, 44961956, 44961957, 44961958, 44961959, 44961960, 44961961, 44961962, 44961963, 44961964, 44961965, 44961966, 44961967, 44961968, 44961969, 44961970, 44961971, 44961972, 44961973, 44961974, 44961975, 44961976, 44961977, 44961978, 44961979, 44961980, 44961981, 44961982, 44961983, 44961984, 44961985, 44961986, 44961987, 44961988, 44961989, 44961990, 44961991, 44961992, 44961993, 44961994, 44961995, 44961996, 44961997, 44961998, 44961999, 44962000, 44962001, 44962002, 44962003, 44962004, 44962005, 44962006, 44962007, 44962008, 44962009, 44962010, 44962011, 44962012, 44962013, 44962014, 44962015, 44962016, 44962017, 44962018, 44962019, 44962020, 44962021, 44962022, 44962023, 44962024, 44962025, 44962026, 44962027, 44962028, 44962029, 44962030, 44962031, 44962032, 44962033, 44962034, 44962035, 44962036, 44962037, 44962038, 44962039, 44962040, 44962041, 44962042, 44962043, 44962044, 44962045, 44962046, 44962047, 44962048, 44962049, 44962050, 44962051, 44962052, 44962053, 44962054, 44962055, 44962056, 44962057, 44962058, 44962059, 44962060, 44962061);[ Date: 2025-03-04 11:16:25 ]
7 1m51s UPDATE "shipping_policy" SET "delegate_button" = true, "delegate_id" = 8007312, "destination_type" = 'office', "driver_id" = 8005843, "edit_cash_button" = true, "last_car" = 569, "last_office" = 17, "last_warehouse" = NULL, "new_destination_button" = true, "out_date" = '2025-03-04', "return_button" = false, "state" = 'in_way_to_client', "state_id" = 2295, "write_date" = '2025-03-04 09:47:34.199068', "write_uid" = 1044 WHERE id IN (5855184);[ Date: 2025-03-04 10:50:23 ]
8 1m49s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-04 10:36:35.034281', "write_uid" = 1089 WHERE id IN (44779654);[ Date: 2025-03-04 11:38:27 ]
9 1m33s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-04 20:05:00.262986', "write_uid" = 1059 WHERE id IN (44721006);[ Date: 2025-03-04 21:06:36 ]
10 1m31s update shipping_policy set count_search = 1 where id = 5831761;[ Date: 2025-03-04 08:29:11 ]
11 1m31s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-04 10:42:16.099037', "write_uid" = 1089 WHERE id IN (44779654);[ Date: 2025-03-04 11:43:51 ]
12 1m21s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-04 11:09:56 ]
13 1m20s update shipping_policy set count_search = 1 where id = 5831651;[ Date: 2025-03-04 08:28:29 ]
14 1m19s UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-03-04 10:14:29.607306', "write_uid" = 1079 WHERE id IN (5869848, 5869843, 5869821, 5869779, 5863937, 5863352, 5863146, 5860744, 5860408, 5860236, 5859528, 5858558, 5857752, 5855502, 5854987, 5854336, 5840721, 5839746, 5839655, 5837869, 5837286, 5834713, 5833527, 5833248, 5832968, 5832857, 5831962, 5830424, 5829212, 5821087, 5819972, 5816329, 5793670, 5778268, 5889312, 5889310, 5889306, 5889296, 5889276, 5889227, 5882859, 5874353, 5874344, 5860368, 5859578, 5856972, 5837272, 5835368, 5834202, 5815858, 5813534, 5736859, 5693709, 5682823, 5573588, 5481929, 5890631, 5889287, 5889285, 5889270, 5889222, 5889215, 5885452, 5885122, 5884780, 5883203, 5881619, 5878384, 5877816, 5877200, 5876537, 5875805, 5873645, 5865080, 5864966, 5862626, 5860697, 5855366, 5852841, 5850141, 5832841, 5776420, 5890632, 5889229, 5875721, 5875433, 5871985, 5861284, 5859615, 5859059, 5858805, 5858355, 5857525, 5857314, 5856938, 5852842, 5843129, 5839844, 5838386, 5836002, 5831639, 5828741, 5826704, 5826084, 5817794, 5815848, 5815843, 5809409, 5807670, 5796059, 5790661, 5786374, 5781780, 5757778, 5755456, 5755424, 5739678, 5734693, 5716875, 5693745, 5651438, 5636163, 5634918, 5633996, 5536727, 5310865, 5855852, 5889377, 5889238, 5889231, 5889228, 5889221, 5889218, 5889211, 5889210, 5887445, 5885703, 5884959, 5883820, 5883384, 5883142, 5881421, 5881361, 5879293, 5878986, 5878706, 5878406, 5878047, 5877954, 5877921, 5877911, 5869797, 5865276, 5864976, 5854314, 5852845, 5834118, 5813768, 5749143, 5890839, 5890629, 5890628, 5889320, 5889316, 5889304, 5889300, 5889272, 5889267, 5889236, 5889235, 5889226, 5889225, 5889213, 5885065, 5885059, 5885037, 5884660, 5884440, 5884241, 5881585, 5880174, 5877958, 5874342, 5864984, 5862850, 5862429, 5861615, 5857823, 5857519, 5856358, 5854363, 5853354, 5853023, 5835758, 5832971, 5832193, 5821338, 5610291, 5890627, 5890626, 5890625, 5889283, 5889254, 5889250, 5889242, 5889241, 5889233, 5889232, 5889224, 5889223, 5889212, 5884527, 5882472, 5882159, 5881724, 5881613, 5879937, 5878858, 5877794, 5863019, 5861896, 5861719, 5859994, 5889324, 5889318, 5889314, 5889298, 5889293, 5889291, 5889279, 5889274, 5889256, 5889217, 5889208, 5887446, 5887444, 5886930, 5884348, 5882864, 5881938, 5881449, 5880410, 5879102, 5877757, 5877189, 5874176, 5874111, 5869808, 5869794, 5862681, 5860962, 5860650, 5857674, 5854514, 5836016, 5832301, 5762839, 5720924, 5715763, 5707245, 5518234, 5481860, 5377912, 5889322, 5889248, 5885625, 5880032, 5878871, 5877811, 5876630, 5876472, 5850134, 5832955, 5742410, 5645823, 5572215, 5889244, 5889237, 5889219, 5886119, 5885683, 5884824, 5883604, 5883180, 5882176, 5881642, 5873297, 5869776, 5863023, 5853358, 5850142, 5843120, 5836179, 5781510, 5781329, 5779868, 5777794, 5766513, 5765296, 5758837, 5752218, 5720245, 5691234, 5686343, 5669225, 5647670, 5603852, 5587203, 5572333, 5564570, 5564545, 5513052, 5449493, 5439511);[ Date: 2025-03-04 11:16:24 ]
15 1m17s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-04 11:05:23 ]
16 1m16s UPDATE "shipping_policy" SET "client_delivery_button" = false, "collection_amount_receive" = '85', "total_collection_amount" = true, "write_date" = '2025-03-04 21:39:21.200675', "write_uid" = 1025 WHERE id IN (5948935, 5945226, 5945224, 5943345, 5937019, 5936455, 5936153, 5935294, 5934539, 5933941, 5932393, 5931976, 5931956, 5930793, 5922523, 5922264, 5922237, 5921596, 5921506, 5921371, 5918938, 5917124, 5916689, 5910325);[ Date: 2025-03-04 22:41:19 ]
17 1m6s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-04 10:42:36 ]
18 1m5s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-04 10:17:23 ]
19 1m4s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-04 09:58:14.424133', "write_uid" = 1089 WHERE id IN (44920429);[ Date: 2025-03-04 10:59:23 ]
20 1m4s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-04 13:09:24 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2d17h18m21s 284,423 628ms 7s508ms 826ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 04 00 5,459 1h2m41s 689ms 01 7,563 1h27m42s 695ms 02 7,538 1h27m57s 700ms 03 4,502 53m51s 717ms 04 8,156 1h36m55s 713ms 05 10,595 2h5m31s 710ms 06 9,142 1h48m15s 710ms 07 5,984 1h7m10s 673ms 08 14,819 3h16m3s 793ms 09 15,747 3h22m1s 769ms 10 19,850 5h17m27s 959ms 11 27,707 9h14m30s 1s200ms 12 21,810 5h29m1s 905ms 13 18,641 4h24m9s 850ms 14 12,541 2h41m45s 773ms 15 11,268 2h20m44s 749ms 16 9,375 1h56m23s 744ms 17 6,309 1h14m42s 710ms 18 10,401 2h4m6s 715ms 19 19,874 4h34m3s 827ms 20 16,925 3h44m2s 794ms 21 12,009 2h28m13s 740ms 22 8,208 1h40m59s 738ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5950269)) AND (("shipping_track"."id" not in (49625474, 49625474)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 11:16:04 Duration: 7s508ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5950216)) AND (("shipping_track"."id" not in (49622131, 49622131)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 11:11:00 Duration: 7s505ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5949937)) AND (("shipping_track"."id" not in (49614569, 49614569)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 10:55:48 Duration: 7s496ms
2 12h10m52s 131,862 239ms 2s887ms 332ms 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 Mar 04 00 1,135 4m54s 259ms 01 1,650 7m15s 263ms 02 2,056 8m55s 260ms 03 794 3m26s 260ms 04 2,436 10m38s 262ms 05 2,885 12m48s 266ms 06 2,223 9m49s 264ms 07 2,533 10m58s 260ms 08 13,086 1h6m50s 306ms 09 6,345 32m11s 304ms 10 15,526 1h41m59s 394ms 11 12,630 1h29m11s 423ms 12 10,018 58m56s 353ms 13 6,816 38m 334ms 14 7,502 38m13s 305ms 15 2,024 9m42s 288ms 16 1,263 5m50s 277ms 17 4,987 23m19s 280ms 18 16,579 1h27m3s 315ms 19 15,642 1h33m30s 358ms 20 863 4m9s 289ms 21 1,332 6m7s 276ms 22 1,537 6m55s 270ms -
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" = '9577994')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:31 Duration: 2s887ms
-
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" = '7785797')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:39 Duration: 2s800ms
-
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" = '736204')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:05 Duration: 2s769ms
3 11h3m16s 45,386 631ms 7s980ms 876ms 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 Mar 04 00 362 4m20s 718ms 01 742 8m39s 700ms 02 374 4m31s 725ms 03 261 3m7s 718ms 04 162 2m9s 797ms 05 339 4m18s 762ms 06 400 4m57s 743ms 07 268 3m15s 730ms 08 1,155 16m8s 838ms 09 3,382 44m30s 789ms 10 5,105 1h21m27s 957ms 11 3,963 1h36m47s 1s465ms 12 4,766 1h16m31s 963ms 13 3,784 56m4s 889ms 14 3,920 50m51s 778ms 15 3,076 38m25s 749ms 16 1,696 20m32s 726ms 17 947 11m8s 705ms 18 1,740 21m9s 729ms 19 2,219 31m24s 849ms 20 2,370 30m11s 764ms 21 2,462 29m57s 729ms 22 1,893 22m47s 722ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5950012, 5950009, 5950006, 5949999, 5949998, 5949997, 5949996, 5949995)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 11:22:19 Duration: 7s980ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5947924, 5947709, 5947689, 5947648, 5947491, 5940040, 5939297, 5939062, 5938601, 5938428, 5938301, 5937768, 5937126, 5937124, 5937041, 5937035, 5936382, 5935502, 5935042, 5934574, 5933097, 5930575, 5930530, 5930268, 5930253, 5928630, 5926186, 5926033, 5925743, 5925208, 5925137, 5924895, 5923572, 5922699, 5922124, 5919282, 5918586, 5916553, 5908642, 5903551)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 11:15:07 Duration: 7s682ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5947597, 5946707, 5939899, 5939895, 5939632, 5936610, 5936517, 5936500, 5935662, 5935289, 5934793, 5934710, 5934265, 5930263, 5929523, 5928696, 5928625, 5927130, 5924412, 5921719, 5920888, 5920024, 5918623, 5914345, 5910353, 5902133)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 10:57:32 Duration: 7s540ms
4 6h41m28s 20,782 874ms 3s174ms 1s159ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 04 00 202 3m31s 1s44ms 01 636 11m15s 1s62ms 02 1,159 20m39s 1s69ms 03 1,501 26m38s 1s65ms 04 2,207 40m8s 1s91ms 05 1,945 35m17s 1s88ms 06 1,378 24m57s 1s86ms 07 11 11s653ms 1s59ms 08 2 2s430ms 1s215ms 09 225 4m33s 1s216ms 10 444 10m56s 1s477ms 11 898 23m59s 1s603ms 12 287 6m56s 1s452ms 13 358 7m37s 1s278ms 14 284 5m32s 1s169ms 15 1,229 23m11s 1s131ms 16 1,361 24m55s 1s98ms 17 388 6m57s 1s75ms 18 232 4m32s 1s176ms 19 1,834 38m54s 1s273ms 20 1,887 37m14s 1s184ms 21 1,550 28m48s 1s115ms 22 764 14m34s 1s144ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9469141')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-04 10:55:28 Duration: 3s174ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '196943')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-04 10:55:38 Duration: 3s133ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '270688')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-04 10:58:59 Duration: 3s56ms
5 4h12m49s 62,902 90ms 955ms 241ms 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 Mar 04 00 1,362 4m38s 204ms 01 2,002 7m29s 224ms 02 2,938 9m13s 188ms 03 2,940 10m8s 207ms 04 4,354 15m39s 215ms 05 3,826 14m39s 229ms 06 2,702 10m17s 228ms 07 20 4s73ms 203ms 08 282 1m24s 299ms 09 716 2m48s 235ms 10 875 4m48s 329ms 11 2,007 12m43s 380ms 12 902 4m27s 296ms 13 1,032 4m26s 258ms 14 1,940 7m41s 238ms 15 3,184 13m4s 246ms 16 5,262 22m9s 252ms 17 2,150 8m20s 232ms 18 980 3m56s 241ms 19 5,828 26m12s 269ms 20 8,725 35m5s 241ms 21 4,892 18m34s 227ms 22 3,983 14m53s 224ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'ابو حستن')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-04 19:06:23 Duration: 955ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'عقلي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-04 11:07:25 Duration: 945ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'جم')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-04 10:45:59 Duration: 941ms
6 3h16m35s 11,131 887ms 2s658ms 1s59ms 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 Mar 04 00 487 7m58s 983ms 01 375 6m15s 1s1ms 02 322 5m12s 969ms 03 7 7s103ms 1s14ms 08 145 2m37s 1s85ms 09 146 2m49s 1s157ms 10 11 12s394ms 1s126ms 11 122 3m14s 1s598ms 12 172 3m34s 1s246ms 13 177 3m34s 1s210ms 14 730 12m57s 1s64ms 15 386 6m49s 1s60ms 16 1,297 22m6s 1s22ms 17 694 11m22s 983ms 18 265 4m31s 1s25ms 19 1,104 20m33s 1s117ms 20 2,513 45m26s 1s84ms 21 930 15m48s 1s19ms 22 1,248 21m24s 1s28ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '302178')) 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 (26))))))) 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 (26)))))) 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 (26)))))) 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 (26))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-04 11:05:55 Duration: 2s658ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '768324')) 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 (26))))))) 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 (26)))))) 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 (26)))))) 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 (26))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-04 11:05:44 Duration: 2s501ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '856477')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-04 11:18:03 Duration: 2s492ms
7 2h53m44s 22,247 275ms 3s377ms 468ms select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 04 07 189 1m3s 336ms 08 2,728 18m50s 414ms 09 2,339 15m51s 406ms 10 2,834 23m22s 494ms 11 4,825 43m34s 541ms 12 3,530 28m32s 485ms 13 3,130 23m55s 458ms 14 1,471 10m52s 443ms 15 739 4m42s 382ms 16 462 2m59s 388ms -
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" = '661690')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-04 10:57:40 Duration: 3s377ms
-
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" = '712803')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-04 10:59:14 Duration: 3s359ms
-
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" = '847537')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-04 10:57:46 Duration: 3s286ms
8 2h48m44s 155,075 43ms 489ms 65ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 04 00 2,355 2m9s 55ms 01 2,913 2m40s 54ms 02 2,888 2m38s 54ms 03 1,331 1m13s 55ms 04 3,042 2m48s 55ms 05 3,167 2m54s 55ms 06 3,215 2m58s 55ms 07 1,519 1m24s 55ms 08 5,509 5m43s 62ms 09 10,924 11m1s 60ms 10 12,052 14m36s 72ms 11 19,210 28m46s 89ms 12 14,877 17m29s 70ms 13 14,222 15m44s 66ms 14 8,059 8m10s 60ms 15 8,469 8m10s 57ms 16 6,100 5m44s 56ms 17 2,386 2m13s 55ms 18 4,151 3m55s 56ms 19 5,694 6m4s 64ms 20 9,371 9m20s 59ms 21 8,371 7m57s 57ms 22 5,250 4m56s 56ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5914992, 5898791, 5855736, 5837298, 5821044, 5754319)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-04 11:01:21 Duration: 489ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5880256, 5856727, 5832673, 5825960, 5786046)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-04 10:57:03 Duration: 458ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5951446, 5951445, 5951444, 5951443, 5951442, 5951441, 5951440, 5951439)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-04 13:02:16 Duration: 443ms
9 1h33m36s 17,198 244ms 2s769ms 326ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 04 00 213 55s540ms 260ms 01 684 3m1s 265ms 02 115 30s150ms 262ms 03 191 49s755ms 260ms 04 120 31s599ms 263ms 05 352 1m34s 267ms 06 771 3m21s 261ms 07 1,311 5m41s 260ms 08 550 2m42s 295ms 09 1,557 7m44s 298ms 10 1,627 12m13s 450ms 11 1,886 14m34s 463ms 12 1,917 11m2s 345ms 13 559 3m11s 343ms 14 946 4m55s 312ms 15 507 2m28s 292ms 16 257 1m12s 280ms 17 217 58s659ms 270ms 18 292 1m20s 277ms 19 347 1m44s 300ms 20 855 4m7s 289ms 21 1,291 5m57s 276ms 22 633 2m54s 275ms -
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" = '7785797')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:36 Duration: 2s769ms
-
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" = '367101')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:33 Duration: 2s766ms
-
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" = '877348')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:41 Duration: 2s682ms
10 1h15m17s 52,101 56ms 459ms 86ms select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 04 00 2 139ms 69ms 08 7,075 9m13s 78ms 09 5,252 6m37s 75ms 10 4,412 7m8s 97ms 11 10,652 18m41s 105ms 12 7,525 10m49s 86ms 13 10,670 14m38s 82ms 14 3,218 4m12s 78ms 15 2,240 2m42s 72ms 16 761 52s646ms 69ms 17 289 19s245ms 66ms 18 5 382ms 76ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5869425) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-04 10:56:29 Duration: 459ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5782605) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-04 11:01:32 Duration: 452ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5865572) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-04 11:09:08 Duration: 452ms
11 1h2m13s 22,761 113ms 1s62ms 164ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 04 00 543 1m8s 126ms 01 166 22s589ms 136ms 02 38 5s24ms 132ms 03 35 4s581ms 130ms 04 40 5s247ms 131ms 05 24 3s264ms 136ms 06 34 4s529ms 133ms 07 20 2s650ms 132ms 08 208 33s618ms 161ms 09 1,265 3m5s 146ms 10 2,974 9m8s 184ms 11 2,356 9m1s 229ms 12 3,056 8m47s 172ms 13 2,683 6m57s 155ms 14 3,094 7m38s 148ms 15 1,519 3m29s 137ms 16 983 2m10s 132ms 17 250 34s886ms 139ms 18 383 55s282ms 144ms 19 996 2m44s 164ms 20 903 2m14s 149ms 21 748 1m50s 147ms 22 443 1m4s 146ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8258702)) AND (("cash_track"."id" not in (8915120)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-04 11:05:51 Duration: 1s62ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8258836)) AND (("cash_track"."id" not in (8916159)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-04 11:19:44 Duration: 1s33ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8258777)) AND (("cash_track"."id" not in (8915688)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-04 11:12:09 Duration: 1s28ms
12 42m2s 84 185ms 1m21s 30s28ms 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 #12
Day Hour Count Duration Avg duration Mar 04 00 12 12s301ms 1s25ms 01 1 1s455ms 1s455ms 08 4 4s911ms 1s227ms 09 4 3m49s 57s272ms 10 6 6m1s 1m 11 2 2m38s 1m19s 13 6 5m46s 57s678ms 14 7 3m23s 29s62ms 15 10 3m35s 21s551ms 16 4 2m19s 34s800ms 17 19 9m12s 29s92ms 18 8 4m57s 37s171ms 21 1 198ms 198ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 11:09:56 Duration: 1m21s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 11:05:23 Duration: 1m17s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 10:42:36 Duration: 1m6s
13 35m23s 10,513 165ms 279ms 201ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 04 00 923 3m 195ms 01 863 2m51s 198ms 02 1,810 5m58s 198ms 03 482 1m35s 198ms 04 2,202 7m24s 201ms 05 2,206 7m39s 208ms 06 1,308 4m31s 207ms 07 715 2m20s 197ms 09 4 829ms 207ms -
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" = '739169')) 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-03-04 05:45:34 Duration: 279ms
-
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" = '691466')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 36, 37, 40, 41, 42, 43, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 05:45:34 Duration: 270ms
-
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" = '669777')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 05:41:47 Duration: 268ms
14 33m59s 25,076 50ms 368ms 81ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 04 08 2,781 3m19s 71ms 09 2,053 2m23s 70ms 10 3,772 6m15s 99ms 11 4,283 6m37s 92ms 12 5,729 7m30s 78ms 13 3,637 4m38s 76ms 14 1,355 1m33s 68ms 15 1,003 1m11s 71ms 16 463 29s16ms 62ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5893237) ORDER BY "collection_policy"."id";
Date: 2025-03-04 11:47:46 Duration: 368ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5869848) ORDER BY "collection_policy"."id";
Date: 2025-03-04 11:14:30 Duration: 367ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5820712) ORDER BY "collection_policy"."id";
Date: 2025-03-04 10:59:07 Duration: 366ms
15 28m58s 227 323ms 34s976ms 7s659ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 04 00 17 1m49s 6s414ms 01 2 13s694ms 6s847ms 08 27 3m10s 7s44ms 09 10 1m52s 11s218ms 10 9 1m23s 9s228ms 11 12 3m30s 17s536ms 13 18 2m30s 8s370ms 14 20 2m22s 7s106ms 15 28 3m11s 6s839ms 16 9 50s379ms 5s597ms 17 57 6m10s 6s496ms 18 18 1m55s 6s396ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 11:07:27 Duration: 34s976ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 11:07:25 Duration: 34s926ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 11:09:07 Duration: 30s683ms
16 28m22s 2,323 24ms 1s866ms 733ms 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 #16
Day Hour Count Duration Avg duration Mar 04 00 14 3s482ms 248ms 01 2 1s87ms 543ms 02 3 1s605ms 535ms 03 5 3s56ms 611ms 07 5 1s964ms 392ms 08 33 14s772ms 447ms 09 94 55s546ms 590ms 10 224 3m5s 826ms 11 247 3m50s 931ms 12 353 4m41s 798ms 13 395 4m59s 757ms 14 275 3m5s 673ms 15 261 2m35s 595ms 16 70 51s947ms 742ms 17 20 15s270ms 763ms 18 61 41s188ms 675ms 19 94 1m1s 658ms 20 69 48s329ms 700ms 21 63 43s225ms 686ms 22 35 22s443ms 641ms -
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 (64)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-04 11:13:10 Duration: 1s866ms
-
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 (40)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (40))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-04 11:17:45 Duration: 1s856ms
-
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 (53)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (53))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-04 11:14:58 Duration: 1s848ms
17 24m47s 3,374 248ms 2s813ms 440ms 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 #17
Day Hour Count Duration Avg duration Mar 04 03 121 31s512ms 260ms 05 132 35s584ms 269ms 06 63 16s995ms 269ms 09 170 51s672ms 303ms 10 1,669 12m40s 455ms 11 1,032 8m52s 515ms 13 70 23s95ms 329ms 14 52 17s755ms 341ms 16 24 6s287ms 261ms 21 41 11s389ms 277ms -
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" = '546162')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:30 Duration: 2s813ms
-
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" = '752889')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:33 Duration: 2s757ms
-
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" = '823467')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:58:44 Duration: 2s753ms
18 24m42s 6,462 120ms 1s257ms 229ms select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 04 00 36 4s720ms 131ms 01 53 7s20ms 132ms 02 3 394ms 131ms 03 15 2s11ms 134ms 04 2 266ms 133ms 07 50 6s556ms 131ms 08 309 47s752ms 154ms 09 409 1m1s 151ms 10 689 2m43s 236ms 11 1,393 9m43s 418ms 12 1,190 3m57s 199ms 13 702 2m10s 185ms 14 410 1m3s 155ms 15 166 23s590ms 142ms 16 173 24s406ms 141ms 17 54 7s634ms 141ms 18 101 14s194ms 140ms 19 83 13s893ms 167ms 20 197 29s373ms 149ms 21 224 31s602ms 141ms 22 203 28s541ms 140ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 5)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-04 11:21:11 Duration: 1s257ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 28)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-04 11:19:21 Duration: 1s256ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 64)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-04 11:22:06 Duration: 1s255ms
19 19m35s 2 9m47s 9m47s 9m47s select count(*) from ( select 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)))) limit ?) t;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 04 18 2 19m35s 9m47s -
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, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;
Date: 2025-03-04 18:32:21 Duration: 9m47s
-
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, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;
Date: 2025-03-04 18:30:01 Duration: 9m47s
20 17m37s 295 858ms 6s559ms 3s585ms 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 #20
Day Hour Count Duration Avg duration Mar 04 00 1 3s91ms 3s91ms 04 1 2s969ms 2s969ms 08 19 1m13s 3s887ms 10 35 2m10s 3s718ms 11 15 1m7s 4s480ms 12 30 2m1s 4s37ms 13 16 1m 3s780ms 14 24 1m20s 3s350ms 15 20 1m5s 3s294ms 16 20 1m2s 3s129ms 17 22 1m7s 3s70ms 18 6 24s216ms 4s36ms 19 18 1m14s 4s149ms 20 23 1m20s 3s512ms 21 22 1m10s 3s213ms 22 23 1m12s 3s132ms -
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 (73))))))) 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 (73)))))) 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 (73)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73)))))) 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 (73))))))))) 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 (73)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 19:05:21 Duration: 6s559ms
-
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 (19))))))) 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 (19)))))) 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 (19)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))) 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 (19))))))))) 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 (19)))))))) AND ("policy_number"."name"::text ilike '%66%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 11:56:38 Duration: 5s367ms
-
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 (19))))))) 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 (19)))))) 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 (19)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))) 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 (19))))))))) 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 (19)))))))) AND ("policy_number"."name"::text ilike '%661971%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 13:01:49 Duration: 5s148ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,489,075 2m31s 0ms 4ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 04 00 55,317 2s905ms 0ms 01 50,372 2s727ms 0ms 02 48,295 2s668ms 0ms 03 36,040 1s835ms 0ms 04 43,086 2s430ms 0ms 05 45,572 2s738ms 0ms 06 45,299 2s779ms 0ms 07 41,864 2s448ms 0ms 08 80,734 5s380ms 0ms 09 158,845 10s679ms 0ms 10 204,994 15s44ms 0ms 11 227,637 13s957ms 0ms 12 242,924 15s921ms 0ms 13 220,474 14s186ms 0ms 14 187,855 11s404ms 0ms 15 156,588 9s296ms 0ms 16 109,070 6s128ms 0ms 17 65,595 2s885ms 0ms 18 83,378 4s283ms 0ms 19 102,429 5s762ms 0ms 20 111,571 6s237ms 0ms 21 102,811 5s751ms 0ms 22 68,325 3s844ms 0ms -
DISCARD ALL;
Date: 2025-03-04 12:15:37 Duration: 4ms
-
DISCARD ALL;
Date: 2025-03-04 14:10:08 Duration: 2ms
-
DISCARD ALL;
Date: 2025-03-04 10:17:35 Duration: 2ms
2 1,907,784 35s421ms 0ms 28ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 04 00 38,738 638ms 0ms 01 35,661 643ms 0ms 02 33,430 605ms 0ms 03 23,901 414ms 0ms 04 29,696 534ms 0ms 05 32,369 600ms 0ms 06 33,376 598ms 0ms 07 30,348 527ms 0ms 08 62,762 1s202ms 0ms 09 128,104 2s297ms 0ms 10 164,404 3s552ms 0ms 11 183,418 4s243ms 0ms 12 195,519 4s88ms 0ms 13 173,452 3s334ms 0ms 14 143,095 2s472ms 0ms 15 119,366 1s987ms 0ms 16 77,835 1s304ms 0ms 17 45,401 646ms 0ms 18 61,574 957ms 0ms 19 76,801 1s347ms 0ms 20 86,524 1s391ms 0ms 21 79,458 1s227ms 0ms 22 52,552 803ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-04 10:54:39 Duration: 28ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-04 07:18:28 Duration: 2ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-04 10:45:04 Duration: 1ms
3 1,263,774 14s582ms 0ms 1ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 04 00 28,289 271ms 0ms 01 26,316 264ms 0ms 02 24,992 250ms 0ms 03 18,707 183ms 0ms 04 22,178 232ms 0ms 05 23,443 256ms 0ms 06 23,243 255ms 0ms 07 21,486 219ms 0ms 08 41,288 493ms 0ms 09 80,486 954ms 0ms 10 103,611 1s424ms 0ms 11 114,832 1s652ms 0ms 12 122,512 1s564ms 0ms 13 111,251 1s350ms 0ms 14 94,791 1s60ms 0ms 15 79,223 856ms 0ms 16 55,330 576ms 0ms 17 33,483 301ms 0ms 18 42,494 410ms 0ms 19 52,078 566ms 0ms 20 56,661 583ms 0ms 21 52,312 512ms 0ms 22 34,768 340ms 0ms -
ROLLBACK;
Date: 2025-03-04 11:47:49 Duration: 1ms
-
ROLLBACK;
Date: 2025-03-04 09:13:35 Duration: 0ms
-
ROLLBACK;
Date: 2025-03-04 11:25:11 Duration: 0ms
4 1,256,848 4m21s 0ms 25ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 04 00 27,765 5s82ms 0ms 01 25,660 4s989ms 0ms 02 24,367 4s877ms 0ms 03 18,137 3s287ms 0ms 04 21,651 4s412ms 0ms 05 22,842 4s918ms 0ms 06 22,658 4s791ms 0ms 07 20,981 4s164ms 0ms 08 40,809 9s152ms 0ms 09 80,376 17s158ms 0ms 10 103,740 24s237ms 0ms 11 115,150 28s585ms 0ms 12 122,995 28s281ms 0ms 13 111,586 24s118ms 0ms 14 95,011 19s146ms 0ms 15 79,125 15s614ms 0ms 16 54,883 10s749ms 0ms 17 32,884 5s473ms 0ms 18 41,998 7s483ms 0ms 19 51,672 10s23ms 0ms 20 56,214 10s147ms 0ms 21 51,901 9s49ms 0ms 22 34,443 5s957ms 0ms -
SELECT payload FROM http_sessions WHERE sid = '9da2a12ab0b63b914045f0cf6acd91fc91f10cbf';
Date: 2025-03-04 10:18:58 Duration: 25ms
-
SELECT payload FROM http_sessions WHERE sid = 'c31039e55cd8fa23c3bf515f48a2790bde980b09';
Date: 2025-03-04 12:40:08 Duration: 24ms
-
SELECT payload FROM http_sessions WHERE sid = '9d902f3adc6febd48e00f01d1d6c75fe9f87f600';
Date: 2025-03-04 11:07:36 Duration: 23ms
5 1,244,430 2m6s 0ms 2ms 0ms select base_registry_signaling.last_value, base_cache_signaling.last_value from base_registry_signaling, base_cache_signaling;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 04 00 27,695 2s453ms 0ms 01 25,217 2s318ms 0ms 02 24,181 2s237ms 0ms 03 18,060 1s595ms 0ms 04 21,576 2s22ms 0ms 05 22,817 2s234ms 0ms 06 22,692 2s194ms 0ms 07 20,976 1s959ms 0ms 08 40,315 4s223ms 0ms 09 79,344 8s41ms 0ms 10 102,392 11s548ms 0ms 11 113,772 13s871ms 0ms 12 121,412 13s429ms 0ms 13 110,187 11s425ms 0ms 14 93,895 9s78ms 0ms 15 78,243 7s319ms 0ms 16 54,554 4s993ms 0ms 17 32,822 2s886ms 0ms 18 41,706 4s21ms 0ms 19 51,213 5s238ms 0ms 20 55,776 5s287ms 0ms 21 51,412 4s674ms 0ms 22 34,173 3s111ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-04 05:14:49 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-04 12:42:12 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-04 10:54:31 Duration: 1ms
6 643,940 2m1s 0ms 51ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 04 00 10,451 1s769ms 0ms 01 9,345 1s883ms 0ms 02 8,437 1s761ms 0ms 03 5,197 986ms 0ms 04 7,517 1s462ms 0ms 05 8,921 1s959ms 0ms 06 10,138 1s982ms 0ms 07 8,863 1s560ms 0ms 08 21,464 3s633ms 0ms 09 47,619 8s502ms 0ms 10 60,754 12s759ms 0ms 11 68,552 16s579ms 0ms 12 73,015 15s282ms 0ms 13 62,208 12s121ms 0ms 14 48,299 8s45ms 0ms 15 40,144 6s404ms 0ms 16 22,508 3s723ms 0ms 17 11,915 1s785ms 0ms 18 19,073 2s971ms 0ms 19 24,725 4s348ms 0ms 20 29,869 4s690ms 0ms 21 27,148 4s278ms 0ms 22 17,778 2s944ms 0ms -
COMMIT;
Date: 2025-03-04 12:00:50 Duration: 51ms
-
COMMIT;
Date: 2025-03-04 10:12:03 Duration: 48ms
-
COMMIT;
Date: 2025-03-04 11:17:17 Duration: 47ms
7 550,840 1m33s 0ms 26ms 0ms select "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" from "urgent_customer" where "urgent_customer".id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 04 00 8,813 1s207ms 0ms 01 7,455 946ms 0ms 02 8,076 1s101ms 0ms 03 4,448 438ms 0ms 04 8,482 1s88ms 0ms 05 8,955 1s214ms 0ms 06 9,701 1s319ms 0ms 07 6,638 969ms 0ms 08 16,216 2s723ms 0ms 09 43,230 6s994ms 0ms 10 52,983 10s381ms 0ms 11 55,437 12s914ms 0ms 12 63,855 14s458ms 0ms 13 51,116 9s106ms 0ms 14 38,067 5s612ms 0ms 15 35,422 5s6ms 0ms 16 19,075 2s372ms 0ms 17 9,385 1s220ms 0ms 18 14,450 1s943ms 0ms 19 22,967 3s546ms 0ms 20 26,205 3s449ms 0ms 21 24,346 3s222ms 0ms 22 15,518 2s70ms 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 (5099914, 5099102, 5115653, 5541115, 5099430, 5099007, 5102342, 5099026, 5099523, 5099035, 5099138, 5101453, 5099287, 5099489, 5099090, 5099202);
Date: 2025-03-04 12:57:19 Duration: 26ms
-
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 (5371576, 5497020, 5099009, 5099236, 5100004, 5108058, 5099013, 5537467, 5099007, 5100651, 5181445, 5331974, 5099003, 5099867, 5099677, 5099206, 5099898, 5126325, 5513561, 5099224, 5100457, 5099558, 5099333, 5099130, 5099010, 5099444, 5099006, 5524439, 5529267, 5495938, 5101327, 5100783, 5535093, 5099204, 5099445, 5099182, 5513165, 5102347, 5100637, 5099158, 5099186, 5179728, 5099313, 5099642, 5119981, 5099904, 5099922, 5099406, 5099296, 5100421, 5099609, 5099413, 5111804, 5099287, 5099244, 5099251, 5212281, 5099187, 5105481, 5099144, 5103735, 5099200, 5507274, 5099536, 5113203, 5099910, 5099202, 5099039, 5102605, 5099690, 5103633, 5100192, 5416068, 5098989, 5514972, 5101298, 5502467, 5522851, 5099129, 5099420, 5114233, 5099170, 5099111, 5100667, 5524805, 5331574, 5140402, 5099309, 5099873, 5181651, 5103770, 5100506, 5101130, 5099120, 5510597, 5435880, 5123488, 5171606, 5099275, 5099491, 5099924, 5099035, 5407198, 5507292, 5533429, 5099306, 5099045, 5099014, 5503017, 5099540, 5109400, 5099360, 5123058, 5108399, 5100848, 5100528, 5100850, 5140728, 5534925, 5214339, 5101083, 5099248, 5111973, 5099090, 5100404, 5099430, 5101279, 5099169, 5113022, 5509688, 5099577, 5100327, 5099008, 5099137, 5099168, 5505921, 5100628, 5100729, 5111145, 5099194);
Date: 2025-03-04 17:22:45 Duration: 5ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5204433, 5123971, 5406171, 5341234, 5540707, 5529264, 5100786, 5105319, 5122819, 5101291, 5360294, 5104701, 5112689, 5119680, 5512679, 5519381, 5124038, 5218642, 5110787, 5114822, 5102973, 5108201, 5524696, 5126006, 5393245, 5132956, 5104699, 5123659, 5114102, 5109523, 5118201, 5263866, 5123841, 5100259, 5099403, 5503867, 5106543, 5529262, 5132076, 5099154, 5118639, 5126576, 5533457, 5154768, 5125960, 5103269, 5238088, 5107101, 5533427, 5104461, 5104848, 5203810, 5099727, 5128373, 5486217, 5128669, 5503111, 5103302, 5366697, 5103217, 5100761, 5102612, 5514971, 5231346, 5107020, 5101432, 5122788, 5105206, 5413977, 5385361, 5530649, 5109949, 5448591, 5104498, 5524695, 5124420, 5100554, 5512344, 5131579, 5537478, 5501873, 5542449, 5501872, 5101830, 5304782, 5107596, 5106796, 5101174, 5194535, 5498592, 5204383, 5100375, 5162203, 5537445, 5514154, 5108328, 5099247, 5102344, 5127346, 5503434, 5124936, 5100800, 5127986, 5103493, 5099319, 5113706, 5111781, 5099672);
Date: 2025-03-04 17:22:45 Duration: 4ms
8 538,390 46s75ms 0ms 2ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" from "urgent_office" where "urgent_office".id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 04 00 7,402 421ms 0ms 01 6,733 411ms 0ms 02 5,809 354ms 0ms 03 3,250 193ms 0ms 04 4,870 290ms 0ms 05 6,032 372ms 0ms 06 8,370 477ms 0ms 07 6,994 395ms 0ms 08 15,309 1s234ms 0ms 09 40,931 3s49ms 0ms 10 50,981 5s45ms 0ms 11 55,737 7s44ms 0ms 12 65,978 7s211ms 0ms 13 52,888 4s887ms 0ms 14 40,538 3s170ms 0ms 15 35,711 2s478ms 0ms 16 20,390 1s278ms 0ms 17 9,724 616ms 0ms 18 15,680 1s67ms 0ms 19 21,364 1s761ms 0ms 20 25,777 1s766ms 0ms 21 23,044 1s546ms 0ms 22 14,878 1s 0ms -
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (83);
Date: 2025-03-04 12:50:12 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"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 57, 59, 97, 101, 108, 118, 120, 129, 124, 122, 112, 12, 20);
Date: 2025-03-04 11:17:11 Duration: 1ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (60, 17);
Date: 2025-03-04 09:04:56 Duration: 1ms
9 364,838 1m20s 0ms 11ms 0ms select "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 04 00 5,216 909ms 0ms 01 4,806 846ms 0ms 02 3,862 721ms 0ms 03 2,409 399ms 0ms 04 3,725 669ms 0ms 05 4,038 816ms 0ms 06 5,291 953ms 0ms 07 5,213 864ms 0ms 08 12,903 2s622ms 0ms 09 27,958 5s580ms 0ms 10 35,166 8s723ms 0ms 11 38,987 11s583ms 0ms 12 41,927 10s946ms 0ms 13 36,763 8s343ms 0ms 14 28,890 5s763ms 0ms 15 23,852 4s519ms 0ms 16 12,643 2s259ms 0ms 17 6,537 1s191ms 0ms 18 11,263 2s52ms 0ms 19 14,141 3s95ms 0ms 20 15,757 3s123ms 0ms 21 14,370 2s638ms 0ms 22 9,121 1s655ms 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 (8006381, 8006441, 8006334, 8008347, 8004805, 8007364, 8004697, 8006752);
Date: 2025-03-04 17:21:55 Duration: 11ms
-
SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (8006381, 8006441, 8006334, 8004805, 8008347, 8007364, 8004697, 8006752);
Date: 2025-03-04 17:21:55 Duration: 11ms
-
SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (8004678);
Date: 2025-03-04 17:21:55 Duration: 6ms
10 306,160 2m2s 0ms 5ms 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 #10
Day Hour Count Duration Avg duration Mar 04 00 5,651 1s780ms 0ms 01 4,372 1s453ms 0ms 02 2,786 916ms 0ms 03 2,218 684ms 0ms 04 2,678 864ms 0ms 05 2,533 881ms 0ms 06 2,329 790ms 0ms 07 2,593 855ms 0ms 08 11,633 4s440ms 0ms 09 17,789 6s830ms 0ms 10 22,092 9s970ms 0ms 11 40,870 20s961ms 0ms 12 28,246 12s929ms 0ms 13 36,467 14s794ms 0ms 14 33,459 12s245ms 0ms 15 18,610 6s771ms 0ms 16 9,380 3s288ms 0ms 17 7,506 2s387ms 0ms 18 11,745 4s102ms 0ms 19 14,265 5s596ms 0ms 20 13,129 4s749ms 0ms 21 10,245 3s532ms 0ms 22 5,564 1s834ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'shipping.policy' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 832) OR r.global) ORDER BY r.id;
Date: 2025-03-04 09:36:52 Duration: 5ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'cash.policy' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1292) OR r.global) ORDER BY r.id;
Date: 2025-03-04 12:41:04 Duration: 5ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'urgent.customer' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 915) OR r.global) ORDER BY r.id;
Date: 2025-03-04 13:42:28 Duration: 5ms
11 302,531 33s367ms 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 #11
Day Hour Count Duration Avg duration Mar 04 00 4,453 413ms 0ms 01 4,089 402ms 0ms 02 3,275 362ms 0ms 03 1,855 224ms 0ms 04 2,983 342ms 0ms 05 3,353 393ms 0ms 06 4,458 449ms 0ms 07 3,895 383ms 0ms 08 10,323 1s106ms 0ms 09 23,120 2s229ms 0ms 10 29,357 3s612ms 0ms 11 31,928 4s831ms 0ms 12 35,280 4s602ms 0ms 13 30,735 3s376ms 0ms 14 24,165 2s286ms 0ms 15 19,647 1s798ms 0ms 16 10,277 883ms 0ms 17 5,294 503ms 0ms 18 8,960 836ms 0ms 19 11,832 1s314ms 0ms 20 13,348 1s279ms 0ms 21 12,132 1s55ms 0ms 22 7,772 678ms 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-03-04 11:25:01 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-03-04 10:58:24 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-03-04 12:41:06 Duration: 3ms
12 284,423 2d17h18m21s 628ms 7s508ms 826ms 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 #12
Day Hour Count Duration Avg duration Mar 04 00 5,459 1h2m41s 689ms 01 7,563 1h27m42s 695ms 02 7,538 1h27m57s 700ms 03 4,502 53m51s 717ms 04 8,156 1h36m55s 713ms 05 10,595 2h5m31s 710ms 06 9,142 1h48m15s 710ms 07 5,984 1h7m10s 673ms 08 14,819 3h16m3s 793ms 09 15,747 3h22m1s 769ms 10 19,850 5h17m27s 959ms 11 27,707 9h14m30s 1s200ms 12 21,810 5h29m1s 905ms 13 18,641 4h24m9s 850ms 14 12,541 2h41m45s 773ms 15 11,268 2h20m44s 749ms 16 9,375 1h56m23s 744ms 17 6,309 1h14m42s 710ms 18 10,401 2h4m6s 715ms 19 19,874 4h34m3s 827ms 20 16,925 3h44m2s 794ms 21 12,009 2h28m13s 740ms 22 8,208 1h40m59s 738ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5950269)) AND (("shipping_track"."id" not in (49625474, 49625474)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 11:16:04 Duration: 7s508ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5950216)) AND (("shipping_track"."id" not in (49622131, 49622131)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 11:11:00 Duration: 7s505ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5949937)) AND (("shipping_track"."id" not in (49614569, 49614569)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 10:55:48 Duration: 7s496ms
13 255,022 1m14s 0ms 24ms 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 Mar 04 00 4,582 934ms 0ms 01 3,350 835ms 0ms 02 3,655 986ms 0ms 03 2,490 580ms 0ms 04 4,253 1s155ms 0ms 05 4,305 1s227ms 0ms 06 4,354 1s195ms 0ms 07 2,567 698ms 0ms 08 6,427 2s25ms 0ms 09 17,159 4s733ms 0ms 10 23,303 8s132ms 0ms 11 24,349 9s946ms 0ms 12 28,056 10s582ms 0ms 13 23,531 7s225ms 0ms 14 20,034 4s481ms 0ms 15 16,626 3s954ms 0ms 16 10,403 2s210ms 0ms 17 4,799 1s220ms 0ms 18 6,336 1s511ms 0ms 19 12,186 3s277ms 0ms 20 13,768 3s282ms 0ms 21 11,219 2s624ms 0ms 22 7,270 1s762ms 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 (41025964, 41325953, 40460028, 40988019, 39970046, 41791191, 32217086, 42088210, 40301233, 41839650, 42057730, 41791138, 42058499, 41936434, 41936300, 41790852, 42058555, 44801294, 41574940, 32539445, 41839842, 41790798, 40719641, 41936599, 42130531, 42082359, 41973481, 32441429, 41743467, 41903471, 41547387, 32459760, 42039579, 41987072, 32459748, 41255815, 41889106, 41758752, 39709122, 44831800, 39722913, 42088220, 44747787, 39725818, 39797866, 42058314, 41839871, 32482638, 32327552, 42084492, 32330721, 32533269, 41840323, 41686254, 32561669, 32654819, 41975296, 32237459, 32478172, 44625692, 32260233, 42058087, 41059354, 41297471, 42119174, 42047285, 41951349, 44859887, 32206605, 41731845, 42017491, 41936369, 42087279, 41821776, 32222185, 41461330, 32566932, 44729681, 41934189, 42068594, 32222292, 41936531, 41792398, 42171232, 32399284, 41867406, 32187958, 41671528, 41940408, 41574983, 44826462, 32222210, 32240723, 41924499, 32221730, 41850315, 41485383, 41839804, 41833710, 41739022);
Date: 2025-03-04 17:22:03 Duration: 24ms
-
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 (44716771, 44955894, 44911018, 44951124, 32489021, 44836325, 44883825, 44894982, 44671443, 44936515, 44906680, 44957087, 44629825, 44848649, 44875348, 44760379, 44682947);
Date: 2025-03-04 09:15:51 Duration: 23ms
-
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 (44875429, 44780559, 44884497, 44926869, 44809150, 44984739, 44865173, 44491250, 44922161, 44895461, 44496803, 44961456, 44928446, 44835472, 44493493, 44912276, 44739276, 44789041, 44861306, 44789470, 44809308, 44995743, 44916012, 44695963, 44940473, 44808149, 44884629, 44927660, 32185221, 44944206, 44919817, 44822201, 44714497, 44800604, 32454154, 44893025, 44776931, 44942619, 44886082, 44839081, 44849299, 44895125, 44671450, 44926452, 44916356, 44827130, 44885377, 44862033, 44961412, 44962380, 44921662, 44920516, 44780691, 44927695, 44904899, 44932086, 44961122, 44800595, 44929122, 44772629, 44847826, 42168270, 44820321, 44856253, 44856222, 44832392, 44985693, 44982212, 44734240, 44753829, 44895675, 44941469, 44533171, 44984790, 44511926, 44511920, 44839001, 44874808, 44873412, 44929003, 44865925, 44720525, 44866883, 44481303, 44602656, 44804631, 44912069, 44995099, 44491242, 44853263, 44843642, 44785550, 44883816, 44595826, 44952196, 44871116, 44714275, 44875619, 44850589, 44775867);
Date: 2025-03-04 17:22:28 Duration: 20ms
14 228,815 46s774ms 0ms 2ms 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 Mar 04 00 4,952 738ms 0ms 01 3,889 569ms 0ms 02 2,818 387ms 0ms 03 1,919 259ms 0ms 04 3,161 444ms 0ms 05 2,749 382ms 0ms 06 2,396 338ms 0ms 07 2,920 418ms 0ms 08 11,726 2s195ms 0ms 09 14,380 2s725ms 0ms 10 17,679 4s51ms 0ms 11 29,118 8s484ms 0ms 12 19,694 4s541ms 0ms 13 24,534 5s409ms 0ms 14 21,582 4s227ms 0ms 15 13,151 2s372ms 0ms 16 6,173 1s12ms 0ms 17 5,402 883ms 0ms 18 8,621 1s514ms 0ms 19 11,361 2s295ms 0ms 20 9,154 1s653ms 0ms 21 7,456 1s232ms 0ms 22 3,980 636ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2025-03-04 11:04:41 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 881 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_system' AND model = 'res.groups');
Date: 2025-03-04 12:57:34 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 939 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_public' AND model = 'res.groups');
Date: 2025-03-04 19:02:44 Duration: 2ms
15 185,765 24s885ms 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 Mar 04 00 2,881 233ms 0ms 01 2,144 191ms 0ms 02 2,125 200ms 0ms 03 921 82ms 0ms 04 1,991 201ms 0ms 05 2,330 247ms 0ms 06 2,859 283ms 0ms 07 2,379 240ms 0ms 08 5,681 832ms 0ms 09 14,868 2s5ms 0ms 10 18,778 3s57ms 0ms 11 19,571 3s336ms 0ms 12 23,128 3s508ms 0ms 13 18,521 2s729ms 0ms 14 13,567 1s953ms 0ms 15 12,323 1s917ms 0ms 16 6,062 470ms 0ms 17 3,068 227ms 0ms 18 5,081 431ms 0ms 19 7,262 774ms 0ms 20 7,987 796ms 0ms 21 7,608 834ms 0ms 22 4,630 328ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414);
Date: 2025-03-04 15:06:36 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-03-04 11:40:54 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, 2414);
Date: 2025-03-04 10:45:33 Duration: 1ms
16 177,389 1m49s 0ms 18ms 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 Mar 04 00 973 607ms 0ms 01 436 239ms 0ms 02 296 171ms 0ms 03 292 147ms 0ms 04 169 111ms 0ms 05 313 182ms 0ms 06 713 325ms 0ms 07 1,055 496ms 0ms 08 16,616 8s767ms 0ms 09 10,059 6s618ms 0ms 10 17,618 12s287ms 0ms 11 18,297 15s282ms 0ms 12 17,591 12s536ms 0ms 13 16,127 10s755ms 0ms 14 12,534 7s178ms 0ms 15 6,116 3s626ms 0ms 16 3,986 2s54ms 0ms 17 6,613 3s164ms 0ms 18 15,478 7s460ms 0ms 19 21,217 11s807ms 0ms 20 6,020 3s237ms 0ms 21 2,876 1s698ms 0ms 22 1,994 1s61ms 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 (5892683, 5892291);
Date: 2025-03-04 13:10:46 Duration: 18ms
-
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 (4164157, 5881138, 5611233, 4764777, 4885292, 4885211, 4950200, 4921512, 4885294, 4885300, 4974338, 5025003, 5024992, 5002613, 5053653, 5053657, 5004472, 5085064, 5004431, 5101819, 5132137, 5153551, 5132140, 5155162, 5184279, 4963267, 5282847, 5252876, 5356557, 5356554, 5362319, 5370761, 5383257, 5356563, 5435847, 5356552, 5435846, 5473191, 5572865, 5582999, 5540375, 5669660, 5532712, 5669662, 5717746, 5713665, 5701835, 5820899, 5821492, 5835810, 5884224, 5901154, 5884227, 5860229, 5884226, 5893787, 5139474, 5718741, 5069461, 5465902, 4865219, 5682765, 5322289, 5428999, 5503423, 4985203, 5000923, 5608318, 5824297, 4918481, 5246789, 5421409, 5348722, 5402791, 5532183, 5561649, 4985803, 5030543, 5076999, 5076328, 5076330, 5202462, 5421527, 5421533, 5215308, 5599806, 5186118, 4596553, 5353629, 5543633, 5612541, 5710777, 5752532, 5752166, 5415305, 5908429, 5862998, 5741948, 5457296, 5301060, 4929767, 5034794, 5089963, 5361852, 5547423, 5547400, 5686362, 5811804, 5807234, 5851653, 5034351, 5737391, 5730774, 5737395, 5737389, 3852881, 5566184, 5566195, 5139998, 5192577, 5366580, 5057960, 5065854, 5798832, 5293310, 5293301, 5106422, 5330114, 5503808, 5366475, 5033241, 5477492, 5382642, 5001140, 5577814, 4890511, 5364842, 4938122, 5743503, 4819960, 5001550, 5030478, 5192434, 5245498, 5390758, 5420421, 5379705, 5500375, 5537033, 5679336, 5834579, 4963418, 4963422, 5396470, 5794716, 5290267, 5386662, 5616377, 5584048, 5667858, 5240540, 5540404, 5750228, 5223524, 5223528, 5674120, 5775852, 5775854, 5584215, 5584226, 5570098, 5611200, 5611107, 5611217, 5570120, 5570096, 5643351, 5570109, 5570094, 5611105, 5570114, 5611102, 5643391, 5643395, 5643393, 5611194, 5711163, 5711167, 5643403, 5711159, 5711196, 5711171, 5570118, 5831093, 5643401, 5831803, 5611206, 5856765, 5611090, 5895507, 5895510, 5777299, 5886983, 5274651, 5320563, 5388319, 5557122, 5527247, 5466473, 5743667, 5853792, 5856735, 5776600, 4997982, 5088268, 5804538, 5115645, 5115641, 5235659, 5355482, 5425643, 5623364, 5613943, 5613941, 5711004, 5811874, 5126565, 5371621, 5760502, 5611080, 5101560, 5720123, 5211749, 5101309, 5566010, 5537906, 5276304, 5500622, 5541300, 5612883, 5787207, 5788590, 5281804, 5683109, 4664503, 4958472, 4958470, 5054785, 5458759, 5504220, 5504238, 5821502, 5856574, 5248825, 5202593, 5231771, 5333833, 5452440, 5452442, 5452436, 5448174, 3127666, 5517304, 5225328, 4992722, 4992725, 5429049, 4916145, 4894558, 5011442, 5529179, 5890794, 5516693, 5130045, 5404321, 5567320, 5051427, 5522227, 5223393, 5223395, 5102992, 5680705, 5756528, 4807031, 5155171, 5798164, 5293253, 5531680, 5864947, 5532752);
Date: 2025-03-04 17:40:26 Duration: 15ms
-
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 (5318483, 4886733, 5374424, 4671000, 5544033, 5101800, 5649105, 5845059, 3750853, 5127038, 4836600, 5508291, 5673637, 5650947, 5673629, 5545599, 5256226, 4860231, 3834851, 5193262, 5321251, 5054898, 5400337, 5287371, 5404723, 5034169, 5747694, 5064732, 5132722, 5064765, 5546372, 5684385, 5071171, 4390299, 3613757, 5004992, 4923679, 5540658, 5649167, 4864302, 5544035, 5195540, 4863594, 5069484, 5792862, 5646715, 5327663, 3866520, 5276197, 4869460, 4923677, 5546361, 5395424, 5007663, 5256752, 5058539, 5462183, 5327660, 5649099, 5037980, 5939996, 5649156, 5068669, 4075358, 4890749, 5136841, 5216239, 5246357, 4933064, 5102726, 5177177, 5757117, 5401725, 5065899, 4070553, 4897181, 5649164, 5101819, 4999569, 5711969, 4978726, 5756447, 4968499, 4896556, 5139419, 5401696, 5009261, 5072780, 4665593, 5256785, 4801503, 5037967, 5763355, 5467865, 5844604, 5371864, 5318378, 5409366, 5035231, 5318371, 5546602, 4135196, 5323143, 5285676, 5023517, 5503227, 5544039, 5540664, 5323154, 5884327, 5064428, 4435661, 5193735, 5683120, 4419258, 5548710, 5595971, 5068621, 5329195, 5069461, 5071173, 5068618, 5471533, 5252914, 5374375, 5554505, 5546370, 4933036, 5759046, 4868138, 5219085, 5579626, 5256239, 5591884, 5035263, 5756448, 5845448, 5071194, 3537739, 5007677, 5007676, 5661946, 5007675, 5836340, 3170333, 5139536, 5756456, 5371900, 5325116, 5840114, 5030168, 5069500, 5591888, 5035281, 5757042, 5038069, 4775443, 4313989, 5216195, 4922413, 5004972, 5323324, 5476171, 5284110, 4981075, 5710051, 5844972, 5186200, 5505175, 5786987, 5540605, 5704519, 5704563, 4933085, 5505188, 5005142, 5010058, 5038036, 5673663, 5002793, 4931923, 5186392, 5640374, 5407441, 4806240, 5548680, 5193983, 5649276, 4968545, 5447945, 5249368, 5246539, 5072794, 5435606, 5101858, 3681878, 5546363, 5454370, 4968420, 5066725);
Date: 2025-03-04 17:22:45 Duration: 13ms
17 155,075 2h48m44s 43ms 489ms 65ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 04 00 2,355 2m9s 55ms 01 2,913 2m40s 54ms 02 2,888 2m38s 54ms 03 1,331 1m13s 55ms 04 3,042 2m48s 55ms 05 3,167 2m54s 55ms 06 3,215 2m58s 55ms 07 1,519 1m24s 55ms 08 5,509 5m43s 62ms 09 10,924 11m1s 60ms 10 12,052 14m36s 72ms 11 19,210 28m46s 89ms 12 14,877 17m29s 70ms 13 14,222 15m44s 66ms 14 8,059 8m10s 60ms 15 8,469 8m10s 57ms 16 6,100 5m44s 56ms 17 2,386 2m13s 55ms 18 4,151 3m55s 56ms 19 5,694 6m4s 64ms 20 9,371 9m20s 59ms 21 8,371 7m57s 57ms 22 5,250 4m56s 56ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5914992, 5898791, 5855736, 5837298, 5821044, 5754319)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-04 11:01:21 Duration: 489ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5880256, 5856727, 5832673, 5825960, 5786046)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-04 10:57:03 Duration: 458ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5951446, 5951445, 5951444, 5951443, 5951442, 5951441, 5951440, 5951439)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-04 13:02:16 Duration: 443ms
18 148,002 51s958ms 0ms 2ms 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 Mar 04 00 3,986 1s402ms 0ms 01 5,629 1s949ms 0ms 02 7,466 2s442ms 0ms 03 6,686 1s985ms 0ms 04 10,192 3s167ms 0ms 05 10,451 3s574ms 0ms 06 7,780 2s773ms 0ms 07 2,508 1s281ms 0ms 08 1,246 583ms 0ms 09 2,533 1s138ms 0ms 10 3,440 1s988ms 0ms 11 5,293 3s31ms 0ms 12 2,946 1s509ms 0ms 13 2,450 1s32ms 0ms 14 4,314 1s547ms 0ms 15 6,469 2s60ms 0ms 16 10,823 3s345ms 0ms 17 4,352 1s235ms 0ms 18 2,001 628ms 0ms 19 11,706 4s144ms 0ms 20 17,750 5s758ms 0ms 21 9,925 2s988ms 0ms 22 8,056 2s386ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 55) AND ("price_list"."to_office_id" = 24)) ORDER BY "price_list"."id";
Date: 2025-03-04 02:42:38 Duration: 2ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 27) AND ("price_list"."to_office_id" = 126)) ORDER BY "price_list"."id";
Date: 2025-03-04 10:57:47 Duration: 2ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 27) AND ("price_list"."to_office_id" = 10)) ORDER BY "price_list"."id";
Date: 2025-03-04 08:56:56 Duration: 2ms
19 131,862 12h10m52s 239ms 2s887ms 332ms 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 #19
Day Hour Count Duration Avg duration Mar 04 00 1,135 4m54s 259ms 01 1,650 7m15s 263ms 02 2,056 8m55s 260ms 03 794 3m26s 260ms 04 2,436 10m38s 262ms 05 2,885 12m48s 266ms 06 2,223 9m49s 264ms 07 2,533 10m58s 260ms 08 13,086 1h6m50s 306ms 09 6,345 32m11s 304ms 10 15,526 1h41m59s 394ms 11 12,630 1h29m11s 423ms 12 10,018 58m56s 353ms 13 6,816 38m 334ms 14 7,502 38m13s 305ms 15 2,024 9m42s 288ms 16 1,263 5m50s 277ms 17 4,987 23m19s 280ms 18 16,579 1h27m3s 315ms 19 15,642 1h33m30s 358ms 20 863 4m9s 289ms 21 1,332 6m7s 276ms 22 1,537 6m55s 270ms -
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" = '9577994')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:31 Duration: 2s887ms
-
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" = '7785797')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:39 Duration: 2s800ms
-
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" = '736204')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:05 Duration: 2s769ms
20 128,795 9s80ms 0ms 2ms 0ms select "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" from "ir_rule" where "ir_rule".id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 04 00 2,604 133ms 0ms 01 1,987 106ms 0ms 02 1,160 58ms 0ms 03 829 39ms 0ms 04 1,238 62ms 0ms 05 982 51ms 0ms 06 959 50ms 0ms 07 1,143 59ms 0ms 08 5,022 333ms 0ms 09 7,479 494ms 0ms 10 9,224 740ms 0ms 11 17,531 1s734ms 0ms 12 11,255 915ms 0ms 13 15,505 1s110ms 0ms 14 14,402 911ms 0ms 15 7,944 481ms 0ms 16 3,875 221ms 0ms 17 2,984 165ms 0ms 18 5,051 305ms 0ms 19 5,926 410ms 0ms 20 5,236 326ms 0ms 21 4,233 243ms 0ms 22 2,226 123ms 0ms -
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (2, 10);
Date: 2025-03-04 08:45:44 Duration: 2ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (96);
Date: 2025-03-04 10:17:25 Duration: 1ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (88, 89);
Date: 2025-03-04 12:41:04 Duration: 1ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 9m47s 9m47s 9m47s 2 19m35s select count(*) from ( select 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)))) limit ?) t;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 04 18 2 19m35s 9m47s -
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, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;
Date: 2025-03-04 18:32:21 Duration: 9m47s
-
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, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;
Date: 2025-03-04 18:30:01 Duration: 9m47s
2 185ms 1m21s 30s28ms 84 42m2s 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 #2
Day Hour Count Duration Avg duration Mar 04 00 12 12s301ms 1s25ms 01 1 1s455ms 1s455ms 08 4 4s911ms 1s227ms 09 4 3m49s 57s272ms 10 6 6m1s 1m 11 2 2m38s 1m19s 13 6 5m46s 57s678ms 14 7 3m23s 29s62ms 15 10 3m35s 21s551ms 16 4 2m19s 34s800ms 17 19 9m12s 29s92ms 18 8 4m57s 37s171ms 21 1 198ms 198ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 11:09:56 Duration: 1m21s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 11:05:23 Duration: 1m17s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 10:42:36 Duration: 1m6s
3 323ms 34s976ms 7s659ms 227 28m58s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 04 00 17 1m49s 6s414ms 01 2 13s694ms 6s847ms 08 27 3m10s 7s44ms 09 10 1m52s 11s218ms 10 9 1m23s 9s228ms 11 12 3m30s 17s536ms 13 18 2m30s 8s370ms 14 20 2m22s 7s106ms 15 28 3m11s 6s839ms 16 9 50s379ms 5s597ms 17 57 6m10s 6s496ms 18 18 1m55s 6s396ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 11:07:27 Duration: 34s976ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 11:07:25 Duration: 34s926ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 11:09:07 Duration: 30s683ms
4 858ms 6s559ms 3s585ms 295 17m37s 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 #4
Day Hour Count Duration Avg duration Mar 04 00 1 3s91ms 3s91ms 04 1 2s969ms 2s969ms 08 19 1m13s 3s887ms 10 35 2m10s 3s718ms 11 15 1m7s 4s480ms 12 30 2m1s 4s37ms 13 16 1m 3s780ms 14 24 1m20s 3s350ms 15 20 1m5s 3s294ms 16 20 1m2s 3s129ms 17 22 1m7s 3s70ms 18 6 24s216ms 4s36ms 19 18 1m14s 4s149ms 20 23 1m20s 3s512ms 21 22 1m10s 3s213ms 22 23 1m12s 3s132ms -
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 (73))))))) 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 (73)))))) 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 (73)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73)))))) 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 (73))))))))) 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 (73)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 19:05:21 Duration: 6s559ms
-
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 (19))))))) 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 (19)))))) 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 (19)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))) 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 (19))))))))) 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 (19)))))))) AND ("policy_number"."name"::text ilike '%66%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 11:56:38 Duration: 5s367ms
-
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 (19))))))) 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 (19)))))) 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 (19)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))) 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 (19))))))))) 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 (19)))))))) AND ("policy_number"."name"::text ilike '%661971%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-04 13:01:49 Duration: 5s148ms
5 874ms 3s174ms 1s159ms 20,782 6h41m28s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 04 00 202 3m31s 1s44ms 01 636 11m15s 1s62ms 02 1,159 20m39s 1s69ms 03 1,501 26m38s 1s65ms 04 2,207 40m8s 1s91ms 05 1,945 35m17s 1s88ms 06 1,378 24m57s 1s86ms 07 11 11s653ms 1s59ms 08 2 2s430ms 1s215ms 09 225 4m33s 1s216ms 10 444 10m56s 1s477ms 11 898 23m59s 1s603ms 12 287 6m56s 1s452ms 13 358 7m37s 1s278ms 14 284 5m32s 1s169ms 15 1,229 23m11s 1s131ms 16 1,361 24m55s 1s98ms 17 388 6m57s 1s75ms 18 232 4m32s 1s176ms 19 1,834 38m54s 1s273ms 20 1,887 37m14s 1s184ms 21 1,550 28m48s 1s115ms 22 764 14m34s 1s144ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9469141')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-04 10:55:28 Duration: 3s174ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '196943')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-04 10:55:38 Duration: 3s133ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '270688')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-04 10:58:59 Duration: 3s56ms
6 887ms 2s658ms 1s59ms 11,131 3h16m35s 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 Mar 04 00 487 7m58s 983ms 01 375 6m15s 1s1ms 02 322 5m12s 969ms 03 7 7s103ms 1s14ms 08 145 2m37s 1s85ms 09 146 2m49s 1s157ms 10 11 12s394ms 1s126ms 11 122 3m14s 1s598ms 12 172 3m34s 1s246ms 13 177 3m34s 1s210ms 14 730 12m57s 1s64ms 15 386 6m49s 1s60ms 16 1,297 22m6s 1s22ms 17 694 11m22s 983ms 18 265 4m31s 1s25ms 19 1,104 20m33s 1s117ms 20 2,513 45m26s 1s84ms 21 930 15m48s 1s19ms 22 1,248 21m24s 1s28ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '302178')) 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 (26))))))) 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 (26)))))) 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 (26)))))) 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 (26))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-04 11:05:55 Duration: 2s658ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '768324')) 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 (26))))))) 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 (26)))))) 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 (26)))))) 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 (26))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-04 11:05:44 Duration: 2s501ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '856477')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (22))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-04 11:18:03 Duration: 2s492ms
7 631ms 7s980ms 876ms 45,386 11h3m16s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 04 00 362 4m20s 718ms 01 742 8m39s 700ms 02 374 4m31s 725ms 03 261 3m7s 718ms 04 162 2m9s 797ms 05 339 4m18s 762ms 06 400 4m57s 743ms 07 268 3m15s 730ms 08 1,155 16m8s 838ms 09 3,382 44m30s 789ms 10 5,105 1h21m27s 957ms 11 3,963 1h36m47s 1s465ms 12 4,766 1h16m31s 963ms 13 3,784 56m4s 889ms 14 3,920 50m51s 778ms 15 3,076 38m25s 749ms 16 1,696 20m32s 726ms 17 947 11m8s 705ms 18 1,740 21m9s 729ms 19 2,219 31m24s 849ms 20 2,370 30m11s 764ms 21 2,462 29m57s 729ms 22 1,893 22m47s 722ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5950012, 5950009, 5950006, 5949999, 5949998, 5949997, 5949996, 5949995)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 11:22:19 Duration: 7s980ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5947924, 5947709, 5947689, 5947648, 5947491, 5940040, 5939297, 5939062, 5938601, 5938428, 5938301, 5937768, 5937126, 5937124, 5937041, 5937035, 5936382, 5935502, 5935042, 5934574, 5933097, 5930575, 5930530, 5930268, 5930253, 5928630, 5926186, 5926033, 5925743, 5925208, 5925137, 5924895, 5923572, 5922699, 5922124, 5919282, 5918586, 5916553, 5908642, 5903551)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 11:15:07 Duration: 7s682ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5947597, 5946707, 5939899, 5939895, 5939632, 5936610, 5936517, 5936500, 5935662, 5935289, 5934793, 5934710, 5934265, 5930263, 5929523, 5928696, 5928625, 5927130, 5924412, 5921719, 5920888, 5920024, 5918623, 5914345, 5910353, 5902133)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 10:57:32 Duration: 7s540ms
8 628ms 7s508ms 826ms 284,423 2d17h18m21s 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 #8
Day Hour Count Duration Avg duration Mar 04 00 5,459 1h2m41s 689ms 01 7,563 1h27m42s 695ms 02 7,538 1h27m57s 700ms 03 4,502 53m51s 717ms 04 8,156 1h36m55s 713ms 05 10,595 2h5m31s 710ms 06 9,142 1h48m15s 710ms 07 5,984 1h7m10s 673ms 08 14,819 3h16m3s 793ms 09 15,747 3h22m1s 769ms 10 19,850 5h17m27s 959ms 11 27,707 9h14m30s 1s200ms 12 21,810 5h29m1s 905ms 13 18,641 4h24m9s 850ms 14 12,541 2h41m45s 773ms 15 11,268 2h20m44s 749ms 16 9,375 1h56m23s 744ms 17 6,309 1h14m42s 710ms 18 10,401 2h4m6s 715ms 19 19,874 4h34m3s 827ms 20 16,925 3h44m2s 794ms 21 12,009 2h28m13s 740ms 22 8,208 1h40m59s 738ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5950269)) AND (("shipping_track"."id" not in (49625474, 49625474)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 11:16:04 Duration: 7s508ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5950216)) AND (("shipping_track"."id" not in (49622131, 49622131)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 11:11:00 Duration: 7s505ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5949937)) AND (("shipping_track"."id" not in (49614569, 49614569)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-04 10:55:48 Duration: 7s496ms
9 24ms 1s866ms 733ms 2,323 28m22s 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 #9
Day Hour Count Duration Avg duration Mar 04 00 14 3s482ms 248ms 01 2 1s87ms 543ms 02 3 1s605ms 535ms 03 5 3s56ms 611ms 07 5 1s964ms 392ms 08 33 14s772ms 447ms 09 94 55s546ms 590ms 10 224 3m5s 826ms 11 247 3m50s 931ms 12 353 4m41s 798ms 13 395 4m59s 757ms 14 275 3m5s 673ms 15 261 2m35s 595ms 16 70 51s947ms 742ms 17 20 15s270ms 763ms 18 61 41s188ms 675ms 19 94 1m1s 658ms 20 69 48s329ms 700ms 21 63 43s225ms 686ms 22 35 22s443ms 641ms -
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 (64)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-04 11:13:10 Duration: 1s866ms
-
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 (40)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (40))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-04 11:17:45 Duration: 1s856ms
-
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 (53)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (53))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-04 11:14:58 Duration: 1s848ms
10 275ms 3s377ms 468ms 22,247 2h53m44s 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 #10
Day Hour Count Duration Avg duration Mar 04 07 189 1m3s 336ms 08 2,728 18m50s 414ms 09 2,339 15m51s 406ms 10 2,834 23m22s 494ms 11 4,825 43m34s 541ms 12 3,530 28m32s 485ms 13 3,130 23m55s 458ms 14 1,471 10m52s 443ms 15 739 4m42s 382ms 16 462 2m59s 388ms -
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" = '661690')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-04 10:57:40 Duration: 3s377ms
-
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" = '712803')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-04 10:59:14 Duration: 3s359ms
-
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" = '847537')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-04 10:57:46 Duration: 3s286ms
11 248ms 2s813ms 440ms 3,374 24m47s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 04 03 121 31s512ms 260ms 05 132 35s584ms 269ms 06 63 16s995ms 269ms 09 170 51s672ms 303ms 10 1,669 12m40s 455ms 11 1,032 8m52s 515ms 13 70 23s95ms 329ms 14 52 17s755ms 341ms 16 24 6s287ms 261ms 21 41 11s389ms 277ms -
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" = '546162')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:30 Duration: 2s813ms
-
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" = '752889')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:33 Duration: 2s757ms
-
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" = '823467')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:58:44 Duration: 2s753ms
12 239ms 2s887ms 332ms 131,862 12h10m52s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 04 00 1,135 4m54s 259ms 01 1,650 7m15s 263ms 02 2,056 8m55s 260ms 03 794 3m26s 260ms 04 2,436 10m38s 262ms 05 2,885 12m48s 266ms 06 2,223 9m49s 264ms 07 2,533 10m58s 260ms 08 13,086 1h6m50s 306ms 09 6,345 32m11s 304ms 10 15,526 1h41m59s 394ms 11 12,630 1h29m11s 423ms 12 10,018 58m56s 353ms 13 6,816 38m 334ms 14 7,502 38m13s 305ms 15 2,024 9m42s 288ms 16 1,263 5m50s 277ms 17 4,987 23m19s 280ms 18 16,579 1h27m3s 315ms 19 15,642 1h33m30s 358ms 20 863 4m9s 289ms 21 1,332 6m7s 276ms 22 1,537 6m55s 270ms -
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" = '9577994')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:31 Duration: 2s887ms
-
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" = '7785797')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:39 Duration: 2s800ms
-
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" = '736204')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:05 Duration: 2s769ms
13 244ms 2s769ms 326ms 17,198 1h33m36s 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 Mar 04 00 213 55s540ms 260ms 01 684 3m1s 265ms 02 115 30s150ms 262ms 03 191 49s755ms 260ms 04 120 31s599ms 263ms 05 352 1m34s 267ms 06 771 3m21s 261ms 07 1,311 5m41s 260ms 08 550 2m42s 295ms 09 1,557 7m44s 298ms 10 1,627 12m13s 450ms 11 1,886 14m34s 463ms 12 1,917 11m2s 345ms 13 559 3m11s 343ms 14 946 4m55s 312ms 15 507 2m28s 292ms 16 257 1m12s 280ms 17 217 58s659ms 270ms 18 292 1m20s 277ms 19 347 1m44s 300ms 20 855 4m7s 289ms 21 1,291 5m57s 276ms 22 633 2m54s 275ms -
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" = '7785797')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:36 Duration: 2s769ms
-
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" = '367101')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:33 Duration: 2s766ms
-
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" = '877348')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 10:57:41 Duration: 2s682ms
14 90ms 955ms 241ms 62,902 4h12m49s 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 Mar 04 00 1,362 4m38s 204ms 01 2,002 7m29s 224ms 02 2,938 9m13s 188ms 03 2,940 10m8s 207ms 04 4,354 15m39s 215ms 05 3,826 14m39s 229ms 06 2,702 10m17s 228ms 07 20 4s73ms 203ms 08 282 1m24s 299ms 09 716 2m48s 235ms 10 875 4m48s 329ms 11 2,007 12m43s 380ms 12 902 4m27s 296ms 13 1,032 4m26s 258ms 14 1,940 7m41s 238ms 15 3,184 13m4s 246ms 16 5,262 22m9s 252ms 17 2,150 8m20s 232ms 18 980 3m56s 241ms 19 5,828 26m12s 269ms 20 8,725 35m5s 241ms 21 4,892 18m34s 227ms 22 3,983 14m53s 224ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'ابو حستن')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-04 19:06:23 Duration: 955ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'عقلي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-04 11:07:25 Duration: 945ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'جم')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-04 10:45:59 Duration: 941ms
15 120ms 1s257ms 229ms 6,462 24m42s 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 #15
Day Hour Count Duration Avg duration Mar 04 00 36 4s720ms 131ms 01 53 7s20ms 132ms 02 3 394ms 131ms 03 15 2s11ms 134ms 04 2 266ms 133ms 07 50 6s556ms 131ms 08 309 47s752ms 154ms 09 409 1m1s 151ms 10 689 2m43s 236ms 11 1,393 9m43s 418ms 12 1,190 3m57s 199ms 13 702 2m10s 185ms 14 410 1m3s 155ms 15 166 23s590ms 142ms 16 173 24s406ms 141ms 17 54 7s634ms 141ms 18 101 14s194ms 140ms 19 83 13s893ms 167ms 20 197 29s373ms 149ms 21 224 31s602ms 141ms 22 203 28s541ms 140ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 5)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-04 11:21:11 Duration: 1s257ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 28)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-04 11:19:21 Duration: 1s256ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 64)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-04 11:22:06 Duration: 1s255ms
16 165ms 279ms 201ms 10,513 35m23s 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 #16
Day Hour Count Duration Avg duration Mar 04 00 923 3m 195ms 01 863 2m51s 198ms 02 1,810 5m58s 198ms 03 482 1m35s 198ms 04 2,202 7m24s 201ms 05 2,206 7m39s 208ms 06 1,308 4m31s 207ms 07 715 2m20s 197ms 09 4 829ms 207ms -
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" = '739169')) 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-03-04 05:45:34 Duration: 279ms
-
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" = '691466')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 36, 37, 40, 41, 42, 43, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 05:45:34 Duration: 270ms
-
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" = '669777')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-04 05:41:47 Duration: 268ms
17 113ms 1s62ms 164ms 22,761 1h2m13s 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 Mar 04 00 543 1m8s 126ms 01 166 22s589ms 136ms 02 38 5s24ms 132ms 03 35 4s581ms 130ms 04 40 5s247ms 131ms 05 24 3s264ms 136ms 06 34 4s529ms 133ms 07 20 2s650ms 132ms 08 208 33s618ms 161ms 09 1,265 3m5s 146ms 10 2,974 9m8s 184ms 11 2,356 9m1s 229ms 12 3,056 8m47s 172ms 13 2,683 6m57s 155ms 14 3,094 7m38s 148ms 15 1,519 3m29s 137ms 16 983 2m10s 132ms 17 250 34s886ms 139ms 18 383 55s282ms 144ms 19 996 2m44s 164ms 20 903 2m14s 149ms 21 748 1m50s 147ms 22 443 1m4s 146ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8258702)) AND (("cash_track"."id" not in (8915120)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-04 11:05:51 Duration: 1s62ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8258836)) AND (("cash_track"."id" not in (8916159)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-04 11:19:44 Duration: 1s33ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8258777)) AND (("cash_track"."id" not in (8915688)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-04 11:12:09 Duration: 1s28ms
18 56ms 459ms 86ms 52,101 1h15m17s select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 04 00 2 139ms 69ms 08 7,075 9m13s 78ms 09 5,252 6m37s 75ms 10 4,412 7m8s 97ms 11 10,652 18m41s 105ms 12 7,525 10m49s 86ms 13 10,670 14m38s 82ms 14 3,218 4m12s 78ms 15 2,240 2m42s 72ms 16 761 52s646ms 69ms 17 289 19s245ms 66ms 18 5 382ms 76ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5869425) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-04 10:56:29 Duration: 459ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5782605) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-04 11:01:32 Duration: 452ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5865572) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-04 11:09:08 Duration: 452ms
19 50ms 368ms 81ms 25,076 33m59s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 04 08 2,781 3m19s 71ms 09 2,053 2m23s 70ms 10 3,772 6m15s 99ms 11 4,283 6m37s 92ms 12 5,729 7m30s 78ms 13 3,637 4m38s 76ms 14 1,355 1m33s 68ms 15 1,003 1m11s 71ms 16 463 29s16ms 62ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5893237) ORDER BY "collection_policy"."id";
Date: 2025-03-04 11:47:46 Duration: 368ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5869848) ORDER BY "collection_policy"."id";
Date: 2025-03-04 11:14:30 Duration: 367ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5820712) ORDER BY "collection_policy"."id";
Date: 2025-03-04 10:59:07 Duration: 366ms
20 43ms 489ms 65ms 155,075 2h48m44s select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 04 00 2,355 2m9s 55ms 01 2,913 2m40s 54ms 02 2,888 2m38s 54ms 03 1,331 1m13s 55ms 04 3,042 2m48s 55ms 05 3,167 2m54s 55ms 06 3,215 2m58s 55ms 07 1,519 1m24s 55ms 08 5,509 5m43s 62ms 09 10,924 11m1s 60ms 10 12,052 14m36s 72ms 11 19,210 28m46s 89ms 12 14,877 17m29s 70ms 13 14,222 15m44s 66ms 14 8,059 8m10s 60ms 15 8,469 8m10s 57ms 16 6,100 5m44s 56ms 17 2,386 2m13s 55ms 18 4,151 3m55s 56ms 19 5,694 6m4s 64ms 20 9,371 9m20s 59ms 21 8,371 7m57s 57ms 22 5,250 4m56s 56ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5914992, 5898791, 5855736, 5837298, 5821044, 5754319)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-04 11:01:21 Duration: 489ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5880256, 5856727, 5832673, 5825960, 5786046)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-04 10:57:03 Duration: 458ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5951446, 5951445, 5951444, 5951443, 5951442, 5951441, 5951440, 5951439)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-04 13:02:16 Duration: 443ms
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
- 17,767,803 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 217 FATAL entries
- 325 ERROR entries
- 0 WARNING entries
- 68 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 306 Max number of times the same event was reported
- 610 Total events found
Rank Times reported Error 1 306 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 04 00 1 01 3 03 2 04 1 05 4 06 6 08 46 09 11 10 45 11 36 12 28 13 26 14 21 15 3 16 6 17 9 18 13 19 30 20 3 21 4 22 8 - 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 "destination_office" = 17, "last_office_warehouse" = NULL, "last_warehouse" = 37, "new_destination_button" = true, "to_office" = 17, "write_date" = '2025-03-03 23:55:53.233211', "write_uid" = 1008 WHERE id IN (5938811, 5938283, 5938219, 5938186, 5938182, 5938160, 5938135, 5930532, 5930409, 5930374, 5930366, 5930341, 5930333, 5930312, 5930303, 5926587, 5926561, 5925167, 5919080, 5918890, 5915100)
Date: 2025-03-04 00:57:41
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-04 00:06:00.816444', "write_uid" = 1001 WHERE id IN (44933250)
Date: 2025-03-04 01:08:01
Statement: UPDATE "shipping_policy" SET "destination_type" = 'warehouse', "last_action" = '2025-03-04', "last_car" = 13, "last_driver" = 8007152, "last_office" = NULL, "last_office_warehouse" = 55, "last_warehouse" = 61, "state" = 'in_way', "write_date" = '2025-03-04 00:08:34.500831', "write_uid" = 1247 WHERE id IN (5939969, 5939964, 5939960, 5939958, 5939948, 5939946, 5939942, 5939941, 5939937, 5939936, 5939935, 5939933, 5939932, 5939930, 5939929, 5939926, 5939924, 5939922, 5939912, 5939911, 5939907, 5939906, 5939904, 5939903, 5939902, 5939901, 5939900, 5939897, 5939896, 5939895, 5939894, 5939893, 5939879, 5939870, 5939869, 5939866)
Date: 2025-03-04 01:09:34
2 135 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 04 17 135 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-03-04 17:20:02
Statement: 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 (62))))))) 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 (62)))))) 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 (62)))) AND ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (62)))))) 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 (62))))))))) 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 (62)))))))) AND ("policy_number"."name"::text ilike '%893%')) ORDER BY "policy_number"."id" LIMIT 8
Date: 2025-03-04 17:20:02
Statement: 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 (62))))))) 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 (62)))))) 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 (62)))) AND ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (62)))))) 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 (62))))))))) 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 (62)))))))) AND ("policy_number"."name"::text ilike '%893021%')) ORDER BY "policy_number"."id" LIMIT 8
Date: 2025-03-04 17:20:02
3 51 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 04 10 27 11 24 4 51 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 04 10 27 11 24 5 12 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 04 10 5 11 7 6 10 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 04 10 2 11 2 12 3 13 1 14 1 20 1 - 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
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (5542371, null, 822, 822, null, 01111140513, null, null, t, 2025-03-04 09:56:12.67936, 2025-03-04 09:56:12.67936, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-03-04 09:56:12.679360', 822, '01111140513', '2025-03-04 09:56:12.679360', 822) RETURNING "id"Date: 2025-03-04 10:56:12
Detail: Failing row contains (5542373, null, 822, 822, null, 01019290965, null, null, t, 2025-03-04 09:57:03.030676, 2025-03-04 09:57:03.030676, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-03-04 09:57:03.030676', 822, '01019290965', '2025-03-04 09:57:03.030676', 822) RETURNING "id"Date: 2025-03-04 10:57:03
Detail: Failing row contains (5542383, null, 822, 822, null, 01013639870, null, null, t, 2025-03-04 10:31:41.202517, 2025-03-04 10:31:41.202517, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-03-04 10:31:41.202517', 822, '01013639870', '2025-03-04 10:31:41.202517', 822) RETURNING "id"Date: 2025-03-04 11:31:41
7 9 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 04 15 3 17 3 19 3 - FATAL: password authentication failed for user "postgres"
Detail: User "postgres" has no password assigned. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-03-04 15:59:43
8 8 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 04 17 8 9 6 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 04 10 1 11 1 14 3 18 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 5499 waits for ShareLock on transaction 10312964; blocked by process 4492. Process 4492 waits for ShareLock on transaction 10312972; blocked by process 5499. Process 5499: update shipping_policy set count_search=5 where id=5860792 Process 4492: update shipping_policy set count_search=5 where id=5858501
Context: while updating tuple (73835,19) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=5 where id=5860792Date: 2025-03-04 10:33:47
Detail: Process 2517548 waits for ShareLock on transaction 10317446; blocked by process 2517519. Process 2517519 waits for ShareLock on transaction 10317422; blocked by process 2517548. Process 2517548: update shipping_policy set count_search=6 where id=5852232 Process 2517519: update shipping_policy set d_date = '2025-03-04' where id=5809356
Context: while updating tuple (70145,19) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=6 where id=5852232Date: 2025-03-04 11:22:15
Detail: Process 2517502 waits for ShareLock on transaction 10333306; blocked by process 2518320. Process 2518320 waits for ShareLock on transaction 10333341; blocked by process 2517502. Process 2517502: update shipping_policy set count_search=7 where id=5919604 Process 2518320: update shipping_policy set count_search=14 where id=5911106
Context: while updating tuple (62988,49) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=7 where id=5919604Date: 2025-03-04 14:06:20
10 4 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 04 17 4 - FATAL: terminating background worker "parallel worker" due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-03-04 17:20:02
11 4 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 04 10 2 11 2 12 3 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 04 01 1 19 1 20 1 13 2 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 04 19 1 20 1 14 2 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 04 08 1 17 1 - 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 (188893)
Date: 2025-03-04 08:43:38
Statement: DELETE FROM "delegate_track" WHERE id IN (190308)
Date: 2025-03-04 17:35:56
15 2 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #15
Day Hour Count Mar 04 19 1 20 1 16 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #16
Day Hour Count Mar 04 17 1 17 1 FATAL: unsupported frontend protocol 16.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #17
Day Hour Count Mar 04 09 1 18 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #18
Day Hour Count Mar 04 13 1 - ERROR: column urgent_office.is_no_change_office does not exist at character 574
Statement: SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (39)
Date: 2025-03-04 13:33:36
19 1 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #19
Day Hour Count Mar 04 17 1 20 1 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #20
Day Hour Count Mar 04 20 1