-
Global information
- Generated on Thu Feb 20 23:47:27 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 43,218,717 log entries in 2m26s
- Log start from 2025-02-20 00:00:00 to 2025-02-20 22:45:01
-
Overview
Global Stats
- 19,443 Number of unique normalized queries
- 18,224,961 Number of queries
- 5d11h4m10s Total query duration
- 2025-02-20 00:00:00 First query
- 2025-02-20 22:45:01 Last query
- 1,895 queries/s at 2025-02-20 15:17:59 Query peak
- 5d11h4m10s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 5d11h4m10s Execute total duration
- 515 Number of events
- 22 Number of unique normalized events
- 274 Max number of times the same event was reported
- 0 Number of cancellation
- 0 Total number of automatic vacuums
- 0 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 0 Total number of sessions
- 0 sessions at Session peak
- 0ms Total duration of sessions
- 0ms Average duration of sessions
- 18,224,961 Average queries per session
- 5d11h4m10s 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
- 1,895 queries/s Query Peak
- 2025-02-20 15:17:59 Date
SELECT Traffic
Key values
- 1,027 queries/s Query Peak
- 2025-02-20 12:30:27 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,423 queries/s Query Peak
- 2025-02-20 15:17:59 Date
Queries duration
Key values
- 5d11h4m10s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 20 00 278,182 0ms 7s638ms 28ms 5m44s 6m45s 7m17s 01 282,319 0ms 7s157ms 34ms 4m40s 5m14s 7m21s 02 278,855 0ms 3s160ms 40ms 5m8s 6m10s 6m59s 03 285,572 0ms 1s882ms 45ms 5m57s 6m44s 8m3s 04 285,094 0ms 1s908ms 41ms 5m25s 5m29s 6m8s 05 276,777 0ms 29s660ms 44ms 5m41s 6m8s 7m47s 06 289,096 0ms 2s327ms 29ms 4m15s 5m13s 6m11s 07 224,044 0ms 2s233ms 28ms 3m7s 4m11s 5m44s 08 472,188 0ms 6s797ms 20ms 4m35s 4m55s 5m25s 09 924,369 0ms 30s225ms 16ms 6m37s 7m35s 10m26s 10 1,567,485 0ms 2m32s 22ms 14m28s 15m2s 17m16s 11 1,844,146 0ms 41s370ms 26ms 21m36s 23m15s 25m52s 12 1,515,297 0ms 12s500ms 17ms 10m12s 10m38s 11m48s 13 1,484,693 0ms 21s722ms 19ms 11m1s 14m40s 20m9s 14 1,235,466 0ms 8s636ms 18ms 10m18s 11m9s 15m33s 15 1,143,288 0ms 50s275ms 16ms 8m32s 9m15s 10m45s 16 1,211,072 0ms 51s659ms 19ms 9m11s 9m39s 13m9s 17 1,015,763 0ms 46s546ms 18ms 11m29s 12m26s 14m10s 18 1,035,172 0ms 3m20s 33ms 15m49s 17m23s 18m11s 19 854,451 0ms 54s369ms 31ms 11m 12m25s 14m37s 20 829,199 0ms 1m24s 48ms 22m16s 24m47s 25m39s 21 584,870 0ms 4s263ms 43ms 9m18s 9m41s 10m43s 22 307,563 0ms 4s179ms 44ms 8m20s 10m3s 10m47s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 20 00 145,639 0 55ms 3m51s 5m44s 6m53s 01 147,445 0 65ms 3m38s 4m39s 5m22s 02 142,948 0 78ms 4m28s 5m8s 6m46s 03 151,174 0 85ms 4m52s 5m56s 7m7s 04 147,702 0 80ms 4m35s 5m24s 5m31s 05 140,160 0 87ms 4m32s 5m41s 6m29s 06 148,896 0 56ms 3m26s 4m15s 5m33s 07 118,965 0 53ms 2m34s 3m7s 4m28s 08 274,324 0 36ms 3m54s 4m34s 5m21s 09 539,309 0 27ms 5m50s 6m36s 8m40s 10 898,912 0 39ms 12m36s 14m27s 15m52s 11 1,045,934 0 47ms 17m3s 21m34s 24m35s 12 846,549 0 31ms 9m7s 10m10s 11m15s 13 833,303 0 34ms 10m22s 11m 15m41s 14 684,881 0 32ms 8m44s 10m17s 12m40s 15 633,914 0 30ms 6m58s 8m31s 10m35s 16 674,535 370 34ms 8m24s 9m6s 10m 17 590,559 370 32ms 7m6s 11m28s 12m55s 18 592,031 185 57ms 13m3s 14m50s 17m4s 19 474,533 1,110 57ms 10m30s 10m59s 12m33s 20 468,585 0 85ms 15m51s 22m14s 24m45s 21 331,975 0 76ms 8m47s 9m18s 10m19s 22 173,081 0 78ms 7m31s 8m20s 10m46s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 20 00 20,871 4,710 92 0 0ms 145ms 226ms 355ms 01 25,573 5,139 99 0 0ms 137ms 210ms 270ms 02 28,688 7,356 96 0 0ms 169ms 208ms 272ms 03 34,662 7,092 91 0 0ms 195ms 250ms 345ms 04 27,365 6,758 119 0 0ms 177ms 207ms 232ms 05 29,280 7,574 95 0 1ms 169ms 227ms 309ms 06 21,016 4,671 91 0 0ms 115ms 145ms 183ms 07 15,533 3,016 69 0 0ms 86ms 127ms 165ms 08 25,373 5,887 324 0 0ms 145ms 175ms 253ms 09 44,243 10,871 813 0 1ms 266ms 340ms 22s243ms 10 86,369 20,001 875 0 0ms 584ms 663ms 928ms 11 106,664 22,132 757 0 1ms 817ms 1s29ms 9s31ms 12 77,182 17,279 797 0 0ms 448ms 521ms 655ms 13 80,496 17,201 821 0 0ms 461ms 554ms 813ms 14 63,316 14,518 701 0 0ms 341ms 435ms 573ms 15 64,268 15,398 759 0 0ms 328ms 389ms 501ms 16 63,200 15,534 921 0 0ms 350ms 450ms 553ms 17 58,369 14,622 596 0 1ms 463ms 570ms 1s577ms 18 87,570 23,040 606 0 2ms 641ms 773ms 1s450ms 19 68,817 15,543 746 0 0ms 453ms 507ms 682ms 20 77,550 24,647 556 0 1ms 591ms 690ms 8s796ms 21 64,686 15,498 324 0 0ms 397ms 452ms 502ms 22 33,596 5,141 125 0 0ms 274ms 351ms 447ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Feb 20 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 2 2 1.00 0.00% 17 1 1 1.00 0.00% 18 1 1 1.00 0.00% 19 3 3 1.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Feb 20 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s Day Hour Count Average Duration Average idle time Feb 20 00 0 0ms 0ms 01 0 0ms 0ms 02 0 0ms 0ms 03 0 0ms 0ms 04 0 0ms 0ms 05 0 0ms 0ms 06 0 0ms 0ms 07 0 0ms 0ms 08 0 0ms 0ms 09 0 0ms 0ms 10 0 0ms 0ms 11 0 0ms 0ms 12 0 0ms 0ms 13 0 0ms 0ms 14 0 0ms 0ms 15 0 0ms 0ms 16 0 0ms 0ms 17 0 0ms 0ms 18 0 0ms 0ms 19 0 0ms 0ms 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
- 316,450 buffers Checkpoint Peak
- 2025-02-20 11:51:20 Date
- 270.050 seconds Highest write time
- 0.018 seconds Sync time
Checkpoints Wal files
Key values
- 171 files Wal files usage Peak
- 2025-02-20 11:51:20 Date
Checkpoints distance
Key values
- 5,483.11 Mo Distance Peak
- 2025-02-20 11:51:20 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Feb 20 00 95,958 3,239.681s 0.032s 3,239.751s 01 185,284 3,239.535s 0.031s 3,239.619s 02 169,011 3,239.515s 0.035s 3,239.6s 03 159,759 3,239.57s 0.045s 3,239.659s 04 145,313 3,239.577s 0.034s 3,239.658s 05 188,023 3,239.565s 0.039s 3,239.653s 06 158,989 3,214.542s 0.034s 3,214.625s 07 130,633 3,239.619s 0.029s 3,239.689s 08 146,225 3,239.565s 0.033s 3,239.642s 09 322,158 3,239.484s 0.047s 3,239.596s 10 598,077 3,239.497s 0.058s 3,239.657s 11 923,048 3,239.32s 0.09s 3,239.669s 12 587,134 3,239.48s 0.056s 3,239.716s 13 562,913 3,239.433s 0.052s 3,239.576s 14 464,200 3,239.557s 0.052s 3,239.68s 15 438,445 3,239.48s 0.057s 3,239.611s 16 428,748 3,239.484s 0.05s 3,239.615s 17 348,708 2,891.63s 0.073s 2,891.77s 18 345,377 3,239.504s 0.06s 3,239.66s 19 348,868 3,239.513s 0.048s 3,239.66s 20 330,348 3,239.48s 0.051s 3,239.602s 21 259,355 3,239.55s 0.046s 3,239.651s 22 157,977 2,429.63s 0.028s 2,429.7s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 20 00 0 0 42 2,840 0.002s 0.012s 01 0 0 82 3,048 0.002s 0.012s 02 0 0 78 3,137 0.002s 0.012s 03 0 0 72 2,939 0.011s 0.012s 04 0 0 65 2,963 0.002s 0.012s 05 0 0 87 3,282 0.002s 0.012s 06 0 0 73 2,796 0.004s 0.012s 07 0 0 57 2,774 0.002s 0.012s 08 0 0 63 3,252 0.002s 0.012s 09 0 0 139 4,754 0.002s 0.012s 10 0 0 261 5,143 0.003s 0.012s 11 1 24 411 5,258 0.004s 0.012s 12 0 62 144 5,178 0.002s 0.012s 13 0 0 199 5,166 0.003s 0.012s 14 0 0 165 5,188 0.002s 0.012s 15 0 0 159 5,465 0.002s 0.012s 16 0 0 151 5,496 0.002s 0.012s 17 0 0 126 5,310 0.010s 0.012s 18 0 0 137 5,425 0.002s 0.012s 19 0 0 149 5,263 0.002s 0.012s 20 0 0 130 5,164 0.002s 0.012s 21 0 0 106 4,835 0.002s 0.012s 22 0 0 65 3,386 0.002s 0.009s Day Hour Count Avg time (sec) Feb 20 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Feb 20 00 56,733.33 kB 93,520.42 kB 01 112,655.58 kB 164,001.58 kB 02 106,154.83 kB 139,597.67 kB 03 98,480.42 kB 128,409.75 kB 04 88,664.75 kB 116,158.50 kB 05 118,763.75 kB 138,851.92 kB 06 99,943.42 kB 136,332.33 kB 07 77,468.58 kB 113,385.83 kB 08 85,100.45 kB 114,097.91 kB 09 189,322.08 kB 209,825.92 kB 10 357,274.17 kB 399,718.92 kB 11 607,040.82 kB 869,288.36 kB 12 280,939.08 kB 1,514,159.50 kB 13 272,282.50 kB 614,580.25 kB 14 216,579.73 kB 354,780.55 kB 15 216,847.25 kB 267,332.75 kB 16 206,298.08 kB 244,327.67 kB 17 171,597.42 kB 230,115.17 kB 18 187,390.00 kB 207,884.42 kB 19 202,760.42 kB 266,335.50 kB 20 177,988.50 kB 224,232.42 kB 21 144,857.50 kB 222,356.42 kB 22 117,445.56 kB 162,820.44 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Feb 20 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Feb 20 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 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,205,354 Total read queries
- 5,455,939 Total write queries
Queries by database
Key values
- unknown Main database
- 18,224,961 Requests
- 5d11h4m10s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 18,224,961 Requests
User Request type Count Duration unknown Total 18,224,961 5d11h4m10s copy to 2,035 11m15s cte 7,003 1s864ms ddl 87 13ms delete 10,473 1s962ms insert 1,204,687 6m46s others 2,563,668 2m39s select 10,205,354 5d10h25m14s tcl 3,948,026 2m48s update 283,628 15m21s Duration by user
Key values
- 5d11h4m10s (unknown) Main time consuming user
User Request type Count Duration unknown Total 18,224,961 5d11h4m10s copy to 2,035 11m15s cte 7,003 1s864ms ddl 87 13ms delete 10,473 1s962ms insert 1,204,687 6m46s others 2,563,668 2m39s select 10,205,354 5d10h25m14s tcl 3,948,026 2m48s update 283,628 15m21s Queries by host
Key values
- unknown Main host
- 18,224,961 Requests
- 5d11h4m10s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 18,224,961 Requests
- 5d11h4m10s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-02-20 03:43:09 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 16,694,181 0-1ms duration
Slowest individual queries
Rank Duration Query 1 3m20s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-20 17:28:31.195267', "write_uid" = 1238 WHERE id IN (44644588);[ Date: 2025-02-20 18:31:53 ]
2 2m32s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 10:35:13 ]
3 2m16s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 10:35:56 ]
4 1m24s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-20 19:06:25.592224', "write_uid" = 1463 WHERE id IN (44679175);[ Date: 2025-02-20 20:07:52 ]
5 1m18s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-20 17:35:00.407885', "write_uid" = 1238 WHERE id IN (44644588);[ Date: 2025-02-20 18:36:21 ]
6 1m3s UPDATE "shipping_policy" SET "edit_cash_button" = false, "new_destination_button" = false, "return_button" = true, "state" = 'wating', "total_collection_amount" = true, "wating_date" = '2025-02-20', "wating_reason" = 'غدا', "write_date" = '2025-02-20 19:40:46.738984', "write_uid" = 1041 WHERE id IN (5505357);[ Date: 2025-02-20 20:41:53 ]
7 1m3s 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)))) AND ("policy_number"."name"::text ilike '%4%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 10:34:44 ]
8 54s369ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 19:51:44 ]
9 53s812ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 19:51:49 ]
10 52s104ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 18:49:48 ]
11 51s659ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 16:10:54 ]
12 50s275ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 15:53:19 ]
13 49s366ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 18:57:41 ]
14 48s737ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 20:14:04 ]
15 48s416ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 20:12:13 ]
16 47s558ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 20:12:39 ]
17 46s977ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 20:14:50 ]
18 46s546ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 17:09:04 ]
19 44s605ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 20:14:26 ]
20 44s213ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-20 19:46:24 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2d20h30m44s 302,640 626ms 7s169ms 814ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 20 00 6,563 1h18m22s 716ms 01 8,533 1h40m22s 705ms 02 9,261 1h50m24s 715ms 03 10,266 2h4m2s 724ms 04 10,122 2h3s 711ms 05 10,197 2h23s 708ms 06 8,441 1h37m50s 695ms 07 5,710 1h6m24s 697ms 08 7,610 1h29m36s 706ms 09 10,272 2h5m49s 734ms 10 19,760 4h52m24s 887ms 11 25,090 7h11m25s 1s31ms 12 15,860 3h37m42s 823ms 13 17,992 4h15m12s 851ms 14 14,174 3h9m3s 800ms 15 11,489 2h27m42s 771ms 16 14,248 3h9m24s 797ms 17 10,698 2h18m38s 777ms 18 19,334 4h36m32s 858ms 19 19,759 4h27m43s 812ms 20 18,669 5h3m38s 975ms 21 17,274 3h43m53s 777ms 22 11,318 2h24m5s 763ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5583540)) AND (("shipping_track"."id" not in (46339533, 46339533)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 20:43:35 Duration: 7s169ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5583444)) AND (("shipping_track"."id" not in (46338840, 46338840)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 20:41:53 Duration: 6s866ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5583349)) AND (("shipping_track"."id" not in (46338230, 46338230)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 20:40:07 Duration: 6s769ms
2 13h39m3s 142,890 243ms 2s626ms 343ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 20 00 1,860 8m49s 284ms 01 1,816 8m33s 282ms 02 3,492 16m40s 286ms 03 2,454 11m39s 285ms 04 3,348 15m53s 284ms 05 4,329 20m41s 286ms 06 2,935 13m53s 284ms 07 2,757 12m55s 281ms 08 2,130 10m6s 284ms 09 3,755 19m29s 311ms 10 11,150 1h7m40s 364ms 11 13,667 1h34m12s 413ms 12 8,506 47m30s 335ms 13 7,051 41m15s 351ms 14 6,591 35m48s 326ms 15 6,206 33m24s 322ms 16 4,780 25m48s 323ms 17 8,162 46m47s 344ms 18 10,648 59m58s 337ms 19 4,380 22m34s 309ms 20 23,202 2h38m22s 409ms 21 9,431 45m49s 291ms 22 240 1m7s 280ms -
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" = '608704')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 20:43:38 Duration: 2s626ms
-
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" = '604121')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:39:08 Duration: 2s605ms
-
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" = '608556')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:39:00 Duration: 2s580ms
3 11h41m7s 49,525 629ms 6s523ms 849ms select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 20 00 133 1m43s 778ms 01 355 4m25s 748ms 02 512 6m20s 743ms 03 265 3m25s 774ms 04 337 4m16s 762ms 05 306 3m53s 762ms 06 301 3m42s 740ms 07 228 2m46s 730ms 08 1,529 18m16s 717ms 09 3,461 42m58s 745ms 10 4,552 1h11m22s 940ms 11 3,938 1h15m35s 1s151ms 12 3,844 54m17s 847ms 13 4,635 1h7m16s 870ms 14 3,907 53m14s 817ms 15 3,344 43m41s 783ms 16 4,140 54m42s 792ms 17 2,563 33m14s 778ms 18 3,027 41m47s 828ms 19 3,314 43m51s 794ms 20 2,687 42m58s 959ms 21 1,560 19m51s 764ms 22 587 7m22s 753ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5566152, 5561880, 5558353, 5556681, 5555690, 5549869, 5548611, 5544224, 5543438, 5543423, 5542433, 5538754, 5537331, 5536587, 5536421, 5534842, 5533217, 5533007, 5532820, 5532210, 5529742, 5528028, 5523093, 5520808, 5518369, 5508474, 5504686, 5501956, 5497993, 5489621, 5481702, 5480449, 5468604, 5468595, 5270890, 5252853, 4850788)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 20:43:32 Duration: 6s523ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5564741, 5563575, 5563545, 5559437, 5557725, 5557459, 5557443, 5557433, 5556392, 5555704, 5553526, 5553460, 5553034, 5551795, 5551510, 5551422, 5550724, 5550641, 5550554, 5550152, 5547845, 5545563, 5544040, 5543446, 5543430, 5543090, 5542709, 5542434, 5542432, 5542328, 5542153, 5537694, 5536535, 5536268, 5536203, 5535096, 5534932, 5533969, 5533149, 5533039, 5532961, 5531861, 5530710, 5529799, 5529344, 5529301, 5503775, 5496336, 5496064, 5495948, 5493982, 5492726, 5492037, 5490490)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 11:27:06 Duration: 6s423ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5563674, 5562699, 5562678, 5560582, 5560580, 5558552, 5557450, 5556379, 5551751, 5546146, 5545520, 5543206, 5543075, 5543001, 5542500, 5541815, 5541788, 5541225, 5540753, 5540380, 5537535, 5534717, 5534106, 5532365, 5531936, 5531357, 5530791, 5518933, 5503723, 5496061, 5493945)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 11:27:16 Duration: 6s275ms
4 6h23m35s 19,909 838ms 2s952ms 1s156ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 20 00 819 14m38s 1s72ms 01 514 9m 1s51ms 02 811 14m14s 1s53ms 03 1,529 27m44s 1s88ms 04 1,470 26m21s 1s75ms 05 1,373 25m6s 1s97ms 06 310 5m32s 1s72ms 07 362 6m11s 1s27ms 08 913 16m10s 1s63ms 09 143 2m37s 1s98ms 10 245 5m28s 1s342ms 11 138 3m20s 1s455ms 12 140 2m55s 1s255ms 13 62 1m21s 1s312ms 14 250 4m42s 1s130ms 15 372 7m11s 1s159ms 16 1,187 23m23s 1s182ms 17 1,110 20m46s 1s122ms 18 2,591 54m46s 1s268ms 19 1,151 22m36s 1s178ms 20 1,817 40m16s 1s329ms 21 1,548 29m27s 1s141ms 22 1,054 19m40s 1s119ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9964734')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-20 20:35:49 Duration: 2s952ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9625974')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-20 20:47:53 Duration: 2s882ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '312646')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-20 20:41:32 Duration: 2s879ms
5 5h2m41s 70,772 100ms 920ms 256ms select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 20 00 2,194 8m35s 235ms 01 2,654 10m15s 232ms 02 2,830 10m16s 217ms 03 4,924 17m31s 213ms 04 2,968 12m17s 248ms 05 2,704 10m27s 232ms 06 612 2m14s 219ms 07 722 2m52s 238ms 08 1,820 7m4s 233ms 09 332 1m16s 231ms 10 670 3m42s 332ms 11 426 2m13s 313ms 12 481 1m55s 240ms 13 367 1m43s 281ms 14 1,034 4m11s 243ms 15 1,283 5m29s 257ms 16 3,418 14m46s 259ms 17 4,345 17m56s 247ms 18 10,019 47m42s 285ms 19 5,983 27m32s 276ms 20 7,606 36m36s 288ms 21 8,517 36m19s 255ms 22 4,863 19m39s 242ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-20 18:51:53 Duration: 920ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'محمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-20 18:51:53 Duration: 920ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'دعاء')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-20 20:43:51 Duration: 916ms
6 4h43m41s 16,012 257ms 2s853ms 1s63ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 20 00 296 4m42s 953ms 01 837 13m22s 958ms 02 634 10m2s 950ms 03 950 15m2s 950ms 04 44 46s499ms 1s56ms 06 1 865ms 865ms 07 4 3s808ms 952ms 08 7 6s347ms 906ms 09 34 39s252ms 1s154ms 10 101 2m8s 1s274ms 11 81 1m57s 1s447ms 12 110 2m6s 1s154ms 13 125 2m20s 1s127ms 14 272 4m53s 1s78ms 15 286 4m41s 984ms 16 549 9m51s 1s78ms 17 1,093 18m55s 1s38ms 18 2,484 47m53s 1s156ms 19 1,877 33m26s 1s68ms 20 2,030 39m42s 1s173ms 21 2,763 47m8s 1s23ms 22 1,434 23m48s 996ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '245347')) 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-02-20 20:44:02 Duration: 2s853ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '357773')) 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-02-20 20:43:21 Duration: 2s758ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '357326')) 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-02-20 20:43:42 Duration: 2s754ms
7 2h59m5s 171,408 43ms 457ms 62ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 20 00 2,843 2m30s 52ms 01 3,692 3m10s 51ms 02 3,703 3m12s 51ms 03 4,484 3m52s 51ms 04 3,558 3m5s 52ms 05 3,083 2m39s 51ms 06 2,557 2m12s 51ms 07 2,008 1m43s 51ms 08 3,773 3m15s 51ms 09 6,954 6m22s 54ms 10 14,888 16m28s 66ms 11 20,268 26m25s 78ms 12 13,149 13m23s 61ms 13 14,019 14m46s 63ms 14 10,957 10m45s 58ms 15 9,107 8m36s 56ms 16 10,163 9m46s 57ms 17 7,471 7m32s 60ms 18 8,098 9m19s 69ms 19 8,749 9m34s 65ms 20 8,336 10m27s 75ms 21 6,320 6m35s 62ms 22 3,228 3m20s 62ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5506889, 5506746, 5503919, 5500583, 5500284, 5495605, 5491109)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-20 14:09:24 Duration: 457ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5510289, 5496278, 5465878, 5396187)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-20 11:38:33 Duration: 406ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5493890, 5492077)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-20 11:37:47 Duration: 389ms
8 2h56m9s 23,156 289ms 2s889ms 456ms select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 20 08 312 1m58s 379ms 09 1,069 7m19s 411ms 10 4,410 34m51s 474ms 11 3,876 33m5s 512ms 12 3,586 26m23s 441ms 13 3,203 24m34s 460ms 14 2,502 17m43s 425ms 15 2,359 17m4s 434ms 16 1,839 13m7s 428ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '512902')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-20 13:30:26 Duration: 2s889ms
-
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" = '604121')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:37:54 Duration: 2s629ms
-
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" = '469315')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:25:27 Duration: 2s389ms
9 1h51m58s 20,126 244ms 2s585ms 333ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 20 00 427 2m 282ms 01 227 1m4s 281ms 02 152 44s82ms 290ms 03 107 31s173ms 291ms 04 287 1m23s 291ms 05 963 4m38s 289ms 06 539 2m32s 283ms 07 1,050 4m54s 280ms 08 1,202 5m41s 284ms 09 1,719 8m29s 296ms 10 2,715 16m22s 361ms 11 3,252 23m27s 432ms 12 1,589 8m53s 335ms 13 1,154 6m33s 341ms 14 626 3m28s 333ms 15 589 3m5s 314ms 16 778 4m7s 318ms 17 536 2m36s 292ms 18 531 2m44s 310ms 19 394 1m55s 293ms 20 393 2m26s 373ms 21 740 3m30s 284ms 22 156 43s473ms 278ms -
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" = '608556')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:38:57 Duration: 2s585ms
-
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" = '608190')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:39:02 Duration: 2s543ms
-
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" = '543723')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:37:46 Duration: 2s529ms
10 1h24m14s 2,674 116ms 5s29ms 1s890ms select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 20 00 6 4s47ms 674ms 01 2 4s889ms 2s444ms 02 4 9s142ms 2s285ms 07 4 4s424ms 1s106ms 08 51 1m24s 1s653ms 09 145 3m39s 1s511ms 10 230 7m15s 1s892ms 11 240 8m56s 2s236ms 12 322 10m10s 1s895ms 13 363 12m36s 2s84ms 14 272 9m2s 1s993ms 15 277 7m56s 1s721ms 16 201 6m17s 1s875ms 17 236 4m43s 1s199ms 18 133 4m37s 2s85ms 19 65 2m18s 2s133ms 20 73 3m16s 2s696ms 21 26 43s604ms 1s677ms 22 24 53s253ms 2s218ms -
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 (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-20 13:29:31 Duration: 5s29ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-20 11:27:18 Duration: 5s24ms
-
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 (48)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (48))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-20 18:38:24 Duration: 5s22ms
11 1h7m6s 17,645 185ms 301ms 228ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 20 00 1,433 5m20s 223ms 01 1,589 5m57s 225ms 02 3,144 11m50s 225ms 03 2,049 7m51s 230ms 04 2,908 11m6s 229ms 05 3,216 12m26s 232ms 06 2,314 8m47s 228ms 07 946 3m34s 226ms 08 46 10s943ms 237ms -
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" = '622071')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 01:07:42 Duration: 301ms
-
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" = '331639')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 05:09:10 Duration: 292ms
-
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" = '535537')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 05:09:15 Duration: 289ms
12 1h1m3s 49,645 50ms 384ms 73ms select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 20 08 643 39s740ms 61ms 09 871 58s907ms 67ms 10 8,173 10m17s 75ms 11 10,342 14m32s 84ms 12 7,296 8m44s 71ms 13 5,705 6m58s 73ms 14 5,847 6m45s 69ms 15 5,851 6m27s 66ms 16 4,849 5m34s 69ms 17 68 4s321ms 63ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5462275) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:38:07 Duration: 384ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5433495) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:38:19 Duration: 380ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5311158) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:38:25 Duration: 379ms
13 53m17s 21,551 107ms 910ms 148ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 20 00 71 8s903ms 125ms 01 15 1s942ms 129ms 02 14 1s753ms 125ms 04 28 3s582ms 127ms 05 19 2s503ms 131ms 06 12 1s561ms 130ms 08 259 33s943ms 131ms 09 1,266 2m48s 132ms 10 2,128 5m45s 162ms 11 2,024 6m30s 192ms 12 2,633 6m28s 147ms 13 2,422 5m59s 148ms 14 1,791 4m12s 141ms 15 2,494 5m30s 132ms 16 1,799 4m9s 138ms 17 1,013 2m12s 131ms 18 1,463 3m27s 142ms 19 1,141 2m42s 142ms 20 556 1m39s 178ms 21 348 48s11ms 137ms 22 55 7s709ms 140ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8182445)) AND (("cash_track"."id" not in (8396618)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-20 20:42:19 Duration: 910ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8182442)) AND (("cash_track"."id" not in (8396615)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-20 20:41:53 Duration: 901ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8165511)) AND (("cash_track"."id" not in (8270591, 8286235, 8288002, 8365845, 8365845)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-20 11:38:07 Duration: 897ms
14 31m46s 7,338 113ms 2s669ms 259ms 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)))))) and (("cash_policy"."state" not in (...)) or "cash_policy"."state" is null)) limit ?) t;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 20 00 2 250ms 125ms 07 2 314ms 157ms 08 46 11s411ms 248ms 09 60 10s656ms 177ms 10 154 30s823ms 200ms 11 6,185 27m5s 262ms 12 157 33s47ms 210ms 13 194 40s171ms 207ms 14 189 52s763ms 279ms 15 108 30s524ms 282ms 16 87 24s386ms 280ms 17 70 27s98ms 387ms 18 39 9s261ms 237ms 19 16 4s676ms 292ms 20 9 1s766ms 196ms 21 15 2s437ms 162ms 22 5 759ms 151ms -
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 (24, 110)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24, 110))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) LIMIT 10001) t;
Date: 2025-02-20 14:09:30 Duration: 2s669ms
-
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 (24, 110)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24, 110))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) LIMIT 10001) t;
Date: 2025-02-20 16:54:41 Duration: 2s481ms
-
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 (24, 110)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24, 110))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) LIMIT 10001) t;
Date: 2025-02-20 15:41:06 Duration: 2s335ms
15 27m44s 4,634 248ms 2s622ms 359ms 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 #15
Day Hour Count Duration Avg duration Feb 20 05 112 31s433ms 280ms 06 9 2s497ms 277ms 07 761 3m32s 278ms 08 168 47s290ms 281ms 09 180 1m1s 344ms 10 1,099 6m40s 364ms 11 2,178 14m24s 397ms 12 16 6s181ms 386ms 14 69 25s923ms 375ms 19 42 11s189ms 266ms -
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" = '9974348')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:43:33 Duration: 2s622ms
-
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" = '627850')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:27:10 Duration: 2s134ms
-
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" = '547605')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:44:16 Duration: 1s954ms
16 26m12s 23,449 45ms 318ms 67ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 20 08 305 17s797ms 58ms 09 472 29s287ms 62ms 10 5,195 5m51s 67ms 11 4,622 6m9s 80ms 12 2,587 2m46s 64ms 13 2,873 3m3s 63ms 14 2,899 2m58s 61ms 15 2,567 2m35s 60ms 16 1,928 1m59s 61ms 17 1 57ms 57ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5528868) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:35:10 Duration: 318ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5529098) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:40:51 Duration: 316ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5451959) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:27:04 Duration: 312ms
17 23m48s 7,281 121ms 1s234ms 196ms select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 20 00 6 828ms 138ms 01 42 5s619ms 133ms 02 39 5s569ms 142ms 03 10 1s361ms 136ms 08 63 8s701ms 138ms 09 385 55s417ms 143ms 10 834 2m59s 214ms 11 1,295 6m34s 304ms 12 945 2m38s 167ms 13 792 2m21s 178ms 14 443 1m11s 161ms 15 506 1m14s 146ms 16 817 2m33s 188ms 17 621 1m33s 149ms 18 242 39s395ms 162ms 19 107 16s826ms 157ms 20 64 18s444ms 288ms 21 51 7s626ms 149ms 22 19 2s820ms 148ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 11)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-20 10:42:31 Duration: 1s234ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 17)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-20 11:25:26 Duration: 1s228ms
-
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-02-20 11:25:27 Duration: 1s218ms
18 21m19s 337 816ms 8s786ms 3s795ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 20 00 6 18s422ms 3s70ms 01 5 15s222ms 3s44ms 09 22 1m17s 3s542ms 10 13 52s388ms 4s29ms 11 12 56s716ms 4s726ms 12 13 51s207ms 3s939ms 13 5 19s252ms 3s850ms 14 8 28s640ms 3s580ms 15 71 4m10s 3s524ms 16 40 2m20s 3s501ms 17 23 1m16s 3s306ms 18 20 1m16s 3s819ms 19 4 16s261ms 4s65ms 20 58 4m36s 4s761ms 21 15 54s389ms 3s625ms 22 22 1m9s 3s175ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))))) AND ("policy_number"."name"::text ilike '%5%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-20 20:52:50 Duration: 8s786ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (115))))))) 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 (115)))))) 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 (115)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (115)))))) 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 (115))))))))) 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 (115)))))))) AND ("policy_number"."name"::text ilike '%52%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-20 20:35:04 Duration: 7s3ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))))) 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)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))))))) AND ("policy_number"."name"::text ilike '%588336%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-20 20:39:56 Duration: 6s400ms
19 18m7s 1,969 347ms 3s406ms 552ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 20 09 511 3m46s 443ms 10 299 2m47s 561ms 11 597 6m46s 680ms 12 90 43s723ms 485ms 13 100 50s420ms 504ms 14 186 1m44s 559ms 17 150 1m11s 476ms 18 32 15s476ms 483ms 19 4 1s651ms 412ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '452890')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-20 11:24:31 Duration: 3s406ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '452503')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-20 11:24:16 Duration: 3s375ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '452898')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-20 11:24:22 Duration: 3s37ms
20 16m48s 70 166ms 2m32s 14s400ms select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 20 00 34 22s876ms 672ms 01 4 3s112ms 778ms 08 4 4s897ms 1s224ms 09 2 4s276ms 2s138ms 10 3 4m48s 1m36s 12 1 222ms 222ms 14 1 213ms 213ms 15 4 50s925ms 12s731ms 16 2 51s905ms 25s952ms 17 3 1m30s 30s51ms 18 3 1m41s 33s904ms 19 3 2m32s 50s798ms 20 6 3m56s 39s426ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-20 10:35:13 Duration: 2m32s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-20 10:35:56 Duration: 2m16s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-20 19:51:44 Duration: 54s369ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,563,467 2m39s 0ms 16ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 20 00 44,760 2s260ms 0ms 01 43,351 2s294ms 0ms 02 42,081 2s264ms 0ms 03 38,670 2s46ms 0ms 04 42,551 2s337ms 0ms 05 42,132 2s332ms 0ms 06 45,633 2s515ms 0ms 07 35,050 1s860ms 0ms 08 64,791 3s655ms 0ms 09 127,703 7s458ms 0ms 10 212,212 14s722ms 0ms 11 252,610 19s8ms 0ms 12 222,433 14s334ms 0ms 13 214,462 14s144ms 0ms 14 187,033 11s657ms 0ms 15 171,161 10s283ms 0ms 16 181,723 11s224ms 0ms 17 138,715 7s288ms 0ms 18 130,394 7s623ms 0ms 19 116,602 7s95ms 0ms 20 101,369 6s741ms 0ms 21 69,265 4s172ms 0ms 22 38,766 2s191ms 0ms -
DISCARD ALL;
Date: 2025-02-20 14:26:50 Duration: 16ms
-
DISCARD ALL;
Date: 2025-02-20 14:10:21 Duration: 3ms
-
DISCARD ALL;
Date: 2025-02-20 10:41:53 Duration: 2ms
2 1,974,015 34s582ms 0ms 21ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 20 00 31,032 483ms 0ms 01 30,343 486ms 0ms 02 28,836 466ms 0ms 03 26,934 442ms 0ms 04 30,298 490ms 0ms 05 28,764 467ms 0ms 06 34,389 530ms 0ms 07 25,691 401ms 0ms 08 50,673 772ms 0ms 09 100,210 1s521ms 0ms 10 174,193 3s251ms 0ms 11 207,846 4s551ms 0ms 12 175,310 2s898ms 0ms 13 169,001 2s902ms 0ms 14 142,333 2s298ms 0ms 15 128,679 1s987ms 0ms 16 137,143 2s177ms 0ms 17 105,615 1s648ms 0ms 18 100,366 1s929ms 0ms 19 88,371 1s674ms 0ms 20 78,117 1s711ms 0ms 21 51,491 970ms 0ms 22 28,380 519ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-20 10:08:22 Duration: 21ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-20 11:08:02 Duration: 2ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-20 11:42:03 Duration: 2ms
3 1,300,412 14s671ms 0ms 1ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 20 00 23,048 209ms 0ms 01 22,359 208ms 0ms 02 21,650 208ms 0ms 03 19,988 193ms 0ms 04 21,941 216ms 0ms 05 21,659 213ms 0ms 06 23,420 225ms 0ms 07 18,092 169ms 0ms 08 33,221 325ms 0ms 09 64,800 670ms 0ms 10 107,105 1s328ms 0ms 11 127,342 1s745ms 0ms 12 112,249 1s256ms 0ms 13 108,292 1s252ms 0ms 14 94,318 1s12ms 0ms 15 86,466 894ms 0ms 16 91,904 976ms 0ms 17 70,278 733ms 0ms 18 66,104 796ms 0ms 19 59,191 699ms 0ms 20 51,601 690ms 0ms 21 35,398 413ms 0ms 22 19,986 231ms 0ms -
ROLLBACK;
Date: 2025-02-20 22:19:35 Duration: 1ms
-
ROLLBACK;
Date: 2025-02-20 20:50:07 Duration: 0ms
-
ROLLBACK;
Date: 2025-02-20 10:21:11 Duration: 0ms
4 1,294,236 4m3s 0ms 23ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 20 00 22,459 3s457ms 0ms 01 21,768 3s651ms 0ms 02 21,044 3s573ms 0ms 03 19,345 3s327ms 0ms 04 21,294 3s645ms 0ms 05 21,073 3s649ms 0ms 06 22,833 3s796ms 0ms 07 17,579 2s838ms 0ms 08 33,006 5s409ms 0ms 09 64,601 10s894ms 0ms 10 107,313 20s705ms 0ms 11 127,689 26s439ms 0ms 12 112,603 19s931ms 0ms 13 108,473 19s702ms 0ms 14 94,659 16s231ms 0ms 15 86,837 14s374ms 0ms 16 91,674 15s736ms 0ms 17 69,907 13s180ms 0ms 18 65,643 15s123ms 0ms 19 58,819 13s254ms 0ms 20 51,185 12s554ms 0ms 21 34,911 7s756ms 0ms 22 19,521 4s132ms 0ms -
SELECT payload FROM http_sessions WHERE sid = 'f46e29a81465e4a0fdbb96157ca390a417fbe015';
Date: 2025-02-20 10:23:02 Duration: 23ms
-
SELECT payload FROM http_sessions WHERE sid = '37f3f300e8072841eb0215db7d43337fb1748f65';
Date: 2025-02-20 11:36:54 Duration: 23ms
-
SELECT payload FROM http_sessions WHERE sid = '2bf90dc10badab1fb35f1911fdb9eaec779de2a8';
Date: 2025-02-20 12:28:25 Duration: 16ms
5 1,281,679 2m4s 0ms 2ms 0ms select base_registry_signaling.last_value, base_cache_signaling.last_value from base_registry_signaling, base_cache_signaling;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 20 00 22,413 1s906ms 0ms 01 21,713 1s893ms 0ms 02 21,093 1s874ms 0ms 03 19,360 1s725ms 0ms 04 21,318 1s883ms 0ms 05 21,122 1s880ms 0ms 06 22,858 1s998ms 0ms 07 17,584 1s511ms 0ms 08 32,375 2s842ms 0ms 09 63,792 5s752ms 0ms 10 106,082 10s854ms 0ms 11 126,256 13s917ms 0ms 12 111,172 10s606ms 0ms 13 107,159 10s464ms 0ms 14 93,507 8s757ms 0ms 15 85,568 7s759ms 0ms 16 90,817 8s441ms 0ms 17 69,314 6s576ms 0ms 18 65,185 6s941ms 0ms 19 58,280 6s33ms 0ms 20 50,651 5s709ms 0ms 21 34,656 3s501ms 0ms 22 19,404 1s859ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-20 11:32:30 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-20 15:31:33 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-20 15:37:22 Duration: 2ms
6 673,592 1m59s 0ms 93ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 20 00 7,980 1s106ms 0ms 01 7,987 1s620ms 0ms 02 7,185 1s552ms 0ms 03 6,945 1s396ms 0ms 04 8,356 1s712ms 0ms 05 7,105 1s712ms 0ms 06 10,973 1s870ms 0ms 07 7,597 1s243ms 0ms 08 17,452 2s306ms 0ms 09 35,396 5s226ms 0ms 10 67,094 12s407ms 0ms 11 80,504 18s176ms 0ms 12 63,061 9s841ms 0ms 13 60,712 10s421ms 0ms 14 48,019 7s559ms 0ms 15 42,212 6s195ms 0ms 16 45,236 6s575ms 0ms 17 35,327 5s366ms 0ms 18 34,269 6s561ms 0ms 19 29,178 6s198ms 0ms 20 26,514 5s572ms 0ms 21 16,092 3s237ms 0ms 22 8,398 1s584ms 0ms -
COMMIT;
Date: 2025-02-20 11:44:58 Duration: 93ms
-
COMMIT;
Date: 2025-02-20 19:12:18 Duration: 78ms
-
COMMIT;
Date: 2025-02-20 11:46:32 Duration: 78ms
7 590,815 1m50s 0ms 4ms 0ms select "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" from "urgent_customer" where "urgent_customer".id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 20 00 7,119 1s138ms 0ms 01 7,291 963ms 0ms 02 7,068 944ms 0ms 03 7,895 980ms 0ms 04 8,232 1s142ms 0ms 05 6,421 908ms 0ms 06 10,337 1s605ms 0ms 07 6,346 871ms 0ms 08 13,300 1s894ms 0ms 09 29,385 4s416ms 0ms 10 58,418 11s706ms 0ms 11 77,490 27s785ms 0ms 12 53,223 9s208ms 0ms 13 49,791 8s466ms 0ms 14 39,225 6s243ms 0ms 15 34,185 5s62ms 0ms 16 37,959 5s589ms 0ms 17 31,011 4s681ms 0ms 18 31,706 5s168ms 0ms 19 26,663 4s296ms 0ms 20 24,699 4s484ms 0ms 21 14,285 1s949ms 0ms 22 8,766 1s193ms 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 (5405539, 5099009, 5101828, 5425484, 5099254, 5101130, 5099007, 5100714, 5101463, 5099334, 5099677, 5099013, 5103084, 5110118, 5458457, 5107079, 5099130, 5099289, 5099092, 5132273, 5100110, 5525785, 5099356, 5099577, 5099815, 5099224, 5099727, 5098989, 5099137, 5099129, 5101593, 5099202, 5099006, 5099788, 5099139, 5106838, 5099502, 5099045, 5099415, 5099540, 5102774, 5099404, 5100475, 5099445, 5125735, 5099102);
Date: 2025-02-20 17:21:54 Duration: 4ms
-
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 (5405539, 5099009, 5101828, 5425484, 5099254, 5101130, 5099007, 5100714, 5101463, 5099334, 5099677, 5099013, 5103084, 5110118, 5458457, 5107079, 5099130, 5099289, 5099092, 5132273, 5100110, 5525785, 5099356, 5099577, 5099815, 5099224, 5099727, 5098989, 5099137, 5099129, 5101593, 5099202, 5099006, 5099788, 5099139, 5106838, 5099502, 5099045, 5099415, 5099540, 5102774, 5099404, 5100475, 5099445, 5125735, 5099102);
Date: 2025-02-20 17:21:54 Duration: 4ms
-
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 (5099445, 5099264, 5100246, 5197499, 5099321, 5098976, 5099141, 5099009, 5139691, 5100765, 5099547, 5137147, 5101567, 5106354, 5099296, 5229123, 5099007, 5099761, 5099137, 5100448, 5100836, 5099010, 5100205, 5102821, 5099045, 5105761, 5100302, 5099415, 5113127, 5099814, 5105750, 5099920, 5099263, 5117663, 5101969, 5102312, 5117191, 5121944, 5149612, 5130308, 5099819, 5099013, 5100009, 5113653, 5099191, 5118354, 5099195, 5111751, 5100327, 5099788, 5099639, 5099144, 5099782, 5099121, 5099504, 5100804, 5099018, 5099244, 5115743, 5105171, 5099092, 5099309, 5099008, 5257647, 5100004, 5427201, 5099130, 5100872, 5100743, 5100499, 5098989, 5099014, 5131869, 5100833, 5112562, 5099442);
Date: 2025-02-20 17:21:55 Duration: 4ms
8 568,986 46s561ms 0ms 20ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" from "urgent_office" where "urgent_office".id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 20 00 5,879 370ms 0ms 01 6,279 365ms 0ms 02 5,618 342ms 0ms 03 4,927 309ms 0ms 04 5,932 352ms 0ms 05 4,697 281ms 0ms 06 8,890 485ms 0ms 07 6,059 335ms 0ms 08 13,637 823ms 0ms 09 29,079 1s895ms 0ms 10 56,599 5s105ms 0ms 11 70,028 9s242ms 0ms 12 51,867 3s970ms 0ms 13 51,772 4s133ms 0ms 14 40,660 2s936ms 0ms 15 34,451 2s377ms 0ms 16 39,228 2s738ms 0ms 17 31,334 2s66ms 0ms 18 30,563 2s535ms 0ms 19 26,126 2s20ms 0ms 20 23,087 2s247ms 0ms 21 14,900 1s91ms 0ms 22 7,374 530ms 0ms -
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (61, 22, 73, 74, 32, 26, 111, 113, 9);
Date: 2025-02-20 13:01:16 Duration: 20ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (17, 39, 119, 111, 24, 52, 6, 14, 60, 78, 13, 5, 11, 55, 27, 70, 22, 7, 74, 65, 79, 30, 23, 66, 46, 28, 62, 77, 26, 51, 53, 67, 64, 48, 73, 16, 41, 68, 3);
Date: 2025-02-20 16:36:35 Duration: 4ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 59, 97, 101, 108, 118, 120, 129, 124, 122, 23);
Date: 2025-02-20 20:31:27 Duration: 2ms
9 385,950 1m24s 0ms 10ms 0ms select "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 20 00 4,351 762ms 0ms 01 3,940 706ms 0ms 02 3,104 595ms 0ms 03 3,123 603ms 0ms 04 3,609 691ms 0ms 05 3,043 595ms 0ms 06 5,412 992ms 0ms 07 4,349 720ms 0ms 08 11,385 1s857ms 0ms 09 21,025 3s769ms 0ms 10 37,608 9s110ms 0ms 11 50,357 14s510ms 0ms 12 36,145 7s700ms 0ms 13 35,303 7s729ms 0ms 14 28,241 5s758ms 0ms 15 25,409 4s835ms 0ms 16 26,604 5s292ms 0ms 17 20,944 4s22ms 0ms 18 18,457 4s234ms 0ms 19 16,132 3s472ms 0ms 20 14,124 3s493ms 0ms 21 8,757 1s862ms 0ms 22 4,528 885ms 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 (8004697);
Date: 2025-02-20 17:21:54 Duration: 10ms
-
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 (8006752);
Date: 2025-02-20 17:21:54 Duration: 3ms
-
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 (8006752);
Date: 2025-02-20 17:21:54 Duration: 3ms
10 325,178 35s102ms 0ms 13ms 0ms select "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" from "res_users" where "res_users".id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 20 00 3,578 380ms 0ms 01 3,184 340ms 0ms 02 2,736 308ms 0ms 03 2,612 304ms 0ms 04 3,078 345ms 0ms 05 2,481 302ms 0ms 06 4,822 472ms 0ms 07 3,713 362ms 0ms 08 8,464 763ms 0ms 09 16,546 1s464ms 0ms 10 31,904 3s670ms 0ms 11 44,459 6s587ms 0ms 12 30,302 3s5ms 0ms 13 29,685 3s2ms 0ms 14 23,968 2s293ms 0ms 15 21,389 1s923ms 0ms 16 22,098 2s89ms 0ms 17 17,453 1s560ms 0ms 18 15,820 1s735ms 0ms 19 13,419 1s438ms 0ms 20 12,164 1s528ms 0ms 21 7,413 808ms 0ms 22 3,890 413ms 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 (1201, 983, 1074, 1076, 1241, 1075, 978, 849, 980);
Date: 2025-02-20 13:36:28 Duration: 13ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-02-20 11:38:46 Duration: 3ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-02-20 11:24:14 Duration: 3ms
11 302,640 2d20h30m44s 626ms 7s169ms 814ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 20 00 6,563 1h18m22s 716ms 01 8,533 1h40m22s 705ms 02 9,261 1h50m24s 715ms 03 10,266 2h4m2s 724ms 04 10,122 2h3s 711ms 05 10,197 2h23s 708ms 06 8,441 1h37m50s 695ms 07 5,710 1h6m24s 697ms 08 7,610 1h29m36s 706ms 09 10,272 2h5m49s 734ms 10 19,760 4h52m24s 887ms 11 25,090 7h11m25s 1s31ms 12 15,860 3h37m42s 823ms 13 17,992 4h15m12s 851ms 14 14,174 3h9m3s 800ms 15 11,489 2h27m42s 771ms 16 14,248 3h9m24s 797ms 17 10,698 2h18m38s 777ms 18 19,334 4h36m32s 858ms 19 19,759 4h27m43s 812ms 20 18,669 5h3m38s 975ms 21 17,274 3h43m53s 777ms 22 11,318 2h24m5s 763ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5583540)) AND (("shipping_track"."id" not in (46339533, 46339533)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 20:43:35 Duration: 7s169ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5583444)) AND (("shipping_track"."id" not in (46338840, 46338840)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 20:41:53 Duration: 6s866ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5583349)) AND (("shipping_track"."id" not in (46338230, 46338230)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 20:40:07 Duration: 6s769ms
12 271,431 1m25s 0ms 25ms 0ms select "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" from "policy_number" where "policy_number".id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 20 00 3,278 952ms 0ms 01 3,534 877ms 0ms 02 3,374 866ms 0ms 03 4,317 1s105ms 0ms 04 3,846 1s72ms 0ms 05 3,117 919ms 0ms 06 3,931 1s161ms 0ms 07 2,662 668ms 0ms 08 5,959 1s538ms 0ms 09 12,312 3s55ms 0ms 10 24,402 8s229ms 0ms 11 30,753 20s814ms 0ms 12 23,104 6s504ms 0ms 13 22,534 6s17ms 0ms 14 18,160 4s366ms 0ms 15 17,685 3s854ms 0ms 16 17,630 4s359ms 0ms 17 14,548 3s852ms 0ms 18 17,242 4s708ms 0ms 19 13,345 3s680ms 0ms 20 12,115 3s835ms 0ms 21 8,652 2s300ms 0ms 22 4,931 1s255ms 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 (40460028, 41025964, 39970046, 40988019, 41325953, 32217086, 39648163, 40385905, 39718707, 39414557, 39516078, 39847214, 39667895, 39687508, 39208982, 39810428, 39832858, 32539445, 41936300, 41131925, 41936434, 42058555, 42130531, 40357924, 41839842, 40357922, 41790852, 42057730, 41839650, 41791138, 41792533, 41790798, 41574940, 40719641, 41936599, 39798263, 41758752, 42039579, 41903471, 42082359, 41987061, 41889106, 41973481, 41255815, 39555175, 39629887, 39797866, 39385934, 39722913, 39706708, 39764234, 39647696, 39725818, 39594612, 39516281, 39705149, 39806463, 39737150, 40023025, 39589227, 39709122, 39760935, 39617479, 39810747, 39752682, 39567944, 39959732, 41833710, 32280264, 42053186, 42110566, 32345913, 42165187, 32488712, 41850315, 41918888, 41372638, 32448409, 41973210, 32188024, 44627256, 42053317, 41821776, 44477002, 41990682, 41316898, 32330721, 41792398, 41840323, 41867406, 32478172, 42057672, 41732701, 41713615, 41467266, 32187958, 41380822, 41312373, 41312371, 42063274);
Date: 2025-02-20 17:21:55 Duration: 25ms
-
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 (44516739, 44690723);
Date: 2025-02-20 17:21:54 Duration: 11ms
-
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 (44543228, 44544962);
Date: 2025-02-20 17:21:54 Duration: 10ms
13 269,615 1m44s 0ms 4ms 0ms select r.id from ir_rule r join ir_model m on (r.model_id = m.id) where m.model = ? and r.active and r.perm_read and (r.id in ( select rule_group_id from rule_group_rel rg join res_groups_users_rel gu on (rg.group_id = gu.gid) where gu.uid = ?) or r.global) order by r.id;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 20 00 2,832 952ms 0ms 01 2,693 910ms 0ms 02 1,995 680ms 0ms 03 1,792 610ms 0ms 04 1,305 477ms 0ms 05 1,201 414ms 0ms 06 1,703 583ms 0ms 07 1,605 510ms 0ms 08 9,554 3s107ms 0ms 09 21,305 7s420ms 0ms 10 27,482 11s813ms 0ms 11 21,852 10s615ms 0ms 12 21,569 8s385ms 0ms 13 23,274 9s344ms 0ms 14 19,796 7s547ms 0ms 15 17,744 6s404ms 0ms 16 19,973 7s448ms 0ms 17 23,053 7s986ms 0ms 18 17,093 7s44ms 0ms 19 11,486 4s496ms 0ms 20 10,623 4s593ms 0ms 21 6,472 2s359ms 0ms 22 3,213 1s93ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'change.to.office.wizard' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 981) OR r.global) ORDER BY r.id;
Date: 2025-02-20 11:26:26 Duration: 4ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'claim.wizard' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 867) OR r.global) ORDER BY r.id;
Date: 2025-02-20 18:18:01 Duration: 3ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'daily.movement.line' 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 = 826) OR r.global) ORDER BY r.id;
Date: 2025-02-20 13:40:47 Duration: 3ms
14 200,012 38s294ms 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 Feb 20 00 2,920 420ms 0ms 01 2,242 316ms 0ms 02 1,910 269ms 0ms 03 2,051 280ms 0ms 04 1,531 213ms 0ms 05 2,022 267ms 0ms 06 1,648 239ms 0ms 07 2,058 290ms 0ms 08 9,464 1s457ms 0ms 09 17,273 3s77ms 0ms 10 19,559 4s289ms 0ms 11 15,517 3s822ms 0ms 12 16,039 3s76ms 0ms 13 16,397 3s275ms 0ms 14 13,136 2s474ms 0ms 15 12,722 2s258ms 0ms 16 13,041 2s413ms 0ms 17 15,787 2s948ms 0ms 18 10,970 2s332ms 0ms 19 8,604 1s648ms 0ms 20 7,702 1s655ms 0ms 21 4,828 836ms 0ms 22 2,591 430ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 862 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_cash_policy' AND name = 'confirm_payment' AND model = 'res.groups');
Date: 2025-02-20 13:07:50 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1395 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_user' AND model = 'res.groups');
Date: 2025-02-20 11:07:41 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 929 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_shipping_policy' AND name = 'group_date_ihab' AND model = 'res.groups');
Date: 2025-02-20 20:52:42 Duration: 2ms
15 199,260 23s139ms 0ms 4ms 0ms select "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" from "notebook_package" where "notebook_package".id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 20 00 2,071 136ms 0ms 01 2,109 137ms 0ms 02 1,899 131ms 0ms 03 1,820 131ms 0ms 04 2,304 174ms 0ms 05 1,705 129ms 0ms 06 3,507 244ms 0ms 07 2,147 145ms 0ms 08 4,438 304ms 0ms 09 10,192 823ms 0ms 10 20,693 2s599ms 0ms 11 27,427 5s67ms 0ms 12 19,135 2s453ms 0ms 13 18,294 2s316ms 0ms 14 14,276 1s238ms 0ms 15 12,217 1s35ms 0ms 16 13,175 1s233ms 0ms 17 10,607 1s25ms 0ms 18 9,560 1s249ms 0ms 19 8,443 795ms 0ms 20 7,270 1s34ms 0ms 21 3,644 458ms 0ms 22 2,327 273ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2, 2414);
Date: 2025-02-20 20:41:45 Duration: 4ms
-
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-02-20 17:21: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 (2414);
Date: 2025-02-20 17:21:54 Duration: 1ms
16 172,254 2m1s 0ms 25ms 0ms select "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" from "shipping_policy" where "shipping_policy".id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 20 00 197 145ms 0ms 01 428 236ms 0ms 02 406 233ms 0ms 03 294 178ms 0ms 04 291 171ms 0ms 05 291 177ms 0ms 06 697 312ms 0ms 07 806 345ms 0ms 08 2,209 1s109ms 0ms 09 4,541 2s603ms 0ms 10 13,049 9s743ms 0ms 11 19,226 28s716ms 1ms 12 12,830 8s585ms 0ms 13 13,500 8s897ms 0ms 14 10,915 6s782ms 0ms 15 9,906 6s68ms 0ms 16 7,538 4s486ms 0ms 17 7,941 4s628ms 0ms 18 16,788 8s857ms 0ms 19 12,122 6s892ms 0ms 20 19,440 12s211ms 0ms 21 12,374 6s350ms 0ms 22 6,465 3s664ms 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 (1883752, 2012996, 1770642, 1861612, 2013084, 2013781, 1815513, 1940372, 2015345, 1629526, 1980809, 1978784, 1069280, 1075871, 2013167, 1900144, 2013246, 2014110, 1650190, 2013599, 1977080, 1938861, 1980813, 1749944, 1981057, 1979665, 2014421, 1979637, 1869345, 1977023, 1714406, 1750656, 1856513, 1972228, 1891713, 1435605, 1981460, 1714393, 1819081, 1848546, 1945815, 1819083, 1750729, 1898740, 1814744, 1891207, 1977062, 1981551, 1537343, 1819210, 1979544, 1661498, 1868077, 1901254, 1979545, 1965682, 1312638, 1977002, 1937324, 1778616, 1848520, 1847312, 1888301, 1944738, 1956773, 1633816, 1833170, 1867605, 2013529, 2005950, 1812713, 1876944, 1899977, 1484982, 1938610);
Date: 2025-02-20 18:10:40 Duration: 25ms
-
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 (4801014, 5254633, 5290022, 5254641, 5111168, 5186748, 5137652, 5254638, 5290010, 5324011, 4372271, 3997809, 4372274, 3997920, 4440487, 4278382, 4278621, 4238318, 4238317, 4183963, 4372269, 4372273, 4372272, 4372275, 4372268, 4101607, 4009663, 4101611, 4078362, 4101627, 4078366, 3479408, 3320094, 3479728, 3205564, 3205562, 3297390, 4777357, 4967475, 4925681, 5029137, 5029131, 5029134, 5029127, 5029124, 5098865, 5098862, 4967514, 4183533, 5098858, 4078360, 4183536, 4101615, 3826185, 5269863, 4204897, 4386913, 3328256, 4238783, 4238805, 4238791, 4118113, 4542854, 4636121, 4386893, 4118540, 4238773, 4238808, 3785533, 4386906, 4035494, 4159089, 4204762, 4204767, 4204770, 4238768, 4238798, 4238778, 4238803, 4262652, 4262658, 4132248, 4238755, 4542852, 4510032, 4510008, 4726822, 4510027, 4787852, 4787877, 4726819, 4509990, 4510004, 4542856, 4386917, 4726818, 4787963, 4788359, 4669840, 4726756, 4787867, 4792412, 4787969, 4787940, 4788377, 4787941, 4787934, 4787978, 4787851, 3785701, 4787961, 4787976, 4787878, 4669604, 4726810, 4509995, 4386883, 4726820, 4726817, 4726824, 4787872, 4792398, 4787982, 4787981, 4238775, 4159090);
Date: 2025-02-20 18:51:18 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 (2826085, 5347454, 5293379, 5273175, 5327573, 3075330, 3712854, 5428508, 5428520, 5428517, 5396175, 5428471, 5436931, 5342206, 4381300, 5436929, 4145412, 5401319, 4381411, 5347694, 5343569, 5165841, 5313928, 5285979, 4815771, 4377426, 3866804, 5313236, 5236874, 4014278, 2956216, 3251915, 3337405, 5215991, 5342104, 4241368, 3549545, 4566159, 5132494, 3019501, 5431267, 3256724, 5211758, 5354192, 4251480, 5389611, 5173140, 5242653, 5347527, 5318617, 5214483, 5347506, 5347501, 5273903, 5354092, 5310747, 5318577, 5347678, 5173123, 5347638, 5285888, 5086504, 5086513, 4671843, 5341649, 4341864, 3738307, 4381512, 4358039, 4386435, 3066080, 2715099, 3093074, 3013842, 2669659, 3070722, 3076978, 3044277, 3679810, 3055979, 3055111, 3092407, 2525930, 3087159, 2630170, 3713223, 3301722, 3019569, 5270591, 3183594, 5213780, 4287262, 4230084, 4357554, 3941145, 4346010, 3110429, 4505999, 3411552, 3713328, 3200962, 4404605, 5406745, 5019915, 4381324, 5342138, 5329509, 5237937, 5398466, 4150726, 4194570, 3074469, 3679826, 5321434, 5306918, 3069350, 3483192, 3606189, 3146778, 4263631, 3665766, 4338496, 4357962, 4324864, 4530829, 4338934, 4238815, 4346455, 4343356, 4336995, 4373681, 4327889, 4530585, 4128394, 3904806, 4538556, 4361435, 3423097, 4371841, 4289790, 3123359, 4564332, 4344039, 4214263, 4340836, 3191418, 4317754, 4341965, 4351257, 4403151, 4393039, 4392654, 4386638, 3163469, 3151979, 4380155, 3183800, 3133224, 3167271, 3182479, 3154415, 3123366, 3200813, 3124250, 4796131, 3204118, 4808726, 2846483, 3831591, 3069319, 4815758, 4354741, 4386691, 4341772, 4150807, 2986758, 3092584, 3094165, 2883698, 2857827, 4341712, 4501181, 4848125, 3392870, 3483212, 3392867, 4677600, 3530017, 4341656, 4688076, 3456822, 4663061, 3836656, 4530759, 3183980, 4538249, 4602332, 3786973);
Date: 2025-02-20 17:22:51 Duration: 16ms
17 171,408 2h59m5s 43ms 457ms 62ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 20 00 2,843 2m30s 52ms 01 3,692 3m10s 51ms 02 3,703 3m12s 51ms 03 4,484 3m52s 51ms 04 3,558 3m5s 52ms 05 3,083 2m39s 51ms 06 2,557 2m12s 51ms 07 2,008 1m43s 51ms 08 3,773 3m15s 51ms 09 6,954 6m22s 54ms 10 14,888 16m28s 66ms 11 20,268 26m25s 78ms 12 13,149 13m23s 61ms 13 14,019 14m46s 63ms 14 10,957 10m45s 58ms 15 9,107 8m36s 56ms 16 10,163 9m46s 57ms 17 7,471 7m32s 60ms 18 8,098 9m19s 69ms 19 8,749 9m34s 65ms 20 8,336 10m27s 75ms 21 6,320 6m35s 62ms 22 3,228 3m20s 62ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5506889, 5506746, 5503919, 5500583, 5500284, 5495605, 5491109)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-20 14:09:24 Duration: 457ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5510289, 5496278, 5465878, 5396187)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-20 11:38:33 Duration: 406ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5493890, 5492077)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-20 11:37:47 Duration: 389ms
18 167,151 1m 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 Feb 20 00 5,735 1s926ms 0ms 01 7,062 2s357ms 0ms 02 7,652 2s614ms 0ms 03 11,485 3s615ms 0ms 04 8,510 2s961ms 0ms 05 8,317 2s989ms 0ms 06 4,062 1s767ms 0ms 07 3,196 1s274ms 0ms 08 4,864 1s649ms 0ms 09 1,259 529ms 0ms 10 2,732 1s435ms 0ms 11 2,696 1s768ms 0ms 12 1,739 799ms 0ms 13 1,599 791ms 0ms 14 2,759 1s69ms 0ms 15 2,776 962ms 0ms 16 7,217 2s566ms 0ms 17 8,845 2s860ms 0ms 18 20,125 7s645ms 0ms 19 12,072 4s97ms 0ms 20 15,352 6s74ms 0ms 21 17,297 5s601ms 0ms 22 9,800 2s976ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 9) AND ("price_list"."to_office_id" = 60)) ORDER BY "price_list"."id";
Date: 2025-02-20 15:11:37 Duration: 2ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 17) AND ("price_list"."to_office_id" = 29)) ORDER BY "price_list"."id";
Date: 2025-02-20 13:13:20 Duration: 2ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 19) AND ("price_list"."to_office_id" = 126)) ORDER BY "price_list"."id";
Date: 2025-02-20 11:24:31 Duration: 2ms
19 142,890 13h39m3s 243ms 2s626ms 343ms 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 Feb 20 00 1,860 8m49s 284ms 01 1,816 8m33s 282ms 02 3,492 16m40s 286ms 03 2,454 11m39s 285ms 04 3,348 15m53s 284ms 05 4,329 20m41s 286ms 06 2,935 13m53s 284ms 07 2,757 12m55s 281ms 08 2,130 10m6s 284ms 09 3,755 19m29s 311ms 10 11,150 1h7m40s 364ms 11 13,667 1h34m12s 413ms 12 8,506 47m30s 335ms 13 7,051 41m15s 351ms 14 6,591 35m48s 326ms 15 6,206 33m24s 322ms 16 4,780 25m48s 323ms 17 8,162 46m47s 344ms 18 10,648 59m58s 337ms 19 4,380 22m34s 309ms 20 23,202 2h38m22s 409ms 21 9,431 45m49s 291ms 22 240 1m7s 280ms -
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" = '608704')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 20:43:38 Duration: 2s626ms
-
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" = '604121')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:39:08 Duration: 2s605ms
-
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" = '608556')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:39:00 Duration: 2s580ms
20 132,810 40s449ms 0ms 34ms 0ms insert into "mail_message" ("author_id", "body", "create_date", "create_uid", "date", "email_add_signature", "email_from", "is_internal", "message_id", "message_type", "model", "record_name", "reply_to", "res_id", "subject", "subtype_id", "write_date", "write_uid") values (?, ?, ?, ?, ?, false, null, true, ?, ?, ?, null, null, ?, null, ?, ?, ?) returning "id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 20 00 2,957 715ms 0ms 01 3,025 737ms 0ms 02 3,701 899ms 0ms 03 6,199 1s535ms 0ms 04 3,484 896ms 0ms 05 4,554 1s89ms 0ms 06 2,907 675ms 0ms 07 2,103 519ms 0ms 08 3,051 787ms 0ms 09 2,801 774ms 0ms 10 7,322 2s574ms 0ms 11 12,793 4s912ms 0ms 12 8,512 2s390ms 0ms 13 8,505 2s481ms 0ms 14 6,237 1s649ms 0ms 15 4,692 1s177ms 0ms 16 6,262 1s799ms 0ms 17 6,168 2s131ms 0ms 18 8,425 3s208ms 0ms 19 6,978 2s415ms 0ms 20 8,479 3s24ms 0ms 21 8,460 2s557ms 0ms 22 5,195 1s498ms 0ms -
INSERT INTO "mail_message" ("author_id", "body", "create_date", "create_uid", "date", "email_add_signature", "email_from", "is_internal", "message_id", "message_type", "model", "record_name", "reply_to", "res_id", "subject", "subtype_id", "write_date", "write_uid") VALUES (8006356, '', '2025-02-20 10:12:22.663219', 991, '2025-02-20 10:13:20', false, NULL, true, '<566448249050723.1740046400.281734704971313-openerp-message-notify@urg-dell>', 'notification', 'shipping.policy', NULL, NULL, 5563554, NULL, 2, '2025-02-20 10:12:22.663219', 991) RETURNING "id";
Date: 2025-02-20 11:13:20 Duration: 34ms
-
INSERT INTO "mail_message" ("author_id", "body", "create_date", "create_uid", "date", "email_add_signature", "email_from", "is_internal", "message_id", "message_type", "model", "record_name", "reply_to", "res_id", "subject", "subtype_id", "write_date", "write_uid") VALUES (8006394, '', '2025-02-20 17:39:19.207361', 1027, '2025-02-20 17:42:21', false, NULL, true, '<170094995601171.1740073341.835475921630859-openerp-message-notify@urg-dell>', 'notification', 'shipping.policy', NULL, NULL, 5490372, NULL, 2, '2025-02-20 17:39:19.207361', 1027) RETURNING "id";
Date: 2025-02-20 18:42:21 Duration: 33ms
-
INSERT INTO "mail_message" ("author_id", "body", "create_date", "create_uid", "date", "email_add_signature", "email_from", "is_internal", "message_id", "message_type", "model", "record_name", "reply_to", "res_id", "subject", "subtype_id", "write_date", "write_uid") VALUES (8007305, '', '2025-02-20 10:25:51.381881', 1231, '2025-02-20 10:27:03', false, NULL, true, '<786866951164748.1740047223.568555116653442-openerp-message-notify@urg-dell>', 'notification', 'shipping.policy', NULL, NULL, 5550007, NULL, 2, '2025-02-20 10:25:51.381881', 1231) RETURNING "id";
Date: 2025-02-20 11:27:03 Duration: 30ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 166ms 2m32s 14s400ms 70 16m48s select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 20 00 34 22s876ms 672ms 01 4 3s112ms 778ms 08 4 4s897ms 1s224ms 09 2 4s276ms 2s138ms 10 3 4m48s 1m36s 12 1 222ms 222ms 14 1 213ms 213ms 15 4 50s925ms 12s731ms 16 2 51s905ms 25s952ms 17 3 1m30s 30s51ms 18 3 1m41s 33s904ms 19 3 2m32s 50s798ms 20 6 3m56s 39s426ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-20 10:35:13 Duration: 2m32s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-20 10:35:56 Duration: 2m16s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-20 19:51:44 Duration: 54s369ms
2 816ms 8s786ms 3s795ms 337 21m19s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 20 00 6 18s422ms 3s70ms 01 5 15s222ms 3s44ms 09 22 1m17s 3s542ms 10 13 52s388ms 4s29ms 11 12 56s716ms 4s726ms 12 13 51s207ms 3s939ms 13 5 19s252ms 3s850ms 14 8 28s640ms 3s580ms 15 71 4m10s 3s524ms 16 40 2m20s 3s501ms 17 23 1m16s 3s306ms 18 20 1m16s 3s819ms 19 4 16s261ms 4s65ms 20 58 4m36s 4s761ms 21 15 54s389ms 3s625ms 22 22 1m9s 3s175ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))))) AND ("policy_number"."name"::text ilike '%5%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-20 20:52:50 Duration: 8s786ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (115))))))) 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 (115)))))) 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 (115)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (115)))))) 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 (115))))))))) 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 (115)))))))) AND ("policy_number"."name"::text ilike '%52%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-20 20:35:04 Duration: 7s3ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))))) 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)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))))))) AND ("policy_number"."name"::text ilike '%588336%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-20 20:39:56 Duration: 6s400ms
3 116ms 5s29ms 1s890ms 2,674 1h24m14s select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 20 00 6 4s47ms 674ms 01 2 4s889ms 2s444ms 02 4 9s142ms 2s285ms 07 4 4s424ms 1s106ms 08 51 1m24s 1s653ms 09 145 3m39s 1s511ms 10 230 7m15s 1s892ms 11 240 8m56s 2s236ms 12 322 10m10s 1s895ms 13 363 12m36s 2s84ms 14 272 9m2s 1s993ms 15 277 7m56s 1s721ms 16 201 6m17s 1s875ms 17 236 4m43s 1s199ms 18 133 4m37s 2s85ms 19 65 2m18s 2s133ms 20 73 3m16s 2s696ms 21 26 43s604ms 1s677ms 22 24 53s253ms 2s218ms -
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 (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-20 13:29:31 Duration: 5s29ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-20 11:27:18 Duration: 5s24ms
-
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 (48)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (48))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-20 18:38:24 Duration: 5s22ms
4 838ms 2s952ms 1s156ms 19,909 6h23m35s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 20 00 819 14m38s 1s72ms 01 514 9m 1s51ms 02 811 14m14s 1s53ms 03 1,529 27m44s 1s88ms 04 1,470 26m21s 1s75ms 05 1,373 25m6s 1s97ms 06 310 5m32s 1s72ms 07 362 6m11s 1s27ms 08 913 16m10s 1s63ms 09 143 2m37s 1s98ms 10 245 5m28s 1s342ms 11 138 3m20s 1s455ms 12 140 2m55s 1s255ms 13 62 1m21s 1s312ms 14 250 4m42s 1s130ms 15 372 7m11s 1s159ms 16 1,187 23m23s 1s182ms 17 1,110 20m46s 1s122ms 18 2,591 54m46s 1s268ms 19 1,151 22m36s 1s178ms 20 1,817 40m16s 1s329ms 21 1,548 29m27s 1s141ms 22 1,054 19m40s 1s119ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9964734')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-20 20:35:49 Duration: 2s952ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9625974')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-20 20:47:53 Duration: 2s882ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '312646')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-20 20:41:32 Duration: 2s879ms
5 257ms 2s853ms 1s63ms 16,012 4h43m41s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 20 00 296 4m42s 953ms 01 837 13m22s 958ms 02 634 10m2s 950ms 03 950 15m2s 950ms 04 44 46s499ms 1s56ms 06 1 865ms 865ms 07 4 3s808ms 952ms 08 7 6s347ms 906ms 09 34 39s252ms 1s154ms 10 101 2m8s 1s274ms 11 81 1m57s 1s447ms 12 110 2m6s 1s154ms 13 125 2m20s 1s127ms 14 272 4m53s 1s78ms 15 286 4m41s 984ms 16 549 9m51s 1s78ms 17 1,093 18m55s 1s38ms 18 2,484 47m53s 1s156ms 19 1,877 33m26s 1s68ms 20 2,030 39m42s 1s173ms 21 2,763 47m8s 1s23ms 22 1,434 23m48s 996ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '245347')) 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-02-20 20:44:02 Duration: 2s853ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '357773')) 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-02-20 20:43:21 Duration: 2s758ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '357326')) 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-02-20 20:43:42 Duration: 2s754ms
6 629ms 6s523ms 849ms 49,525 11h41m7s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 20 00 133 1m43s 778ms 01 355 4m25s 748ms 02 512 6m20s 743ms 03 265 3m25s 774ms 04 337 4m16s 762ms 05 306 3m53s 762ms 06 301 3m42s 740ms 07 228 2m46s 730ms 08 1,529 18m16s 717ms 09 3,461 42m58s 745ms 10 4,552 1h11m22s 940ms 11 3,938 1h15m35s 1s151ms 12 3,844 54m17s 847ms 13 4,635 1h7m16s 870ms 14 3,907 53m14s 817ms 15 3,344 43m41s 783ms 16 4,140 54m42s 792ms 17 2,563 33m14s 778ms 18 3,027 41m47s 828ms 19 3,314 43m51s 794ms 20 2,687 42m58s 959ms 21 1,560 19m51s 764ms 22 587 7m22s 753ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5566152, 5561880, 5558353, 5556681, 5555690, 5549869, 5548611, 5544224, 5543438, 5543423, 5542433, 5538754, 5537331, 5536587, 5536421, 5534842, 5533217, 5533007, 5532820, 5532210, 5529742, 5528028, 5523093, 5520808, 5518369, 5508474, 5504686, 5501956, 5497993, 5489621, 5481702, 5480449, 5468604, 5468595, 5270890, 5252853, 4850788)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 20:43:32 Duration: 6s523ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5564741, 5563575, 5563545, 5559437, 5557725, 5557459, 5557443, 5557433, 5556392, 5555704, 5553526, 5553460, 5553034, 5551795, 5551510, 5551422, 5550724, 5550641, 5550554, 5550152, 5547845, 5545563, 5544040, 5543446, 5543430, 5543090, 5542709, 5542434, 5542432, 5542328, 5542153, 5537694, 5536535, 5536268, 5536203, 5535096, 5534932, 5533969, 5533149, 5533039, 5532961, 5531861, 5530710, 5529799, 5529344, 5529301, 5503775, 5496336, 5496064, 5495948, 5493982, 5492726, 5492037, 5490490)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 11:27:06 Duration: 6s423ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5563674, 5562699, 5562678, 5560582, 5560580, 5558552, 5557450, 5556379, 5551751, 5546146, 5545520, 5543206, 5543075, 5543001, 5542500, 5541815, 5541788, 5541225, 5540753, 5540380, 5537535, 5534717, 5534106, 5532365, 5531936, 5531357, 5530791, 5518933, 5503723, 5496061, 5493945)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 11:27:16 Duration: 6s275ms
7 626ms 7s169ms 814ms 302,640 2d20h30m44s select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 20 00 6,563 1h18m22s 716ms 01 8,533 1h40m22s 705ms 02 9,261 1h50m24s 715ms 03 10,266 2h4m2s 724ms 04 10,122 2h3s 711ms 05 10,197 2h23s 708ms 06 8,441 1h37m50s 695ms 07 5,710 1h6m24s 697ms 08 7,610 1h29m36s 706ms 09 10,272 2h5m49s 734ms 10 19,760 4h52m24s 887ms 11 25,090 7h11m25s 1s31ms 12 15,860 3h37m42s 823ms 13 17,992 4h15m12s 851ms 14 14,174 3h9m3s 800ms 15 11,489 2h27m42s 771ms 16 14,248 3h9m24s 797ms 17 10,698 2h18m38s 777ms 18 19,334 4h36m32s 858ms 19 19,759 4h27m43s 812ms 20 18,669 5h3m38s 975ms 21 17,274 3h43m53s 777ms 22 11,318 2h24m5s 763ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5583540)) AND (("shipping_track"."id" not in (46339533, 46339533)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 20:43:35 Duration: 7s169ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5583444)) AND (("shipping_track"."id" not in (46338840, 46338840)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 20:41:53 Duration: 6s866ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5583349)) AND (("shipping_track"."id" not in (46338230, 46338230)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-20 20:40:07 Duration: 6s769ms
8 347ms 3s406ms 552ms 1,969 18m7s select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 20 09 511 3m46s 443ms 10 299 2m47s 561ms 11 597 6m46s 680ms 12 90 43s723ms 485ms 13 100 50s420ms 504ms 14 186 1m44s 559ms 17 150 1m11s 476ms 18 32 15s476ms 483ms 19 4 1s651ms 412ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '452890')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-20 11:24:31 Duration: 3s406ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '452503')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-20 11:24:16 Duration: 3s375ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '452898')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-20 11:24:22 Duration: 3s37ms
9 289ms 2s889ms 456ms 23,156 2h56m9s select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 20 08 312 1m58s 379ms 09 1,069 7m19s 411ms 10 4,410 34m51s 474ms 11 3,876 33m5s 512ms 12 3,586 26m23s 441ms 13 3,203 24m34s 460ms 14 2,502 17m43s 425ms 15 2,359 17m4s 434ms 16 1,839 13m7s 428ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '512902')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-20 13:30:26 Duration: 2s889ms
-
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" = '604121')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:37:54 Duration: 2s629ms
-
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" = '469315')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:25:27 Duration: 2s389ms
10 248ms 2s622ms 359ms 4,634 27m44s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 20 05 112 31s433ms 280ms 06 9 2s497ms 277ms 07 761 3m32s 278ms 08 168 47s290ms 281ms 09 180 1m1s 344ms 10 1,099 6m40s 364ms 11 2,178 14m24s 397ms 12 16 6s181ms 386ms 14 69 25s923ms 375ms 19 42 11s189ms 266ms -
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" = '9974348')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:43:33 Duration: 2s622ms
-
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" = '627850')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:27:10 Duration: 2s134ms
-
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" = '547605')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:44:16 Duration: 1s954ms
11 243ms 2s626ms 343ms 142,890 13h39m3s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 20 00 1,860 8m49s 284ms 01 1,816 8m33s 282ms 02 3,492 16m40s 286ms 03 2,454 11m39s 285ms 04 3,348 15m53s 284ms 05 4,329 20m41s 286ms 06 2,935 13m53s 284ms 07 2,757 12m55s 281ms 08 2,130 10m6s 284ms 09 3,755 19m29s 311ms 10 11,150 1h7m40s 364ms 11 13,667 1h34m12s 413ms 12 8,506 47m30s 335ms 13 7,051 41m15s 351ms 14 6,591 35m48s 326ms 15 6,206 33m24s 322ms 16 4,780 25m48s 323ms 17 8,162 46m47s 344ms 18 10,648 59m58s 337ms 19 4,380 22m34s 309ms 20 23,202 2h38m22s 409ms 21 9,431 45m49s 291ms 22 240 1m7s 280ms -
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" = '608704')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 20:43:38 Duration: 2s626ms
-
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" = '604121')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:39:08 Duration: 2s605ms
-
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" = '608556')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:39:00 Duration: 2s580ms
12 244ms 2s585ms 333ms 20,126 1h51m58s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 20 00 427 2m 282ms 01 227 1m4s 281ms 02 152 44s82ms 290ms 03 107 31s173ms 291ms 04 287 1m23s 291ms 05 963 4m38s 289ms 06 539 2m32s 283ms 07 1,050 4m54s 280ms 08 1,202 5m41s 284ms 09 1,719 8m29s 296ms 10 2,715 16m22s 361ms 11 3,252 23m27s 432ms 12 1,589 8m53s 335ms 13 1,154 6m33s 341ms 14 626 3m28s 333ms 15 589 3m5s 314ms 16 778 4m7s 318ms 17 536 2m36s 292ms 18 531 2m44s 310ms 19 394 1m55s 293ms 20 393 2m26s 373ms 21 740 3m30s 284ms 22 156 43s473ms 278ms -
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" = '608556')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:38:57 Duration: 2s585ms
-
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" = '608190')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:39:02 Duration: 2s543ms
-
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" = '543723')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 11:37:46 Duration: 2s529ms
13 113ms 2s669ms 259ms 7,338 31m46s 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)))))) and (("cash_policy"."state" not in (...)) or "cash_policy"."state" is null)) limit ?) t;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 20 00 2 250ms 125ms 07 2 314ms 157ms 08 46 11s411ms 248ms 09 60 10s656ms 177ms 10 154 30s823ms 200ms 11 6,185 27m5s 262ms 12 157 33s47ms 210ms 13 194 40s171ms 207ms 14 189 52s763ms 279ms 15 108 30s524ms 282ms 16 87 24s386ms 280ms 17 70 27s98ms 387ms 18 39 9s261ms 237ms 19 16 4s676ms 292ms 20 9 1s766ms 196ms 21 15 2s437ms 162ms 22 5 759ms 151ms -
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 (24, 110)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24, 110))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) LIMIT 10001) t;
Date: 2025-02-20 14:09:30 Duration: 2s669ms
-
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 (24, 110)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24, 110))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) LIMIT 10001) t;
Date: 2025-02-20 16:54:41 Duration: 2s481ms
-
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 (24, 110)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24, 110))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) LIMIT 10001) t;
Date: 2025-02-20 15:41:06 Duration: 2s335ms
14 100ms 920ms 256ms 70,772 5h2m41s select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 20 00 2,194 8m35s 235ms 01 2,654 10m15s 232ms 02 2,830 10m16s 217ms 03 4,924 17m31s 213ms 04 2,968 12m17s 248ms 05 2,704 10m27s 232ms 06 612 2m14s 219ms 07 722 2m52s 238ms 08 1,820 7m4s 233ms 09 332 1m16s 231ms 10 670 3m42s 332ms 11 426 2m13s 313ms 12 481 1m55s 240ms 13 367 1m43s 281ms 14 1,034 4m11s 243ms 15 1,283 5m29s 257ms 16 3,418 14m46s 259ms 17 4,345 17m56s 247ms 18 10,019 47m42s 285ms 19 5,983 27m32s 276ms 20 7,606 36m36s 288ms 21 8,517 36m19s 255ms 22 4,863 19m39s 242ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-20 18:51:53 Duration: 920ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'محمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-20 18:51:53 Duration: 920ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'دعاء')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-20 20:43:51 Duration: 916ms
15 185ms 301ms 228ms 17,645 1h7m6s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 20 00 1,433 5m20s 223ms 01 1,589 5m57s 225ms 02 3,144 11m50s 225ms 03 2,049 7m51s 230ms 04 2,908 11m6s 229ms 05 3,216 12m26s 232ms 06 2,314 8m47s 228ms 07 946 3m34s 226ms 08 46 10s943ms 237ms -
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" = '622071')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 01:07:42 Duration: 301ms
-
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" = '331639')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 05:09:10 Duration: 292ms
-
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" = '535537')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-20 05:09:15 Duration: 289ms
16 121ms 1s234ms 196ms 7,281 23m48s select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 20 00 6 828ms 138ms 01 42 5s619ms 133ms 02 39 5s569ms 142ms 03 10 1s361ms 136ms 08 63 8s701ms 138ms 09 385 55s417ms 143ms 10 834 2m59s 214ms 11 1,295 6m34s 304ms 12 945 2m38s 167ms 13 792 2m21s 178ms 14 443 1m11s 161ms 15 506 1m14s 146ms 16 817 2m33s 188ms 17 621 1m33s 149ms 18 242 39s395ms 162ms 19 107 16s826ms 157ms 20 64 18s444ms 288ms 21 51 7s626ms 149ms 22 19 2s820ms 148ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 11)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-20 10:42:31 Duration: 1s234ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 17)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-20 11:25:26 Duration: 1s228ms
-
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-02-20 11:25:27 Duration: 1s218ms
17 107ms 910ms 148ms 21,551 53m17s select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 20 00 71 8s903ms 125ms 01 15 1s942ms 129ms 02 14 1s753ms 125ms 04 28 3s582ms 127ms 05 19 2s503ms 131ms 06 12 1s561ms 130ms 08 259 33s943ms 131ms 09 1,266 2m48s 132ms 10 2,128 5m45s 162ms 11 2,024 6m30s 192ms 12 2,633 6m28s 147ms 13 2,422 5m59s 148ms 14 1,791 4m12s 141ms 15 2,494 5m30s 132ms 16 1,799 4m9s 138ms 17 1,013 2m12s 131ms 18 1,463 3m27s 142ms 19 1,141 2m42s 142ms 20 556 1m39s 178ms 21 348 48s11ms 137ms 22 55 7s709ms 140ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8182445)) AND (("cash_track"."id" not in (8396618)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-20 20:42:19 Duration: 910ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8182442)) AND (("cash_track"."id" not in (8396615)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-20 20:41:53 Duration: 901ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8165511)) AND (("cash_track"."id" not in (8270591, 8286235, 8288002, 8365845, 8365845)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-20 11:38:07 Duration: 897ms
18 50ms 384ms 73ms 49,645 1h1m3s select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 20 08 643 39s740ms 61ms 09 871 58s907ms 67ms 10 8,173 10m17s 75ms 11 10,342 14m32s 84ms 12 7,296 8m44s 71ms 13 5,705 6m58s 73ms 14 5,847 6m45s 69ms 15 5,851 6m27s 66ms 16 4,849 5m34s 69ms 17 68 4s321ms 63ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5462275) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:38:07 Duration: 384ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5433495) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:38:19 Duration: 380ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5311158) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:38:25 Duration: 379ms
19 45ms 318ms 67ms 23,449 26m12s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 20 08 305 17s797ms 58ms 09 472 29s287ms 62ms 10 5,195 5m51s 67ms 11 4,622 6m9s 80ms 12 2,587 2m46s 64ms 13 2,873 3m3s 63ms 14 2,899 2m58s 61ms 15 2,567 2m35s 60ms 16 1,928 1m59s 61ms 17 1 57ms 57ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5528868) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:35:10 Duration: 318ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5529098) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:40:51 Duration: 316ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5451959) ORDER BY "collection_policy"."id";
Date: 2025-02-20 11:27:04 Duration: 312ms
20 43ms 457ms 62ms 171,408 2h59m5s select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 20 00 2,843 2m30s 52ms 01 3,692 3m10s 51ms 02 3,703 3m12s 51ms 03 4,484 3m52s 51ms 04 3,558 3m5s 52ms 05 3,083 2m39s 51ms 06 2,557 2m12s 51ms 07 2,008 1m43s 51ms 08 3,773 3m15s 51ms 09 6,954 6m22s 54ms 10 14,888 16m28s 66ms 11 20,268 26m25s 78ms 12 13,149 13m23s 61ms 13 14,019 14m46s 63ms 14 10,957 10m45s 58ms 15 9,107 8m36s 56ms 16 10,163 9m46s 57ms 17 7,471 7m32s 60ms 18 8,098 9m19s 69ms 19 8,749 9m34s 65ms 20 8,336 10m27s 75ms 21 6,320 6m35s 62ms 22 3,228 3m20s 62ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5506889, 5506746, 5503919, 5500583, 5500284, 5495605, 5491109)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-20 14:09:24 Duration: 457ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5510289, 5496278, 5465878, 5396187)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-20 11:38:33 Duration: 406ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5493890, 5492077)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-20 11:37:47 Duration: 389ms
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 18,226,416 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 210 FATAL entries
- 299 ERROR entries
- 0 WARNING entries
- 6 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 274 Max number of times the same event was reported
- 515 Total events found
Rank Times reported Error 1 274 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 20 00 2 01 1 02 4 03 3 04 8 05 2 06 3 08 1 09 4 10 15 11 40 12 13 13 21 14 9 15 9 16 9 17 21 18 26 19 16 20 42 21 17 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 count_search=1 where id=5555102
Date: 2025-02-20 00:01:43
Statement: update shipping_policy set count_search=2 where id=5539518
Date: 2025-02-20 00:52:14
Statement: UPDATE "policy_search" SET "missing_data" = '535890 520946 523996 ', "search_domain" = '[(''state'', ''!='', ''cancel''), (''id'', ''in'', [5519282])]', "write_date" = '2025-02-20 00:10:18.880694', "write_uid" = 1014 WHERE id IN (284951)
Date: 2025-02-20 01:10:21
2 150 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 20 17 150 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Context: while updating tuple (91711,31) in relation "policy_number"
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-20 16:16:33.323767', "write_uid" = 1238 WHERE id IN (44644741)Date: 2025-02-20 17:20:02
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '367997')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false )) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false )) AND (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id"
Date: 2025-02-20 17:20:02
Statement: SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'اميره')) ORDER BY "urgent_customer"."id" LIMIT 1
Date: 2025-02-20 17:20:02
3 22 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #3
Day Hour Count Feb 20 17 22 4 16 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #4
Day Hour Count Feb 20 17 16 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5570923)) AND (("shipping_track"."id" not in (46281672, 46283264, 46283264)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-02-20 17:20:02
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5570602)) AND (("shipping_track"."id" not in (46280081, 46280810, 46283262, 46283262)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-02-20 17:20:02
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5456675)) ORDER BY "shipping_track"."id"
Date: 2025-02-20 17:20:02
5 6 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #5
Day Hour Count Feb 20 10 1 11 5 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 14394 waits for ShareLock on transaction 9620931; blocked by process 12943. Process 12943 waits for ShareLock on transaction 9620976; blocked by process 14394. Process 14394: update shipping_policy set count_search=4 where id=5566326 Process 12943: UPDATE "shipping_policy" SET "destination_office" = 27, "destination_type" = 'office', "last_car" = 13, "last_driver" = 8007152, "last_office" = 27, "last_warehouse" = NULL, "new_destination_button" = true, "to_office" = 27, "write_date" = '2025-02-20 09:32:27.049746', "write_uid" = 1066 WHERE id IN (5556570, 5556564)
Context: while updating tuple (66829,56) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=4 where id=5566326Date: 2025-02-20 10:33:05
Detail: Process 4448 waits for ShareLock on transaction 9624337; blocked by process 4378. Process 4378 waits for ShareLock on transaction 9624462; blocked by process 4448. Process 4448: update shipping_policy set count_search=6 where id=5527105 Process 4378: UPDATE "shipping_policy" SET "delegate_button" = false, "edit_cash_button" = true, "return_button" = false, "state" = 'in_office', "write_date" = '2025-02-20 10:07:42.461337', "write_uid" = 991 WHERE id IN (5563737, 5558662, 5559173, 5559404, 5560252, 5560333, 5560487, 5562632, 5562648, 5562650, 5562680, 5562690, 5562697, 5563481, 5563498, 5563503, 5563505, 5563617, 5563686, 5563733, 5518994, 5522732, 5524415, 5527105, 5529840, 5530188, 5530789, 5531771, 5533194, 5533357, 5533544, 5533776, 5534137, 5535149, 5535272, 5536428, 5536563, 5536652, 5537072, 5537170, 5537527, 5538008, 5538828, 5539037, 5539457, 5539999, 5540588, 5540604, 5540751, 5541016, 5541258, 5542451, 5542628, 5542633, 5542685, 5542717, 5543011, 5543113, 5544344, 5546118, 5546137, 5546190, 5546196, 5546200, 5546481, 5546545, 5546946, 5547255, 5549616, 5550193, 5550251, 5550614, 5550651, 5551443, 5551459, 5551929, 5552050, 5552124, 5554418, 5554426, 5554551, 5555128, 5555549, 5555633, 5555703, 5555935, 5556548, 5556730, 5557427, 5557453, 555760
Context: while updating tuple (58394,44) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=6 where id=5527105Date: 2025-02-20 11:09:40
Detail: Process 19249 waits for ShareLock on transaction 9624531; blocked by process 4378. Process 4378 waits for ShareLock on transaction 9624616; blocked by process 19249. Process 19249: update shipping_policy set count_search=4 where id=5524415 Process 4378: UPDATE "shipping_policy" SET "delegate_button" = false, "edit_cash_button" = true, "return_button" = false, "state" = 'in_office', "write_date" = '2025-02-20 10:09:42.584195', "write_uid" = 991 WHERE id IN (5563737, 5558662, 5559173, 5559404, 5560252, 5560333, 5560487, 5562632, 5562648, 5562650, 5562680, 5562690, 5562697, 5563481, 5563498, 5563503, 5563505, 5563617, 5563686, 5563733, 5518994, 5522732, 5524415, 5527105, 5529840, 5530188, 5530789, 5531771, 5533194, 5533357, 5533544, 5533776, 5534137, 5535149, 5535272, 5536428, 5536563, 5536652, 5537072, 5537170, 5537527, 5538008, 5538828, 5539037, 5539457, 5539999, 5540588, 5540604, 5540751, 5541016, 5541258, 5542451, 5542628, 5542633, 5542685, 5542717, 5543011, 5543113, 5544344, 5546118, 5546137, 5546190, 5546196, 5546200, 5546481, 5546545, 5546946, 5547255, 5549616, 5550193, 5550251, 5550614, 5550651, 5551443, 5551459, 5551929, 5552050, 5552124, 5554418, 5554426, 5554551, 5555128, 5555549, 5555633, 5555703, 5555935, 5556548, 5556730, 5557427, 5557453, 555760
Context: while updating tuple (57148,58) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=4 where id=5524415Date: 2025-02-20 11:11:45
6 5 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #6
Day Hour Count Feb 20 17 3 18 1 19 1 - ERROR: current transaction is aborted, commands ignored until end of transaction block
- ERROR: current transaction is aborted, commands ignored until end of transaction block
- ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT active, id, login, password, totp_secret, (SELECT value FROM ir_config_parameter WHERE key='database.secret') FROM res_users WHERE id=2
Date: 2025-02-20 17:32:34
Statement: SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id=m.id) WHERE m.model='daily.movement' 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=2) OR r.global) ORDER BY r.id
Date: 2025-02-20 18:14:46
Statement: SELECT id, model, res_id FROM ir_model_data WHERE module='base' AND name='public_user'
Date: 2025-02-20 19:04:42
7 5 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Feb 20 03 1 04 3 21 1 - ERROR: syntax error at or near ")" at character 194
- ERROR: syntax error at or near ")" at character 162
- ERROR: syntax error at or near ")" at character 159
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('203571أو328954أو548335أو467235أو344168',)
Date: 2025-02-20 03:37:36
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('589422',)
Date: 2025-02-20 04:19:54
Statement: select po.id,policy.name from cash_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('9995267',)
Date: 2025-02-20 21:48:00
8 5 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #8
Day Hour Count Feb 20 02 1 06 4 9 4 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #9
Day Hour Count Feb 20 17 4 - ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5570923)) AND (("shipping_track"."id" not in (46281672, 46283264, 46283264)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-02-20 17:20:02
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5570602)) AND (("shipping_track"."id" not in (46280081, 46280810, 46283262, 46283262)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-02-20 17:20:02
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5456675)) ORDER BY "shipping_track"."id"Date: 2025-02-20 17:20:02
10 4 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #10
Day Hour Count Feb 20 12 1 15 1 17 1 18 1 - ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_car" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_car" violates not-null constraint
Detail: Failing row contains (5525534, null, 822, 822, null, 0000134, null, null, t, 2025-02-20 11:00:31.877984, 2025-02-20 11:00:31.877984, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-20 11:00:31.877984', 822, '0000134', '2025-02-20 11:00:31.877984', 822) RETURNING "id"Date: 2025-02-20 12:00:31
Detail: Failing row contains (956, null, null, 1092, 1092, 966, null, null, 2025-02-20 14:12:11.302826, 2025-02-20 14:12:11.302826).
Statement: INSERT INTO "urgent_car" ("car_no", "create_date", "create_uid", "write_date", "write_uid") VALUES ('966', '2025-02-20 14:12:11.302826', 1092, '2025-02-20 14:12:11.302826', 1092) RETURNING "id"Date: 2025-02-20 15:12:11
Detail: Failing row contains (958, null, null, 1092, 1092, 955, null, null, 2025-02-20 16:17:43.520281, 2025-02-20 16:17:43.520281).
Statement: INSERT INTO "urgent_car" ("car_no", "create_date", "create_uid", "write_date", "write_uid") VALUES ('955', '2025-02-20 16:17:43.520281', 1092, '2025-02-20 16:17:43.520281', 1092) RETURNING "id"Date: 2025-02-20 17:17:43
11 3 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #11
Day Hour Count Feb 20 02 1 06 2 12 3 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #12
Day Hour Count Feb 20 02 3 - FATAL: password authentication failed for user "postgres"
Detail: User "postgres" has no password assigned. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-02-20 02:08:34
13 3 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #13
Day Hour Count Feb 20 16 2 18 1 - FATAL: connection to client lost
Statement: COPY public.mail_message (id, parent_id, res_id, subtype_id, mail_activity_type_id, author_id, author_guest_id, mail_server_id, create_uid, write_uid, subject, model, record_name, message_type, email_from, message_id, reply_to, email_layout_xmlid, body, is_internal, reply_to_force_new, email_add_signature, date, create_date, write_date) TO stdout;
Date: 2025-02-20 16:07:35
14 3 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #14
Day Hour Count Feb 20 16 2 18 1 - LOG: could not send data to client: Broken pipe
Statement: COPY public.mail_message (id, parent_id, res_id, subtype_id, mail_activity_type_id, author_id, author_guest_id, mail_server_id, create_uid, write_uid, subject, model, record_name, message_type, email_from, message_id, reply_to, email_layout_xmlid, body, is_internal, reply_to_force_new, email_add_signature, date, create_date, write_date) TO stdout;
Date: 2025-02-20 16:07:35
15 2 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #15
Day Hour Count Feb 20 17 2 16 2 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #16
Day Hour Count Feb 20 02 1 06 1 17 2 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #17
Day Hour Count Feb 20 06 1 12 1 18 2 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #18
Day Hour Count Feb 20 06 1 17 1 19 1 FATAL: unsupported frontend protocol 16.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #19
Day Hour Count Feb 20 14 1 20 1 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #20
Day Hour Count Feb 20 20 1 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (177493)
Date: 2025-02-20 20:07:13
21 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #21
Day Hour Count Feb 20 17 1 22 1 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #22
Day Hour Count Feb 20 20 1