-
Global information
- Generated on Tue Feb 18 23:47:29 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 41,303,082 log entries in 2m27s
- Log start from 2025-02-18 00:00:00 to 2025-02-18 22:45:02
-
Overview
Global Stats
- 17,643 Number of unique normalized queries
- 17,481,305 Number of queries
- 5d2h11m59s Total query duration
- 2025-02-18 00:00:00 First query
- 2025-02-18 22:45:02 Last query
- 2,629 queries/s at 2025-02-18 17:21:53 Query peak
- 5d2h11m59s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 5d2h11m59s Execute total duration
- 547 Number of events
- 18 Number of unique normalized events
- 286 Max number of times the same event was reported
- 0 Number of cancellation
- 0 Total number of automatic vacuums
- 0 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 0 Total number of sessions
- 0 sessions at Session peak
- 0ms Total duration of sessions
- 0ms Average duration of sessions
- 17,481,305 Average queries per session
- 5d2h11m59s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 2,629 queries/s Query Peak
- 2025-02-18 17:21:53 Date
SELECT Traffic
Key values
- 1,752 queries/s Query Peak
- 2025-02-18 17:21:53 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,067 queries/s Query Peak
- 2025-02-18 13:02:15 Date
Queries duration
Key values
- 5d2h11m59s 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 18 00 274,023 0ms 2s392ms 33ms 4m17s 4m43s 5m11s 01 278,529 0ms 1s666ms 35ms 4m24s 4m50s 5m23s 02 252,238 0ms 1s561ms 39ms 4m51s 5m10s 7m24s 03 202,129 0ms 2s371ms 38ms 3m55s 4m9s 6m3s 04 206,942 0ms 2s135ms 40ms 4m20s 5m17s 6m14s 05 203,134 0ms 1m7s 42ms 4m4s 4m46s 4m51s 06 260,243 0ms 1s541ms 35ms 5m9s 6m22s 7m17s 07 201,641 0ms 2s83ms 25ms 2m31s 4m26s 4m52s 08 399,164 0ms 8s101ms 15ms 2m57s 3m58s 5m11s 09 937,389 0ms 8s394ms 15ms 5m42s 7m 9m6s 10 1,420,553 0ms 9s515ms 17ms 9m58s 10m4s 10m47s 11 1,474,116 0ms 51s537ms 22ms 14m45s 17m44s 21m36s 12 1,579,510 0ms 25s166ms 19ms 14m15s 16m23s 18m8s 13 1,471,575 0ms 3m1s 18ms 10m43s 12m33s 15m18s 14 1,272,831 0ms 4s191ms 19ms 10m31s 11m14s 14m1s 15 1,252,688 0ms 2m49s 16ms 9m 9m33s 10m58s 16 1,200,789 0ms 1m57s 15ms 7m38s 10m16s 12m27s 17 1,113,409 0ms 7s983ms 15ms 8m40s 9m42s 10m30s 18 933,251 0ms 2m14s 22ms 11m55s 14m38s 16m5s 19 880,526 0ms 37s424ms 35ms 13m46s 14m29s 17m32s 20 796,126 0ms 3m48s 82ms 22m54s 26m7s 36m13s 21 557,492 0ms 3m3s 37ms 9m6s 10m52s 15m40s 22 313,007 0ms 4m26s 38ms 6m33s 7m7s 7m51s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 18 00 149,649 0 62ms 4m1s 4m17s 5m9s 01 146,441 0 67ms 3m41s 4m23s 5m18s 02 134,464 0 74ms 3m57s 4m50s 5m11s 03 99,732 0 77ms 3m23s 3m54s 5m1s 04 105,440 0 80ms 3m26s 4m20s 5m43s 05 100,406 0 85ms 3m20s 3m59s 4m45s 06 138,637 0 66ms 3m51s 5m9s 6m30s 07 107,548 0 47ms 2m2s 2m31s 4m31s 08 237,542 0 25ms 2m42s 2m57s 4m24s 09 539,815 0 26ms 5m8s 5m41s 7m7s 10 802,019 0 31ms 8m44s 9m56s 10m39s 11 820,330 0 40ms 12m50s 14m42s 19m53s 12 920,340 0 33ms 11m36s 14m13s 17m31s 13 855,147 0 30ms 9m16s 10m33s 12m31s 14 725,831 0 33ms 9m3s 10m29s 12m42s 15 700,293 0 29ms 7m53s 8m52s 9m32s 16 671,319 0 28ms 6m52s 7m37s 11m23s 17 653,409 0 26ms 6m23s 8m39s 9m49s 18 530,791 0 39ms 8m25s 11m53s 14m40s 19 492,499 0 64ms 12m17s 13m44s 15m30s 20 457,918 0 143ms 21m33s 22m53s 30m17s 21 319,100 0 65ms 7m29s 9m5s 12m3s 22 178,568 0 65ms 5m27s 6m23s 7m50s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 18 00 28,943 6,153 93 0 0ms 171ms 204ms 312ms 01 28,986 5,523 89 0 0ms 164ms 208ms 287ms 02 24,639 6,320 93 0 0ms 170ms 212ms 277ms 03 20,022 5,141 79 0 0ms 131ms 178ms 221ms 04 21,384 5,024 84 0 0ms 144ms 167ms 223ms 05 19,258 5,861 72 0 4ms 139ms 164ms 222ms 06 24,942 5,465 78 0 0ms 161ms 215ms 319ms 07 13,467 3,144 68 0 0ms 99ms 116ms 170ms 08 16,803 4,765 441 0 0ms 103ms 131ms 180ms 09 46,092 10,466 671 0 0ms 245ms 304ms 379ms 10 71,111 19,093 978 0 0ms 450ms 532ms 659ms 11 88,974 18,721 887 0 1ms 633ms 802ms 20s963ms 12 86,647 16,629 929 0 0ms 589ms 713ms 919ms 13 70,025 17,779 640 0 7ms 443ms 532ms 32s188ms 14 68,156 14,096 541 2 0ms 389ms 489ms 724ms 15 59,630 12,940 554 0 2ms 361ms 431ms 958ms 16 57,783 15,614 854 0 0ms 318ms 363ms 629ms 17 66,648 14,152 811 0 0ms 500ms 628ms 850ms 18 61,773 16,962 627 0 1ms 416ms 581ms 813ms 19 82,961 20,946 773 0 1ms 537ms 715ms 18s642ms 20 93,366 22,386 483 0 2ms 800ms 891ms 40s416ms 21 56,382 11,089 306 0 0ms 369ms 441ms 564ms 22 37,651 6,463 150 0 6ms 273ms 324ms 440ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Feb 18 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Feb 18 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 18 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
- 333,667 buffers Checkpoint Peak
- 2025-02-18 15:14:06 Date
- 270.055 seconds Highest write time
- 0.176 seconds Sync time
Checkpoints Wal files
Key values
- 269 files Wal files usage Peak
- 2025-02-18 15:09:06 Date
Checkpoints distance
Key values
- 8,600.80 Mo Distance Peak
- 2025-02-18 15:09:06 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Feb 18 00 127,850 3,239.622s 0.031s 3,239.704s 01 149,376 3,239.533s 0.03s 3,239.617s 02 135,337 3,239.576s 0.05s 3,239.676s 03 171,323 3,239.512s 0.032s 3,239.602s 04 152,758 3,239.567s 0.03s 3,239.648s 05 185,774 3,239.609s 0.035s 3,239.707s 06 168,778 3,239.529s 0.031s 3,239.606s 07 125,606 3,239.547s 0.036s 3,239.629s 08 142,195 3,239.627s 0.036s 3,239.701s 09 362,325 3,239.517s 0.05s 3,239.631s 10 501,784 3,239.525s 0.056s 3,239.67s 11 631,467 3,239.426s 0.071s 3,239.603s 12 631,707 3,239.49s 0.07s 3,239.664s 13 530,050 3,239.435s 0.05s 3,239.578s 14 495,200 3,239.524s 0.054s 3,239.662s 15 938,485 3,388.841s 0.34s 3,389.502s 16 373,681 3,239.463s 0.049s 3,239.719s 17 339,495 2,725.334s 0.087s 2,725.554s 18 297,995 3,239.501s 0.051s 3,239.631s 19 334,622 3,239.547s 0.066s 3,239.687s 20 407,001 3,239.419s 0.074s 3,239.592s 21 250,171 3,239.587s 0.044s 3,239.701s 22 149,561 2,429.594s 0.037s 2,429.677s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 18 00 0 0 53 3,349 0.002s 0.012s 01 0 0 63 3,007 0.002s 0.012s 02 0 0 57 2,917 0.020s 0.012s 03 0 0 71 2,527 0.003s 0.012s 04 0 0 61 2,655 0.002s 0.012s 05 0 0 79 2,564 0.002s 0.012s 06 0 0 72 2,575 0.002s 0.012s 07 0 0 51 2,814 0.008s 0.012s 08 0 0 55 3,475 0.002s 0.012s 09 0 0 139 4,856 0.002s 0.012s 10 0 0 201 5,173 0.003s 0.012s 11 0 0 256 5,238 0.003s 0.012s 12 0 0 255 5,130 0.002s 0.012s 13 0 0 223 5,236 0.003s 0.012s 14 0 0 204 5,395 0.003s 0.012s 15 1 85 461 6,024 0.028s 0.013s 16 0 138 0 5,371 0.002s 0.012s 17 0 62 68 5,146 0.010s 0.012s 18 0 0 118 5,303 0.003s 0.012s 19 0 0 137 5,343 0.002s 0.012s 20 0 0 172 5,196 0.003s 0.012s 21 0 0 108 4,687 0.002s 0.012s 22 0 0 62 3,483 0.002s 0.009s Day Hour Count Avg time (sec) Feb 18 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 18 00 73,138.50 kB 108,405.58 kB 01 85,774.75 kB 100,400.00 kB 02 77,776.00 kB 103,625.00 kB 03 96,655.58 kB 131,178.00 kB 04 84,094.58 kB 105,556.42 kB 05 107,122.17 kB 137,951.25 kB 06 97,835.50 kB 131,775.92 kB 07 69,806.08 kB 100,247.58 kB 08 75,096.25 kB 97,596.50 kB 09 190,806.08 kB 224,472.83 kB 10 273,655.67 kB 305,286.00 kB 11 341,570.18 kB 396,191.64 kB 12 348,393.50 kB 406,911.92 kB 13 309,442.91 kB 413,428.91 kB 14 279,402.92 kB 339,517.25 kB 15 377,547.83 kB 2,392,887.50 kB 16 189,256.08 kB 1,028,086.00 kB 17 175,161.27 kB 369,832.91 kB 18 160,706.33 kB 207,311.75 kB 19 188,093.42 kB 203,349.42 kB 20 234,336.17 kB 297,531.25 kB 21 147,319.58 kB 227,219.75 kB 22 112,930.00 kB 156,702.89 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 18 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 18 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 9,887,238 Total read queries
- 5,169,638 Total write queries
Queries by database
Key values
- unknown Main database
- 17,481,305 Requests
- 5d2h11m59s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 17,481,305 Requests
User Request type Count Duration unknown Total 17,481,305 5d2h11m59s copy from 2 1ms cte 9,850 2s540ms ddl 102 13ms delete 10,301 2m20s insert 1,145,643 6m37s others 2,424,428 2m31s select 9,887,238 5d1h27m18s tcl 3,739,008 2m47s update 264,732 30m21s Duration by user
Key values
- 5d2h11m59s (unknown) Main time consuming user
User Request type Count Duration unknown Total 17,481,305 5d2h11m59s copy from 2 1ms cte 9,850 2s540ms ddl 102 13ms delete 10,301 2m20s insert 1,145,643 6m37s others 2,424,428 2m31s select 9,887,238 5d1h27m18s tcl 3,739,008 2m47s update 264,732 30m21s Queries by host
Key values
- unknown Main host
- 17,481,305 Requests
- 5d2h11m59s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 17,481,305 Requests
- 5d2h11m59s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-02-18 15:17:00 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 16,052,733 0-1ms duration
Slowest individual queries
Rank Duration Query 1 4m26s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-18 21:39:26.539312', "write_uid" = 995 WHERE id IN (44624429);[ Date: 2025-02-18 22:43:55 ]
2 3m48s SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;[ Date: 2025-02-18 20:59:21 ]
3 3m36s SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;[ Date: 2025-02-18 20:59:32 ]
4 3m34s SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;[ Date: 2025-02-18 20:59:00 ]
5 3m31s SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;[ Date: 2025-02-18 20:59:28 ]
6 3m28s SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;[ Date: 2025-02-18 20:58:53 ]
7 3m11s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 40;[ Date: 2025-02-18 20:55:33 ]
8 3m4s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 40;[ Date: 2025-02-18 20:55:56 ]
9 3m3s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 40;[ Date: 2025-02-18 21:00:27 ]
10 3m2s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 40;[ Date: 2025-02-18 20:55:57 ]
11 3m1s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 40;[ Date: 2025-02-18 20:55:25 ]
12 3m1s update shipping_policy set count_search = 1 where id = 5422232;[ Date: 2025-02-18 13:28:52 ]
13 3m SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 40;[ Date: 2025-02-18 20:55:24 ]
14 2m49s update cash_policy set active = '0' where from_office in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 57, 59, 97, 101, 108, 118, 120, 129, 124, 122, 112, 12, 20, 23) and create_date_policy >= '2000-01-01' and create_date_policy <= '2024-11-30';[ Date: 2025-02-18 15:05:00 ]
15 2m43s SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;[ Date: 2025-02-18 21:03:11 ]
16 2m28s 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-18 20:16:47 ]
17 2m14s 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-18 18:45:51 ]
18 1m57s 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-18 16:38:22 ]
19 1m48s update shipping_policy set count_search = 1 where id = 5422271;[ Date: 2025-02-18 13:28:52 ]
20 1m47s 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-18 18:29:37 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2d15h59m 299,046 575ms 6s892ms 770ms 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 18 00 7,459 1h22m29s 663ms 01 9,791 1h45m55s 649ms 02 8,566 1h34m7s 659ms 03 8,109 1h26m23s 639ms 04 7,985 1h26m26s 649ms 05 8,629 1h31m54s 639ms 06 8,277 1h30m6s 653ms 07 4,961 52m36s 636ms 08 4,364 45m43s 628ms 09 11,668 2h10m34s 671ms 10 15,854 3h18m23s 750ms 11 21,480 5h2m3s 843ms 12 19,966 4h31m34s 816ms 13 15,085 3h9m12s 752ms 14 16,077 3h20m29s 748ms 15 14,598 2h55m26s 721ms 16 11,188 2h13m4s 713ms 17 12,209 2h24m46s 711ms 18 12,384 2h32m18s 737ms 19 20,335 4h32m24s 803ms 20 35,898 10h47m25s 1s82ms 21 15,133 3h1m30s 719ms 22 9,030 1h44m2s 691ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5502581)) AND (("shipping_track"."id" not in (45699361, 45699361)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:03:25 Duration: 6s892ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5505388)) AND (("shipping_track"."id" not in (45725079, 45725079)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:42:55 Duration: 6s853ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5502554)) AND (("shipping_track"."id" not in (45698761, 45698761)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:02:39 Duration: 6s814ms
2 12h40m4s 128,145 257ms 2s725ms 355ms 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 18 00 1,910 9m12s 289ms 01 1,659 8m3s 291ms 02 3,400 16m40s 294ms 03 2,807 13m40s 292ms 04 2,484 12m9s 293ms 05 4,001 19m24s 291ms 06 2,921 14m21s 295ms 07 1,791 8m42s 291ms 08 2,304 11m10s 291ms 09 3,626 18m50s 311ms 10 8,872 51m7s 345ms 11 9,722 1h2m7s 383ms 12 6,697 42m39s 382ms 13 14,361 1h26m1s 359ms 14 7,316 42m31s 348ms 15 7,785 43m22s 334ms 16 4,934 26m52s 326ms 17 215 1m3s 294ms 18 7,564 44m48s 355ms 19 12,082 1h9m18s 344ms 20 19,279 2h24m36s 450ms 21 1,588 9m21s 353ms 22 827 3m57s 287ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9891477')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-18 20:20:38 Duration: 2s725ms
-
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" = '410479')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-18 20:56:24 Duration: 2s657ms
-
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" = '531654')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-18 20:37:06 Duration: 2s558ms
3 10h29m4s 47,479 584ms 7s42ms 794ms 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 18 00 152 1m48s 711ms 01 192 2m23s 747ms 02 212 2m35s 734ms 03 141 1m47s 764ms 04 159 1m57s 741ms 05 164 2m 735ms 06 244 2m55s 718ms 07 231 2m37s 680ms 08 1,467 15m30s 633ms 09 3,219 36m45s 685ms 10 4,358 56m27s 777ms 11 4,922 1h13m16s 893ms 12 4,262 1h49s 856ms 13 2,923 38m37s 792ms 14 3,529 45m55s 780ms 15 2,437 30m32s 751ms 16 3,958 47m14s 716ms 17 3,420 39m27s 692ms 18 2,796 33m12s 712ms 19 3,450 44m53s 780ms 20 3,277 1h5m21s 1s196ms 21 1,412 16m38s 707ms 22 554 6m16s 679ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5504284, 5504280, 5504276, 5504272, 5504268, 5504264, 5504262, 5504257, 5504254, 5504251, 5504248, 5504244, 5504242, 5504238, 5504235, 5504232, 5504229, 5504226, 5504223, 5504220, 5504217, 5504214, 5504210, 5504206, 5504203, 5504199, 5504196, 5504192)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:36:42 Duration: 7s42ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5441469, 3878615, 3878650, 3880953, 3883508, 3884779, 3886455, 3887994, 3920394, 5441472, 5441475, 5441478, 5441480, 5441482, 5441486, 5441488, 5441490, 5441492, 5441494, 5441495, 5441497, 5441499, 5441501, 5441503, 5441505, 5441507, 5441509, 5441510, 5441512, 5441515, 5441517, 5441523, 5441525, 5441527, 5441528, 5441530, 5441532, 5441534, 5441536, 5441538, 5441540, 5441543, 5441546, 5441549, 5441552, 5441555, 5441558, 5441560, 5441563, 5441565, 5441568, 5441572, 5441575, 5441579, 5441583, 5441587, 5441591, 5441594, 5441597, 5441601, 5441605, 5441609, 5441612, 5441616, 5441620, 5441623, 5441628, 5441632, 5441636, 5441640, 5441642, 5441645, 5441648, 5441651, 5441654, 5441657, 5441660, 5441664, 5441668, 5441672, 5441676, 5441680, 5441683, 5441695, 5441698, 5441701, 5441705, 5441708, 5441712, 5441716, 5441720, 5441724, 5441728, 5441731, 5441735, 5441739, 5441742, 5441744, 5441748, 5441752, 5441756, 5441759, 5441762, 5441765, 5441769, 5441773, 5441777, 5441780, 5441783, 5441786, 5441789, 5441792, 5441795, 5441798, 5441800, 5441803, 5441805, 5441808, 5441811, 5441814, 5441817, 5441819, 5441821, 5441824, 5441827, 5441830, 5441831, 5441834, 5441837, 5441840, 5441842, 5441845, 5441848, 5441850, 5441853, 5441857, 5441861, 5441865, 5441869, 5441871, 5441873, 5441876, 5441879, 5441882, 5441885, 5441887, 5441892, 5441895, 5441897, 5441900, 5441903, 5441906, 5441909, 5441911, 5441913, 5441915, 5441917, 5441919, 5443219, 5443220, 5443221, 5443222, 5443223, 5443224, 5443225, 5443226, 5443227, 5443228, 5443229, 5443230, 5443231, 5443232, 5443233, 5443234, 5443235, 5443236, 5443237, 5443238, 5443239, 5443240, 5443241, 5443242, 5443243, 5443244, 5443245, 5443246, 5443247, 5443248, 5443249, 5443250, 5443251, 5443252, 5443253, 5443254, 5443255, 5443256, 5443257, 5443258, 5443260, 5443261, 5443262, 5443263, 5443264, 5443265, 5443266, 5443267, 5443268, 5443270, 5443271, 5443272, 5443273, 5443274, 5443275, 5443276, 5443277, 5443281, 5443282, 5443284, 5443285, 5449712, 5449714, 5449716, 5449718, 5449720, 5449724, 5449726, 5449728, 5449730, 5449732, 5449734, 5449737, 5449739, 5449741, 5449743, 5449745, 5449747, 5449749, 5449751, 5449753, 5449754, 5449756, 5449758, 5449760, 5449762, 5449764, 5449766, 5449767, 5449769, 5449771, 5449773, 5449775, 5449777, 5449779, 5449781, 5449783, 5449785, 5449787, 5449788, 5449790, 5449792, 5449794, 5449796, 5449798, 5449799, 5449801, 5449803, 5449805, 5449807, 5449809, 5449811, 5449813, 5449815, 5449817, 5449819, 5449820, 5449822, 5449824, 5449828, 5449830, 5449832, 5449834, 5449835, 5449837, 5449839, 5449841, 5449843, 5449845, 5449847, 5449848, 5449850, 5449852, 5449854, 5449856, 5449858, 5449860, 5449861, 5449863, 5449865, 5449867, 5449869, 5449871, 5449873, 5449874, 5449876, 5449878, 5449880, 5449882, 5449884, 5449886, 5449887, 5449889, 5449891, 5449893, 5449895, 5449897, 5449899, 5449901, 5449903, 5449904, 5449906, 5449908, 5449910, 5449912, 5449914, 5449916, 5449918, 5449920, 5449922, 5449923, 5449925, 5449927, 5449929, 5449931, 5449933, 5449935, 5449937, 5449939, 5449941, 5449942, 5449944, 5449946, 5449948)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:02:50 Duration: 6s895ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5485593, 5484923, 5484896, 5482278, 5480173, 5480109, 5477906, 5476670, 5475745, 5475558, 5474619, 5473603, 5473553, 5471462, 5469904, 5467187, 5467029, 5466938, 5466147, 5464960, 5464720, 5464450, 5464428, 5464070, 5462377, 5458424, 5458408, 5458091, 5457411, 5457401, 5457128, 5456768, 5456573, 5456181, 5452824, 5446477, 5443865, 5437666, 5437598, 5429518, 5429373, 5428298, 5428282, 5428100)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:19:34 Duration: 6s675ms
4 5h53m43s 18,040 851ms 3s47ms 1s176ms 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 18 00 853 14m40s 1s32ms 01 711 12m21s 1s43ms 02 829 15m26s 1s117ms 03 338 6m 1s67ms 04 1,108 19m48s 1s72ms 05 505 9m1s 1s71ms 06 1,230 21m57s 1s71ms 07 394 6m52s 1s47ms 08 33 33s640ms 1s19ms 09 178 3m17s 1s110ms 10 284 5m50s 1s234ms 11 67 1m54s 1s712ms 12 142 3m15s 1s374ms 13 114 2m24s 1s268ms 14 266 5m21s 1s210ms 15 243 4m53s 1s208ms 16 544 10m22s 1s145ms 17 1,416 26m55s 1s140ms 18 1,622 31m31s 1s166ms 19 1,903 39m23s 1s241ms 20 1,576 44m28s 1s693ms 21 2,371 43m25s 1s98ms 22 1,313 23m54s 1s92ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '312633')) 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-18 20:19:50 Duration: 3s47ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '116121')) 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-18 20:23:28 Duration: 3s29ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9956932')) 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-18 20:57:47 Duration: 3s27ms
5 4h52m30s 15,612 263ms 3s13ms 1s124ms 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 18 00 1,267 20m14s 958ms 01 866 13m38s 944ms 02 651 10m16s 946ms 03 260 4m4s 941ms 08 28 30s429ms 1s86ms 09 9 9s360ms 1s40ms 10 38 40s765ms 1s72ms 11 42 56s847ms 1s353ms 12 34 41s144ms 1s210ms 13 129 2m23s 1s116ms 14 252 4m44s 1s127ms 15 366 6m48s 1s117ms 16 600 10m50s 1s83ms 17 1,306 22m25s 1s30ms 18 1,584 28m21s 1s74ms 19 1,780 36m23s 1s226ms 20 2,602 1h5m9s 1s502ms 21 2,170 37m21s 1s33ms 22 1,628 26m48s 987ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '349393')) 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 (110))))))) 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 (110)))))) 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 (110)))))) 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 (110))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-18 20:03:08 Duration: 3s13ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '586656')) 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 (8))))))) 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 (8)))))) 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 (8)))))) 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 (8))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-18 20:03:56 Duration: 2s902ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '262346')) 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 (14, 74, 70))))))) 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 (14, 74, 70)))))) 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 (14, 74, 70)))))) 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 (14, 74, 70))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-18 20:42:06 Duration: 2s814ms
6 4h45m29s 66,479 91ms 1s34ms 257ms 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 #6
Day Hour Count Duration Avg duration Feb 18 00 4,207 14m36s 208ms 01 3,136 10m51s 207ms 02 2,913 11m6s 228ms 03 1,197 4m9s 208ms 04 2,188 8m16s 226ms 05 994 3m51s 233ms 06 2,422 9m30s 235ms 07 780 3m4s 235ms 08 120 19s942ms 166ms 09 348 1m26s 247ms 10 622 2m32s 245ms 11 218 1m25s 390ms 12 328 2m2s 374ms 13 480 2m18s 287ms 14 1,012 4m29s 266ms 15 1,194 4m26s 222ms 16 2,244 9m37s 257ms 17 5,386 22m32s 251ms 18 6,330 24m47s 235ms 19 7,308 32m16s 264ms 20 8,258 54m5s 392ms 21 8,972 36m25s 243ms 22 5,822 21m17s 219ms -
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-18 20:39:24 Duration: 1s34ms
-
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-18 20:39:24 Duration: 1s34ms
-
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-18 20:41:14 Duration: 1s28ms
7 3h14m15s 25,731 288ms 3s754ms 452ms select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 18 08 545 3m18s 364ms 09 935 6m20s 406ms 10 3,489 25m32s 439ms 11 2,836 22m52s 483ms 12 5,452 43m3s 473ms 13 3,647 27m58s 460ms 14 3,152 24m10s 460ms 15 2,915 21m40s 446ms 16 2,721 18m59s 418ms 17 39 19s219ms 492ms -
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" = '444616')))) 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-18 11:23:02 Duration: 3s754ms
-
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" = '549026')))) 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-18 11:23:05 Duration: 3s60ms
-
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" = '472802')))) 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-18 12:39:42 Duration: 2s530ms
8 2h40m14s 163,390 41ms 479ms 58ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 18 00 3,759 3m10s 50ms 01 4,844 4m3s 50ms 02 2,570 2m12s 51ms 03 2,905 2m26s 50ms 04 2,516 2m6s 50ms 05 1,584 1m21s 51ms 06 2,977 2m32s 51ms 07 1,611 1m22s 51ms 08 2,328 1m57s 50ms 09 7,870 7m2s 53ms 10 11,692 11m36s 59ms 11 16,893 18m41s 66ms 12 15,462 16m44s 64ms 13 11,477 11m25s 59ms 14 10,780 10m37s 59ms 15 10,262 9m44s 56ms 16 9,091 8m26s 55ms 17 8,384 7m32s 54ms 18 8,161 7m26s 54ms 19 10,117 10m3s 59ms 20 7,812 10m40s 81ms 21 5,786 5m9s 53ms 22 4,509 3m49s 50ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5465098, 5465074, 5465036, 5464828, 5464819, 5464811, 5464803)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-18 11:04:54 Duration: 479ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5483356, 5466126, 5422367, 5418129)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-18 20:03:08 Duration: 437ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5490220, 5490216, 5489487, 5480247, 5480244, 5480241)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-18 12:48:54 Duration: 399ms
9 1h34m38s 16,960 260ms 1s860ms 334ms 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 18 00 194 56s782ms 292ms 01 257 1m16s 296ms 02 434 2m5s 290ms 03 118 34s250ms 290ms 04 240 1m9s 291ms 05 799 3m54s 293ms 06 532 2m33s 289ms 07 1,212 5m54s 292ms 08 1,061 5m8s 290ms 09 1,263 6m33s 311ms 10 2,809 16m8s 344ms 11 2,487 16m38s 401ms 12 1,183 7m33s 383ms 13 973 5m34s 344ms 14 752 4m20s 346ms 15 1,021 5m38s 331ms 16 518 2m48s 324ms 17 133 39s347ms 295ms 18 174 56s193ms 322ms 19 184 1m5s 353ms 20 83 37s655ms 453ms 21 106 30s770ms 290ms 22 427 1m59s 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" = '526671')) 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 (67, 79, 128)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) 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-18 12:47:47 Duration: 1s860ms
-
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" = '605407')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-18 11:22:47 Duration: 1s855ms
-
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" = '319361')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 115)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) 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-18 12:47:31 Duration: 1s662ms
10 1h7m50s 2,567 123ms 5s331ms 1s585ms 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 18 00 6 7s556ms 1s259ms 01 1 1s432ms 1s432ms 07 3 3s421ms 1s140ms 08 33 29s744ms 901ms 09 115 2m 1s51ms 10 235 5m18s 1s354ms 11 220 5m36s 1s527ms 12 355 8m57s 1s512ms 13 349 8m28s 1s457ms 14 285 6m37s 1s395ms 15 290 9m13s 1s909ms 16 170 5m2s 1s777ms 17 227 5m19s 1s409ms 18 109 3m39s 2s10ms 19 78 3m16s 2s520ms 20 52 2m28s 2s847ms 21 27 58s472ms 2s165ms 22 12 10s906ms 908ms -
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 (79)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79))))) 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-18 20:23:11 Duration: 5s331ms
-
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 (66)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))) 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-18 20:07:17 Duration: 5s265ms
-
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 (2)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (2))))) 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-18 20:03:54 Duration: 5s136ms
11 56m40s 42,194 58ms 384ms 80ms 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 #11
Day Hour Count Duration Avg duration Feb 18 08 165 11s107ms 67ms 09 2,385 2m50s 71ms 10 3,775 5m 79ms 11 4,991 6m57s 83ms 12 6,887 10m19s 90ms 13 6,613 8m45s 79ms 14 6,515 8m43s 80ms 15 5,014 6m26s 77ms 16 5,800 7m21s 76ms 17 49 3s579ms 73ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5324515) 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-18 12:48:25 Duration: 384ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5388312) 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-18 12:49:02 Duration: 374ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5390889) 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-18 12:49:01 Duration: 373ms
12 48m40s 15,804 144ms 252ms 184ms 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 #12
Day Hour Count Duration Avg duration Feb 18 00 1,716 5m7s 179ms 01 1,307 3m57s 182ms 02 2,756 8m33s 186ms 03 2,564 7m56s 185ms 04 2,002 6m12s 186ms 05 3,092 9m30s 184ms 06 1,963 6m7s 187ms 07 321 58s992ms 183ms 08 83 14s795ms 178ms -
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" = '534804')) 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-18 06:11:14 Duration: 252ms
-
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" = '506696')) 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-18 06:10:50 Duration: 250ms
-
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" = '356443')) 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-18 06:10:53 Duration: 246ms
13 46m51s 19,134 106ms 920ms 146ms 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 18 08 295 37s916ms 128ms 09 979 2m10s 133ms 10 2,046 4m59s 146ms 11 1,757 4m54s 167ms 12 2,975 7m44s 156ms 13 1,875 4m31s 144ms 14 1,894 4m36s 145ms 15 997 2m14s 134ms 16 1,773 4m4s 137ms 17 1,439 3m8s 130ms 18 1,123 2m28s 132ms 19 1,095 2m39s 145ms 20 559 1m58s 211ms 21 204 28s271ms 138ms 22 123 15s461ms 125ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8168675)) AND (("cash_track"."id" not in (8297002)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-18 20:03:38 Duration: 920ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8164554)) AND (("cash_track"."id" not in (8264918)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-18 11:16:14 Duration: 897ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8168701)) AND (("cash_track"."id" not in (8297028)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-18 20:05:48 Duration: 895ms
14 28m43s 23 162ms 3m11s 1m14s 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 #14
Day Hour Count Duration Avg duration Feb 18 08 6 1s134ms 189ms 16 1 1m57s 1m57s 17 1 227ms 227ms 18 5 5m49s 1m9s 20 9 17m51s 1m59s 21 1 3m3s 3m3s -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 40;
Date: 2025-02-18 20:55:33 Duration: 3m11s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 40;
Date: 2025-02-18 20:55:56 Duration: 3m4s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 40;
Date: 2025-02-18 21:00:27 Duration: 3m3s
15 28m21s 22,779 53ms 302ms 74ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 18 08 458 29s408ms 64ms 09 744 49s861ms 67ms 10 2,906 3m34s 73ms 11 2,590 3m23s 78ms 12 2,579 3m47s 88ms 13 4,578 5m43s 75ms 14 3,299 3m59s 72ms 15 2,641 3m8s 71ms 16 2,945 3m22s 68ms 17 39 2s757ms 70ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5363885) ORDER BY "collection_policy"."id";
Date: 2025-02-18 12:47:42 Duration: 302ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5421096) ORDER BY "collection_policy"."id";
Date: 2025-02-18 12:47:29 Duration: 296ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5425356) ORDER BY "collection_policy"."id";
Date: 2025-02-18 12:47:29 Duration: 294ms
16 23m29s 2,419 438ms 852ms 582ms 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 true))) 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 #16
Day Hour Count Duration Avg duration Feb 18 13 537 5m6s 570ms 14 1,882 18m23s 586ms -
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" = '247621') AND TRUE))) 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, 112, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-18 14:18:56 Duration: 852ms
-
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" = '345597') AND TRUE))) 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, 112, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-18 14:00:10 Duration: 845ms
-
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" = '246506') AND TRUE))) 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, 112, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-18 14:18:54 Duration: 833ms
17 20m42s 6 2m43s 3m48s 3m27s select count(*) from ( select from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) limit ?) t;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 18 20 5 17m59s 3m35s 21 1 2m43s 2m43s -
SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;
Date: 2025-02-18 20:59:21 Duration: 3m48s
-
SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;
Date: 2025-02-18 20:59:32 Duration: 3m36s
-
SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;
Date: 2025-02-18 20:59:00 Duration: 3m34s
18 20m18s 6,764 122ms 1s231ms 180ms select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 18 00 17 2s223ms 130ms 02 21 2s860ms 136ms 08 36 4s780ms 132ms 09 722 1m43s 143ms 10 742 2m3s 166ms 11 1,544 5m28s 212ms 12 1,399 4m28s 191ms 13 541 1m31s 168ms 14 401 1m8s 170ms 15 420 1m5s 157ms 16 232 34s620ms 149ms 17 135 20s38ms 148ms 18 244 36s423ms 149ms 19 102 17s232ms 168ms 20 139 41s657ms 299ms 21 28 3s968ms 141ms 22 41 5s696ms 138ms -
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-18 11:01:56 Duration: 1s231ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 126)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-18 11:01:59 Duration: 1s214ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 2)) 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-18 12:36:32 Duration: 1s208ms
19 18m13s 2,029 287ms 912ms 538ms 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 18 08 455 3m54s 515ms 09 275 2m28s 540ms 10 593 6m12s 627ms 12 224 2m35s 693ms 13 6 3s993ms 665ms 14 29 16s536ms 570ms 15 71 25s723ms 362ms 16 343 2m2s 358ms 18 33 13s237ms 401ms -
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" = '505767')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-18 12:03:11 Duration: 912ms
-
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" = '458076')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-18 10:35:05 Duration: 901ms
-
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" = '337235')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-18 12:02:08 Duration: 899ms
20 17m41s 287 695ms 7s449ms 3s698ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 18 00 5 5s735ms 1s147ms 08 18 55s234ms 3s68ms 09 18 58s294ms 3s238ms 10 6 21s287ms 3s547ms 11 11 44s725ms 4s65ms 12 10 38s561ms 3s856ms 13 25 1m39s 3s995ms 14 10 35s308ms 3s530ms 15 17 54s331ms 3s195ms 16 9 30s605ms 3s400ms 17 29 1m34s 3s270ms 18 40 2m24s 3s622ms 19 26 1m43s 3s999ms 20 35 3m3s 5s250ms 21 19 1m1s 3s247ms 22 9 28s263ms 3s140ms -
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 (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"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))) 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"."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)))))))) AND ("policy_number"."name"::text ilike '%471110%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-18 11:23:28 Duration: 7s449ms
-
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 (23))))))) 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 (23)))))) 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 (23)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (23)))))) 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 (23))))))))) 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 (23)))))))) AND ("policy_number"."name"::text ilike '%15%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-18 20:39:40 Duration: 7s174ms
-
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 (23))))))) 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 (23)))))) 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 (23)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (23)))))) 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 (23))))))))) 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 (23)))))))) AND ("policy_number"."name"::text ilike '%156%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-18 20:40:03 Duration: 7s153ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,424,287 2m31s 0ms 3ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 18 00 37,452 1s830ms 0ms 01 40,332 2s100ms 0ms 02 35,528 1s876ms 0ms 03 32,507 1s674ms 0ms 04 31,683 1s641ms 0ms 05 32,853 1s750ms 0ms 06 36,430 2s27ms 0ms 07 30,705 1s577ms 0ms 08 54,837 2s817ms 0ms 09 132,066 7s583ms 0ms 10 201,837 12s884ms 0ms 11 209,983 14s508ms 0ms 12 213,079 14s608ms 0ms 13 204,346 13s548ms 0ms 14 182,726 11s926ms 0ms 15 189,390 12s81ms 0ms 16 179,824 11s214ms 0ms 17 146,789 8s138ms 0ms 18 127,182 7s521ms 0ms 19 112,768 6s925ms 0ms 20 87,917 6s624ms 0ms 21 67,362 4s52ms 0ms 22 36,691 2s108ms 0ms -
DISCARD ALL;
Date: 2025-02-18 13:53:26 Duration: 3ms
-
DISCARD ALL;
Date: 2025-02-18 12:39:29 Duration: 2ms
-
DISCARD ALL;
Date: 2025-02-18 12:48:46 Duration: 2ms
2 1,869,504 35s31ms 0ms 18ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 18 00 25,808 452ms 0ms 01 28,548 522ms 0ms 02 25,584 467ms 0ms 03 22,322 406ms 0ms 04 21,658 396ms 0ms 05 22,340 416ms 0ms 06 27,333 490ms 0ms 07 23,341 390ms 0ms 08 42,053 678ms 0ms 09 103,705 1s741ms 0ms 10 162,563 3s 0ms 11 167,436 3s548ms 0ms 12 170,180 3s416ms 0ms 13 161,062 3s4ms 0ms 14 140,330 2s611ms 0ms 15 144,740 2s549ms 0ms 16 137,543 2s333ms 0ms 17 115,100 1s853ms 0ms 18 97,705 1s712ms 0ms 19 85,129 1s692ms 0ms 20 66,902 1s926ms 0ms 21 51,532 936ms 0ms 22 26,590 483ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-18 10:53:34 Duration: 18ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-18 20:52:09 Duration: 2ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-18 13:57:34 Duration: 1ms
3 1,230,379 14s639ms 0ms 2ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 18 00 19,425 193ms 0ms 01 20,869 214ms 0ms 02 18,438 194ms 0ms 03 16,809 168ms 0ms 04 16,464 168ms 0ms 05 17,063 177ms 0ms 06 18,823 200ms 0ms 07 15,925 156ms 0ms 08 28,133 277ms 0ms 09 66,995 729ms 0ms 10 101,953 1s237ms 0ms 11 105,898 1s433ms 0ms 12 107,490 1s425ms 0ms 13 103,107 1s283ms 0ms 14 92,233 1s131ms 0ms 15 95,804 1s121ms 0ms 16 90,708 1s35ms 0ms 17 74,321 791ms 0ms 18 64,515 701ms 0ms 19 57,276 684ms 0ms 20 44,789 721ms 0ms 21 34,500 387ms 0ms 22 18,841 203ms 0ms -
ROLLBACK;
Date: 2025-02-18 18:50:46 Duration: 2ms
-
ROLLBACK;
Date: 2025-02-18 19:45:02 Duration: 1ms
-
ROLLBACK;
Date: 2025-02-18 13:21:24 Duration: 0ms
4 1,224,152 4m29s 0ms 19ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 18 00 18,814 3s891ms 0ms 01 20,250 4s427ms 0ms 02 17,787 3s951ms 0ms 03 16,252 3s449ms 0ms 04 15,873 3s372ms 0ms 05 16,479 3s616ms 0ms 06 18,242 3s969ms 0ms 07 15,376 3s17ms 0ms 08 27,658 5s336ms 0ms 09 66,953 14s20ms 0ms 10 102,137 22s484ms 0ms 11 106,141 25s509ms 0ms 12 107,912 24s919ms 0ms 13 103,374 22s608ms 0ms 14 92,503 20s160ms 0ms 15 95,697 20s16ms 0ms 16 90,712 18s409ms 0ms 17 74,003 15s33ms 0ms 18 64,130 13s609ms 0ms 19 56,901 13s334ms 0ms 20 44,406 13s191ms 0ms 21 34,108 7s454ms 0ms 22 18,444 3s979ms 0ms -
SELECT payload FROM http_sessions WHERE sid = '2d32fd2267c897b440e7be23c9d8c94f80b4757e';
Date: 2025-02-18 13:22:49 Duration: 19ms
-
SELECT payload FROM http_sessions WHERE sid = '6161ab1ef6d497a2e5b98db9ec42ece5a9c01aae';
Date: 2025-02-18 13:02:17 Duration: 18ms
-
SELECT payload FROM http_sessions WHERE sid = '4158c02f712a4f9d67662b373dd7d969b77ab643';
Date: 2025-02-18 12:03:20 Duration: 17ms
5 1,212,103 2m4s 0ms 3ms 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 18 00 18,755 1s737ms 0ms 01 20,196 1s928ms 0ms 02 17,793 1s698ms 0ms 03 16,305 1s561ms 0ms 04 15,882 1s502ms 0ms 05 16,479 1s586ms 0ms 06 18,260 1s781ms 0ms 07 15,413 1s405ms 0ms 08 27,400 2s474ms 0ms 09 65,974 6s344ms 0ms 10 100,864 10s344ms 0ms 11 104,971 11s677ms 0ms 12 106,505 11s487ms 0ms 13 102,124 10s553ms 0ms 14 91,339 9s414ms 0ms 15 94,599 9s317ms 0ms 16 89,908 8s678ms 0ms 17 73,327 7s177ms 0ms 18 63,588 6s545ms 0ms 19 56,389 6s122ms 0ms 20 43,968 6s33ms 0ms 21 33,698 3s353ms 0ms 22 18,366 1s792ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-18 12:39:27 Duration: 3ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-18 20:18:58 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-18 15:27:01 Duration: 2ms
6 639,116 1m57s 0ms 49ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 18 00 6,387 1s68ms 0ms 01 7,676 1s480ms 0ms 02 7,145 1s484ms 0ms 03 5,516 1s343ms 0ms 04 5,193 1s340ms 0ms 05 5,277 1s410ms 0ms 06 8,511 1s730ms 0ms 07 7,416 1s302ms 0ms 08 13,919 1s858ms 0ms 09 36,712 5s935ms 0ms 10 60,603 10s231ms 0ms 11 61,539 12s175ms 0ms 12 62,691 12s460ms 0ms 13 57,947 10s33ms 0ms 14 48,101 8s733ms 0ms 15 48,942 10s283ms 0ms 16 46,836 7s228ms 0ms 17 40,770 6s13ms 0ms 18 33,181 5s237ms 0ms 19 27,852 5s427ms 0ms 20 22,113 6s275ms 0ms 21 17,038 3s105ms 0ms 22 7,751 1s440ms 0ms -
COMMIT;
Date: 2025-02-18 15:05:38 Duration: 49ms
-
COMMIT;
Date: 2025-02-18 15:06:30 Duration: 48ms
-
COMMIT;
Date: 2025-02-18 15:04:50 Duration: 47ms
7 539,080 1m29s 0ms 16ms 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 18 00 5,867 668ms 0ms 01 7,299 1s70ms 0ms 02 6,256 837ms 0ms 03 4,387 636ms 0ms 04 4,597 607ms 0ms 05 3,740 578ms 0ms 06 8,414 1s106ms 0ms 07 6,125 841ms 0ms 08 9,966 1s361ms 0ms 09 29,950 4s546ms 0ms 10 48,418 8s425ms 0ms 11 49,989 10s35ms 0ms 12 54,303 10s375ms 0ms 13 48,184 8s279ms 0ms 14 38,806 6s730ms 0ms 15 39,175 6s615ms 0ms 16 38,544 5s869ms 0ms 17 35,400 5s78ms 0ms 18 29,000 4s155ms 0ms 19 25,038 4s66ms 0ms 20 19,884 4s743ms 0ms 21 17,073 2s86ms 0ms 22 8,665 1s23ms 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 (5099082, 5105759, 5217214, 5099282, 5489089, 5099499, 5099553, 5104564, 5112788, 5119869, 5107242, 5099141, 5365876, 5107333, 5117657, 5099504, 5119699, 5243943, 5102290, 5177692, 5106365, 5115445, 5099821, 5216041, 5099462, 5101345, 5140547, 5112696, 5103802, 5330493, 5101831, 5100061, 5331453, 5099544, 5100554, 5519859, 5106543, 5209304, 5105670, 5100641, 5392055, 5099941, 5107702, 5100246, 5100538, 5116464, 5101817, 5099137, 5101403, 5099761, 5149605, 5099947, 5116279, 5099511, 5214826, 5099190, 5099559, 5167173, 5103909, 5099857, 5099533, 5266676, 5113941, 5100747, 5517257, 5296305, 5101133, 5099249, 5173783, 5107911, 5100112, 5104278, 5103179, 5109864, 5125960, 5099309, 5099261, 5122458, 5099529, 5101145, 5099842, 5099334, 5100952, 5099112, 5116650, 5102973, 5127932, 5302706, 5107665, 5100624, 5103931, 5208811, 5099441, 5520279, 5185468, 5236942, 5518914, 5105002, 5503812, 5110518, 5099263, 5123786, 5181973, 5100977, 5102969, 5100070, 5332388, 5103770, 5103971, 5100476, 5099092, 5227865, 5192794, 5186015, 5147499, 5109659, 5100189, 5102344, 5382866, 5346152, 5109862, 5386343, 5109526, 5099431, 5100386, 5100636, 5099116, 5102221, 5133525, 5102489, 5518194, 5099474, 5100354, 5100494, 5100700, 5099119, 5101839, 5208599, 5104400, 5103863, 5100163, 5100129, 5099584, 5101592, 5099191, 5103145, 5100241, 5276027, 5127694, 5099741, 5099622, 5100872, 5192231, 5103379, 5127387, 5099108, 5099376, 5129947, 5101294, 5099387, 5099502, 5324893, 5105829, 5252519, 5100699, 5114534, 5253937, 5105592, 5151482, 5099746, 5100936, 5387723, 5102256, 5412934, 5099315, 5101362, 5105205, 5107903, 5101563, 5100754, 5099630, 5517954, 5105195, 5264902, 5099139, 5114357, 5105620, 5104194, 5237422, 5105317, 5099759, 5100669, 5103198, 5105117, 5099433, 5100259, 5108300, 5109542, 5104160, 5132509, 5099581, 5106638, 5102001, 5100299, 5170221, 5104848, 5102462, 5108114, 5106695, 5513340, 5106553, 5101088, 5102190, 5100804, 5099602, 5102929, 5103985, 5099791, 5106662, 5198779, 5099650, 5110154, 5099995, 5099655, 5099521, 5101068, 5124219, 5099806, 5111477, 5101219, 5124501, 5099120, 5100724, 5103022, 5107172, 5101665, 5101474, 5122425, 5104711);
Date: 2025-02-18 14:50:07 Duration: 16ms
-
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 (5109792, 5416734, 5343008, 5450584, 5397326, 5399879, 5416732, 5404491, 5419532, 5428495, 5112397, 5131773, 5470406, 5350933, 5387529, 5466274, 5264862, 5105206, 5130115, 5365876, 5119869, 5480228, 5133443, 5299403, 5247982, 5099154, 5213867, 5484016, 5154951, 5211813, 5296305, 5102681, 5516720, 5517066, 5121561, 5114729, 5465846, 5380628, 5226034, 5103062, 5107075, 5132746, 5099772, 5105089, 5461551, 5100320, 5101256, 5152801, 5128207, 5099120, 5104692);
Date: 2025-02-18 17:21:54 Duration: 6ms
-
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 (5099181, 5102136, 5099693, 5099391, 5098996, 5099760, 5100883, 5099013, 5099582, 5123831, 5099007, 5100615, 5099585, 5101088, 5103025, 5099111, 5101219, 5102340, 5099009, 5107228, 5099958, 5100076, 5099190, 5099415, 5100511, 5125624, 5099120, 5099660, 5220354, 5100554, 5099764, 5099521, 5099430, 5099321);
Date: 2025-02-18 17:21:53 Duration: 5ms
8 535,913 42s612ms 0ms 2ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."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 18 00 4,144 277ms 0ms 01 5,726 379ms 0ms 02 4,862 313ms 0ms 03 3,333 213ms 0ms 04 3,005 171ms 0ms 05 3,119 202ms 0ms 06 6,620 358ms 0ms 07 6,317 351ms 0ms 08 10,636 590ms 0ms 09 30,778 2s45ms 0ms 10 50,468 3s979ms 0ms 11 50,707 4s843ms 0ms 12 52,547 4s828ms 0ms 13 48,884 4s85ms 0ms 14 40,205 3s271ms 0ms 15 39,970 3s21ms 0ms 16 40,537 2s816ms 0ms 17 36,330 2s377ms 0ms 18 29,278 2s27ms 0ms 19 25,052 2s148ms 0ms 20 19,755 2s736ms 0ms 21 16,804 1s114ms 0ms 22 6,836 455ms 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 (28);
Date: 2025-02-18 20:08:28 Duration: 2ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (128, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 16, 17, 19, 22, 23, 24, 26, 27, 28, 29, 30, 32, 35, 36, 38, 39, 40, 41, 42, 44, 46, 48, 49, 51, 52, 53, 55, 60, 61, 62, 64, 65, 66, 67, 68, 70, 71, 73, 75, 76, 77, 78, 79, 80, 83, 85, 102, 110, 111, 113, 115, 119, 121, 123, 126, 127);
Date: 2025-02-18 13:50:45 Duration: 1ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (64, 75, 22, 79, 60, 13, 68, 53, 8, 27, 67, 7, 17, 52, 6, 23, 3, 55, 14, 70, 51, 32, 9, 111, 77, 30, 4, 28, 41, 24, 110, 49, 19, 128, 78, 46, 26, 11, 61, 5, 113);
Date: 2025-02-18 12:44:11 Duration: 1ms
9 366,456 1m18s 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 18 00 3,970 679ms 0ms 01 3,616 708ms 0ms 02 3,121 624ms 0ms 03 2,055 420ms 0ms 04 2,238 420ms 0ms 05 1,988 399ms 0ms 06 4,018 767ms 0ms 07 3,996 686ms 0ms 08 10,084 1s490ms 0ms 09 22,588 4s134ms 0ms 10 34,191 7s447ms 0ms 11 34,491 8s659ms 0ms 12 36,045 8s681ms 0ms 13 34,106 7s543ms 0ms 14 29,456 6s303ms 0ms 15 29,466 6s49ms 0ms 16 27,675 5s486ms 0ms 17 24,047 4s623ms 0ms 18 18,890 3s633ms 0ms 19 15,338 3s443ms 0ms 20 11,631 3s794ms 0ms 21 9,342 1s876ms 0ms 22 4,104 761ms 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 (2);
Date: 2025-02-18 17:21:53 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 (8007364);
Date: 2025-02-18 17:21:53 Duration: 5ms
-
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 (8007364);
Date: 2025-02-18 17:21:53 Duration: 5ms
10 301,230 32s164ms 0ms 3ms 0ms select "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" from "res_users" where "res_users".id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 18 00 3,044 321ms 0ms 01 2,980 341ms 0ms 02 2,506 300ms 0ms 03 1,917 251ms 0ms 04 1,777 232ms 0ms 05 1,643 228ms 0ms 06 3,608 389ms 0ms 07 3,464 341ms 0ms 08 6,905 588ms 0ms 09 17,740 1s606ms 0ms 10 28,893 2s993ms 0ms 11 28,653 3s500ms 0ms 12 29,517 3s502ms 0ms 13 28,466 3s14ms 0ms 14 23,432 2s451ms 0ms 15 23,693 2s356ms 0ms 16 23,610 2s218ms 0ms 17 19,901 1s774ms 0ms 18 15,389 1s427ms 0ms 19 12,619 1s444ms 0ms 20 9,833 1s759ms 0ms 21 8,182 783ms 0ms 22 3,458 337ms 0ms -
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-02-18 11:18:50 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-18 20:12:05 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-18 12:48:17 Duration: 3ms
11 299,046 2d15h59m 575ms 6s892ms 770ms 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 18 00 7,459 1h22m29s 663ms 01 9,791 1h45m55s 649ms 02 8,566 1h34m7s 659ms 03 8,109 1h26m23s 639ms 04 7,985 1h26m26s 649ms 05 8,629 1h31m54s 639ms 06 8,277 1h30m6s 653ms 07 4,961 52m36s 636ms 08 4,364 45m43s 628ms 09 11,668 2h10m34s 671ms 10 15,854 3h18m23s 750ms 11 21,480 5h2m3s 843ms 12 19,966 4h31m34s 816ms 13 15,085 3h9m12s 752ms 14 16,077 3h20m29s 748ms 15 14,598 2h55m26s 721ms 16 11,188 2h13m4s 713ms 17 12,209 2h24m46s 711ms 18 12,384 2h32m18s 737ms 19 20,335 4h32m24s 803ms 20 35,898 10h47m25s 1s82ms 21 15,133 3h1m30s 719ms 22 9,030 1h44m2s 691ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5502581)) AND (("shipping_track"."id" not in (45699361, 45699361)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:03:25 Duration: 6s892ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5505388)) AND (("shipping_track"."id" not in (45725079, 45725079)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:42:55 Duration: 6s853ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5502554)) AND (("shipping_track"."id" not in (45698761, 45698761)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:02:39 Duration: 6s814ms
12 293,748 1m55s 0ms 5ms 0ms select r.id from ir_rule r join ir_model m on (r.model_id = m.id) where m.model = ? and r.active and r.perm_read and (r.id in ( select rule_group_id from rule_group_rel rg join res_groups_users_rel gu on (rg.group_id = gu.gid) where gu.uid = ?) or r.global) order by r.id;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 18 00 3,032 981ms 0ms 01 2,647 929ms 0ms 02 2,389 837ms 0ms 03 1,103 406ms 0ms 04 1,299 449ms 0ms 05 1,028 361ms 0ms 06 1,831 616ms 0ms 07 1,088 364ms 0ms 08 9,657 3s31ms 0ms 09 18,834 6s651ms 0ms 10 22,061 8s817ms 0ms 11 19,785 8s907ms 0ms 12 32,351 14s100ms 0ms 13 32,304 12s963ms 0ms 14 26,437 10s551ms 0ms 15 22,678 8s692ms 0ms 16 19,893 7s436ms 0ms 17 25,413 8s899ms 0ms 18 17,389 6s255ms 0ms 19 12,491 5s85ms 0ms 20 9,869 5s367ms 0ms 21 6,413 2s215ms 0ms 22 3,756 1s221ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'shipping.policy' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1390) OR r.global) ORDER BY r.id;
Date: 2025-02-18 14:15:07 Duration: 5ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'cash.policy' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1384) OR r.global) ORDER BY r.id;
Date: 2025-02-18 13:43:40 Duration: 4ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'cash.policy' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1334) OR r.global) ORDER BY r.id;
Date: 2025-02-18 12:41:06 Duration: 4ms
13 248,990 1m10s 0ms 14ms 0ms select "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" from "policy_number" where "policy_number".id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 18 00 3,311 802ms 0ms 01 3,562 971ms 0ms 02 3,146 810ms 0ms 03 1,936 514ms 0ms 04 2,298 617ms 0ms 05 1,599 491ms 0ms 06 3,760 987ms 0ms 07 2,633 665ms 0ms 08 4,207 1s19ms 0ms 09 12,504 3s136ms 0ms 10 20,182 5s744ms 0ms 11 20,917 6s777ms 0ms 12 23,543 7s235ms 0ms 13 21,097 5s857ms 0ms 14 18,446 4s858ms 0ms 15 17,275 4s929ms 0ms 16 18,055 5s108ms 0ms 17 17,478 4s366ms 0ms 18 14,406 3s585ms 0ms 19 12,932 3s687ms 0ms 20 10,610 4s280ms 0ms 21 9,905 2s429ms 0ms 22 5,188 1s215ms 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 (32404699, 44522234, 44493822, 32405141, 44604596, 44675064, 44626529, 44637646, 44675797, 44608258, 44606373, 44647449, 32321806, 44600867, 44692978, 32558896, 44528724, 44607869, 44612737, 44600267, 44634633, 32271430, 44475113, 44602517, 32539729, 44493683, 44530278, 41994834, 44669517, 44669645, 44669943, 32527724, 44489305, 44693000, 32312183, 32480968, 44584646, 44627935, 44501504, 32500304, 44610414, 44535426, 32476143, 44670012, 44506171, 44590906);
Date: 2025-02-18 17:21:53 Duration: 14ms
-
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 (44610898, 44673129, 44673124, 44610081, 44610076, 44610072, 44610073, 44610068, 42135491, 42135538, 42135514, 42135570, 42135535, 42135513, 42135461, 42135486, 42135593, 42135550, 42135462, 42135483, 42135475, 42135458, 42135459, 42135519, 42135504, 42135606, 42135522, 42135518, 42135533, 42135525, 42135536, 42135496, 44673013, 44673119, 44672997, 44503561, 44610891, 44672063, 42135618, 42135557, 44610826, 44612411, 44610380, 44610378, 44610382, 44610383, 44610381, 44503191, 44503199, 44503195, 44610373, 44610372, 32259129, 44610369, 32259128, 44504056, 32259127, 44611824, 32259126, 44504057, 32259125, 44612127, 32259124, 32527214, 44611823, 44502559, 44504059, 44502625, 44612133, 44502624, 44692955, 44612129, 44502623, 44692956, 44612142, 44502622, 44692957, 44612140, 44502621, 44692958, 44612139, 44502620, 44621730, 44612124, 44502619, 44531555, 44612131, 44502618, 44692959, 32524872, 44502617, 44692960, 32524875, 44502616, 44692961, 32524877, 44502615, 44693962, 44610464, 44502614);
Date: 2025-02-18 17:21:53 Duration: 13ms
-
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 (40616523);
Date: 2025-02-18 17:21:53 Duration: 9ms
14 215,080 41s856ms 0ms 16ms 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 18 00 3,241 464ms 0ms 01 2,591 369ms 0ms 02 2,602 356ms 0ms 03 1,574 222ms 0ms 04 1,689 216ms 0ms 05 1,442 191ms 0ms 06 1,838 250ms 0ms 07 1,430 190ms 0ms 08 9,581 1s440ms 0ms 09 16,467 2s815ms 0ms 10 16,041 3s150ms 0ms 11 14,357 3s106ms 0ms 12 21,540 5s210ms 0ms 13 21,432 4s663ms 0ms 14 17,057 3s525ms 0ms 15 16,632 3s61ms 0ms 16 12,025 2s199ms 0ms 17 17,774 3s249ms 0ms 18 11,526 2s93ms 0ms 19 9,557 1s882ms 0ms 20 6,998 1s929ms 0ms 21 4,557 765ms 0ms 22 3,129 497ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1344 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_public' AND model = 'res.groups');
Date: 2025-02-18 12:19:59 Duration: 16ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 821 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2025-02-18 12:35:48 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 969 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_shipping_policy' AND name = 'group_changes_shipping_amount' AND model = 'res.groups');
Date: 2025-02-18 17:03:48 Duration: 2ms
15 181,629 20s288ms 0ms 2ms 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 18 00 1,163 90ms 0ms 01 1,973 157ms 0ms 02 1,657 146ms 0ms 03 1,333 116ms 0ms 04 1,185 100ms 0ms 05 1,086 102ms 0ms 06 2,468 211ms 0ms 07 2,110 163ms 0ms 08 3,549 284ms 0ms 09 10,569 985ms 0ms 10 16,847 1s708ms 0ms 11 17,775 2s147ms 0ms 12 19,350 2s404ms 0ms 13 17,673 2s187ms 0ms 14 14,027 1s792ms 0ms 15 14,161 1s705ms 0ms 16 13,549 1s73ms 0ms 17 12,003 924ms 0ms 18 9,160 839ms 0ms 19 7,430 991ms 0ms 20 5,512 1s540ms 0ms 21 4,943 450ms 0ms 22 2,106 163ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414, 2);
Date: 2025-02-18 11:02:39 Duration: 2ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414, 2);
Date: 2025-02-18 12:57:50 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2025-02-18 20:30:55 Duration: 1ms
16 169,934 1m47s 0ms 26ms 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 18 00 416 306ms 0ms 01 209 152ms 0ms 02 287 164ms 0ms 03 153 113ms 0ms 04 187 118ms 0ms 05 186 127ms 0ms 06 484 236ms 0ms 07 1,095 547ms 0ms 08 2,330 1s200ms 0ms 09 5,050 3s17ms 0ms 10 10,772 6s416ms 0ms 11 11,118 7s613ms 0ms 12 12,140 9s306ms 0ms 13 16,323 10s426ms 0ms 14 14,484 9s686ms 0ms 15 13,441 8s310ms 0ms 16 9,164 5s811ms 0ms 17 5,396 3s457ms 0ms 18 7,268 3s981ms 0ms 19 14,158 7s748ms 0ms 20 35,480 23s799ms 0ms 21 7,082 3s807ms 0ms 22 2,711 1s572ms 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 (3605773, 3605777, 3410775, 4407855, 4227847, 4250742, 4881558, 4196838, 4196724, 4501457, 4227850, 4227851, 5240583, 4343636, 5348556, 3635608, 3635759, 3635603, 5313890, 5313889, 5313888, 5087788, 5313875, 3339727, 2151965, 4658261, 3005112, 3045980, 3339723, 3117458, 3378460, 3505188, 3063395, 3437323, 4325406, 4501440, 2856553, 4227827, 1192848, 4512062, 3749044, 5157561, 5038455, 5405943, 5134016, 5134025, 4828138, 4634972, 4694621, 4634952, 4824550, 5439668, 4535867, 5209329, 5209330, 3966867, 3279738, 3375217, 3792611, 5214191, 4612044, 5038427, 3265176, 5365331, 4293642, 5365341, 3180608, 4501402, 4572976, 4532276, 4572831, 3898244, 4070939, 3046053, 3967566, 3797889, 3866732, 3678364, 3932094, 3487949, 3573356, 5373350, 5373369, 3610882, 3895991, 5091241, 3160900, 4125742, 5160886, 3932117, 5044981, 3866740, 4532286, 3898236, 3203659, 5130503, 3068712, 3932104, 3436587, 5236986, 4960616, 4532863, 3119307, 5273019, 3636384, 5222338, 3349250, 3580792, 5042611, 3176129, 4597692, 4663350, 4837733, 5193221, 5175887);
Date: 2025-02-18 17:21:55 Duration: 26ms
-
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 (5384327, 5275278, 5358032, 5384169, 5328752, 5384176, 5358058, 5290297, 5192736, 5367405, 5358024, 5366892, 5367403, 5367024, 5358028, 5367413, 5384322, 5384154, 5367287, 5366963, 5367411, 5367167, 5353786, 5367407, 5384514, 5367369, 5384803, 5328691, 5367409, 5252417, 5358057, 5283150, 5283152, 5290300, 5366842, 5384330, 5328144, 5290426, 5384367, 5275558, 5328709, 5367295, 5251004, 5332476, 5332473, 5250970, 5332465, 5283071, 5332467, 5316394, 5328025, 5292532, 5287594, 5250964, 5290404, 5287591, 5290308, 5193215, 5290402, 5283085, 5250973, 5287588, 5222550, 5290473, 5282952, 5250962, 5228498, 5250967, 5267130, 5192943, 5129807, 5250960, 5222548, 5137943, 5228368, 5193217, 5193218, 5222545, 5154745, 5070660, 5193025, 5193061, 5193059, 5137350, 5022425, 5022424, 5071091, 5022423, 5022422, 5022426, 5009657, 5035728, 5009851, 5009842, 4935488, 4935495, 4935498, 4936076, 4936107, 4935460, 4852560, 4852631, 4852634, 4852559, 4852632, 4852561, 4327871, 4328125);
Date: 2025-02-18 13:02:17 Duration: 26ms
-
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 (5132722, 5150771, 4696794, 5332812, 4960487, 5371903, 5244379, 5216862, 5228630, 5170714, 5165012, 5322155, 5170857, 5184752, 4947259, 5101284, 5042414, 5316355, 5221100, 5337321, 5121928, 5127577, 5231397, 5231717, 5233238, 5235295, 5139183, 5145942, 5190710, 5249422, 5173863, 5172418, 5184301, 5188727, 5253757, 5255692, 5259240, 5260736, 5210570, 5216494, 5192948, 5224135, 5283551, 5289748, 4937012, 5052316, 5077736, 5084221, 5104902, 5111238, 5217298, 5222045, 5273353, 5328040, 5329757, 5367724, 5283355, 5300304, 5268847, 5324323, 5287414, 5260690, 5217722, 5316876, 5321501, 5309074, 5321580, 5309612, 5310031, 5251529, 5163278, 4744138, 4891744, 5089831, 5153882, 5233038, 5320566, 5251407, 4736084, 5164448, 5165082, 5207366, 5211446, 5221127, 5225256, 5231628, 5247436, 5263768, 4358115, 5322063, 5104990, 5120633, 5132475, 5153392, 5192736, 5221043, 5168366, 5189642, 5224119, 5313055, 4670425, 4928971, 5338618, 5256202, 5256101, 5276630, 5245629, 5233059, 5318315, 5172583, 5318605, 5211207, 5241402, 5266965, 5248229, 5322025, 5249776, 5311113, 5322796, 5331956, 5333426, 5323297, 5335051, 5335624, 5335874, 5368286, 5335296, 5326666, 5326774, 5370536, 5247841, 5341964, 5298652, 5318097, 5348168, 5275248, 5356381, 5260864, 5231643, 5260701, 5357470, 5361942, 5363259, 5096973);
Date: 2025-02-18 14:27:05 Duration: 22ms
17 163,390 2h40m14s 41ms 479ms 58ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 18 00 3,759 3m10s 50ms 01 4,844 4m3s 50ms 02 2,570 2m12s 51ms 03 2,905 2m26s 50ms 04 2,516 2m6s 50ms 05 1,584 1m21s 51ms 06 2,977 2m32s 51ms 07 1,611 1m22s 51ms 08 2,328 1m57s 50ms 09 7,870 7m2s 53ms 10 11,692 11m36s 59ms 11 16,893 18m41s 66ms 12 15,462 16m44s 64ms 13 11,477 11m25s 59ms 14 10,780 10m37s 59ms 15 10,262 9m44s 56ms 16 9,091 8m26s 55ms 17 8,384 7m32s 54ms 18 8,161 7m26s 54ms 19 10,117 10m3s 59ms 20 7,812 10m40s 81ms 21 5,786 5m9s 53ms 22 4,509 3m49s 50ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5465098, 5465074, 5465036, 5464828, 5464819, 5464811, 5464803)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-18 11:04:54 Duration: 479ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5483356, 5466126, 5422367, 5418129)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-18 20:03:08 Duration: 437ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5490220, 5490216, 5489487, 5480247, 5480244, 5480241)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-18 12:48:54 Duration: 399ms
18 157,542 58s290ms 0ms 1ms 0ms select "price_list".id from "price_list" where (("price_list"."from_office_id" = ?) and ("price_list"."to_office_id" = ?)) order by "price_list"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 18 00 9,238 2s711ms 0ms 01 8,027 2s613ms 0ms 02 8,096 2s803ms 0ms 03 4,760 1s855ms 0ms 04 6,602 2s346ms 0ms 05 5,457 2s351ms 0ms 06 6,944 2s429ms 0ms 07 3,185 1s258ms 0ms 08 850 385ms 0ms 09 1,535 671ms 0ms 10 2,216 1s10ms 0ms 11 1,852 1s240ms 0ms 12 1,929 1s113ms 0ms 13 1,932 920ms 0ms 14 2,562 1s37ms 0ms 15 2,795 1s39ms 0ms 16 4,560 1s528ms 0ms 17 10,935 3s493ms 0ms 18 12,793 4s319ms 0ms 19 14,717 5s278ms 0ms 20 16,905 9s98ms 0ms 21 18,019 5s474ms 0ms 22 11,633 3s306ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 39) AND ("price_list"."to_office_id" = 19)) ORDER BY "price_list"."id";
Date: 2025-02-18 20:35:27 Duration: 1ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 22) AND ("price_list"."to_office_id" = 41)) ORDER BY "price_list"."id";
Date: 2025-02-18 17:22:07 Duration: 1ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 27) AND ("price_list"."to_office_id" = 126)) ORDER BY "price_list"."id";
Date: 2025-02-18 11:26:57 Duration: 1ms
19 131,938 40s839ms 0ms 26ms 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 #19
Day Hour Count Duration Avg duration Feb 18 00 4,311 1s15ms 0ms 01 5,023 1s149ms 0ms 02 3,625 945ms 0ms 03 3,277 763ms 0ms 04 3,226 833ms 0ms 05 2,213 566ms 0ms 06 4,004 1s36ms 0ms 07 1,633 414ms 0ms 08 1,415 330ms 0ms 09 3,808 1s121ms 0ms 10 6,644 2s182ms 0ms 11 12,346 4s56ms 0ms 12 9,261 3s14ms 0ms 13 6,769 2s59ms 0ms 14 5,093 1s443ms 0ms 15 6,234 1s621ms 0ms 16 4,770 1s371ms 0ms 17 6,858 2s451ms 0ms 18 7,632 2s529ms 0ms 19 9,212 3s131ms 0ms 20 9,320 4s428ms 0ms 21 8,241 2s545ms 0ms 22 7,023 1s826ms 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 (8006401, '', '2025-02-18 09:21:01.597886', 1034, '2025-02-18 09:23:54', false, NULL, true, '<320332508917974.1739870634.052087545394897-openerp-message-notify@urg-dell>', 'notification', 'shipping.policy', NULL, NULL, 5310292, NULL, 2, '2025-02-18 09:21:01.597886', 1034) RETURNING "id";
Date: 2025-02-18 10:23:54 Duration: 26ms
-
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-18 19:05:28.994506', 1027, '2025-02-18 19:07:43', false, NULL, true, '<581152611790365.1739905663.165213346481323-openerp-message-notify@urg-dell>', 'notification', 'shipping.policy', NULL, NULL, 5482795, NULL, 2, '2025-02-18 19:05:28.994506', 1027) RETURNING "id";
Date: 2025-02-18 20:07:43 Duration: 25ms
-
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 (8006288, '', '2025-02-18 19:46:53.996860', 925, '2025-02-18 19:47:55', false, NULL, true, '<667414159018687.1739908075.675121545791626-openerp-message-notify@urg-dell>', 'notification', 'shipping.policy', NULL, NULL, 5428735, NULL, 2, '2025-02-18 19:46:53.996860', 925) RETURNING "id";
Date: 2025-02-18 20:47:55 Duration: 25ms
20 128,145 12h40m4s 257ms 2s725ms 355ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 18 00 1,910 9m12s 289ms 01 1,659 8m3s 291ms 02 3,400 16m40s 294ms 03 2,807 13m40s 292ms 04 2,484 12m9s 293ms 05 4,001 19m24s 291ms 06 2,921 14m21s 295ms 07 1,791 8m42s 291ms 08 2,304 11m10s 291ms 09 3,626 18m50s 311ms 10 8,872 51m7s 345ms 11 9,722 1h2m7s 383ms 12 6,697 42m39s 382ms 13 14,361 1h26m1s 359ms 14 7,316 42m31s 348ms 15 7,785 43m22s 334ms 16 4,934 26m52s 326ms 17 215 1m3s 294ms 18 7,564 44m48s 355ms 19 12,082 1h9m18s 344ms 20 19,279 2h24m36s 450ms 21 1,588 9m21s 353ms 22 827 3m57s 287ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9891477')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-18 20:20:38 Duration: 2s725ms
-
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" = '410479')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-18 20:56:24 Duration: 2s657ms
-
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" = '531654')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-18 20:37:06 Duration: 2s558ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2m43s 3m48s 3m27s 6 20m42s select count(*) from ( select from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) limit ?) t;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 18 20 5 17m59s 3m35s 21 1 2m43s 2m43s -
SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;
Date: 2025-02-18 20:59:21 Duration: 3m48s
-
SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;
Date: 2025-02-18 20:59:32 Duration: 3m36s
-
SELECT COUNT(*) FROM ( SELECT FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t;
Date: 2025-02-18 20:59:00 Duration: 3m34s
2 162ms 3m11s 1m14s 23 28m43s select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 18 08 6 1s134ms 189ms 16 1 1m57s 1m57s 17 1 227ms 227ms 18 5 5m49s 1m9s 20 9 17m51s 1m59s 21 1 3m3s 3m3s -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 40;
Date: 2025-02-18 20:55:33 Duration: 3m11s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 40;
Date: 2025-02-18 20:55:56 Duration: 3m4s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 83, 112, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 40;
Date: 2025-02-18 21:00:27 Duration: 3m3s
3 695ms 7s449ms 3s698ms 287 17m41s 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 #3
Day Hour Count Duration Avg duration Feb 18 00 5 5s735ms 1s147ms 08 18 55s234ms 3s68ms 09 18 58s294ms 3s238ms 10 6 21s287ms 3s547ms 11 11 44s725ms 4s65ms 12 10 38s561ms 3s856ms 13 25 1m39s 3s995ms 14 10 35s308ms 3s530ms 15 17 54s331ms 3s195ms 16 9 30s605ms 3s400ms 17 29 1m34s 3s270ms 18 40 2m24s 3s622ms 19 26 1m43s 3s999ms 20 35 3m3s 5s250ms 21 19 1m1s 3s247ms 22 9 28s263ms 3s140ms -
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 (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"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))) 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"."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)))))))) AND ("policy_number"."name"::text ilike '%471110%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-18 11:23:28 Duration: 7s449ms
-
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 (23))))))) 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 (23)))))) 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 (23)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (23)))))) 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 (23))))))))) 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 (23)))))))) AND ("policy_number"."name"::text ilike '%15%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-18 20:39:40 Duration: 7s174ms
-
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 (23))))))) 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 (23)))))) 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 (23)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (23)))))) 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 (23))))))))) 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 (23)))))))) AND ("policy_number"."name"::text ilike '%156%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-18 20:40:03 Duration: 7s153ms
4 123ms 5s331ms 1s585ms 2,567 1h7m50s select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 18 00 6 7s556ms 1s259ms 01 1 1s432ms 1s432ms 07 3 3s421ms 1s140ms 08 33 29s744ms 901ms 09 115 2m 1s51ms 10 235 5m18s 1s354ms 11 220 5m36s 1s527ms 12 355 8m57s 1s512ms 13 349 8m28s 1s457ms 14 285 6m37s 1s395ms 15 290 9m13s 1s909ms 16 170 5m2s 1s777ms 17 227 5m19s 1s409ms 18 109 3m39s 2s10ms 19 78 3m16s 2s520ms 20 52 2m28s 2s847ms 21 27 58s472ms 2s165ms 22 12 10s906ms 908ms -
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 (79)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (79))))) 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-18 20:23:11 Duration: 5s331ms
-
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 (66)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))) 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-18 20:07:17 Duration: 5s265ms
-
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 (2)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (2))))) 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-18 20:03:54 Duration: 5s136ms
5 851ms 3s47ms 1s176ms 18,040 5h53m43s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 18 00 853 14m40s 1s32ms 01 711 12m21s 1s43ms 02 829 15m26s 1s117ms 03 338 6m 1s67ms 04 1,108 19m48s 1s72ms 05 505 9m1s 1s71ms 06 1,230 21m57s 1s71ms 07 394 6m52s 1s47ms 08 33 33s640ms 1s19ms 09 178 3m17s 1s110ms 10 284 5m50s 1s234ms 11 67 1m54s 1s712ms 12 142 3m15s 1s374ms 13 114 2m24s 1s268ms 14 266 5m21s 1s210ms 15 243 4m53s 1s208ms 16 544 10m22s 1s145ms 17 1,416 26m55s 1s140ms 18 1,622 31m31s 1s166ms 19 1,903 39m23s 1s241ms 20 1,576 44m28s 1s693ms 21 2,371 43m25s 1s98ms 22 1,313 23m54s 1s92ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '312633')) 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-18 20:19:50 Duration: 3s47ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '116121')) 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-18 20:23:28 Duration: 3s29ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9956932')) 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-18 20:57:47 Duration: 3s27ms
6 263ms 3s13ms 1s124ms 15,612 4h52m30s 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 18 00 1,267 20m14s 958ms 01 866 13m38s 944ms 02 651 10m16s 946ms 03 260 4m4s 941ms 08 28 30s429ms 1s86ms 09 9 9s360ms 1s40ms 10 38 40s765ms 1s72ms 11 42 56s847ms 1s353ms 12 34 41s144ms 1s210ms 13 129 2m23s 1s116ms 14 252 4m44s 1s127ms 15 366 6m48s 1s117ms 16 600 10m50s 1s83ms 17 1,306 22m25s 1s30ms 18 1,584 28m21s 1s74ms 19 1,780 36m23s 1s226ms 20 2,602 1h5m9s 1s502ms 21 2,170 37m21s 1s33ms 22 1,628 26m48s 987ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '349393')) 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 (110))))))) 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 (110)))))) 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 (110)))))) 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 (110))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-18 20:03:08 Duration: 3s13ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '586656')) 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 (8))))))) 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 (8)))))) 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 (8)))))) 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 (8))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-18 20:03:56 Duration: 2s902ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '262346')) 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 (14, 74, 70))))))) 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 (14, 74, 70)))))) 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 (14, 74, 70)))))) 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 (14, 74, 70))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-18 20:42:06 Duration: 2s814ms
7 584ms 7s42ms 794ms 47,479 10h29m4s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 18 00 152 1m48s 711ms 01 192 2m23s 747ms 02 212 2m35s 734ms 03 141 1m47s 764ms 04 159 1m57s 741ms 05 164 2m 735ms 06 244 2m55s 718ms 07 231 2m37s 680ms 08 1,467 15m30s 633ms 09 3,219 36m45s 685ms 10 4,358 56m27s 777ms 11 4,922 1h13m16s 893ms 12 4,262 1h49s 856ms 13 2,923 38m37s 792ms 14 3,529 45m55s 780ms 15 2,437 30m32s 751ms 16 3,958 47m14s 716ms 17 3,420 39m27s 692ms 18 2,796 33m12s 712ms 19 3,450 44m53s 780ms 20 3,277 1h5m21s 1s196ms 21 1,412 16m38s 707ms 22 554 6m16s 679ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5504284, 5504280, 5504276, 5504272, 5504268, 5504264, 5504262, 5504257, 5504254, 5504251, 5504248, 5504244, 5504242, 5504238, 5504235, 5504232, 5504229, 5504226, 5504223, 5504220, 5504217, 5504214, 5504210, 5504206, 5504203, 5504199, 5504196, 5504192)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:36:42 Duration: 7s42ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5441469, 3878615, 3878650, 3880953, 3883508, 3884779, 3886455, 3887994, 3920394, 5441472, 5441475, 5441478, 5441480, 5441482, 5441486, 5441488, 5441490, 5441492, 5441494, 5441495, 5441497, 5441499, 5441501, 5441503, 5441505, 5441507, 5441509, 5441510, 5441512, 5441515, 5441517, 5441523, 5441525, 5441527, 5441528, 5441530, 5441532, 5441534, 5441536, 5441538, 5441540, 5441543, 5441546, 5441549, 5441552, 5441555, 5441558, 5441560, 5441563, 5441565, 5441568, 5441572, 5441575, 5441579, 5441583, 5441587, 5441591, 5441594, 5441597, 5441601, 5441605, 5441609, 5441612, 5441616, 5441620, 5441623, 5441628, 5441632, 5441636, 5441640, 5441642, 5441645, 5441648, 5441651, 5441654, 5441657, 5441660, 5441664, 5441668, 5441672, 5441676, 5441680, 5441683, 5441695, 5441698, 5441701, 5441705, 5441708, 5441712, 5441716, 5441720, 5441724, 5441728, 5441731, 5441735, 5441739, 5441742, 5441744, 5441748, 5441752, 5441756, 5441759, 5441762, 5441765, 5441769, 5441773, 5441777, 5441780, 5441783, 5441786, 5441789, 5441792, 5441795, 5441798, 5441800, 5441803, 5441805, 5441808, 5441811, 5441814, 5441817, 5441819, 5441821, 5441824, 5441827, 5441830, 5441831, 5441834, 5441837, 5441840, 5441842, 5441845, 5441848, 5441850, 5441853, 5441857, 5441861, 5441865, 5441869, 5441871, 5441873, 5441876, 5441879, 5441882, 5441885, 5441887, 5441892, 5441895, 5441897, 5441900, 5441903, 5441906, 5441909, 5441911, 5441913, 5441915, 5441917, 5441919, 5443219, 5443220, 5443221, 5443222, 5443223, 5443224, 5443225, 5443226, 5443227, 5443228, 5443229, 5443230, 5443231, 5443232, 5443233, 5443234, 5443235, 5443236, 5443237, 5443238, 5443239, 5443240, 5443241, 5443242, 5443243, 5443244, 5443245, 5443246, 5443247, 5443248, 5443249, 5443250, 5443251, 5443252, 5443253, 5443254, 5443255, 5443256, 5443257, 5443258, 5443260, 5443261, 5443262, 5443263, 5443264, 5443265, 5443266, 5443267, 5443268, 5443270, 5443271, 5443272, 5443273, 5443274, 5443275, 5443276, 5443277, 5443281, 5443282, 5443284, 5443285, 5449712, 5449714, 5449716, 5449718, 5449720, 5449724, 5449726, 5449728, 5449730, 5449732, 5449734, 5449737, 5449739, 5449741, 5449743, 5449745, 5449747, 5449749, 5449751, 5449753, 5449754, 5449756, 5449758, 5449760, 5449762, 5449764, 5449766, 5449767, 5449769, 5449771, 5449773, 5449775, 5449777, 5449779, 5449781, 5449783, 5449785, 5449787, 5449788, 5449790, 5449792, 5449794, 5449796, 5449798, 5449799, 5449801, 5449803, 5449805, 5449807, 5449809, 5449811, 5449813, 5449815, 5449817, 5449819, 5449820, 5449822, 5449824, 5449828, 5449830, 5449832, 5449834, 5449835, 5449837, 5449839, 5449841, 5449843, 5449845, 5449847, 5449848, 5449850, 5449852, 5449854, 5449856, 5449858, 5449860, 5449861, 5449863, 5449865, 5449867, 5449869, 5449871, 5449873, 5449874, 5449876, 5449878, 5449880, 5449882, 5449884, 5449886, 5449887, 5449889, 5449891, 5449893, 5449895, 5449897, 5449899, 5449901, 5449903, 5449904, 5449906, 5449908, 5449910, 5449912, 5449914, 5449916, 5449918, 5449920, 5449922, 5449923, 5449925, 5449927, 5449929, 5449931, 5449933, 5449935, 5449937, 5449939, 5449941, 5449942, 5449944, 5449946, 5449948)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:02:50 Duration: 6s895ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5485593, 5484923, 5484896, 5482278, 5480173, 5480109, 5477906, 5476670, 5475745, 5475558, 5474619, 5473603, 5473553, 5471462, 5469904, 5467187, 5467029, 5466938, 5466147, 5464960, 5464720, 5464450, 5464428, 5464070, 5462377, 5458424, 5458408, 5458091, 5457411, 5457401, 5457128, 5456768, 5456573, 5456181, 5452824, 5446477, 5443865, 5437666, 5437598, 5429518, 5429373, 5428298, 5428282, 5428100)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:19:34 Duration: 6s675ms
8 575ms 6s892ms 770ms 299,046 2d15h59m select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 18 00 7,459 1h22m29s 663ms 01 9,791 1h45m55s 649ms 02 8,566 1h34m7s 659ms 03 8,109 1h26m23s 639ms 04 7,985 1h26m26s 649ms 05 8,629 1h31m54s 639ms 06 8,277 1h30m6s 653ms 07 4,961 52m36s 636ms 08 4,364 45m43s 628ms 09 11,668 2h10m34s 671ms 10 15,854 3h18m23s 750ms 11 21,480 5h2m3s 843ms 12 19,966 4h31m34s 816ms 13 15,085 3h9m12s 752ms 14 16,077 3h20m29s 748ms 15 14,598 2h55m26s 721ms 16 11,188 2h13m4s 713ms 17 12,209 2h24m46s 711ms 18 12,384 2h32m18s 737ms 19 20,335 4h32m24s 803ms 20 35,898 10h47m25s 1s82ms 21 15,133 3h1m30s 719ms 22 9,030 1h44m2s 691ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5502581)) AND (("shipping_track"."id" not in (45699361, 45699361)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:03:25 Duration: 6s892ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5505388)) AND (("shipping_track"."id" not in (45725079, 45725079)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:42:55 Duration: 6s853ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5502554)) AND (("shipping_track"."id" not in (45698761, 45698761)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-18 20:02:39 Duration: 6s814ms
9 438ms 852ms 582ms 2,419 23m29s 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 true))) 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 18 13 537 5m6s 570ms 14 1,882 18m23s 586ms -
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" = '247621') AND TRUE))) 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, 112, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-18 14:18:56 Duration: 852ms
-
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" = '345597') AND TRUE))) 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, 112, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-18 14:00:10 Duration: 845ms
-
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" = '246506') AND TRUE))) 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, 112, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-18 14:18:54 Duration: 833ms
10 287ms 912ms 538ms 2,029 18m13s 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 #10
Day Hour Count Duration Avg duration Feb 18 08 455 3m54s 515ms 09 275 2m28s 540ms 10 593 6m12s 627ms 12 224 2m35s 693ms 13 6 3s993ms 665ms 14 29 16s536ms 570ms 15 71 25s723ms 362ms 16 343 2m2s 358ms 18 33 13s237ms 401ms -
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" = '505767')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-18 12:03:11 Duration: 912ms
-
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" = '458076')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-18 10:35:05 Duration: 901ms
-
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" = '337235')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-18 12:02:08 Duration: 899ms
11 288ms 3s754ms 452ms 25,731 3h14m15s 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 #11
Day Hour Count Duration Avg duration Feb 18 08 545 3m18s 364ms 09 935 6m20s 406ms 10 3,489 25m32s 439ms 11 2,836 22m52s 483ms 12 5,452 43m3s 473ms 13 3,647 27m58s 460ms 14 3,152 24m10s 460ms 15 2,915 21m40s 446ms 16 2,721 18m59s 418ms 17 39 19s219ms 492ms -
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" = '444616')))) 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-18 11:23:02 Duration: 3s754ms
-
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" = '549026')))) 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-18 11:23:05 Duration: 3s60ms
-
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" = '472802')))) 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-18 12:39:42 Duration: 2s530ms
12 257ms 2s725ms 355ms 128,145 12h40m4s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 18 00 1,910 9m12s 289ms 01 1,659 8m3s 291ms 02 3,400 16m40s 294ms 03 2,807 13m40s 292ms 04 2,484 12m9s 293ms 05 4,001 19m24s 291ms 06 2,921 14m21s 295ms 07 1,791 8m42s 291ms 08 2,304 11m10s 291ms 09 3,626 18m50s 311ms 10 8,872 51m7s 345ms 11 9,722 1h2m7s 383ms 12 6,697 42m39s 382ms 13 14,361 1h26m1s 359ms 14 7,316 42m31s 348ms 15 7,785 43m22s 334ms 16 4,934 26m52s 326ms 17 215 1m3s 294ms 18 7,564 44m48s 355ms 19 12,082 1h9m18s 344ms 20 19,279 2h24m36s 450ms 21 1,588 9m21s 353ms 22 827 3m57s 287ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9891477')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-18 20:20:38 Duration: 2s725ms
-
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" = '410479')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-18 20:56:24 Duration: 2s657ms
-
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" = '531654')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-18 20:37:06 Duration: 2s558ms
13 260ms 1s860ms 334ms 16,960 1h34m38s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 18 00 194 56s782ms 292ms 01 257 1m16s 296ms 02 434 2m5s 290ms 03 118 34s250ms 290ms 04 240 1m9s 291ms 05 799 3m54s 293ms 06 532 2m33s 289ms 07 1,212 5m54s 292ms 08 1,061 5m8s 290ms 09 1,263 6m33s 311ms 10 2,809 16m8s 344ms 11 2,487 16m38s 401ms 12 1,183 7m33s 383ms 13 973 5m34s 344ms 14 752 4m20s 346ms 15 1,021 5m38s 331ms 16 518 2m48s 324ms 17 133 39s347ms 295ms 18 174 56s193ms 322ms 19 184 1m5s 353ms 20 83 37s655ms 453ms 21 106 30s770ms 290ms 22 427 1m59s 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" = '526671')) 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 (67, 79, 128)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) 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-18 12:47:47 Duration: 1s860ms
-
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" = '605407')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-18 11:22:47 Duration: 1s855ms
-
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" = '319361')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 115)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) 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-18 12:47:31 Duration: 1s662ms
14 91ms 1s34ms 257ms 66,479 4h45m29s 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 18 00 4,207 14m36s 208ms 01 3,136 10m51s 207ms 02 2,913 11m6s 228ms 03 1,197 4m9s 208ms 04 2,188 8m16s 226ms 05 994 3m51s 233ms 06 2,422 9m30s 235ms 07 780 3m4s 235ms 08 120 19s942ms 166ms 09 348 1m26s 247ms 10 622 2m32s 245ms 11 218 1m25s 390ms 12 328 2m2s 374ms 13 480 2m18s 287ms 14 1,012 4m29s 266ms 15 1,194 4m26s 222ms 16 2,244 9m37s 257ms 17 5,386 22m32s 251ms 18 6,330 24m47s 235ms 19 7,308 32m16s 264ms 20 8,258 54m5s 392ms 21 8,972 36m25s 243ms 22 5,822 21m17s 219ms -
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-18 20:39:24 Duration: 1s34ms
-
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-18 20:39:24 Duration: 1s34ms
-
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-18 20:41:14 Duration: 1s28ms
15 144ms 252ms 184ms 15,804 48m40s 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 18 00 1,716 5m7s 179ms 01 1,307 3m57s 182ms 02 2,756 8m33s 186ms 03 2,564 7m56s 185ms 04 2,002 6m12s 186ms 05 3,092 9m30s 184ms 06 1,963 6m7s 187ms 07 321 58s992ms 183ms 08 83 14s795ms 178ms -
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" = '534804')) 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-18 06:11:14 Duration: 252ms
-
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" = '506696')) 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-18 06:10:50 Duration: 250ms
-
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" = '356443')) 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-18 06:10:53 Duration: 246ms
16 122ms 1s231ms 180ms 6,764 20m18s 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 18 00 17 2s223ms 130ms 02 21 2s860ms 136ms 08 36 4s780ms 132ms 09 722 1m43s 143ms 10 742 2m3s 166ms 11 1,544 5m28s 212ms 12 1,399 4m28s 191ms 13 541 1m31s 168ms 14 401 1m8s 170ms 15 420 1m5s 157ms 16 232 34s620ms 149ms 17 135 20s38ms 148ms 18 244 36s423ms 149ms 19 102 17s232ms 168ms 20 139 41s657ms 299ms 21 28 3s968ms 141ms 22 41 5s696ms 138ms -
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-18 11:01:56 Duration: 1s231ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 126)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-18 11:01:59 Duration: 1s214ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 2)) 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-18 12:36:32 Duration: 1s208ms
17 106ms 920ms 146ms 19,134 46m51s 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 18 08 295 37s916ms 128ms 09 979 2m10s 133ms 10 2,046 4m59s 146ms 11 1,757 4m54s 167ms 12 2,975 7m44s 156ms 13 1,875 4m31s 144ms 14 1,894 4m36s 145ms 15 997 2m14s 134ms 16 1,773 4m4s 137ms 17 1,439 3m8s 130ms 18 1,123 2m28s 132ms 19 1,095 2m39s 145ms 20 559 1m58s 211ms 21 204 28s271ms 138ms 22 123 15s461ms 125ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8168675)) AND (("cash_track"."id" not in (8297002)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-18 20:03:38 Duration: 920ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8164554)) AND (("cash_track"."id" not in (8264918)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-18 11:16:14 Duration: 897ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8168701)) AND (("cash_track"."id" not in (8297028)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-18 20:05:48 Duration: 895ms
18 58ms 384ms 80ms 42,194 56m40s 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 18 08 165 11s107ms 67ms 09 2,385 2m50s 71ms 10 3,775 5m 79ms 11 4,991 6m57s 83ms 12 6,887 10m19s 90ms 13 6,613 8m45s 79ms 14 6,515 8m43s 80ms 15 5,014 6m26s 77ms 16 5,800 7m21s 76ms 17 49 3s579ms 73ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5324515) 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-18 12:48:25 Duration: 384ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5388312) 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-18 12:49:02 Duration: 374ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5390889) 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-18 12:49:01 Duration: 373ms
19 53ms 302ms 74ms 22,779 28m21s 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 18 08 458 29s408ms 64ms 09 744 49s861ms 67ms 10 2,906 3m34s 73ms 11 2,590 3m23s 78ms 12 2,579 3m47s 88ms 13 4,578 5m43s 75ms 14 3,299 3m59s 72ms 15 2,641 3m8s 71ms 16 2,945 3m22s 68ms 17 39 2s757ms 70ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5363885) ORDER BY "collection_policy"."id";
Date: 2025-02-18 12:47:42 Duration: 302ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5421096) ORDER BY "collection_policy"."id";
Date: 2025-02-18 12:47:29 Duration: 296ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5425356) ORDER BY "collection_policy"."id";
Date: 2025-02-18 12:47:29 Duration: 294ms
20 41ms 479ms 58ms 163,390 2h40m14s 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 18 00 3,759 3m10s 50ms 01 4,844 4m3s 50ms 02 2,570 2m12s 51ms 03 2,905 2m26s 50ms 04 2,516 2m6s 50ms 05 1,584 1m21s 51ms 06 2,977 2m32s 51ms 07 1,611 1m22s 51ms 08 2,328 1m57s 50ms 09 7,870 7m2s 53ms 10 11,692 11m36s 59ms 11 16,893 18m41s 66ms 12 15,462 16m44s 64ms 13 11,477 11m25s 59ms 14 10,780 10m37s 59ms 15 10,262 9m44s 56ms 16 9,091 8m26s 55ms 17 8,384 7m32s 54ms 18 8,161 7m26s 54ms 19 10,117 10m3s 59ms 20 7,812 10m40s 81ms 21 5,786 5m9s 53ms 22 4,509 3m49s 50ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5465098, 5465074, 5465036, 5464828, 5464819, 5464811, 5464803)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-18 11:04:54 Duration: 479ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5483356, 5466126, 5422367, 5418129)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-18 20:03:08 Duration: 437ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5490220, 5490216, 5489487, 5480247, 5480244, 5480241)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-18 12:48:54 Duration: 399ms
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 17,482,868 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 228 FATAL entries
- 315 ERROR entries
- 0 WARNING entries
- 4 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 286 Max number of times the same event was reported
- 547 Total events found
Rank Times reported Error 1 286 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 18 01 3 02 5 04 1 05 4 08 1 09 2 10 8 11 29 12 19 13 33 14 31 15 18 16 4 17 4 18 9 19 29 20 80 21 3 22 3 - 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 "last_office_warehouse" = NULL, "write_date" = '2025-02-18 00:05:29.022110', "write_uid" = 972 WHERE id IN (5482703, 5482701, 5482699, 5482697, 5482695, 5482692, 5482690, 5482688, 5482686, 5482685, 5482683, 5482682, 5482681, 5482680, 5482679, 5482678, 5482677, 5482676, 5482675, 5482674, 5482673, 5482672, 5482671, 5482670, 5482669, 5482668, 5482667, 5482666, 5482665, 5482664, 5482663, 5482662, 5482661, 5482660, 5482659, 5482658, 5482657, 5482656, 5482655, 5482654, 5482653, 5482652, 5482651, 5482650, 5482649, 5482648, 5482647, 5482646, 5482645, 5482644, 5482643, 5482642, 5482641, 5482640, 5482639, 5482638, 5482637, 5482636, 5482635, 5482634, 5482633, 5482632, 5482631, 5482630, 5482629, 5482628, 5482627, 5482626, 5482625, 5482624, 5482623, 5482622, 5482621, 5482620, 5482619, 5482618, 5482617, 5482616, 5482615, 5482614, 5482613, 5482612, 5482611, 5482610, 5482609, 5482608, 5482607, 5482606, 5482605, 5482604, 5482603, 5482602, 5482601, 5482600, 5482599, 5482597, 5482595, 5482593, 5482591, 5482590, 5482589, 5482588, 5482587, 5482586, 5482585, 5482584, 5482583, 5482582, 5482581, 5482580, 5482579, 5482578, 5482577, 5482576, 5482575, 5482574, 5482573, 5482572, 5482571, 5482570, 5482569, 5482568, 5482567, 5482566, 5482565, 5482564, 5482563, 5482562, 5482561, 5482560, 5482559, 5482558, 5482557, 5482556, 5482555, 5482554, 5482553, 5482552, 5482551, 5482550, 5482549, 5482548, 5482547, 5482546, 5482545, 5482544, 5482543, 5482542, 5482541, 5482540, 5482539, 5482538, 5482537, 5482535, 5482533, 5482531, 5482529, 5482527, 5482525, 5482523, 5482521, 5482520, 5482518, 5482516)
Date: 2025-02-18 01:07:19
Statement: update shipping_policy set count_search=1 where id=5482736
Date: 2025-02-18 01:52:48
Statement: UPDATE "policy_search" SET "missing_data" = '441907 87976 511058 35667 370473 457530 399162 27469 370464 ', "search_domain" = '[(''state'', ''!='', ''cancel''), (''id'', ''in'', [2900757, 5421402, 4806048, 3507613])]', "write_date" = '2025-02-18 00:55:05.380951', "write_uid" = 1014 WHERE id IN (281538)
Date: 2025-02-18 01:55:10
2 138 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 18 17 138 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-02-18 17:20:01
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '608876')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false )) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false )) AND (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id"
Date: 2025-02-18 17:20:01
3 31 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Feb 18 04 3 06 3 07 3 10 3 11 3 15 16 - 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-18 04:47:34
4 28 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #4
Day Hour Count Feb 18 17 28 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-02-18 17:20:01
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5493270)) AND (("shipping_track"."id" not in (45655503, 45655503)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-02-18 17:20:01
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5309044)) AND (("shipping_track"."id" not in (44017362, 44025314, 44424344, 45647977, 45647981, 45647990, 45655502, 45655502)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-02-18 17:20:01
5 11 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #5
Day Hour Count Feb 18 17 11 6 11 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #6
Day Hour Count Feb 18 10 1 11 4 13 4 14 1 21 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 1144439 waits for ShareLock on transaction 9499372; blocked by process 1086442. Process 1086442 waits for ShareLock on transaction 9499364; blocked by process 1144439. Process 1144439: update shipping_policy set count_search=4 where id=5246739 Process 1086442: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-02-18 09:49:12.148736', "write_uid" = 1080 WHERE id IN (5359224, 5433662, 5411530, 5367897, 5433196, 5430925, 5365937, 5357280, 5352019, 5342531, 5330471, 5326256, 5321714, 5313119, 5296130, 5446122, 5452524, 5444675, 5443717, 5439665, 5436512, 5426583, 5420779, 5396867, 5439631, 5448879, 5441939, 5438712, 5434114, 5428045, 5412121, 5398643, 5279374, 5444978, 5441547, 5455021, 5442805, 5382949, 5441793, 5435419, 5432251, 5431021, 5429309, 5429299, 5452450, 5394784, 5429984, 5443060, 5405612, 5401956, 5344391, 5439427, 5396605, 5436090, 5429106, 5455160, 5409285, 5290197, 5400429, 5310990, 5441969, 5441046, 5412136, 5404946, 5394089, 5269449, 5452339, 5447959, 5421451, 5427837, 5418660, 5455644, 5455643, 5455642, 5449000, 5448997, 5445291, 5444313, 5432655, 5431203, 5429200, 5420497, 5433144, 5411928, 5437845, 5404782, 5440864, 5438746, 5434988, 5432893, 5432875, 5430662, 5429885, 5429667, 5428389, 5413745, 5412242, 5411124, 541
Context: while updating tuple (28360,4) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=4 where id=5246739Date: 2025-02-18 10:49:30
Detail: Process 1064457 waits for ShareLock on transaction 9501969; blocked by process 1146780. Process 1146780 waits for ShareLock on transaction 9502017; blocked by process 1064457. Process 1064457: update shipping_policy set count_search=2 where id=5467830 Process 1146780: update shipping_policy set count_search=2 where id=5480030
Context: while updating tuple (14169,40) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=2 where id=5467830Date: 2025-02-18 11:17:13
Detail: Process 1078751 waits for ShareLock on transaction 9502554; blocked by process 1191330. Process 1191330 waits for ShareLock on transaction 9502642; blocked by process 1078751. Process 1078751: update shipping_policy set count_search=4 where id=5467830 Process 1191330: update shipping_policy set count_search=4 where id=5480030
Context: while updating tuple (45381,13) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=4 where id=5467830Date: 2025-02-18 11:23:45
7 6 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #7
Day Hour Count Feb 18 17 6 - 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 (5493270)) AND (("shipping_track"."id" not in (45655503, 45655503)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-02-18 17:20:01
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5422139)) AND (("shipping_track"."id" not in (44903555, 44903893, 44904764, 44942857, 45304385, 45342660, 45655150, 45655498, 45655498)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-02-18 17:20:01
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5309044)) AND (("shipping_track"."id" not in (44017362, 44025314, 44424344, 45647977, 45647981, 45647990, 45655502, 45655502)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-02-18 17:20:01
8 6 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #8
Day Hour Count Feb 18 10 3 13 2 16 1 - ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (5522145, null, 825, 825, null, حمص, null, null, t, 2025-02-18 09:18:41.915397, 2025-02-18 09:18:41.915397, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-18 09:18:41.915397', 825, 'حمص', '2025-02-18 09:18:41.915397', 825) RETURNING "id"Date: 2025-02-18 10:18:41
Detail: Failing row contains (5522147, null, 825, 825, null, xo, null, null, t, 2025-02-18 09:21:00.248155, 2025-02-18 09:21:00.248155, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-18 09:21:00.248155', 825, 'xo', '2025-02-18 09:21:00.248155', 825) RETURNING "id"Date: 2025-02-18 10:21:00
Detail: Failing row contains (5522150, null, 825, 825, null, راجي, null, null, t, 2025-02-18 09:31:29.2568, 2025-02-18 09:31:29.2568, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-18 09:31:29.256800', 825, 'راجي', '2025-02-18 09:31:29.256800', 825) RETURNING "id"Date: 2025-02-18 10:31:29
9 5 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #9
Day Hour Count Feb 18 00 1 02 1 03 1 06 1 09 1 10 5 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #10
Day Hour Count Feb 18 18 1 19 1 20 2 21 1 - ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (174739)
Date: 2025-02-18 18:45:36
Statement: DELETE FROM "delegate_track" WHERE id IN (174967)
Date: 2025-02-18 19:29:41
Statement: DELETE FROM "delegate_track" WHERE id IN (174561)
Date: 2025-02-18 20:35:55
11 5 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #11
Day Hour Count Feb 18 00 1 02 1 06 1 09 1 19 1 12 4 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #12
Day Hour Count Feb 18 00 1 02 1 06 1 09 1 13 4 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #13
Day Hour Count Feb 18 17 4 14 2 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #14
Day Hour Count Feb 18 13 1 17 1 15 2 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #15
Day Hour Count Feb 18 15 2 16 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #16
Day Hour Count Feb 18 13 1 - ERROR: syntax error at or near ")" at character 300
Statement: select sum(total_shipping_price-collection_amount_receive-collection_amount_sender) FROM shipping_policy where collection_amount_sender+collection_amount_receive<total_shipping_price and id in (shipping.policy(5277478,), 0)
Date: 2025-02-18 13:41:17
17 1 ERROR: incomplete startup packet
Times Reported Most Frequent Error / Event #17
Day Hour Count Feb 18 03 1 18 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #18
Day Hour Count Feb 18 17 1