-
Global information
- Generated on Fri Mar 7 23:47:01 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 27,801,804 log entries in 2m
- Log start from 2025-03-07 00:00:00 to 2025-03-07 22:45:01
-
Overview
Global Stats
- 13,851 Number of unique normalized queries
- 11,830,901 Number of queries
- 3d19h21m25s Total query duration
- 2025-03-07 00:00:00 First query
- 2025-03-07 22:45:01 Last query
- 3,304 queries/s at 2025-03-07 16:08:38 Query peak
- 3d19h21m25s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 3d19h21m25s Execute total duration
- 15,057 Number of events
- 20 Number of unique normalized events
- 14,602 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
- 11,830,901 Average queries per session
- 3d19h21m25s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 3,304 queries/s Query Peak
- 2025-03-07 16:08:38 Date
SELECT Traffic
Key values
- 3,243 queries/s Query Peak
- 2025-03-07 16:08:38 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,143 queries/s Query Peak
- 2025-03-07 11:04:25 Date
Queries duration
Key values
- 3d19h21m25s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 07 00 463,149 0ms 20s136ms 29ms 5m44s 6m16s 6m35s 01 369,705 0ms 6s639ms 28ms 4m42s 5m53s 7m9s 02 299,903 0ms 1s809ms 34ms 4m59s 5m28s 6m3s 03 189,598 0ms 1s674ms 26ms 2m53s 3m22s 3m39s 04 290,472 0ms 1s880ms 39ms 5m18s 5m37s 6m26s 05 287,648 0ms 48s447ms 45ms 7m11s 7m23s 7m30s 06 243,210 0ms 1s407ms 41ms 4m40s 6m4s 6m57s 07 155,156 0ms 5s101ms 33ms 2m41s 3m38s 4m25s 08 287,636 0ms 7s765ms 21ms 3m40s 3m59s 4m39s 09 509,482 0ms 7s906ms 19ms 4m9s 4m33s 8m 10 871,824 0ms 50s170ms 21ms 7m10s 8m1s 11m13s 11 616,045 0ms 3s582ms 20ms 5m50s 6m18s 8m19s 12 1,038,206 0ms 15m7s 28ms 11m40s 13m20s 21m7s 13 1,188,260 0ms 2m38s 35ms 18m31s 19m36s 25m33s 14 864,872 0ms 6s720ms 21ms 7m55s 8m35s 9m51s 15 794,798 0ms 3s701ms 18ms 6m42s 7m16s 9m33s 16 578,153 0ms 3s846ms 18ms 4m58s 5m50s 7m41s 17 283,156 0ms 3s160ms 18ms 3m41s 5m28s 5m35s 18 500,670 0ms 9s308ms 17ms 3m49s 4m35s 6m42s 19 531,143 0ms 3s771ms 32ms 7m42s 9m3s 9m30s 20 569,743 0ms 52s676ms 36ms 11m6s 12m14s 13m7s 21 550,270 0ms 15s104ms 40ms 10m9s 10m48s 11m57s 22 347,802 0ms 4s95ms 36ms 7m41s 9m11s 10m41s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 07 00 256,960 0 53ms 5m 5m44s 6m18s 01 198,855 0 53ms 3m50s 4m41s 6m22s 02 155,313 0 66ms 4m8s 4m59s 5m50s 03 95,431 0 52ms 2m12s 2m53s 3m36s 04 153,740 0 74ms 4m29s 5m18s 6m24s 05 155,386 0 82ms 5m26s 6m57s 7m26s 06 127,405 0 79ms 4m 4m39s 6m17s 07 77,977 0 66ms 2m22s 2m41s 3m45s 08 161,346 0 37ms 3m3s 3m39s 4m33s 09 280,315 0 35ms 3m34s 4m9s 5m20s 10 489,369 0 37ms 6m46s 7m10s 8m11s 11 335,134 0 37ms 5m4s 5m49s 6m55s 12 586,705 0 49ms 10m16s 11m39s 13m41s 13 675,651 0 61ms 14m3s 16m49s 24m51s 14 478,313 0 38ms 6m45s 7m55s 9m21s 15 445,457 0 32ms 5m26s 6m41s 8m43s 16 315,904 0 33ms 3m39s 4m57s 5m58s 17 158,102 0 32ms 2m44s 3m40s 5m29s 18 288,073 0 30ms 3m21s 3m49s 5m10s 19 303,488 0 57ms 6m37s 7m41s 9m13s 20 319,261 0 65ms 9m43s 11m4s 12m14s 21 306,077 0 72ms 9m20s 10m8s 11m13s 22 196,027 0 64ms 5m30s 7m40s 10m41s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 07 00 41,475 8,224 166 0 0ms 249ms 294ms 383ms 01 30,224 5,666 112 0 0ms 183ms 226ms 350ms 02 26,420 5,559 108 0 0ms 177ms 211ms 253ms 03 13,340 3,260 114 0 0ms 92ms 116ms 177ms 04 27,977 6,102 93 0 0ms 172ms 223ms 292ms 05 33,714 7,631 73 0 1ms 219ms 335ms 385ms 06 28,835 5,388 75 0 0ms 169ms 209ms 345ms 07 12,858 3,078 83 0 0ms 81ms 105ms 161ms 08 16,796 5,142 195 0 0ms 106ms 157ms 191ms 09 28,508 8,680 540 0 0ms 183ms 204ms 304ms 10 51,650 11,273 557 0 0ms 315ms 361ms 459ms 11 35,788 8,291 500 0 0ms 180ms 245ms 409ms 12 69,159 15,851 855 0 1ms 437ms 497ms 579ms 13 74,524 16,558 762 0 5ms 562ms 746ms 1m52s 14 48,820 11,287 454 0 0ms 266ms 350ms 479ms 15 42,186 8,565 735 2 0ms 226ms 260ms 361ms 16 34,923 6,658 334 0 0ms 166ms 225ms 333ms 17 15,910 3,924 373 0 0ms 197ms 350ms 470ms 18 25,602 6,541 471 0 0ms 181ms 250ms 437ms 19 43,134 11,011 386 0 0ms 279ms 343ms 447ms 20 45,252 17,716 482 0 1ms 298ms 417ms 648ms 21 46,402 14,788 446 0 0ms 293ms 336ms 433ms 22 30,541 5,412 149 0 0ms 208ms 267ms 482ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 07 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Mar 07 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s Day Hour Count Average Duration Average idle time Mar 07 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
- 64,082 buffers Checkpoint Peak
- 2025-03-07 13:16:25 Date
- 270.062 seconds Highest write time
- 0.021 seconds Sync time
Checkpoints Wal files
Key values
- 27 files Wal files usage Peak
- 2025-03-07 13:16:25 Date
Checkpoints distance
Key values
- 841.92 Mo Distance Peak
- 2025-03-07 13:16:25 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 07 00 218,810 3,239.513s 0.038s 3,239.601s 01 210,546 3,239.513s 0.037s 3,239.6s 02 235,185 3,239.671s 0.031s 3,239.755s 03 78,164 3,225.519s 0.028s 3,225.588s 04 200,374 3,239.569s 0.032s 3,239.649s 05 195,259 3,239.632s 0.033s 3,239.711s 06 183,594 3,239.503s 0.032s 3,239.581s 07 108,785 2,699.564s 0.021s 2,699.618s 08 112,847 3,239.553s 0.036s 3,239.632s 09 220,648 3,239.605s 0.041s 3,239.692s 10 412,810 3,239.521s 0.051s 3,239.645s 11 316,447 3,239.474s 0.047s 3,239.583s 12 507,643 3,239.522s 0.056s 3,239.663s 13 560,997 3,239.518s 0.061s 3,239.68s 14 386,421 3,239.466s 0.053s 3,239.583s 15 337,561 3,239.613s 0.043s 3,239.718s 16 256,692 3,239.52s 0.038s 3,239.611s 17 105,170 2,379.163s 0.066s 2,379.291s 18 157,116 3,239.604s 0.037s 3,239.694s 19 231,500 3,239.5s 0.04s 3,239.602s 20 262,609 3,239.522s 0.043s 3,239.63s 21 269,965 3,239.534s 0.045s 3,239.65s 22 206,261 2,429.626s 0.033s 2,429.71s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 07 00 0 0 90 4,337 0.004s 0.012s 01 0 0 86 3,828 0.002s 0.012s 02 0 0 98 3,711 0.002s 0.012s 03 0 0 31 2,875 0.002s 0.012s 04 0 0 81 3,477 0.002s 0.012s 05 0 0 81 3,252 0.002s 0.012s 06 0 0 81 2,894 0.002s 0.012s 07 0 0 45 1,901 0.002s 0.01s 08 0 0 46 3,158 0.002s 0.012s 09 0 0 87 4,172 0.006s 0.012s 10 0 0 173 4,685 0.005s 0.012s 11 0 0 127 4,518 0.006s 0.012s 12 0 0 210 4,940 0.002s 0.012s 13 0 0 238 5,029 0.003s 0.012s 14 0 0 160 4,760 0.002s 0.012s 15 0 0 140 5,052 0.002s 0.012s 16 0 0 104 4,804 0.002s 0.012s 17 0 0 42 3,247 0.019s 0.011s 18 0 0 65 4,412 0.002s 0.012s 19 0 0 97 4,815 0.002s 0.012s 20 0 0 109 4,825 0.003s 0.012s 21 0 0 113 4,794 0.002s 0.012s 22 0 0 86 3,689 0.002s 0.009s Day Hour Count Avg time (sec) Mar 07 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Mar 07 00 123,099.08 kB 166,447.17 kB 01 119,381.27 kB 157,450.18 kB 02 133,562.00 kB 178,637.50 kB 03 42,263.58 kB 112,972.92 kB 04 110,237.50 kB 125,932.08 kB 05 110,894.58 kB 153,174.92 kB 06 111,621.36 kB 134,708.73 kB 07 73,724.00 kB 108,515.10 kB 08 62,087.64 kB 85,101.82 kB 09 121,064.27 kB 168,501.55 kB 10 236,201.00 kB 273,681.83 kB 11 173,740.83 kB 248,320.67 kB 12 285,804.25 kB 306,286.50 kB 13 327,150.09 kB 378,629.27 kB 14 218,727.83 kB 309,947.58 kB 15 190,396.18 kB 227,985.36 kB 16 141,913.83 kB 212,690.00 kB 17 63,062.45 kB 129,537.18 kB 18 88,849.75 kB 144,450.25 kB 19 130,217.00 kB 144,878.00 kB 20 148,466.33 kB 206,587.33 kB 21 154,105.25 kB 180,333.17 kB 22 157,220.11 kB 222,021.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 07 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 07 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
- 6,560,289 Total read queries
- 3,598,265 Total write queries
Queries by database
Key values
- unknown Main database
- 11,830,901 Requests
- 3d19h21m25s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 11,830,901 Requests
User Request type Count Duration unknown Total 11,830,901 3d19h21m25s copy from 2 1ms cte 3,996 951ms ddl 73 10ms delete 8,063 1s425ms insert 824,038 4m18s others 1,672,346 1m40s select 6,560,289 3d18h59m2s tcl 2,565,488 1m46s update 196,605 14m34s Duration by user
Key values
- 3d19h21m25s (unknown) Main time consuming user
User Request type Count Duration unknown Total 11,830,901 3d19h21m25s copy from 2 1ms cte 3,996 951ms ddl 73 10ms delete 8,063 1s425ms insert 824,038 4m18s others 1,672,346 1m40s select 6,560,289 3d18h59m2s tcl 2,565,488 1m46s update 196,605 14m34s Queries by host
Key values
- unknown Main host
- 11,830,901 Requests
- 3d19h21m25s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 11,830,901 Requests
- 3d19h21m25s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-03-07 07:41:42 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 10,783,939 0-1ms duration
Slowest individual queries
Rank Duration Query 1 15m7s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 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"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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)))))))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-07 12:07:50 ]
2 2m38s UPDATE "shipping_policy" SET "client_date" = '2025-03-07', "client_delivery_button" = true, "receive_man_id" = 'سيد عبدالله', "state" = 'client_receive', "write_date" = '2025-03-07 12:10:20.737044', "write_uid" = 979 WHERE id IN (5886784, 5955029, 5939629, 5939603, 5996138, 5989848, 6006150, 5938899, 5894143, 6000185, 5972472, 6014542, 5944274, 5676279, 5928319, 5901211);[ Date: 2025-03-07 13:16:51 ]
3 1m52s UPDATE "shipping_policy" SET "delegate_button" = false, "edit_cash_button" = true, "last_action" = '2025-03-07', "return_button" = false, "state" = 'in_office', "write_date" = '2025-03-07 12:00:26.068667', "write_uid" = 1369 WHERE id IN (5954146, 5958187, 5993273, 6000951, 6003385);[ Date: 2025-03-07 13:02:40 ]
4 1m50s UPDATE "shipping_policy" SET "delegate_button" = true, "delegate_id" = 8005041, "driver_id" = 8005747, "last_car" = 424, "out_date" = '2025-03-07', "state" = 'in_way_to_client', "state_id" = 2181, "write_date" = '2025-03-07 12:04:48.911516', "write_uid" = 1369 WHERE id IN (6052766, 6050843, 6050837, 6041115, 6039123, 6027554, 6023070, 6003385, 6002541, 6002213, 6000951, 5993273, 5958187, 5954146, 5949435);[ Date: 2025-03-07 13:07:02 ]
5 1m8s UPDATE "shipping_policy" SET "client_delivery_button" = false, "collection_amount_receive" = '85', "total_collection_amount" = true, "write_date" = '2025-03-07 12:04:43.507984', "write_uid" = 874 WHERE id IN (6013157, 6013141, 6013097, 6011897, 6011321, 6010066, 6009618, 6009400, 6009348, 6009336, 6008774, 6008187, 6007046, 6005865, 6005287, 6005264, 6004513, 6003426, 6001316, 6000870, 5999979, 5999266, 5999116, 5999020, 5998115, 5997513, 5996941, 5996615, 5996187, 5995292, 5995227, 5994606, 5993997, 5993510, 5993275, 5990697, 5989608, 5986571, 5984909, 5984886, 5969636);[ Date: 2025-03-07 13:07:02 ]
6 1m6s UPDATE "shipping_policy" SET "client_date" = '2025-03-07', "client_delivery_button" = true, "edit_cash_button" = false, "receive_man_id" = 'محمد فوزى عبدالرحيم حسانين', "return_button" = true, "state" = 'client_receive', "write_date" = '2025-03-07 11:39:27.759871', "write_uid" = 978 WHERE id IN (5897648, 5949228, 5956272, 5960243, 5953269, 5974008, 5984288, 5969152, 5973161, 5990905, 5999551, 6000631, 5972589, 5970550, 5957130, 6010058, 5957216, 5966523, 5955641, 6007692, 5931413, 5924225, 5959491, 5960724, 5953809, 5898799, 6000565, 5956605, 5938213, 5972418, 5955026, 5955987, 5964049, 5964664, 6003615, 6006977, 5917324, 5953811, 5998978, 5921657, 6004210, 6001638, 5915987, 5993309, 5976680, 6014153, 6007751, 5976688, 5974846, 6015860, 5969885, 5958576, 5926291, 5979132, 5928186, 5883461, 5997073, 6004666, 5955022, 6005626, 5923409, 5965516, 6015861, 5959820, 5961659, 6003665, 5961459, 5954001, 5961262, 5923356, 5972837);[ Date: 2025-03-07 12:43:26 ]
7 52s676ms UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-07 19:31:48.309861', "write_uid" = 915 WHERE id IN (44898064);[ Date: 2025-03-07 20:32:43 ]
8 50s170ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-07 10:58:24 ]
9 49s347ms 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, 23, 112)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-07 20:15:56 ]
10 48s447ms UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-07 04:03:46.583850', "write_uid" = 1208 WHERE id IN (44927430);[ Date: 2025-03-07 05:04:37 ]
11 22s455ms SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%4%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-07 10:39:18 ]
12 21s748ms 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, 23, 112)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%1%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-07 20:15:29 ]
13 20s810ms UPDATE "shipping_policy" SET "client_delivery_button" = false, "collection_amount_receive" = '85', "total_collection_amount" = true, "write_date" = '2025-03-07 19:46:44.490535', "write_uid" = 844 WHERE id IN (6027044, 6022134, 6021880, 6020320, 6020312, 6020190, 6011651, 6001537, 5999934, 5984983);[ Date: 2025-03-07 20:47:35 ]
14 20s136ms 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, 23, 112, 12)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-07 00:00:14 ]
15 18s64ms SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%40%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-07 10:39:14 ]
16 16s801ms 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, 23, 112)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%10%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-07 20:15:25 ]
17 15s104ms update shipping_policy set count_search = 1 where id = 5991820;[ Date: 2025-03-07 21:46:10 ]
18 14s479ms SELECT COUNT(*) FROM ( SELECT FROM "shipping_policy" WHERE ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."out_date" = '2025-03-06') AND (("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%دمنهور%'))) AND ((("shipping_policy"."state" = 'in_way_to_client') OR ("shipping_policy"."state" = 'client_receive')) AND (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%كريم عصام%') OR ("res_partner"."email"::text ilike '%كريم عصام%')) OR ("res_partner"."ref"::text ilike '%كريم عصام%')) OR ("res_partner"."vat"::text ilike '%كريم عصام%')) OR ("res_partner"."company_registry"::text ilike '%كريم عصام%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%عبد الفتاح%') OR ("res_partner"."email"::text ilike '%عبد الفتاح%')) OR ("res_partner"."ref"::text ilike '%عبد الفتاح%')) OR ("res_partner"."vat"::text ilike '%عبد الفتاح%')) OR ("res_partner"."company_registry"::text ilike '%عبد الفتاح%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%احمد عصام%') OR ("res_partner"."email"::text ilike '%احمد عصام%')) OR ("res_partner"."ref"::text ilike '%احمد عصام%')) OR ("res_partner"."vat"::text ilike '%احمد عصام%')) OR ("res_partner"."company_registry"::text ilike '%احمد عصام%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%راغب%') OR ("res_partner"."email"::text ilike '%راغب%')) OR ("res_partner"."ref"::text ilike '%راغب%')) OR ("res_partner"."vat"::text ilike '%راغب%')) OR ("res_partner"."company_registry"::text ilike '%راغب%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%شوشة%') OR ("res_partner"."email"::text ilike '%شوشة%')) OR ("res_partner"."ref"::text ilike '%شوشة%')) OR ("res_partner"."vat"::text ilike '%شوشة%')) OR ("res_partner"."company_registry"::text ilike '%شوشة%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%زغلول%') OR ("res_partner"."email"::text ilike '%زغلول%')) OR ("res_partner"."ref"::text ilike '%زغلول%')) OR ("res_partner"."vat"::text ilike '%زغلول%')) OR ("res_partner"."company_registry"::text ilike '%زغلول%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%رفيق%') OR ("res_partner"."email"::text ilike '%رفيق%')) OR ("res_partner"."ref"::text ilike '%رفيق%')) OR ("res_partner"."vat"::text ilike '%رفيق%')) OR ("res_partner"."company_registry"::text ilike '%رفيق%')) 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)))) OR ("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%اشرف%') OR ("res_partner"."email"::text ilike '%اشرف%')) OR ("res_partner"."ref"::text ilike '%اشرف%')) OR ("res_partner"."vat"::text ilike '%اشرف%')) OR ("res_partner"."company_registry"::text ilike '%اشرف%')) 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))))))))))))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (28)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (28))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (28))))) 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))))) LIMIT 10001) t;[ Date: 2025-03-07 12:02:25 ]
19 11s547ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."out_date" = '2025-03-06') AND (("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%دمنهور%'))) AND ((("shipping_policy"."state" = 'in_way_to_client') OR ("shipping_policy"."state" = 'client_receive')) AND (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%كريم عصام%') OR ("res_partner"."email"::text ilike '%كريم عصام%')) OR ("res_partner"."ref"::text ilike '%كريم عصام%')) OR ("res_partner"."vat"::text ilike '%كريم عصام%')) OR ("res_partner"."company_registry"::text ilike '%كريم عصام%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%عبد الفتاح%') OR ("res_partner"."email"::text ilike '%عبد الفتاح%')) OR ("res_partner"."ref"::text ilike '%عبد الفتاح%')) OR ("res_partner"."vat"::text ilike '%عبد الفتاح%')) OR ("res_partner"."company_registry"::text ilike '%عبد الفتاح%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%احمد عصام%') OR ("res_partner"."email"::text ilike '%احمد عصام%')) OR ("res_partner"."ref"::text ilike '%احمد عصام%')) OR ("res_partner"."vat"::text ilike '%احمد عصام%')) OR ("res_partner"."company_registry"::text ilike '%احمد عصام%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%راغب%') OR ("res_partner"."email"::text ilike '%راغب%')) OR ("res_partner"."ref"::text ilike '%راغب%')) OR ("res_partner"."vat"::text ilike '%راغب%')) OR ("res_partner"."company_registry"::text ilike '%راغب%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%شوشة%') OR ("res_partner"."email"::text ilike '%شوشة%')) OR ("res_partner"."ref"::text ilike '%شوشة%')) OR ("res_partner"."vat"::text ilike '%شوشة%')) OR ("res_partner"."company_registry"::text ilike '%شوشة%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%زغلول%') OR ("res_partner"."email"::text ilike '%زغلول%')) OR ("res_partner"."ref"::text ilike '%زغلول%')) OR ("res_partner"."vat"::text ilike '%زغلول%')) OR ("res_partner"."company_registry"::text ilike '%زغلول%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%رفيق%') OR ("res_partner"."email"::text ilike '%رفيق%')) OR ("res_partner"."ref"::text ilike '%رفيق%')) OR ("res_partner"."vat"::text ilike '%رفيق%')) OR ("res_partner"."company_registry"::text ilike '%رفيق%')) 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)))) OR (("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%اشرف%') OR ("res_partner"."email"::text ilike '%اشرف%')) OR ("res_partner"."ref"::text ilike '%اشرف%')) OR ("res_partner"."vat"::text ilike '%اشرف%')) OR ("res_partner"."company_registry"::text ilike '%اشرف%')) 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)))) OR ("shipping_policy"."delegate_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE ((((("res_partner"."display_name"::text ilike '%علي محمد%') OR ("res_partner"."email"::text ilike '%علي محمد%')) OR ("res_partner"."ref"::text ilike '%علي محمد%')) OR ("res_partner"."vat"::text ilike '%علي محمد%')) OR ("res_partner"."company_registry"::text ilike '%علي محمد%')) 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)))))))))))))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (28)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (28))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (28))))) 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 LIMIT 100;[ Date: 2025-03-07 12:02:16 ]
20 11s519ms UPDATE "shipping_policy" SET "confirm_date" = '2025-03-07', "new_destination_button" = false, "state" = 'confirm', "write_date" = '2025-03-07 09:32:09.047447', "write_uid" = 985 WHERE id IN (6069041, 6069040, 6069039, 6069038, 6069037, 6069036, 6069035, 6069034, 6069033, 6069032, 6069031, 6069030, 6069029, 6069028, 6069027, 6069026, 6069025, 6069024, 6069023, 6069022, 6069021, 6069019, 6069017, 6069015, 6069013, 6069010, 6069007, 6069003, 6069000, 6068999, 6068998, 6068997, 6068996, 6068995, 6068994, 6068993);[ Date: 2025-03-07 10:32:58 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2d1h59m55s 229,886 637ms 7s725ms 782ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 07 00 9,821 2h2m55s 750ms 01 9,045 1h49m50s 728ms 02 8,932 1h48m18s 727ms 03 3,516 42m36s 727ms 04 9,019 1h50m30s 735ms 05 8,925 1h52m8s 753ms 06 8,135 1h39m45s 735ms 07 5,092 59m42s 703ms 08 4,171 49m38s 714ms 09 7,256 1h26m31s 715ms 10 13,433 2h52m32s 770ms 11 8,971 1h51m18s 744ms 12 17,548 4h13m7s 865ms 13 24,867 6h55m29s 1s2ms 14 12,392 2h40m12s 775ms 15 10,065 2h6m25s 753ms 16 7,224 1h27m18s 725ms 17 3,442 40m56s 713ms 18 5,858 1h8m12s 698ms 19 12,532 2h35m3s 742ms 20 11,407 2h24m36s 760ms 21 16,364 3h35m46s 791ms 22 11,871 2h26m59s 742ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6069560)) AND (("shipping_track"."id" not in (50618614, 50618614)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:18:15 Duration: 7s725ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6069565)) AND (("shipping_track"."id" not in (50618823, 50618823)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:18:36 Duration: 7s602ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6069562)) AND (("shipping_track"."id" not in (50618705, 50618705)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:18:23 Duration: 6s564ms
2 11h43m1s 133,632 244ms 2s707ms 315ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 07 00 1,541 7m1s 273ms 01 2,239 10m14s 274ms 02 2,258 10m15s 272ms 03 1,528 6m48s 267ms 04 2,746 12m30s 273ms 05 2,444 11m6s 272ms 06 2,094 9m21s 268ms 07 2,514 11m16s 268ms 08 3,789 17m13s 272ms 09 3,604 16m19s 271ms 10 6,297 32m19s 308ms 11 4,844 23m2s 285ms 12 10,505 59m44s 341ms 13 13,253 1h23m52s 379ms 14 9,169 45m29s 297ms 15 3,477 16m52s 291ms 16 4,592 21m18s 278ms 17 1,234 5m43s 278ms 18 2,691 12m34s 280ms 19 11,014 55m34s 302ms 20 21,999 2h7m53s 348ms 21 16,387 1h30m3s 329ms 22 3,413 16m25s 288ms -
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" = '859950')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:19:26 Duration: 2s707ms
-
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" = '859950')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:19:24 Duration: 2s702ms
-
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" = '849545')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:17:40 Duration: 2s604ms
3 8h4m28s 35,693 638ms 7s664ms 814ms select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 07 00 720 9m2s 752ms 01 583 7m17s 751ms 02 541 6m50s 758ms 03 154 1m55s 749ms 04 281 3m38s 776ms 05 160 2m13s 834ms 06 146 2m2s 838ms 07 115 1m33s 810ms 08 509 6m10s 727ms 09 2,130 26m13s 738ms 10 2,656 34m47s 785ms 11 2,151 27m11s 758ms 12 3,710 55m6s 891ms 13 5,069 1h29m43s 1s61ms 14 2,354 31m23s 799ms 15 2,893 36m52s 764ms 16 1,662 20m28s 739ms 17 1,025 11m56s 699ms 18 1,956 22m42s 696ms 19 2,259 27m28s 729ms 20 1,904 24m16s 764ms 21 1,811 24m10s 801ms 22 904 11m24s 757ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6051151, 6032175, 6009954, 5986548)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:19:20 Duration: 7s664ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6057931, 6057928, 6057802, 6053902, 6053773, 6053690, 6053657, 6053648, 6053479, 6048104, 6047450, 6047434, 6041462, 6041450, 6040911, 6040895, 6040884, 6040851, 6040849, 6040785, 6040776, 6040683, 6040659, 6039709, 6039642, 6039625, 6039571, 6039540, 6039473, 6011295)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:17:32 Duration: 7s120ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6065210, 6027250, 5987222, 5986377, 5985900, 5985856, 5985638, 5985629, 5985627, 5985617, 5985608, 5985599, 5985586, 5985549, 5985547, 5985546, 5985538, 5985527, 5985515, 5985508, 5978864, 5976963, 5976866, 5976257, 5976222, 5973789, 5972818, 5971459, 5971259, 5971255, 5971156, 5969818, 5969106, 5969068, 5967489, 5966585, 5965870, 5965848, 5965842, 5965804, 5965124, 5964686, 5964096, 5963868, 5963455, 5962620, 5962403, 5961886, 5961524, 5961269, 5959462, 5959237, 5959038, 5958934, 5957725, 5957692, 5955607, 5955524, 5955103, 5953225, 5953194, 5951794, 5950472, 5941971, 5933079, 5931064, 5930290, 5929442, 5927644, 5927359, 5857582, 5770821, 5697941, 5564039)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:19:14 Duration: 6s876ms
4 4h23m 14,351 881ms 2s654ms 1s99ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 07 00 1,452 26m16s 1s85ms 01 918 16m41s 1s90ms 02 775 13m52s 1s74ms 03 926 16m15s 1s53ms 04 1,842 33m24s 1s88ms 05 2,821 51m57s 1s105ms 06 1,794 32m26s 1s85ms 07 204 3m41s 1s84ms 08 365 6m36s 1s86ms 09 137 2m28s 1s83ms 10 401 7m40s 1s148ms 11 113 2m7s 1s128ms 12 180 3m43s 1s241ms 13 171 4m35s 1s608ms 14 60 1m9s 1s161ms 15 362 6m53s 1s142ms 16 308 5m42s 1s110ms 17 123 2m7s 1s39ms 18 225 3m53s 1s38ms 19 385 7m 1s92ms 20 255 4m38s 1s90ms 21 50 1m1s 1s226ms 22 484 8m46s 1s87ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '809257')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-07 13:18:18 Duration: 2s654ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '882212')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-07 13:17:53 Duration: 2s650ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '882210')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-07 13:17:36 Duration: 2s624ms
5 2h50m11s 42,114 89ms 906ms 242ms select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 07 00 5,766 24m17s 252ms 01 2,538 9m21s 221ms 02 2,514 9m40s 231ms 03 1,820 6m55s 228ms 04 3,630 14m35s 241ms 05 5,586 22m4s 237ms 06 3,536 13m52s 235ms 07 406 1m35s 234ms 08 804 3m12s 239ms 09 352 1m28s 250ms 10 774 3m18s 256ms 11 216 48s205ms 223ms 12 566 2m44s 291ms 13 356 2m22s 399ms 14 284 1m5s 230ms 15 978 4m26s 272ms 16 732 3m22s 277ms 17 1,166 4m45s 245ms 18 1,202 4m39s 232ms 19 2,752 11m35s 252ms 20 2,534 9m54s 234ms 21 1,732 6m58s 241ms 22 1,870 7m6s 227ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'الدمشقي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-07 13:17:53 Duration: 906ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'الدمشقي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-07 13:17:52 Duration: 899ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'مصطفي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-07 13:17:37 Duration: 897ms
6 2h23m9s 20,499 257ms 3s331ms 419ms 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 #6
Day Hour Count Duration Avg duration Mar 07 08 65 30s123ms 463ms 10 2,011 12m51s 383ms 11 2,515 16m2s 382ms 12 4,030 30m21s 451ms 13 2,703 23m51s 529ms 14 3,684 24m26s 398ms 15 1,658 11m22s 411ms 16 2,397 14m40s 367ms 17 520 3m16s 378ms 18 916 5m46s 378ms -
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" = '715999')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:17:36 Duration: 3s331ms
-
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" = '850091')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:17:32 Duration: 3s323ms
-
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" = '941649')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:17:39 Duration: 3s212ms
7 1h59m1s 117,742 46ms 483ms 60ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 07 00 4,672 4m21s 55ms 01 4,306 4m1s 56ms 02 2,813 2m36s 55ms 03 1,189 1m5s 54ms 04 3,013 2m48s 55ms 05 3,629 3m21s 55ms 06 3,386 3m9s 55ms 07 1,500 1m22s 55ms 08 2,041 1m52s 55ms 09 3,812 3m34s 56ms 10 9,243 9m15s 60ms 11 7,074 6m53s 58ms 12 12,185 13m30s 66ms 13 12,679 16m26s 77ms 14 8,191 8m13s 60ms 15 8,170 7m55s 58ms 16 6,155 5m45s 56ms 17 2,052 1m53s 55ms 18 4,100 3m42s 54ms 19 5,233 5m 57ms 20 4,850 4m46s 59ms 21 4,745 4m47s 60ms 22 2,704 2m35s 57ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5984188, 5947209, 5935364, 5924835, 5917308)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-07 13:14:01 Duration: 483ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6013265, 6004091, 6001972)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-07 13:16:33 Duration: 449ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6035381, 6057864)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-07 13:12:46 Duration: 404ms
8 1h58m57s 7,003 882ms 1s768ms 1s19ms 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 #8
Day Hour Count Duration Avg duration Mar 07 00 1,459 24m38s 1s13ms 01 370 6m5s 986ms 02 498 8m14s 992ms 08 52 51s232ms 985ms 09 42 39s944ms 951ms 12 112 2m17s 1s229ms 13 15 21s185ms 1s412ms 14 82 1m24s 1s29ms 15 146 2m33s 1s53ms 16 63 1m5s 1s32ms 17 466 7m43s 995ms 18 379 6m15s 991ms 19 1,005 17m7s 1s22ms 20 1,021 17m21s 1s20ms 21 823 14m9s 1s31ms 22 470 8m8s 1s38ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '201613')) 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 (67))))))) 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 (67)))))) 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 (67)))))) 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 (67))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-07 13:10:28 Duration: 1s768ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '876704')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-07 02:10:56 Duration: 1s672ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '791623')) 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 (11))))))) 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 (11)))))) 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 (11)))))) 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 (11))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-07 20:44:19 Duration: 1s583ms
9 58m26s 11,993 247ms 2s688ms 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" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 07 00 452 2m5s 276ms 01 685 3m7s 274ms 02 293 1m22s 281ms 03 285 1m15s 266ms 04 441 1m59s 271ms 05 395 1m47s 272ms 06 309 1m22s 268ms 07 71 18s770ms 264ms 08 773 3m29s 270ms 09 1,920 8m46s 274ms 10 1,227 5m59s 292ms 11 427 2m10s 305ms 12 272 1m32s 340ms 13 725 4m32s 376ms 14 736 3m47s 308ms 15 496 2m22s 287ms 16 224 1m2s 277ms 17 4 1s126ms 281ms 18 455 2m8s 282ms 19 376 1m53s 301ms 20 325 1m40s 307ms 21 817 4m15s 312ms 22 285 1m24s 296ms -
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" = '823520')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:18:07 Duration: 2s688ms
-
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" = '922707')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:18:11 Duration: 2s246ms
-
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" = '881997')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:17:44 Duration: 1s674ms
10 46m33s 37,204 54ms 433ms 75ms select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 07 00 12 850ms 70ms 08 45 2s923ms 64ms 09 11 726ms 66ms 10 3,476 4m10s 72ms 11 3,961 4m29s 68ms 12 6,688 8m40s 77ms 13 6,822 10m37s 93ms 14 3,984 4m42s 71ms 15 4,421 5m6s 69ms 16 4,849 5m26s 67ms 17 1,072 1m11s 66ms 18 1,839 2m 65ms 19 24 1s670ms 69ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5910479) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:18:02 Duration: 433ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5917120) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:18:20 Duration: 423ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5942003) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:17:35 Duration: 420ms
11 40m20s 11,721 166ms 323ms 206ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 07 00 735 2m28s 202ms 01 1,318 4m32s 206ms 02 1,911 6m31s 204ms 03 1,113 3m43s 200ms 04 2,118 7m27s 211ms 05 1,749 6m6s 209ms 06 1,519 5m12s 206ms 07 1,223 4m10s 205ms 08 35 7s32ms 200ms -
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" = '923918')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 05:00:14 Duration: 323ms
-
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" = '789399')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 05:00:14 Duration: 302ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '908646')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 01:59:11 Duration: 265ms
12 22m48s 9,040 113ms 1s10ms 151ms 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 Mar 07 00 242 32s113ms 132ms 01 123 15s799ms 128ms 02 19 2s647ms 139ms 03 35 4s794ms 136ms 04 9 1s267ms 140ms 08 181 24s115ms 133ms 09 471 1m5s 139ms 10 770 1m50s 142ms 11 636 1m31s 143ms 12 1,213 3m15s 161ms 13 1,142 3m46s 198ms 14 692 1m38s 143ms 15 636 1m29s 140ms 16 439 1m1s 140ms 17 377 51s423ms 136ms 18 611 1m22s 134ms 19 340 48s804ms 143ms 20 418 1m1s 148ms 21 543 1m24s 155ms 22 143 19s794ms 138ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8280496)) AND (("cash_track"."id" not in (9074574)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-07 13:16:34 Duration: 1s10ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8280333)) AND (("cash_track"."id" not in (9073305)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-07 13:03:24 Duration: 975ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8212117)) AND (("cash_track"."id" not in (8587669, 8591444, 8603584, 9073500, 9073500)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-07 13:06:27 Duration: 881ms
13 21m36s 4,248 247ms 2s91ms 305ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 07 08 711 3m9s 267ms 09 1,064 4m49s 271ms 10 632 3m5s 293ms 12 754 4m9s 331ms 13 809 4m58s 368ms 14 238 1m12s 304ms 22 40 11s382ms 284ms -
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" = '711544')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-07 13:02:53 Duration: 2s91ms
-
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" = '708240')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-07 13:02:58 Duration: 2s17ms
-
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" = '467850')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-07 13:03:24 Duration: 758ms
14 21m7s 18,867 50ms 356ms 67ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 07 08 26 1s598ms 61ms 09 3 178ms 59ms 10 1,907 2m3s 64ms 11 1,894 1m56s 61ms 12 3,961 4m39s 70ms 13 2,778 3m46s 81ms 14 2,022 2m10s 64ms 15 2,225 2m22s 64ms 16 2,405 2m27s 61ms 17 575 35s284ms 61ms 18 1,071 1m4s 59ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5882294) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:13:54 Duration: 356ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6002484) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:18:17 Duration: 347ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6004684) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:18:17 Duration: 341ms
15 17m4s 4,390 161ms 441ms 233ms 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 Mar 07 08 711 2m20s 198ms 09 1,206 4m9s 206ms 10 632 2m23s 227ms 12 753 3m15s 259ms 13 810 3m50s 284ms 14 238 56s823ms 238ms 22 40 8s704ms 217ms -
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" = '745115')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-07 13:03:12 Duration: 441ms
-
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" = '111944')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-07 13:02:35 Duration: 437ms
-
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" = '694480')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-07 13:02:17 Duration: 425ms
16 16m37s 71 149ms 15m7s 14s45ms 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 (...)))))))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 07 00 7 6s866ms 980ms 09 1 1s122ms 1s122ms 10 1 1s459ms 1s459ms 11 4 4s843ms 1s210ms 12 4 15m11s 3m47s 13 3 4s104ms 1s368ms 14 4 5s332ms 1s333ms 15 9 11s366ms 1s262ms 16 5 6s469ms 1s293ms 17 6 8s674ms 1s445ms 18 2 2s459ms 1s229ms 19 8 10s377ms 1s297ms 20 6 8s183ms 1s363ms 21 2 2s627ms 1s313ms 22 9 11s721ms 1s302ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 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"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-07 12:07:50 Duration: 15m7s
-
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 (111))))))) 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 (111)))))) 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 (111)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))))) 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 (111))))))))) 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 (111)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-07 17:21:58 Duration: 2s274ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (121))))))) 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 (121)))))) 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 (121)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (121)))))) 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 (121))))))))) 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 (121)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-07 20:35:47 Duration: 1s518ms
17 12m41s 2,726 231ms 2s102ms 279ms select name from shipping_policy order by create_date desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 07 00 120 31s727ms 264ms 01 120 31s588ms 263ms 02 120 31s888ms 265ms 03 120 30s763ms 256ms 04 120 31s595ms 263ms 05 120 31s625ms 263ms 06 120 31s319ms 260ms 07 120 30s780ms 256ms 08 120 30s959ms 257ms 09 120 31s636ms 263ms 10 120 34s175ms 284ms 11 120 32s774ms 273ms 12 120 37s760ms 314ms 13 120 51s299ms 427ms 14 120 34s46ms 283ms 15 120 32s832ms 273ms 16 120 31s927ms 266ms 17 116 30s673ms 264ms 18 120 31s703ms 264ms 19 120 33s764ms 281ms 20 120 35s494ms 295ms 21 120 35s614ms 296ms 22 90 25s52ms 278ms -
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-03-07 13:08:04 Duration: 2s102ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-03-07 13:12:03 Duration: 1s506ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-03-07 13:13:03 Duration: 1s429ms
18 12m27s 4,688 118ms 1s270ms 159ms select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 07 00 99 13s133ms 132ms 01 56 7s551ms 134ms 02 75 10s106ms 134ms 03 20 2s623ms 131ms 04 10 1s315ms 131ms 07 10 1s287ms 128ms 08 228 29s81ms 127ms 09 235 31s176ms 132ms 10 503 1m15s 149ms 11 246 34s581ms 140ms 12 1,008 2m45s 164ms 13 575 2m19s 242ms 14 347 51s674ms 148ms 15 332 46s778ms 140ms 16 116 15s685ms 135ms 17 60 8s365ms 139ms 18 104 14s78ms 135ms 19 133 19s535ms 146ms 20 169 25s253ms 149ms 21 203 31s925ms 157ms 22 159 22s542ms 141ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 28)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-07 13:18:04 Duration: 1s270ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 17)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-07 13:12:03 Duration: 1s215ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 24)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-07 13:12:05 Duration: 1s207ms
19 9m49s 910 22ms 1s906ms 648ms 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 #19
Day Hour Count Duration Avg duration Mar 07 00 27 10s264ms 380ms 01 6 801ms 133ms 02 1 117ms 117ms 04 3 935ms 311ms 07 3 85ms 28ms 08 8 2s928ms 366ms 09 26 15s105ms 580ms 10 46 31s718ms 689ms 11 36 26s770ms 743ms 12 101 1m8s 674ms 13 107 1m18s 732ms 14 77 52s890ms 686ms 15 87 58s437ms 671ms 16 99 1m2s 631ms 17 29 14s584ms 502ms 18 62 37s924ms 611ms 19 56 31s692ms 565ms 20 48 36s988ms 770ms 21 54 32s365ms 599ms 22 34 27s186ms 799ms -
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 (29)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-07 13:21:08 Duration: 1s906ms
-
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 (4)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-07 13:06:23 Duration: 1s869ms
-
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 (60)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-07 13:19:15 Duration: 1s760ms
20 9m12s 1,892 248ms 518ms 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" = ?)) 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 #20
Day Hour Count Duration Avg duration Mar 07 00 321 1m28s 275ms 01 188 51s19ms 271ms 05 300 1m20s 269ms 08 252 1m8s 270ms 09 239 1m4s 271ms 10 31 8s706ms 280ms 11 66 18s270ms 276ms 12 367 2m9s 352ms 13 92 32s76ms 348ms 22 36 10s781ms 299ms -
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" = '921509')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 12:01:08 Duration: 518ms
-
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" = '850129')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 12:06:08 Duration: 437ms
-
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" = '782032')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 12:06:10 Duration: 428ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,672,247 1m40s 0ms 3ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 07 00 62,678 3s651ms 0ms 01 54,434 3s152ms 0ms 02 46,835 2s628ms 0ms 03 33,089 1s687ms 0ms 04 41,712 2s447ms 0ms 05 37,098 2s157ms 0ms 06 32,950 1s939ms 0ms 07 25,065 1s373ms 0ms 08 41,481 2s308ms 0ms 09 74,732 4s495ms 0ms 10 121,975 7s789ms 0ms 11 93,097 5s678ms 0ms 12 139,794 9s710ms 0ms 13 159,761 12s29ms 0ms 14 127,139 8s105ms 0ms 15 116,019 7s348ms 0ms 16 88,356 5s295ms 0ms 17 43,669 1s756ms 0ms 18 70,829 3s295ms 0ms 19 69,249 3s412ms 0ms 20 74,139 3s994ms 0ms 21 72,072 4s91ms 0ms 22 46,074 2s533ms 0ms -
DISCARD ALL;
Date: 2025-03-07 13:05:30 Duration: 3ms
-
DISCARD ALL;
Date: 2025-03-07 11:30:49 Duration: 2ms
-
DISCARD ALL;
Date: 2025-03-07 14:12:31 Duration: 2ms
2 1,282,735 22s788ms 0ms 1ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 07 00 46,748 806ms 0ms 01 40,171 710ms 0ms 02 32,815 590ms 0ms 03 22,171 383ms 0ms 04 30,424 554ms 0ms 05 26,861 491ms 0ms 06 24,276 447ms 0ms 07 18,039 323ms 0ms 08 31,279 519ms 0ms 09 58,318 980ms 0ms 10 98,418 1s717ms 0ms 11 71,559 1s222ms 0ms 12 112,768 2s234ms 0ms 13 130,345 3s3ms 0ms 14 99,310 1s732ms 0ms 15 90,732 1s531ms 0ms 16 65,929 1s97ms 0ms 17 30,227 432ms 0ms 18 54,290 766ms 0ms 19 51,821 807ms 0ms 20 56,351 927ms 0ms 21 55,136 942ms 0ms 22 34,747 565ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-07 13:10:42 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-07 05:09:12 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-07 14:36:02 Duration: 1ms
3 852,449 9s484ms 0ms 1ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 07 00 31,979 338ms 0ms 01 27,940 291ms 0ms 02 24,052 247ms 0ms 03 17,121 160ms 0ms 04 21,561 228ms 0ms 05 19,139 203ms 0ms 06 17,047 181ms 0ms 07 13,145 127ms 0ms 08 21,409 214ms 0ms 09 38,019 404ms 0ms 10 61,818 708ms 0ms 11 47,300 509ms 0ms 12 70,841 901ms 0ms 13 80,803 1s168ms 0ms 14 64,321 731ms 0ms 15 58,845 650ms 0ms 16 44,812 472ms 0ms 17 22,555 197ms 0ms 18 36,025 336ms 0ms 19 35,419 356ms 0ms 20 37,777 400ms 0ms 21 36,914 406ms 0ms 22 23,607 245ms 0ms -
ROLLBACK;
Date: 2025-03-07 20:46:33 Duration: 1ms
-
ROLLBACK;
Date: 2025-03-07 00:36:06 Duration: 1ms
-
ROLLBACK;
Date: 2025-03-07 13:25:30 Duration: 1ms
4 843,208 2m54s 0ms 7ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 07 00 31,499 6s609ms 0ms 01 27,386 5s758ms 0ms 02 23,517 4s913ms 0ms 03 16,624 3s26ms 0ms 04 20,956 4s500ms 0ms 05 18,574 3s910ms 0ms 06 16,470 3s526ms 0ms 07 12,574 2s402ms 0ms 08 20,892 3s848ms 0ms 09 37,580 7s782ms 0ms 10 61,396 13s294ms 0ms 11 46,904 9s781ms 0ms 12 70,706 16s512ms 0ms 13 80,794 20s338ms 0ms 14 64,240 13s820ms 0ms 15 58,700 12s142ms 0ms 16 44,507 9s40ms 0ms 17 22,027 3s254ms 0ms 18 35,799 5s827ms 0ms 19 35,016 6s229ms 0ms 20 37,459 6s867ms 0ms 21 36,275 6s867ms 0ms 22 23,313 4s190ms 0ms -
SELECT payload FROM http_sessions WHERE sid = 'c1293b9ebc187212fbf5c6f617aba5027af6e999';
Date: 2025-03-07 12:34:55 Duration: 7ms
-
SELECT payload FROM http_sessions WHERE sid = '019cf9c11ab8e57ca799d2205c1ba26c54a9529a';
Date: 2025-03-07 17:21:54 Duration: 6ms
-
SELECT payload FROM http_sessions WHERE sid = '7be110041edf2a52ad23f893d6ec9d7379b18c2c';
Date: 2025-03-07 13:55:17 Duration: 1ms
5 836,607 1m21s 0ms 2ms 0ms select base_registry_signaling.last_value, base_cache_signaling.last_value from base_registry_signaling, base_cache_signaling;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 07 00 31,370 2s931ms 0ms 01 27,245 2s547ms 0ms 02 23,454 2s174ms 0ms 03 16,592 1s426ms 0ms 04 20,895 1s953ms 0ms 05 18,601 1s746ms 0ms 06 16,533 1s580ms 0ms 07 12,568 1s116ms 0ms 08 20,770 1s828ms 0ms 09 37,387 3s488ms 0ms 10 60,974 5s980ms 0ms 11 46,571 4s411ms 0ms 12 69,890 7s490ms 0ms 13 79,864 9s353ms 0ms 14 63,562 6s208ms 0ms 15 57,979 5s531ms 0ms 16 44,231 4s108ms 0ms 17 21,848 1s785ms 0ms 18 35,455 3s133ms 0ms 19 34,652 3s162ms 0ms 20 37,107 3s534ms 0ms 21 36,009 3s451ms 0ms 22 23,050 2s98ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-07 13:57:05 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-07 12:15:42 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-07 12:22:07 Duration: 1ms
6 430,292 1m14s 0ms 49ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 07 00 14,774 2s247ms 0ms 01 12,231 2s179ms 0ms 02 8,763 1s827ms 0ms 03 5,051 956ms 0ms 04 8,858 1s834ms 0ms 05 7,725 1s596ms 0ms 06 7,231 1s358ms 0ms 07 4,895 995ms 0ms 08 9,867 1s273ms 0ms 09 20,299 2s971ms 0ms 10 36,601 5s721ms 0ms 11 24,251 3s954ms 0ms 12 41,923 8s82ms 0ms 13 49,552 10s547ms 0ms 14 34,988 5s553ms 0ms 15 31,889 4s734ms 0ms 16 21,121 3s222ms 0ms 17 7,670 1s260ms 0ms 18 18,262 2s636ms 0ms 19 16,399 2s675ms 0ms 20 18,581 3s218ms 0ms 21 18,215 3s455ms 0ms 22 11,146 2s79ms 0ms -
COMMIT;
Date: 2025-03-07 13:05:54 Duration: 49ms
-
COMMIT;
Date: 2025-03-07 13:53:56 Duration: 48ms
-
COMMIT;
Date: 2025-03-07 13:07:42 Duration: 43ms
7 389,569 1m4s 0ms 4ms 0ms select "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" from "urgent_customer" where "urgent_customer".id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 07 00 14,340 1s779ms 0ms 01 12,272 1s831ms 0ms 02 8,652 1s153ms 0ms 03 5,234 579ms 0ms 04 10,256 1s419ms 0ms 05 10,035 1s280ms 0ms 06 9,180 1s263ms 0ms 07 4,097 561ms 0ms 08 7,329 956ms 0ms 09 18,167 2s749ms 0ms 10 33,487 5s485ms 0ms 11 19,734 2s888ms 0ms 12 36,694 6s745ms 0ms 13 49,815 14s139ms 0ms 14 30,990 4s756ms 0ms 15 25,821 3s665ms 0ms 16 19,762 2s686ms 0ms 17 6,388 831ms 0ms 18 14,971 2s17ms 0ms 19 13,903 1s812ms 0ms 20 15,310 2s27ms 0ms 21 14,525 2s226ms 0ms 22 8,607 1s197ms 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 (5099695, 5099433, 5103223, 5099095, 5130945, 5102831, 5099758, 5101741, 5107502, 5301159, 5101193, 5099009, 5099599, 5099007, 5099224, 5543112, 5546251, 5099010, 5099013, 5100431, 5100883, 5100005, 5099445, 5099244, 5302706);
Date: 2025-03-07 17:22:15 Duration: 4ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5256115, 5152525, 5547003, 5174004, 5547706, 5201559, 5542395, 5219848, 5141950, 5134271, 5336258, 5157547, 5158108, 5547705, 5547704, 5481270, 5339756, 5331509, 5547703, 5547702, 5494889, 5146696, 5169107, 5283412, 5137587, 5211779, 5444146, 5210352, 5547701, 5355868, 5547700, 5547699, 5139593, 5272288, 5202244, 5147315, 5139406, 5177123, 5140185, 5547698, 5187560, 5547697, 5348172, 5155670, 5547696, 5155224, 5267406, 5441679, 5298789, 5194301, 5162361, 5216471, 5519433, 5547693, 5547692, 5507669, 5547691, 5332957, 5547690, 5174144, 5547689, 5547688, 5505181, 5547687, 5328910, 5271172, 5547686, 5368517, 5164477, 5294673, 5547685, 5206372, 5484364, 5270828, 5547684, 5343053, 5514365, 5151963, 5260603, 5210671, 5547683, 5167173, 5156194, 5507285, 5425422, 5348813, 5278083, 5352618, 5285936, 5171883, 5363341, 5547682, 5526136, 5547681, 5266815, 5547680, 5223260, 5480020, 5547679, 5547678, 5547677, 5547676, 5389902, 5547674, 5547675, 5154741, 5160763, 5224039, 5547673, 5181430, 5389158, 5146027, 5173776, 5422030, 5430943, 5547672, 5144659, 5547671, 5219408, 5298392, 5232890, 5547670, 5350820, 5547668, 5232957, 5188381, 5547667, 5547666, 5243994, 5458255, 5547665, 5547664, 5340194, 5547663, 5483336, 5273125, 5547661, 5547662, 5547660, 5211571, 5547658, 5547659, 5547657, 5401739, 5547656, 5223802, 5547655, 5547654, 5547653, 5547652, 5437822, 5547651, 5136653, 5547650, 5340535, 5172799, 5547649, 5140291, 5547648, 5547647, 5547646, 5153217, 5547644, 5547645, 5472771, 5547643, 5175254, 5547642, 5547641, 5357078, 5393408, 5547640, 5160059, 5253634, 5167709, 5485775, 5547639, 5470847, 5450178, 5363314, 5276831, 5547638, 5413895, 5145511, 5547637, 5547636, 5547634, 5547635, 5547633, 5239957, 5183706, 5547632, 5547631, 5547630, 5435509, 5365108, 5547629, 5396982, 5268051, 5262317, 5250520, 5547626, 5329603, 5355181, 5497892, 5161865, 5368781, 5399483, 5149286, 5217048, 5547625, 5198593, 5184590, 5418568, 5547624, 5233309, 5223282, 5547623, 5169190, 5547622, 5547621, 5259498, 5164143, 5189082, 5162748, 5547617, 5139590, 5174866, 5220040, 5451258, 5547616, 5235927, 5547615, 5136885, 5246020, 5547612, 5415590, 5190901, 5547611, 5162109, 5547610, 5547609, 5355673, 5152364, 5356987, 5213671, 5146586, 5547608, 5304257, 5547607, 5487765, 5229123, 5196342, 5166211, 5228954, 5547606, 5147339, 5162611, 5547605, 5368871, 5547604, 5159798, 5234142, 5150643, 5499820, 5155712, 5316111, 5451165, 5547603, 5268199, 5268352, 5547602, 5547601, 5547600, 5241419, 5367258, 5547599, 5547595, 5547598, 5547597, 5547596, 5180929, 5547584, 5201972, 5547594, 5547593, 5410523, 5547592, 5547590, 5370265, 5349540, 5547588, 5213353, 5232604, 5547587, 5547586, 5547585, 5547583, 5275082, 5547581, 5547582, 5365750, 5547578, 5547577, 5547576, 5547575, 5547574, 5547572, 5547573, 5523026, 5198644, 5547571, 5364810, 5316727, 5288823, 5315115, 5315116, 5180335, 5153066, 5547568, 5239916, 5351307, 5176351, 5169591, 5189317, 5318191, 5335368, 5547567, 5547566, 5219990, 5485685, 5547565, 5257899, 5547564, 5179499, 5187706, 5198649, 5547563, 5344883, 5350813, 5335984, 5547562, 5547561, 5547560, 5222517, 5489744, 5247676, 5300031, 5420360, 5343157, 5312899, 5316399, 5461072, 5191915, 5547559, 5197388, 5291415, 5416891, 5547558, 5261311, 5547557, 5244119, 5194997, 5228612, 5146758, 5380120, 5307208, 5294164, 5538927, 5547556, 5547555, 5306040, 5179484, 5206653, 5547554, 5532652, 5145625, 5183366, 5547552, 5332961, 5547551, 5233604, 5232379, 5149734, 5481740, 5547550, 5152256, 5216997, 5267180, 5547548, 5415735, 5547547, 5547546, 5186514, 5176545, 5547545, 5435029, 5401085, 5197952, 5547537, 5396529, 5547536, 5184042, 5171670, 5545576, 5258341, 5143008, 5142442, 5265780, 5161467, 5138682, 5367567, 5316377, 5547533, 5174440, 5547531, 5543869, 5323363, 5313041, 5158064, 5232184, 5153919, 5232344, 5252552, 5547530, 5296353, 5547529, 5139411, 5164695, 5509629, 5370439, 5547525, 5182476, 5547524, 5354725, 5193566, 5540584, 5339642, 5183389, 5274539, 5182460, 5430253, 5147499, 5171707, 5211260, 5545629, 5547522, 5235054, 5243945, 5150347, 5293514, 5403687, 5191977, 5547521, 5414381, 5257375, 5159726, 5194648, 5228515, 5547514, 5193645, 5196158, 5525350, 5547512, 5547513, 5186497, 5178614, 5547510, 5547511, 5138414, 5154345, 5174169, 5178012, 5228362, 5547509, 5201353, 5300596, 5547508, 5367849, 5284070, 5537711, 5270260, 5337462, 5545519, 5547507, 5547506, 5274513, 5272730, 5547505, 5181042, 5537489, 5469655, 5252115, 5545674, 5330509, 5547499, 5150805, 5547498, 5547460, 5547497, 5216103, 5442914, 5173929, 5321086, 5167218, 5547496, 5511816, 5547495, 5547494, 5236355, 5547493, 5545574, 5547492, 5205116, 5433452, 5309903, 5152693, 5547485, 5356316, 5547483, 5495335, 5547481, 5182652, 5257354, 5354651, 5547478, 5378030, 5173868, 5547477, 5136355, 5547476, 5547475, 5171870, 5151834, 5235004, 5244883, 5228618, 5259130, 5149160, 5149885, 5499240, 5547474, 5547471, 5282203, 5143683, 5215039, 5547470, 5468177, 5180838, 5210370, 5547469, 5280265, 5547468, 5147485, 5156404, 5547467, 5301663, 5350643, 5193757, 5479542, 5255734, 5547466, 5193244, 5233488, 5221032, 5547465, 5547464, 5172029, 5448806, 5547463, 5537207, 5180047, 5236893, 5547462, 5150268, 5314352, 5529842, 5171205, 5547461, 5487768, 5165066, 5160499, 5392047, 5261112, 5138429, 5161770, 5196658, 5547459, 5547458, 5399144, 5275805, 5441685, 5152253, 5251195, 5195588, 5547457, 5407263, 5491918, 5547341, 5547456, 5225990, 5547455, 5195430, 5159626, 5538311, 5241179, 5154327, 5151778, 5306919, 5204038, 5172777, 5172004, 5165146, 5181653, 5332874, 5225793, 5547454, 5547453, 5547452, 5547451, 5257204, 5267216, 5417327, 5160919, 5217366, 5158017, 5297803, 5151606, 5547450, 5163339, 5297127, 5459017, 5255760, 5358001, 5527835, 5178459, 5516983, 5547449, 5547448, 5547447, 5245166, 5213723, 5443376, 5547446, 5519246, 5547444, 5181959, 5547443, 5547442, 5527262, 5547441, 5156886, 5244044, 5174307, 5547440, 5195088, 5204428, 5536324, 5547439, 5221858, 5259991, 5314142, 5250831, 5247402, 5547437, 5547436, 5160323, 5538356, 5257161, 5545927, 5274940, 5191349, 5254468, 5158008, 5547432, 5547431, 5547430, 5335161, 5547429, 5179109, 5206383, 5151771, 5261179, 5547428, 5165407, 5177249, 5154740, 5204092, 5547424, 5170240, 5171003, 5283191, 5212026, 5547422, 5261300, 5172400, 5541956, 5359115, 5322115, 5547417, 5547416, 5175074, 5158359, 5198463, 5376986, 5251206, 5350046, 5547415, 5297262, 5547414, 5504059, 5431681, 5547413, 5547412, 5154989, 5155734, 5547411, 5207189, 5182441, 5537690, 5547410, 5547409, 5361324, 5319573, 5148195, 5221044, 5176865, 5337114, 5547106, 5195241, 5321218, 5547407, 5547408, 5175608, 5403237, 5156247, 5547406, 5415075, 5190815, 5158957, 5140198, 5136150, 5303234, 5154987, 5547404, 5227101, 5225997, 5152184, 5270968, 5547402, 5149626, 5264699, 5547399, 5441109, 5547398, 5150807, 5241688, 5547397, 5155564, 5303500, 5342346, 5175728, 5194528, 5155310, 5281814, 5547392, 5547097, 5174488, 5538359, 5547391, 5529528, 5538199, 5547390, 5258976, 5155856, 5408356, 5280469, 5326541, 5440625, 5547387, 5159789, 5547386, 5525383, 5547385, 5537647, 5206392, 5547383, 5261348, 5547381, 5174855, 5294156, 5290106, 5174771, 5321372, 5148390, 5160214, 5142232, 5285730, 5272901, 5547378, 5169613, 5547377, 5198969, 5251408, 5344847, 5547376, 5307136, 5232380, 5261552, 5232334, 5165682, 5201617, 5228295, 5527923, 5138720, 5317962, 5184253, 5547375, 5339111, 5272852, 5231551, 5140611, 5547374, 5547373, 5172569, 5227681, 5482872, 5547371, 5270387, 5507342, 5176969, 5547368, 5547366, 5547365, 5547364, 5300728, 5373931, 5232873, 5389624, 5547362, 5496435, 5485608, 5241002, 5201538, 5547361, 5190556, 5199585, 5547360, 5175390, 5225963, 5302923, 5316280, 5547356, 5398522, 5189221, 5547355, 5547354, 5547353, 5351508, 5148533, 5519692, 5547350, 5135739, 5191973, 5193770, 5246715, 5139179, 5275549, 5210089, 5547348, 5185999, 5547346, 5165456, 5300462, 5172508, 5151290, 5456091, 5308175, 5268547, 5547339, 5252618, 5355601, 5547344, 5547343, 5547342, 5212769, 5489660, 5218775, 5174183, 5201608, 5547340, 5155453, 5547338, 5224353, 5172696, 5449669, 5308599, 5254351, 5164691, 5148194, 5545506, 5547327, 5305373, 5547326, 5260368, 5547325, 5175862, 5149892, 5485915, 5547323, 5244829, 5283159, 5371775, 5547322, 5253807, 5547321, 5507986, 5547308, 5367210, 5181479, 5547302, 5353652, 5472017, 5547301, 5181230, 5197552, 5516211, 5171950, 5163275, 5207209, 5547300, 5547299, 5547298, 5201811, 5547297, 5256040, 5224946, 5481016, 5194818, 5138733, 5171758, 5547294, 5547295, 5272991, 5192320, 5547293, 5341099, 5203356, 5547292, 5170343, 5159845, 5301489, 5272050, 5547290, 5547291, 5547289, 5508223, 5396649, 5547288, 5547287, 5162244, 5492580, 5535616, 5477321, 5547286, 5532656, 5547285, 5431825, 5409771, 5547284, 5300340, 5547283, 5249045, 5160515, 5201808, 5532380, 5218526, 5210274, 5281825, 5224060, 5270186, 5153752, 5138722, 5547280, 5547273, 5185505, 5547272, 5547271, 5215767, 5327602, 5543897, 5169060, 5434064, 5547270, 5547268, 5547269, 5200772, 5142123, 5547267, 5547266);
Date: 2025-03-07 18:10:31 Duration: 3ms
-
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 (5098974, 5099013, 5098987, 5098985, 5099158, 5098972, 5101670, 5098989, 5099102, 5113941, 5099248, 5099007, 5101850, 5126359, 5099037, 5099169, 5117111, 5099264, 5099644, 5099141, 5099130, 5099285, 5099422, 5099243, 5544426, 5099044, 5100857, 5102224, 5134271, 5100259, 5099247, 5102342, 5101662, 5099009, 5113620, 5099441, 5133523, 5103183, 5099263, 5100052, 5099873, 5099529, 5235376, 5099916, 5099010, 5102956, 5109915, 5166276, 5099387, 5099028, 5099105, 5099170, 5119543, 5100386, 5099525, 5099695, 5134026, 5105779, 5120783, 5541761, 5125144, 5099006, 5106365, 5542366, 5101563, 5099254, 5125572, 5099599, 5208811, 5108734, 5103909, 5099360, 5189375, 5099236, 5102100, 5099433, 5098996, 5099540, 5494499, 5101297, 5500865, 5099564, 5099321, 5102575, 5105759, 5099138, 5100070, 5110118, 5545041, 5101391, 5107494, 5129946, 5099503, 5099224, 5115012, 5099144, 5099206, 5100044, 5099474, 5099139, 5112731, 5100677, 5099764, 5103298, 5103222, 5105811, 5102969, 5102233, 5117657, 5099095, 5099045, 5102433, 5100476, 5412934, 5100302, 5099331, 5099116, 5099843, 5099544, 5460610, 5099356, 5234861, 5101193, 5543438, 5537348, 5100992, 5105921, 5193920, 5107079, 5099406, 5108796, 5407677, 5100054, 5101130, 5308119, 5100806, 5099296, 5101852, 5100352, 5121936, 5099600, 5100168, 5099198, 5100538, 5441255, 5112617, 5099114, 5103181, 5119374, 5099204, 5099504, 5099014, 5099560, 5100009, 5116968, 5099558, 5210245, 5102402, 5099749, 5099266, 5099491, 5099446, 5196158, 5099403, 5100295, 5101088, 5101122, 5107833, 5099654, 5103645, 5109445, 5105080, 5236754, 5152268, 5466442, 5099813, 5545504, 5545502, 5099714, 5100776, 5105016, 5134772, 5536018, 5116464, 5100804, 5104458, 5099980, 5309696, 5099168, 5099134, 5121866, 5243046, 5144954, 5106211, 5111708, 5099847, 5099618, 5102108, 5302706, 5123527, 5109026, 5099008, 5113242, 5106695, 5201427, 5108013, 5099272, 5099563, 5100273, 5099445, 5284752, 5100150, 5545257, 5099099, 5099137, 5099190, 5113112, 5099659, 5099310, 5099246, 5099546, 5109804, 5108877, 5101349, 5101685, 5105271, 5099121, 5099244, 5099838, 5375394, 5104195, 5116185, 5099159, 5103145, 5099920, 5113194, 5238088, 5099892, 5105950, 5102059, 5115068, 5105233, 5102867, 5099941, 5118828, 5099590, 5099662, 5103304, 5099679, 5099120, 5376568, 5102415, 5099202, 5161322, 5099642, 5181034, 5542597, 5099398, 5543734, 5101379, 5172778, 5438035, 5144661, 5100477, 5099186, 5099129, 5099788, 5099499, 5103169, 5103964, 5099386, 5180474, 5101943, 5100684, 5103125, 5099930, 5130100, 5131581, 5099553, 5108217, 5176511, 5106388, 5101152, 5099035, 5108931, 5100023, 5099187, 5099678, 5104439, 5129047, 5106203, 5183213, 5168827, 5207030, 5099677, 5101165, 5099333, 5099906, 5123594, 5151450, 5099334, 5101316, 5099090, 5099394, 5144871, 5413865, 5403240, 5511421, 5476893, 5099231, 5099724, 5104194, 5099251, 5105195, 5103051, 5206501, 5117249, 5100726, 5099093, 5100181, 5119272, 5106960, 5107497, 5107610, 5100783, 5099821, 5105620, 5099306, 5099791, 5099810, 5245412, 5099430, 5099027, 5109642, 5100432, 5146939, 5100561, 5099359, 5100699, 5100638, 5146122, 5099896, 5120877, 5100596, 5157999, 5241773, 5099119, 5103196, 5110819, 5100143, 5099103, 5099542, 5099128, 5127382, 5111725, 5128312, 5249565, 5100554, 5102625, 5123215, 5101816, 5104441, 5317797, 5108423, 5171684, 5104873, 5103797, 5105206, 5102444, 5100339, 5100166, 5100113, 5134333, 5221402, 5113906, 5100511, 5112696, 5175571, 5110700, 5288565, 5545506, 5099297, 5101704, 5104679, 5104864, 5100457, 5099111, 5201600, 5103046, 5545214, 5100354, 5545524, 5099155, 5543521, 5151582, 5099693, 5108929, 5468105, 5101159, 5206512, 5099200, 5104810, 5109542, 5102793, 5099768, 5102811, 5101422, 5099123, 5100005, 5105319, 5101794, 5099745, 5113799, 5099643, 5101782, 5103379, 5099339, 5113565, 5158094, 5100163, 5108588, 5101176, 5184037, 5116518, 5130915, 5101254, 5099630, 5142608, 5108081, 5099528, 5099309, 5218327, 5165104, 5122784, 5100022, 5225997, 5109665, 5113669, 5117911, 5099011, 5190561, 5208759, 5149623, 5545579, 5108466, 5132533, 5148194, 5129552, 5099515, 5101222, 5101623, 5545255, 5100919, 5100411, 5208800, 5101077, 5103868, 5099165, 5099122, 5100755, 5105468, 5103903, 5102611, 5100801, 5158017, 5111206, 5099904, 5100021, 5108558, 5100061, 5101173, 5479247, 5102774, 5114573, 5104372, 5124483, 5099967, 5351388, 5546018, 5099547, 5117346, 5100678, 5164695, 5130661, 5099112, 5103944, 5106028, 5100807, 5099648, 5099269, 5102964, 5102290, 5150805, 5099632, 5103193);
Date: 2025-03-07 12:02:25 Duration: 3ms
8 353,253 28s441ms 0ms 1ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" from "urgent_office" where "urgent_office".id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 07 00 11,626 771ms 0ms 01 9,286 611ms 0ms 02 6,037 406ms 0ms 03 3,439 198ms 0ms 04 6,143 405ms 0ms 05 5,231 355ms 0ms 06 5,720 355ms 0ms 07 3,291 208ms 0ms 08 7,235 485ms 0ms 09 16,335 1s153ms 0ms 10 30,516 2s400ms 0ms 11 20,141 1s364ms 0ms 12 34,373 3s204ms 0ms 13 44,185 5s940ms 0ms 14 29,370 2s291ms 0ms 15 26,663 1s818ms 0ms 16 18,032 1s201ms 0ms 17 6,312 396ms 0ms 18 15,292 934ms 0ms 19 14,309 986ms 0ms 20 15,917 1s147ms 0ms 21 15,198 1s184ms 0ms 22 8,602 617ms 0ms -
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (55, 51, 17, 62);
Date: 2025-03-07 21:07:23 Duration: 1ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (5);
Date: 2025-03-07 10:50:34 Duration: 1ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (121, 8, 64, 102, 5, 7, 126, 65, 1, 27, 11, 4, 17, 123, 32, 73, 28, 78, 49, 71, 61, 10, 30, 39, 19, 111, 70, 36, 115, 119, 13, 60, 2, 80, 3, 35, 38, 41, 9, 16, 76, 44);
Date: 2025-03-07 13:04:37 Duration: 1ms
9 240,852 47s231ms 0ms 8ms 0ms select "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 07 00 8,279 1s487ms 0ms 01 6,219 1s133ms 0ms 02 4,233 783ms 0ms 03 2,541 412ms 0ms 04 3,888 755ms 0ms 05 3,297 643ms 0ms 06 3,350 633ms 0ms 07 2,402 418ms 0ms 08 6,202 956ms 0ms 09 12,046 1s985ms 0ms 10 19,671 3s788ms 0ms 11 13,359 2s371ms 0ms 12 24,021 5s292ms 0ms 13 28,647 7s857ms 0ms 14 20,498 3s889ms 0ms 15 18,869 3s380ms 0ms 16 12,744 2s169ms 0ms 17 4,519 747ms 0ms 18 10,945 1s773ms 0ms 19 9,500 1s732ms 0ms 20 10,138 1s936ms 0ms 21 9,438 1s957ms 0ms 22 6,046 1s125ms 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 (1);
Date: 2025-03-07 21:10:37 Duration: 8ms
-
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 (8007688);
Date: 2025-03-07 13:13:18 Duration: 4ms
-
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 (8006396);
Date: 2025-03-07 13:08:21 Duration: 3ms
10 229,886 2d1h59m55s 637ms 7s725ms 782ms 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 #10
Day Hour Count Duration Avg duration Mar 07 00 9,821 2h2m55s 750ms 01 9,045 1h49m50s 728ms 02 8,932 1h48m18s 727ms 03 3,516 42m36s 727ms 04 9,019 1h50m30s 735ms 05 8,925 1h52m8s 753ms 06 8,135 1h39m45s 735ms 07 5,092 59m42s 703ms 08 4,171 49m38s 714ms 09 7,256 1h26m31s 715ms 10 13,433 2h52m32s 770ms 11 8,971 1h51m18s 744ms 12 17,548 4h13m7s 865ms 13 24,867 6h55m29s 1s2ms 14 12,392 2h40m12s 775ms 15 10,065 2h6m25s 753ms 16 7,224 1h27m18s 725ms 17 3,442 40m56s 713ms 18 5,858 1h8m12s 698ms 19 12,532 2h35m3s 742ms 20 11,407 2h24m36s 760ms 21 16,364 3h35m46s 791ms 22 11,871 2h26m59s 742ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6069560)) AND (("shipping_track"."id" not in (50618614, 50618614)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:18:15 Duration: 7s725ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6069565)) AND (("shipping_track"."id" not in (50618823, 50618823)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:18:36 Duration: 7s602ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6069562)) AND (("shipping_track"."id" not in (50618705, 50618705)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:18:23 Duration: 6s564ms
11 200,895 20s856ms 0ms 3ms 0ms select "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" from "res_users" where "res_users".id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 07 00 6,976 662ms 0ms 01 5,291 537ms 0ms 02 3,681 388ms 0ms 03 2,116 239ms 0ms 04 3,541 387ms 0ms 05 2,998 345ms 0ms 06 2,944 342ms 0ms 07 2,006 242ms 0ms 08 4,595 434ms 0ms 09 9,329 819ms 0ms 10 17,087 1s622ms 0ms 11 11,160 1s13ms 0ms 12 20,035 2s204ms 0ms 13 24,168 3s661ms 0ms 14 16,987 1s601ms 0ms 15 15,243 1s397ms 0ms 16 10,750 941ms 0ms 17 3,544 343ms 0ms 18 8,970 740ms 0ms 19 7,811 737ms 0ms 20 8,493 823ms 0ms 21 8,235 871ms 0ms 22 4,935 498ms 0ms -
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-03-07 12:03:44 Duration: 3ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-03-07 13:12:17 Duration: 3ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-03-07 13:17:43 Duration: 3ms
12 168,488 48s304ms 0ms 8ms 0ms select "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" from "policy_number" where "policy_number".id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 07 00 7,271 1s717ms 0ms 01 5,452 2s237ms 0ms 02 3,840 928ms 0ms 03 2,397 534ms 0ms 04 4,623 1s220ms 0ms 05 5,079 1s327ms 0ms 06 4,168 1s129ms 0ms 07 1,602 433ms 0ms 08 3,115 761ms 0ms 09 7,090 1s923ms 0ms 10 13,133 3s700ms 0ms 11 8,091 2s34ms 0ms 12 15,269 4s785ms 0ms 13 19,571 9s284ms 0ms 14 12,832 3s225ms 0ms 15 11,060 2s701ms 0ms 16 9,593 1s927ms 0ms 17 3,178 755ms 0ms 18 6,951 1s784ms 0ms 19 6,690 1s566ms 0ms 20 7,049 1s634ms 0ms 21 6,462 1s691ms 0ms 22 3,972 997ms 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 (32667423, 41992181, 32657422, 32652349, 32656911, 42089988, 32656924, 32237619, 41766323, 42124347, 42008150, 32539151, 32656764, 41834749, 42092111, 32656881, 44730115, 44597423, 40909568, 32659182, 32630051, 42035508, 41809591, 41894473, 41994865, 41994867, 41894475, 32656908, 32511687, 44946072, 42087344, 41948765, 42035168, 41975463, 41620972, 41791688, 41702938, 32659111, 32659110, 41974853, 41953918, 32656270, 42001038, 42047810, 42098106, 41855842, 42127978, 42115030, 42092115, 32667468, 32654739, 32656750, 41799996, 42005078, 42043503, 42064864, 32288289, 41894474, 42008149, 42100599, 42008148, 32332292, 32651780, 32663044, 41931236, 32655078, 42063131, 32658036, 42034979, 42063126, 32665641, 32656950, 42020795, 42020793, 42020674, 32659112, 32659109, 32656948, 44986022, 32656949, 32659141, 41816407, 42141271, 42042218, 42043862, 42114907, 44855574, 42060892, 44585347, 44534801, 39480895, 32260931, 41947780, 44554411, 44929417, 32656603, 44835064, 32656947, 32378485, 42049934);
Date: 2025-03-07 17:23:17 Duration: 8ms
-
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 (38977445, 39590405, 39423291, 39683647, 39696416, 39598873, 39654602, 39647696, 39617052, 39589227, 39192832, 40191210, 40108107, 39884335, 40175724, 40186771, 39859506, 39859507, 40111057, 40111056, 39518126, 39479366, 40046758, 40043358, 40110389, 40039807, 40110783, 40041549, 40192259, 40061356, 39777959, 40111570, 40111573, 40111576, 40143787, 40214486, 40177120, 40178402, 39695166, 40111389, 39734056, 40182148, 40182149, 40212648, 40015391, 40003689, 40183912, 40184199, 40087124, 40114821, 40069200, 40069202, 40181640, 40093990, 39338581, 39595793, 40152145, 40145663, 40145076, 40219219, 40046761, 40046768, 40046771, 39743253, 40086050, 40168865, 40083471, 39934150, 40082844, 39736289, 40244023, 40223431, 40152709, 40090567, 40138446, 40069290, 40206141, 40189392, 40246699, 40126807, 40126799, 40246865, 39494415, 40143294, 40123539, 39770354, 38955551, 40195429, 40195409, 38413981, 40243514, 40218676, 40192237, 40023992, 40161682, 40198447, 40177922, 39257812, 40253266, 40231696);
Date: 2025-03-07 17:34:36 Duration: 7ms
-
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 (44986623, 44851471, 44851685, 44801049, 44952341, 44801050, 44946877, 44982578, 44782828, 44997782, 44972200, 44991635, 44821611, 44664085, 44990249, 44872654, 44836343, 44740534, 44816693, 44664566, 44907745, 44736695, 44837957, 44954628, 44997714, 44898625, 44946865, 45000922, 44683090, 45021092, 44984133, 44967614, 44852243, 44797454, 44775459, 44893928, 44937420, 44782902, 44893926, 44812843, 44864022, 44867470, 44978366, 44921975, 44942489, 44658840, 44990862, 44942453, 44784219, 44963558, 44758123, 44815557, 44872814, 44981078, 44815556, 44986857, 44919472, 44907240, 45025534, 45026226, 44988266, 44834093, 44834147, 44835460, 44930553, 44905338, 44925124, 44905354, 44887957, 44905351, 44940764, 44924239, 44935486, 44777666, 44988298, 44988249, 44993644, 44977193, 44809904, 44809902, 44964525, 44905356, 44909150, 44916076, 45044981, 44914621, 44804011, 44678791, 44824001, 44782519, 44984273, 44977108, 44997295, 44900904, 44997804, 44718761, 44981466, 45002233, 44878938, 44981503, 44863973, 44907840, 44901324, 44830986, 44957486, 45021144, 44864297, 44491261, 44919652, 44886505, 44785701, 45021143, 44491356, 44926644, 44982336, 44982306, 44865015, 44908328, 44688232, 44789000, 44939847, 44717446, 44989573, 44998798, 44760231, 44691699, 44827519, 44972852, 44792729, 44853269, 44827514, 44929419, 44986563, 44832845, 44972766, 44962143, 44996053, 44908017, 44924817, 44491352, 45029604, 44768795, 44623151, 44990678, 44932942, 44801058, 44930518, 44822456, 44930398, 44981497, 44930389, 44904876, 41440036, 44491340, 44551549, 44812594, 32530208, 45004899, 44920493, 44999514, 44957138, 44927779, 44857342, 32188273, 44932944, 44957539, 44491358, 44525305, 44829178, 44948099, 44911903, 44928144, 44876814, 44990418, 44948105, 32475496, 44788933, 44918300, 44724404, 44985435, 44961572, 45044503, 44717192, 32416825, 45005365, 44939710, 44929841, 44948131, 44833867, 44688895, 45029757, 44927149, 44832965, 32475813, 44854417, 44493058, 44876816, 44996747, 44997676, 44987622, 44860814, 44998894, 44985121, 45026816, 45028789, 44907640, 45004954, 45004714, 44990417, 44904575, 44958633, 44900238, 44948129, 44679961, 32546735, 45004774, 44869970, 44925126, 44909155, 44911760, 44997653, 44948145, 44815851, 45025621, 44861288, 42178477, 44933953, 44860830, 44964480, 44911240, 44905089, 44982550, 44906613, 32416834, 44891398, 44683495, 44905128, 45017427, 44883007, 45025517, 44754617, 44964093, 44869425, 44843818, 44948128, 44987140, 44987268, 44865887, 44824446, 44807326, 44854241, 44958428, 44754568, 45003463, 44897892, 44896997, 44789497, 44911698, 44905727, 44935663, 44785336, 44907050, 44607893, 44811063, 45017713, 44924429, 44937686, 45003068, 44983463, 44843381, 45029982, 45032081, 45068385, 44900393, 44962043, 44842597, 44900235, 44979132, 44797553, 44756477, 45029296, 44934776, 44914612, 44985635, 44688372, 44683084, 44901347, 44998741, 44935490, 45068559, 44777459, 44998188, 44908259, 44942786, 44756554, 44994167, 44990973, 44937678, 44931691, 44788960, 45028563, 44923451, 44876825, 44978226, 44865480, 44983415, 44952628, 44883065, 44901404, 44952638, 44511680, 44920694, 44836427, 44922301, 44961099, 44851186, 45002994, 44984269, 44863981, 44863978, 44983167, 45004072, 44991638, 45016062, 44999267, 44870391, 44834897, 44784194, 44958918, 44863555, 44866151, 44745986, 44913450, 44865483, 44863979, 44934723, 44924373, 44934905, 44934167, 41561839, 44984271, 44870683, 44864295, 44961755, 44914915, 44998074, 44908532, 44853014, 44491353, 44998870, 44934851, 45026177, 44985245, 44688244, 45032088, 44761759, 44900241, 44745995, 44912676, 44871230, 44934096, 44935018, 44934457, 44692033, 44912242, 44871232, 44955313, 45032091, 44931286, 44906963, 44876052, 44934105, 45029595, 44931468, 44935001, 44931267, 44931668, 44869795, 45021248, 44928709, 44869203, 45029275, 44864354, 44932024, 44745997, 45017523, 45028579, 44913720, 44934873, 44906335, 44853373, 45011077, 44934658, 44972948, 45029337, 44924442, 44972636, 32436037, 44809158, 45049581, 45004474, 44810593, 44924121, 44997550, 45004023, 44881857, 44934078, 44934142, 44829588, 44912677, 44843421, 44963321, 44972624, 44929516, 42175985, 44842004, 44972568, 45029706, 44931547, 45004546, 45025218, 44931277, 44997274, 44937522, 45006615, 44895515, 44717765, 44934837, 44935004, 44931674, 44934273, 44904578, 44951627, 44816863, 44952759, 44979094, 44990989, 44784195, 44958449, 44922006, 44911693, 44756468, 44981518, 44913431, 44798710, 44864368, 44746080, 44934515, 45029588, 45029584, 44972728, 44931309, 44935008, 44688252, 44730796, 45044456, 44901343, 44896029, 44918322, 44908529, 44746101, 44924965, 44842005, 44789933, 44972573, 45025313, 44921288, 44857450, 44756413, 44865494, 44491744, 44934481, 44934383, 44998956, 44996519, 45014869, 44867878, 44784291, 44924982, 44934093, 44701822, 44985223, 45059676, 44654611, 45032089, 44856378, 44925401, 44958440, 44756465, 44752261, 44997286, 44996860, 44491342, 44998793, 44998794, 44998486, 44998942, 45026167, 45026168, 44905108, 44691678, 44683032, 44851179, 44914381, 44865343, 44745926, 32528989, 44588477, 44833280, 44954307, 44900383, 44866077, 44939938, 44869758, 44984894, 44630421, 44978331, 44856011, 32480838, 44962739, 44922773, 44942596, 44961713, 44847948, 44847882, 44847950, 44895147, 44895142, 44838515, 44833757, 44927243, 45026148, 44848011, 44629617, 44926504, 44983319, 44947026, 44760237, 44833996, 44983068, 44914351, 44907650, 44884564, 44961511, 44730802, 44760581, 45027074, 44493810, 45002920, 44849851, 45002914, 45002915, 45023109, 45002186, 44919435, 44919493, 45002210, 44919486, 44919469, 44839822, 44986851, 45020513, 44786044, 44989453, 44951615, 44892051, 44901530, 45006795, 44914328, 44901452, 44924261, 44979071, 44777046, 44776961, 44948516, 45025600, 44876869, 44990729, 44907743, 44838199, 44924434, 44894287, 44942205, 44994664, 45006020, 44883547, 44833647, 44984222, 45025115, 44777518, 45006865, 44907635, 44918296, 44939969, 44979024, 44860972, 44783350, 44922612, 44878186, 44869941, 44901438, 44851355, 44979020, 44784170, 44784155, 44957481, 45025353, 44907804, 44937475, 44983330, 44983391, 44880983, 44912421, 44718101, 44954436, 44958825, 44964437, 44934332, 44834042, 41741374, 44751910, 44718029, 44687293, 44958650, 44904784, 44631598, 44994109, 44880920, 44999366, 44913580, 44913616, 44762796, 44913591, 44946077, 44954486, 44878157, 44981478, 44937386, 44908874, 44820383, 44871346, 44954183, 44934085, 45029278, 44934309, 44835565, 44736830, 44946075, 44869940, 44954634, 44780148, 44863860, 44760240, 44851328, 44798554, 44908287, 44490351, 45000852, 45002215, 44760271, 44871347, 44972769, 32406582, 44921890, 44943596, 44931458, 44985669, 44849039, 44872653, 45000918, 44944495, 45000869, 44749355, 44762933, 44849023, 44849037, 44818903, 44872819, 44848441, 44943607, 44873783, 44863695, 44937654, 44853143, 44863841, 44965783, 44877931, 44948587, 44917117, 44636216, 45031472, 44982408, 44944622, 44943086, 44982372, 45021115, 44931457, 44937398, 32471219, 44762946, 45029759, 44937525, 44869282, 44931523, 44511546, 44894285, 44908815, 44937506, 44819671, 44819672, 44931514, 44913416, 44894284, 44935485, 44818896, 44958992, 44954698, 44918241, 44937635, 44937309, 44937435, 44893953, 44893915, 45009684, 44842221, 45009679, 44943411, 44873926, 32383231, 44943365, 44873570, 44783681, 44879272, 44599128, 44714722, 44873024, 44873025, 44955379, 44739288, 44898286, 44998777, 45004025, 44917732, 44832879, 44968621, 44906813, 44948664, 44866145, 44867070, 44855992, 45015185, 44951253, 44861524, 45028241, 32225536, 44977224, 44998073, 44754743, 45025220, 45015415, 44996223, 42159717, 44788340, 44757690, 44948117, 44995926, 44834729, 44998563, 44878185, 44955453, 44997792, 44958439, 44720785, 45028862, 44909271, 44914986, 44883009, 42159732, 44979187, 44934358, 44998075, 44864339, 44997755, 44948547, 45044568, 44785343, 45021335, 45004895, 44655211, 44998000, 45002187, 44908614, 44946758, 44946147, 45029155, 41523339, 32362306, 42118730, 44778702, 44934643, 44908582, 44851244, 44954638, 44848890, 45029626, 44820389, 44740682, 44867102, 45000879, 44954195, 44869532, 44808625, 44720962, 44906838, 44957505, 44720671, 44840168, 45011164, 45025638, 44894286, 44863694, 44756552, 45026223, 44839863, 44908826, 44963233, 44780710, 44995234, 44856109, 44894666, 44979192, 44998279, 44997737, 44907758, 44972642, 44948541, 45068544, 44993809, 44706231, 44823748, 45021063, 44936019, 44935253, 44912704, 44997219, 44922698, 45029159, 44934218, 44976966, 44954651, 42133253, 44506877, 44894288, 45024744, 44672521, 44853910, 44720689, 44944614, 45002079, 41393123, 44933950, 45021329, 44876921, 44999384, 45029921, 44797640, 45017514, 44925392, 44718026, 44934228, 44723431, 44775536, 45025640, 44913413, 44981327, 44954414, 44851786, 45005262, 44883544, 44985115, 44982065, 32549006, 44879567, 44913427, 44922697, 44998026, 44948574, 44918282, 44753180, 45059674, 44873571, 44724200);
Date: 2025-03-07 12:02:35 Duration: 7ms
13 146,600 53s414ms 0ms 3ms 0ms select r.id from ir_rule r join ir_model m on (r.model_id = m.id) where m.model = ? and r.active and r.perm_read and (r.id in ( select rule_group_id from rule_group_rel rg join res_groups_users_rel gu on (rg.group_id = gu.gid) where gu.uid = ?) or r.global) order by r.id;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 07 00 4,956 1s692ms 0ms 01 3,855 1s333ms 0ms 02 2,129 758ms 0ms 03 1,195 361ms 0ms 04 1,610 567ms 0ms 05 1,366 461ms 0ms 06 852 288ms 0ms 07 1,038 330ms 0ms 08 4,724 1s485ms 0ms 09 6,673 2s278ms 0ms 10 11,412 4s239ms 0ms 11 6,798 2s378ms 0ms 12 13,940 5s753ms 0ms 13 12,581 5s972ms 0ms 14 10,321 3s854ms 0ms 15 11,916 4s170ms 0ms 16 6,182 2s120ms 0ms 17 5,446 1s680ms 0ms 18 10,223 3s256ms 0ms 19 9,497 3s244ms 0ms 20 8,056 2s936ms 0ms 21 6,792 2s550ms 0ms 22 5,038 1s697ms 0ms -
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 = 1220) OR r.global) ORDER BY r.id;
Date: 2025-03-07 22:17:41 Duration: 3ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.partner' 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 = 976) OR r.global) ORDER BY r.id;
Date: 2025-03-07 00:47:33 Duration: 3ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.lang' 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 = 877) OR r.global) ORDER BY r.id;
Date: 2025-03-07 17:21:55 Duration: 3ms
14 145,689 1m24s 0ms 32ms 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 #14
Day Hour Count Duration Avg duration Mar 07 00 863 506ms 0ms 01 1,234 808ms 0ms 02 1,018 700ms 0ms 03 446 281ms 0ms 04 655 443ms 0ms 05 623 499ms 0ms 06 214 139ms 0ms 07 577 284ms 0ms 08 3,051 1s430ms 0ms 09 3,833 2s775ms 0ms 10 6,850 4s268ms 0ms 11 5,057 2s649ms 0ms 12 12,581 8s188ms 0ms 13 21,837 16s341ms 0ms 14 11,857 6s439ms 0ms 15 6,056 3s152ms 0ms 16 5,687 2s979ms 0ms 17 1,898 1s149ms 0ms 18 3,645 1s785ms 0ms 19 11,921 5s799ms 0ms 20 16,552 8s393ms 0ms 21 18,781 9s819ms 0ms 22 10,453 5s260ms 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 (6014057, 6013321, 5884626, 6004398, 5976256, 6056226);
Date: 2025-03-07 17:21:56 Duration: 32ms
-
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 (6011492, 6012396, 5861459, 5974071, 4820356, 5737471, 5803694, 5929115, 6012355, 5352404, 5979079, 5837544, 6012405, 6012367, 5979106, 6012397, 6011498, 5641450, 5979144, 6011279, 6011418, 6012376, 6011320, 5926605, 5979107, 5938424, 5979230, 6011254, 5979029, 5979108, 6011311, 5980004, 6005446, 6005329, 6005563, 5979903, 5938502, 5926356, 5352262, 5785863, 5938598, 5938636, 5979976, 5938630, 5938209, 5979185, 6012359, 6011496, 6012403, 5938333, 5938543, 5979105, 6012341, 6012263, 5979075, 6012395, 6012386, 6011308, 6011453, 5860591, 6012399, 5404197, 5926327, 6012378, 5903153, 6012300, 6012407, 5930014, 5894866, 5742431, 5652078, 5495863, 5763721, 5908275, 5920174, 5938436, 5979934, 5979925, 5903156, 6011174, 5979222, 5979140, 5860797, 5979939, 5979909, 5979048, 6011078, 5979110, 5979049, 5979080, 5979917, 5839812, 5979998, 5974085, 5974165, 5352549, 5861502, 5897934, 5903160, 5979951, 5903013, 5926549, 5752241, 5979907, 5979957, 5974065, 5979995, 5839950, 5974333, 5938138, 5837105, 5938430, 5980001, 5974206, 5938602, 5926402, 5974140, 5979921, 5926486, 5837373, 5938465, 5839855, 5938672, 5877137, 5938434, 5979973, 5897885, 5938621, 5979164, 5897939, 5754224, 5366794, 5801713, 5470181, 5830906, 5686523, 5448390, 5566299, 5480691, 5785978, 5752849, 5663028, 5574686, 5680089, 5637236, 5782144, 5403421, 5434464, 5669403, 5740800, 5725384, 5759735, 5694883, 5468968, 5464198, 5436163, 4354027, 5388323, 5430106, 5711836, 5608206, 5467054, 5590653, 5569399, 5639214, 5412145, 5530474, 5506485, 5295377, 5491510, 5493064, 5561585, 5494766, 5226473, 3107588, 5491429, 5395607, 5475540, 5486140, 5522299, 5469357, 5546684, 5406672, 5220885, 5416598, 5297872, 5395820);
Date: 2025-03-07 20:38:19 Duration: 20ms
-
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 (5426825, 5577632, 5459753, 5624783, 5624781, 5214195, 5214191, 5495702, 5786039, 5786042, 5786037, 5577520, 5656710, 4912051, 4852610, 5312537, 5636767, 5533890, 5857752, 5401919, 5380434, 5151055, 4912079, 4948643, 5355789, 5355792, 4859052, 4859046, 5151053, 4912082, 5026726, 4814712, 4912080, 4912078, 4912076, 5122902, 5151054, 5355784, 4912072, 5151052, 5055787, 4859078, 4972196, 5355770, 4912073, 5170457, 4814709, 5355773, 4948641, 5235835, 5355776, 5455449, 5505854, 5355780, 5392123, 5544331, 5455453, 5455451, 5505850, 5316183, 5505858, 5544328, 5405066, 5705941, 5544325, 5611913, 5544323, 4859036, 5091860, 4913688, 4916230, 4946620, 4913689, 4658700, 4916240, 4859146, 5019414, 5026710, 5026703, 5026705, 4948638, 5026709, 4948636, 4962683, 5122733, 5026704, 5122900, 5055758, 5026708, 5026707, 4569191, 4963021, 5055747, 5173503, 5173494, 5173500, 5126345, 4882240, 5214890, 5082171, 5277209, 5355763, 5277221, 5122898, 5382780, 5343457, 5277123, 5214861, 5277130, 5173547, 5173543, 5278430, 5277215, 5343463, 5277137, 5355756, 5214871, 5277217, 5355759, 5277133, 5214874, 5214857, 5082169, 5173460, 5277211, 5382786, 5278434, 5214887, 5277213, 5122734, 5277219, 5382796, 5355753, 5275228, 5165043, 5436645, 5382798, 5382789, 5503707, 5455432, 5455436, 5455433, 5638936, 5611970, 5277125, 5455435, 5455444, 5611965, 5455434, 5455442, 5455439, 5470644, 5455437, 5583238, 5611955, 5638930, 5583235, 5638928, 5611950, 5470639, 5455443, 5583237, 5343460, 5455438, 5611945, 5544221, 5611961, 5611941, 5503711, 5636846, 5544214, 5636852, 5546252, 5667107, 5664941, 5667108, 5742273, 5268371, 5544217, 5638911, 5638917, 5777853, 5638914, 5638920, 5184584, 5635213, 5875463, 4998360, 4998376, 5116597, 5116598, 5116596, 5706107, 5022059, 5082168, 5636836, 5405078, 5495604, 5500504, 5022052, 5022054, 5120715, 5401948, 5401945, 5468948, 5468942, 5468939, 5468945, 5669018, 5611975, 4948427, 5082128, 5022063, 4974293, 5405030, 5405032, 5091816, 5314423, 5495642, 5495638, 5571993, 5495640, 5706115, 5706124, 5742290, 5698044, 5705997, 5742288, 5698046, 5786331, 5698045, 5742289, 5824197, 5824214, 5211962, 5624515, 5120808, 5270429, 5318157, 5318160, 5572004, 5086963, 5080490, 4998178, 5268402, 5541762, 5000453, 4817461, 5211933, 4974266, 5538164, 5207835, 4821135, 4919770, 5051444, 5051446, 5312568, 5242557, 5242553, 5249567, 5262619, 5483939, 4823313, 4918695, 4882213, 4962613, 4918697, 4998308, 5085585, 4659541, 4659534, 5022030, 5022035, 4962609, 4659539, 4765230, 5122709, 5122710, 5085582, 5170521, 5170515, 4962611, 5242640, 4918699, 5357879, 5357870, 5170527, 5357876, 5459787, 5824393, 5824398, 5705630, 5824403, 5895459, 5428978, 5428976, 5428977, 5428998, 5429002, 5428971, 5429008, 5543752, 5471622, 5471612, 5471509, 5471659, 5471598, 5471603, 5508459, 5591755, 5471682, 5624551, 5624552, 5428997, 5624550, 5471617, 5471655, 5242610, 5173565, 5572005, 5404243, 5857736, 5857738, 4978600, 4324597, 4931112, 4979430, 4979424, 4931116, 4979426, 5035876, 4979028, 4866640, 4834012, 4898277, 4979025, 4979022, 4979041, 4896553, 4979035, 4866646, 5094096, 5035885, 5191002, 5191031, 5191037, 5191011, 4978602, 5094146, 4979045, 5134033, 5094133, 5190971, 4979015, 4979038, 5134036, 5067344, 5190993, 5094060, 5286059, 5286066, 5360174, 5360218, 5286040, 5286038, 5360194, 5286036, 5360213, 5360374, 5191006, 5286063, 5470098, 5469832, 5149139, 5559227, 5509196, 5470107, 5509187, 5509179, 5796706, 5648678, 5648677, 5728644, 5469830, 5765799, 5796703, 5648680, 5648671, 5834707, 5470097, 5470093, 5728551, 5796734, 5796700, 5648669, 5796715, 5774423, 4959190, 5242644, 5495606, 4948127, 4948129, 4948131, 5116602, 5116601, 5019819, 4948133, 4948134, 4998317, 5611937, 5468970, 5455413, 5392275, 4918577, 4962622, 4962618, 5270434, 5357888, 5270435, 5270438, 5270436, 5571945, 5490852, 5270437, 5312585, 5786488, 5700464, 5611754, 5500499, 5705703, 5819258, 5462769, 5750505, 5404282, 5330087, 5672902);
Date: 2025-03-07 17:28:00 Duration: 14ms
15 133,632 11h43m1s 244ms 2s707ms 315ms 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 #15
Day Hour Count Duration Avg duration Mar 07 00 1,541 7m1s 273ms 01 2,239 10m14s 274ms 02 2,258 10m15s 272ms 03 1,528 6m48s 267ms 04 2,746 12m30s 273ms 05 2,444 11m6s 272ms 06 2,094 9m21s 268ms 07 2,514 11m16s 268ms 08 3,789 17m13s 272ms 09 3,604 16m19s 271ms 10 6,297 32m19s 308ms 11 4,844 23m2s 285ms 12 10,505 59m44s 341ms 13 13,253 1h23m52s 379ms 14 9,169 45m29s 297ms 15 3,477 16m52s 291ms 16 4,592 21m18s 278ms 17 1,234 5m43s 278ms 18 2,691 12m34s 280ms 19 11,014 55m34s 302ms 20 21,999 2h7m53s 348ms 21 16,387 1h30m3s 329ms 22 3,413 16m25s 288ms -
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" = '859950')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:19:26 Duration: 2s707ms
-
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" = '859950')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:19:24 Duration: 2s702ms
-
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" = '849545')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:17:40 Duration: 2s604ms
16 128,001 14s778ms 0ms 1ms 0ms select "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" from "notebook_package" where "notebook_package".id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 07 00 3,972 271ms 0ms 01 3,730 267ms 0ms 02 2,515 197ms 0ms 03 1,397 99ms 0ms 04 2,753 216ms 0ms 05 2,251 180ms 0ms 06 2,386 177ms 0ms 07 1,385 101ms 0ms 08 2,447 181ms 0ms 09 6,204 527ms 0ms 10 11,425 1s106ms 0ms 11 6,796 577ms 0ms 12 12,748 1s673ms 0ms 13 17,253 3s139ms 0ms 14 11,095 1s315ms 0ms 15 9,003 943ms 0ms 16 6,486 709ms 0ms 17 1,993 202ms 0ms 18 5,054 499ms 0ms 19 4,585 523ms 0ms 20 5,039 671ms 0ms 21 4,825 780ms 0ms 22 2,659 414ms 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-03-07 17:22:15 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414, 2);
Date: 2025-03-07 13:06:16 Duration: 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-03-07 12:46:12 Duration: 0ms
17 117,742 1h59m1s 46ms 483ms 60ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 07 00 4,672 4m21s 55ms 01 4,306 4m1s 56ms 02 2,813 2m36s 55ms 03 1,189 1m5s 54ms 04 3,013 2m48s 55ms 05 3,629 3m21s 55ms 06 3,386 3m9s 55ms 07 1,500 1m22s 55ms 08 2,041 1m52s 55ms 09 3,812 3m34s 56ms 10 9,243 9m15s 60ms 11 7,074 6m53s 58ms 12 12,185 13m30s 66ms 13 12,679 16m26s 77ms 14 8,191 8m13s 60ms 15 8,170 7m55s 58ms 16 6,155 5m45s 56ms 17 2,052 1m53s 55ms 18 4,100 3m42s 54ms 19 5,233 5m 57ms 20 4,850 4m46s 59ms 21 4,745 4m47s 60ms 22 2,704 2m35s 57ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5984188, 5947209, 5935364, 5924835, 5917308)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-07 13:14:01 Duration: 483ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6013265, 6004091, 6001972)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-07 13:16:33 Duration: 449ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6035381, 6057864)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-07 13:12:46 Duration: 404ms
18 116,235 20s102ms 0ms 2ms 0ms select ? from res_groups_users_rel where uid = ? and gid in ( select res_id from ir_model_data where module = ? and name = ? and model = ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 07 00 4,359 643ms 0ms 01 3,676 538ms 0ms 02 2,153 310ms 0ms 03 1,322 177ms 0ms 04 1,668 231ms 0ms 05 1,714 236ms 0ms 06 960 129ms 0ms 07 1,198 165ms 0ms 08 4,935 723ms 0ms 09 5,155 806ms 0ms 10 8,468 1s466ms 0ms 11 5,090 818ms 0ms 12 10,539 2s149ms 0ms 13 9,839 2s343ms 0ms 14 7,978 1s420ms 0ms 15 8,666 1s469ms 0ms 16 4,856 783ms 0ms 17 4,159 672ms 0ms 18 7,743 1s212ms 0ms 19 7,236 1s230ms 0ms 20 5,483 968ms 0ms 21 5,077 944ms 0ms 22 3,961 660ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1008 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_system' AND model = 'res.groups');
Date: 2025-03-07 04:52:50 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2025-03-07 13:34:03 Duration: 1ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 855 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_track_search' AND name = 'group_search_training_shipping' AND model = 'res.groups');
Date: 2025-03-07 13:03:23 Duration: 1ms
19 103,140 34s161ms 0ms 1ms 0ms select "price_list".id from "price_list" where (("price_list"."from_office_id" = ?) and ("price_list"."to_office_id" = ?)) order by "price_list"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 07 00 12,680 3s806ms 0ms 01 6,884 2s322ms 0ms 02 7,337 2s539ms 0ms 03 4,297 1s264ms 0ms 04 9,400 3s79ms 0ms 05 12,432 3s764ms 0ms 06 8,577 2s674ms 0ms 07 2,534 1s75ms 0ms 08 1,977 638ms 0ms 09 1,747 735ms 0ms 10 3,057 1s328ms 0ms 11 872 358ms 0ms 12 1,930 915ms 0ms 13 1,330 792ms 0ms 14 993 406ms 0ms 15 2,161 719ms 0ms 16 1,647 552ms 0ms 17 2,340 672ms 0ms 18 2,662 816ms 0ms 19 5,516 1s681ms 0ms 20 5,215 1s605ms 0ms 21 3,698 1s218ms 0ms 22 3,854 1s192ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 6) AND ("price_list"."to_office_id" = 28)) ORDER BY "price_list"."id";
Date: 2025-03-07 17:28:02 Duration: 1ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 32) AND ("price_list"."to_office_id" = 68)) ORDER BY "price_list"."id";
Date: 2025-03-07 12:13:32 Duration: 1ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 51) AND ("price_list"."to_office_id" = 123)) ORDER BY "price_list"."id";
Date: 2025-03-07 13:12:40 Duration: 1ms
20 92,744 26s860ms 0ms 30ms 0ms insert into "mail_message" ("author_id", "body", "create_date", "create_uid", "date", "email_add_signature", "email_from", "is_internal", "message_id", "message_type", "model", "record_name", "reply_to", "res_id", "subject", "subtype_id", "write_date", "write_uid") values (?, ?, ?, ?, ?, false, null, true, ?, ?, ?, null, null, ?, null, ?, ?, ?) returning "id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 07 00 5,856 1s497ms 0ms 01 3,894 1s62ms 0ms 02 3,344 916ms 0ms 03 1,860 531ms 0ms 04 4,365 1s208ms 0ms 05 5,880 1s584ms 0ms 06 6,139 1s574ms 0ms 07 2,138 492ms 0ms 08 1,057 317ms 0ms 09 1,430 426ms 0ms 10 5,148 1s499ms 0ms 11 5,194 1s425ms 0ms 12 8,705 2s786ms 0ms 13 7,136 2s634ms 0ms 14 5,691 1s517ms 0ms 15 4,446 1s133ms 0ms 16 4,491 1s9ms 0ms 17 1,620 654ms 0ms 18 2,096 746ms 0ms 19 3,035 955ms 0ms 20 3,192 1s23ms 0ms 21 3,316 1s28ms 0ms 22 2,711 832ms 0ms -
INSERT INTO "mail_message" ("author_id", "body", "create_date", "create_uid", "date", "email_add_signature", "email_from", "is_internal", "message_id", "message_type", "model", "record_name", "reply_to", "res_id", "subject", "subtype_id", "write_date", "write_uid") VALUES (8006396, '', '2025-03-07 11:06:46.669479', 1029, '2025-03-07 11:08:55', false, NULL, true, '<924602367730987.1741345735.620122909545898-openerp-message-notify@urg-dell>', 'notification', 'shipping.policy', NULL, NULL, 5965990, NULL, 2, '2025-03-07 11:06:46.669479', 1029) RETURNING "id";
Date: 2025-03-07 12:08:55 Duration: 30ms
-
INSERT INTO "mail_message" ("author_id", "body", "create_date", "create_uid", "date", "email_add_signature", "email_from", "is_internal", "message_id", "message_type", "model", "record_name", "reply_to", "res_id", "subject", "subtype_id", "write_date", "write_uid") VALUES (8006277, '', '2025-03-07 11:11:16.218346', 918, '2025-03-07 11:12:19', false, NULL, true, '<180969613791332.1741345939.729337692260742-openerp-message-notify@urg-dell>', 'notification', 'shipping.policy', NULL, NULL, 6060774, NULL, 2, '2025-03-07 11:11:16.218346', 918) RETURNING "id";
Date: 2025-03-07 12:12:19 Duration: 29ms
-
INSERT INTO "mail_message" ("author_id", "body", "create_date", "create_uid", "date", "email_add_signature", "email_from", "is_internal", "message_id", "message_type", "model", "record_name", "reply_to", "res_id", "subject", "subtype_id", "write_date", "write_uid") VALUES (8006277, '', '2025-03-07 11:01:30.192406', 918, '2025-03-07 11:02:42', false, NULL, true, '<347633983878927.1741345362.919630527496338-openerp-message-notify@urg-dell>', 'notification', 'shipping.policy', NULL, NULL, 6029452, NULL, 2, '2025-03-07 11:01:30.192406', 918) RETURNING "id";
Date: 2025-03-07 12:02:42 Duration: 25ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 149ms 15m7s 14s45ms 71 16m37s 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 (...)))))))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 07 00 7 6s866ms 980ms 09 1 1s122ms 1s122ms 10 1 1s459ms 1s459ms 11 4 4s843ms 1s210ms 12 4 15m11s 3m47s 13 3 4s104ms 1s368ms 14 4 5s332ms 1s333ms 15 9 11s366ms 1s262ms 16 5 6s469ms 1s293ms 17 6 8s674ms 1s445ms 18 2 2s459ms 1s229ms 19 8 10s377ms 1s297ms 20 6 8s183ms 1s363ms 21 2 2s627ms 1s313ms 22 9 11s721ms 1s302ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 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"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 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 (("policy_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 ("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 ("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"."deliver_date" IS NOT NULL AND ("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)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-07 12:07:50 Duration: 15m7s
-
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 (111))))))) 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 (111)))))) 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 (111)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))))) 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 (111))))))))) 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 (111)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-07 17:21:58 Duration: 2s274ms
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (121))))))) 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 (121)))))) 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 (121)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (121)))))) 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 (121))))))))) 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 (121)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-07 20:35:47 Duration: 1s518ms
2 881ms 2s654ms 1s99ms 14,351 4h23m 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 #2
Day Hour Count Duration Avg duration Mar 07 00 1,452 26m16s 1s85ms 01 918 16m41s 1s90ms 02 775 13m52s 1s74ms 03 926 16m15s 1s53ms 04 1,842 33m24s 1s88ms 05 2,821 51m57s 1s105ms 06 1,794 32m26s 1s85ms 07 204 3m41s 1s84ms 08 365 6m36s 1s86ms 09 137 2m28s 1s83ms 10 401 7m40s 1s148ms 11 113 2m7s 1s128ms 12 180 3m43s 1s241ms 13 171 4m35s 1s608ms 14 60 1m9s 1s161ms 15 362 6m53s 1s142ms 16 308 5m42s 1s110ms 17 123 2m7s 1s39ms 18 225 3m53s 1s38ms 19 385 7m 1s92ms 20 255 4m38s 1s90ms 21 50 1m1s 1s226ms 22 484 8m46s 1s87ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '809257')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-07 13:18:18 Duration: 2s654ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '882212')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-07 13:17:53 Duration: 2s650ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '882210')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-07 13:17:36 Duration: 2s624ms
3 882ms 1s768ms 1s19ms 7,003 1h58m57s 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 #3
Day Hour Count Duration Avg duration Mar 07 00 1,459 24m38s 1s13ms 01 370 6m5s 986ms 02 498 8m14s 992ms 08 52 51s232ms 985ms 09 42 39s944ms 951ms 12 112 2m17s 1s229ms 13 15 21s185ms 1s412ms 14 82 1m24s 1s29ms 15 146 2m33s 1s53ms 16 63 1m5s 1s32ms 17 466 7m43s 995ms 18 379 6m15s 991ms 19 1,005 17m7s 1s22ms 20 1,021 17m21s 1s20ms 21 823 14m9s 1s31ms 22 470 8m8s 1s38ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '201613')) 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 (67))))))) 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 (67)))))) 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 (67)))))) 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 (67))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-07 13:10:28 Duration: 1s768ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '876704')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-07 02:10:56 Duration: 1s672ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '791623')) 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 (11))))))) 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 (11)))))) 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 (11)))))) 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 (11))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-07 20:44:19 Duration: 1s583ms
4 638ms 7s664ms 814ms 35,693 8h4m28s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 07 00 720 9m2s 752ms 01 583 7m17s 751ms 02 541 6m50s 758ms 03 154 1m55s 749ms 04 281 3m38s 776ms 05 160 2m13s 834ms 06 146 2m2s 838ms 07 115 1m33s 810ms 08 509 6m10s 727ms 09 2,130 26m13s 738ms 10 2,656 34m47s 785ms 11 2,151 27m11s 758ms 12 3,710 55m6s 891ms 13 5,069 1h29m43s 1s61ms 14 2,354 31m23s 799ms 15 2,893 36m52s 764ms 16 1,662 20m28s 739ms 17 1,025 11m56s 699ms 18 1,956 22m42s 696ms 19 2,259 27m28s 729ms 20 1,904 24m16s 764ms 21 1,811 24m10s 801ms 22 904 11m24s 757ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6051151, 6032175, 6009954, 5986548)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:19:20 Duration: 7s664ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6057931, 6057928, 6057802, 6053902, 6053773, 6053690, 6053657, 6053648, 6053479, 6048104, 6047450, 6047434, 6041462, 6041450, 6040911, 6040895, 6040884, 6040851, 6040849, 6040785, 6040776, 6040683, 6040659, 6039709, 6039642, 6039625, 6039571, 6039540, 6039473, 6011295)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:17:32 Duration: 7s120ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6065210, 6027250, 5987222, 5986377, 5985900, 5985856, 5985638, 5985629, 5985627, 5985617, 5985608, 5985599, 5985586, 5985549, 5985547, 5985546, 5985538, 5985527, 5985515, 5985508, 5978864, 5976963, 5976866, 5976257, 5976222, 5973789, 5972818, 5971459, 5971259, 5971255, 5971156, 5969818, 5969106, 5969068, 5967489, 5966585, 5965870, 5965848, 5965842, 5965804, 5965124, 5964686, 5964096, 5963868, 5963455, 5962620, 5962403, 5961886, 5961524, 5961269, 5959462, 5959237, 5959038, 5958934, 5957725, 5957692, 5955607, 5955524, 5955103, 5953225, 5953194, 5951794, 5950472, 5941971, 5933079, 5931064, 5930290, 5929442, 5927644, 5927359, 5857582, 5770821, 5697941, 5564039)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:19:14 Duration: 6s876ms
5 637ms 7s725ms 782ms 229,886 2d1h59m55s 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 #5
Day Hour Count Duration Avg duration Mar 07 00 9,821 2h2m55s 750ms 01 9,045 1h49m50s 728ms 02 8,932 1h48m18s 727ms 03 3,516 42m36s 727ms 04 9,019 1h50m30s 735ms 05 8,925 1h52m8s 753ms 06 8,135 1h39m45s 735ms 07 5,092 59m42s 703ms 08 4,171 49m38s 714ms 09 7,256 1h26m31s 715ms 10 13,433 2h52m32s 770ms 11 8,971 1h51m18s 744ms 12 17,548 4h13m7s 865ms 13 24,867 6h55m29s 1s2ms 14 12,392 2h40m12s 775ms 15 10,065 2h6m25s 753ms 16 7,224 1h27m18s 725ms 17 3,442 40m56s 713ms 18 5,858 1h8m12s 698ms 19 12,532 2h35m3s 742ms 20 11,407 2h24m36s 760ms 21 16,364 3h35m46s 791ms 22 11,871 2h26m59s 742ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6069560)) AND (("shipping_track"."id" not in (50618614, 50618614)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:18:15 Duration: 7s725ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6069565)) AND (("shipping_track"."id" not in (50618823, 50618823)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:18:36 Duration: 7s602ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6069562)) AND (("shipping_track"."id" not in (50618705, 50618705)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-07 13:18:23 Duration: 6s564ms
6 22ms 1s906ms 648ms 910 9m49s 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 #6
Day Hour Count Duration Avg duration Mar 07 00 27 10s264ms 380ms 01 6 801ms 133ms 02 1 117ms 117ms 04 3 935ms 311ms 07 3 85ms 28ms 08 8 2s928ms 366ms 09 26 15s105ms 580ms 10 46 31s718ms 689ms 11 36 26s770ms 743ms 12 101 1m8s 674ms 13 107 1m18s 732ms 14 77 52s890ms 686ms 15 87 58s437ms 671ms 16 99 1m2s 631ms 17 29 14s584ms 502ms 18 62 37s924ms 611ms 19 56 31s692ms 565ms 20 48 36s988ms 770ms 21 54 32s365ms 599ms 22 34 27s186ms 799ms -
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 (29)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-07 13:21:08 Duration: 1s906ms
-
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 (4)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (4))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-07 13:06:23 Duration: 1s869ms
-
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 (60)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (60))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-07 13:19:15 Duration: 1s760ms
7 257ms 3s331ms 419ms 20,499 2h23m9s select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 07 08 65 30s123ms 463ms 10 2,011 12m51s 383ms 11 2,515 16m2s 382ms 12 4,030 30m21s 451ms 13 2,703 23m51s 529ms 14 3,684 24m26s 398ms 15 1,658 11m22s 411ms 16 2,397 14m40s 367ms 17 520 3m16s 378ms 18 916 5m46s 378ms -
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" = '715999')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:17:36 Duration: 3s331ms
-
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" = '850091')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:17:32 Duration: 3s323ms
-
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" = '941649')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:17:39 Duration: 3s212ms
8 244ms 2s707ms 315ms 133,632 11h43m1s 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 #8
Day Hour Count Duration Avg duration Mar 07 00 1,541 7m1s 273ms 01 2,239 10m14s 274ms 02 2,258 10m15s 272ms 03 1,528 6m48s 267ms 04 2,746 12m30s 273ms 05 2,444 11m6s 272ms 06 2,094 9m21s 268ms 07 2,514 11m16s 268ms 08 3,789 17m13s 272ms 09 3,604 16m19s 271ms 10 6,297 32m19s 308ms 11 4,844 23m2s 285ms 12 10,505 59m44s 341ms 13 13,253 1h23m52s 379ms 14 9,169 45m29s 297ms 15 3,477 16m52s 291ms 16 4,592 21m18s 278ms 17 1,234 5m43s 278ms 18 2,691 12m34s 280ms 19 11,014 55m34s 302ms 20 21,999 2h7m53s 348ms 21 16,387 1h30m3s 329ms 22 3,413 16m25s 288ms -
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" = '859950')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:19:26 Duration: 2s707ms
-
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" = '859950')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:19:24 Duration: 2s702ms
-
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" = '849545')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:17:40 Duration: 2s604ms
9 247ms 2s91ms 305ms 4,248 21m36s select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 07 08 711 3m9s 267ms 09 1,064 4m49s 271ms 10 632 3m5s 293ms 12 754 4m9s 331ms 13 809 4m58s 368ms 14 238 1m12s 304ms 22 40 11s382ms 284ms -
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" = '711544')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-07 13:02:53 Duration: 2s91ms
-
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" = '708240')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-07 13:02:58 Duration: 2s17ms
-
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" = '467850')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-07 13:03:24 Duration: 758ms
10 247ms 2s688ms 292ms 11,993 58m26s 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 #10
Day Hour Count Duration Avg duration Mar 07 00 452 2m5s 276ms 01 685 3m7s 274ms 02 293 1m22s 281ms 03 285 1m15s 266ms 04 441 1m59s 271ms 05 395 1m47s 272ms 06 309 1m22s 268ms 07 71 18s770ms 264ms 08 773 3m29s 270ms 09 1,920 8m46s 274ms 10 1,227 5m59s 292ms 11 427 2m10s 305ms 12 272 1m32s 340ms 13 725 4m32s 376ms 14 736 3m47s 308ms 15 496 2m22s 287ms 16 224 1m2s 277ms 17 4 1s126ms 281ms 18 455 2m8s 282ms 19 376 1m53s 301ms 20 325 1m40s 307ms 21 817 4m15s 312ms 22 285 1m24s 296ms -
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" = '823520')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:18:07 Duration: 2s688ms
-
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" = '922707')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:18:11 Duration: 2s246ms
-
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" = '881997')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67, 79, 128))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 13:17:44 Duration: 1s674ms
11 248ms 518ms 292ms 1,892 9m12s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 07 00 321 1m28s 275ms 01 188 51s19ms 271ms 05 300 1m20s 269ms 08 252 1m8s 270ms 09 239 1m4s 271ms 10 31 8s706ms 280ms 11 66 18s270ms 276ms 12 367 2m9s 352ms 13 92 32s76ms 348ms 22 36 10s781ms 299ms -
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" = '921509')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 12:01:08 Duration: 518ms
-
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" = '850129')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 12:06:08 Duration: 437ms
-
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" = '782032')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 12:06:10 Duration: 428ms
12 231ms 2s102ms 279ms 2,726 12m41s select name from shipping_policy order by create_date desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 07 00 120 31s727ms 264ms 01 120 31s588ms 263ms 02 120 31s888ms 265ms 03 120 30s763ms 256ms 04 120 31s595ms 263ms 05 120 31s625ms 263ms 06 120 31s319ms 260ms 07 120 30s780ms 256ms 08 120 30s959ms 257ms 09 120 31s636ms 263ms 10 120 34s175ms 284ms 11 120 32s774ms 273ms 12 120 37s760ms 314ms 13 120 51s299ms 427ms 14 120 34s46ms 283ms 15 120 32s832ms 273ms 16 120 31s927ms 266ms 17 116 30s673ms 264ms 18 120 31s703ms 264ms 19 120 33s764ms 281ms 20 120 35s494ms 295ms 21 120 35s614ms 296ms 22 90 25s52ms 278ms -
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-03-07 13:08:04 Duration: 2s102ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-03-07 13:12:03 Duration: 1s506ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-03-07 13:13:03 Duration: 1s429ms
13 89ms 906ms 242ms 42,114 2h50m11s 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 Mar 07 00 5,766 24m17s 252ms 01 2,538 9m21s 221ms 02 2,514 9m40s 231ms 03 1,820 6m55s 228ms 04 3,630 14m35s 241ms 05 5,586 22m4s 237ms 06 3,536 13m52s 235ms 07 406 1m35s 234ms 08 804 3m12s 239ms 09 352 1m28s 250ms 10 774 3m18s 256ms 11 216 48s205ms 223ms 12 566 2m44s 291ms 13 356 2m22s 399ms 14 284 1m5s 230ms 15 978 4m26s 272ms 16 732 3m22s 277ms 17 1,166 4m45s 245ms 18 1,202 4m39s 232ms 19 2,752 11m35s 252ms 20 2,534 9m54s 234ms 21 1,732 6m58s 241ms 22 1,870 7m6s 227ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'الدمشقي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-07 13:17:53 Duration: 906ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'الدمشقي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-07 13:17:52 Duration: 899ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'مصطفي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-07 13:17:37 Duration: 897ms
14 161ms 441ms 233ms 4,390 17m4s 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 #14
Day Hour Count Duration Avg duration Mar 07 08 711 2m20s 198ms 09 1,206 4m9s 206ms 10 632 2m23s 227ms 12 753 3m15s 259ms 13 810 3m50s 284ms 14 238 56s823ms 238ms 22 40 8s704ms 217ms -
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" = '745115')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-07 13:03:12 Duration: 441ms
-
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" = '111944')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-07 13:02:35 Duration: 437ms
-
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" = '694480')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-07 13:02:17 Duration: 425ms
15 166ms 323ms 206ms 11,721 40m20s 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 Mar 07 00 735 2m28s 202ms 01 1,318 4m32s 206ms 02 1,911 6m31s 204ms 03 1,113 3m43s 200ms 04 2,118 7m27s 211ms 05 1,749 6m6s 209ms 06 1,519 5m12s 206ms 07 1,223 4m10s 205ms 08 35 7s32ms 200ms -
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" = '923918')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 05:00:14 Duration: 323ms
-
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" = '789399')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 05:00:14 Duration: 302ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '908646')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-07 01:59:11 Duration: 265ms
16 118ms 1s270ms 159ms 4,688 12m27s select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 07 00 99 13s133ms 132ms 01 56 7s551ms 134ms 02 75 10s106ms 134ms 03 20 2s623ms 131ms 04 10 1s315ms 131ms 07 10 1s287ms 128ms 08 228 29s81ms 127ms 09 235 31s176ms 132ms 10 503 1m15s 149ms 11 246 34s581ms 140ms 12 1,008 2m45s 164ms 13 575 2m19s 242ms 14 347 51s674ms 148ms 15 332 46s778ms 140ms 16 116 15s685ms 135ms 17 60 8s365ms 139ms 18 104 14s78ms 135ms 19 133 19s535ms 146ms 20 169 25s253ms 149ms 21 203 31s925ms 157ms 22 159 22s542ms 141ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 28)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-07 13:18:04 Duration: 1s270ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 17)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-07 13:12:03 Duration: 1s215ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 24)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-07 13:12:05 Duration: 1s207ms
17 113ms 1s10ms 151ms 9,040 22m48s select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 07 00 242 32s113ms 132ms 01 123 15s799ms 128ms 02 19 2s647ms 139ms 03 35 4s794ms 136ms 04 9 1s267ms 140ms 08 181 24s115ms 133ms 09 471 1m5s 139ms 10 770 1m50s 142ms 11 636 1m31s 143ms 12 1,213 3m15s 161ms 13 1,142 3m46s 198ms 14 692 1m38s 143ms 15 636 1m29s 140ms 16 439 1m1s 140ms 17 377 51s423ms 136ms 18 611 1m22s 134ms 19 340 48s804ms 143ms 20 418 1m1s 148ms 21 543 1m24s 155ms 22 143 19s794ms 138ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8280496)) AND (("cash_track"."id" not in (9074574)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-07 13:16:34 Duration: 1s10ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8280333)) AND (("cash_track"."id" not in (9073305)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-07 13:03:24 Duration: 975ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8212117)) AND (("cash_track"."id" not in (8587669, 8591444, 8603584, 9073500, 9073500)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-07 13:06:27 Duration: 881ms
18 54ms 433ms 75ms 37,204 46m33s select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 07 00 12 850ms 70ms 08 45 2s923ms 64ms 09 11 726ms 66ms 10 3,476 4m10s 72ms 11 3,961 4m29s 68ms 12 6,688 8m40s 77ms 13 6,822 10m37s 93ms 14 3,984 4m42s 71ms 15 4,421 5m6s 69ms 16 4,849 5m26s 67ms 17 1,072 1m11s 66ms 18 1,839 2m 65ms 19 24 1s670ms 69ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5910479) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:18:02 Duration: 433ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5917120) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:18:20 Duration: 423ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5942003) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:17:35 Duration: 420ms
19 50ms 356ms 67ms 18,867 21m7s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 07 08 26 1s598ms 61ms 09 3 178ms 59ms 10 1,907 2m3s 64ms 11 1,894 1m56s 61ms 12 3,961 4m39s 70ms 13 2,778 3m46s 81ms 14 2,022 2m10s 64ms 15 2,225 2m22s 64ms 16 2,405 2m27s 61ms 17 575 35s284ms 61ms 18 1,071 1m4s 59ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5882294) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:13:54 Duration: 356ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6002484) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:18:17 Duration: 347ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6004684) ORDER BY "collection_policy"."id";
Date: 2025-03-07 13:18:17 Duration: 341ms
20 46ms 483ms 60ms 117,742 1h59m1s select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 07 00 4,672 4m21s 55ms 01 4,306 4m1s 56ms 02 2,813 2m36s 55ms 03 1,189 1m5s 54ms 04 3,013 2m48s 55ms 05 3,629 3m21s 55ms 06 3,386 3m9s 55ms 07 1,500 1m22s 55ms 08 2,041 1m52s 55ms 09 3,812 3m34s 56ms 10 9,243 9m15s 60ms 11 7,074 6m53s 58ms 12 12,185 13m30s 66ms 13 12,679 16m26s 77ms 14 8,191 8m13s 60ms 15 8,170 7m55s 58ms 16 6,155 5m45s 56ms 17 2,052 1m53s 55ms 18 4,100 3m42s 54ms 19 5,233 5m 57ms 20 4,850 4m46s 59ms 21 4,745 4m47s 60ms 22 2,704 2m35s 57ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5984188, 5947209, 5935364, 5924835, 5917308)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-07 13:14:01 Duration: 483ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6013265, 6004091, 6001972)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-07 13:16:33 Duration: 449ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6035381, 6057864)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-07 13:12:46 Duration: 404ms
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
- 11,861,430 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 14777 FATAL entries
- 279 ERROR entries
- 0 WARNING entries
- 1 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 14,602 Max number of times the same event was reported
- 15,057 Total events found
Rank Times reported Error 1 14,602 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 07 15 214 16 743 17 783 18 1,144 19 3,147 20 3,222 21 3,090 22 2,259 - FATAL: password authentication failed for user "postgres"
Detail: User "postgres" has no password assigned. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-03-07 15:42:08
2 260 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 07 00 3 01 6 02 3 04 2 05 3 06 1 07 1 08 5 09 6 10 6 11 12 12 21 13 71 14 19 15 5 16 4 17 2 18 8 19 21 20 16 21 30 22 15 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: UPDATE "shipping_policy" SET "destination_type" = 'warehouse', "last_action" = '2025-03-06', "last_car" = 825, "last_driver" = 8006876, "last_office" = NULL, "last_office_warehouse" = 27, "last_warehouse" = 16, "state" = 'in_way', "write_date" = '2025-03-06 23:00:29.217797', "write_uid" = 1070 WHERE id IN (6055218, 6055216, 6055214, 6055212, 6055210)
Date: 2025-03-07 00:00:33
Statement: UPDATE "shipping_policy" SET "last_office_warehouse" = NULL, "last_warehouse" = 61, "write_date" = '2025-03-06 23:18:39.626890', "write_uid" = 970 WHERE id IN (6039801)
Date: 2025-03-07 00:18:54
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-06 23:20:01.879255', "write_uid" = 1088 WHERE id IN (44998138)
Date: 2025-03-07 00:20:19
3 145 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 07 17 145 - FATAL: terminating connection due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-03-07 17:20:02
4 8 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 07 17 8 5 8 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 07 07 1 10 2 13 3 14 1 18 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 23878 waits for ShareLock on transaction 10493247; blocked by process 28169. Process 28169 waits for ShareLock on transaction 10493246; blocked by process 23878. Process 23878: update shipping_policy set count_search=2 where id=6061907 Process 28169: UPDATE "shipping_policy" SET "before_office_id" = 70, "write_date" = '2025-03-07 06:12:45.675428', "write_uid" = 1010 WHERE id IN (6061980, 6061957, 6061947, 6061942, 6061940, 6061926, 6061925, 6061907, 6061905, 6054612, 6054570, 6052965, 6052947, 6052738, 6052706, 6052602, 6052525)
Context: while updating tuple (68602,33) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=2 where id=6061907Date: 2025-03-07 07:12:50
Detail: Process 93185 waits for ShareLock on transaction 10497962; blocked by process 4517. Process 4517 waits for ShareLock on transaction 10497988; blocked by process 93185. Process 93185: update shipping_policy set count_search=1 where id=6069015 Process 4517: UPDATE "shipping_policy" SET "confirm_date" = '2025-03-07', "new_destination_button" = false, "state" = 'confirm', "write_date" = '2025-03-07 09:32:09.047447', "write_uid" = 985 WHERE id IN (6069041, 6069040, 6069039, 6069038, 6069037, 6069036, 6069035, 6069034, 6069033, 6069032, 6069031, 6069030, 6069029, 6069028, 6069027, 6069026, 6069025, 6069024, 6069023, 6069022, 6069021, 6069019, 6069017, 6069015, 6069013, 6069010, 6069007, 6069003, 6069000, 6068999, 6068998, 6068997, 6068996, 6068995, 6068994, 6068993)
Context: while updating tuple (71250,33) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=1 where id=6069015Date: 2025-03-07 10:32:58
Detail: Process 4500 waits for ShareLock on transaction 10498039; blocked by process 18476. Process 18476 waits for ShareLock on transaction 10498032; blocked by process 4500. Process 4500: update shipping_policy set count_search=1 where id=6068996 Process 18476: UPDATE "shipping_policy" SET "destination_type" = 'warehouse', "last_action" = '2025-03-07', "last_car" = 662, "last_driver" = 8005907, "last_office" = NULL, "last_office_warehouse" = 61, "last_warehouse" = 14, "new_destination_button" = true, "state" = 'in_way', "write_date" = '2025-03-07 09:33:19.077640', "write_uid" = 985 WHERE id IN (6069041, 6069040, 6069039, 6069038, 6069037, 6069036, 6069035, 6069034, 6069033, 6069032, 6069031, 6069030, 6069029, 6069028, 6069027, 6069026, 6069025, 6069024, 6069023, 6069022, 6069021, 6069019, 6069017, 6069015, 6069013, 6069010, 6069007, 6069003, 6069000, 6068999, 6068998, 6068997, 6068996, 6068995, 6068994, 6068993)
Context: while updating tuple (71254,28) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=1 where id=6068996Date: 2025-03-07 10:34:00
6 7 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 07 00 7 - 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 ('648670',)
Date: 2025-03-07 00:53:25
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 ('678640',)
Date: 2025-03-07 00:55:05
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 ('678740',)
Date: 2025-03-07 00:55:34
7 4 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 07 17 4 - FATAL: terminating background worker "parallel worker" due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-03-07 17:20:02
8 4 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 07 05 1 07 1 14 1 19 1 9 3 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 07 05 1 14 1 19 1 10 3 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 07 05 1 14 1 19 1 11 2 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 07 12 1 13 1 - ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (5547613, null, 825, 825, null, فريحة, null, null, t, 2025-03-07 11:42:25.47773, 2025-03-07 11:42:25.47773, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-03-07 11:42:25.477730', 825, 'فريحة', '2025-03-07 11:42:25.477730', 825) RETURNING "id"Date: 2025-03-07 12:42:25
Detail: Failing row contains (5547627, null, 825, 825, null, سباسيفا, null, null, t, 2025-03-07 12:35:50.41534, 2025-03-07 12:35:50.41534, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-03-07 12:35:50.415340', 825, 'سباسيفا', '2025-03-07 12:35:50.415340', 825) RETURNING "id"Date: 2025-03-07 13:35:50
12 2 FATAL: unsupported frontend protocol 1234.5632: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 07 15 1 18 1 13 2 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 07 13 2 14 1 FATAL: unsupported frontend protocol 16.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 07 19 1 15 1 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #15
Day Hour Count Mar 07 17 1 16 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #16
Day Hour Count Mar 07 17 1 17 1 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #17
Day Hour Count Mar 07 12 1 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (191733)
Date: 2025-03-07 12:51:09
18 1 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #18
Day Hour Count Mar 07 17 1 19 1 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #19
Day Hour Count Mar 07 21 1 20 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #20
Day Hour Count Mar 07 13 1 - ERROR: column urgent_office.is_no_change_office does not exist at character 574
Statement: SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (39)
Date: 2025-03-07 13:34:03