-
Global information
- Generated on Mon Feb 17 23:47:24 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 40,251,697 log entries in 2m23s
- Log start from 2025-02-17 00:00:00 to 2025-02-17 22:45:01
-
Overview
Global Stats
- 17,193 Number of unique normalized queries
- 17,004,975 Number of queries
- 4d23h40m57s Total query duration
- 2025-02-17 00:00:00 First query
- 2025-02-17 22:45:01 Last query
- 5,368 queries/s at 2025-02-17 22:33:56 Query peak
- 4d23h40m57s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 4d23h40m57s Execute total duration
- 625 Number of events
- 21 Number of unique normalized events
- 331 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,004,975 Average queries per session
- 4d23h40m57s 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
- 5,368 queries/s Query Peak
- 2025-02-17 22:33:56 Date
SELECT Traffic
Key values
- 5,321 queries/s Query Peak
- 2025-02-17 22:33:56 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,150 queries/s Query Peak
- 2025-02-17 13:25:29 Date
Queries duration
Key values
- 4d23h40m57s 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 17 00 254,438 0ms 7s636ms 25ms 3m1s 3m45s 4m33s 01 207,004 0ms 3m16s 32ms 2m52s 4m12s 5m10s 02 206,266 0ms 2s189ms 39ms 3m25s 3m53s 4m30s 03 240,701 0ms 1s474ms 41ms 4m24s 4m42s 6m43s 04 188,415 0ms 6s964ms 35ms 3m34s 3m59s 5m54s 05 181,375 0ms 845ms 29ms 2m51s 3m2s 3m56s 06 179,242 0ms 1s321ms 40ms 3m14s 4m11s 4m43s 07 128,323 0ms 1s791ms 25ms 1m46s 2m15s 2m25s 08 397,456 0ms 7s434ms 21ms 6m39s 9m58s 11m46s 09 858,908 0ms 1m47s 20ms 7m57s 9m27s 10m4s 10 1,394,839 0ms 10s444ms 19ms 11m46s 14m18s 17m1s 11 1,503,837 0ms 34s522ms 19ms 14m49s 16m31s 22m57s 12 1,575,145 0ms 2m8s 21ms 13m24s 14m56s 19m24s 13 1,497,466 0ms 11s370ms 17ms 11m9s 11m31s 21m 14 1,336,137 0ms 2m2s 15ms 7m42s 8m2s 8m44s 15 1,196,514 0ms 4s8ms 16ms 8m5s 10m16s 13m42s 16 1,223,517 0ms 2m19s 25ms 17m50s 19m12s 30m42s 17 1,206,334 0ms 2m17s 26ms 16m11s 18m42s 20m12s 18 965,975 0ms 2m5s 40ms 15m32s 18m40s 20m36s 19 884,774 0ms 58s567ms 55ms 22m6s 23m19s 27m37s 20 598,211 0ms 7s257ms 33ms 8m27s 8m56s 9m51s 21 466,014 0ms 3s303ms 26ms 6m10s 7m14s 8m35s 22 314,084 0ms 3s439ms 25ms 4m11s 4m44s 5m28s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 17 00 129,876 0 50ms 2m43s 3m 4m18s 01 104,665 0 61ms 2m20s 2m46s 3m47s 02 103,626 0 78ms 3m8s 3m25s 3m58s 03 124,698 0 79ms 3m50s 4m24s 6m26s 04 93,122 0 72ms 2m54s 3m34s 4m3s 05 88,959 0 59ms 1m55s 2m51s 3m18s 06 94,251 0 77ms 2m56s 3m13s 4m20s 07 63,988 0 51ms 1m25s 1m46s 2m25s 08 228,527 0 37ms 3m13s 6m38s 10m8s 09 481,745 0 35ms 6m26s 7m56s 9m29s 10 786,605 0 35ms 10m13s 11m44s 15m59s 11 838,641 0 35ms 10m27s 14m47s 17m20s 12 886,745 0 37ms 12m37s 13m22s 15m41s 13 865,889 0 31ms 9m46s 11m8s 11m31s 14 765,930 0 26ms 6m56s 7m40s 8m31s 15 666,242 0 30ms 7m17s 8m4s 10m41s 16 684,562 0 44ms 13m51s 16m3s 23m7s 17 707,815 0 44ms 12m27s 15m58s 19m11s 18 545,700 0 70ms 13m7s 15m30s 19m50s 19 505,073 0 97ms 20m15s 22m4s 25m25s 20 336,794 0 58ms 6m46s 8m26s 9m39s 21 262,882 0 47ms 5m10s 6m9s 8m1s 22 198,242 0 41ms 3m50s 4m10s 5m28s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 17 00 19,420 3,936 88 0 0ms 110ms 136ms 171ms 01 17,573 4,124 87 0 14ms 106ms 123ms 217ms 02 22,148 4,984 73 0 0ms 126ms 142ms 183ms 03 26,646 5,992 88 0 0ms 151ms 199ms 291ms 04 18,214 3,911 85 0 0ms 109ms 143ms 226ms 05 10,509 3,940 82 0 0ms 75ms 100ms 122ms 06 19,313 3,244 71 0 0ms 119ms 148ms 183ms 07 9,015 2,242 82 0 0ms 50ms 85ms 119ms 08 18,305 6,202 257 0 0ms 100ms 197ms 342ms 09 49,514 10,940 610 0 0ms 268ms 322ms 401ms 10 74,875 18,454 824 0 0ms 482ms 605ms 1s138ms 11 86,756 18,737 890 0 0ms 559ms 681ms 6s808ms 12 91,309 18,533 798 0 0ms 601ms 737ms 955ms 13 73,245 16,228 881 0 0ms 418ms 528ms 860ms 14 68,015 16,434 662 0 0ms 336ms 443ms 594ms 15 60,456 16,487 792 0 0ms 323ms 423ms 613ms 16 66,024 21,172 650 0 13ms 555ms 3s120ms 2m4s 17 77,901 25,238 678 0 4ms 665ms 976ms 54s600ms 18 84,202 20,724 720 0 3ms 638ms 741ms 42s33ms 19 94,454 18,989 669 0 1ms 714ms 857ms 43s787ms 20 52,938 12,265 367 0 0ms 318ms 399ms 472ms 21 44,183 8,612 240 1 0ms 268ms 372ms 454ms 22 26,792 5,025 110 0 0ms 217ms 243ms 311ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Feb 17 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 17 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 17 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
- 343,778 buffers Checkpoint Peak
- 2025-02-17 17:16:21 Date
- 270.054 seconds Highest write time
- 0.683 seconds Sync time
Checkpoints Wal files
Key values
- 139 files Wal files usage Peak
- 2025-02-17 17:16:21 Date
Checkpoints distance
Key values
- 4,446.43 Mo Distance Peak
- 2025-02-17 17:16:21 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Feb 17 00 121,803 3,239.499s 0.03s 3,239.576s 01 113,116 3,239.632s 0.034s 3,239.712s 02 134,434 3,239.51s 0.033s 3,239.59s 03 140,960 3,239.617s 0.033s 3,239.697s 04 130,757 3,212.538s 0.03s 3,212.619s 05 120,570 3,239.594s 0.03s 3,239.668s 06 128,747 2,969.51s 0.034s 2,969.591s 07 66,979 3,239.511s 0.035s 3,239.584s 08 83,519 3,086.506s 0.029s 3,086.569s 09 369,479 3,239.507s 0.045s 3,239.628s 10 478,405 3,239.543s 0.06s 3,239.696s 11 601,222 3,239.508s 0.052s 3,239.673s 12 561,659 3,239.462s 0.07s 3,239.637s 13 597,469 3,239.415s 0.067s 3,239.58s 14 475,570 3,239.447s 0.073s 3,239.612s 15 393,206 3,239.562s 0.06s 3,239.695s 16 399,824 3,239.469s 0.054s 3,239.611s 17 714,345 2,889.986s 0.766s 2,890.898s 18 384,452 3,239.516s 0.055s 3,239.656s 19 437,599 3,239.431s 0.062s 3,239.593s 20 273,431 3,239.57s 0.04s 3,239.672s 21 206,933 3,239.545s 0.041s 3,239.655s 22 87,529 2,429.703s 0.037s 2,429.775s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 17 00 0 0 54 3,090 0.002s 0.012s 01 0 0 52 2,751 0.005s 0.012s 02 0 0 61 2,757 0.003s 0.012s 03 0 0 65 2,771 0.002s 0.012s 04 0 0 63 2,570 0.002s 0.012s 05 0 0 55 1,986 0.002s 0.012s 06 0 0 58 2,368 0.003s 0.011s 07 0 0 30 2,332 0.011s 0.012s 08 0 0 35 3,057 0.002s 0.012s 09 0 0 166 4,660 0.002s 0.012s 10 0 0 215 5,132 0.002s 0.012s 11 0 0 274 5,255 0.003s 0.012s 12 0 0 260 5,236 0.003s 0.012s 13 0 0 268 5,225 0.003s 0.012s 14 0 0 216 5,418 0.003s 0.012s 15 0 0 175 5,655 0.003s 0.012s 16 0 0 180 5,588 0.003s 0.012s 17 0 27 261 5,485 0.033s 0.013s 18 0 0 148 5,393 0.002s 0.012s 19 0 0 174 5,263 0.003s 0.012s 20 0 0 109 5,031 0.002s 0.012s 21 0 0 83 4,973 0.003s 0.012s 22 0 0 36 3,411 0.002s 0.009s Day Hour Count Avg time (sec) Feb 17 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 17 00 73,542.92 kB 99,700.08 kB 01 71,540.42 kB 96,097.17 kB 02 83,597.92 kB 106,199.33 kB 03 88,451.58 kB 121,183.67 kB 04 86,541.83 kB 130,794.92 kB 05 74,329.17 kB 100,159.00 kB 06 86,251.00 kB 123,830.82 kB 07 40,942.92 kB 83,318.08 kB 08 48,001.83 kB 70,561.92 kB 09 226,938.17 kB 256,072.67 kB 10 293,497.58 kB 333,597.17 kB 11 374,116.17 kB 399,804.08 kB 12 355,447.08 kB 434,119.00 kB 13 365,627.33 kB 453,300.42 kB 14 294,430.42 kB 353,480.00 kB 15 238,949.42 kB 302,605.08 kB 16 246,331.82 kB 298,021.45 kB 17 393,237.67 kB 728,691.92 kB 18 205,732.27 kB 283,821.82 kB 19 237,865.45 kB 283,393.18 kB 20 145,608.64 kB 218,948.36 kB 21 114,255.08 kB 178,423.08 kB 22 65,256.56 kB 120,239.78 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 17 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 17 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,564,577 Total read queries
- 5,055,490 Total write queries
Queries by database
Key values
- unknown Main database
- 17,004,975 Requests
- 4d23h40m57s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 17,004,975 Requests
User Request type Count Duration unknown Total 17,004,975 4d23h40m57s copy from 1 2ms cte 7,497 1s952ms ddl 153 21ms delete 9,804 1m insert 1,111,807 6m22s others 2,384,908 2m29s select 9,564,577 4d22h45m16s tcl 3,659,815 2m38s update 266,413 43m7s Duration by user
Key values
- 4d23h40m57s (unknown) Main time consuming user
User Request type Count Duration unknown Total 17,004,975 4d23h40m57s copy from 1 2ms cte 7,497 1s952ms ddl 153 21ms delete 9,804 1m insert 1,111,807 6m22s others 2,384,908 2m29s select 9,564,577 4d22h45m16s tcl 3,659,815 2m38s update 266,413 43m7s Queries by host
Key values
- unknown Main host
- 17,004,975 Requests
- 4d23h40m57s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 17,004,975 Requests
- 4d23h40m57s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-02-17 15:54:11 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 15,571,252 0-1ms duration
Slowest individual queries
Rank Duration Query 1 3m16s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-17 00:25:00.744810', "write_uid" = 1064 WHERE id IN (32535887);[ Date: 2025-02-17 01:28:19 ]
2 2m19s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 12, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-17 16:48:23 ]
3 2m18s update shipping_policy set count_search = 5 where id = 5395077;[ Date: 2025-02-17 16:33:14 ]
4 2m17s UPDATE "shipping_policy" SET "total_shipping_price" = '105', "write_date" = '2025-02-17 16:39:45.948218', "write_uid" = 852 WHERE id IN (5453869, 5443587, 5435208, 5433929, 5431568, 5423809, 5423776, 5423408, 5422722, 5422488, 5422467, 5420921, 5420123, 5420079, 5418702, 5416967, 5416816, 5416800, 5415213, 5411800, 5410202, 5407863, 5404606, 5404505, 5404335, 5401641, 5392812, 5392129, 5352323, 5334385, 5328973, 5296239, 5236053);[ Date: 2025-02-17 17:42:04 ]
5 2m8s 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-17 16:23:28 ]
6 2m8s 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-17 12:07:23 ]
7 2m7s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-17 17:27:47 ]
8 2m6s 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-17 17:27:44 ]
9 2m5s 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-17 18:42:48 ]
10 2m3s UPDATE "collection_policy" SET "confirm_date" = '2025-02-17', "state" = 'confirm', "write_date" = '2025-02-17 15:27:43.893248', "write_uid" = 1080 WHERE id IN (3082626, 3082628, 3082630, 3082632, 3082633, 3082634, 3082635, 3082636, 3082637, 3082638, 3082639, 3082640, 3082641, 3082642, 3082643, 3082644, 3082645, 3082646, 3082647, 3082648, 3082649, 3082650, 3082651, 3082652, 3082653, 3082654, 3082656, 3082657, 3082658, 3082659, 3082660, 3082661, 3082662, 3082663, 3082664, 3082665, 3082666, 3082667, 3082668, 3082669, 3082670, 3082671, 3082672, 3082673, 3082674, 3082675, 3082676, 3082677, 3082678, 3082679, 3082680, 3082681, 3082682, 3082683, 3082684, 3082685, 3082686, 3082687, 3082688, 3082689, 3082690, 3082691, 3082692, 3083829, 3083832, 3083836, 3083840, 3083844, 3083848, 3083852, 3083857, 3083861, 3083865, 3084080, 3084081, 3084082, 3084083, 3084084, 3084085, 3084086, 3084087, 3084089, 3084091, 3084093, 3084094, 3084095, 3084096, 3084097, 3084098, 3082693, 3082694, 3082695, 3082696, 3082697, 3082698, 3082699, 3082700, 3083393, 3083395, 3083397, 3083399, 3083401, 3083403, 3083404, 3083405, 3083406, 3083407, 3083408, 3083409, 3083410, 3083411, 3083412, 3083413, 3083414, 3083415, 3083416, 3083417, 3083418, 3083419, 3083421, 3083423, 3083425, 3083427, 3083429, 3083765, 3083769, 3083773, 3083777, 3083781, 3083785, 3083789, 3083793, 3083796, 3083800, 3083804, 3083808, 3083813, 3083817, 3083821, 3083825, 3084099, 3084100, 3084101, 3084102, 3084103, 3084104, 3084105, 3084106, 3084107, 3084108, 3084109, 3084110, 3084111, 3084112, 3084113, 3084114);[ Date: 2025-02-17 16:30:00 ]
11 2m2s 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-17 14:49:15 ]
12 2m1s 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-17 16:23:17 ]
13 1m58s 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-17 18:23:40 ]
14 1m53s update shipping_policy set count_search = 3 where id = 5376854;[ Date: 2025-02-17 16:27:43 ]
15 1m52s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-17 00:30:25.452702', "write_uid" = 1064 WHERE id IN (32535887);[ Date: 2025-02-17 01:32:19 ]
16 1m49s update shipping_policy set count_search = 3 where id = 5419980;[ Date: 2025-02-17 18:26:51 ]
17 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-17 09:52:47 ]
18 1m47s update shipping_policy set count_search = 4 where id = 5286021;[ Date: 2025-02-17 16:33:14 ]
19 1m46s 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-17 18:22:46 ]
20 1m45s UPDATE "collection_policy" SET "confirm_date" = '2025-02-17', "state" = 'confirm', "write_date" = '2025-02-17 15:33:21.786642', "write_uid" = 1080 WHERE id IN (3082626, 3082628, 3082630, 3082632, 3082633, 3082634, 3082635, 3082636, 3082637, 3082638, 3082639, 3082640, 3082641, 3082642, 3082643, 3082644, 3082645, 3082646, 3082647, 3082648, 3082649, 3082650, 3082651, 3082652, 3082653, 3082654, 3082656, 3082657, 3082658, 3082659, 3082660, 3082661, 3082662, 3082663, 3082664, 3082665, 3082666, 3082667, 3082668, 3082669, 3082670, 3082671, 3082672, 3082673, 3082674, 3082675, 3082676, 3082677, 3082678, 3082679, 3082680, 3082681, 3082682, 3082683, 3082684, 3082685, 3082686, 3082687, 3082688, 3082689, 3082690, 3082691, 3082692, 3083829, 3083832, 3083836, 3083840, 3083844, 3083848, 3083852, 3083857, 3083861, 3083865, 3084080, 3084081, 3084082, 3084083, 3084084, 3084085, 3084086, 3084087, 3084089, 3084091, 3084093, 3084094, 3084095, 3084096, 3084097, 3084098, 3082693, 3082694, 3082695, 3082696, 3082697, 3082698, 3082699, 3082700, 3083393, 3083395, 3083397, 3083399, 3083401, 3083403, 3083404, 3083405, 3083406, 3083407, 3083408, 3083409, 3083410, 3083411, 3083412, 3083413, 3083414, 3083415, 3083416, 3083417, 3083418, 3083419, 3083421, 3083423, 3083425, 3083427, 3083429, 3083765, 3083769, 3083773, 3083777, 3083781, 3083785, 3083789, 3083793, 3083796, 3083800, 3083804, 3083808, 3083813, 3083817, 3083821, 3083825, 3084099, 3084100, 3084101, 3084102, 3084103, 3084104, 3084105, 3084106, 3084107, 3084108, 3084109, 3084110, 3084111, 3084112, 3084113, 3084114);[ Date: 2025-02-17 16:35:23 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2d11h55m28s 283,862 578ms 6s840ms 759ms 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 17 00 6,408 1h7m36s 633ms 01 5,790 1h1m36s 638ms 02 7,866 1h23m11s 634ms 03 8,901 1h35m55s 646ms 04 6,566 1h9m27s 634ms 05 5,306 54m40s 618ms 06 6,532 1h9m47s 641ms 07 3,023 31m48s 631ms 08 4,976 57m21s 691ms 09 12,151 2h20m2s 691ms 10 17,186 3h43m52s 781ms 11 18,400 4h6m33s 803ms 12 21,252 4h48m44s 815ms 13 16,549 3h29m18s 758ms 14 13,206 2h34m27s 701ms 15 11,933 2h20m45s 707ms 16 14,344 3h10m45s 797ms 17 15,476 3h22m14s 784ms 18 26,812 6h16m58s 843ms 19 31,214 8h6m31s 935ms 20 15,454 2h59m5s 695ms 21 8,924 1h41m50s 684ms 22 5,593 1h2m53s 674ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5464547)) AND (("shipping_track"."id" not in (45387333, 45387333)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 18:59:30 Duration: 6s840ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5464658)) AND (("shipping_track"."id" not in (45388561, 45388561)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 19:01:16 Duration: 6s795ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5465006)) AND (("shipping_track"."id" not in (45391343, 45391343)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 19:05:15 Duration: 6s771ms
2 15h37m39s 152,604 263ms 2s708ms 368ms 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 17 00 1,866 9m2s 290ms 01 1,729 8m18s 288ms 02 2,620 12m35s 288ms 03 2,779 13m29s 291ms 04 2,394 11m30s 288ms 05 3,475 16m42s 288ms 06 2,000 9m37s 288ms 07 1,008 4m48s 286ms 08 5,544 29m28s 319ms 09 7,025 38m6s 325ms 10 10,631 1h4m22s 363ms 11 8,338 53m19s 383ms 12 9,991 1h3m17s 380ms 13 7,775 46m22s 357ms 14 7,898 43m25s 329ms 15 8,195 45m6s 330ms 16 20,145 2h21m17s 420ms 17 23,321 2h36m34s 402ms 18 10,594 1h7m9s 380ms 19 8,719 1h9m3s 475ms 20 5,819 30m27s 313ms 21 272 1m19s 292ms 22 466 2m15s 291ms -
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" = '400709')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 18:59:28 Duration: 2s708ms
-
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" = '400709')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 18:59:26 Duration: 2s696ms
-
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" = '380658')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 19:00:44 Duration: 2s654ms
3 10h26m9s 46,834 579ms 6s559ms 802ms 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 17 00 202 2m22s 705ms 01 156 1m50s 705ms 02 129 1m35s 738ms 03 214 2m33s 717ms 04 168 2m3s 733ms 05 179 2m5s 699ms 06 106 1m17s 734ms 07 176 1m59s 677ms 08 901 10m51s 723ms 09 2,805 33m22s 714ms 10 3,647 49m7s 808ms 11 4,670 1h7m22s 865ms 12 4,400 1h3m57s 872ms 13 5,035 1h6m39s 794ms 14 3,499 41m59s 720ms 15 3,483 41m49s 720ms 16 3,274 46m24s 850ms 17 2,790 37m6s 797ms 18 3,510 49m2s 838ms 19 4,156 1h4m51s 936ms 20 1,660 19m23s 700ms 21 1,280 14m5s 660ms 22 394 4m17s 654ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5449630, 5424972, 5424946, 5424914, 5414429, 5397188, 5324120, 5269404)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 19:43:49 Duration: 6s559ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5400202, 5402931, 5408432, 5409713, 5413860, 5419347, 5419696, 5412023, 5420017, 5432149, 5354045, 5439866, 5363585, 5437281, 5437269, 5441553, 5441393, 5442512, 5444021, 5435888, 5440202, 5436692, 4419490)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 11:48:23 Duration: 6s243ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5407908, 5399013, 5418920, 4776511, 5392322, 5399248, 5399024, 5411707, 5412085, 5417875, 5426701, 5426747, 5428426, 5428921, 5428891, 5431185, 5435002, 5436220, 5436489, 5438591, 5441166, 5442557, 5441492, 5442656, 5443390, 5443669, 5436466, 5436472, 5444218, 5446833, 5436080, 5438435, 5450407, 5451199, 5451202, 5451212, 5426590, 5433040, 5440367, 5455514, 5447255, 5447495)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 19:42:18 Duration: 5s928ms
4 5h27m13s 16,694 821ms 3s4ms 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 17 00 730 12m27s 1s24ms 01 177 2m57s 1s 02 1,045 18m17s 1s50ms 03 1,493 25m56s 1s42ms 04 644 11m20s 1s57ms 06 1,161 19m51s 1s25ms 07 373 6m22s 1s25ms 08 279 4m43s 1s16ms 09 40 51s506ms 1s287ms 10 143 3m 1s260ms 11 249 4m56s 1s190ms 12 235 5m5s 1s300ms 13 69 1m26s 1s250ms 14 73 1m34s 1s299ms 15 409 7m43s 1s132ms 16 502 11m2s 1s319ms 17 1,229 25m49s 1s261ms 18 1,474 32m34s 1s325ms 19 2,398 59m28s 1s487ms 20 1,465 27m32s 1s128ms 21 1,261 22m44s 1s81ms 22 1,245 21m26s 1s33ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1009')) 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-17 19:00:47 Duration: 3s4ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '387827')) 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-17 19:48:30 Duration: 2s986ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '388891')) 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-17 19:45:15 Duration: 2s952ms
5 4h9m33s 57,479 91ms 1s57ms 260ms select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 17 00 1,488 6m6s 246ms 01 1,974 7m7s 216ms 02 2,138 7m40s 215ms 03 3,156 11m11s 212ms 04 1,262 4m31s 214ms 06 2,306 8m33s 222ms 07 742 2m51s 231ms 08 582 2m7s 219ms 09 78 15s169ms 194ms 10 310 1m35s 307ms 11 562 2m40s 286ms 12 688 3m22s 293ms 13 396 1m17s 195ms 14 766 3m26s 269ms 15 1,600 6m11s 232ms 16 2,518 12m23s 295ms 17 4,811 22m48s 284ms 18 6,384 31m15s 293ms 19 8,983 49m30s 330ms 20 5,917 23m32s 238ms 21 6,206 23m7s 223ms 22 4,612 17m57s 233ms -
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-17 16:26:34 Duration: 1s57ms
-
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-17 16:26:34 Duration: 1s57ms
-
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-17 19:46:04 Duration: 1s51ms
6 3h50m51s 12,422 830ms 2s940ms 1s115ms 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 17 00 23 23s193ms 1s8ms 01 817 13m45s 1s10ms 02 38 33s420ms 879ms 03 113 1m58s 1s47ms 04 1 933ms 933ms 08 17 15s767ms 927ms 10 16 16s883ms 1s55ms 11 40 42s633ms 1s65ms 12 122 2m21s 1s160ms 13 134 2m18s 1s29ms 14 318 5m41s 1s74ms 15 411 7m40s 1s120ms 16 780 15m27s 1s189ms 17 1,209 23m7s 1s147ms 18 1,749 34m19s 1s177ms 19 2,150 46m35s 1s300ms 20 1,526 26m5s 1s25ms 21 1,874 31m59s 1s24ms 22 1,084 17m18s 957ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '356195')) 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 (77))))))) 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 (77)))))) 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 (77)))))) 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 (77))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-17 19:48:19 Duration: 2s940ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '364898')) 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-17 19:43:13 Duration: 2s886ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '364894')) 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-17 19:43:18 Duration: 2s845ms
7 3h41m34s 29,385 290ms 3s69ms 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 17 08 1,900 13m12s 416ms 09 2,818 19m34s 416ms 10 3,121 23m41s 455ms 11 3,127 26m11s 502ms 12 4,685 37m14s 476ms 13 4,042 30m33s 453ms 14 3,065 21m59s 430ms 15 3,734 26m22s 423ms 16 2,465 19m47s 481ms 17 428 2m56s 412ms -
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" = '418446')))) 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-17 11:48:37 Duration: 3s69ms
-
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" = '447456')))) 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-17 11:48:40 Duration: 3s31ms
-
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" = '425384')))) 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-17 11:48:34 Duration: 3s29ms
8 2h51m5s 160,537 40ms 406ms 63ms 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 17 00 3,004 2m46s 55ms 01 1,962 1m48s 55ms 02 2,562 2m21s 55ms 03 3,448 3m12s 55ms 04 2,522 2m20s 55ms 05 1,313 1m13s 55ms 06 1,888 1m45s 55ms 07 1,265 1m10s 55ms 08 3,013 3m2s 60ms 09 9,718 9m49s 60ms 10 12,829 14m37s 68ms 11 13,897 16m10s 69ms 12 17,788 21m4s 71ms 13 14,501 15m55s 65ms 14 10,637 10m46s 60ms 15 9,568 9m46s 61ms 16 9,039 10m13s 67ms 17 6,737 7m10s 63ms 18 8,786 9m36s 65ms 19 11,885 13m51s 69ms 20 6,141 5m32s 54ms 21 5,059 4m21s 51ms 22 2,975 2m28s 49ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5442766, 5439397, 5439347, 5430548)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-17 19:01:54 Duration: 406ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5418987, 5407900, 5396336, 5396236)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-17 11:48:36 Duration: 391ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5090974, 5086219, 4458423, 4408172)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-17 19:44:38 Duration: 384ms
9 1h24m6s 14,767 267ms 2s599ms 341ms 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 17 00 143 41s571ms 290ms 01 18 5s189ms 288ms 02 123 35s148ms 285ms 03 298 1m27s 293ms 04 44 12s713ms 288ms 05 363 1m44s 288ms 06 979 4m43s 289ms 07 597 2m51s 287ms 08 950 4m34s 288ms 09 996 5m18s 319ms 10 2,404 14m57s 373ms 11 1,349 8m12s 365ms 12 1,082 6m51s 379ms 13 820 5m 366ms 14 1,225 6m46s 332ms 15 572 2m59s 314ms 16 437 3m14s 445ms 17 305 1m49s 359ms 18 381 2m24s 379ms 19 460 3m22s 440ms 20 585 3m5s 316ms 21 272 1m19s 292ms 22 364 1m46s 292ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '380658')) 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-17 19:00:41 Duration: 2s599ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '415326')) 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-17 19:00:53 Duration: 2s555ms
-
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" = '514858')) 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-17 19:00:58 Duration: 2s506ms
10 1h8m55s 59,496 47ms 397ms 69ms select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 17 08 2,022 2m19s 68ms 09 6,037 6m34s 65ms 10 5,179 6m10s 71ms 11 4,908 5m51s 71ms 12 8,830 10m44s 72ms 13 10,665 12m26s 69ms 14 7,461 8m6s 65ms 15 6,459 7m5s 65ms 16 6,311 7m29s 71ms 17 1,349 1m41s 75ms 18 151 15s796ms 104ms 19 87 8s303ms 95ms 20 32 2s482ms 77ms 21 5 363ms 72ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5427869) 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-17 16:33:45 Duration: 397ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5403917) AND ("collection_policy"."state" = 'confirm')) 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-17 11:19:28 Duration: 394ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5439284) AND ("collection_policy"."state" = 'confirm')) 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-17 18:49:15 Duration: 385ms
11 1h2m24s 2,507 106ms 5s497ms 1s493ms select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 17 00 12 3s56ms 254ms 02 1 2s189ms 2s189ms 07 3 3s644ms 1s214ms 08 36 18s846ms 523ms 09 92 1m49s 1s185ms 10 219 5m43s 1s569ms 11 288 7m46s 1s621ms 12 350 9m29s 1s626ms 13 305 8m3s 1s586ms 14 275 6m49s 1s487ms 15 202 4m37s 1s373ms 16 186 4m26s 1s434ms 17 286 5m31s 1s160ms 18 104 3m23s 1s956ms 19 50 1m48s 2s168ms 20 36 1m4s 1s780ms 21 30 36s291ms 1s209ms 22 32 46s153ms 1s442ms -
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-17 11:48:22 Duration: 5s497ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-17 11:48:29 Duration: 4s632ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (53)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (53))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-17 12:58:37 Duration: 4s543ms
12 52m4s 21,138 103ms 942ms 147ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 17 00 69 7s926ms 114ms 03 10 1s265ms 126ms 08 146 21s608ms 148ms 09 907 1m58s 130ms 10 1,781 4m22s 147ms 11 2,780 6m55s 149ms 12 2,248 5m58s 159ms 13 2,076 5m14s 151ms 14 2,677 6m4s 136ms 15 2,402 5m26s 136ms 16 1,615 4m9s 154ms 17 1,605 4m4s 152ms 18 1,314 3m22s 154ms 19 721 2m15s 188ms 20 338 45s786ms 135ms 21 282 34s819ms 123ms 22 167 20s396ms 122ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8159080)) AND (("cash_track"."id" not in (8225968)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-17 13:00:16 Duration: 942ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8159066)) AND (("cash_track"."id" not in (8225919)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-17 12:59:55 Duration: 927ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8159043)) AND (("cash_track"."id" not in (8225840)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-17 12:59:08 Duration: 927ms
13 41m51s 13,308 152ms 240ms 188ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 17 00 1,489 4m39s 187ms 01 1,649 5m5s 185ms 02 2,181 6m49s 187ms 03 2,411 7m47s 193ms 04 2,192 6m57s 190ms 05 2,641 8m13s 186ms 06 338 1m3s 188ms 07 305 55s876ms 183ms 22 102 17s868ms 175ms -
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" = '356412')) 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-17 03:43:05 Duration: 240ms
-
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" = '430280')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 04:02:20 Duration: 233ms
-
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" = '548578')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 03:56:38 Duration: 232ms
14 31m57s 29,445 43ms 312ms 65ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 17 08 1,300 1m21s 62ms 09 3,125 3m4s 59ms 10 2,590 2m45s 64ms 11 2,539 2m45s 65ms 12 4,260 4m49s 68ms 13 5,405 6m6s 67ms 14 2,871 2m56s 61ms 15 3,127 3m8s 60ms 16 3,591 4m16s 71ms 17 637 41s860ms 65ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5368376) ORDER BY "collection_policy"."id";
Date: 2025-02-17 11:16:14 Duration: 312ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5355763) ORDER BY "collection_policy"."id";
Date: 2025-02-17 16:31:57 Duration: 308ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5357953) ORDER BY "collection_policy"."id";
Date: 2025-02-17 12:59:57 Duration: 299ms
15 30m32s 2,863 441ms 2s100ms 639ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 17 08 509 4m48s 566ms 09 652 6m50s 629ms 10 521 5m22s 619ms 11 767 8m42s 681ms 12 37 32s723ms 884ms 15 21 13s938ms 663ms 18 356 4m 676ms -
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" = '316784')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-17 11:16:24 Duration: 2s100ms
-
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" = '42248')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-17 12:49:00 Duration: 1s317ms
-
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" = '432059')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-17 11:16:07 Duration: 1s206ms
16 24m30s 37 146ms 2m19s 39s749ms 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 #16
Day Hour Count Duration Avg duration Feb 17 01 5 4s656ms 931ms 04 6 2s295ms 382ms 08 2 304ms 152ms 09 1 1m47s 1m47s 12 1 2m8s 2m8s 14 3 3m48s 1m16s 16 5 6m30s 1m18s 17 3 4m14s 1m24s 18 5 5m50s 1m10s 20 6 4s299ms 716ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 12, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-17 16:48:23 Duration: 2m19s
-
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-17 16:23:28 Duration: 2m8s
-
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-17 12:07:23 Duration: 2m8s
17 20m22s 6,097 122ms 1s216ms 200ms select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 17 00 17 2s487ms 146ms 01 10 1s440ms 144ms 07 6 875ms 145ms 08 80 12s226ms 152ms 09 401 1m5s 162ms 10 1,290 4m20s 202ms 11 1,171 4m22s 223ms 12 947 3m30s 221ms 13 631 2m1s 192ms 14 442 1m13s 166ms 15 313 52s771ms 168ms 16 197 45s983ms 233ms 17 228 46s937ms 205ms 18 97 17s690ms 182ms 19 83 22s51ms 265ms 20 105 15s825ms 150ms 21 47 6s486ms 138ms 22 32 4s295ms 134ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 64)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-17 11:15:44 Duration: 1s216ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 5)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-17 11:19:22 Duration: 1s209ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 64)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-17 11:48:14 Duration: 1s204ms
18 19m18s 3,456 268ms 919ms 335ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 17 00 104 30s355ms 291ms 05 222 1m3s 286ms 06 627 3m1s 289ms 07 106 30s139ms 284ms 08 97 27s954ms 288ms 09 109 39s548ms 362ms 10 1,807 10m48s 358ms 11 384 2m16s 354ms -
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" = '421603')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 10:24:00 Duration: 919ms
-
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" = '513878')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 10:25:28 Duration: 570ms
-
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" = '376182')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 10:32:44 Duration: 548ms
19 18m30s 298 767ms 8s752ms 3s726ms 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 #19
Day Hour Count Duration Avg duration Feb 17 01 26 1m19s 3s62ms 09 3 10s953ms 3s651ms 10 33 1m59s 3s624ms 11 5 21s935ms 4s387ms 13 23 1m29s 3s878ms 14 6 20s264ms 3s377ms 15 23 1m21s 3s533ms 16 24 1m28s 3s683ms 17 63 4m14s 4s38ms 18 15 1m1s 4s75ms 19 24 1m49s 4s571ms 20 25 1m27s 3s509ms 21 13 40s964ms 3s151ms 22 15 45s207ms 3s13ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))))) AND ("policy_number"."name"::text ilike '%545000%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-17 19:43:21 Duration: 8s752ms
-
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 (77))))))) 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 (77)))))) 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 (77)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) 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 (77))))))))) 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 (77)))))))) AND ("policy_number"."name"::text ilike '%5624%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-17 17:46:51 Duration: 7s592ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))))) AND ("policy_number"."name"::text ilike '%545%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-17 19:43:18 Duration: 7s61ms
20 15m48s 88,365 0ms 2m18s 10ms update shipping_policy set count_search = ? where id = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 17 00 1,512 454ms 0ms 01 1,563 430ms 0ms 02 2,282 569ms 0ms 03 2,377 626ms 0ms 04 1,751 448ms 0ms 05 2,641 637ms 0ms 06 1,175 271ms 0ms 07 750 174ms 0ms 08 3,186 936ms 0ms 09 4,084 1s286ms 0ms 10 7,394 20s327ms 2ms 11 5,026 8s156ms 1ms 12 5,550 1s979ms 0ms 13 4,317 1s441ms 0ms 14 4,597 1s251ms 0ms 15 4,380 1s209ms 0ms 16 10,440 10m 57ms 17 11,998 2m29s 12ms 18 5,508 2m33s 27ms 19 4,532 2s649ms 0ms 20 2,878 1s108ms 0ms 21 240 148ms 0ms 22 184 94ms 0ms -
update shipping_policy set count_search = 5 where id = 5395077;
Date: 2025-02-17 16:33:14 Duration: 2m18s
-
update shipping_policy set count_search = 3 where id = 5376854;
Date: 2025-02-17 16:27:43 Duration: 1m53s
-
update shipping_policy set count_search = 3 where id = 5419980;
Date: 2025-02-17 18:26:51 Duration: 1m49s
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,384,700 2m29s 0ms 2ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 17 00 41,839 2s107ms 0ms 01 34,166 1s716ms 0ms 02 32,482 1s664ms 0ms 03 34,799 1s886ms 0ms 04 30,627 1s596ms 0ms 05 32,333 1s695ms 0ms 06 25,839 1s341ms 0ms 07 22,256 1s64ms 0ms 08 57,462 3s108ms 0ms 09 124,052 7s420ms 0ms 10 197,110 13s264ms 0ms 11 215,588 14s470ms 0ms 12 222,281 15s598ms 0ms 13 208,749 13s909ms 0ms 14 190,893 11s872ms 0ms 15 179,466 11s197ms 0ms 16 179,145 11s972ms 0ms 17 153,150 9s273ms 0ms 18 124,416 7s966ms 0ms 19 105,639 7s59ms 0ms 20 78,006 4s553ms 0ms 21 60,336 3s370ms 0ms 22 34,066 1s667ms 0ms -
DISCARD ALL;
Date: 2025-02-17 10:27:26 Duration: 2ms
-
DISCARD ALL;
Date: 2025-02-17 16:32:31 Duration: 2ms
-
DISCARD ALL;
Date: 2025-02-17 16:37:10 Duration: 2ms
2 1,829,911 32s77ms 0ms 13ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 17 00 29,618 461ms 0ms 01 23,182 371ms 0ms 02 21,462 351ms 0ms 03 24,240 407ms 0ms 04 21,225 346ms 0ms 05 22,770 362ms 0ms 06 18,257 303ms 0ms 07 15,365 249ms 0ms 08 43,310 670ms 0ms 09 95,887 1s518ms 0ms 10 158,289 2s757ms 0ms 11 171,437 2s979ms 0ms 12 177,547 3s285ms 0ms 13 165,689 2s795ms 0ms 14 146,561 2s269ms 0ms 15 136,287 2s123ms 0ms 16 135,804 2s417ms 0ms 17 120,016 2s198ms 0ms 18 94,864 2s41ms 0ms 19 79,824 1s922ms 0ms 20 58,814 1s65ms 0ms 21 44,776 767ms 0ms 22 24,687 408ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-17 09:18:13 Duration: 13ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-17 11:01:21 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-17 15:46:09 Duration: 1ms
3 1,210,102 13s889ms 0ms 4ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 17 00 21,576 197ms 0ms 01 17,668 160ms 0ms 02 16,793 156ms 0ms 03 18,095 180ms 0ms 04 15,904 150ms 0ms 05 16,765 155ms 0ms 06 13,473 126ms 0ms 07 11,714 104ms 0ms 08 29,504 285ms 0ms 09 62,854 655ms 0ms 10 99,493 1s178ms 0ms 11 108,736 1s303ms 0ms 12 112,182 1s408ms 0ms 13 105,500 1s238ms 0ms 14 96,468 1s41ms 0ms 15 90,624 971ms 0ms 16 90,499 1s77ms 0ms 17 77,468 939ms 0ms 18 63,050 827ms 0ms 19 53,571 774ms 0ms 20 39,710 445ms 0ms 21 30,851 326ms 0ms 22 17,604 183ms 0ms -
ROLLBACK;
Date: 2025-02-17 16:26:45 Duration: 4ms
-
ROLLBACK;
Date: 2025-02-17 18:52:12 Duration: 0ms
-
ROLLBACK;
Date: 2025-02-17 13:11:22 Duration: 0ms
4 1,203,899 3m53s 0ms 19ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 17 00 21,009 3s364ms 0ms 01 17,110 2s822ms 0ms 02 16,242 2s760ms 0ms 03 17,482 3s63ms 0ms 04 15,302 2s523ms 0ms 05 16,205 2s618ms 0ms 06 12,921 2s162ms 0ms 07 11,147 1s610ms 0ms 08 28,949 4s684ms 0ms 09 62,771 11s107ms 0ms 10 99,608 18s992ms 0ms 11 109,050 20s628ms 0ms 12 112,564 22s283ms 0ms 13 105,814 19s599ms 0ms 14 96,368 16s617ms 0ms 15 90,640 15s743ms 0ms 16 90,514 17s59ms 0ms 17 77,450 16s852ms 0ms 18 62,685 15s773ms 0ms 19 53,179 14s457ms 0ms 20 39,379 8s837ms 0ms 21 30,398 6s283ms 0ms 22 17,112 3s660ms 0ms -
SELECT payload FROM http_sessions WHERE sid = '79edb7b232e1499b35424c43ca84016cd1cc7cbc';
Date: 2025-02-17 15:56:55 Duration: 19ms
-
SELECT payload FROM http_sessions WHERE sid = '6b645a80f9eb86e519e3d12a522d946bdaf04d87';
Date: 2025-02-17 11:00:34 Duration: 15ms
-
SELECT payload FROM http_sessions WHERE sid = 'a057dfea7e6177e4b1de9a842217d1559f56acbc';
Date: 2025-02-17 10:43:10 Duration: 14ms
5 1,192,329 1m57s 0ms 15ms 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 17 00 20,962 1s748ms 0ms 01 17,121 1s453ms 0ms 02 16,295 1s407ms 0ms 03 17,447 1s545ms 0ms 04 15,345 1s311ms 0ms 05 16,207 1s351ms 0ms 06 12,978 1s103ms 0ms 07 11,172 893ms 0ms 08 28,718 2s479ms 0ms 09 61,974 5s642ms 0ms 10 98,516 9s807ms 0ms 11 107,755 10s703ms 0ms 12 111,114 11s494ms 0ms 13 104,316 10s142ms 0ms 14 95,385 8s729ms 0ms 15 89,698 8s229ms 0ms 16 89,507 8s879ms 0ms 17 76,535 8s194ms 0ms 18 62,209 7s198ms 0ms 19 52,826 6s506ms 0ms 20 39,024 3s954ms 0ms 21 30,189 2s855ms 0ms 22 17,036 1s630ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-17 15:25:28 Duration: 15ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-17 11:15:14 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-17 13:29:00 Duration: 1ms
6 619,795 1m52s 0ms 52ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 17 00 8,041 1s284ms 0ms 01 5,512 1s92ms 0ms 02 4,672 1s86ms 0ms 03 6,143 1s449ms 0ms 04 5,321 1s190ms 0ms 05 6,006 1s338ms 0ms 06 4,783 1s11ms 0ms 07 3,653 641ms 0ms 08 13,792 1s786ms 0ms 09 33,041 5s316ms 0ms 10 58,789 10s346ms 0ms 11 62,710 11s473ms 0ms 12 65,346 12s942ms 0ms 13 60,208 10s702ms 0ms 14 50,093 8s55ms 0ms 15 45,662 7s171ms 0ms 16 45,305 7s758ms 0ms 17 42,540 7s705ms 0ms 18 31,801 6s515ms 0ms 19 26,268 6s304ms 0ms 20 19,106 3s386ms 0ms 21 13,928 2s322ms 0ms 22 7,075 1s198ms 0ms -
COMMIT;
Date: 2025-02-17 12:20:36 Duration: 52ms
-
COMMIT;
Date: 2025-02-17 13:04:32 Duration: 40ms
-
COMMIT;
Date: 2025-02-17 17:12:11 Duration: 40ms
7 526,687 1m26s 0ms 8ms 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 17 00 6,368 839ms 0ms 01 4,908 637ms 0ms 02 4,537 550ms 0ms 03 6,540 767ms 0ms 04 4,157 523ms 0ms 05 3,426 476ms 0ms 06 5,446 707ms 0ms 07 2,233 285ms 0ms 08 9,906 1s435ms 0ms 09 26,912 4s330ms 0ms 10 49,562 9s373ms 0ms 11 53,744 9s256ms 0ms 12 55,683 10s281ms 0ms 13 48,768 8s147ms 0ms 14 39,155 5s827ms 0ms 15 36,163 5s316ms 0ms 16 38,160 6s233ms 0ms 17 36,217 6s235ms 0ms 18 28,379 5s399ms 0ms 19 25,396 5s22ms 0ms 20 15,761 2s80ms 0ms 21 13,501 1s547ms 0ms 22 11,765 927ms 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 (5102177, 5101222, 5309189, 5121625, 5099333, 5506688, 5106156, 5100477, 5464118, 5175380, 5103256, 5100579, 5099198, 5107367, 5508703, 5302638, 5107690, 5099137, 5520837, 5103549, 5520836, 5099102, 5520835, 5518434, 5099010, 5100998, 5105867, 5520832, 5520831, 5174140, 5119200, 5099206, 5099224, 5282710, 5411849, 5168743, 5520829, 5520828, 5113237, 5174028, 5193277, 5520821, 5136575, 5162748, 5520819, 5131668, 5099500, 5105551, 5107324, 5183059, 5102386, 5099007, 5103693, 5099247, 5203873, 5107051, 5318008, 5520808);
Date: 2025-02-17 17:21:52 Duration: 8ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5112011, 5099737, 5109890, 5100618, 5104262, 5100148, 5140256, 5099014, 5099009, 5099105, 5099117, 5099956, 5115385, 5105592, 5116320, 5105574, 5132118, 5258519, 5106802, 5100457, 5100666, 5461068, 5106409, 5125740, 5520834, 5228873, 5102693, 5520833, 5111347, 5104355, 5452522, 5099758, 5206029, 5298887, 5311387, 5134464, 5099013, 5520830, 5099873, 5382181, 5125469, 5232868, 5099678, 5520826, 5179944, 5099415, 5520824, 5520823, 5102098, 5414127, 5101164, 5099263, 5134271, 5132387, 5520818, 5099690, 5110269, 5520816, 5099045, 5520815, 5099521, 5099008, 5520813, 5100411, 5124834, 5116973, 5175226, 5148440, 5099200, 5520812, 5167779, 5344740, 5099309, 5099248, 5520811, 5099798, 5233204, 5099095, 5308328, 5101159, 5102312, 5100443, 5437865, 5343468, 5520809, 5100796);
Date: 2025-02-17 17:21:52 Duration: 8ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5100246, 5197499, 5099264, 5099321, 5099445, 5099009, 5099403, 5099010, 5099500, 5100110, 5262480, 5099013, 5100205, 5100354, 5099941, 5099007, 5109455, 5101635, 5266814, 5425660, 5515745, 5112920, 5467162, 5449834, 5099111, 5099540, 5144095, 5191473, 5218017, 5099296, 5099243, 5099802, 5101808, 5099008, 5099815, 5410727, 5100232, 5099102, 5146913, 5155750, 5099909, 5121530, 5099206, 5376161, 5099360, 5283618, 5099137, 5099177, 5099413, 5461254, 5099141, 5099105, 5099430, 5113399, 5252600, 5104140, 5099908, 5099014, 5099921, 5198740, 5178207);
Date: 2025-02-17 17:21:53 Duration: 4ms
8 512,860 40s955ms 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 17 00 5,650 329ms 0ms 01 3,896 218ms 0ms 02 2,900 170ms 0ms 03 4,095 237ms 0ms 04 2,986 171ms 0ms 05 3,254 192ms 0ms 06 3,975 214ms 0ms 07 2,453 147ms 0ms 08 9,954 638ms 0ms 09 26,121 1s763ms 0ms 10 48,499 3s925ms 0ms 11 53,138 4s283ms 0ms 12 55,397 4s875ms 0ms 13 49,836 4s48ms 0ms 14 40,376 2s953ms 0ms 15 38,369 2s730ms 0ms 16 37,774 3s145ms 0ms 17 36,603 3s95ms 0ms 18 28,203 2s708ms 0ms 19 23,855 2s748ms 0ms 20 16,374 1s192ms 0ms 21 13,193 805ms 0ms 22 5,959 356ms 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 (6, 74, 3, 73, 64, 61, 17, 14, 27, 19, 67, 22, 32, 26, 52, 51, 55, 7, 23, 24, 111, 5, 11, 30, 66, 8, 119, 60, 16, 85, 70, 78, 44, 65, 77, 128, 46, 13, 9, 110, 39, 102, 53, 1, 68, 36, 41, 76, 127, 49, 115, 75, 123, 62, 79);
Date: 2025-02-17 19:31:44 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 (70, 27, 39, 4, 11, 67, 22, 19, 6);
Date: 2025-02-17 10:41:36 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 (51, 77, 66, 30, 23, 62, 26);
Date: 2025-02-17 16:09:03 Duration: 1ms
9 355,561 1m16s 0ms 9ms 0ms select "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 17 00 3,766 686ms 0ms 01 2,675 460ms 0ms 02 1,958 377ms 0ms 03 2,531 494ms 0ms 04 2,339 423ms 0ms 05 2,324 415ms 0ms 06 2,348 408ms 0ms 07 1,934 287ms 0ms 08 9,273 1s531ms 0ms 09 20,423 3s722ms 0ms 10 34,452 7s587ms 0ms 11 36,487 8s153ms 0ms 12 37,365 8s871ms 0ms 13 34,721 7s505ms 0ms 14 29,829 5s846ms 0ms 15 26,956 5s239ms 0ms 16 27,461 6s69ms 0ms 17 24,171 5s645ms 0ms 18 17,225 4s419ms 0ms 19 15,155 4s114ms 0ms 20 10,610 2s113ms 0ms 21 7,704 1s447ms 0ms 22 3,854 685ms 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 (8004656);
Date: 2025-02-17 17:21:52 Duration: 9ms
-
SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (8005241, 8005471, 8005319, 8005309, 8005341, 8005083, 8006259, 8006258, 8005376, 8005209, 8004827, 8006684, 8005023, 8005074, 8005249, 8005215, 8006566, 8006267, 8006668, 8005344, 8007166, 8004741, 8005420, 8006738, 8005395, 8005415, 8005459, 8004771, 8005364, 8005295, 8005362, 8008045, 8005416, 8005273, 8005291, 8005302, 8004742, 8007698, 8004835, 8004841, 8006540, 8007431, 8005465, 8005373, 8006923, 8005403, 8004985, 8005461, 8005286, 8005492, 8006217, 8005130, 8005189, 8005290, 8006663, 8008178, 8005100, 8005098, 8005160, 8006193);
Date: 2025-02-17 17:22:02 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 (8006297);
Date: 2025-02-17 17:21:52 Duration: 3ms
10 290,851 31s252ms 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 17 00 3,253 336ms 0ms 01 2,074 248ms 0ms 02 1,683 225ms 0ms 03 2,209 272ms 0ms 04 1,770 226ms 0ms 05 1,884 237ms 0ms 06 2,126 258ms 0ms 07 1,384 192ms 0ms 08 6,447 614ms 0ms 09 15,581 1s437ms 0ms 10 28,029 3s4ms 0ms 11 29,453 3s163ms 0ms 12 30,926 3s525ms 0ms 13 29,201 2s964ms 0ms 14 24,703 2s259ms 0ms 15 22,280 2s55ms 0ms 16 22,321 2s438ms 0ms 17 20,558 2s329ms 0ms 18 14,578 1s913ms 0ms 19 12,132 1s779ms 0ms 20 8,443 847ms 0ms 21 6,631 623ms 0ms 22 3,185 299ms 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-17 17:45:26 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-17 17:46:28 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-17 11:16:24 Duration: 3ms
11 283,862 2d11h55m28s 578ms 6s840ms 759ms 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 17 00 6,408 1h7m36s 633ms 01 5,790 1h1m36s 638ms 02 7,866 1h23m11s 634ms 03 8,901 1h35m55s 646ms 04 6,566 1h9m27s 634ms 05 5,306 54m40s 618ms 06 6,532 1h9m47s 641ms 07 3,023 31m48s 631ms 08 4,976 57m21s 691ms 09 12,151 2h20m2s 691ms 10 17,186 3h43m52s 781ms 11 18,400 4h6m33s 803ms 12 21,252 4h48m44s 815ms 13 16,549 3h29m18s 758ms 14 13,206 2h34m27s 701ms 15 11,933 2h20m45s 707ms 16 14,344 3h10m45s 797ms 17 15,476 3h22m14s 784ms 18 26,812 6h16m58s 843ms 19 31,214 8h6m31s 935ms 20 15,454 2h59m5s 695ms 21 8,924 1h41m50s 684ms 22 5,593 1h2m53s 674ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5464547)) AND (("shipping_track"."id" not in (45387333, 45387333)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 18:59:30 Duration: 6s840ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5464658)) AND (("shipping_track"."id" not in (45388561, 45388561)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 19:01:16 Duration: 6s795ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5465006)) AND (("shipping_track"."id" not in (45391343, 45391343)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 19:05:15 Duration: 6s771ms
12 269,100 1m45s 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 17 00 2,463 835ms 0ms 01 1,631 542ms 0ms 02 1,309 446ms 0ms 03 1,483 510ms 0ms 04 1,111 377ms 0ms 05 1,310 453ms 0ms 06 796 259ms 0ms 07 993 299ms 0ms 08 8,360 2s778ms 0ms 09 14,801 5s313ms 0ms 10 21,674 8s768ms 0ms 11 20,349 8s368ms 0ms 12 22,425 9s681ms 0ms 13 28,493 11s21ms 0ms 14 29,378 10s793ms 0ms 15 19,495 7s156ms 0ms 16 19,368 7s898ms 0ms 17 26,462 10s711ms 0ms 18 15,582 6s794ms 0ms 19 12,374 5s825ms 0ms 20 8,486 3s26ms 0ms 21 6,107 2s21ms 0ms 22 4,650 1s412ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'person.recieve' 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 = 849) OR r.global) ORDER BY r.id;
Date: 2025-02-17 13:07:47 Duration: 5ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'urgent.warehouse' 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 = 1304) OR r.global) ORDER BY r.id;
Date: 2025-02-17 19:26:05 Duration: 4ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'urgent.customer' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1419) OR r.global) ORDER BY r.id;
Date: 2025-02-17 14:16:27 Duration: 4ms
13 254,360 1m8s 0ms 28ms 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 17 00 2,799 715ms 0ms 01 2,465 605ms 0ms 02 2,222 557ms 0ms 03 3,203 810ms 0ms 04 1,866 490ms 0ms 05 1,257 356ms 0ms 06 2,688 694ms 0ms 07 1,060 271ms 0ms 08 4,227 1s179ms 0ms 09 10,859 2s929ms 0ms 10 20,458 6s279ms 0ms 11 23,494 6s733ms 0ms 12 23,973 7s496ms 0ms 13 21,380 5s945ms 0ms 14 18,620 4s365ms 0ms 15 17,778 4s46ms 0ms 16 17,501 4s712ms 0ms 17 18,045 6s151ms 0ms 18 14,539 4s501ms 0ms 19 13,196 4s560ms 0ms 20 8,284 2s18ms 0ms 21 7,792 1s650ms 0ms 22 16,654 1s409ms 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 (32258019, 40988019, 41325953, 39970046, 41025964, 40460028, 32257744, 42130752, 41935711, 41791189, 32217086, 42041242, 42041244, 42088210, 40301233, 41839842, 41936434, 41574940, 40719641, 41790798, 41936300, 42058555, 42057730, 41791138, 41839650, 41790852, 42058499, 41936599, 41889106, 41903585, 41758752, 41874721, 41255815, 41903050, 41625173, 42082359, 41903471, 42039579, 41973481, 41743467, 41547387, 41932196, 39797866, 39725818, 39707919, 32187958, 41372639, 41084926, 32379829, 32482638, 32327552, 42027214, 41996150, 41840323, 42047285, 41867406, 41312371, 41732701, 32460293, 42165187, 42112024, 41821776, 42084441, 42158511, 41977242, 42057672, 42043923, 41701828, 42041410, 32260233, 42063845, 41312373, 32258045, 41924499, 41934189, 41893356, 42013265, 41845966, 32240723, 32237459, 42031320, 41792398, 41936594, 42012615, 32250142, 42110566, 41990682, 41701976, 41683809, 41850315, 41973210, 32470109, 32188024, 42078592, 41575001, 41671528, 41644907, 41034871, 41759129, 32345913);
Date: 2025-02-17 17:21:53 Duration: 28ms
-
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 (39970046, 40988019, 41025964, 41325953, 40460028, 41509079, 32202962, 41538968, 40395887, 32633968, 32238335, 41847801, 42153495, 41637566, 41538978, 41880141, 42078879, 41538957, 41613684, 41138309, 32178667, 32263393, 32178669, 41540229, 32668632, 32441935, 41342729, 44483087, 42080777, 41369024, 39689092, 32179601, 41797352, 41613687, 32552336, 41541124, 32426008, 41504289, 41538972, 32345206, 42078878, 42176638, 42069861, 32413247, 32316080, 42007015, 41587904, 41651883, 41613681, 41409026, 32178647, 41309591, 40793704, 40843073, 41844142, 41581606, 41583974, 41542222, 41848504, 41847804, 41071680, 41651786, 41910958, 44483077, 42070206, 32237860, 41584428, 42021267, 41732255, 44483075, 40411625, 41490418, 42087875, 44483062, 40460026, 42168118, 32382556, 32178653, 41848492, 41693584, 42150956, 44483070, 41666384, 32274175, 41858027, 41922081, 41968342, 41411129, 41710037, 41629176, 41732248, 32333506, 42021266, 32240642, 41504241, 38779849, 39622891, 32181019, 41401234, 41470673);
Date: 2025-02-17 17:21:53 Duration: 21ms
-
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 (44539630, 44589837, 32515708, 44589186, 44589784, 44542236, 32249329, 44481046, 32522213, 44484110, 44528144, 44593009, 32504198, 44498740, 32550714, 44498380, 32499078, 44601462, 32567281, 32500861, 44605015, 32468738, 32552392, 32496369, 32534221, 44520555, 44477769, 44477762, 32376978, 32533920, 32460834, 41987141, 32424428, 32372369, 44591895, 44592654, 44488961, 44544619, 44518316, 44594164, 32408019, 42128479, 32488892, 32535896, 44517440, 44629763, 44589895, 32521301, 44605304, 44593001, 44514120, 44544446, 32529530, 32501008, 44525622, 44585918, 44543910, 32483607, 44601081, 32493093, 44528368, 32499908, 44526438, 44527998, 44528414, 32552393, 32552390, 44556227, 44534659, 32564016, 44543890, 44520800, 44509101, 44591524, 32500628, 32547973, 32472206, 32444971, 32527328, 44541190, 32518054, 44510039, 44509105, 44509895, 44584114, 44591101, 44530796, 44544168, 32558575, 32481148, 32511833, 44497852, 44497391, 44497821, 44544073, 32408580, 32561628, 44513397, 32557867, 32413388, 32440505, 44503261, 32526036, 32525587, 44584166, 41680312, 32507365, 44542171, 32555631, 44498234, 44552049, 44526734, 44539578, 44592769, 44608276, 32494124, 44477717, 44505074, 32375084, 44591681, 32533836, 44527962, 44590562, 44488945, 32548031, 44484031, 41680307, 32541492, 44515880, 44605988, 44605991, 44484149, 44602795, 44602776, 44597690, 44604068, 44520330, 32423730, 32382801, 44591264, 32423695, 32548020, 44537902, 44542398, 32418517, 44542379, 44481011, 44629274, 32559646, 44605937, 32337050, 32466286, 44541940, 44544617, 32566515, 44543534, 44603193, 32491223, 32369534, 44501726, 44597222, 32562152, 32356307, 32392922, 44593587, 44592086, 32538617, 32480875, 44497407, 44495847, 44495833, 32477371, 32554411, 44521532, 44629275, 44593870, 32543456, 44607340, 44588277, 44528369, 32424184, 44520708, 44602724, 44543565, 32551097, 32550923, 32500993, 44604072, 44546316, 44480504, 32480471, 32481478, 41951180, 32498450, 32481352, 32536543, 32536454, 32423740, 44602804, 44476103, 32500869, 42070478, 44557553, 44557539, 44519242, 32554402, 44542183, 44589829, 44481021, 32372596, 44484320, 32556672, 44605169, 44525475, 32214440, 32478750, 32478780, 40919427, 44585813, 32563026, 44585396, 32550056, 44608273, 44496043, 32500884, 32556586, 32534175, 44520338, 44505234, 32460840, 44492857, 44521416, 44521497, 44592204, 44538220, 44591554, 44597264, 32478740, 32480335, 32510000, 32474410, 44526695, 32548417, 32294926, 41835427, 32553107, 32484085, 32427191, 32527018, 32455092, 32478597, 44521272, 44593091, 44484282, 44591347, 32504208, 44528117, 32481577, 44497585, 32563029, 44518811, 44518772, 44518305, 32433890, 44505240, 44519575, 44593346, 32533842, 44512329, 44512330, 44556145, 32546076, 32379998, 32480360, 44514073, 32349679, 32346593, 32554403, 44557530, 32411507, 44519233, 32478520, 44584411, 44589965, 44589911, 44498237, 44589904, 44593495, 44593865, 44593862, 44484622, 44585968, 44484091, 44530019, 32537083, 32550708, 32501007, 32563307, 44556241, 44598762, 44500999, 44594178, 44520809, 32397119, 44510013, 44520333, 44507346, 44591523, 32440964, 32387139, 32459469, 44476025, 32379866, 32508596, 32406871, 32282172, 32527355, 44557521, 32554401, 32478577, 41466885, 44530040, 32494799, 44536530, 44602739, 44602595, 32512439, 40919425, 44598470, 44528436, 44493115, 32323564, 32500948, 44512245, 32564475, 32459607, 32394241, 44518269, 44503747, 32476400, 42063512, 44607331, 44484434, 44592509, 44515872, 41393276, 44528052, 44585930, 44601354, 44536002, 32376807, 32370005, 44502527, 32514991, 44538763, 44507996, 32552892, 44531264, 32278772, 44529168, 44530221, 44488658, 32544080, 32569387, 32549908, 32569307, 32448401, 32513598, 32541835, 44589820, 44593800, 44593468, 32537278, 44539204, 44592727, 44592473, 32494819, 32415224, 32559498, 42119456, 32501108, 32501085, 32527976, 32500888, 32423496, 44597344, 44477746, 32469765, 44548290, 44518282, 32533764, 44497836, 42038113, 32526892, 44503246, 32527239, 32329704, 44515719, 32537086, 44528602, 44513629, 32445034, 42142916, 44591606, 44517415, 32500799, 32566734, 44526906, 32494967, 32356591, 32557617, 32473025, 44529731, 44529729, 44539201, 44484343, 32536555, 32424532, 44497321, 32558784, 32422838, 44496503, 32557474, 44541696, 44534261, 44502387, 32415669, 32564600, 44548272, 44591090, 32396677, 32460828, 44518041, 32554810, 41989285, 44519177, 32522827, 32554814, 44528193, 44484301, 44484602, 44484532, 32433431, 32521300, 44592610, 44588068, 44484216, 44515662, 44525492, 44604070, 44496050, 32567288, 44547075, 32564543, 32557446, 44594185, 44543888, 32397082, 44513517, 44480860, 32381522, 32539223, 44538797, 32372518, 44529124, 44508025, 32445590, 44497829, 32387140, 32569587, 44531116, 32567326, 44531064, 32546648, 32559800, 32423343, 32559734, 32411260, 41314889, 32313760, 32271276, 44629282, 32521068, 44605271, 44602605, 32423252, 44548221, 42106831, 44539070, 44514962, 44495780, 44489366, 32352604, 42174982, 44495392, 32418389, 32423808, 32567911, 32527547, 32419212, 32467520, 32506905, 44593807, 44593783, 44528149, 44529992, 32423767, 32558777, 44518824, 44597837, 44546263, 32564116, 44531698, 32565621, 44548413, 32569340, 32534201, 44499931, 44534496, 44543877, 32550029, 32423409, 44518599, 32459451, 44518710, 32533221, 44538740, 32481293, 32396787, 32487951, 32529339, 44517764, 32473727, 32251902, 32478565, 44480987, 41090637, 40091477, 44528374, 32538241, 44530343, 44530251, 44484260, 32560002, 44543337, 41936191, 44596646, 32511926, 32501059, 32562721, 44585880, 32552463, 44518775, 32286057, 32552368, 44531336, 32454539, 32460920, 44501579, 44544260, 44534460, 44489086, 44589814, 44592451, 44538883, 44539104, 32524626, 32557406, 32528122, 44556170, 44495776, 32474414, 32283219, 32454613, 44480533, 32396821, 44526638, 42032780, 32459330, 32499472, 44477590, 32352069, 32564797, 32510068, 39407868, 44593466, 44605301, 44593002, 44530036, 44484213, 44484326, 32501093, 44496039, 32499650, 32500945, 32500901, 32412240, 44505466, 44534431, 44501306, 44520353, 44591178, 44591403, 32481000, 32448810, 32480333, 32499406, 44592999, 32505566, 44592497, 32424547, 44585935, 44601111, 32568090, 44548396, 44501244, 44591451, 32522662, 32424509, 44505405, 41680305, 32478522, 44521824, 32248766, 44480980, 44521879, 44521536, 44521823, 44521878, 44593864, 44593080, 44605693, 44605287, 44592577, 44592914, 44588319, 44592246, 44605911, 32389577, 44520619, 32544545, 32478787, 32478759, 32478781, 32550698, 44590108, 44590089, 44493075, 44601335, 32567570, 44496042, 44544600, 44516293, 32438423, 44541724, 32552408, 32552383, 32474343, 44516271, 32375548, 44512253, 32564459, 32533902, 32460838, 44592460, 32380010, 44538338, 32266609, 44612014, 44542404, 44589181, 44589194, 32436566, 32553751, 44584444, 32427376, 32543461, 32433385, 44527807, 32481445, 44528046, 32565772, 44518789, 32567584, 32499927, 44475700, 32565379, 32565376, 44548368, 32533809, 44536090, 44527086, 32335500, 44521863, 32478544, 44584463, 44527754, 32537266, 44529738, 44602580, 44528083, 32550709, 32550707, 32501024, 44541710, 44528068, 44585830, 44601331, 32494541, 32540216, 32494518, 32500902, 32469768, 32534244, 32480504, 44501292, 32559951, 32554404, 42177738, 44593105, 32540717, 44592586, 32478782, 32550902, 32501069, 44509720, 44594194, 42126468, 44492955, 44537154, 32549976, 44492937, 32332926, 32332925, 41990524, 44521868, 32554811, 44593616, 44484537, 44593027, 44588313, 44484212, 44515299, 32510188, 44585517, 32558139, 44598810, 32562920, 32550065, 44534110, 32433030, 44548476, 44546133, 32534308, 32445052, 44541665, 32452309, 44591183, 32533768, 32472929, 32500112, 32553637, 32179037, 44528167, 44484580, 44607336, 44592987, 44593020, 44605990, 44605993, 44484131, 44520469, 44597692, 44598474, 44598475, 32566521, 32372081, 32563355, 44520537, 44520536, 44520530, 44520360, 32484471, 32423487, 32530311, 32386471, 32518645, 32547924, 32478525, 44589828, 44480716, 32435748, 32521067, 32521064, 32381321, 32521302, 44592485, 44484239, 44484229, 44605138, 44605894, 44605999, 44484196, 32527631, 44597686, 32558764, 44597698, 44585423, 32490628, 32202070, 44597469, 44544076, 44548434, 44501732, 44502499, 44552403, 44548347, 32452103, 44592191, 44508797, 32452395, 32423199, 32448506, 44519377, 32383536, 44527145, 32480211, 32560145, 42008955, 32463378, 44504628, 44504137, 32527116, 32248082, 44485434, 44626162, 44520266, 44539477, 44539464, 44542113, 32553750, 44629268, 32188257, 32522214, 32522211, 41090639, 44519833, 32558696, 44514884, 32483879, 32567178, 32445059, 44518293, 44529831, 32480478, 32497733, 32207459, 44498239, 44484617, 44527777, 42160540, 44605278, 44484367, 44484377, 32557616, 44592661, 44605885, 44605989, 32558771, 44534001, 44548366, 32564168, 32564481, 32424941, 32548697, 44537174, 44593599, 32538236, 32538634, 44518595, 32493081, 32569416, 44516178, 32478381, 32554160, 32484146, 32549898, 32567843, 32392257, 44557344, 44521481, 44593772, 44507318, 44592002, 44508291, 44591570, 44591605, 44591463, 44507370, 44525147, 32549995, 41936165, 41936171, 44527048, 32483597, 44512328, 44499854, 32528427, 32459491, 32562896, 32565509, 44516103, 44500248, 32332123, 44500141, 41989252, 32451197, 41928464, 44513599, 42069736, 41957631, 44513773, 32545998, 44475894, 32408243, 44584400, 44629166, 44521867, 42084163, 32518316, 44528152, 44484628, 44484671, 32521299, 44592938, 44592933, 44484220, 44484321, 32382835, 44549311, 32536494, 44597708, 44525155, 32449425, 44603465, 32483451, 32558652, 44493091, 44608224, 32565756, 44518306, 44597852, 32499931, 44489493, 44597812, 44534993, 32480521, 32392935, 44592148, 44534674, 44514981);
Date: 2025-02-17 10:10:18 Duration: 19ms
14 199,960 38s392ms 0ms 4ms 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 17 00 2,775 368ms 0ms 01 1,568 213ms 0ms 02 1,678 220ms 0ms 03 1,496 199ms 0ms 04 1,638 202ms 0ms 05 1,880 245ms 0ms 06 799 109ms 0ms 07 1,262 168ms 0ms 08 8,862 1s341ms 0ms 09 12,216 2s122ms 0ms 10 17,503 3s382ms 0ms 11 14,669 2s929ms 0ms 12 15,894 3s418ms 0ms 13 19,755 3s982ms 0ms 14 19,240 3s667ms 0ms 15 12,696 2s278ms 0ms 16 13,967 2s828ms 0ms 17 17,628 3s887ms 0ms 18 10,469 2s293ms 0ms 19 8,911 2s123ms 0ms 20 5,950 1s23ms 0ms 21 5,037 765ms 0ms 22 4,067 618ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1081 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_shipping_policy' AND name = 'group_confirm_payment' AND model = 'res.groups');
Date: 2025-02-17 16:25:02 Duration: 4ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1400 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-17 09:21:23 Duration: 3ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1459 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_user' AND model = 'res.groups');
Date: 2025-02-17 16:42:29 Duration: 2ms
15 186,168 1m53s 0ms 14ms 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 #15
Day Hour Count Duration Avg duration Feb 17 00 322 196ms 0ms 01 196 117ms 0ms 02 157 104ms 0ms 03 212 137ms 0ms 04 187 117ms 0ms 05 240 125ms 0ms 06 161 101ms 0ms 07 207 113ms 0ms 08 3,471 1s847ms 0ms 09 6,647 3s793ms 0ms 10 10,784 6s976ms 0ms 11 12,305 8s241ms 0ms 12 13,906 9s972ms 0ms 13 13,624 9s566ms 0ms 14 11,083 6s639ms 0ms 15 11,287 6s342ms 0ms 16 18,474 11s195ms 0ms 17 23,140 13s449ms 0ms 18 23,407 13s289ms 0ms 19 23,350 14s407ms 0ms 20 10,052 5s102ms 0ms 21 2,008 1s116ms 0ms 22 948 627ms 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 (5384996, 5384995, 5384999, 5332257, 5141201, 5416463, 5197868, 5416469, 5140875, 5186140, 5115585, 5198056, 5185836, 5384992, 5386535, 5386042, 5416483, 5257065, 5259810, 5111681, 5260721, 5251900, 5185818, 5333254, 5185823, 5257095, 5335093, 5333209, 5329449, 5332252, 5332253, 5141216, 5059663, 5259803, 5257134, 5247591, 5259636, 5185830, 5247567, 5206664, 5386512, 5259856, 5259853, 5199666, 5288370, 5333248, 5288403, 4951759, 5141207, 5335108, 5384994, 4590623, 5110027, 5186046, 5247585, 5247563, 5333249, 5335095, 5385001, 5288181);
Date: 2025-02-17 17:21:52 Duration: 14ms
-
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 (5411855, 5225884, 5092600, 5312838, 5299109, 5139480, 5221197, 5316757, 5412027, 5384627, 5403514, 5360224, 5412068, 5403508, 5403784, 5412024, 5412066, 5126797, 5285810, 5285826, 5230262, 5283405, 5285828, 5404174, 5359758, 4926754, 5403561, 5384648, 5403899, 5403402, 5359832, 5188730, 5241718, 5267310, 5360188, 5316749, 5403844, 5412030, 5411879, 5283603, 5412009, 5152379, 5256039, 5286260, 5261988, 5284600, 5255983, 5231787, 5256112, 5244615, 5272839, 5223436, 4872705, 5008270, 5257839, 5049095, 5067759, 5106469, 5165042, 5031904, 5011522, 5006222, 5084565, 5157749, 5138360, 5153698, 5012967, 4995738, 4933497, 5040779, 5127793, 5083819, 5101028, 5061622, 5037976, 4902637, 4896524, 4981002, 5100413, 5023941, 4972380, 5032347, 5052907, 4338359, 4930530, 4763906, 5040046, 4943153, 4965892, 4879499, 5005331, 4973670, 4937884, 4986229, 5005625, 4930528, 4902638, 4705941, 4916711, 4692284, 4920169, 4887199, 4855736, 4777301, 4749341, 4779342, 4918387, 4816461, 4858652, 4765557, 4612240, 4698060, 4688756, 4657351, 4751304, 4449196, 4799174, 4803061, 4798750, 4767799, 4630859, 4788381, 4644291, 4722018, 4728051, 4688880, 4728021, 4629479, 4659247, 4718834, 4693421, 4662697, 4742839, 4689259, 4659730, 4612688, 4724091, 4578218, 4625198, 4661355, 4612894, 4394321, 4590527, 4477954, 4516707, 4536817, 4436861, 4596586, 4602545, 4546948, 4614997, 4536127, 4596628, 4530623, 4522540, 4542197, 4589910, 4465838, 4498244, 4499935, 4392713, 4476877, 4520475, 4412620, 4541889, 4539756, 4502386, 4473200, 4512568, 4436832, 4498388, 4289973, 4149127, 4519743, 4512529);
Date: 2025-02-17 17:22:34 Duration: 12ms
-
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 (4945584, 5408373, 5421977, 5422094, 5418962, 5386994, 5381704, 5404491, 5393964, 5397209, 5255382, 5202071, 5358817, 5254457, 5341856, 5373345, 5386737, 5422088, 5386992, 5381437, 5422068, 5422063, 5316749, 5368463, 5405655, 5350998, 5401282, 5418923, 5404474, 5404613, 5401107, 5376582, 5356057, 5387801, 5381421, 5383619, 5405204, 5357834, 5395733, 5404459, 5391728, 5379827, 5408019, 5333659, 5397637, 5405344, 5409015, 5401099, 5391726, 5386867, 5421996, 5383653, 5422046, 5390913, 5418963, 5419382, 5389599, 5418684, 5389931, 5418845, 5415319, 5354290, 5371622, 5400971, 5421017, 5418747, 5413434, 5418579, 5413736, 5360105, 5418739, 5418687, 5379137, 5243848, 5415047, 5367806, 5366787, 5399435, 5418855, 5418726, 5412554, 5383679, 5354853, 5262507, 5414558, 5284522, 5376391, 5333475, 5197922, 5418737, 5400743, 5404359, 5412584, 5369248, 5388977, 5413395, 5396782, 5397938, 5412883, 5408908, 5395058, 5407727, 5401285, 5410469, 5171875, 5344454, 5411224, 5413408, 5344489, 5398865, 5418527, 5417550, 5328987, 5396276, 5403866, 5399807, 5418588, 5418691, 5411086, 5417565, 5418848, 5417576, 5418647, 5394163, 5394177, 5319913, 5416591, 5368267, 5397953, 5400685, 5373270, 5417560, 5403904, 5338253, 5418730, 5376303, 5345145, 5396196, 5379138, 5408646, 5418703, 5403799, 5066498, 5418715, 5283603, 5354304, 5318353, 5418877, 5357602, 5413323, 5395112, 5243003, 5379164, 5394915, 5397807, 5398349, 5405967, 5369540, 5417559, 5397951, 5408188, 5410456, 5416656, 5421012, 5323296, 5341891, 5408867, 5317838, 5356802, 5363555, 5417554, 5311780, 5430658, 5407596, 5091492, 5404561, 5398767, 5415041, 5418537, 5384100, 5414131, 5416267, 5395356, 5425137, 5398324, 5368040, 5416011, 5416197, 5398307, 5324515, 5376351, 5404604, 5411915, 5409332, 5371592, 5421013, 5355101, 5412941);
Date: 2025-02-17 17:22:01 Duration: 11ms
16 177,635 20s505ms 0ms 3ms 0ms select "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" from "notebook_package" where "notebook_package".id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 17 00 2,016 155ms 0ms 01 1,424 114ms 0ms 02 1,138 99ms 0ms 03 1,602 141ms 0ms 04 1,190 103ms 0ms 05 1,233 112ms 0ms 06 1,522 125ms 0ms 07 681 53ms 0ms 08 3,494 342ms 0ms 09 9,424 1s3ms 0ms 10 17,397 2s397ms 0ms 11 19,350 1s829ms 0ms 12 19,965 2s293ms 0ms 13 17,585 2s14ms 0ms 14 14,133 1s532ms 0ms 15 12,842 1s517ms 0ms 16 13,472 1s325ms 0ms 17 12,482 1s385ms 0ms 18 8,858 1s327ms 0ms 19 7,546 1s663ms 0ms 20 4,758 570ms 0ms 21 3,772 268ms 0ms 22 1,751 127ms 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-17 11:15:04 Duration: 3ms
-
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-17 11:49:04 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-17 10:04:40 Duration: 1ms
17 160,537 2h51m5s 40ms 406ms 63ms 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 17 00 3,004 2m46s 55ms 01 1,962 1m48s 55ms 02 2,562 2m21s 55ms 03 3,448 3m12s 55ms 04 2,522 2m20s 55ms 05 1,313 1m13s 55ms 06 1,888 1m45s 55ms 07 1,265 1m10s 55ms 08 3,013 3m2s 60ms 09 9,718 9m49s 60ms 10 12,829 14m37s 68ms 11 13,897 16m10s 69ms 12 17,788 21m4s 71ms 13 14,501 15m55s 65ms 14 10,637 10m46s 60ms 15 9,568 9m46s 61ms 16 9,039 10m13s 67ms 17 6,737 7m10s 63ms 18 8,786 9m36s 65ms 19 11,885 13m51s 69ms 20 6,141 5m32s 54ms 21 5,059 4m21s 51ms 22 2,975 2m28s 49ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5442766, 5439397, 5439347, 5430548)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-17 19:01:54 Duration: 406ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5418987, 5407900, 5396336, 5396236)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-17 11:48:36 Duration: 391ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5090974, 5086219, 4458423, 4408172)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-17 19:44:38 Duration: 384ms
18 152,604 15h37m39s 263ms 2s708ms 368ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 17 00 1,866 9m2s 290ms 01 1,729 8m18s 288ms 02 2,620 12m35s 288ms 03 2,779 13m29s 291ms 04 2,394 11m30s 288ms 05 3,475 16m42s 288ms 06 2,000 9m37s 288ms 07 1,008 4m48s 286ms 08 5,544 29m28s 319ms 09 7,025 38m6s 325ms 10 10,631 1h4m22s 363ms 11 8,338 53m19s 383ms 12 9,991 1h3m17s 380ms 13 7,775 46m22s 357ms 14 7,898 43m25s 329ms 15 8,195 45m6s 330ms 16 20,145 2h21m17s 420ms 17 23,321 2h36m34s 402ms 18 10,594 1h7m9s 380ms 19 8,719 1h9m3s 475ms 20 5,819 30m27s 313ms 21 272 1m19s 292ms 22 466 2m15s 291ms -
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" = '400709')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 18:59:28 Duration: 2s708ms
-
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" = '400709')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 18:59:26 Duration: 2s696ms
-
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" = '380658')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 19:00:44 Duration: 2s654ms
19 134,489 48s878ms 0ms 4ms 0ms select "price_list".id from "price_list" where (("price_list"."from_office_id" = ?) and ("price_list"."to_office_id" = ?)) order by "price_list"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 17 00 4,353 1s438ms 0ms 01 5,388 1s695ms 0ms 02 6,416 2s111ms 0ms 03 8,296 2s657ms 0ms 04 4,228 1s489ms 0ms 05 2,046 973ms 0ms 06 6,395 2s74ms 0ms 07 2,225 751ms 0ms 08 1,858 690ms 0ms 09 365 167ms 0ms 10 2,275 1s264ms 0ms 11 2,045 1s10ms 0ms 12 2,295 1s111ms 0ms 13 1,048 425ms 0ms 14 2,030 763ms 0ms 15 3,485 1s201ms 0ms 16 5,252 2s152ms 0ms 17 9,689 3s731ms 0ms 18 12,999 5s192ms 0ms 19 18,153 8s173ms 0ms 20 11,849 3s647ms 0ms 21 12,452 3s560ms 0ms 22 9,347 2s593ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 6) AND ("price_list"."to_office_id" = 2)) ORDER BY "price_list"."id";
Date: 2025-02-17 17:34:04 Duration: 4ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 52) AND ("price_list"."to_office_id" = 76)) ORDER BY "price_list"."id";
Date: 2025-02-17 19:31:59 Duration: 3ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 19) AND ("price_list"."to_office_id" = 64)) ORDER BY "price_list"."id";
Date: 2025-02-17 15:46:07 Duration: 2ms
20 124,474 15s205ms 0ms 20ms 0ms insert into "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) returning "id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 17 00 2,798 224ms 0ms 01 1,938 161ms 0ms 02 2,738 206ms 0ms 03 2,886 224ms 0ms 04 2,819 220ms 0ms 05 812 64ms 0ms 06 1,958 189ms 0ms 07 1,158 98ms 0ms 08 2,351 271ms 0ms 09 7,874 776ms 0ms 10 8,541 1s138ms 0ms 11 9,851 1s413ms 0ms 12 11,662 1s669ms 0ms 13 10,140 1s302ms 0ms 14 8,092 941ms 0ms 15 6,939 777ms 0ms 16 7,001 949ms 0ms 17 5,430 815ms 0ms 18 7,236 1s71ms 0ms 19 9,726 1s519ms 0ms 20 5,285 532ms 0ms 21 4,467 408ms 0ms 22 2,772 229ms 0ms -
INSERT INTO "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") VALUES ('2025-02-17 13:46:38.835248', 1079, 7312, 'الحالة', 'selection', 41307318, ' مؤرشفة', 'تم استلام العميل', 100, '2025-02-17 13:46:38.835248', 1079) RETURNING "id";
Date: 2025-02-17 14:51:20 Duration: 20ms
-
INSERT INTO "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") VALUES ('2025-02-17 05:57:57.555391', 1447, 7312, 'الحالة', 'selection', 41186312, 'تم التوصيل', 'جاري التوصيل ', 100, '2025-02-17 05:57:57.555391', 1447) RETURNING "id";
Date: 2025-02-17 06:59:16 Duration: 19ms
-
INSERT INTO "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") VALUES ('2025-02-17 05:57:57.555391', 1447, 7312, 'الحالة', 'selection', 41186230, 'تم التوصيل', 'جاري التوصيل ', 100, '2025-02-17 05:57:57.555391', 1447) RETURNING "id";
Date: 2025-02-17 06:59:15 Duration: 14ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 146ms 2m19s 39s749ms 37 24m30s select "policy_number".id from "policy_number" where (("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 17 01 5 4s656ms 931ms 04 6 2s295ms 382ms 08 2 304ms 152ms 09 1 1m47s 1m47s 12 1 2m8s 2m8s 14 3 3m48s 1m16s 16 5 6m30s 1m18s 17 3 4m14s 1m24s 18 5 5m50s 1m10s 20 6 4s299ms 716ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 12, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-17 16:48:23 Duration: 2m19s
-
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-17 16:23:28 Duration: 2m8s
-
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-17 12:07:23 Duration: 2m8s
2 767ms 8s752ms 3s726ms 298 18m30s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 17 01 26 1m19s 3s62ms 09 3 10s953ms 3s651ms 10 33 1m59s 3s624ms 11 5 21s935ms 4s387ms 13 23 1m29s 3s878ms 14 6 20s264ms 3s377ms 15 23 1m21s 3s533ms 16 24 1m28s 3s683ms 17 63 4m14s 4s38ms 18 15 1m1s 4s75ms 19 24 1m49s 4s571ms 20 25 1m27s 3s509ms 21 13 40s964ms 3s151ms 22 15 45s207ms 3s13ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))))) AND ("policy_number"."name"::text ilike '%545000%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-17 19:43:21 Duration: 8s752ms
-
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 (77))))))) 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 (77)))))) 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 (77)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) 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 (77))))))))) 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 (77)))))))) AND ("policy_number"."name"::text ilike '%5624%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-17 17:46:51 Duration: 7s592ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))))))) AND ("policy_number"."name"::text ilike '%545%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-17 19:43:18 Duration: 7s61ms
3 106ms 5s497ms 1s493ms 2,507 1h2m24s select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 17 00 12 3s56ms 254ms 02 1 2s189ms 2s189ms 07 3 3s644ms 1s214ms 08 36 18s846ms 523ms 09 92 1m49s 1s185ms 10 219 5m43s 1s569ms 11 288 7m46s 1s621ms 12 350 9m29s 1s626ms 13 305 8m3s 1s586ms 14 275 6m49s 1s487ms 15 202 4m37s 1s373ms 16 186 4m26s 1s434ms 17 286 5m31s 1s160ms 18 104 3m23s 1s956ms 19 50 1m48s 2s168ms 20 36 1m4s 1s780ms 21 30 36s291ms 1s209ms 22 32 46s153ms 1s442ms -
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-17 11:48:22 Duration: 5s497ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-17 11:48:29 Duration: 4s632ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (53)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (53))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-17 12:58:37 Duration: 4s543ms
4 821ms 3s4ms 1s176ms 16,694 5h27m13s 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 17 00 730 12m27s 1s24ms 01 177 2m57s 1s 02 1,045 18m17s 1s50ms 03 1,493 25m56s 1s42ms 04 644 11m20s 1s57ms 06 1,161 19m51s 1s25ms 07 373 6m22s 1s25ms 08 279 4m43s 1s16ms 09 40 51s506ms 1s287ms 10 143 3m 1s260ms 11 249 4m56s 1s190ms 12 235 5m5s 1s300ms 13 69 1m26s 1s250ms 14 73 1m34s 1s299ms 15 409 7m43s 1s132ms 16 502 11m2s 1s319ms 17 1,229 25m49s 1s261ms 18 1,474 32m34s 1s325ms 19 2,398 59m28s 1s487ms 20 1,465 27m32s 1s128ms 21 1,261 22m44s 1s81ms 22 1,245 21m26s 1s33ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1009')) 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-17 19:00:47 Duration: 3s4ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '387827')) 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-17 19:48:30 Duration: 2s986ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '388891')) 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-17 19:45:15 Duration: 2s952ms
5 830ms 2s940ms 1s115ms 12,422 3h50m51s 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 17 00 23 23s193ms 1s8ms 01 817 13m45s 1s10ms 02 38 33s420ms 879ms 03 113 1m58s 1s47ms 04 1 933ms 933ms 08 17 15s767ms 927ms 10 16 16s883ms 1s55ms 11 40 42s633ms 1s65ms 12 122 2m21s 1s160ms 13 134 2m18s 1s29ms 14 318 5m41s 1s74ms 15 411 7m40s 1s120ms 16 780 15m27s 1s189ms 17 1,209 23m7s 1s147ms 18 1,749 34m19s 1s177ms 19 2,150 46m35s 1s300ms 20 1,526 26m5s 1s25ms 21 1,874 31m59s 1s24ms 22 1,084 17m18s 957ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '356195')) 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 (77))))))) 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 (77)))))) 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 (77)))))) 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 (77))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-17 19:48:19 Duration: 2s940ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '364898')) 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-17 19:43:13 Duration: 2s886ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '364894')) 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-17 19:43:18 Duration: 2s845ms
6 579ms 6s559ms 802ms 46,834 10h26m9s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 17 00 202 2m22s 705ms 01 156 1m50s 705ms 02 129 1m35s 738ms 03 214 2m33s 717ms 04 168 2m3s 733ms 05 179 2m5s 699ms 06 106 1m17s 734ms 07 176 1m59s 677ms 08 901 10m51s 723ms 09 2,805 33m22s 714ms 10 3,647 49m7s 808ms 11 4,670 1h7m22s 865ms 12 4,400 1h3m57s 872ms 13 5,035 1h6m39s 794ms 14 3,499 41m59s 720ms 15 3,483 41m49s 720ms 16 3,274 46m24s 850ms 17 2,790 37m6s 797ms 18 3,510 49m2s 838ms 19 4,156 1h4m51s 936ms 20 1,660 19m23s 700ms 21 1,280 14m5s 660ms 22 394 4m17s 654ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5449630, 5424972, 5424946, 5424914, 5414429, 5397188, 5324120, 5269404)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 19:43:49 Duration: 6s559ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5400202, 5402931, 5408432, 5409713, 5413860, 5419347, 5419696, 5412023, 5420017, 5432149, 5354045, 5439866, 5363585, 5437281, 5437269, 5441553, 5441393, 5442512, 5444021, 5435888, 5440202, 5436692, 4419490)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 11:48:23 Duration: 6s243ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5407908, 5399013, 5418920, 4776511, 5392322, 5399248, 5399024, 5411707, 5412085, 5417875, 5426701, 5426747, 5428426, 5428921, 5428891, 5431185, 5435002, 5436220, 5436489, 5438591, 5441166, 5442557, 5441492, 5442656, 5443390, 5443669, 5436466, 5436472, 5444218, 5446833, 5436080, 5438435, 5450407, 5451199, 5451202, 5451212, 5426590, 5433040, 5440367, 5455514, 5447255, 5447495)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 19:42:18 Duration: 5s928ms
7 578ms 6s840ms 759ms 283,862 2d11h55m28s select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 17 00 6,408 1h7m36s 633ms 01 5,790 1h1m36s 638ms 02 7,866 1h23m11s 634ms 03 8,901 1h35m55s 646ms 04 6,566 1h9m27s 634ms 05 5,306 54m40s 618ms 06 6,532 1h9m47s 641ms 07 3,023 31m48s 631ms 08 4,976 57m21s 691ms 09 12,151 2h20m2s 691ms 10 17,186 3h43m52s 781ms 11 18,400 4h6m33s 803ms 12 21,252 4h48m44s 815ms 13 16,549 3h29m18s 758ms 14 13,206 2h34m27s 701ms 15 11,933 2h20m45s 707ms 16 14,344 3h10m45s 797ms 17 15,476 3h22m14s 784ms 18 26,812 6h16m58s 843ms 19 31,214 8h6m31s 935ms 20 15,454 2h59m5s 695ms 21 8,924 1h41m50s 684ms 22 5,593 1h2m53s 674ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5464547)) AND (("shipping_track"."id" not in (45387333, 45387333)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 18:59:30 Duration: 6s840ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5464658)) AND (("shipping_track"."id" not in (45388561, 45388561)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 19:01:16 Duration: 6s795ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5465006)) AND (("shipping_track"."id" not in (45391343, 45391343)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-17 19:05:15 Duration: 6s771ms
8 441ms 2s100ms 639ms 2,863 30m32s select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 17 08 509 4m48s 566ms 09 652 6m50s 629ms 10 521 5m22s 619ms 11 767 8m42s 681ms 12 37 32s723ms 884ms 15 21 13s938ms 663ms 18 356 4m 676ms -
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" = '316784')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-17 11:16:24 Duration: 2s100ms
-
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" = '42248')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-17 12:49:00 Duration: 1s317ms
-
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" = '432059')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-17 11:16:07 Duration: 1s206ms
9 290ms 3s69ms 452ms 29,385 3h41m34s select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 17 08 1,900 13m12s 416ms 09 2,818 19m34s 416ms 10 3,121 23m41s 455ms 11 3,127 26m11s 502ms 12 4,685 37m14s 476ms 13 4,042 30m33s 453ms 14 3,065 21m59s 430ms 15 3,734 26m22s 423ms 16 2,465 19m47s 481ms 17 428 2m56s 412ms -
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" = '418446')))) 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-17 11:48:37 Duration: 3s69ms
-
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" = '447456')))) 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-17 11:48:40 Duration: 3s31ms
-
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" = '425384')))) 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-17 11:48:34 Duration: 3s29ms
10 263ms 2s708ms 368ms 152,604 15h37m39s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 17 00 1,866 9m2s 290ms 01 1,729 8m18s 288ms 02 2,620 12m35s 288ms 03 2,779 13m29s 291ms 04 2,394 11m30s 288ms 05 3,475 16m42s 288ms 06 2,000 9m37s 288ms 07 1,008 4m48s 286ms 08 5,544 29m28s 319ms 09 7,025 38m6s 325ms 10 10,631 1h4m22s 363ms 11 8,338 53m19s 383ms 12 9,991 1h3m17s 380ms 13 7,775 46m22s 357ms 14 7,898 43m25s 329ms 15 8,195 45m6s 330ms 16 20,145 2h21m17s 420ms 17 23,321 2h36m34s 402ms 18 10,594 1h7m9s 380ms 19 8,719 1h9m3s 475ms 20 5,819 30m27s 313ms 21 272 1m19s 292ms 22 466 2m15s 291ms -
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" = '400709')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 18:59:28 Duration: 2s708ms
-
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" = '400709')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 18:59:26 Duration: 2s696ms
-
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" = '380658')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 19:00:44 Duration: 2s654ms
11 267ms 2s599ms 341ms 14,767 1h24m6s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 17 00 143 41s571ms 290ms 01 18 5s189ms 288ms 02 123 35s148ms 285ms 03 298 1m27s 293ms 04 44 12s713ms 288ms 05 363 1m44s 288ms 06 979 4m43s 289ms 07 597 2m51s 287ms 08 950 4m34s 288ms 09 996 5m18s 319ms 10 2,404 14m57s 373ms 11 1,349 8m12s 365ms 12 1,082 6m51s 379ms 13 820 5m 366ms 14 1,225 6m46s 332ms 15 572 2m59s 314ms 16 437 3m14s 445ms 17 305 1m49s 359ms 18 381 2m24s 379ms 19 460 3m22s 440ms 20 585 3m5s 316ms 21 272 1m19s 292ms 22 364 1m46s 292ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '380658')) 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-17 19:00:41 Duration: 2s599ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '415326')) 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-17 19:00:53 Duration: 2s555ms
-
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" = '514858')) 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-17 19:00:58 Duration: 2s506ms
12 268ms 919ms 335ms 3,456 19m18s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 17 00 104 30s355ms 291ms 05 222 1m3s 286ms 06 627 3m1s 289ms 07 106 30s139ms 284ms 08 97 27s954ms 288ms 09 109 39s548ms 362ms 10 1,807 10m48s 358ms 11 384 2m16s 354ms -
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" = '421603')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 10:24:00 Duration: 919ms
-
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" = '513878')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 10:25:28 Duration: 570ms
-
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" = '376182')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 10:32:44 Duration: 548ms
13 91ms 1s57ms 260ms 57,479 4h9m33s 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 #13
Day Hour Count Duration Avg duration Feb 17 00 1,488 6m6s 246ms 01 1,974 7m7s 216ms 02 2,138 7m40s 215ms 03 3,156 11m11s 212ms 04 1,262 4m31s 214ms 06 2,306 8m33s 222ms 07 742 2m51s 231ms 08 582 2m7s 219ms 09 78 15s169ms 194ms 10 310 1m35s 307ms 11 562 2m40s 286ms 12 688 3m22s 293ms 13 396 1m17s 195ms 14 766 3m26s 269ms 15 1,600 6m11s 232ms 16 2,518 12m23s 295ms 17 4,811 22m48s 284ms 18 6,384 31m15s 293ms 19 8,983 49m30s 330ms 20 5,917 23m32s 238ms 21 6,206 23m7s 223ms 22 4,612 17m57s 233ms -
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-17 16:26:34 Duration: 1s57ms
-
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-17 16:26:34 Duration: 1s57ms
-
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-17 19:46:04 Duration: 1s51ms
14 122ms 1s216ms 200ms 6,097 20m22s 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 #14
Day Hour Count Duration Avg duration Feb 17 00 17 2s487ms 146ms 01 10 1s440ms 144ms 07 6 875ms 145ms 08 80 12s226ms 152ms 09 401 1m5s 162ms 10 1,290 4m20s 202ms 11 1,171 4m22s 223ms 12 947 3m30s 221ms 13 631 2m1s 192ms 14 442 1m13s 166ms 15 313 52s771ms 168ms 16 197 45s983ms 233ms 17 228 46s937ms 205ms 18 97 17s690ms 182ms 19 83 22s51ms 265ms 20 105 15s825ms 150ms 21 47 6s486ms 138ms 22 32 4s295ms 134ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 64)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-17 11:15:44 Duration: 1s216ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 5)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-17 11:19:22 Duration: 1s209ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 64)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-17 11:48:14 Duration: 1s204ms
15 152ms 240ms 188ms 13,308 41m51s 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 17 00 1,489 4m39s 187ms 01 1,649 5m5s 185ms 02 2,181 6m49s 187ms 03 2,411 7m47s 193ms 04 2,192 6m57s 190ms 05 2,641 8m13s 186ms 06 338 1m3s 188ms 07 305 55s876ms 183ms 22 102 17s868ms 175ms -
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" = '356412')) 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-17 03:43:05 Duration: 240ms
-
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" = '430280')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 04:02:20 Duration: 233ms
-
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" = '548578')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-17 03:56:38 Duration: 232ms
16 103ms 942ms 147ms 21,138 52m4s 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 #16
Day Hour Count Duration Avg duration Feb 17 00 69 7s926ms 114ms 03 10 1s265ms 126ms 08 146 21s608ms 148ms 09 907 1m58s 130ms 10 1,781 4m22s 147ms 11 2,780 6m55s 149ms 12 2,248 5m58s 159ms 13 2,076 5m14s 151ms 14 2,677 6m4s 136ms 15 2,402 5m26s 136ms 16 1,615 4m9s 154ms 17 1,605 4m4s 152ms 18 1,314 3m22s 154ms 19 721 2m15s 188ms 20 338 45s786ms 135ms 21 282 34s819ms 123ms 22 167 20s396ms 122ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8159080)) AND (("cash_track"."id" not in (8225968)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-17 13:00:16 Duration: 942ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8159066)) AND (("cash_track"."id" not in (8225919)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-17 12:59:55 Duration: 927ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8159043)) AND (("cash_track"."id" not in (8225840)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-17 12:59:08 Duration: 927ms
17 47ms 397ms 69ms 59,496 1h8m55s 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 #17
Day Hour Count Duration Avg duration Feb 17 08 2,022 2m19s 68ms 09 6,037 6m34s 65ms 10 5,179 6m10s 71ms 11 4,908 5m51s 71ms 12 8,830 10m44s 72ms 13 10,665 12m26s 69ms 14 7,461 8m6s 65ms 15 6,459 7m5s 65ms 16 6,311 7m29s 71ms 17 1,349 1m41s 75ms 18 151 15s796ms 104ms 19 87 8s303ms 95ms 20 32 2s482ms 77ms 21 5 363ms 72ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5427869) 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-17 16:33:45 Duration: 397ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5403917) AND ("collection_policy"."state" = 'confirm')) 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-17 11:19:28 Duration: 394ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5439284) AND ("collection_policy"."state" = 'confirm')) 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-17 18:49:15 Duration: 385ms
18 43ms 312ms 65ms 29,445 31m57s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 17 08 1,300 1m21s 62ms 09 3,125 3m4s 59ms 10 2,590 2m45s 64ms 11 2,539 2m45s 65ms 12 4,260 4m49s 68ms 13 5,405 6m6s 67ms 14 2,871 2m56s 61ms 15 3,127 3m8s 60ms 16 3,591 4m16s 71ms 17 637 41s860ms 65ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5368376) ORDER BY "collection_policy"."id";
Date: 2025-02-17 11:16:14 Duration: 312ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5355763) ORDER BY "collection_policy"."id";
Date: 2025-02-17 16:31:57 Duration: 308ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5357953) ORDER BY "collection_policy"."id";
Date: 2025-02-17 12:59:57 Duration: 299ms
19 40ms 406ms 63ms 160,537 2h51m5s 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 #19
Day Hour Count Duration Avg duration Feb 17 00 3,004 2m46s 55ms 01 1,962 1m48s 55ms 02 2,562 2m21s 55ms 03 3,448 3m12s 55ms 04 2,522 2m20s 55ms 05 1,313 1m13s 55ms 06 1,888 1m45s 55ms 07 1,265 1m10s 55ms 08 3,013 3m2s 60ms 09 9,718 9m49s 60ms 10 12,829 14m37s 68ms 11 13,897 16m10s 69ms 12 17,788 21m4s 71ms 13 14,501 15m55s 65ms 14 10,637 10m46s 60ms 15 9,568 9m46s 61ms 16 9,039 10m13s 67ms 17 6,737 7m10s 63ms 18 8,786 9m36s 65ms 19 11,885 13m51s 69ms 20 6,141 5m32s 54ms 21 5,059 4m21s 51ms 22 2,975 2m28s 49ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5442766, 5439397, 5439347, 5430548)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-17 19:01:54 Duration: 406ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5418987, 5407900, 5396336, 5396236)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-17 11:48:36 Duration: 391ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5090974, 5086219, 4458423, 4408172)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-17 19:44:38 Duration: 384ms
20 0ms 2m18s 10ms 88,365 15m48s update shipping_policy set count_search = ? where id = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 17 00 1,512 454ms 0ms 01 1,563 430ms 0ms 02 2,282 569ms 0ms 03 2,377 626ms 0ms 04 1,751 448ms 0ms 05 2,641 637ms 0ms 06 1,175 271ms 0ms 07 750 174ms 0ms 08 3,186 936ms 0ms 09 4,084 1s286ms 0ms 10 7,394 20s327ms 2ms 11 5,026 8s156ms 1ms 12 5,550 1s979ms 0ms 13 4,317 1s441ms 0ms 14 4,597 1s251ms 0ms 15 4,380 1s209ms 0ms 16 10,440 10m 57ms 17 11,998 2m29s 12ms 18 5,508 2m33s 27ms 19 4,532 2s649ms 0ms 20 2,878 1s108ms 0ms 21 240 148ms 0ms 22 184 94ms 0ms -
update shipping_policy set count_search = 5 where id = 5395077;
Date: 2025-02-17 16:33:14 Duration: 2m18s
-
update shipping_policy set count_search = 3 where id = 5376854;
Date: 2025-02-17 16:27:43 Duration: 1m53s
-
update shipping_policy set count_search = 3 where id = 5419980;
Date: 2025-02-17 18:26:51 Duration: 1m49s
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,006,654 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 246 FATAL entries
- 376 ERROR entries
- 0 WARNING entries
- 3 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 331 Max number of times the same event was reported
- 625 Total events found
Rank Times reported Error 1 331 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 17 00 4 01 2 02 1 03 3 04 3 05 6 06 2 07 1 08 2 09 5 10 18 11 20 12 8 13 8 14 12 15 14 16 62 17 41 18 58 19 47 20 11 21 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 count_search=2 where id=5436982
Date: 2025-02-17 00:02:03
Statement: update shipping_policy set count_search=2 where id=5444702
Date: 2025-02-17 00:33:05
Statement: UPDATE "shipping_policy" SET "destination_type" = 'warehouse', "last_action" = '2025-02-16', "last_car" = 13, "last_driver" = 8007152, "last_office" = NULL, "last_office_warehouse" = 17, "last_warehouse" = 15, "state" = 'in_way', "write_date" = '2025-02-16 23:37:23.943958', "write_uid" = 1088 WHERE id IN (5448479, 5446832, 5446828, 5446824, 5446820, 5446816, 5446812, 5446808, 5446804, 5446800, 5446797, 5446793, 5446789, 5446785, 5446781, 5446777, 5446773, 5446769, 5446765, 5446761, 5446757, 5446754, 5446748, 5446744, 5446740, 5446736, 5446733, 5446729, 5446724, 5446719, 5446713, 5446707, 5446702, 5446697, 5446693, 5446688, 5446683, 5446677, 5446672, 5446667, 5446661, 5446656, 5446650, 5430170, 5430169, 5430167, 5430163, 5430159, 5430153, 5430149)
Date: 2025-02-17 00:37:58
2 152 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 17 17 152 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-02-17 17:20:01
Statement: 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 (119)))) OR ("cash_policy"."to_office" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119))))) 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-17 17:20:01
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '469190')) 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 (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"."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))))))))) ORDER BY "policy_number"."id"
Date: 2025-02-17 17:20:01
3 44 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Feb 17 09 44 - FATAL: password authentication failed for user "postgres"
- FATAL: password authentication failed for user "root"
- FATAL: password authentication failed for user "admin"
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-17 09:17:53
Detail: Role "root" does not exist. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-02-17 09:18:39
Detail: Role "admin" does not exist. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-02-17 09:18:50
4 18 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #4
Day Hour Count Feb 17 17 18 5 12 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #5
Day Hour Count Feb 17 17 12 - 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-17 17:20:01
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5454853)) AND (("shipping_track"."id" not in (45212431, 45212595, 45350619, 45350619)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-02-17 17:20:01
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5459713)) AND (("shipping_track"."id" not in (45349794, 45350368, 45350618, 45350618)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-02-17 17:20:01
6 11 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #6
Day Hour Count Feb 17 10 2 11 3 16 3 17 2 19 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 4339 waits for ShareLock on transaction 9434596; blocked by process 98498. Process 98498 waits for ShareLock on transaction 9434557; blocked by process 4339. Process 4339: update shipping_policy set count_search=3 where id=5422415 Process 98498: update shipping_policy set count_search=4 where id=5420786
Context: while updating tuple (49788,55) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=3 where id=5422415Date: 2025-02-17 10:24:45
Detail: Process 4487 waits for ShareLock on transaction 9436392; blocked by process 4507. Process 4507 waits for ShareLock on transaction 9436371; blocked by process 4487. Process 4487: update shipping_policy set count_search=5 where id=5422415 Process 4507: update shipping_policy set count_search=6 where id=5420786
Context: while updating tuple (49788,61) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=5 where id=5422415Date: 2025-02-17 10:43:12
Detail: Process 75198 waits for ShareLock on transaction 9437773; blocked by process 4507. Process 4507 waits for ShareLock on transaction 9437743; blocked by process 75198. Process 75198: update shipping_policy set count_search=8 where id=5422415 Process 4507: update shipping_policy set count_search=9 where id=5420786
Context: while updating tuple (49788,62) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=8 where id=5422415Date: 2025-02-17 11:00:21
7 9 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Feb 17 16 9 - ERROR: duplicate key value violates unique constraint "ir_filters_name_model_uid_unique_action_index"
- ERROR: duplicate key value violates unique constraint "ir_filters_name_model_uid_unique_action_index"
- ERROR: duplicate key value violates unique constraint "ir_filters_name_model_uid_unique_action_index"
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(shipping.policy, -1, -1, لاغى الزقازيق) already exists.
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2025-02-17 15:12:50.925626', 1078, '[(''state'', ''!='', ''cancel''), (''id'', ''in'', [4460737, 5401022, 4460735, 5401007, 4717545, 4717546, 5400998, 5401014, 5049557, 5400987, 5400988, 4717539, 4720610, 4720611, 5401001, 5400991, 5400999, 4290524, 5401003, 5400996, 5401009, 5049556, 5049552, 5401018, 5049548, 5049551, 5401028, 5049550, 5400989, 5401005, 5400992, 4460736, 4717543, 5401011, 4919003, 5401020, 4978462, 5400995, 5401033, 5400985, 4717544, 4688089, 4717542, 5400990, 5400997, 5401024, 5401026, 5401031, 5049555, 5401016, 4717541, 4720612, 5049553, 5400993, 5400994, 5049554, 5400986])]', 'shipping.policy', 'لاغى الزقازيق', '[]', '2025-02-17 15:12:50.925626', 1078) RETURNING "id"Date: 2025-02-17 16:12:50
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(shipping.policy, -1, -1, لاغى الزقازيق) already exists.
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2025-02-17 15:12:52.780806', 1078, '[(''state'', ''!='', ''cancel''), (''id'', ''in'', [4460737, 5401022, 4460735, 5401007, 4717545, 4717546, 5400998, 5401014, 5049557, 5400987, 5400988, 4717539, 4720610, 4720611, 5401001, 5400991, 5400999, 4290524, 5401003, 5400996, 5401009, 5049556, 5049552, 5401018, 5049548, 5049551, 5401028, 5049550, 5400989, 5401005, 5400992, 4460736, 4717543, 5401011, 4919003, 5401020, 4978462, 5400995, 5401033, 5400985, 4717544, 4688089, 4717542, 5400990, 5400997, 5401024, 5401026, 5401031, 5049555, 5401016, 4717541, 4720612, 5049553, 5400993, 5400994, 5049554, 5400986])]', 'shipping.policy', 'لاغى الزقازيق', '[]', '2025-02-17 15:12:52.780806', 1078) RETURNING "id"Date: 2025-02-17 16:12:52
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(shipping.policy, -1, -1, لاغى الزقازيق) already exists.
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2025-02-17 15:17:14.228325', 1078, '[(''state'', ''!='', ''cancel''), (''id'', ''in'', [4460737, 4717545, 4717546, 5401014, 4720612, 5401026, 5049553, 5049557, 5400987, 5400988, 5400991, 5400995, 4717544, 4688089, 4717542, 5049556, 5049552, 5401020, 5049548, 5049551, 5049550, 4717539, 4720610, 4720611, 5401001, 5400999, 5401033, 4717541, 5049555, 5401028, 5400986, 5400989, 5401005, 5400992, 4460736, 5400996, 5401009, 5400998, 5400997, 5401024, 4919003, 5401031, 5400993, 5400994, 5049554, 5401016, 4978462, 4290524, 5401003, 5400985, 5401022, 4460735, 5401007, 5400990, 4717543, 4717540, 5401011, 5401018])]', 'shipping.policy', 'لاغى الزقازيق', '[]', '2025-02-17 15:17:14.228325', 1078) RETURNING "id"Date: 2025-02-17 16:17:53
8 8 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #8
Day Hour Count Feb 17 10 1 11 2 12 3 13 1 20 1 - ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (172809)
Date: 2025-02-17 10:42:43
Statement: DELETE FROM "delegate_track" WHERE id IN (172553)
Date: 2025-02-17 11:27:50
Statement: DELETE FROM "delegate_track" WHERE id IN (172913)
Date: 2025-02-17 11:56:07
9 6 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Feb 17 00 4 13 1 14 1 - ERROR: syntax error at or near ")" at character 162
- ERROR: syntax error at or near ")" at character 162
- ERROR: syntax error at or near ")" at character 162
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('167250',)
Date: 2025-02-17 00:30:04
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('142551',)
Date: 2025-02-17 00:32:17
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('401911',)
Date: 2025-02-17 13:22:29
10 6 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #10
Day Hour Count Feb 17 12 1 15 2 22 3 11 5 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #11
Day Hour Count Feb 17 10 2 11 1 12 1 17 1 - ERROR: null value in column "name" of relation "urgent_car" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (947, null, null, 1092, 1092, 953, null, null, 2025-02-17 09:40:19.573525, 2025-02-17 09:40:19.573525).
Statement: INSERT INTO "urgent_car" ("car_no", "create_date", "create_uid", "write_date", "write_uid") VALUES ('953', '2025-02-17 09:40:19.573525', 1092, '2025-02-17 09:40:19.573525', 1092) RETURNING "id"Date: 2025-02-17 10:40:19
Detail: Failing row contains (5520579, null, 827, 827, null, abc, null, null, t, 2025-02-17 09:48:17.452551, 2025-02-17 09:48:17.452551, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-17 09:48:17.452551', 827, 'abc', '2025-02-17 09:48:17.452551', 827) RETURNING "id"Date: 2025-02-17 10:48:17
Detail: Failing row contains (5520589, null, 827, 827, null, عالم سمسم, null, null, t, 2025-02-17 10:37:50.983099, 2025-02-17 10:37:50.983099, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-17 10:37:50.983099', 827, 'عالم سمسم', '2025-02-17 10:37:50.983099', 827) RETURNING "id"Date: 2025-02-17 11:37:50
12 5 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #12
Day Hour Count Feb 17 17 5 13 4 ERROR: invalid input syntax for type timestamp with time zone: ...
Times Reported Most Frequent Error / Event #13
Day Hour Count Feb 17 22 4 - ERROR: invalid input syntax for type timestamp with time zone: "2025-02-16 -1 day, 22:00:00" at character 240
- ERROR: invalid input syntax for type timestamp with time zone: "2025-02-16 -1 day, 22:00:00" at character 240
- ERROR: invalid input syntax for type timestamp with time zone: "2025-02-15 -1 day, 22:00:00" at character 240
Statement: select count(id) FROM cash_track where create_uid = 2 and cash_policy_id is not null and create_date::timestamp AT TIME ZONE 'UTC'>= '2025-02-16 -1 day, 22:00:00' and create_date::timestamp AT TIME ZONE 'UTC'<= '2025-02-16 -1 day, 22:00:00'
Date: 2025-02-17 22:33:08
Statement: select count(id) FROM cash_track where create_uid = 2 and cash_policy_id is not null and create_date::timestamp AT TIME ZONE 'UTC'>= '2025-02-16 -1 day, 22:00:00' and create_date::timestamp AT TIME ZONE 'UTC'<= '2025-02-16 21:00:00'
Date: 2025-02-17 22:33:21
Statement: select count(id) FROM cash_track where create_uid = 2 and cash_policy_id is not null and create_date::timestamp AT TIME ZONE 'UTC'>= '2025-02-15 -1 day, 22:00:00' and create_date::timestamp AT TIME ZONE 'UTC'<= '2025-02-15 21:00:00'
Date: 2025-02-17 22:33:34
14 2 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #14
Day Hour Count Feb 17 22 2 15 2 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #15
Day Hour Count Feb 17 16 1 19 1 16 2 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #16
Day Hour Count Feb 17 16 1 19 1 17 2 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #17
Day Hour Count Feb 17 16 1 19 1 18 2 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #18
Day Hour Count Feb 17 22 2 19 2 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #19
Day Hour Count Feb 17 17 2 - 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 (5454853)) AND (("shipping_track"."id" not in (45212431, 45212595, 45350619, 45350619)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-02-17 17:20:01
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5459713)) AND (("shipping_track"."id" not in (45349794, 45350368, 45350618, 45350618)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-02-17 17:20:01
20 1 FATAL: unsupported frontend protocol 16.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #20
Day Hour Count Feb 17 11 1 21 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #21
Day Hour Count Feb 17 17 1